diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview.json index cab615f..7b2bac6 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview.json @@ -8,7 +8,7 @@ "sid":"BLDCmotorControl_FOC_R2017b_fixdt", "name":"BLDCmotorControl_FOC_R2017b_fixdt", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt", - "label":"BLDCmotorControl_FOC_R2017b_fixdt", + "label":"BLDCmotorControl_FOC_R2017b_fixdt*", "parent":0, "descendants":[ 2, @@ -79,7 +79,14 @@ 67, 68, 69, - 70 + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77 ], "hierarchyUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_h_1.json", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_m.json" diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json new file mode 100644 index 0000000..3613553 --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json @@ -0,0 +1,231 @@ +[ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10012", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaDft", + "label":"r_inpTgtScaDft", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10007", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10009", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10007", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10008", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaRaw", + "label":"r_inpTgtScaRaw", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10007", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "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:10008#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10007", + "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_10007_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.png new file mode 100644 index 0000000..cf0341e Binary files /dev/null and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg new file mode 100644 index 0000000..4a310e7 --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg @@ -0,0 +1,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaDft + + + + + + + + + + + + + + + + + + + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaRaw + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.json new file mode 100644 index 0000000..8fc5151 --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.json @@ -0,0 +1,693 @@ +[ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:576", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Modulo implementation: rem = num - div*(num/div)

Note: Division and multiplier has the setting 'Floor'

", + "label":"

Modulo implementation: rem = num - div*(num/div)

Note: Division and multiplier has the setting 'Floor'

", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Modulo implementation: rem = num - div*(num/div)

\n

Note: Division and multiplier has the setting 'Floor'

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:572", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "*/", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(1,16,0)", + "off", + "Floor", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:574", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "round", + "|+-", + "off", + "Inherit: Same as first input", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:573", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide3", + "label":"Divide3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Floor", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:570", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"num", + "label":"num", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "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:10035:571", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"div", + "label":"div", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "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:10035:575", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"rem", + "label":"rem", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:572#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "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:10035:571#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "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:10035:573#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "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:10035:574#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "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:10035:570#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "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_10035_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.png new file mode 100644 index 0000000..3c78827 Binary files /dev/null and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg new file mode 100644 index 0000000..ddea608 --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg @@ -0,0 +1,523 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Modulo implementation: + rem = num - div*(num/div) + + + + + + + + Note + : Division and multiplier has the setting 'Floor' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + num + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + div + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + rem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 5241f3b..0fe80f6 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 @@ -307,11 +307,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9304", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9301", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", + "name":"DC_phaC", + "label":"DC_phaC", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -340,7 +340,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "6", + "3", "Port number", "[]", "[]", @@ -485,11 +485,38 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9669", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9441", + "className":"Simulink.Terminator", + "icon":"WebViewIcon3", + "name":"Terminator", + "label":"Terminator", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + ], + "values":[ + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Terminator", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9295", "className":"Simulink.Saturate", "icon":"WebViewIcon3", - "name":"Saturation2", - "label":"Saturation2", + "name":"Saturation1", + "label":"Saturation1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -505,8 +532,8 @@ "ZeroCross" ], "values":[ - "1000", - "-1000", + "2000", + "-2000", "on", "[]", "[]", @@ -590,6 +617,99 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9292", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Implemented_control_methods", + "label":"Implemented_control_methods", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "BlockChoice", + "TemplateBlock", + "MemberBlocks", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "PropExecContextOutsideSubsystem", + "SystemSampleTime", + "RTWSystemCode", + "RTWFcnNameOpts", + "RTWFcnName", + "RTWFileNameOpts", + "RTWFileName", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "RTWMemSecFuncInitTerm", + "RTWMemSecFuncExecute", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "IsSubsystemVirtual", + "Variant", + "VariantControl", + "OverrideUsingVariant", + "GeneratePreprocessorConditionals", + "AllowZeroVariantControls", + "PropagateVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "TreatAsGroupedWhenPropagatingVariantConditions" + ], + "values":[ + "FromPortIcon", + "", + "", + "", + "ReadWrite", + "", + "All", + "off", + "off", + "off", + "-1", + "Auto", + "Auto", + "", + "Auto", + "", + "void_void", + "off", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "on", + "off", + "", + "", + "off", + "off", + "off", + "", + "", + "on" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9291", "className":"Simulink.If", @@ -634,73 +754,36 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9302", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9290", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"z_errCode", - "label":"z_errCode", + "name":"If1", + "label":"If1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "ZeroCross" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", + "1", + "u1 == CTRL_FOC", + "", "off", - "inherit", - "-1", - "Inherit", "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "on" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 4 ] }, "viewer":{ @@ -709,16 +792,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"If", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9284", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9281", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -727,7 +810,40 @@ "IconDisplay" ], "values":[ - "b_hallC", + "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: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" ], @@ -813,74 +929,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9303", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9286", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", + "name":"Goto25", + "label":"Goto25", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "DC_phaC", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -888,16 +957,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9283", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9272", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -906,7 +975,7 @@ "IconDisplay" ], "values":[ - "z_pos", + "r_devSignal2", "local", "Tag" ], @@ -926,11 +995,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9272", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9277", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"Goto16", + "label":"Goto16", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -939,7 +1008,7 @@ "IconDisplay" ], "values":[ - "r_devSignal2", + "z_ctrlModReq", "local", "Tag" ], @@ -959,11 +1028,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9278", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9276", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", + "name":"Goto15", + "label":"Goto15", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -972,7 +1041,7 @@ "IconDisplay" ], "values":[ - "n_motAbs", + "i_phaBC", "local", "Tag" ], @@ -992,27 +1061,74 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9276", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9302", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", + "name":"z_errCode", + "label":"z_errCode", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "i_phaBC", - "local", - "Tag" + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1020,7 +1136,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Outport", "masktype":"" } }, @@ -1058,11 +1174,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9456", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9934", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1071,7 +1187,7 @@ "IconDisplay" ], "values":[ - "VqFinPrev", + "z_dir", "local", "Tag" ], @@ -1091,11 +1207,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9271", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9274", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", + "name":"Goto13", + "label":"Goto13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1104,7 +1220,7 @@ "IconDisplay" ], "values":[ - "r_devSignal1", + "i_phaAB", "local", "Tag" ], @@ -1124,27 +1240,74 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9270", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9299", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"DC_phaA", + "label":"DC_phaA", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "b_hallA", - "local", - "Tag" + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1152,7 +1315,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Outport", "masktype":"" } }, @@ -1190,11 +1353,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9392", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9252", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"From8", + "label":"From8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1202,7 +1365,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModReq", + "b_hallA", "Tag" ], "tabs":[ @@ -1221,11 +1384,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9252", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9250", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"From6", + "label":"From6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1233,7 +1396,7 @@ "IconDisplay" ], "values":[ - "b_hallA", + "z_ctrlTypSel", "Tag" ], "tabs":[ @@ -1252,38 +1415,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9293", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Model_Info", - "label":"Model_Info", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - ], - "values":[ - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9250", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9268", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"From35", + "label":"From35", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1291,7 +1427,7 @@ "IconDisplay" ], "values":[ - "z_ctrlTypSel", + "n_mot", "Tag" ], "tabs":[ @@ -1310,11 +1446,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9251", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9267", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"From34", + "label":"From34", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1322,7 +1458,7 @@ "IconDisplay" ], "values":[ - "z_ctrlTypSel", + "a_elecAngle", "Tag" ], "tabs":[ @@ -1341,11 +1477,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9241", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9251", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From7", + "label":"From7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1353,7 +1489,7 @@ "IconDisplay" ], "values":[ - "n_mot", + "z_ctrlTypSel", "Tag" ], "tabs":[ @@ -1372,11 +1508,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9266", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From46", - "label":"From46", + "name":"From33", + "label":"From33", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1384,7 +1520,7 @@ "IconDisplay" ], "values":[ - "r_devSignal1", + "DC_phaC", "Tag" ], "tabs":[ @@ -1403,11 +1539,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9267", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9265", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From34", - "label":"From34", + "name":"From32", + "label":"From32", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1415,7 +1551,7 @@ "IconDisplay" ], "values":[ - "a_elecAngle", + "DC_phaB", "Tag" ], "tabs":[ @@ -1434,25 +1570,74 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9265", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9303", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"From32", - "label":"From32", + "name":"n_mot", + "label":"n_mot", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "DC_phaB", - "Tag" + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1460,16 +1645,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9264", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9260", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", + "name":"From30", + "label":"From30", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1477,7 +1662,7 @@ "IconDisplay" ], "values":[ - "DC_phaA", + "z_pos", "Tag" ], "tabs":[ @@ -1496,11 +1681,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9261", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10027", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", + "name":"From23", + "label":"From23", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1508,7 +1693,7 @@ "IconDisplay" ], "values":[ - "b_hallC", + "VqFinPrev", "Tag" ], "tabs":[ @@ -1527,21 +1712,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9281", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9253", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"From22", + "label":"From22", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "b_hallB", - "local", + "a_elecAngle", "Tag" ], "tabs":[ @@ -1555,16 +1738,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9258", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9436", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", + "name":"From18", + "label":"From18", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1572,7 +1755,7 @@ "IconDisplay" ], "values":[ - "z_errCode", + "b_motStdStill", "Tag" ], "tabs":[ @@ -1591,11 +1774,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9259", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10025", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From27", - "label":"From27", + "name":"From20", + "label":"From20", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1603,7 +1786,7 @@ "IconDisplay" ], "values":[ - "b_hallB", + "z_ctrlTypSel", "Tag" ], "tabs":[ @@ -1622,47 +1805,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9295", - "className":"Simulink.Saturate", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9456", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Saturation1", - "label":"Saturation1", + "name":"Goto12", + "label":"Goto12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "UpperLimit", - "LowerLimit", - "LinearizeAsGain", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SampleTime", - "ZeroCross" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "2000", - "-2000", - "on", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Floor", - "-1", - "on" + "VqFinPrev", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 8 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1670,16 +1833,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Saturate", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9257", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10026", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From26", - "label":"From26", + "name":"From21", + "label":"From21", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1687,7 +1850,7 @@ "IconDisplay" ], "values":[ - "z_ctrlTypSel", + "r_inpTgt", "Tag" ], "tabs":[ @@ -1706,21 +1869,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9280", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9249", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"From17", + "label":"From17", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "z_posRaw", - "local", + "n_motAbs", "Tag" ], "tabs":[ @@ -1734,30 +1895,79 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9253", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9304", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", + "name":"a_elecAngle", + "label":"a_elecAngle", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" + "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":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1765,16 +1975,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9388", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9248", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From16", + "label":"From16", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1782,7 +1992,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "z_ctrlModReq", "Tag" ], "tabs":[ @@ -1801,11 +2011,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9249", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9244", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", + "name":"From12", + "label":"From12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1813,7 +2023,7 @@ "IconDisplay" ], "values":[ - "n_motAbs", + "i_phaAB", "Tag" ], "tabs":[ @@ -1832,11 +2042,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9437", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9270", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1845,7 +2055,7 @@ "IconDisplay" ], "values":[ - "b_motStdStill", + "b_hallA", "local", "Tag" ], @@ -1865,11 +2075,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9245", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9720", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", + "name":"From11", + "label":"From11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1877,7 +2087,7 @@ "IconDisplay" ], "values":[ - "i_phaBC", + "b_motEna", "Tag" ], "tabs":[ @@ -1896,104 +2106,44 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9292", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Implemented_control_methods", - "label":"Implemented_control_methods", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9288", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "ShowPortLabels", - "BlockChoice", - "TemplateBlock", - "MemberBlocks", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "PropExecContextOutsideSubsystem", - "SystemSampleTime", - "RTWSystemCode", - "RTWFcnNameOpts", - "RTWFcnName", - "RTWFileNameOpts", - "RTWFileName", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "RTWMemSecFuncInitTerm", - "RTWMemSecFuncExecute", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "IsSubsystemVirtual", - "Variant", - "VariantControl", - "OverrideUsingVariant", - "GeneratePreprocessorConditionals", - "AllowZeroVariantControls", - "PropagateVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "TreatAsGroupedWhenPropagatingVariantConditions" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "FromPortIcon", - "", - "", - "", - "ReadWrite", - "", - "All", - "off", - "off", - "off", - "-1", - "Auto", - "Auto", - "", - "Auto", - "", - "void_void", - "off", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "on", - "off", - "", - "", - "off", - "off", - "off", - "", - "", - "on" + "n_mot", + "local", + "Tag" ], "tabs":[ + "Parameter Attributes" ], - "tabs_idx":[ - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9244", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9242", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", + "name":"From10", + "label":"From10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -2001,7 +2151,7 @@ "IconDisplay" ], "values":[ - "i_phaAB", + "b_motEna", "Tag" ], "tabs":[ @@ -2020,19 +2170,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9242", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9282", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_motEna", + "z_errCode", + "local", "Tag" ], "tabs":[ @@ -2046,79 +2198,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9299", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9264", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"DC_phaA", - "label":"DC_phaA", + "name":"From31", + "label":"From31", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "GotoTag", + "IconDisplay" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "DC_phaA", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2126,7 +2229,38 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9931", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "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":"" } }, @@ -2228,64 +2362,25 @@ } }, { - "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_FOC", - "", - "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:9441", - "className":"Simulink.Terminator", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9258", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Terminator", - "label":"Terminator", + "name":"From28", + "label":"From28", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ + "GotoTag", + "IconDisplay" ], "values":[ + "z_errCode", + "Tag" ], "tabs":[ + "Parameter Attributes" ], - "tabs_idx":[ - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2293,16 +2388,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Terminator", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9277", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9284", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", + "name":"Goto9", + "label":"Goto9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -2311,7 +2406,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModReq", + "b_hallC", "local", "Tag" ], @@ -2331,11 +2426,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F04_Field_Oriented_Control", - "label":"F04_Field_Oriented_Control", + "name":"F02_Diagnostics", + "label":"F02_Diagnostics", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -2428,11 +2523,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9260", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9930", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From30", - "label":"From30", + "name":"From3", + "label":"From3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -2440,7 +2535,7 @@ "IconDisplay" ], "values":[ - "z_pos", + "a_elecAngle", "Tag" ], "tabs":[ @@ -2458,6 +2553,39 @@ "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:9448", "className":"Simulink.From", @@ -2490,21 +2618,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9288", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9241", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", + "name":"From5", + "label":"From5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "n_mot", - "local", "Tag" ], "tabs":[ @@ -2518,16 +2644,47 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "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":"WebViewIcon1", - "name":"F02_Diagnostics", - "label":"F02_Diagnostics", + "icon":"WebViewIcon4", + "name":"Model_Info", + "label":"Model_Info", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -2579,7 +2736,7 @@ "void_void", "off", "off", - "off", + "on", "", "off", "", @@ -2620,712 +2777,11 @@ } }, { - "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: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:9720", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "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:9300", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"DC_phaB", - "label":"DC_phaB", - "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":{ - "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", - "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: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: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: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: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: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: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: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: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: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:8220", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F01_Estimations", - "label":"F01_Estimations", + "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":[ @@ -3418,19 +2874,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9385", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9437", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"Goto11", + "label":"Goto11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "r_inpTgt", + "b_motStdStill", + "local", "Tag" ], "tabs":[ @@ -3444,16 +2902,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9268", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9259", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From35", - "label":"From35", + "name":"From27", + "label":"From27", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -3461,7 +2919,7 @@ "IconDisplay" ], "values":[ - "n_mot", + "b_hallB", "Tag" ], "tabs":[ @@ -3480,128 +2938,153 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8207", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"i_phaAB", - "label":"i_phaAB", + "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":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "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":[ - "7", - "Port number", - "[]", - "[]", - "Inherit: auto", + "FromPortIcon", + "ReadWrite", + "", + "All", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "on", + "", + "", "off", "", + "void_void", + "off", + "off", "on", + "", "off", + "", "off", - "off" + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ "Main", - "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 6 ] }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "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":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8205", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"b_hallB", - "label":"b_hallB", + "name":"From45", + "label":"From45", "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" + "GotoTag", + "IconDisplay" ], "values":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "r_devSignal2", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -3609,65 +3092,45 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8204", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8217", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"b_hallA ", - "label":"b_hallA ", + "name":"Data Type Conversion7", + "label":"Data Type Conversion7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "Port", - "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "4", - "Port number", - "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", + "[]", + "int16", "off", + "Real World Value (RWV)", + "Floor", "off", - "off" + "-1" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 7 ] }, "viewer":{ @@ -3676,26 +3139,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9279", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"From46", + "label":"From46", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "z_ctrlTypSel", - "local", + "r_devSignal1", "Tag" ], "tabs":[ @@ -3709,16 +3170,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9245", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", + "name":"From13", + "label":"From13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -3726,7 +3187,7 @@ "IconDisplay" ], "values":[ - "r_devSignal2", + "i_phaBC", "Tag" ], "tabs":[ @@ -3745,128 +3206,27 @@ } }, { - "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:8208", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9285", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"i_phaBC", - "label":"i_phaBC", + "name":"Goto24", + "label":"Goto24", "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" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "8", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "DC_phaB", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -3874,16 +3234,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F03_Control_Mode_Manager", - "label":"F03_Control_Mode_Manager", + "name":"F04_Field_Oriented_Control", + "label":"F04_Field_Oriented_Control", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -3935,7 +3295,7 @@ "void_void", "off", "off", - "on", + "off", "", "off", "", @@ -3976,11 +3336,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9266", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9240", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From33", - "label":"From33", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -3988,13 +3348,93 @@ "IconDisplay" ], "values":[ - "DC_phaC", + "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: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 + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "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" @@ -4002,16 +3442,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8212", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8214", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"Data Type Conversion2", - "label":"Data Type Conversion2", + "name":"Data Type Conversion4", + "label":"Data Type Conversion4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -4054,11 +3494,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8202", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8209", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlModReq", - "label":"z_ctrlModReq", + "name":"i_DCLink", + "label":"i_DCLink", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -4081,7 +3521,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "9", "Port number", "[]", "[]", @@ -4121,11 +3561,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8206", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8207", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_hallC", - "label":"b_hallC", + "name":"i_phaAB", + "label":"i_phaAB", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -4148,7 +3588,7 @@ "OutputFunctionCall" ], "values":[ - "6", + "7", "Port number", "[]", "[]", @@ -4188,11 +3628,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8201", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9300", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"b_motEna", - "label":"b_motEna", + "name":"DC_phaB", + "label":"DC_phaB", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -4208,14 +3648,20 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -4227,10 +3673,17 @@ "-1", "auto", "off", - "", - "on", "off", + "[]", + "off", + "held", "off", + "0", + "", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -4250,45 +3703,65 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8216", - "className":"Simulink.DataTypeConversion", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8206", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Data Type Conversion6", - "label":"Data Type Conversion6", + "name":"b_hallC", + "label":"b_hallC", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ + "6", + "Port number", "[]", "[]", - "int16", + "Inherit: auto", "off", - "Real World Value (RWV)", - "Floor", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", - "-1" + "", + "on", + "off", + "off", + "off" ], "tabs":[ - "Parameter Attributes", + "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 7 + 2, + 11 ] }, "viewer":{ @@ -4297,26 +3770,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"DataTypeConversion", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9389", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9935", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"From19", + "label":"From19", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "r_inpTgtSca", - "local", + "z_dir", "Tag" ], "tabs":[ @@ -4330,16 +3801,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9274", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9283", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"Goto23", + "label":"Goto23", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -4348,7 +3819,7 @@ "IconDisplay" ], "values":[ - "i_phaAB", + "z_pos", "local", "Tag" ], @@ -4368,19 +3839,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9240", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9280", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "z_posRaw", + "local", "Tag" ], "tabs":[ @@ -4394,30 +3867,133 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9387", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8208", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", + "name":"i_phaBC", + "label":"i_phaBC", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "r_inpTgtSca", - "Tag" + "8", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8204", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_hallA ", + "label":"b_hallA ", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -4425,16 +4001,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8211", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8210", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"Data Type Conversion10", - "label":"Data Type Conversion10", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -4477,77 +4053,60 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9248", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8203", + "className":"Simulink.Inport", "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:9268#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "name":"r_inpTgt", + "label":"r_inpTgt", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "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", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4555,50 +4114,66 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469#out:2", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "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":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "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", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4606,50 +4181,66 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8215#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "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":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "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", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4657,50 +4248,66 @@ }, "obj_viewer":[ ], - "finder":[ - ] - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8214#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8201", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "", + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", + "", + "on", "off", "off", - "Simulink", - "Auto", - "", - "" + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -4708,50 +4315,52 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Inport", + "masktype":"" + } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9290#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9669", + "className":"Simulink.Saturate", + "icon":"WebViewIcon3", + "name":"Saturation2", + "label":"Saturation2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "UpperLimit", + "LowerLimit", + "LinearizeAsGain", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "", - "off", - "off", - "off", + "1000", + "-1000", + "on", + "[]", + "[]", + "fixdt(1,16,4)", "off", - "Simulink", - "Auto", - "", - "" + "Floor", + "-1", + "on" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, 3, - 5, - 7 + 8 ] }, "viewer":{ @@ -4759,11 +4368,13 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Saturate", + "masktype":"" + } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8208#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9268#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4814,7 +4425,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9251#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4865,7 +4476,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9260#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8215#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4916,7 +4527,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9294#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8214#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4967,7 +4578,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:5", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9290#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5018,7 +4629,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9242#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8208#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5069,7 +4680,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9297#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9251#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5120,7 +4731,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8211#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9260#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5171,7 +4782,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9258#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9294#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5222,7 +4833,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9291#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:5", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5273,7 +4884,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9249#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9242#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5324,7 +4935,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9257#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9297#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5375,7 +4986,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9265#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9258#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5426,7 +5037,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9250#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9291#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5477,7 +5088,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9248#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9249#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5528,7 +5139,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9240#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9265#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5579,7 +5190,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8210#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9250#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5630,7 +5241,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8218#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9248#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5681,7 +5292,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9240#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5732,7 +5343,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9244#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8210#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5783,7 +5394,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8207#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9244#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5834,7 +5445,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8216#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8207#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5885,7 +5496,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9245#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5936,7 +5547,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9245#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9241#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5987,7 +5598,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9241#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9267#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6038,7 +5649,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9267#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9266#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6089,7 +5700,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9266#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6140,7 +5751,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8202#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6191,7 +5802,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8202#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6242,7 +5853,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6293,7 +5904,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:4", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6344,7 +5955,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:6", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6395,7 +6006,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:6", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9259#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6446,7 +6057,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:6", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6497,7 +6108,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9259#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8217#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6548,7 +6159,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:5", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6599,7 +6210,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8217#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9295#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6650,7 +6261,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8205#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6701,7 +6312,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9295#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:8", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6752,7 +6363,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8205#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6803,7 +6414,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8212#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8201#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6854,7 +6465,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:8", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8206#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6905,7 +6516,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9253#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6956,7 +6567,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8213#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9264#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7007,7 +6618,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8201#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7058,7 +6669,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8206#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7109,7 +6720,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9253#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9252#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7160,7 +6771,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9264#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8204#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7262,7 +6873,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9298#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7313,7 +6924,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9252#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9261#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7364,7 +6975,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8204#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9418#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7415,7 +7026,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9436#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7466,7 +7077,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9298#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:7", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7517,7 +7128,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9261#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8209#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7568,7 +7179,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9385#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7619,7 +7230,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9387#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9448#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7670,7 +7281,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9388#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8203#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7721,7 +7332,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9669#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7772,7 +7383,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9392#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7823,7 +7434,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9418#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7874,7 +7485,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9436#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9720#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7925,7 +7536,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:7", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -7976,7 +7587,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8209#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -8027,7 +7638,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658#out:4", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9930#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -8078,7 +7689,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198#out:4", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9931#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -8129,7 +7740,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9448#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8220#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -8180,7 +7791,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8203#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9935#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -8231,7 +7842,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9669#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10025#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -8282,7 +7893,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9263#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10026#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -8333,7 +7944,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9262#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10027#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -8384,7 +7995,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9720#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", 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 67e08c9..1ce60af 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 d16ce9c..4f59275 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 @@ -1,10 +1,10 @@ - + - + @@ -54,7 +54,7 @@ - + @@ -62,7 +62,7 @@ - + @@ -70,7 +70,7 @@ - + @@ -78,7 +78,7 @@ - + @@ -86,7 +86,7 @@ - + @@ -94,7 +94,7 @@ - + @@ -102,7 +102,7 @@ - + @@ -110,7 +110,7 @@ - + @@ -118,7 +118,7 @@ - + @@ -126,7 +126,7 @@ - + @@ -134,7 +134,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -158,7 +158,7 @@ - + @@ -166,7 +166,7 @@ - + @@ -174,7 +174,7 @@ - + @@ -182,7 +182,7 @@ - + @@ -190,7 +190,7 @@ - + @@ -198,7 +198,7 @@ - + @@ -206,7 +206,7 @@ - + @@ -214,7 +214,7 @@ - + @@ -222,7 +222,7 @@ - + @@ -230,7 +230,7 @@ - + @@ -238,7 +238,7 @@ - + @@ -246,7 +246,7 @@ - + @@ -254,7 +254,7 @@ - + @@ -262,7 +262,7 @@ - + @@ -270,7 +270,7 @@ - + @@ -278,7 +278,7 @@ - + @@ -293,7 +293,7 @@ - + @@ -301,7 +301,7 @@ - + @@ -309,7 +309,7 @@ - + @@ -317,7 +317,7 @@ - + @@ -325,7 +325,7 @@ - + @@ -340,7 +340,7 @@ - + @@ -348,7 +348,7 @@ - + @@ -356,7 +356,7 @@ - + @@ -364,7 +364,7 @@ - + @@ -372,7 +372,7 @@ - + @@ -387,7 +387,7 @@ - + @@ -395,7 +395,7 @@ - + @@ -403,7 +403,7 @@ - + @@ -411,7 +411,7 @@ - + @@ -419,7 +419,7 @@ - + @@ -445,7 +445,7 @@ - + @@ -459,10 +459,10 @@ - + - + @@ -472,29 +472,29 @@ - + 8 - + - + - + - + r_devSignal2 @@ -507,10 +507,10 @@ - + - + @@ -520,29 +520,29 @@ - + 7 - + - + - + - + r_devSignal1 @@ -554,11 +554,11 @@ - - + + - + @@ -568,30 +568,30 @@ - - 6 + + 3 - + - - + + - + - - a_elecAngle + + DC_phaC @@ -635,7 +635,7 @@ - + @@ -651,10 +651,10 @@ - + - + @@ -664,29 +664,29 @@ - + b_diagEna - + - + - + - + boolean @@ -698,45 +698,94 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + @@ -751,22 +800,22 @@ - + - + - - + + - + sfix16_En4 @@ -788,35 +837,35 @@ - + - + - + - + - + - + - + - + @@ -842,11 +891,11 @@ - - + + - + sfix16_En4 @@ -856,53 +905,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Implemented_control_methods + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + u1 - + - + if(u1 ~= 0) - + - + - - + + - + action @@ -914,44 +1010,52 @@ - - - + + + - - + + - - + + - - 4 + + u1 + + + + + + + + if(u1 == CTRL_FOC) - - + + - - - + + + - - + + - - z_errCode + + action @@ -962,28 +1066,28 @@ - - + + - + - + - - [b_hallC] + + [b_hallB] - + @@ -995,28 +1099,28 @@ - - + + - + - + - - [b_motEna] + + [z_ctrlTypSel] - + @@ -1028,28 +1132,28 @@ - - + + - + - + - - [DC_phaA] + + [b_motEna] - + @@ -1061,44 +1165,29 @@ - - - + + + - - + + - - + + - - 5 + + [DC_phaA] - - - - - - - - - - - - - - - - - n_mot + + @@ -1109,28 +1198,28 @@ - - + + - + - + - - [z_pos] + + [DC_phaC] - + @@ -1143,27 +1232,27 @@ - + - + - + - + [r_devSignal2] - + @@ -1175,28 +1264,28 @@ - - + + - + - + - - [n_motAbs] + + [z_ctrlModReq] - + @@ -1218,11 +1307,11 @@ - + - + [i_phaBC] @@ -1241,29 +1330,44 @@ - - - + + + - - + + - - + + - - [a_elecAngle] + + 4 - - + + + + + + + + + + + + + + + + + z_errCode @@ -1274,28 +1378,28 @@ - - + + - + - + - - [VqFinPrev] + + [a_elecAngle] - + @@ -1307,28 +1411,28 @@ - - + + - + - + - - [r_devSignal1] + + [z_dir] - + @@ -1340,28 +1444,28 @@ - - + + - + - + - - [b_hallA] + + [i_phaAB] - + @@ -1373,29 +1477,44 @@ - - - + + + - - + + - - + + - - [r_inpTgt] + + 1 - - + + + + + + + + + + + + + + + + + DC_phaA @@ -1406,44 +1525,29 @@ - - - + + + - - + + - - + + - - [z_ctrlModReq] + + [r_inpTgt] - - - - - - - - - - - - - - - - - uint8 + + @@ -1455,42 +1559,42 @@ - + - + - + - + [b_hallA] - + - + - - + + - + uint8 @@ -1502,98 +1606,44 @@ - - - + + + + + + - - - - - - MODEL INFO - - - - - - - - Version: 1.1199 - - - - - - - - Author: Emanuel Feru - - - - - - - - Last modified by: eferu - - - - - - - - Last update: 03-nov-2019 12:27:59 - - - - + + - - Copyright © 2019 Emanuel FERU + + [z_ctrlTypSel] - - + + - + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - + + uint8 @@ -1604,44 +1654,44 @@ - - + + - + - + - - [z_ctrlTypSel] + + [n_mot] - + - - + + - - + + - - uint8 + + sfix16_En4 @@ -1652,44 +1702,44 @@ - - + + - + - + - - [z_ctrlTypSel] + + [a_elecAngle] - + - - + + - - + + - - uint8 + + sfix16_En6 @@ -1700,44 +1750,44 @@ - - + + - + - + - - [n_mot] + + [z_ctrlTypSel] - + - - + + - - + + - - sfix16_En4 + + uint8 @@ -1748,44 +1798,44 @@ - - + + - + - + - - [r_devSignal1] + + [DC_phaC] - + - - + + - - + + - - sfix16_En4 + + int16 @@ -1796,44 +1846,44 @@ - - + + - + - + - - [a_elecAngle] + + [DC_phaB] - + - - + + - - + + - - ufix16_En6 + + int16 @@ -1844,44 +1894,44 @@ - - - + + + - - + + - - + + - - [DC_phaB] + + 5 - - + + - - - + + + - - + + - - int16 + + n_mot @@ -1892,44 +1942,44 @@ - - + + - + - + - - [DC_phaA] + + [z_pos] - + - - + + - - + + - - int16 + + int8 @@ -1940,44 +1990,44 @@ - - + + - + - + - - [b_hallC] + + [VqFinPrev] - + - - + + - - + + - - uint8 + + sfix16_En4 @@ -1988,29 +2038,44 @@ - - - + + + - - + + - - + + - - [b_hallB] + + [a_elecAngle] - - + + + + + + + + + + + + + + + + + sfix16_En6 @@ -2021,44 +2086,44 @@ - - + + - + - + - - [z_errCode] + + [b_motStdStill] - + - - + + - - + + - - uint8 + + boolean @@ -2069,43 +2134,43 @@ - - + + - + - + - - [b_hallB] + + [z_ctrlTypSel] - + - + - - + + - + uint8 @@ -2117,75 +2182,76 @@ - - - + + + - - + + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + [VqFinPrev] - + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + - - + + - + - - + + - + sfix16_En4 @@ -2197,44 +2263,44 @@ - - + + - + - + - - [z_ctrlTypSel] + + [n_motAbs] - + - - + + - - + + - - uint8 + + sfix16_En4 @@ -2245,29 +2311,44 @@ - - - + + + - - + + - - + + - - [z_posRaw] + + 6 - - + + + + + + + + + + + + + + + + + a_elecAngle @@ -2278,44 +2359,44 @@ - - + + - + - + - - [a_elecAngle] + + [z_ctrlModReq] - + - - + + - - + + - - ufix16_En6 + + uint8 @@ -2326,43 +2407,43 @@ - - + + - + - + - - [r_inpTgtSca] + + [i_phaAB] - + - + - - + + - + sfix16_En4 @@ -2374,11 +2455,44 @@ - - + + + + + + + + + + + + + + + + [b_hallA] + + + + + + + + + + + + + + + + + + + - + @@ -2388,30 +2502,30 @@ - - [n_motAbs] + + [b_motEna] - + - - + + - + - - sfix16_En4 + + boolean @@ -2422,11 +2536,11 @@ - - + + - + @@ -2436,14 +2550,14 @@ - - [b_motStdStill] + + [n_mot] - + @@ -2455,11 +2569,11 @@ - - + + - + @@ -2469,30 +2583,30 @@ - - [i_phaBC] + + [b_motEna] - + - - + + - + - - sfix16_En4 + + boolean @@ -2503,43 +2617,29 @@ - - - + + + - - + + - - - - - - - - + - - Implemented_control_methods - - - - - - - + + [z_errCode] - - + + @@ -2550,11 +2650,11 @@ - - + + - + @@ -2564,30 +2664,30 @@ - - [i_phaAB] + + [DC_phaA] - + - - + + - + - - sfix16_En4 + + int16 @@ -2598,11 +2698,11 @@ - - + + - + @@ -2612,30 +2712,30 @@ - - [b_motEna] + + [n_motAbs] - + - - + + - + - - boolean + + sfix16_En4 @@ -2646,177 +2746,137 @@ - - - + + + - - + + + + + + + + - + - - 1 - - - - - - - - - - - - - - + + b_enaAdvCtrl - + - - DC_phaA + + z_ctrlTypSel + + + + + + + + z_pos - - - - - - - - - - - - - - - - - - - - - - - - - + - - b_enaFOC + + V_phaABC_FOC - + - - z_pos + + Vq - + - - z_ctrlTypSel + + r_inpTgtSca - + - - r_phaA + + a_elecAngle - + - - r_phaB + + z_dir - + - - r_phaC + + n_motAbs - + - - Vq + + DC_phaA - + - - r_inpTgtSca + + DC_phaB - + - - DC_phaA + + DC_phaC - + - - DC_phaB + + VqFinPrev - - - - - - - DC_phaC - - - - - - - - VqFinPrev - - - - - + + + + - - + + @@ -2828,15 +2888,15 @@ - + - - + + - + F05_Control_Type_Management @@ -2849,16 +2909,16 @@ - - + + - - + + - - int16 + + sfix16_En4 @@ -2870,15 +2930,15 @@ - + - - + + - + int16 @@ -2891,15 +2951,15 @@ - + - - + + - + int16 @@ -2912,15 +2972,15 @@ - + - - + + - + int16 @@ -2932,107 +2992,50 @@ - + - - + + - - + + - - - - - - u1 - - - - + + - - if(u1 == CTRL_FOC) + + [z_errCode] - - + + - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - - - - - - - - - - - - - - - - - - - + + uint8 @@ -3043,28 +3046,28 @@ - - + + - + - + - - [z_ctrlModReq] + + [b_hallC] - + @@ -3076,9 +3079,9 @@ - - - + + + @@ -3086,137 +3089,57 @@ - - + + - - - - - - b_enaFOC - - - - - - - - z_ctrlMod - - - - - - - - b_motEna - - - - - - - - r_inpTgtSca - - - - - - - - n_mot - - - - - - - - n_motAbs - - - - - - - - a_elecAngle - - - - - - - - i_phaAB - - - - - - - - i_phaBC - - - - - - - - r_phaA - - - - + + - - r_phaB + + z_posRaw - - + + - - r_phaC + + b_motStdStill - - + + - - Vq + + VqFinPrev - - + + - - r_devSignal1 + + z_errCode - - + + - - r_devSignal2 + + b_errFlag - - + + - + if { } @@ -3229,8 +3152,8 @@ - - + + @@ -3242,16 +3165,16 @@ - - + + - - + + - - F04_Field_Oriented_Control + + F02_Diagnostics @@ -3263,16 +3186,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -3284,16 +3207,16 @@ - - + + - - + + - - int16 + + boolean @@ -3305,100 +3228,151 @@ - + - - + + - - int16 + + uint8 - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - sfix16_En4 + + [a_elecAngle] + + + + + + + - - - - - - - - + + - - + + - - int16 + + sfix16_En6 - + + + + + + + + + + + + + + + - - - - + + + - - + + [r_devSignal1] + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - sfix16_En4 + + [VqFinPrev] + + + + + + + - - - - - - - - + + - - + + - - action + + sfix16_En4 @@ -3409,50 +3383,44 @@ - - - - - - - - + + - + - + - - [z_pos] + + [n_mot] - + - - + + - - + + - - int8 + + sfix16_En4 @@ -3463,44 +3431,44 @@ - - + + - + - + - - [VqFinPrev] + + [b_motStdStill] - + - - + + - - + + - - int16 + + boolean @@ -3511,29 +3479,98 @@ - - - - - - + + + - - + + - - [n_mot] + + MODEL INFO + + + + + + + + Version: 1.1212 + + + + + + + + Author: Emanuel Feru + + + + + + + + Last modified by: eferu + + + + + + + + Last update: 11-nov-2019 22:46:15 + + + + + + + + Copyright © 2019 Emanuel FERU - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3544,143 +3581,204 @@ - - - + + + - + - - + + - - + + - - z_posRaw + + b_hallA - - + + - - b_motStdStill + + b_hallB - - + + - - VqFinPrev + + b_hallC - - + + - - z_errCode + + z_posRaw - - + + - - b_errFlag + + z_pos - - + + - - if { } + + z_dir + + + + + + + + n_mot + + + + + + + + n_motAbs + + + + + + + + a_elecAngle + + + + + + + + b_motStdStill + + + + + + + + b_enaAdvCtrl - + - - + + - + - - + + - - + + - - F02_Diagnostics + + F01_Estimations - + - - + + - - + + - - action + + boolean - + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + - + - - + + - + uint8 @@ -3688,74 +3786,104 @@ - + - - + + - - + + - - boolean + + int8 - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + int8 + + - + - - + + + + + + + + + + + - - [b_motStdStill] + + sfix16_En4 - - - + + + + + + + + + + + + + + + + + sfix16_En6 - + + + + + + + - - + + - + boolean @@ -3767,28 +3895,34 @@ - - + + + + + + + + - + - + - - [DC_phaB] + + [b_motStdStill] - + @@ -3800,44 +3934,44 @@ - - + + - + - + - - [b_motEna] + + [b_hallB] - + - - + + - - + + - - boolean + + uint8 @@ -3848,108 +3982,168 @@ - - - + + + - - + + + + + + + + - - + + - - 2 + + b_errFlag - - - - - - + + + + + + + b_motStdStill - - - - - - + + + + + + + b_motEna - - + + - - DC_phaB + + z_ctrlTypSel - - - - - - - - - - - - - - - - - - - - + + - - + + z_ctrlModReq - - + + - - + + r_inpTgt + + + + + + + + VqFinPrev + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtSca - + + + + + + + + + + - + + + + + + + + + + + + + + + + + F03_Control_Mode_Manager + - - - + + + + + + + + + + + + + + + + + uint8 - - + + + + + + + + - - + + - - int16 + + sfix16_En4 @@ -3960,29 +4154,50 @@ - - - - - - - + + + + + + + + + + + + + - - + + - - [z_errCode] + + [b_hallC] - - + + + + + + + + + + + + + + + + + uint8 @@ -3993,44 +4208,44 @@ - - + + - + - + - - [b_motStdStill] + + [r_devSignal2] - + - - + + - - + + - - boolean + + sfix16_En4 @@ -4041,29 +4256,29 @@ - - + + - + - + - + - + - + @@ -4078,22 +4293,22 @@ - + - + - - + + - + int16 @@ -4105,60 +4320,44 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + [r_devSignal1] - - - - - - - - - - + + - - + + - - + + - - int16 + + sfix16_En4 @@ -4169,60 +4368,44 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + [i_phaBC] - - - - - - - - - - + + - - + + - - + + - - int16 + + sfix16_En4 @@ -4233,28 +4416,28 @@ - - + + - + - + - - [DC_phaC] + + [DC_phaB] - + @@ -4266,467 +4449,186 @@ - - - + + + - - + + + + + + + + - - + + - - 3 - - - - - - - - - - - - - - + + b_enaAdvCtrl - - + + - - DC_phaC + + z_ctrlMod - - - - - - - - - - - - - - - - - - - - + + - - + + r_inpTgtSca - - + + - - - - - - - - - - - - - - - - - + + b_motEna - - - - - - + + + + + + + n_mot - - + + - - int16 + + n_motAbs - - - - - - - - - - - - - - - - - - - - + + - - 9 + + a_elecAngle - - - - - - + + + + + + + i_phaAB - - - - - - + + + + + + + i_phaBC - - + + - - i_DCLink + + V_phaABC_FOC - - - - - - + + + + + + + Vq - - + + - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - z_ctrlModReq - - - - - - - - r_inpTgt + + r_devSignal1 - - - - - - b_hallA - - - - - - - - b_hallB - - - - - - - - b_hallC - - - - - - - - r_inpTgtSca - - - - - - - - z_posRaw - - - - - - - - z_pos - - - - - - - - n_mot - - - - - - - - n_motAbs - - - - - - - - a_elecAngle - - - - + + - - b_motStdStill + + r_devSignal2 - - + + - - b_enaFOC + + if { } - + - - + + - - - - - - - - - - - - - - - F01_Estimations - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - + - - + + - - + + - - boolean + + F04_Field_Oriented_Control - + - + - - + + - + sfix16_En4 @@ -4734,41 +4636,20 @@ - - - - - - - - - - - - - - - uint8 - - - - - - - + - + - - + + - + sfix16_En4 @@ -4776,164 +4657,62 @@ - + - - + + - - + + - - int8 + + action - + - - + + - - + + - - ufix16_En6 + + sfix16_En4 - + - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - + - - + + - + sfix16_En4 @@ -4945,184 +4724,49 @@ - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - i_phaAB - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - b_hallB - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - + + + + + + + + + - - + + - - + + - - 4 + + [z_posRaw] - - - - - - - - - - - - - - - - - b_hallA + + - + - - + + - + uint8 @@ -5134,28 +4778,28 @@ - - + + - + - + - - [z_ctrlTypSel] + + [n_motAbs] - + @@ -5167,44 +4811,60 @@ - - - + + + - - + + - + - - + + - - [r_devSignal2] + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - sfix16_En4 + + int16 @@ -5215,58 +4875,59 @@ - - - + + + - - + + - + - - + + - - 3 + + + + + + + + + + - - - - + - - - - - - - - - - - r_inpTgt + + + + + + + - + - - + + - + int16 @@ -5278,58 +4939,58 @@ - - + + - + - + - - 8 + + 9 - + - - + + - - + + - - i_phaBC + + i_DCLink - + - - + + - + int16 @@ -5341,115 +5002,59 @@ - - - + + + - - - - - - - - + + - - - - - - b_errFlag - - - - - - - - b_motStdStill - - - - - - - - b_motEna - - - - - - - - z_ctrlModReq - - - - + + - - z_ctrlMod + + 7 - - - - - - - - + + - - - - - - - - + + - - + + - - F03_Control_Mode_Manager + + i_phaAB - - - - - - - + - - + + - - uint8 + + int16 @@ -5460,50 +5065,44 @@ - - - - - - - - - + + + - - + + - - + + - - [DC_phaC] + + 2 - - + + - - - + + + - - + + - - int16 + + DC_phaB @@ -5514,60 +5113,107 @@ - - - + + + - - + + - + - - + + - - + + 6 + + + + + + + + + + + + + + + + + + + + + + b_hallC + + + + + + + - - + + - - + + uint8 - - + + + + + + + + + + + + + + + + + + + [z_dir] + - - + + - - + + - - + + - - int16 + + int8 @@ -5578,59 +5224,62 @@ - - - + + + - - + + - - + + - - 2 + + [z_pos] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - z_ctrlModReq + + [z_posRaw] - - - - - - - - - - - uint8 + + + @@ -5641,59 +5290,59 @@ - - + + - + - + - - 6 + + 8 - + - - + + - - + + - - b_hallC + + i_phaBC - + - - + + - - uint8 + + int16 @@ -5704,59 +5353,59 @@ - - + + - + - + - - 1 + + 4 - + - - + + - - + + - - b_motEna + + b_hallA - - + + - - + + - - boolean + + uint8 @@ -5767,29 +5416,29 @@ - - + + - + - + - + - + - + @@ -5804,22 +5453,22 @@ - + - + - - + + - + int16 @@ -5831,62 +5480,59 @@ - - - + + + - - + + - - + + - - [r_inpTgtSca] + + 3 - - + + - - - - - - - - - - - - - - - + + + + - - + + - - [i_phaAB] + + r_inpTgt - - - + + + + + + + + + + + int16 @@ -5897,43 +5543,58 @@ - - - + + + - - + + - - + + - - [z_posRaw] + + 2 - - + + + + + + + + + + + + + + + + + z_ctrlModReq - + - - + + - + uint8 @@ -5945,44 +5606,59 @@ - - - + + + - - + + - - + + - - [r_inpTgtSca] + + 5 - - + + + + + + + + + + + + + + + + + b_hallB - - + + - - + + - - sfix16_En4 + + uint8 @@ -5993,60 +5669,59 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + 1 - - - - - + + + + - - - + + + + + + + + + + + b_motEna - - + + - - + + - - int16 + + boolean @@ -6057,44 +5732,76 @@ - - - + + + - - + + - + - - + + - - [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - uint8 + + sfix16_En4 @@ -6106,11 +5813,11 @@ - + - + @@ -6120,11 +5827,11 @@ - + - + @@ -6134,11 +5841,11 @@ - + - + @@ -6148,11 +5855,11 @@ - + - + @@ -6162,11 +5869,11 @@ - + - + @@ -6190,11 +5897,11 @@ - + - + @@ -6204,11 +5911,11 @@ - + - + @@ -6232,11 +5939,11 @@ - + - + @@ -6246,11 +5953,11 @@ - + - + @@ -6260,25 +5967,11 @@ - - - - - - - - - - - - - - - + - + @@ -6288,11 +5981,11 @@ - + - + @@ -6302,11 +5995,11 @@ - + - + @@ -6316,25 +6009,11 @@ - + - - - - - - - - - - - - - - - + @@ -6344,11 +6023,11 @@ - + - + @@ -6358,11 +6037,11 @@ - + - + @@ -6372,11 +6051,11 @@ - + - + @@ -6386,11 +6065,11 @@ - + - + @@ -6400,808 +6079,786 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - + - - - - - + - + + + + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + - + - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - + - - - - - + - + - - - - - + - + + + + - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png index 8487909..8593e2e 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_29_icons.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json index ed52b6c..46320df 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.json @@ -27,7 +27,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "1", "Port number", "[]", "[]", @@ -94,7 +94,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "2", "Port number", "[]", "[]", @@ -161,7 +161,7 @@ "OutputFunctionCall" ], "values":[ - "6", + "3", "Port number", "[]", "[]", @@ -284,8 +284,8 @@ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8225", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F01_02_Edge_Detector", - "label":"F01_02_Edge_Detector", + "name":"F01_01_Edge_Detector", + "label":"F01_01_Edge_Detector", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -664,8 +664,8 @@ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F01_04_Direction_Detection", - "label":"F01_04_Direction_Detection", + "name":"F01_03_Direction_Detection", + "label":"F01_03_Direction_Detection", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -924,8 +924,8 @@ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F01_05_Speed_Estimation", - "label":"F01_05_Speed_Estimation", + "name":"F01_04_Speed_Estimation", + "label":"F01_04_Speed_Estimation", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -1021,8 +1021,8 @@ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F01_03_Position_Calculation", - "label":"F01_03_Position_Calculation", + "name":"F01_02_Position_Calculation", + "label":"F01_02_Position_Calculation", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -1243,7 +1243,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "3", + "2", "Port number", "[]", "[]", @@ -1352,11 +1352,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8467", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8468", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", + "name":"b_enaAdvCtrl", + "label":"b_enaAdvCtrl", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -1385,7 +1385,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "6", + "8", "Port number", "[]", "[]", @@ -1398,9 +1398,9 @@ "auto", "off", "off", - "0", + "[]", "off", - "reset", + "held", "off", "0", "", @@ -1432,11 +1432,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8466", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9433", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", + "name":"b_motStdStill", + "label":"b_motStdStill", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -1465,7 +1465,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "5", + "7", "Port number", "[]", "[]", @@ -1512,11 +1512,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8463", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8467", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"z_posRaw", - "label":"z_posRaw", + "name":"a_elecAngle", + "label":"a_elecAngle", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -1545,7 +1545,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "6", "Port number", "[]", "[]", @@ -1592,11 +1592,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9383", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8466", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", + "name":"n_motAbs", + "label":"n_motAbs", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -1625,7 +1625,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "1", + "5", "Port number", "[]", "[]", @@ -1671,6 +1671,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8458", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_counterRaw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8462", "className":"Simulink.If", @@ -1715,74 +1748,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8468", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9432", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"b_enaFOC", - "label":"b_enaFOC", + "name":"Goto17", + "label":"Goto17", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "8", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "b_motStdStill", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1790,16 +1776,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8460", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8450", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"Goto11", + "label":"Goto11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -1808,7 +1794,7 @@ "IconDisplay" ], "values":[ - "z_posRaw", + "b_enaAdvCtrl", "local", "Tag" ], @@ -1828,11 +1814,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8458", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8449", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Goto10", + "label":"Goto10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -1841,7 +1827,7 @@ "IconDisplay" ], "values":[ - "z_counterRaw", + "a_elecAngle", "local", "Tag" ], @@ -1861,21 +1847,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8457", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8437", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"From23", + "label":"From23", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "z_counter", - "local", + "b_enaAdvCtrl", "Tag" ], "tabs":[ @@ -1889,26 +1873,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9377", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8432", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"From18", + "label":"From18", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "r_inpTgt", - "local", + "b_enaAdvCtrl", "Tag" ], "tabs":[ @@ -1922,26 +1904,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9379", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8430", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto14", - "label":"Goto14", + "name":"From15", + "label":"From15", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "z_ctrlModReq", - "local", + "z_dirPrev", "Tag" ], "tabs":[ @@ -1955,26 +1935,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8451", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8427", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"From12", + "label":"From12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "n_motAbs", - "local", + "a_elecAngle", "Tag" ], "tabs":[ @@ -1988,16 +1966,47 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9433", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8435", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counter", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8463", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", + "name":"z_posRaw", + "label":"z_posRaw", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2026,7 +2035,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "7", + "1", "Port number", "[]", "[]", @@ -2073,11 +2082,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9431", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8436", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", + "name":"From22", + "label":"From22", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2085,7 +2094,7 @@ "IconDisplay" ], "values":[ - "b_motStdStill", + "z_counterRaw", "Tag" ], "tabs":[ @@ -2104,33 +2113,99 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8436", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F01_05_Electrical_Angle_Estimation", + "label":"F01_05_Electrical_Angle_Estimation", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" ], "values":[ - "z_counterRaw", - "Tag" + "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":[ - "Parameter Attributes" + "Main", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 6 + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"SubSystem", "masktype":"" } }, @@ -2166,44 +2241,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9432", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8446", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9932", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"From26", + "label":"From26", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2211,7 +2253,7 @@ "IconDisplay" ], "values":[ - "z_posRaw", + "z_dir", "Tag" ], "tabs":[ @@ -2230,19 +2272,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9381", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8461", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", + "name":"Goto9", + "label":"Goto9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "r_inpTgt", + "z_dirPrev", + "local", "Tag" ], "tabs":[ @@ -2256,16 +2300,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9380", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8429", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", + "name":"From14", + "label":"From14", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2273,7 +2317,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModReq", + "n_motAbs", "Tag" ], "tabs":[ @@ -2292,19 +2336,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8427", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8460", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "a_elecAngle", + "z_posRaw", + "local", "Tag" ], "tabs":[ @@ -2318,24 +2364,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8432", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8457", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_enaFOC", + "z_counter", + "local", "Tag" ], "tabs":[ @@ -2349,26 +2397,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8461", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9431", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", + "name":"From25", + "label":"From25", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "z_dirPrev", - "local", + "b_motStdStill", "Tag" ], "tabs":[ @@ -2382,16 +2428,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8437", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8446", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", + "name":"From9", + "label":"From9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2399,7 +2445,7 @@ "IconDisplay" ], "values":[ - "b_enaFOC", + "z_posRaw", "Tag" ], "tabs":[ @@ -2412,1153 +2458,143 @@ }, "obj_viewer":[ ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F01_06_Electrical_Angle_Estimation", - "label":"F01_06_Electrical_Angle_Estimation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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:9374", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8455", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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:8431", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_pos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8435", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counter", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8424", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9333", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F01_01_Input_Scaling", - "label":"F01_01_Input_Scaling", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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:8430", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_dirPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9378", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlModReq", - "label":"z_ctrlModReq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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:8449", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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:9375", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgt", - "label":"r_inpTgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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:8224", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlTypSel", - "label":"z_ctrlTypSel", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "1", - "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:8450", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_enaFOC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9382", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9384", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8429", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8462#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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:8440#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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:8439#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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:8442#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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:8225#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", - "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":[ - ] + "finder":{ + "blocktype":"From", + "masktype":"" + } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8451", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "n_motAbs", + "local", + "Tag" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Goto", + "masktype":"" + } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8443#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8431", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "GotoTag", + "IconDisplay" ], "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "z_pos", + "Tag" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"From", + "masktype":"" + } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8444#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9933", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"z_dir", + "label":"z_dir", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", "StorageClass", - "Description", - "documentLink" + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "", + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", "off", + "0", "off", - "Simulink", - "Auto", + "reset", + "off", + "0", "", - "" + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 2, + 11 ] }, "viewer":{ @@ -3566,11 +2602,13 @@ }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Outport", + "masktype":"" + } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8221#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8462#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3621,7 +2659,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8222#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8440#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3672,7 +2710,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8223#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8439#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3723,7 +2761,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8441#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8442#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3774,7 +2812,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8438#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8225#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3825,7 +2863,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8433#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3876,7 +2914,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8443#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3927,7 +2965,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8425#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8444#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3978,7 +3016,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8221#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4029,7 +3067,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8445#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8222#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4080,7 +3118,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8426#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8223#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4131,7 +3169,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8428#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8441#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4182,7 +3220,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8438#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4233,7 +3271,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:4", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8433#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4284,7 +3322,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4335,7 +3373,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8430#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8425#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4386,7 +3424,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8431#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4437,7 +3475,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8434#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8445#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4488,7 +3526,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8435#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8426#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4539,7 +3577,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8436#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8428#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4590,7 +3628,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8437#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4641,7 +3679,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:6", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4692,7 +3730,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8424#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4743,7 +3781,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8432#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8430#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4794,7 +3832,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8427#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8431#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4845,7 +3883,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8434#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4896,7 +3934,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8435#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4947,7 +3985,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8429#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8436#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -4998,7 +4036,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8224#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8437#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5049,7 +4087,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:6", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5100,7 +4138,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8446#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8432#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5151,7 +4189,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9374#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8427#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5202,7 +4240,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9375#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5253,7 +4291,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9378#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5304,7 +4342,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9380#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8429#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5355,7 +4393,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9381#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5406,7 +4444,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9382#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8446#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5457,7 +4495,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9333#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9431#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5508,7 +4546,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9431#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:5", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5559,7 +4597,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263#out:5", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9932#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png index 2996dff..d8e6a91 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg index 9108123..075455b 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8220_d.svg @@ -1,10 +1,10 @@ - + - + @@ -14,10 +14,10 @@ - + - + @@ -27,44 +27,44 @@ - - 4 + + 1 - + - + - + - + b_hallA - + - + - + uint8 @@ -77,10 +77,10 @@ - + - + @@ -90,44 +90,44 @@ - - 5 + + 2 - + - + - + - + b_hallB - + - + - + uint8 @@ -140,10 +140,10 @@ - + - + @@ -153,44 +153,44 @@ - - 6 + + 3 - + - + - + - + b_hallC - + - + - + uint8 @@ -203,10 +203,10 @@ - + - + @@ -216,29 +216,29 @@ - + 4 - + - + - + - + n_mot @@ -252,7 +252,7 @@ - + @@ -325,11 +325,11 @@ - + - F01_02_Edge_Detector + F01_01_Edge_Detector @@ -346,7 +346,7 @@ - + @@ -400,7 +400,7 @@ - + @@ -448,7 +448,7 @@ - + @@ -496,7 +496,7 @@ - + @@ -544,7 +544,7 @@ - + @@ -592,7 +592,7 @@ - + @@ -640,7 +640,7 @@ - + @@ -754,7 +754,7 @@ - + @@ -771,7 +771,7 @@ - + @@ -844,11 +844,11 @@ - + - F01_04_Direction_Detection + F01_03_Direction_Detection @@ -865,7 +865,7 @@ - + @@ -886,7 +886,7 @@ - + @@ -907,7 +907,7 @@ - + @@ -961,7 +961,7 @@ - + @@ -1010,10 +1010,10 @@ - + - + @@ -1023,14 +1023,14 @@ - + [b_hallA] - + @@ -1043,10 +1043,10 @@ - + - + @@ -1056,14 +1056,14 @@ - + [b_hallB] - + @@ -1076,10 +1076,10 @@ - + - + @@ -1089,14 +1089,14 @@ - + [b_hallC] - + @@ -1110,7 +1110,7 @@ - + @@ -1125,83 +1125,75 @@ - - - - - z_ctrlTypSel - - - - + - + b_edge - - + + - + z_dir - - + + - + z_dirPrev - + - + n_mot - + - + n_motAbs - + - + z_counter - + - + z_counterRaw - + - + b_motStdStill - + - - b_enaFOC + + b_enaAdvCtrl @@ -1230,12 +1222,12 @@ - - + + - - F01_05_Speed_Estimation + + F01_04_Speed_Estimation @@ -1247,16 +1239,16 @@ - - + + - - + + - - sfix16_En4 + + int16 @@ -1268,16 +1260,16 @@ - - + + - - + + - - sfix16_En4 + + int16 @@ -1289,16 +1281,16 @@ - - + + - - + + - - int16 + + sfix16_En4 @@ -1310,16 +1302,16 @@ - - + + - - + + - - boolean + + sfix16_En4 @@ -1331,16 +1323,16 @@ - - + + - - + + - - int16 + + boolean @@ -1356,11 +1348,11 @@ - - + + - + boolean @@ -1380,7 +1372,7 @@ - + @@ -1394,43 +1386,43 @@ - + - + b_hallA - + - + b_hallB - + - + b_hallC - + - + z_posRaw - + - + z_pos @@ -1460,12 +1452,12 @@ - - + + - - F01_03_Position_Calculation + + F01_02_Position_Calculation @@ -1481,11 +1473,11 @@ - - + + - + int8 @@ -1502,11 +1494,11 @@ - - + + - + uint8 @@ -1525,42 +1517,42 @@ - + - + - + - + [b_edge] - + - + - - + + - + boolean @@ -1582,11 +1574,11 @@ - + - + [n_mot] @@ -1606,42 +1598,42 @@ - + - + - + - + [n_mot] - + - + - - + + - + sfix16_En4 @@ -1654,42 +1646,42 @@ - + - + - + - - 3 + + 2 - + - + - - + + - + z_pos @@ -1702,42 +1694,42 @@ - + - + - + - + [z_pos] - + - + - - + + - + int8 @@ -1750,42 +1742,42 @@ - + - + - + - + [z_dir] - + - + - - + + - + int8 @@ -1797,44 +1789,44 @@ - - + + - + - + - - 6 + + 8 - + - - + + - - + + - - a_elecAngle + + b_enaAdvCtrl @@ -1845,44 +1837,44 @@ - - + + - + - + - - 5 + + 7 - + - - + + - - + + - - n_motAbs + + b_motStdStill @@ -1893,44 +1885,44 @@ - - + + - + - + - - 2 + + 6 - + - - + + - - + + - - z_posRaw + + a_elecAngle @@ -1941,44 +1933,77 @@ - - + + - + - + - - 1 + + 5 - + - - + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + + + + - - + + - - r_inpTgtSca + + [z_counterRaw] + + + + + + + @@ -1999,19 +2024,19 @@ - + - + u1 - + - + if(u1 ~= 0) @@ -2029,11 +2054,11 @@ - - + + - + action @@ -2045,44 +2070,29 @@ - - - + + + - - + + - - + + - - 8 + + [b_motStdStill] - - - - - - - - - - - - - - - - - b_enaFOC + + @@ -2093,11 +2103,11 @@ - - + + - + @@ -2107,14 +2117,14 @@ - - [z_posRaw] + + [b_enaAdvCtrl] - + @@ -2126,11 +2136,11 @@ - - + + - + @@ -2140,14 +2150,14 @@ - - [z_counterRaw] + + [a_elecAngle] - + @@ -2159,29 +2169,44 @@ - - - + + + - - + + - + - - [z_counter] + + [b_enaAdvCtrl] - - + + + + + + + + + + + + + + + + + boolean @@ -2192,768 +2217,44 @@ - - - + + + - - + + - - + + - - [r_inpTgt] + + [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - b_motStdStill - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - ufix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaFOC] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dirPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaFOC] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z_pos - - - - - - - - z_dir - - - - - - - - z_counter - - - - - - - - z_counterRaw - - - - - - - - b_enaFOC - - - - - - - - a_elecAngle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F01_06_Electrical_Angle_Estimation + + - - - - - - - - + + - - + + - - ufix16_En6 + + boolean @@ -2964,50 +2265,44 @@ - - - - - - - - + + - + - + - - [z_ctrlTypSel] + + [z_dirPrev] - + - - + + - - + + - - uint8 + + int8 @@ -3018,29 +2313,44 @@ - - - + + + - - + + - - + + - - [z_ctrlTypSel] + + [a_elecAngle] - - + + + + + + + + + + + + + + + + + sfix16_En6 @@ -3051,44 +2361,44 @@ - - + + - + - + - - [z_pos] + + [z_counter] - + - - + + - - + + - - int8 + + int16 @@ -3099,44 +2409,44 @@ - - - + + + - - + + - - + + - - [z_counter] + + 1 - - + + - - - + + + - - + + - - int16 + + z_posRaw @@ -3147,44 +2457,44 @@ - - + + - + - + - - [z_ctrlTypSel] + + [z_counterRaw] - + - + - - + + - - uint8 + + int16 @@ -3195,107 +2505,123 @@ - - - + + + - + - - + + - - + + - - z_ctrlTypSel + + z_pos - - + + - - z_ctrlModReq + + z_dir - - + + + + + + z_counter + + + + - - r_inpTgt + + z_counterRaw - - + + + + + + b_enaAdvCtrl + + + + - - r_inpTgtSca + + a_elecAngle - + - - + + - + - - + + - - + + - - F01_01_Input_Scaling + + F01_05_Electrical_Angle_Estimation - + - + - - + + - - sfix16_En4 + + sfix16_En6 @@ -3306,49 +2632,49 @@ - + - + - + - + - + - - [z_dirPrev] + + [z_dir] - + - + - - + + - + int8 @@ -3360,59 +2686,125 @@ - - - + + + - - + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + + - - + + - - 2 + + [n_motAbs] - - - - - - - - - - - - - - - - - z_ctrlModReq + + - - + + - - + + - - uint8 + + sfix16_En4 @@ -3423,28 +2815,28 @@ - - + + - + - + - - [a_elecAngle] + + [z_posRaw] - + @@ -3456,59 +2848,77 @@ - - - + + + - - + + - - + + - - 3 + + [z_counter] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - r_inpTgt + + [b_motStdStill] + + + + + + + - - + + - - + + - - sfix16_En4 + + boolean @@ -3519,58 +2929,43 @@ - - - + + + - - + + - - + + - - 1 + + [z_posRaw] - - - - - - - - - - - - - - - - - z_ctrlTypSel + + - + - - + + - + uint8 @@ -3582,28 +2977,28 @@ - - + + - + - + - - [b_enaFOC] + + [n_motAbs] - + @@ -3615,77 +3010,44 @@ - - + + - + - + - - [r_inpTgtSca] + + [z_pos] - + - - - - - - - - - - sfix16_En4 + + - - - - - - - - - - - - - - - - - - - - + + - - [r_inpTgtSca] - - - - - - - + + int8 @@ -3696,44 +3058,44 @@ - - - + + + - - + + - - + + - - [n_motAbs] + + 3 - - + + - - - + + + - - + + - - sfix16_En4 + + z_dir @@ -3857,11 +3219,11 @@ - + - + @@ -3871,11 +3233,11 @@ - + - + @@ -3885,11 +3247,11 @@ - + - + @@ -3955,11 +3317,11 @@ - + - + @@ -3983,11 +3345,11 @@ - + - + @@ -3997,11 +3359,11 @@ - + - + @@ -4011,11 +3373,11 @@ - + - + @@ -4067,11 +3429,11 @@ - + - + @@ -4162,28 +3524,14 @@ - - - - - - - - - - - - - - - + - + @@ -4193,11 +3541,11 @@ - + - + @@ -4235,25 +3583,11 @@ - - - - - - - - - - - - - - - + - + @@ -4277,137 +3611,53 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + @@ -4416,5 +3666,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.json index 340428f..f519bf5 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.json @@ -281,11 +281,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8232", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8231", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay2", - "label":"UnitDelay2", + "name":"UnitDelay1", + "label":"UnitDelay1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ @@ -331,11 +331,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8231", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8232", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", + "name":"UnitDelay2", + "label":"UnitDelay2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.svg index e23d374..8c476d4 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.svg @@ -250,11 +250,11 @@ - - + + - + @@ -264,7 +264,7 @@ - + @@ -272,7 +272,7 @@ - + @@ -280,7 +280,7 @@ - + @@ -288,7 +288,7 @@ - + @@ -303,38 +303,38 @@ - + - - - + + + - + - - Ini=0 + + uint8 - - - + + + - + - - uint8 + + Ini=0 @@ -345,11 +345,11 @@ - - + + - + @@ -359,7 +359,7 @@ - + @@ -367,7 +367,7 @@ - + @@ -375,7 +375,7 @@ - + @@ -383,7 +383,7 @@ - + @@ -398,37 +398,37 @@ - + - + - + - + Ini=0 - + - + - + uint8 @@ -499,32 +499,32 @@ - - - + + + - + - - Ini=0 + + uint8 - - - + + + - + - - uint8 + + Ini=0 @@ -537,7 +537,7 @@ - + @@ -567,32 +567,32 @@ - - - - - - - - - - - - + - + boolean + + + + + + + + + + + @@ -757,5 +757,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.json index ffa983e..d325fbf 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.json @@ -515,39 +515,87 @@ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8235", "inspector":{ "params":[ + "NumberOfDimensions", "IndexMode", "IndexOptionArray", + "IndexParamArray", + "OutputSizeArray", + "InputPortWidth", + "SampleTime", "IndexOptions", + "NumberOfDimensions", + "IndexMode", + "IndexOptionArray", "IndexParamArray", - "Indices", + "OutputSizeArray", "InputPortWidth", + "SampleTime", + "IndexOptions", "NumberOfDimensions", + "IndexMode", + "IndexOptionArray", + "IndexParamArray", "OutputSizeArray", - "OutputSizes", - "SampleTime" + "InputPortWidth", + "SampleTime", + "IndexOptions", + "Indices", + "OutputSizes" ], "values":[ + "1", "Zero-based", [ "Index vector (port)" ], - "Index vector (port)", [ "[1 3]" ], - "[1 3]", + [ + "1" + ], "length(vec_hallToPos)", + "-1", + "Index vector (port)", "1", + "Zero-based", + [ + "Index vector (port)" + ], + [ + "[1 3]" + ], [ "1" ], + "length(vec_hallToPos)", + "-1", + "Index vector (port)", "1", - "-1" + "Zero-based", + [ + "Index vector (port)" + ], + [ + "[1 3]" + ], + [ + "1" + ], + "length(vec_hallToPos)", + "-1", + "Index vector (port)", + "[1 3]", + "1" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 24 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.svg index f1b535e..b683674 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.svg @@ -768,5 +768,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.json index 5c010bb..a26d20f 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.json @@ -594,11 +594,91 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8259", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8262", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"z_dirPrev", + "label":"z_dirPrev", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8260", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay2", - "label":"UnitDelay2", + "name":"UnitDelay3", + "label":"UnitDelay3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ @@ -613,7 +693,7 @@ ], "values":[ "0", - "Elements as channels (sample based)", + "Inherited", "-1", "", "", @@ -644,11 +724,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8260", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8259", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay3", - "label":"UnitDelay3", + "name":"UnitDelay2", + "label":"UnitDelay2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", "inspector":{ "params":[ @@ -663,7 +743,7 @@ ], "values":[ "0", - "Inherited", + "Elements as channels (sample based)", "-1", "", "", @@ -724,86 +804,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8262", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"z_dirPrev", - "label":"z_dirPrev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8247", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8259#out:1", "className":"Simulink.Line", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.svg index 0c00def..1261d78 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.svg @@ -220,32 +220,32 @@ - - - - - - - - - - - - + - + boolean + + + + + + + + + + + @@ -780,45 +780,93 @@ - - - + + + - + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_dirPrev + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + @@ -833,22 +881,37 @@ - + + + + + + + + + + + + Ini=0 + + + + - + - - + + - + int8 @@ -860,45 +923,45 @@ - - - + + + - + - + - + - + - + - + - + - + - + @@ -913,42 +976,27 @@ - + - + - - + + - + int8 - - - - - - - - - - - Ini=0 - - - - @@ -957,7 +1005,7 @@ - + @@ -965,11 +1013,11 @@ - + - + if { } @@ -987,11 +1035,11 @@ - + - + Action Port @@ -1001,54 +1049,6 @@ - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_dirPrev - - - - - - - - @@ -1279,5 +1279,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.json index db2548f..3173dc2 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.json @@ -1,59 +1,10 @@ [ - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8380", - "className":"Simulink.Annotation", - "icon":"WebViewIcon2", - "name":"

Authorize FOC only it is selected.

", - "label":"

Authorize FOC only it is selected.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Text", - "DropShadow", - "Interpreter", - "FontName", - "FontWeight", - "FontSize", - "FontAngle", - "ForegroundColor", - "BackgroundColor", - "HorizontalAlignment", - "UseDisplayTextAsClickCallback", - "ClickFcn" - ], - "values":[ - "\n\n

Authorize FOC only it is selected.

", - "off", - "rich", - "auto", - "auto", - -1, - "auto", - "black", - "white", - "left", - "off", - "" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8381", "className":"Simulink.Annotation", "icon":"WebViewIcon2", - "name":"

Authorize FOC only if not in high transient detected.

", - "label":"

Authorize FOC only if not in high transient detected.

", + "name":"

Authorize advanced control only if not in high transient detected.

", + "label":"

Authorize advanced control only if not in high transient detected.

", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -71,7 +22,7 @@ "ClickFcn" ], "values":[ - "\n\n

Authorize FOC only if not in high transient detected.

", + "\n\n

Authorize advanced control only if not in high transient detected.

", "off", "rich", "auto", @@ -101,8 +52,8 @@ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8382", "className":"Simulink.Annotation", "icon":"WebViewIcon2", - "name":"

Authorize FOC only if speed is above a threshold.

", - "label":"

Authorize FOC only if speed is above a threshold.

", + "name":"

Authorize advance control only if speed is above a threshold.

", + "label":"

Authorize advance control only if speed is above a threshold.

", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -120,7 +71,7 @@ "ClickFcn" ], "values":[ - "\n\n

Authorize FOC only if speed is above a threshold.

", + "\n\n

Authorize advance control only if speed is above a threshold.

", "off", "rich", "auto", @@ -150,8 +101,8 @@ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8383", "className":"Simulink.Annotation", "icon":"WebViewIcon2", - "name":"

FOC Enable Flag Determination

", - "label":"

FOC Enable Flag Determination

", + "name":"

Advanced Control Enable Flag Determination

", + "label":"

Advanced Control Enable Flag Determination

", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -169,7 +120,7 @@ "ClickFcn" ], "values":[ - "\n\n

FOC Enable Flag Determination

", + "\n\n

Advanced Control Enable Flag Determination

", "off", "rich", "auto", @@ -419,7 +370,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -661,7 +612,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "2", "Port number", "[]", "[]", @@ -734,11 +685,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8379", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8378", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"b_enaFOC", - "label":"b_enaFOC", + "name":"z_counterRaw", + "label":"z_counterRaw", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -767,7 +718,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "6", + "4", "Port number", "[]", "[]", @@ -780,9 +731,9 @@ "auto", "off", "off", - "[]", + "0", "off", - "held", + "reset", "off", "0", "", @@ -814,11 +765,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9430", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8377", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", + "name":"z_counter", + "label":"z_counter", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -847,7 +798,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "5", + "3", "Port number", "[]", "[]", @@ -894,11 +845,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8378", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8376", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"z_counterRaw", - "label":"z_counterRaw", + "name":"n_motAbs", + "label":"n_motAbs", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -927,7 +878,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "4", + "2", "Port number", "[]", "[]", @@ -940,9 +891,9 @@ "auto", "off", "off", - "0", + "[]", "off", - "reset", + "held", "off", "0", "", @@ -974,63 +925,32 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8377", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8374", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"z_counter", - "label":"z_counter", + "name":"z_maxCntRst2", + "label":"z_maxCntRst2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "FramePeriod" ], "values":[ - "3", - "Port number", + "z_maxCntRst", + "on", + "inf", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", + "Inherit: Inherit via back propagation", "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "inf" ], "tabs":[ "Main", @@ -1039,8 +959,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 3, + 7 ] }, "viewer":{ @@ -1049,7 +969,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Constant", "masktype":"" } }, @@ -1152,63 +1072,38 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8376", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8372", + "className":"Simulink.Relay", "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", + "name":"n_commDeacv", + "label":"n_commDeacv", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Port", - "IconDisplay", + "OnSwitchValue", + "OffSwitchValue", + "OnOutputValue", + "OffOutputValue", + "InputProcessing", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "ZeroCross" ], "values":[ - "2", - "Port number", + "n_commDeacvHi", + "n_commAcvLo", + "1", + "0", + "Elements as channels (sample based)", "[]", "[]", - "Inherit: auto", + "boolean", "off", - "inherit", "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "on" ], "tabs":[ "Main", @@ -1217,8 +1112,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 5, + 9 ] }, "viewer":{ @@ -1227,143 +1122,55 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Relay", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8371", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8369", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"UnitDelay4", - "label":"UnitDelay4", + "name":"Switch2", + "label":"Switch2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "Threshold", + "ZeroCross" ], "values":[ - "0", - "Inherited", - "-1", - "", - "", + "u2 ~= 0", "off", - [ - ], - "Auto" + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" ], "tabs":[ "Main", - "State Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"UnitDelay", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8370", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay3", - "label":"UnitDelay3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "z_maxCntRst", - "Inherited", - "-1", - "", - "", - "off", - [ - ], - "Auto" - ], - "tabs":[ - "Main", - "State Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"UnitDelay", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9428", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator9", - "label":"Relational Operator9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "<", - "off", - "boolean", - "Simplest", - "-1", - "on" - ], - "tabs":[ - "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 1, - 4 + 9 ] }, "viewer":{ @@ -1372,7 +1179,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Switch", "masktype":"" } }, @@ -1422,38 +1229,73 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8367", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9430", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Relational Operator3", - "label":"Relational Operator3", + "name":"b_motStdStill", + "label":"b_motStdStill", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Operator", - "InputSameDT", + "Port", + "IconDisplay", + "OutMin", + "OutMax", "OutDataTypeStr", - "RndMeth", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "==", + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", - "boolean", - "Simplest", + "inherit", "-1", - "on" + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 1, - 4 + 2, + 11 ] }, "viewer":{ @@ -1462,40 +1304,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8304", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"Outport", "masktype":"" } }, @@ -1531,44 +1340,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8301", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_dirPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8299", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9427", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -1577,7 +1353,7 @@ "IconDisplay" ], "values":[ - "n_motAbs", + "b_motStdStill", "local", "Tag" ], @@ -1597,11 +1373,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8297", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8305", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -1610,7 +1386,7 @@ "IconDisplay" ], "values":[ - "z_counter", + "dz_trnsDet", "local", "Tag" ], @@ -1630,51 +1406,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9425", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "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:8294", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8313", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"Mux3", + "label":"Mux3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Inputs", + "DisplayOption" ], "values":[ - "dz_trnsDet", - "Tag" + "2", + "bar" ], "tabs":[ "Parameter Attributes" @@ -1687,24 +1432,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Mux", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8293", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8300", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"Goto17", + "label":"Goto17", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "n_motRaw", + "b_enaAdvCtrl", + "local", "Tag" ], "tabs":[ @@ -1718,30 +1465,49 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8291", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8370", + "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"UnitDelay3", + "label":"UnitDelay3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" ], "values":[ - "z_counterRaw", - "Tag" + "z_maxCntRst", + "Inherited", + "-1", + "", + "", + "off", + [ + ], + "Auto" ], "tabs":[ - "Parameter Attributes" + "Main", + "State Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1749,24 +1515,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"UnitDelay", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8289", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8297", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", + "name":"Goto10", + "label":"Goto10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_edge", + "z_counter", + "local", "Tag" ], "tabs":[ @@ -1780,25 +1548,25 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8288", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8312", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"From30", - "label":"From30", + "name":"Mux2", + "label":"Mux2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Inputs", + "DisplayOption" ], "values":[ - "z_ctrlTypSel", - "Tag" + "2", + "bar" ], "tabs":[ "Parameter Attributes" @@ -1811,16 +1579,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Mux", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8285", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8294", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", + "name":"From8", + "label":"From8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -1828,7 +1596,7 @@ "IconDisplay" ], "values":[ - "z_dirPrev", + "dz_trnsDet", "Tag" ], "tabs":[ @@ -1847,44 +1615,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8303", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motAbsPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8283", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8289", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From31", + "label":"From31", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -1892,7 +1627,7 @@ "IconDisplay" ], "values":[ - "n_motAbsPrev", + "b_edge", "Tag" ], "tabs":[ @@ -1911,11 +1646,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8282", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8284", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", + "name":"From24", + "label":"From24", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -1923,62 +1658,13 @@ "IconDisplay" ], "values":[ - "z_dir", + "b_enaAdvCtrl", "Tag" ], "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8374", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"z_maxCntRst2", - "label":"z_maxCntRst2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "z_maxCntRst", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "Parameter Attributes" + ], + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1986,7 +1672,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", "masktype":"" } }, @@ -2034,11 +1720,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8281", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9477", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", + "name":"From21", + "label":"From21", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2046,7 +1732,7 @@ "IconDisplay" ], "values":[ - "b_enaFOC", + "n_motRaw", "Tag" ], "tabs":[ @@ -2065,11 +1751,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8278", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8285", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", + "name":"From28", + "label":"From28", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2077,7 +1763,7 @@ "IconDisplay" ], "values":[ - "b_edge", + "z_dirPrev", "Tag" ], "tabs":[ @@ -2096,50 +1782,38 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8369", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9428", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", + "name":"Relational Operator9", + "label":"Relational Operator9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Criteria", + "Operator", "InputSameDT", - "OutMin", - "OutMax", "OutDataTypeStr", - "LockScale", "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", "SampleTime", - "Threshold", "ZeroCross" ], "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", + "<", "off", + "boolean", + "Simplest", "-1", - "0", "on" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, 1, - 9 + 4 ] }, "viewer":{ @@ -2148,26 +1822,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8298", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8282", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", + "name":"From19", + "label":"From19", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "n_motRaw", - "local", + "z_dir", "Tag" ], "tabs":[ @@ -2181,24 +1853,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8277", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8301", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "z_counterRaw", + "z_dirPrev", + "local", "Tag" ], "tabs":[ @@ -2212,24 +1886,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9426", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8303", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_motStdStill", + "n_motAbsPrev", + "local", "Tag" ], "tabs":[ @@ -2243,26 +1919,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8305", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8281", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"From18", + "label":"From18", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "dz_trnsDet", - "local", + "b_enaAdvCtrl", "Tag" ], "tabs":[ @@ -2276,25 +1950,25 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8312", - "className":"Simulink.Mux", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8283", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "GotoTag", + "IconDisplay" ], "values":[ - "2", - "bar" + "n_motAbsPrev", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -2307,16 +1981,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8286", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9425", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", + "name":"From9", + "label":"From9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2343,40 +2017,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "z_cntInit" - ], - "values":[ - "z_maxCntRst" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8284", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8293", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", + "name":"From7", + "label":"From7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2384,7 +2029,7 @@ "IconDisplay" ], "values":[ - "b_enaFOC", + "n_motRaw", "Tag" ], "tabs":[ @@ -2403,19 +2048,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8275", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8306", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "z_counter", + "n_mot", + "local", "Tag" ], "tabs":[ @@ -2429,16 +2076,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8280", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8286", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", + "name":"From29", + "label":"From29", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2446,7 +2093,7 @@ "IconDisplay" ], "values":[ - "z_counterRawPrev", + "n_motAbs", "Tag" ], "tabs":[ @@ -2562,38 +2209,63 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8372", - "className":"Simulink.Relay", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8379", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"n_commDeacv", - "label":"n_commDeacv", + "name":"b_enaAdvCtrl", + "label":"b_enaAdvCtrl", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "OnSwitchValue", - "OffSwitchValue", - "OnOutputValue", - "OffOutputValue", - "InputProcessing", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "n_commDeacvHi", - "n_commAcvLo", - "1", - "0", - "Elements as channels (sample based)", + "6", + "Port number", "[]", "[]", - "boolean", + "Inherit: auto", "off", + "inherit", "-1", - "on" + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -2602,8 +2274,8 @@ ], "tabs_idx":[ 0, - 5, - 9 + 2, + 11 ] }, "viewer":{ @@ -2612,7 +2284,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Relay", + "blocktype":"Outport", "masktype":"" } }, @@ -2666,21 +2338,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8300", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8275", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", + "name":"From10", + "label":"From10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "b_enaFOC", - "local", + "z_counter", "Tag" ], "tabs":[ @@ -2694,16 +2364,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9477", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9426", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", + "name":"From11", + "label":"From11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2711,7 +2381,7 @@ "IconDisplay" ], "values":[ - "n_motRaw", + "b_motStdStill", "Tag" ], "tabs":[ @@ -2777,21 +2447,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8306", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8280", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", + "name":"From17", + "label":"From17", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "n_mot", - "local", + "z_counterRawPrev", "Tag" ], "tabs":[ @@ -2805,65 +2473,48 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8267", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8371", + "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"z_dirPrev", - "label":"z_dirPrev", + "name":"UnitDelay4", + "label":"UnitDelay4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "InitialCondition", + "InputProcessing", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", + "0", + "Inherited", "-1", - "auto", - "off", "", - "on", - "off", + "", "off", - "off" + [ + ], + "Auto" ], "tabs":[ "Main", - "Signal Attributes", + "State Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 3, + 4 ] }, "viewer":{ @@ -2872,7 +2523,69 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"UnitDelay", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8291", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counterRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8276", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counter", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, @@ -2908,11 +2621,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8264", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8267", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlTypSel", - "label":"z_ctrlTypSel", + "name":"z_dirPrev", + "label":"z_dirPrev", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2935,7 +2648,7 @@ "OutputFunctionCall" ], "values":[ - "1", + "3", "Port number", "[]", "[]", @@ -2975,20 +2688,51 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8313", - "className":"Simulink.Mux", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Counter", + "label":"Counter", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "z_cntInit" + ], + "values":[ + "z_maxCntRst" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8299", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Mux3", - "label":"Mux3", + "name":"Goto12", + "label":"Goto12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "2", - "bar" + "n_motAbs", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -3001,16 +2745,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8276", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8278", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", + "name":"From15", + "label":"From15", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -3018,7 +2762,7 @@ "IconDisplay" ], "values":[ - "z_counter", + "b_edge", "Tag" ], "tabs":[ @@ -3037,43 +2781,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8269", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8298", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"CTRL_COMM", - "label":"CTRL_COMM", + "name":"Goto11", + "label":"Goto11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "CTRL_FOC", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" + "n_motRaw", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -3081,26 +2809,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9427", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8277", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"From14", + "label":"From14", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "b_motStdStill", - "local", + "z_counterRaw", "Tag" ], "tabs":[ @@ -3114,16 +2840,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8309", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8310", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator1", - "label":"Logical Operator1", + "name":"Logical Operator2", + "label":"Logical Operator2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -3135,7 +2861,7 @@ "SampleTime" ], "values":[ - "NOT", + "AND", "2", "rectangular", "off", @@ -3164,11 +2890,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8310", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8309", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator2", - "label":"Logical Operator2", + "name":"Logical Operator1", + "label":"Logical Operator1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -3180,8 +2906,8 @@ "SampleTime" ], "values":[ - "AND", - "3", + "NOT", + "2", "rectangular", "off", "boolean", @@ -4228,57 +3954,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8264#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "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:8277#out:1", "className":"Simulink.Line", @@ -4942,108 +4617,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8269#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "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:8288#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "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:8286#out:1", "className":"Simulink.Line", @@ -5147,58 +4720,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8367#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "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:8372#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8310#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5249,7 +4771,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8309#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8294#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5300,7 +4822,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8310#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8374#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5351,7 +4873,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8294#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8278#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5402,7 +4924,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8374#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8271#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5453,7 +4975,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8278#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5504,7 +5026,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8271#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9426#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5555,7 +5077,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9425#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5606,7 +5128,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9426#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9429#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5657,7 +5179,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9425#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9428#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5708,7 +5230,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9429#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9477#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5759,7 +5281,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9428#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8372#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -5810,7 +5332,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9477#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8309#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.png index 4a3699f..1e31fce 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.svg index 4afe1f5..d38b73d 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.svg @@ -1,56 +1,37 @@ - + - + - - - - - - - - - - - - - - Authorize FOC only it is selected. - - - - - - - + + - - + + - - Authorize FOC only if not in + + Authorize advanced control only - - + + - - high transient detected. + + if not in high transient detected. @@ -60,24 +41,24 @@ - + - + - - Authorize FOC only if speed is + + Authorize advance control only if - + - - above a threshold. + + speed is above a threshold. @@ -88,15 +69,15 @@ - + - - + + - - FOC Enable Flag Determination + + Advanced Control Enable Flag Determination @@ -107,7 +88,7 @@ - + @@ -115,19 +96,19 @@ - + - + - + - + @@ -164,11 +145,11 @@ - + - + 1 @@ -186,11 +167,11 @@ - - + + - + int16 @@ -212,11 +193,11 @@ - + - + [z_counterRaw] @@ -245,11 +226,11 @@ - + - + [b_edge] @@ -267,11 +248,11 @@ - - + + - + boolean @@ -293,11 +274,11 @@ - + - + [z_counterRaw] @@ -315,11 +296,11 @@ - - + + - + int16 @@ -341,11 +322,11 @@ - + - + [z_counterRawPrev] @@ -365,57 +346,57 @@ - + - + - + - - 2 + + 1 - + - + - - + + - + b_edge - + - - + + - + boolean @@ -428,27 +409,27 @@ - + - + - + - + [b_edge] - + @@ -470,11 +451,11 @@ - + - + 1 @@ -492,11 +473,11 @@ - - + + - + n_mot @@ -518,11 +499,11 @@ - + - + [n_mot] @@ -540,11 +521,11 @@ - - + + - + sfix16_En4 @@ -566,11 +547,11 @@ - + - + [n_mot] @@ -588,11 +569,11 @@ - - + + - + sfix16_En4 @@ -605,57 +586,57 @@ - + - + - + - - 3 + + 2 - + - + - - + + - + z_dir - + - - + + - + int8 @@ -668,27 +649,27 @@ - + - + - + - + [z_dir] - + @@ -700,44 +681,44 @@ - - + + - + - + - - 6 + + 4 - + - - + + - - + + - - b_enaFOC + + z_counterRaw @@ -748,44 +729,44 @@ - - + + - + - + - - 5 + + 3 - + - - + + - - + + - - b_motStdStill + + z_counter @@ -796,44 +777,44 @@ - - + + - + - + - - 4 + + 2 - + - - + + - - + + - - z_counterRaw + + n_motAbs @@ -844,44 +825,44 @@ - - - + + + - - + + - - + + - - 3 + + z_maxCntRst - - + + - - - + + + - - + + - - z_counter + + int16 @@ -902,11 +883,11 @@ - + - + z_maxCntRst @@ -924,11 +905,11 @@ - - + + - + int16 @@ -941,57 +922,57 @@ - + - + - + - + n_stdStillDet - + - + - - + + - + n_stdStillDet - + - - + + - + sfix16_En4 @@ -1003,94 +984,62 @@ - - - + + + - - + + - + - - + + - - 2 - - - - - - - - - - - - - - + + - - + + - - n_motAbs + + - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + @@ -1104,38 +1053,38 @@ - - + + - - - + + + - - + + - - Ini=0 + + n_commDeacv - - + + - - + + - - sfix16_En4 + + boolean @@ -1146,219 +1095,188 @@ - - - + + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - + + + + + + + - - - - - - + + + + + + + - - + + - - int16 + + - - - - - - + + + + + + + - - + + - - Ini=z_maxCntRst + + - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - + + + + + + + - - - - - - + + + + + + + - - + + - - boolean + + - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - - - - - - - - - + + - - + + - - + + - - boolean + + sfix16_En4 @@ -1369,38 +1287,30 @@ - - - + + + - + - + - + - - - - - - - - - - + + - - + + @@ -1414,22 +1324,22 @@ - + - + - - + + - + boolean @@ -1441,29 +1351,44 @@ - - - + + + - - + + - - + + - - [z_ctrlTypSel] + + 5 - - + + + + + + + + + + + + + + + + + b_motStdStill @@ -1484,11 +1409,11 @@ - + - + @@ -1506,11 +1431,11 @@ - - + + - + int16 @@ -1522,28 +1447,28 @@ - - + + - + - - + + - - [z_dirPrev] + + [b_motStdStill] - + @@ -1555,28 +1480,28 @@ - - + + - + - + - - [n_motAbs] + + [dz_trnsDet] - + @@ -1588,29 +1513,44 @@ - - - + + + - - + + - - + + - - [z_counter] + + - - + + + + + + + + + + + + + + + + + boolean @@ -1621,44 +1561,29 @@ - - - - - - + + + + + + - - + + - - [n_motAbs] + + [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1669,44 +1594,91 @@ - - - + + + - - + + - + - - + + - - [dz_trnsDet] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - boolean + + int16 + + + + + + + + + + + + + + + Ini=z_maxCntRst @@ -1717,44 +1689,29 @@ - - - + + + - - + + - - + + - - [n_motRaw] + + [z_counter] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1765,44 +1722,44 @@ - - - + + + - - + + - - + + - - [z_counterRaw] + + - - + + - - + + - - + + - - int16 + + sfix16_En4 @@ -1813,43 +1770,43 @@ - - + + - + - - + + - - [b_edge] + + [dz_trnsDet] - + - + - - + + - + boolean @@ -1861,44 +1818,44 @@ - - + + - + - - + + - - [z_ctrlTypSel] + + [b_edge] - + - - + + - - + + - - uint8 + + boolean @@ -1909,44 +1866,44 @@ - - + + - + - - + + - - [z_dirPrev] + + [b_enaAdvCtrl] - + - - + + - - + + - - int8 + + boolean @@ -1957,29 +1914,52 @@ - - - + + + - - + + - - + + - - [n_motAbsPrev] + + u1 + + + + + + + + if(u1 ~= 0) - - + + + + + + + + + + + + + + + + + action @@ -1990,43 +1970,43 @@ - - + + - + - + - - [n_motAbsPrev] + + [n_motRaw] - + - + - - + + - + sfix16_En4 @@ -2038,43 +2018,43 @@ - - + + - + - + - - [z_dir] + + [z_dirPrev] - + - + - - + + - + int8 @@ -2086,44 +2066,60 @@ - - - + + + - - + + - + - - + + - - z_maxCntRst + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - int16 + + boolean @@ -2134,52 +2130,110 @@ - - - + + + - - + + - - + + - - u1 + + [z_dir] + + + + + + + + + + + + + + - - + + - - if(u1 ~= 0) + + int8 - - - + + + + + + + + + + + + + + + + + + + + + + [z_dirPrev] - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - action + + [n_motAbsPrev] + + + + + + + @@ -2200,12 +2254,12 @@ - + - - [b_enaFOC] + + [b_enaAdvCtrl] @@ -2222,11 +2276,11 @@ - - + + - + boolean @@ -2238,44 +2292,44 @@ - - + + - + - + - - [b_edge] + + [n_motAbsPrev] - + - - + + - - + + - - boolean + + sfix16_En4 @@ -2286,796 +2340,125 @@ - - - + + + - - + + - - + + - - + + [n_motAbs] - - - - - - - + + + + + + - - - - - - - + + + + + + - - + + - - + + sfix16_En4 + + + + + + + + + + + + + + + + + + - - + + - - + + [n_motRaw] - - - - - - - + + + + + + - - - - - - - + + + + + + - - + + - - + + sfix16_En4 + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motRaw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [dz_trnsDet] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - inc - - - - - - - - max - - - - - - - - rst - - - - - - - - cnt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Counter - - - - - - - - - - - - - - - Ini=z_maxCntRst - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaFOC] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] + + [n_mot] - - - - - - - - - - - - - - - - - int16 + + @@ -3086,44 +2469,44 @@ - - + + - + - - + + - - [z_counterRawPrev] + + [n_motAbs] - + - - + + - - + + - - int16 + + sfix16_En4 @@ -3136,7 +2519,7 @@ - + @@ -3150,67 +2533,67 @@ - + - + z_dir - + - + z_dirPrev - + - + z_counterRawPrev - + - + n_motAbsPrev - + - + z_counter - + - + dz_trnsDet - + - + n_motRaw - + - + if { } @@ -3240,11 +2623,11 @@ - - + + - + Raw_Motor_Speed_Estimation @@ -3257,79 +2640,277 @@ + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + - - + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + - + int16 - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - - sfix16_En4 + + [b_motStdStill] - - - - - - - - - - - - - - - - - boolean + + + - - - - - - - - + + - - + + - - action + + boolean @@ -3340,68 +2921,46 @@ - - - - - - - - - + + + - - + + - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + @@ -3415,38 +2974,23 @@ - - - - - - - - - - - - - - - - - n_commDeacv + + - - + + - - + + - - boolean + + sfix16_En4 @@ -3457,44 +3001,44 @@ - - - + + + - - + + - - + + - - 0 + + [z_counterRawPrev] - - + + - - + + - - + + - - sfix16_En4 + + int16 @@ -3505,29 +3049,91 @@ - - - + + + - - + + - + - - + + + + + + + + + + + + + + + + + + - - [b_enaFOC] + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + sfix16_En4 @@ -3538,44 +3144,44 @@ - - + + - + - - + + - - [n_motRaw] + + [z_counterRaw] - + - - + + - - + + - - sfix16_En4 + + int16 @@ -3586,76 +3192,44 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + [z_counter] - - - - - - - - - - + + - - + + - - + + - - sfix16_En4 + + int16 @@ -3666,29 +3240,44 @@ - - - + + + - - + + - - + + - - [n_mot] + + [n_motAbs] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -3700,57 +3289,57 @@ - + - + - + - - 4 + + 3 - + - + - - + + - + z_dirPrev - + - - + + - + int8 @@ -3762,107 +3351,250 @@ - - - + + + - - + + - - + + - - [n_motAbs] + + inc + + + + + + + + max + + + + + + + + rst + + + + + + + + cnt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - + + + - - + + - - sfix16_En4 + + Counter - - - - - - - - - - - - - - + + + - - + + - - 1 - - - - - - - + + Ini=z_maxCntRst - - - + + + - - + + - - z_ctrlTypSel + + int16 - - - - + - - + + - - uint8 + + + + + + + + + + + + + + + + + + + + + + @@ -3873,44 +3605,29 @@ - - - + + + - - + + - - + + - - + + [n_motAbs] - - - - - - - - - - - - - - - - - boolean + + @@ -3921,44 +3638,44 @@ - - + + - + - - + + - - [z_counter] + + [b_edge] - + - - + + - - + + - - int16 + + boolean @@ -3969,44 +3686,29 @@ - - - + + + - - + + - - + + - - CTRL_FOC + + [n_motRaw] - - - - - - - - - - - - - - - - - uint8 + + @@ -4017,29 +3719,44 @@ - - - + + + - - + + - - + + - - [b_motStdStill] + + [z_counterRaw] - - + + + + + + + + + + + + + + + + + int16 @@ -4050,30 +3767,30 @@ - - - + + + - - + + - - + + - - + + - + - - + + @@ -4082,62 +3799,62 @@ - - - - - - - - - - - - + - - + + - + boolean + + + + + + + + + + + - - - + + + - - + + - - + + - - + + - + - - + + @@ -4147,23 +3864,23 @@ - + - - + + - + boolean - - + + @@ -4263,11 +3980,11 @@ - + - + @@ -4291,11 +4008,11 @@ - + - + @@ -4347,11 +4064,11 @@ - + - + @@ -4476,20 +4193,6 @@ - - - - - - - - - - - - - - @@ -4692,42 +4395,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -4748,56 +4423,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -4807,11 +4440,11 @@ - + - + @@ -4911,11 +4544,11 @@ - + - + @@ -4925,11 +4558,11 @@ - + - + @@ -4939,11 +4572,11 @@ - + - + @@ -4964,7 +4597,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.svg index f2bc189..4c103af 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.svg @@ -15,7 +15,7 @@ - + @@ -592,5 +592,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.json index b2c7dae..d19e756 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.json @@ -167,59 +167,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2415", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax", - "label":"MinMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "min", - "off", - "2", - "off", - "[]", - "[]", - "Floor", - "-1", - "off", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"MinMax", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2414", "className":"Simulink.Inport", @@ -288,11 +235,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2412", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2413", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"inc", - "label":"inc", + "name":"max", + "label":"max", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ @@ -315,7 +262,7 @@ "OutputFunctionCall" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -355,11 +302,64 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2413", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2415", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax", + "label":"MinMax", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "inspector":{ + "params":[ + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" + ], + "values":[ + "Inherit: Inherit via internal rule", + "min", + "off", + "2", + "off", + "[]", + "[]", + "Floor", + "-1", + "off", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"MinMax", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2412", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"max", - "label":"max", + "name":"inc", + "label":"inc", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ @@ -382,7 +382,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "1", "Port number", "[]", "[]", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.svg index d2fcc3d..277ed10 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.svg @@ -128,32 +128,32 @@
- - - + + + - + - - int16 + + Ini=z_cntInit - - - + + + - + - - Ini=z_cntInit + + int16 @@ -268,60 +268,59 @@ - - - + + + - - + + - + - - - - - - - - - + - - + + 3 - - - - - + + + + - - - + + + + + + + + + + + rst - - + + - - + + - - int16 + + boolean @@ -332,59 +331,59 @@ - - + + - + - + - - 3 + + 2 - + - - + + - - + + - - rst + + max - - + + - - + + - - boolean + + int16 @@ -395,58 +394,59 @@ - - - + + + - - + + - + - - + + - - 1 + + + + + + + + + + - - - - + - - - - - - - - - - - inc + + + + + + + - - + + - + - + int16 @@ -458,11 +458,11 @@ - - + + - + @@ -472,44 +472,44 @@ - - 2 + + 1 - + - - + + - + - - max + + inc - + - + - + int16 @@ -625,5 +625,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.json index e74daf9..bbf134b 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.json @@ -245,11 +245,11 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8358", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8359", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"z_counter", - "label":"z_counter", + "name":"dz_trnsDet", + "label":"dz_trnsDet", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -278,7 +278,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -291,7 +291,7 @@ "auto", "off", "off", - "z_maxCntRst", + "[]", "off", "held", "off", @@ -325,72 +325,51 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8360", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8357", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"n_motRaw", - "label":"n_motRaw", + "name":"g_Ha", + "label":"g_Ha", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Gain", + "Multiplication", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "3", - "Port number", + "4", + "Element-wise(K.*u)", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "Inherit: Inherit via back propagation", "off", + "Zero", "off", "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "[]", + "Inherit: Same as input", + "-1" ], "tabs":[ "Main", "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, 2, + 8, 11 ] }, @@ -400,53 +379,98 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Gain", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8356", - "className":"Simulink.Relay", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8354", + "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"dz_cntTrnsDet", - "label":"dz_cntTrnsDet", + "name":"UnitDelay5", + "label":"UnitDelay5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "OnSwitchValue", - "OffSwitchValue", - "OnOutputValue", - "OffOutputValue", + "InitialCondition", "InputProcessing", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", "SampleTime", - "ZeroCross" + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" ], "values":[ - "dz_cntTrnsDetHi", - "dz_cntTrnsDetLo", - "1", "0", - "Elements as channels (sample based)", - "[]", - "[]", - "boolean", + "Inherited", + "-1", + "", + "", "off", + [ + ], + "Auto" + ], + "tabs":[ + "Main", + "State Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"UnitDelay", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8352", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay3", + "label":"UnitDelay3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "0", + "Inherited", "-1", - "on" + "", + "", + "off", + [ + ], + "Auto" ], "tabs":[ "Main", - "Signal Attributes", + "State Attributes", "-Other" ], "tabs_idx":[ 0, - 5, - 9 + 3, + 4 ] }, "viewer":{ @@ -455,16 +479,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Relay", + "blocktype":"UnitDelay", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8351", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8350", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay2", - "label":"UnitDelay2", + "name":"UnitDelay1", + "label":"UnitDelay1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -567,40 +591,63 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8347", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8360", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", + "name":"n_motRaw", + "label":"n_motRaw", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "Criteria", - "InputSameDT", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "Threshold", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "u2 ~= 0", - "on", + "3", + "Port number", "[]", "[]", - "Inherit: Inherit via internal rule", + "Inherit: auto", "off", - "Floor", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", "off", - "-1", + "[]", + "off", + "held", + "off", "0", - "on" + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -609,8 +656,8 @@ ], "tabs_idx":[ 0, - 1, - 9 + 2, + 11 ] }, "viewer":{ @@ -619,65 +666,58 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8341", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8346", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Sum7", + "label":"Sum7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "dz_trnsDet", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8339", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "n_motAbsPrev", - "local", - "Tag" + "rectangular", + "+-", + "on", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 10 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -685,32 +725,56 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8336", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8347", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"Switch1", + "label":"Switch1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" ], "values":[ - "z_dir", - "local", - "Tag" + "u2 ~= 0", + "on", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "on" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1, + 9 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -718,30 +782,56 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8332", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8349", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"Switch3", + "label":"Switch3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" ], "values":[ - "z_dir", - "Tag" + "u2 ~= 0", + "on", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Floor", + "off", + "off", + "-1", + "0", + "on" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1, + 9 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -749,16 +839,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8346", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8345", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum7", - "label":"Sum7", + "name":"Sum13", + "label":"Sum13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -778,7 +868,7 @@ ], "values":[ "rectangular", - "+-", + "++++", "on", "Inherit: Inherit via internal rule", "[]", @@ -813,19 +903,66 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8330", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8344", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"Relational Operator4", + "label":"Relational Operator4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "~=", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8342", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "z_dir", + "cf_speedCoef", + "local", "Tag" ], "tabs":[ @@ -839,16 +976,49 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8350", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8341", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "dz_trnsDet", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8351", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", + "name":"UnitDelay2", + "label":"UnitDelay2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -894,19 +1064,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8328", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8340", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "z_counter", + "z_counterRawPrev", + "local", "Tag" ], "tabs":[ @@ -920,24 +1092,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8327", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8339", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "z_counter", + "n_motAbsPrev", + "local", "Tag" ], "tabs":[ @@ -951,48 +1125,78 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8354", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8358", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"UnitDelay5", - "label":"UnitDelay5", + "name":"z_counter", + "label":"z_counter", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "0", - "Inherited", + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", "-1", - "", - "", + "Inherit", + "-1", + "auto", + "off", + "off", + "z_maxCntRst", + "off", + "held", "off", + "0", + "", [ ], - "Auto" + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", - "State Attributes", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 3, - 4 + 2, + 11 ] }, "viewer":{ @@ -1001,16 +1205,71 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8326", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8356", + "className":"Simulink.Relay", + "icon":"WebViewIcon3", + "name":"dz_cntTrnsDet", + "label":"dz_cntTrnsDet", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "OnSwitchValue", + "OffSwitchValue", + "OnOutputValue", + "OffOutputValue", + "InputProcessing", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "SampleTime", + "ZeroCross" + ], + "values":[ + "dz_cntTrnsDetHi", + "dz_cntTrnsDetLo", + "1", + "0", + "Elements as channels (sample based)", + "[]", + "[]", + "boolean", + "off", + "-1", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Relay", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8333", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From7", + "label":"From7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -1018,7 +1277,7 @@ "IconDisplay" ], "values":[ - "z_counterRawPrev", + "n_motAbsPrev", "Tag" ], "tabs":[ @@ -1037,53 +1296,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8357", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"g_Ha", - "label":"g_Ha", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8332", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" ], "values":[ - "4", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" + "z_dir", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1091,56 +1322,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8324", - "className":"Simulink.Product", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8331", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Divide14", - "label":"Divide14", + "name":"From5", + "label":"From5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "*/", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "cf_speedCoef", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1148,16 +1353,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8335", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8328", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"From13", + "label":"From13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -1184,39 +1389,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8344", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8327", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Relational Operator4", - "label":"Relational Operator4", + "name":"From12", + "label":"From12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" + "GotoTag", + "IconDisplay" ], "values":[ - "~=", - "off", - "boolean", - "Simplest", - "-1", - "on" + "z_counter", + "Tag" ], "tabs":[ - "Main", - "Data Type", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 1, - 4 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1224,7 +1415,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"From", "masktype":"" } }, @@ -1260,11 +1451,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8322", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8324", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide11", - "label":"Divide11", + "name":"Divide14", + "label":"Divide14", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -1282,12 +1473,12 @@ "SampleTime" ], "values":[ - "**", + "*/", "Element-wise(.*)", "off", "[]", "[]", - "Inherit: Same as first input", + "fixdt(1,16,4)", "off", "Simplest", "off", @@ -1317,21 +1508,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8340", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8330", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"From4", + "label":"From4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "z_counterRawPrev", - "local", + "z_dir", "Tag" ], "tabs":[ @@ -1345,7 +1534,38 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8334", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "dz_trnsDet", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, @@ -1456,74 +1676,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8359", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8335", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"dz_trnsDet", - "label":"dz_trnsDet", + "name":"From9", + "label":"From9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "GotoTag", + "IconDisplay" ], "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "z_counter", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1531,48 +1702,47 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8353", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8321", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"UnitDelay4", - "label":"UnitDelay4", + "name":"Constant4", + "label":"Constant4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", + "Value", + "VectorParams1D", "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ "0", - "Inherited", - "-1", - "", - "", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", "off", - [ - ], - "Auto" + "inf" ], "tabs":[ "Main", - "State Attributes", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 3, - 4 + 7 ] }, "viewer":{ @@ -1581,7 +1751,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", + "blocktype":"Constant", "masktype":"" } }, @@ -1617,44 +1787,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8352", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8326", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"UnitDelay3", - "label":"UnitDelay3", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "GotoTag", + "IconDisplay" ], "values":[ - "0", - "Inherited", - "-1", - "", - "", - "off", - [ - ], - "Auto" + "z_counterRawPrev", + "Tag" ], "tabs":[ - "Main", - "State Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 4 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1662,55 +1813,45 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8349", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8320", + "className":"Simulink.Abs", "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", + "name":"Abs2", + "label":"Abs2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "Criteria", - "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", "RndMeth", "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", "SampleTime", - "Threshold", "ZeroCross" ], "values":[ - "u2 ~= 0", - "on", "[]", "[]", - "Inherit: Inherit via internal rule", - "off", - "Floor", + "Inherit: Inherit via back propagation", "off", + "Zero", "off", "-1", - "0", "on" ], "tabs":[ - "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 1, - 9 + 6 ] }, "viewer":{ @@ -1719,65 +1860,48 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Abs", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8318", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8353", + "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"n_motAbsPrev", - "label":"n_motAbsPrev", + "name":"UnitDelay4", + "label":"UnitDelay4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "InitialCondition", + "InputProcessing", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", + "0", + "Inherited", "-1", - "auto", - "off", "", - "on", - "off", + "", "off", - "off" + [ + ], + "Auto" ], "tabs":[ "Main", - "Signal Attributes", + "State Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 3, + 4 ] }, "viewer":{ @@ -1786,47 +1910,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8334", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "dz_trnsDet", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", + "blocktype":"UnitDelay", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8337", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8336", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -1835,73 +1928,14 @@ "IconDisplay" ], "values":[ - "z_counter", + "z_dir", "local", "Tag" ], "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8345", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum13", - "label":"Sum13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++++", - "on", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 10 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1909,48 +1943,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8321", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8329", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Constant4", - "label":"Constant4", + "name":"From21", + "label":"From21", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "IconDisplay" ], "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" + "z_dirPrev", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1958,24 +1974,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8333", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8338", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "n_motAbsPrev", + "z_dirPrev", + "local", "Tag" ], "tabs":[ @@ -1989,7 +2007,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, @@ -2061,25 +2079,51 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8329", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8322", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", + "name":"Divide11", + "label":"Divide11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "z_dirPrev", - "Tag" + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 9 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2087,16 +2131,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8316", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8318", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_dirPrev", - "label":"z_dirPrev", + "name":"n_motAbsPrev", + "label":"n_motAbsPrev", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -2119,7 +2163,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "4", "Port number", "[]", "[]", @@ -2159,19 +2203,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8331", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8337", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "cf_speedCoef", + "z_counter", + "local", "Tag" ], "tabs":[ @@ -2185,16 +2231,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8315", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8316", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_dir", - "label":"z_dir", + "name":"z_dirPrev", + "label":"z_dirPrev", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -2217,7 +2263,7 @@ "OutputFunctionCall" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -2257,106 +2303,60 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8338", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_dirPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8342", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "cf_speedCoef", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8320", - "className":"Simulink.Abs", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8315", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Abs2", - "label":"Abs2", + "name":"z_dir", + "label":"z_dir", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ + "1", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", + "Inherit: auto", "off", + "inherit", "-1", - "on" + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ + "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 2, + 11 ] }, "viewer":{ @@ -2365,7 +2365,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Abs", + "blocktype":"Inport", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.svg index f3a5ec0..da2f4f6 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.svg @@ -220,11 +220,11 @@ - - + + - + @@ -234,30 +234,30 @@ - - 1 + + 2 - + - - + + - + - - z_counter + + dz_trnsDet @@ -268,44 +268,44 @@ - - - + + + - - + + - + - - 3 + + 4 - - + + - - - + + + - + - - n_motRaw + + uint16 @@ -316,62 +316,46 @@ - - - + + + - - + + - - - - - - - - - + - - + + - + - - + + - + - - + + - - - - - - - - - + - - + + @@ -385,38 +369,38 @@ - - + + - - - + + + - - + + - - dz_cntTrnsDet + + int16 - - - + + + - - + + - - boolean + + Ini=0 @@ -427,45 +411,45 @@ - - - + + + - + - + - + - + - + - + - + - + - + @@ -480,42 +464,137 @@ - + + + + + + + + + + + + Ini=0 + + + + - + - - + + - + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + - - + + - + Ini=0 + + + + + + + + + + + boolean + + + + @@ -524,7 +603,7 @@ - + @@ -532,155 +611,155 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -698,11 +777,11 @@ - + - + threshold=0 Criteria : u2 ~= 0 @@ -714,11 +793,11 @@ - + - + sfix16_En4 @@ -730,165 +809,277 @@ - - - + + + - + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + n_motRaw + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -906,11 +1097,11 @@ - + - + sfix16_En4 @@ -921,11 +1112,11 @@ - + - + threshold=0 Criteria : u2 ~= 0 @@ -938,207 +1129,204 @@ - - - + + + - - + + - - + + - - [dz_trnsDet] - - - - - - - + + - - - - - - - - - - - - - - - - - - - - + + - - [n_motAbsPrev] + + - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - + + - - [z_dir] + + - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - + + - - [z_dir] + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - + + - - int8 + + - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - + + + + + + + + + + + + + + + + + threshold=0 + Criteria : u2 ~= 0 - - + + - - + + - - int16 + + sfix16_En4 @@ -1149,44 +1337,100 @@ - - - + + + - - + + - - + + - - [z_dir] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - int8 + + int16 @@ -1197,46 +1441,30 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + @@ -1250,37 +1478,22 @@ - - - - - - - - - - - - - - - - - Ini=0 + + - + - - + + - + boolean @@ -1292,44 +1505,29 @@ - - - + + + - - + + - - + + - - [z_counter] + + [cf_speedCoef] - - - - - - - - - - - - - - - - - int16 + + @@ -1340,44 +1538,29 @@ - - - + + + - - + + - - + + - - [z_counter] + + [dz_trnsDet] - - - - - - - - - - - - - - - - - int16 + + @@ -1388,45 +1571,45 @@ - - - + + + - + - + - + - + - + - + - + - + - + @@ -1441,86 +1624,38 @@ - + - - - - - - - - - - - Ini=0 - - - - - + - - + + - + int16 - - - - - - - - - - - - - - - - - - - - - [z_counterRawPrev] - - - - - - - - - - - - - - + + - - + + - - int16 + + Ini=0 @@ -1531,44 +1666,29 @@ - - - + + + - - + + - - - - - - 4 - - - - - - - - - - - - - - - - - - + + - - uint16 + + [z_counterRawPrev] + + + + + + + @@ -1579,69 +1699,29 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - + + [n_motAbsPrev] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1652,44 +1732,44 @@ - - - + + + - - + + - - + + - - [z_counter] + + 1 - - + + - - - + + + - - + + - - int16 + + z_counter @@ -1700,30 +1780,62 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1737,22 +1849,37 @@ - - + + + + + + + + + + + + + + + + + dz_cntTrnsDet - + - - + + - + boolean @@ -1764,44 +1891,44 @@ - - + + - + - + - - [cf_speedCoef] + + [n_motAbsPrev] - + - - + + - - + + - - uint16 + + sfix16_En4 @@ -1812,52 +1939,44 @@ - - - + + + - - + + - - - - - - - - - - + + - - + + [z_dir] - - + + - - + + - - + + - - sfix16_En4 + + int8 @@ -1868,29 +1987,44 @@ - - - + + + - - + + - - + + - - [z_counterRawPrev] + + [cf_speedCoef] - - + + + + + + + + + + + + + + + + + uint16 @@ -1901,59 +2035,44 @@ - - - + + + - - + + - - - - - - cf_speedCoef - - - - - - - + + + + + + [z_counter] - - - - - - - - - - - cf_speedCoef + + + - - + + - - + + - - uint16 + + int16 @@ -1964,69 +2083,44 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - + + [z_counter] - - + + - - + + - - + + - - sfix16_En4 + + int16 @@ -2037,44 +2131,44 @@ - - - + + + - - + + - - + + - - 2 + + [cf_speedCoef] - - + + - - - + + + - - + + - - dz_trnsDet + + uint16 @@ -2085,91 +2179,69 @@ - - - + + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 + + - - + + - - + + - - int16 + + sfix16_En4 @@ -2180,44 +2252,44 @@ - - - + + + - - + + - - + + - - if { } + + [z_dir] - - + + - - - + + + - - + + - - Action Port + + int8 @@ -2228,91 +2300,107 @@ - - - + + + - - + + - + - - + + - - + + [dz_trnsDet] - - - - - - - + + + + + + - - - - - - - + + + + + + - - + + - - + + boolean - - + + + + + + + + + + + + + + + + + + + cf_speedCoef + - - + + - - - + + + - - + + - - Ini=0 + + cf_speedCoef - - + + - - + + - - int16 + + uint16 @@ -2323,204 +2411,117 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + - - - - - - - + + + + + + - - - - - - - T + + + + + + - - + + - - F + + sfix16_En4 - - - - - + + + + + + + + + + + + - - - - - + + - - threshold=0 - Criteria : u2 ~= 0 + + [z_counter] + + + + + + + - - + + - - + + - - sfix16_En4 + + int16 @@ -2531,58 +2532,43 @@ - - - + + + - - + + - - + + - - 4 + + 0 - - - - - - - - - - - - - - - - - n_motAbsPrev + + - + - - + + - + sfix16_En4 @@ -2594,44 +2580,44 @@ - - - + + + - - + + - - + + - - [dz_trnsDet] + + if { } - - + + - - - + + + - - + + - - boolean + + Action Port @@ -2642,29 +2628,44 @@ - - - + + + - - + + - - + + - - [z_counter] + + [z_counterRawPrev] - - + + + + + + + + + + + + + + + + + int16 @@ -2675,99 +2676,75 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + - - + + - + - - + + - + int16 @@ -2779,92 +2756,91 @@ - - - + + + - - + + - + - - + + - - 0 + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - + + - - sfix16_En4 + + - - - - - - - - - - - - + + - - - - - - - [n_motAbsPrev] - - - + + + + + + + + + + + + + + + + + Ini=0 - - + + - - + + - - sfix16_En4 + + int16 @@ -2875,59 +2851,29 @@ - - - + + + - - + + - - - - - - 3 - - - - - - - - - - - - - - - - - - + + - - z_counterRawPrev + + [z_dir] - - - - - - - - - - - int16 + + + @@ -2948,11 +2894,11 @@ - + - + [z_dirPrev] @@ -2970,11 +2916,11 @@ - + - + int8 @@ -2986,59 +2932,92 @@ - - + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + - + - + - - 2 + + 3 - + - - + + - - + + - - z_dirPrev + + z_counterRawPrev - - + + - - + + - - int8 + + int16 @@ -3049,44 +3028,52 @@ - - - + + + - - + + - - + + - - [cf_speedCoef] + + + + + + + + + + - - + + - - + + - - + + - - uint16 + + sfix16_En4 @@ -3097,59 +3084,59 @@ - - + + - + - + - - 1 + + 4 - + - - + + - - + + - - z_dir + + n_motAbsPrev - - + + - - + + - - int8 + + sfix16_En4 @@ -3160,28 +3147,28 @@ - - + + - + - + - - [z_dirPrev] + + [z_counter] - + @@ -3193,109 +3180,122 @@ - - - + + + - - + + - - + + - - [cf_speedCoef] + + 2 - - + + - - - - - - - - - - - - - - - - - - - - - - + + + - - + + - - + + z_dirPrev - - - - - - - + + + + + + - - + + - - + + int8 - - + + + + + + + + + + + + + + + + + + + 1 + - - + + + + + + + + + + + + + + + + + z_dir - - + + - + - - int16 + + int8 @@ -3308,7 +3308,7 @@ - + @@ -3773,10 +3773,10 @@ - + - + @@ -4020,5 +4020,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.json index 1bf7a05..da6db52 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.json @@ -950,86 +950,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8421", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "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:8420", "className":"Simulink.Constant", @@ -1054,7 +974,7 @@ "inf", "[]", "[]", - "fixdt(0,16,6)", + "fixdt(1,16,6)", "off", "inf" ], @@ -1080,40 +1000,42 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8418", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8417", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", + "name":"Sum3", + "label":"Sum3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ - "Criteria", + "IconShape", + "Inputs", "InputSameDT", + "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", "RndMeth", "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "u2 ~= 0", + "rectangular", + "++", "off", + "Inherit: Inherit via internal rule", "[]", "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", + "fixdt(1,16,12)", "off", + "Simplest", "off", - "-1", - "0", - "on" + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", @@ -1122,8 +1044,8 @@ ], "tabs_idx":[ 0, - 1, - 9 + 2, + 10 ] }, "viewer":{ @@ -1132,57 +1054,51 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8417", - "className":"Simulink.Sum", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9664", + "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", + "name":"MinMax1", + "label":"MinMax1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", "LockScale", + "OutMax", + "OutMin", "RndMeth", + "SampleTime", "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "ZeroCross" ], "values":[ - "rectangular", - "++", - "off", "Inherit: Inherit via internal rule", + "max", + "off", + "2", + "off", "[]", "[]", - "fixdt(1,16,12)", - "off", - "Simplest", + "Floor", + "-1", "off", - "1", - "All dimensions", - "-1" + "on" ], "tabs":[ - "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 10 + 1 ] }, "viewer":{ @@ -1191,7 +1107,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"MinMax", "masktype":"" } }, @@ -1249,11 +1165,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8412", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8410", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ @@ -1262,7 +1178,7 @@ "IconDisplay" ], "values":[ - "b_enaFOC", + "z_posLowRes", "local", "Tag" ], @@ -1282,21 +1198,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8411", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8404", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"From7", + "label":"From7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "z_posHighRes", - "local", + "z_counterRaw", "Tag" ], "tabs":[ @@ -1310,7 +1224,87 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8421", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"a_elecAngle", + "label":"a_elecAngle", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "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":"" } }, @@ -1377,47 +1371,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9664", - "className":"Simulink.MinMax", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8412", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"MinMax1", - "label":"MinMax1", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "Inherit: Inherit via internal rule", - "max", - "off", - "2", - "off", - "[]", - "[]", - "Floor", - "-1", - "off", - "on" + "b_enaAdvCtrl", + "local", + "Tag" ], "tabs":[ - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 1 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1425,7 +1399,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"MinMax", + "blocktype":"Goto", "masktype":"" } }, @@ -1460,6 +1434,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8397", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8396", "className":"Simulink.From", @@ -1473,7 +1478,7 @@ "IconDisplay" ], "values":[ - "b_enaFOC", + "b_enaAdvCtrl", "Tag" ], "tabs":[ @@ -1492,51 +1497,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8393", - "className":"Simulink.Product", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8395", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "z_posHighRes", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1544,16 +1523,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8392", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8394", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", + "name":"Divide3", + "label":"Divide3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ @@ -1571,12 +1550,12 @@ "SampleTime" ], "values":[ - "*/", + "**", "Element-wise(.*)", "off", "[]", "[]", - "fixdt(1,16,14)", + "Inherit: Same as first input", "off", "Simplest", "off", @@ -1606,44 +1585,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8410", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_posLowRes", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8395", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8403", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From6", + "label":"From6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ @@ -1651,7 +1597,7 @@ "IconDisplay" ], "values":[ - "z_posHighRes", + "z_counter", "Tag" ], "tabs":[ @@ -1670,50 +1616,40 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8389", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8393", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"b_enaFOC", - "label":"b_enaFOC", + "name":"Divide2", + "label":"Divide2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Inputs", + "Multiplication", + "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "5", - "Port number", + "**", + "Element-wise(.*)", + "off", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", + "Inherit: Same as first input", "off", + "Simplest", "off", - "off" + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", @@ -1723,7 +1659,7 @@ "tabs_idx":[ 0, 2, - 11 + 9 ] }, "viewer":{ @@ -1732,24 +1668,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8397", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8411", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_enaFOC", + "z_posHighRes", + "local", "Tag" ], "tabs":[ @@ -1763,16 +1701,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8394", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8392", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide3", - "label":"Divide3", + "name":"Divide1", + "label":"Divide1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ @@ -1790,12 +1728,12 @@ "SampleTime" ], "values":[ - "**", + "*/", "Element-wise(.*)", "off", "[]", "[]", - "Inherit: Same as first input", + "fixdt(1,16,14)", "off", "Simplest", "off", @@ -1825,25 +1763,51 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8403", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8418", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"Switch2", + "label":"Switch2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" ], "values":[ - "z_counter", - "Tag" + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1, + 9 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1851,37 +1815,55 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9665", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8389", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", + "name":"b_enaAdvCtrl", + "label":"b_enaAdvCtrl", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "0", - "on", - "inf", + "5", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", @@ -1890,8 +1872,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -1900,30 +1882,48 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8404", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9665", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"Constant1", + "label":"Constant1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "z_counterRaw", - "Tag" + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1931,7 +1931,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Constant", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.png index 04951f6..106c897 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.svg index f9755a1..bcdc24e 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.svg @@ -296,7 +296,7 @@ - + @@ -372,7 +372,7 @@ - + @@ -380,7 +380,7 @@ - ufix16_En6 + sfix16_En6 @@ -585,7 +585,7 @@ - + @@ -705,7 +705,7 @@ - + @@ -1142,54 +1142,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - a_elecAngle - - - - - - - - @@ -1202,11 +1154,11 @@ - + - + a_elecAngle @@ -1221,15 +1173,15 @@ - + - + - - ufix16_En6 + + sfix16_En6 @@ -1240,187 +1192,67 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - T + + - - + + - - F + + - - + + - + - - + + - + sfix16_En12 @@ -1432,67 +1264,59 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - + - - + + - - + + - - + + - - + + + + + + + + + + - - + + - + - - + + - + sfix16_En12 @@ -1514,19 +1338,19 @@ - + - + - + - + @@ -1552,11 +1376,11 @@ - + - + int16 @@ -1568,28 +1392,28 @@ - - + + - + - + - - [b_enaFOC] + + [z_posLowRes] - + @@ -1601,29 +1425,92 @@ - - - + + + - - + + - - + + - - [z_posHighRes] + + [z_counterRaw] - - + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle @@ -1644,11 +1531,11 @@ - + - + [z_dir] @@ -1666,11 +1553,11 @@ - + - + int8 @@ -1692,11 +1579,11 @@ - + - + [a_elecAngle] @@ -1711,15 +1598,15 @@ - + - + - - ufix16_En6 + + sfix16_En6 @@ -1730,60 +1617,77 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + [b_enaAdvCtrl] - + + + + + + + + + + + + + + + + + + + + + + + + + [z_posLowRes] + - - + + - - + + - - + + - - sfix16_En12 + + int8 @@ -1794,44 +1698,44 @@ - - + + - + - + - - [z_posLowRes] + + [b_enaAdvCtrl] - + - - + + - - + + - - int8 + + boolean @@ -1852,12 +1756,12 @@ - + - - [b_enaFOC] + + [b_enaAdvCtrl] @@ -1874,11 +1778,11 @@ - + - + boolean @@ -1890,52 +1794,44 @@ - - - + + + - - + + - - - - - - - - - - + + - - + + [z_posHighRes] - - + + - - + + - - + + - - ufix16_En6 + + sfix16_En12 @@ -1946,68 +1842,51 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - - + + - - + + - + - - + + - + sfix16_En14 @@ -2019,77 +1898,44 @@ - - - + + + - - + + - - + + - - [z_posLowRes] + + [z_counter] - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posHighRes] - - - - - - - + + - - + + - - + + - - sfix16_En12 + + int16 @@ -2100,59 +1946,52 @@ - - - + + + - - + + - - + + - - 5 + + - - - - - - + + + + + + + - - - - - - - - - - - b_enaFOC + + + - - + + - - + + - - boolean + + sfix16_En6 @@ -2163,44 +2002,29 @@ - - - + + + - - + + - - + + - - [b_enaFOC] + + [z_posHighRes] - - - - - - - - - - - - - - - - - boolean + + @@ -2211,51 +2035,68 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + - - + + - + - - + + - + sfix16_En14 @@ -2267,44 +2108,188 @@ - - - + + + - - + + - - + + - - [z_counter] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - + + - - + + - - + + - - int16 + + sfix16_En12 @@ -2315,44 +2300,59 @@ - - - + + + - - + + - - + + - - 0 + + 5 - - + + + + + + + + + + + + + + + + + b_enaAdvCtrl - - + + - + - - sfix16_En12 + + boolean @@ -2363,44 +2363,44 @@ - - - + + + - - + + - + - - [z_counterRaw] + + 0 - - + + - - + + - + - - int16 + + sfix16_En12 @@ -2911,5 +2911,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.json index eb2c4a2..c394ab0 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.json @@ -603,72 +603,51 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8527", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8521", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"b_errFlag", - "label":"b_errFlag", + "name":"g_Hb1", + "label":"g_Hb1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Gain", + "Multiplication", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "2", - "Port number", + "4", + "Element-wise(K.*u)", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", + "Inherit: Same as input", "off", - "reset", + "Simplest", "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" ], "tabs":[ "Main", "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, 2, + 8, 11 ] }, @@ -678,7 +657,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Gain", "masktype":"" } }, @@ -742,102 +721,100 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8524", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"t_errDequal", - "label":"t_errDequal", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519", + "className":"Either edge detection", + "icon":"WebViewIcon4", + "name":"either_edge", + "label":"either_edge", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "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":[ - "t_errDequal", + "FromPortIcon", + "ReadWrite", + "", + "All", "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", "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:8517", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "0", - "Inherited", - "-1", "", + "off", "", "off", - [ - ], - "Auto" + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ "Main", - "State Attributes", "-Other" ], "tabs_idx":[ 0, - 3, - 4 + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", - "masktype":"" + "blocktype":"SubSystem", + "masktype":"Either edge detection" } }, { @@ -898,52 +875,38 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8514", - "className":"Simulink.Sum", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9404", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Sum", - "label":"Sum", + "name":"Relational Operator7", + "label":"Relational Operator7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "IconShape", - "Inputs", + "Operator", "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", "OutDataTypeStr", - "LockScale", "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "SampleTime", + "ZeroCross" ], "values":[ - "rectangular", - "+++", - "off", - "Inherit: Same as first input", - "[]", - "[]", - "Inherit: Same as first input", + ">", "off", + "boolean", "Simplest", - "off", - "1", - "All dimensions", - "-1" + "-1", + "on" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 2, - 10 + 1, + 4 ] }, "viewer":{ @@ -952,7 +915,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"RelationalOperator", "masktype":"" } }, @@ -1002,32 +965,40 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8525", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"t_errQual", - "label":"t_errQual", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8515", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Criteria", + "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" ], "values":[ - "t_errQual", - "on", - "inf", + "u2 ~= 0", + "off", "[]", "[]", "Inherit: Inherit via back propagation", "off", - "inf" + "Zero", + "off", + "off", + "-1", + "0", + "on" ], "tabs":[ "Main", @@ -1036,8 +1007,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 1, + 9 ] }, "viewer":{ @@ -1046,16 +1017,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8508", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8509", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", + "name":"Relational Operator2", + "label":"Relational Operator2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -1067,7 +1038,7 @@ "ZeroCross" ], "values":[ - "==", + "~=", "off", "boolean", "Simplest", @@ -1096,27 +1067,74 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9406", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8527", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", + "name":"b_errFlag", + "label":"b_errFlag", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "z_errCodePrev", - "local", - "Tag" + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1124,32 +1142,49 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9395", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8517", + "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", + "name":"UnitDelay", + "label":"UnitDelay", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" ], "values":[ - "VqFinPrev", - "local", - "Tag" + "0", + "Inherited", + "-1", + "", + "", + "off", + [ + ], + "Auto" ], "tabs":[ - "Parameter Attributes" + "Main", + "State Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1157,32 +1192,58 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"UnitDelay", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9397", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8514", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", + "name":"Sum", + "label":"Sum", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "b_motStdStill", - "local", - "Tag" + "rectangular", + "+++", + "off", + "Inherit: Same as first input", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 10 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1190,16 +1251,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8500", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9406", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -1208,7 +1269,7 @@ "IconDisplay" ], "values":[ - "z_errCodeRaw", + "z_errCodePrev", "local", "Tag" ], @@ -1228,56 +1289,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8509", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "~=", - "off", - "boolean", - "Simplest", - "-1", - "on" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"RelationalOperator", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8503", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8504", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -1286,7 +1302,7 @@ "IconDisplay" ], "values":[ - "z_errCode", + "b_errFlag", "local", "Tag" ], @@ -1306,19 +1322,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8491", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9397", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"Goto22", + "label":"Goto22", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "z_errCodeRaw", + "b_motStdStill", + "local", "Tag" ], "tabs":[ @@ -1332,32 +1350,48 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8504", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8525", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"t_errQual", + "label":"t_errQual", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "b_errFlag", - "local", - "Tag" + "t_errQual", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1365,16 +1399,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8492", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8493", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From4", + "label":"From4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -1401,11 +1435,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8487", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8491", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -1413,7 +1447,7 @@ "IconDisplay" ], "values":[ - "z_posRaw", + "z_errCodeRaw", "Tag" ], "tabs":[ @@ -1432,11 +1466,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9407", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9402", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", + "name":"From11", + "label":"From11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -1444,7 +1478,7 @@ "IconDisplay" ], "values":[ - "z_errCodePrev", + "VqFinPrev", "Tag" ], "tabs":[ @@ -1463,116 +1497,52 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Debounce_Filter", - "label":"Debounce_Filter", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9400", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", - "Variant", - "VariantControl" + "GotoTag", + "IconDisplay" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "on", - "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "off", - "", - "Use subsystem name", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Reusable function", - "-1", - "", - "off", - "" + "b_motStdStill", + "Tag" ], "tabs":[ - "Main", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 6 - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9402", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8500", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "VqFinPrev", + "z_errCodeRaw", + "local", "Tag" ], "tabs":[ @@ -1586,48 +1556,32 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8480", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9395", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"CTRL_COMM2", - "label":"CTRL_COMM2", + "name":"Goto27", + "label":"Goto27", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" + "VqFinPrev", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1635,46 +1589,44 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8479", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8483", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"CTRL_COMM1", - "label":"CTRL_COMM1", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "7", - "on", - "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "uint8", "off", - "inf" + "Real World Value (RWV)", + "Floor", + "off", + "-1" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 3, 7 ] }, @@ -1684,46 +1636,44 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8478", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8482", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"CTRL_COMM", - "label":"CTRL_COMM", + "name":"Data Type Conversion", + "label":"Data Type Conversion", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "0", - "on", - "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "uint8", "off", - "inf" + "Real World Value (RWV)", + "Floor", + "off", + "-1" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 3, 7 ] }, @@ -1733,57 +1683,47 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8521", - "className":"Simulink.Gain", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9412", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"g_Hb1", - "label":"g_Hb1", + "name":"CTRL_COMM4", + "label":"CTRL_COMM4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Gain", - "Multiplication", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" + "LockScale", + "FramePeriod" ], "values":[ - "4", - "Element-wise(K.*u)", + "1", + "on", + "inf", "[]", "[]", - "Inherit: Same as input", - "off", - "Simplest", + "Inherit: Inherit via back propagation", "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" + "inf" ], "tabs":[ "Main", "Signal Attributes", - "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 8, - 11 + 3, + 7 ] }, "viewer":{ @@ -1792,16 +1732,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519", - "className":"Either edge detection", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "className":"Simulink.SubSystem", "icon":"WebViewIcon4", - "name":"either_edge", - "label":"either_edge", + "name":"Debounce_Filter", + "label":"Debounce_Filter", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -1860,7 +1800,7 @@ "off", "off", "", - "Auto", + "Use subsystem name", "", "Auto", "Inherit from model", @@ -1868,7 +1808,7 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", + "Reusable function", "-1", "", "off", @@ -1890,15 +1830,15 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"Either edge detection" + "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9412", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8479", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"CTRL_COMM4", - "label":"CTRL_COMM4", + "name":"CTRL_COMM1", + "label":"CTRL_COMM1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -1912,7 +1852,7 @@ "FramePeriod" ], "values":[ - "1", + "7", "on", "inf", "[]", @@ -1943,30 +1883,73 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9410", - "className":"Simulink.SFunction", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9407", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Bitwise Operator1", - "label":"Bitwise Operator1", + "name":"From15", + "label":"From15", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "logicop", - "UseBitMask", - "NumInputPorts", - "BitMask", - "BitMaskRealWorld" + "GotoTag", + "IconDisplay" ], "values":[ - "AND", + "z_errCodePrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9405", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"r_errInpTgtThres", + "label":"r_errInpTgtThres", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "r_errInpTgtThres", "on", - "1", - "bin2dec('100')", - "Stored Integer" + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" ], "tabs":[ + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ + 0, + 3, + 7 ] }, "viewer":{ @@ -1975,43 +1958,47 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"S-Function", - "masktype":"Bitwise Operator" + "blocktype":"Constant", + "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9404", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8524", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Relational Operator7", - "label":"Relational Operator7", + "name":"t_errDequal", + "label":"t_errDequal", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", + "Value", + "VectorParams1D", "SampleTime", - "ZeroCross" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - ">", + "t_errDequal", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", "off", - "boolean", - "Simplest", - "-1", - "on" + "inf" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 1, - 4 + 3, + 7 ] }, "viewer":{ @@ -2020,16 +2007,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8484", - "className":"Simulink.DataTypeConversion", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9403", + "className":"Simulink.Abs", "icon":"WebViewIcon3", - "name":"Data Type Conversion3", - "label":"Data Type Conversion3", + "name":"Abs4", + "label":"Abs4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -2037,28 +2024,28 @@ "OutMax", "OutDataTypeStr", "LockScale", - "ConvertRealWorld", "RndMeth", "SaturateOnIntegerOverflow", - "SampleTime" + "SampleTime", + "ZeroCross" ], "values":[ "[]", "[]", - "uint8", + "Inherit: Same as input", "off", - "Real World Value (RWV)", "Floor", "off", - "-1" + "-1", + "on" ], "tabs":[ - "Parameter Attributes", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 7 + 6 ] }, "viewer":{ @@ -2067,30 +2054,36 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"DataTypeConversion", + "blocktype":"Abs", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9408", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9410", + "className":"Simulink.SFunction", "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", + "name":"Bitwise Operator1", + "label":"Bitwise Operator1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "logicop", + "UseBitMask", + "NumInputPorts", + "BitMask", + "BitMaskRealWorld" ], "values":[ - "z_errCodePrev", - "Tag" + "AND", + "on", + "1", + "bin2dec('100')", + "Stored Integer" ], "tabs":[ - "Parameter Attributes" ], - "tabs_idx":0 + "tabs_idx":[ + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2098,55 +2091,45 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", - "masktype":"" + "blocktype":"S-Function", + "masktype":"Bitwise Operator" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8515", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8484", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", + "name":"Data Type Conversion3", + "label":"Data Type Conversion3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Criteria", - "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", + "ConvertRealWorld", "RndMeth", "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" + "SampleTime" ], "values":[ - "u2 ~= 0", - "off", "[]", "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", + "uint8", "off", + "Real World Value (RWV)", + "Floor", "off", - "-1", - "0", - "on" + "-1" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 1, - 9 + 7 ] }, "viewer":{ @@ -2155,25 +2138,25 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9400", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8474", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"Action Port", + "label":"Action Port", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "b_motStdStill", - "Tag" + "reset", + "Only when execution is resumed" ], "tabs":[ "Parameter Attributes" @@ -2186,45 +2169,47 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"ActionPort", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9403", - "className":"Simulink.Abs", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8478", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Abs4", - "label":"Abs4", + "name":"CTRL_COMM", + "label":"CTRL_COMM", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime", - "ZeroCross" + "FramePeriod" ], "values":[ + "0", + "on", + "inf", "[]", "[]", - "Inherit: Same as input", - "off", - "Floor", + "Inherit: Inherit via back propagation", "off", - "-1", - "on" + "inf" ], "tabs":[ + "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 3, + 7 ] }, "viewer":{ @@ -2233,25 +2218,25 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Abs", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8474", - "className":"Simulink.ActionPort", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8487", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "IconDisplay" ], "values":[ - "reset", - "Only when execution is resumed" + "z_posRaw", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -2264,16 +2249,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9394", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9396", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"VqFinPrev", - "label":"VqFinPrev", + "name":"b_motStdStill", + "label":"b_motStdStill", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -2296,7 +2281,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "2", "Port number", "[]", "[]", @@ -2335,6 +2320,55 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8480", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM2", + "label":"CTRL_COMM2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "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:8494", "className":"Simulink.From", @@ -2367,19 +2401,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8493", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8503", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_errFlag", + "z_errCode", + "local", "Tag" ], "tabs":[ @@ -2393,16 +2429,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9396", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9394", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", + "name":"VqFinPrev", + "label":"VqFinPrev", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -2425,7 +2461,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "3", "Port number", "[]", "[]", @@ -2465,43 +2501,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9405", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8492", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"r_errInpTgtThres", - "label":"r_errInpTgtThres", + "name":"From3", + "label":"From3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "IconDisplay" ], "values":[ - "r_errInpTgtThres", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" + "b_errFlag", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2509,45 +2527,43 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8483", - "className":"Simulink.DataTypeConversion", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8508", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", + "name":"Relational Operator1", + "label":"Relational Operator1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "OutMin", - "OutMax", + "Operator", + "InputSameDT", "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" + "SampleTime", + "ZeroCross" ], "values":[ - "[]", - "[]", - "uint8", - "off", - "Real World Value (RWV)", - "Floor", + "==", "off", - "-1" + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ - "Parameter Attributes", + "Main", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 7 + 1, + 4 ] }, "viewer":{ @@ -2556,46 +2572,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"DataTypeConversion", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8482", - "className":"Simulink.DataTypeConversion", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9408", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Data Type Conversion", - "label":"Data Type Conversion", + "name":"From16", + "label":"From16", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "[]", - "[]", - "uint8", - "off", - "Real World Value (RWV)", - "Floor", - "off", - "-1" + "z_errCodePrev", + "Tag" ], "tabs":[ - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2603,7 +2603,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"DataTypeConversion", + "blocktype":"From", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.png index e0edd0d..57551c1 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.svg index 47a5e39..5768944 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8469_d.svg @@ -424,44 +424,44 @@ - - - + + + - - + + - + - - 2 + + 4 - - + + - - - + + + - + - - b_errFlag + + uint8 @@ -520,139 +520,148 @@ - - - + + + - - + + - + - - t_errDequal - - - - - - - - - - - - - - + + - + - - uint16 + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + - - - + + + - - + + - - Ini=0 + + boolean - - - - + - - + + - - uint8 + + + + + + + + + + + + + + + + + + + + + + @@ -665,7 +674,7 @@ - + @@ -673,147 +682,147 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + ~= 0 @@ -831,11 +840,11 @@ - + - + boolean @@ -847,84 +856,60 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + - - + + - - + + - - - - + - - - - + + + + + + + + + + + + + + + - - + + - - uint8 + + boolean @@ -937,7 +922,7 @@ - + @@ -945,27 +930,27 @@ - + - + - + - + - + - + @@ -991,11 +976,11 @@ - + - + boolean @@ -1007,44 +992,188 @@ - - - + + + - - + + - - + + - - t_errQual + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - + + - - + + - - + + - - uint16 + + uint8 @@ -1055,38 +1184,30 @@ - - - + + + - + - + - + - - - - - - - - - - + + - - + + @@ -1100,22 +1221,22 @@ - + - + - - + + - + boolean @@ -1127,62 +1248,44 @@ - - - + + + - - + + - - + + - - [z_errCodePrev] + + 2 - - + + - - - - - - - - - - - - - - - + + + + - - + + - - [VqFinPrev] - - - - - - - + + b_errFlag @@ -1193,62 +1296,91 @@ - - - + + + - - + + - + - - + + - - [b_motStdStill] + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - + + - - [z_errCodeRaw] + + uint8 - - - + + + + + + + + + + + Ini=0 @@ -1259,60 +1391,84 @@ - - - + + + - - + + - + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + - - + + - - + + - - boolean + + uint8 @@ -1323,28 +1479,28 @@ - - + + - + - + - - [z_errCode] + + [z_errCodePrev] - + @@ -1356,44 +1512,29 @@ - - - + + + - - + + - - + + - - [z_errCodeRaw] + + [b_errFlag] - - - - - - - - - - - - - - - - - uint8 + + @@ -1404,28 +1545,28 @@ - - + + - + - - + + - - [b_errFlag] + + [b_motStdStill] - + @@ -1437,44 +1578,44 @@ - - - + + + - - + + - - + + - - [b_errFlag] + + t_errQual - - + + - - + + - - + + - - boolean + + uint16 @@ -1485,44 +1626,44 @@ - - + + - + - - + + - - [z_posRaw] + + [b_errFlag] - + - - + + - - + + - - uint8 + + boolean @@ -1533,43 +1674,43 @@ - - + + - + - + - - [z_errCodePrev] + + [z_errCodeRaw] - + - + - - + + - + uint8 @@ -1581,323 +1722,44 @@ - - - + + + - - + + - - - - - - - u - - - - - - - - tAcv - - - - - - - - tDeacv - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + [VqFinPrev] - - - - - - - - - - - - - - - - - Debounce_Filter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - boolean + + sfix16_En4 @@ -1908,44 +1770,44 @@ - - + + - + - + - - [VqFinPrev] + + [b_motStdStill] - + - - + + - - + + - - int16 + + boolean @@ -1956,44 +1818,62 @@ - - - + + + - - + + - - + + - - 0 + + [z_errCodeRaw] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - uint8 + + [VqFinPrev] + + + + + + + @@ -2004,43 +1884,59 @@ - - - + + + - - + + - + - - + + - - 7 + + + + + + + + + + + + + + + + + + - - + + - + - - + + - + uint8 @@ -2052,43 +1948,59 @@ - - - + + + - - + + - + - - + + - - 0 + + + + + + + + + + + + + + + + + + - - + + - + - - + + - + uint8 @@ -2100,44 +2012,44 @@ - - - + + + - - + + - - + + - - 4 + + 1 - - + + - - + + - - + + - - uint8 + + boolean @@ -2148,196 +2060,323 @@ - - - + + + - - + + - - + + - - + + u - - + + - - + + tAcv - - + + - - + + tDeacv - - + + - - + + y - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - + + + + + + + - - - - - - + + - - + + - - - - - - - - - - - - - - - - - - - + + + + + + + - - - - - - + + + + + + + - - + + - - boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + - + + + + - - + + - - 1 + + Debounce_Filter - - - + + + + + + + + + + + boolean - - - - + - - + + - - boolean + + + + + + + + + + + + + + + + + + + + + + @@ -2348,59 +2387,43 @@ - - - + + + - - + + - - - - - - Bitwise - - - - - - - - AND - - - - + + - - 0x4 + + 7 - - + + - + - - + + - + uint8 @@ -2412,60 +2435,44 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + [z_errCodePrev] - - - - - - - - - - + + - - + + - - + + - - boolean + + uint8 @@ -2476,60 +2483,59 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + r_errInpTgtThres - - - - - + + + + - - - + + + + + + + + + + + r_errInpTgtThres - - + + - - + + - - uint8 + + sfix16_En4 @@ -2540,44 +2546,44 @@ - - - + + + - - + + - - + + - - [z_errCodePrev] + + t_errDequal - - + + - - + + - - + + - - uint8 + + uint16 @@ -2588,187 +2594,203 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + sfix16_En4 + + + + + + + + + + + + + + + + + + - - + + - - + + Bitwise - - + + - - + + AND - - + + - - + + 0x4 + + + + + + + + + + + + + + - - + + - - + + uint8 + + + + + + + + + + + + + + + + + + - - + + - - T + + - - + + - - F + + + + + + + + + + - - + + - + - - + + - + uint8 @@ -2780,44 +2802,44 @@ - - - + + + - - + + - - + + - - [b_motStdStill] + + if { } - - + + - - - + + + - - + + - - boolean + + Action Port @@ -2828,76 +2850,92 @@ - - - + + + - - + + - + - - + + - - + + 0 - - - - - - - + + + + + + - - - - - - - + + + + + + - - + + - - + + uint8 - - + + + + + + + + + + + + + + + + + + + [z_posRaw] + - - + + - + - - + + - - int16 + + uint8 @@ -2908,44 +2946,59 @@ - - - + + + - - + + - - + + - - if { } + + 2 + + + + + + + - - - + + + + + + + + + + + b_motStdStill - - - + + + - - + + - - Action Port + + boolean @@ -2956,59 +3009,44 @@ - - - + + + - - + + - - + + - - 3 + + 0 - - - - - - - - - - - - - - - - - VqFinPrev + + - + - - + + - - int16 + + uint8 @@ -3029,11 +3067,11 @@ - + - + [z_errCodeRaw] @@ -3051,11 +3089,11 @@ - + - + uint8 @@ -3067,44 +3105,29 @@ - - - + + + - - + + - - + + - - [b_errFlag] + + [z_errCode] - - - - - - - - - - - - - - - - - boolean + + @@ -3115,59 +3138,59 @@ - - + + - + - + - - 2 + + 3 - + - - + + - - + + - - b_motStdStill + + VqFinPrev - - + + - - + + - - boolean + + sfix16_En4 @@ -3178,59 +3201,44 @@ - - - + + + - - + + - - + + - - r_errInpTgtThres + + [b_errFlag] - - - - - - - - - - - - - - - - - r_errInpTgtThres + + - - + + - - + + - - int16 + + boolean @@ -3241,30 +3249,38 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + @@ -3278,23 +3294,23 @@ - - + + - - + + - - + + - - uint8 + + boolean @@ -3305,59 +3321,43 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + [z_errCodePrev] - - - - - - - - - - + + - + - + - + uint8 @@ -3401,32 +3401,32 @@ - - - - - - - - - - - - + - + boolean + + + + + + + + + + + @@ -4005,5 +4005,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.json index 8cf0d47..557cf0f 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.json @@ -49,11 +49,42 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2426", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2425", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"yDefault", - "label":"yDefault", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2424", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"yPrev", + "label":"yPrev", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", "inspector":{ "params":[ @@ -69,17 +100,11 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ "1", @@ -94,17 +119,10 @@ "-1", "auto", "off", + "", + "on", "off", - "[]", - "off", - "held", "off", - "0", - "", - [ - ], - "Dialog", - "Auto", "off" ], "tabs":[ @@ -124,47 +142,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2425", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2424", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2426", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"yPrev", - "label":"yPrev", + "name":"yDefault", + "label":"yDefault", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", "inspector":{ "params":[ @@ -180,11 +167,17 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ "1", @@ -199,10 +192,17 @@ "-1", "auto", "off", - "", - "on", "off", + "[]", + "off", + "held", "off", + "0", + "", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -222,7 +222,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Outport", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.svg index 04d4c7d..46b9197 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.svg @@ -32,44 +32,44 @@ - - - + + + - - + + - + - - 1 + + else { } - - + + - - + + - + - - yDefault + + Action Port @@ -80,44 +80,59 @@ - - - + + + - - + + - + - - else { } + + 1 - - + + - - + + - + - - Action Port + + yPrev + + + + + + + + + + + + + + + boolean @@ -128,59 +143,44 @@ - - + + - + - + - + 1 - + - - - - - - - - - - yPrev - - - - - - - + + - + - - boolean + + yDefault @@ -205,5 +205,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.json index 5c565a9..6a11fef 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.json @@ -1,4 +1,61 @@ [ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2446", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2447", "className":"Simulink.Outport", @@ -80,11 +137,56 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2443", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2445", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator2", + "label":"Relational Operator2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + ">", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2444", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ @@ -93,7 +195,7 @@ "IconDisplay" ], "values":[ - "yPrev", + "b_cntRst", "local", "Tag" ], @@ -113,11 +215,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2442", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2443", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto17", + "label":"Goto17", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ @@ -126,7 +228,7 @@ "IconDisplay" ], "values":[ - "yDeacv", + "yPrev", "local", "Tag" ], @@ -146,11 +248,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2444", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2442", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ @@ -159,7 +261,7 @@ "IconDisplay" ], "values":[ - "b_cntRst", + "yDeacv", "local", "Tag" ], @@ -241,19 +343,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2437", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2441", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "tDeacv", + "local", "Tag" ], "tabs":[ @@ -267,47 +371,45 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2438", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Counter", + "label":"Counter", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "z_cntInit" ], "values":[ - "yDeacv", - "Tag" + "0" ], "tabs":[ - "Parameter Attributes" ], - "tabs_idx":0 + "tabs_idx":[ + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2433", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2434", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", + "name":"Constant6", + "label":"Constant6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ @@ -321,12 +423,12 @@ "FramePeriod" ], "values":[ - "0", + "1", "on", "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "uint16", "off", "inf" ], @@ -352,20 +454,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2432", - "className":"Simulink.ActionPort", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2438", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "IconDisplay" ], "values":[ - "held", - "Only when execution is resumed" + "yDeacv", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -378,55 +480,37 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2431", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2433", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"yPrev", - "label":"yPrev", + "name":"Constant1", + "label":"Constant1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "FramePeriod" ], "values":[ - "3", - "Port number", + "0", + "on", + "inf", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", + "Inherit: Inherit via back propagation", "off", - "off" + "inf" ], "tabs":[ "Main", @@ -435,8 +519,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 3, + 7 ] }, "viewer":{ @@ -445,45 +529,47 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Counter", - "label":"Counter", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2432", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ - "z_cntInit" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "0" + "held", + "Only when execution is resumed" ], "tabs":[ + "Parameter Attributes" ], - "tabs_idx":[ - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"ActionPort", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2436", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2437", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From10", + "label":"From10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ @@ -491,7 +577,7 @@ "IconDisplay" ], "values":[ - "yPrev", + "tDeacv", "Tag" ], "tabs":[ @@ -510,60 +596,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2434", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant6", - "label":"Constant6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "1", - "on", - "inf", - "[]", - "[]", - "uint16", - "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:8486:2430", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2431", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_cntRst", - "label":"b_cntRst", + "name":"yPrev", + "label":"yPrev", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ @@ -586,7 +623,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "3", "Port number", "[]", "[]", @@ -626,21 +663,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2441", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2436", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "tDeacv", - "local", + "yPrev", "Tag" ], "tabs":[ @@ -654,16 +689,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2429", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2430", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"tDeacv", - "label":"tDeacv", + "name":"b_cntRst", + "label":"b_cntRst", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ @@ -686,7 +721,7 @@ "OutputFunctionCall" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -726,40 +761,50 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2446", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2429", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", + "name":"tDeacv", + "label":"tDeacv", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "inspector":{ "params":[ - "Criteria", - "InputSameDT", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "Threshold", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "u2 ~= 0", - "off", + "1", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "Zero", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", "off", "off", - "-1", - "0", - "on" + "off" ], "tabs":[ "Main", @@ -768,53 +813,8 @@ ], "tabs_idx":[ 0, - 1, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Switch", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2445", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - ">", - "off", - "boolean", - "Simplest", - "-1", - "on" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 4 + 2, + 11 ] }, "viewer":{ @@ -823,7 +823,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Inport", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.svg index 874edcf..11f56e9 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.svg @@ -10,6 +10,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + @@ -23,11 +215,11 @@ - + - + 1 @@ -45,11 +237,11 @@ - + - + yDeacv @@ -61,29 +253,60 @@ - - - + + + - - + + - + - - + + - - [yPrev] + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + boolean @@ -94,28 +317,28 @@ - - + + - + - + - - [yDeacv] + + [b_cntRst] - + @@ -127,28 +350,28 @@ - - + + - + - + - - [b_cntRst] + + [yPrev] - + @@ -160,44 +383,29 @@ - - - + + + - - + + - - + + - - [b_cntRst] + + [yDeacv] - - - - - - - - - - - - - - - - - boolean + + @@ -208,44 +416,44 @@ - - + + - + - + - - [tDeacv] + + [b_cntRst] - + - - + + - - + + - - uint16 + + boolean @@ -256,43 +464,43 @@ - - + + - + - + - + [tDeacv] - + - + - - + + - + uint16 @@ -304,203 +512,29 @@ - - - - - - - - - - - - - - - - [yDeacv] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - elseif { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - + + + - - + + - - + + - - 3 + + [tDeacv] - - - - - - - - - - - - - - - - - yPrev - - - - - - - - - - - - - - - boolean + + @@ -521,155 +555,155 @@ - + - + inc - + - + max - + - + rst - + - + cnt - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -687,11 +721,11 @@ - + - + Counter @@ -702,11 +736,11 @@ - + - + uint16 @@ -714,29 +748,29 @@ - + - + - + - + - + - + @@ -750,43 +784,91 @@ - - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + - + - + - - [yPrev] + + [yDeacv] - + - + - - + + - + boolean @@ -798,44 +880,44 @@ - - + + - + - + - - 1 + + 0 - + - - + + - - + + - - uint16 + + boolean @@ -846,59 +928,44 @@ - - - + + + - - + + - - + + - - 2 + + elseif { } - - + + - - - - - - - - - - b_cntRst - - - - - - - + + - - + + - - boolean + + Action Port @@ -909,29 +976,44 @@ - - - + + + - - + + - - + + - + [tDeacv] - - + + + + + + + + + + + + + + + + + uint16 @@ -942,59 +1024,59 @@ - - + + - + - + - - 1 + + 3 - + - - + + - - + + - - tDeacv + + yPrev - - + + - - + + - - uint16 + + boolean @@ -1005,187 +1087,106 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + [yPrev] - - - - - - - + + + + + + - - - - - - - + + + + + + - - + + - - + + boolean + + + + + + + + + + + + + + + + + + - - + + - - + + 2 - - - - - - - + + + + + + - - - - - - - T + + + + + + - - + + - - F - - - - - - - + + b_cntRst - + - - + + - + boolean @@ -1197,60 +1198,59 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + 1 - - - - - + + + + - - - + + + + + + + + + + + tDeacv - - + + - + - - boolean + + uint16 @@ -1443,5 +1443,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.svg index 6bcd55e..06faa6a 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_2515_d.svg @@ -15,7 +15,7 @@ - + @@ -592,5 +592,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.json index bc49ee9..d4abc8b 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.json @@ -1,4 +1,92 @@ [ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"rst_Delay", + "label":"rst_Delay", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "inspector":{ + "params":[ + "initVal" + ], + "values":[ + "z_cntInit" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2416", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "round", + "|++", + "on", + "Inherit: Same as first input", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2418", "className":"Simulink.Outport", @@ -79,35 +167,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"rst_Delay", - "label":"rst_Delay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", - "inspector":{ - "params":[ - "initVal" - ], - "values":[ - "z_cntInit" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2415", "className":"Simulink.MinMax", @@ -162,11 +221,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2413", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2414", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"max", - "label":"max", + "name":"rst", + "label":"rst", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ @@ -189,7 +248,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "3", "Port number", "[]", "[]", @@ -229,11 +288,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2414", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2413", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"rst", - "label":"rst", + "name":"max", + "label":"max", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", "inspector":{ "params":[ @@ -256,7 +315,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "2", "Port number", "[]", "[]", @@ -362,65 +421,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2416", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "round", - "|++", - "on", - "Inherit: Same as first input", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515#out:1", "className":"Simulink.Line", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.svg index e104655..994e7c2 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.svg @@ -10,60 +10,12 @@ - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - cnt - - - - - - - - + @@ -71,51 +23,51 @@ - + - + u - + - + rst - + - + y - + - + 1 - + - + z - + - + @@ -128,61 +80,61 @@ - - - + + + - - + + - - Ini=z_cntInit + + uint16 - - - + + + - - + + - - uint16 + + Ini=z_cntInit - + - + - + - + - + - + @@ -196,59 +148,67 @@ - - - + + + - - + + - + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + - - + + - - + + - + uint16 @@ -260,58 +220,107 @@ - - + + - + - + - - 2 + + 1 - + - - + + - - + + - - max + + cnt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - + uint16 @@ -333,11 +342,11 @@ - + - + 3 @@ -355,11 +364,11 @@ - + - + rst @@ -370,11 +379,11 @@ - + - + boolean @@ -386,58 +395,58 @@ - - + + - + - + - - 1 + + 2 - + - - + + - - + + - - inc + + max - + - - + + - + uint16 @@ -449,67 +458,58 @@ - - - + + + - - + + - - + + - - + + 1 - - - - - - - + + + + + + - - - - - - - + + + + + + - + - - - - - - - - - + + inc - + - + - + uint16 @@ -625,5 +625,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.json index bbbf0f8..5cdbc2b 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.json @@ -1,39 +1,62 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2491", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2492", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", + "name":"yAcv", + "label":"yAcv", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ - "Criteria", - "InputSameDT", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "Threshold", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "u2 ~= 0", - "off", + "1", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "Zero", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", "off", - "-1", + "[]", + "off", + "held", + "off", "0", - "on" + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -42,8 +65,8 @@ ], "tabs_idx":[ 0, - 1, - 9 + 2, + 11 ] }, "viewer":{ @@ -52,43 +75,55 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2490", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2491", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", + "name":"Switch2", + "label":"Switch2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ - "Operator", + "Criteria", "InputSameDT", + "OutMin", + "OutMax", "OutDataTypeStr", + "LockScale", "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", "SampleTime", + "Threshold", "ZeroCross" ], "values":[ - ">", + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", "off", - "boolean", - "Simplest", "-1", + "0", "on" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 1, - 4 + 9 ] }, "viewer":{ @@ -97,7 +132,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Switch", "masktype":"" } }, @@ -135,11 +170,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2487", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2488", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto17", + "label":"Goto17", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ @@ -148,7 +183,7 @@ "IconDisplay" ], "values":[ - "yAcv", + "yPrev", "local", "Tag" ], @@ -168,74 +203,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2492", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2486", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"yAcv", - "label":"yAcv", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "tAcv", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -243,7 +231,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Goto", "masktype":"" } }, @@ -310,50 +298,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "z_cntInit" - ], - "values":[ - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2486", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2483", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "tAcv", - "local", + "yAcv", "Tag" ], "tabs":[ @@ -367,16 +324,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2482", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2481", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ @@ -384,7 +341,7 @@ "IconDisplay" ], "values":[ - "tAcv", + "yPrev", "Tag" ], "tabs":[ @@ -403,60 +360,40 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2479", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant6", - "label":"Constant6", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Counter", + "label":"Counter", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "z_cntInit" ], "values":[ - "1", - "on", - "inf", - "[]", - "[]", - "uint16", - "off", - "inf" + "0" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" ], "tabs_idx":[ - 0, - 3, - 7 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2483", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2482", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From10", + "label":"From10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ @@ -464,7 +401,7 @@ "IconDisplay" ], "values":[ - "yAcv", + "tAcv", "Tag" ], "tabs":[ @@ -483,11 +420,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2478", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2479", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", + "name":"Constant6", + "label":"Constant6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ @@ -506,7 +443,7 @@ "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "uint16", "off", "inf" ], @@ -531,37 +468,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2477", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "held", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2476", "className":"Simulink.Inport", @@ -630,11 +536,42 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2488", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2477", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2487", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ @@ -643,7 +580,7 @@ "IconDisplay" ], "values":[ - "yPrev", + "yAcv", "local", "Tag" ], @@ -662,6 +599,51 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2490", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator2", + "label":"Relational Operator2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + ">", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2475", "className":"Simulink.Inport", @@ -730,25 +712,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2481", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2478", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"Constant1", + "label":"Constant1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "yPrev", - "Tag" + "1", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -756,7 +756,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Constant", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.png index 57009d5..5717ff0 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.svg index 3cf3ab4..3e22fef 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.svg @@ -13,46 +13,70 @@ - - - + + + - - + + - + - - + + 1 - - - - - - - + + + + + + + + + + + + + - - + + - - + + yAcv + + + + + + + + + + + + + + + + + + - + @@ -60,7 +84,7 @@ - + @@ -68,7 +92,7 @@ - + @@ -76,7 +100,7 @@ - + @@ -84,7 +108,7 @@ - + @@ -92,7 +116,7 @@ - + @@ -100,7 +124,7 @@ - + @@ -108,7 +132,7 @@ - + @@ -116,7 +140,7 @@ - + @@ -124,7 +148,7 @@ - + @@ -132,7 +156,7 @@ - + @@ -140,7 +164,7 @@ - + @@ -148,7 +172,7 @@ - + @@ -156,22 +180,46 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + - + T - + - + F @@ -189,11 +237,11 @@ - + - + boolean @@ -205,60 +253,62 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + [b_cntRst] - + + + + - - + + + + + + + + + - - - - - - + + - - - - + - - + + - - boolean + + [yPrev] + + + + + + + @@ -269,28 +319,28 @@ - - + + - + - + - - [b_cntRst] + + [tAcv] - + @@ -302,29 +352,44 @@ - - - + + + - - + + - - + + - - [yAcv] + + [b_cntRst] - - + + + + + + + + + + + + + + + + + boolean @@ -335,44 +400,44 @@ - - - + + + - - + + - - + + - - 1 + + [tAcv] - - + + - - - + + + - - + + - - yAcv + + uint16 @@ -383,43 +448,43 @@ - - + + - + - + - - [b_cntRst] + + [yAcv] - + - + - - + + - + boolean @@ -431,44 +496,44 @@ - - + + - + - + - - [tAcv] + + [yPrev] - + - - + + - - + + - - uint16 + + boolean @@ -489,155 +554,155 @@ - + - + inc - + - + max - + - + rst - + - + cnt - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -655,11 +720,11 @@ - + - + Counter @@ -670,11 +735,11 @@ - + - + uint16 @@ -682,29 +747,29 @@ - + - + - + - + - + - + @@ -716,39 +781,6 @@ - - - - - - - - - - - - - - - - - - [tAcv] - - - - - - - - - - - - - - - @@ -761,11 +793,11 @@ - + - + [tAcv] @@ -783,11 +815,11 @@ - + - + uint16 @@ -809,11 +841,11 @@ - + - + 1 @@ -831,11 +863,11 @@ - + - + uint16 @@ -847,91 +879,58 @@ - - - + + + - - + + - - + + - - [yAcv] + + 3 - - + + - - - - - - - - - - - boolean + + + - - - - - - - - - - - - - - - - - - - - + + - - 1 - - - - - - - + + b_errPrev - + - - + + - + boolean @@ -953,11 +952,11 @@ - + - + if { } @@ -975,11 +974,11 @@ - + - + Action Port @@ -991,92 +990,93 @@ - - - + + + - - + + - - + + - - 3 + + [yAcv] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - b_errPrev - - - - - - - + + - - + + - - boolean + + - - - - - - - - - - - - + + - - - - - - - [yPrev] - - - + + + + + + + + + + + + + + + + + boolean @@ -1150,43 +1150,43 @@ - - - + + + - - + + - + - - [yPrev] + + 1 - - + + - + - + - + boolean @@ -1443,5 +1443,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.svg index 6579510..7a75d17 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_2515_d.svg @@ -15,7 +15,7 @@ - + @@ -486,32 +486,32 @@ - - - + + + - + - - uint16 + + Ini=initVal - - - + + + - + - - Ini=initVal + + uint16 @@ -592,5 +592,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.json index 94c8001..7b835de 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.json @@ -1,4 +1,33 @@ [ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"rst_Delay", + "label":"rst_Delay", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "inspector":{ + "params":[ + "initVal" + ], + "values":[ + "z_cntInit" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2418", "className":"Simulink.Outport", @@ -79,35 +108,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"rst_Delay", - "label":"rst_Delay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", - "inspector":{ - "params":[ - "initVal" - ], - "values":[ - "z_cntInit" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2416", "className":"Simulink.Sum", @@ -167,59 +167,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2415", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax", - "label":"MinMax", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "min", - "off", - "2", - "off", - "[]", - "[]", - "Floor", - "-1", - "off", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"MinMax", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2414", "className":"Simulink.Inport", @@ -421,6 +368,59 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2415", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax", + "label":"MinMax", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "inspector":{ + "params":[ + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" + ], + "values":[ + "Inherit: Inherit via internal rule", + "min", + "off", + "2", + "off", + "[]", + "[]", + "Floor", + "-1", + "off", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"MinMax", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515#out:1", "className":"Simulink.Line", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.svg index a05ddf1..3c7cd87 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.svg @@ -10,54 +10,6 @@ - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - cnt - - - - - - - @@ -71,51 +23,51 @@ - + - + u - + - + rst - + - + y - + - + 1 - + - + z - + - + @@ -133,11 +85,11 @@ - + - + Ini=z_cntInit @@ -148,11 +100,11 @@ - + - + uint16 @@ -160,29 +112,29 @@ - + - + - + - + - + - + @@ -194,6 +146,54 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + cnt + + + + + + + + @@ -266,70 +266,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - @@ -342,11 +278,11 @@ - + - + 3 @@ -364,11 +300,11 @@ - + - + rst @@ -379,11 +315,11 @@ - + - + boolean @@ -405,11 +341,11 @@ - + - + 2 @@ -427,11 +363,11 @@ - + - + max @@ -442,11 +378,11 @@ - + - + uint16 @@ -468,11 +404,11 @@ - + - + 1 @@ -490,11 +426,11 @@ - + - + inc @@ -505,11 +441,75 @@ - + - + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint16 @@ -625,5 +625,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.svg index ad07da2..954a9ac 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2507_d.svg @@ -120,32 +120,32 @@ - - - + + + - + - - Ini=0 + + boolean - - - + + + - + - - boolean + + Ini=0 @@ -158,7 +158,7 @@ - + @@ -345,5 +345,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.json index d44b457..71de1d3 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.json @@ -1,101 +1,4 @@ [ - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", - "className":"Either edge detection", - "icon":"WebViewIcon4", - "name":"either_edge", - "label":"either_edge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "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", - "on", - "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", - "off", - "" - ], - "tabs":[ - "Main", - "-Other" - ], - "tabs_idx":[ - 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Either edge detection" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2509", "className":"Simulink.UnitDelay", @@ -244,28 +147,24 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2467", - "className":"Simulink.If", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2472", + "className":"Simulink.Merge", "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", + "name":"Merge", + "label":"Merge", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets", + "Inputs" ], "values":[ - "2", - "u1 ~= 0", - "u2 ~=0", - "on", - "-1", - "on" + "[]", + "off", + "[]", + "3" ], "tabs":[ "Parameter Attributes", @@ -273,7 +172,7 @@ ], "tabs_idx":[ 0, - 4 + 1 ] }, "viewer":{ @@ -282,7 +181,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"If", + "blocktype":"Merge", "masktype":"" } }, @@ -320,11 +219,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2465", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2464", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -333,7 +232,7 @@ "IconDisplay" ], "values":[ - "tAcv", + "yPrev", "local", "Tag" ], @@ -353,74 +252,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2496", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2463", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"y", - "label":"y", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "u", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -428,16 +280,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2464", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2461", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -446,7 +298,7 @@ "IconDisplay" ], "values":[ - "yPrev", + "b_cntRst", "local", "Tag" ], @@ -466,60 +318,171 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2462", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", + "className":"Either edge detection", + "icon":"WebViewIcon4", + "name":"either_edge", + "label":"either_edge", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" ], "values":[ - "y", - "local", - "Tag" + "FromPortIcon", + "ReadWrite", + "", + "All", + "on", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ - "Parameter Attributes" + "Main", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 6 + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", - "masktype":"" + "blocktype":"SubSystem", + "masktype":"Either edge detection" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2461", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2496", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"y", + "label":"y", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "b_cntRst", - "local", - "Tag" + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -527,16 +490,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2460", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2457", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"From6", + "label":"From6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -544,7 +507,7 @@ "IconDisplay" ], "values":[ - "yPrev", + "y", "Tag" ], "tabs":[ @@ -563,11 +526,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2459", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2454", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"From3", + "label":"From3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -575,7 +538,7 @@ "IconDisplay" ], "values":[ - "b_cntRst", + "u", "Tag" ], "tabs":[ @@ -594,11 +557,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2458", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2453", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -606,7 +569,7 @@ "IconDisplay" ], "values":[ - "yPrev", + "u", "Tag" ], "tabs":[ @@ -625,33 +588,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2472", - "className":"Simulink.Merge", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2452", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Merge", - "label":"Merge", + "name":"From12", + "label":"From12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ - "Inputs", - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets" + "GotoTag", + "IconDisplay" ], "values":[ - "3", - "[]", - "off", - "[]" + "tDeacv", + "Tag" ], "tabs":[ - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -659,16 +614,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Merge", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2456", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2449", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -676,7 +631,7 @@ "IconDisplay" ], "values":[ - "u", + "tAcv", "Tag" ], "tabs":[ @@ -695,11 +650,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2455", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2456", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From5", + "label":"From5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -707,7 +662,7 @@ "IconDisplay" ], "values":[ - "yPrev", + "u", "Tag" ], "tabs":[ @@ -726,11 +681,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2454", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2450", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From10", + "label":"From10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -738,7 +693,7 @@ "IconDisplay" ], "values":[ - "u", + "b_cntRst", "Tag" ], "tabs":[ @@ -757,11 +712,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2453", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2458", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From7", + "label":"From7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -769,7 +724,7 @@ "IconDisplay" ], "values":[ - "u", + "yPrev", "Tag" ], "tabs":[ @@ -788,19 +743,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2451", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2462", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "yPrev", + "y", + "local", "Tag" ], "tabs":[ @@ -814,38 +771,104 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2450", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Dequalification", + "label":"Dequalification", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" ], "values":[ - "b_cntRst", - "Tag" + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ - "Parameter Attributes" + "Main", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 6 + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"SubSystem", "masktype":"" } }, @@ -881,11 +904,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2463", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2465", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -894,7 +917,7 @@ "IconDisplay" ], "values":[ - "u", + "tAcv", "local", "Tag" ], @@ -914,11 +937,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2449", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2460", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From9", + "label":"From9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -926,7 +949,7 @@ "IconDisplay" ], "values":[ - "tAcv", + "yPrev", "Tag" ], "tabs":[ @@ -945,108 +968,109 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Default", - "label":"Default", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2451", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", - "Variant", - "VariantControl" + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2422", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"tDeacv", + "label":"tDeacv", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", - "", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", "", + "on", "off", "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", - "off", - "" + "off" ], "tabs":[ "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 2, + 11 ] }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2452", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2459", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", + "name":"From8", + "label":"From8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -1054,7 +1078,7 @@ "IconDisplay" ], "values":[ - "tDeacv", + "b_cntRst", "Tag" ], "tabs":[ @@ -1073,11 +1097,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Dequalification", - "label":"Dequalification", + "name":"Default", + "label":"Default", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -1237,60 +1261,36 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2422", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2467", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"tDeacv", - "label":"tDeacv", + "name":"If2", + "label":"If2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "ZeroCross" ], "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", + "2", + "u1 ~= 0", + "u2 ~=0", "on", - "off", - "off", - "off" + "-1", + "on" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 4 ] }, "viewer":{ @@ -1299,7 +1299,38 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2455", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, @@ -1371,42 +1402,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2457", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "y", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2469", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2471", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator2", - "label":"Logical Operator2", + "name":"Logical Operator4", + "label":"Logical Operator4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -1418,7 +1418,7 @@ "SampleTime" ], "values":[ - "AND", + "NOT", "2", "rectangular", "off", @@ -1447,11 +1447,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2468", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2470", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator1", - "label":"Logical Operator1", + "name":"Logical Operator3", + "label":"Logical Operator3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -1463,7 +1463,7 @@ "SampleTime" ], "values":[ - "NOT", + "AND", "2", "rectangular", "off", @@ -1492,11 +1492,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2470", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2468", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator3", - "label":"Logical Operator3", + "name":"Logical Operator1", + "label":"Logical Operator1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -1508,7 +1508,7 @@ "SampleTime" ], "values":[ - "AND", + "NOT", "2", "rectangular", "off", @@ -1537,11 +1537,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2471", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2469", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator4", - "label":"Logical Operator4", + "name":"Logical Operator2", + "label":"Logical Operator2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ @@ -1553,7 +1553,7 @@ "SampleTime" ], "values":[ - "NOT", + "AND", "2", "rectangular", "off", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.png index 0b6fe0b..001f01d 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.svg index 84568e1..9ce9602 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.svg @@ -10,158 +10,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -175,35 +23,35 @@ - + - + - + - + - + - + - + - + @@ -224,32 +72,32 @@ - - - + + + - - + + - - Ini=0 + + boolean - - - + + + - - + + - - boolean + + Ini=0 @@ -276,43 +124,43 @@ - + - + tAcv - + - + b_cntRst - + - + b_errPrev - + - + yAcv - + - + if { } @@ -342,11 +190,11 @@ - + - + Qualification @@ -359,16 +207,16 @@ - - + + - - + + - - action + + boolean @@ -380,16 +228,16 @@ - - + + - - + + - - boolean + + action @@ -400,112 +248,66 @@ - + - - + + - - + + - - - - - - - - u1 - - - - - - - - u2 - - - - - - - - if(u1 ~= 0) - + - - + + - - elseif(u2 ~=0) + + - - + + - - else + + - - - - + - - - - - - - - - - - action - + - - - - - - - - - - - action + + + - - + + - - + + - - action + + boolean @@ -526,11 +328,11 @@ - + - + [tDeacv] @@ -549,28 +351,28 @@ - - + + - + - + - - [tAcv] + + [yPrev] - + @@ -582,44 +384,29 @@ - - - + + + - - + + - - + + - - 1 + + [u] - - - - - - - - - - - - - - - - - y + + @@ -630,28 +417,28 @@ - - + + - + - + - - [yPrev] + + [b_cntRst] - + @@ -663,29 +450,148 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - [y] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -696,29 +602,44 @@ - - - + + + - - + + - - + + - - [b_cntRst] + + 1 - - + + + + + + + + + + + + + + + + + y @@ -729,43 +650,43 @@ - - + + - + - + - - [yPrev] + + [y] - + - + - - + + - + boolean @@ -777,43 +698,43 @@ - - + + - + - + - - [b_cntRst] + + [u] - + - + - - + + - + boolean @@ -825,43 +746,43 @@ - - + + - + - + - - [yPrev] + + [u] - + - + - - + + - + boolean @@ -873,60 +794,44 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + [tDeacv] - - - - - - - - - - + + - - + + - - + + - - boolean + + uint16 @@ -937,44 +842,44 @@ - - + + - + - + - - [u] + + [tAcv] - + - - + + - - + + - - boolean + + uint16 @@ -985,43 +890,43 @@ - - + + - + - + - - [yPrev] + + [u] - + - + - - + + - + boolean @@ -1033,43 +938,43 @@ - - + + - + - + - - [u] + + [b_cntRst] - + - + - - + + - + boolean @@ -1081,43 +986,43 @@ - - + + - + - + - - [u] + + [yPrev] - + - + - - + + - + boolean @@ -1129,44 +1034,29 @@ - - - + + + - - + + - - + + - - [yPrev] + + [y] - - - - - - - - - - - - - - - - - boolean + + @@ -1177,43 +1067,135 @@ - - - + + + - - + + + + + + + + - - + + - - [b_cntRst] + + tDeacv + + + + + + + + b_cntRst + + + + + + + + yPrev + + + + + + + + yDeacv + + + + + + + + elseif { } - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dequalification - + + + + + + + + + + + + + + + + action + + + + + + + + + + + + - - + + - + boolean @@ -1226,6 +1208,12 @@ + + + + + + @@ -1235,11 +1223,11 @@ - + - + [yPrev] @@ -1257,11 +1245,11 @@ - + - + boolean @@ -1273,28 +1261,28 @@ - - + + - + - + - - [u] + + [tAcv] - + @@ -1306,44 +1294,44 @@ - - + + - + - + - - [tAcv] + + [yPrev] - + - - + + - - + + - - uint16 + + boolean @@ -1354,120 +1342,107 @@ - - - + + + - - - - - - - - + + - - - - - - yPrev - - - - - - - - yDefault - - - - + + - - else { } + + [yPrev] - - - - - - - - + + - - - - - - - - - + + + - - + + - - Default + + boolean - + + + + + + + + + + + + + + + - - - - + + + - - + + 3 + + + + + + + + + + + + + + - - + + - - action + + tDeacv - - - - - - - - + + - - + + - - boolean + + uint16 @@ -1478,50 +1453,44 @@ - - - - - - - - + + - + - + - - [tDeacv] + + [b_cntRst] - + - - + + - - + + - - uint16 + + boolean @@ -1532,8 +1501,8 @@ - - + + @@ -1542,50 +1511,34 @@ - + - - - - - - tDeacv - - - + - - b_cntRst - - - - - - - + yPrev - + - - yDeacv + + yDefault - + - - elseif { } + + else { } @@ -1597,7 +1550,7 @@ - + @@ -1610,16 +1563,16 @@ - - + + - - + + - - Dequalification + + Default @@ -1631,16 +1584,16 @@ - - + + - - + + - - action + + boolean @@ -1652,16 +1605,16 @@ - - + + - - + + - - boolean + + action @@ -1688,11 +1641,11 @@ - + - + 2 @@ -1710,11 +1663,11 @@ - + - + tAcv @@ -1725,11 +1678,11 @@ - + - + uint16 @@ -1741,59 +1694,106 @@ - - - + + + - - + + - - + + - - 3 + + u1 + + + + + + + + u2 + + + + + + + + if(u1 ~= 0) + + + + + + + + elseif(u2 ~=0) + + + + + + + + else - - + + - - - + + + + + + + + + + + action + + + + + + + - + - - tDeacv + + action - - + + - + - - uint16 + + action @@ -1804,58 +1804,43 @@ - - - + + + - - + + - + - - 1 + + [yPrev] - - - - - - - - - - - - - - - - - u + + - + - - + + - + boolean @@ -1867,43 +1852,58 @@ - - - + + + - - + + - - + + - - [y] + + 1 - - + + + + + + + + + + + + + + + + + u - + - + - + boolean @@ -1915,30 +1915,30 @@ - - - + + + - - + + - + - - + + - - + + @@ -1948,23 +1948,23 @@ - + - + - + boolean - - + + @@ -1979,30 +1979,30 @@ - - - + + + - - + + - + - - + + - - + + @@ -2012,23 +2012,23 @@ - + - + - + boolean - - + + @@ -2043,30 +2043,30 @@ - - - + + + - - + + - + - - + + - - + + @@ -2076,23 +2076,23 @@ - + - + - + boolean - - + + @@ -2107,30 +2107,30 @@ - - - + + + - - + + - + - - + + - - + + @@ -2140,23 +2140,23 @@ - + - + - + boolean - - + + @@ -2597,5 +2597,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.svg index d9cbdac..96ccca2 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8519_d.svg @@ -158,7 +158,7 @@ - + @@ -345,5 +345,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.json index cb6f6e5..928093d 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.json @@ -161,11 +161,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9423", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8650", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -174,7 +174,7 @@ "IconDisplay" ], "values":[ - "b_motStdStill", + "b_errFlag", "local", "Tag" ], @@ -194,11 +194,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8647", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9423", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -207,7 +207,7 @@ "IconDisplay" ], "values":[ - "b_toTrqMod", + "b_motStdStill", "local", "Tag" ], @@ -227,11 +227,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8643", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8642", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"Goto16", + "label":"Goto16", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -240,7 +240,7 @@ "IconDisplay" ], "values":[ - "b_toActive", + "z_ctrlModPrev", "local", "Tag" ], @@ -260,11 +260,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8642", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10023", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", + "name":"Goto13", + "label":"Goto13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -273,7 +273,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModPrev", + "r_inpTgt", "local", "Tag" ], @@ -293,19 +293,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8633", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10019", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"Goto12", + "label":"Goto12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_motEna", + "VqFinPrev", + "local", "Tag" ], "tabs":[ @@ -319,7 +321,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, @@ -357,11 +359,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8632", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10020", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From9", + "label":"From9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -369,7 +371,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModPrev", + "VqFinPrev", "Tag" ], "tabs":[ @@ -388,11 +390,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8630", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8636", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From7", + "label":"From7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -400,7 +402,7 @@ "IconDisplay" ], "values":[ - "b_toSpdMod", + "b_toTrqMod", "Tag" ], "tabs":[ @@ -419,19 +421,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8628", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8643", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_errFlag", + "b_toActive", + "local", "Tag" ], "tabs":[ @@ -445,26 +449,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8646", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8632", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"From3", + "label":"From3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "b_toSpdMod", - "local", + "z_ctrlModPrev", "Tag" ], "tabs":[ @@ -478,16 +480,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9424", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9996", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"From23", + "label":"From23", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -495,7 +497,7 @@ "IconDisplay" ], "values":[ - "b_motStdStill", + "r_inpTgt", "Tag" ], "tabs":[ @@ -514,11 +516,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8625", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9995", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From21", + "label":"From21", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -526,7 +528,7 @@ "IconDisplay" ], "values":[ - "b_toOpen", + "z_ctrlModReq", "Tag" ], "tabs":[ @@ -545,11 +547,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8624", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8630", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -557,7 +559,7 @@ "IconDisplay" ], "values":[ - "b_toActive", + "b_toSpdMod", "Tag" ], "tabs":[ @@ -576,19 +578,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8636", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8645", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_toTrqMod", + "z_ctrlModReq", + "local", "Tag" ], "tabs":[ @@ -602,113 +606,47 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon6", - "name":"F03_02_Control_Mode_Manager", - "label":"F03_02_Control_Mode_Manager", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8625", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", - "Variant", - "VariantControl" + "GotoTag", + "IconDisplay" ], "values":[ - "FromPortIcon", - "ReadWrite", - "Stateflow.Translate.translate", - "ExplicitOnly", - "on", - "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", - "off", - "" + "b_toOpen", + "Tag" ], "tabs":[ - "Main", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 6 - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8635", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8624", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -716,7 +654,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModReq", + "b_toActive", "Tag" ], "tabs":[ @@ -768,54 +706,180 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F03_01_Mode_Transition_Calculation", - "label":"F03_01_Mode_Transition_Calculation", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9994", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", - "Variant", - "VariantControl" + "GotoTag", + "IconDisplay" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", + "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:10017", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8647", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_toTrqMod", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8635", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8546", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F03_01_Mode_Transition_Calculation", + "label":"F03_01_Mode_Transition_Calculation", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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", "", "", @@ -865,11 +929,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8537", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10018", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_motEna", - "label":"b_motEna", + "name":"VqFinPrev", + "label":"VqFinPrev", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -892,7 +956,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "7", "Port number", "[]", "[]", @@ -932,11 +996,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9422", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10022", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", + "name":"r_inpTgt", + "label":"r_inpTgt", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -959,7 +1023,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "6", "Port number", "[]", "[]", @@ -999,27 +1063,155 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8640", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon6", + "name":"F03_02_Control_Mode_Manager", + "label":"F03_02_Control_Mode_Manager", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" ], "values":[ - "b_toOpen", - "local", - "Tag" + "FromPortIcon", + "ReadWrite", + "Stateflow.Translate.translate", + "ExplicitOnly", + "on", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ - "Parameter Attributes" + "Main", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10028", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From24", + "label":"From24", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:9997", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1032,11 +1224,207 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8650", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8539", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlModReq", + "label":"z_ctrlModReq", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:9424", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8633", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:10021", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8640", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ @@ -1045,80 +1433,898 @@ "IconDisplay" ], "values":[ - "b_errFlag", - "local", - "Tag" + "b_toOpen", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8646", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_toSpdMod", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F03_03_Input_Target_Synthesis", + "label":"F03_03_Input_Target_Synthesis", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8628", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_errFlag", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10024", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8536", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_errFlag", + "label":"b_errFlag", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "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:8537", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:10029", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9422", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motStdStill", + "label":"b_motStdStill", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8634#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8537#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8625#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8630#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8539#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8636#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "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:8654#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "inspector":{ + "params":[ + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" + ], + "values":[ + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } + "finder":[ + ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8536", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_errFlag", - "label":"b_errFlag", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", + "", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", "off", - "", - "on", "off", "off", - "off" + "Simulink", + "Auto", + "", + "" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" ], "tabs_idx":[ 0, - 2, - 11 + 3, + 5, + 7 ] }, "viewer":{ @@ -1126,66 +2332,50 @@ }, "obj_viewer":[ ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } + "finder":[ + ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8539", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlModReq", - "label":"z_ctrlModReq", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8624#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", + "", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", "off", - "", - "on", "off", "off", - "off" + "Simulink", + "Auto", + "", + "" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" ], "tabs_idx":[ 0, - 2, - 11 + 3, + 5, + 7 ] }, "viewer":{ @@ -1193,46 +2383,62 @@ }, "obj_viewer":[ ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } + "finder":[ + ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8645", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" ], "values":[ - "z_ctrlModReq", - "local", - "Tag" + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } + "finder":[ + ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8634#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1283,7 +2489,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8537#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1334,7 +2540,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8625#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1385,7 +2591,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8630#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8632#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1436,7 +2642,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8539#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8633#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1487,7 +2693,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8636#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8635#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1538,7 +2744,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8654#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8536#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1589,7 +2795,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8628#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1640,7 +2846,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8624#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9422#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1691,7 +2897,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9424#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1742,7 +2948,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9995#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1793,7 +2999,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9994#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1844,7 +3050,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546#out:4", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9996#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1895,7 +3101,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8632#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9953#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1946,7 +3152,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8633#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10017#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -1997,7 +3203,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8635#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10018#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2048,7 +3254,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8536#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10020#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2099,7 +3305,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8628#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10022#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2150,7 +3356,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9422#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10021#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2201,7 +3407,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9424#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10028#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.png index fedb5f5..01b7a80 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.svg index 3321102..2038369 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8535_d.svg @@ -1,10 +1,10 @@ - + - + @@ -46,7 +46,7 @@ - + @@ -94,7 +94,7 @@ - + @@ -110,10 +110,10 @@ - + - + @@ -123,7 +123,7 @@ - + @@ -131,7 +131,7 @@ - + @@ -139,7 +139,7 @@ - + @@ -147,7 +147,7 @@ - + @@ -162,22 +162,22 @@ - + - + - + - + uint8 @@ -189,11 +189,11 @@ - - + + - + @@ -203,14 +203,14 @@ - - [b_motStdStill] + + [b_errFlag] - + @@ -222,11 +222,11 @@ - - + + - + @@ -236,14 +236,14 @@ - - [b_toTrqMod] + + [b_motStdStill] - + @@ -255,11 +255,11 @@ - - + + - + @@ -269,14 +269,14 @@ - - [b_toActive] + + [z_ctrlModPrev] - + @@ -288,11 +288,11 @@ - - + + - + @@ -302,14 +302,14 @@ - - [z_ctrlModPrev] + + [r_inpTgt] - + @@ -321,44 +321,29 @@ - - - + + + - - + + - + - - [b_motEna] + + [VqFinPrev] - - - - - - - - - - - - - - - - - boolean + + @@ -370,27 +355,27 @@ - + - + - + - + [z_ctrlMod] - + @@ -402,44 +387,44 @@ - - + + - + - + - - [z_ctrlModPrev] + + [VqFinPrev] - + - - + + - - + + - - uint8 + + sfix16_En4 @@ -450,43 +435,43 @@ - - + + - + - + - - [b_toSpdMod] + + [b_toTrqMod] - + - + - - + + - + boolean @@ -498,44 +483,77 @@ - - + + + + + + + + + + + + + + + + [b_toActive] + + + + + + + + + + + + + + + + + + + - + - + - - [b_errFlag] + + [z_ctrlModPrev] - + - - + + - - + + - - boolean + + uint8 @@ -546,29 +564,44 @@ - - - + + + - - + + - - + + - - [b_toSpdMod] + + [r_inpTgt] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -579,44 +612,44 @@ - - + + - + - + - - [b_motStdStill] + + [z_ctrlModReq] - + - - + + - - + + - - boolean + + uint8 @@ -627,43 +660,43 @@ - - + + - + - + - - [b_toOpen] + + [b_toSpdMod] - + - + - - + + - + boolean @@ -675,43 +708,76 @@ - - + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + - + - + - - [b_toActive] + + [b_toOpen] - + - + - - + + - + boolean @@ -723,43 +789,43 @@ - - + + - + - + - - [b_toTrqMod] + + [b_toActive] - + - + - - + + - + boolean @@ -771,181 +837,124 @@ - - - + + + - - - - - - - - + + - - + + - - b_toOpen + + [b_motEna] - - - - - - - b_toActive + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - b_toSpdMod - - - - - - - - b_toTrqMod - - - - - - - - z_ctrlMod + + [z_ctrlTypSel] - - - - - - - - - - - - - - - - - F03_02_Control_Mode_Manager + + + - - - - - - - + - - + + - + uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - + - - [z_ctrlModReq] + + [z_ctrlMod] - + - + - - + + - + uint8 @@ -957,28 +966,28 @@ - - + + - + - + - - [b_motEna] + + [b_toTrqMod] - + @@ -988,93 +997,141 @@ + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + - + - + - + - + - + b_motEna - + - + b_motStdStill - + - + b_errFlag - + - + z_ctrlModReq - + - + z_ctrlModPrev - + - + b_toOpen - + - + b_toActive - + - + b_toSpdMod - + - + b_toTrqMod @@ -1082,7 +1139,7 @@ - + @@ -1095,7 +1152,7 @@ - + @@ -1104,11 +1161,11 @@ - - + + - + F03_01_Mode_Transition_Calculation @@ -1116,20 +1173,20 @@ - + - + - - + + - + boolean @@ -1137,20 +1194,20 @@ - + - + - - + + - + boolean @@ -1158,20 +1215,20 @@ - + - + - - + + - + boolean @@ -1179,20 +1236,20 @@ - + - + - - + + - + boolean @@ -1204,65 +1261,65 @@ - + - + - + - + - + - - 3 + + 7 - + - - + + - - + + - - b_motEna + + VqFinPrev - - + + - - + + - - boolean + + sfix16_En4 @@ -1273,59 +1330,59 @@ - - + + - + - + - - 2 + + 6 - + - - + + - - + + - - b_motStdStill + + r_inpTgt - - + + - - + + - - boolean + + sfix16_En4 @@ -1336,29 +1393,684 @@ - - - + + + + + + + + + + + + + + + + + + + + + + b_toOpen + + + + + + + + b_toActive + + + + + + + + b_toSpdMod + + + + + + + + b_toTrqMod + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + + + + + + + F03_02_Control_Mode_Manager + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + z_ctrlModReq + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toOpen] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + z_ctrlModReq + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgt + + + + + + + + VqFinPrev + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F03_03_Input_Target_Synthesis + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + - - + + - - + + - - [b_toOpen] + + [b_errFlag] - - + + + + + + + + + + + + + + + + + boolean @@ -1369,28 +2081,28 @@ - - + + - + - + - - [b_errFlag] + + [z_ctrlTypSel] - + @@ -1412,11 +2124,11 @@ - + - + 1 @@ -1434,11 +2146,11 @@ - - + + - + b_errFlag @@ -1449,11 +2161,11 @@ - - + + - + boolean @@ -1465,59 +2177,59 @@ - - + + - + - + - - 4 + + 3 - + - - + + - - + + - - z_ctrlModReq + + b_motEna - - + + - - + + - - uint8 + + boolean @@ -1528,29 +2240,107 @@ - - - + + + - - + + - - + + - - [z_ctrlModReq] + + 2 - - + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + b_motStdStill + + + + + + + + + + + + + + + boolean @@ -1590,11 +2380,11 @@ - + - + @@ -1604,11 +2394,11 @@ - + - + @@ -1618,11 +2408,11 @@ - + - + @@ -1632,11 +2422,11 @@ - + - + @@ -1646,11 +2436,11 @@ - + - + @@ -1661,31 +2451,31 @@ - + - + - + - + - + - + @@ -1694,11 +2484,11 @@ - + - + @@ -1859,7 +2649,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.json index 80b580a..c896a3c 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.json @@ -98,11 +98,11 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8599", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8600", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"b_toSpdMod", - "label":"b_toSpdMod", + "name":"b_toTrqMod", + "label":"b_toTrqMod", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -131,7 +131,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "3", + "4", "Port number", "[]", "[]", @@ -178,32 +178,63 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8594", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8599", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"constant7", - "label":"constant7", + "name":"b_toSpdMod", + "label":"b_toSpdMod", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "TRQ_MODE", - "on", - "inf", + "3", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -212,8 +243,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -222,37 +253,68 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8593", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8598", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"constant6", - "label":"constant6", + "name":"b_toActive", + "label":"b_toActive", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "SPD_MODE", - "on", - "inf", + "2", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -261,8 +323,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -271,16 +333,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8591", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8595", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"constant2", - "label":"constant2", + "name":"constant8", + "label":"constant8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -325,11 +387,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8590", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8591", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"constant1", - "label":"constant1", + "name":"constant2", + "label":"constant2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -343,7 +405,7 @@ "FramePeriod" ], "values":[ - "SPD_MODE", + "OPEN_MODE", "on", "inf", "[]", @@ -374,11 +436,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8589", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8594", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"constant", - "label":"constant", + "name":"constant7", + "label":"constant7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -423,73 +485,38 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8597", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8587", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"b_toOpen", - "label":"b_toOpen", + "name":"Relational Operator6", + "label":"Relational Operator6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", + "Operator", + "InputSameDT", "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "RndMeth", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "ZeroCross" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", + "==", "off", - "inherit", - "-1", - "Inherit", + "boolean", + "Simplest", "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "on" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 1, + 4 ] }, "viewer":{ @@ -498,16 +525,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8587", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8584", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Relational Operator6", - "label":"Relational Operator6", + "name":"Relational Operator3", + "label":"Relational Operator3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -548,11 +575,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8583", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8581", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", + "name":"Relational Operator10", + "label":"Relational Operator10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -564,7 +591,7 @@ "ZeroCross" ], "values":[ - "~=", + "==", "off", "boolean", "Simplest", @@ -593,11 +620,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8582", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8580", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Relational Operator11", - "label":"Relational Operator11", + "name":"Relational Operator1", + "label":"Relational Operator1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -609,7 +636,7 @@ "ZeroCross" ], "values":[ - "~=", + "==", "off", "boolean", "Simplest", @@ -638,11 +665,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8580", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8582", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", + "name":"Relational Operator11", + "label":"Relational Operator11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -654,7 +681,7 @@ "ZeroCross" ], "values":[ - "==", + "~=", "off", "boolean", "Simplest", @@ -683,63 +710,32 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8600", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8592", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"b_toTrqMod", - "label":"b_toTrqMod", + "name":"constant5", + "label":"constant5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "FramePeriod" ], "values":[ - "4", - "Port number", + "VLT_MODE", + "on", + "inf", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", + "Inherit: Inherit via back propagation", "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "inf" ], "tabs":[ "Main", @@ -748,8 +744,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 3, + 7 ] }, "viewer":{ @@ -758,82 +754,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8571", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_toOpen", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9421", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "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", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8581", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8585", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Relational Operator10", - "label":"Relational Operator10", + "name":"Relational Operator4", + "label":"Relational Operator4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -874,38 +804,42 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8585", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8590", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Relational Operator4", - "label":"Relational Operator4", + "name":"constant1", + "label":"constant1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", + "Value", + "VectorParams1D", "SampleTime", - "ZeroCross" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "==", + "SPD_MODE", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", "off", - "boolean", - "Simplest", - "-1", - "on" + "inf" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 1, - 4 + 3, + 7 ] }, "viewer":{ @@ -914,16 +848,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8569", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8572", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -932,7 +866,7 @@ "IconDisplay" ], "values":[ - "b_toActive", + "b_errFlag", "local", "Tag" ], @@ -952,39 +886,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8584", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8571", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Relational Operator3", - "label":"Relational Operator3", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "==", - "off", - "boolean", - "Simplest", - "-1", - "on" + "b_toOpen", + "local", + "Tag" ], "tabs":[ - "Main", - "Data Type", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 1, - 4 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -992,24 +914,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8563", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8570", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_toOpen", + "b_toSpdMod", + "local", "Tag" ], "tabs":[ @@ -1023,24 +947,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9419", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8566", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_motStdStill", + "b_toTrqMod", + "local", "Tag" ], "tabs":[ @@ -1054,24 +980,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8560", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8565", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "z_ctrlModReq", + "z_ctrlModPrev", + "local", "Tag" ], "tabs":[ @@ -1085,24 +1013,75 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8562", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8593", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"constant6", + "label":"constant6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "SPD_MODE", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "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:8569", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_toSpdMod", + "b_toActive", + "local", "Tag" ], "tabs":[ @@ -1116,16 +1095,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8559", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8564", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From9", + "label":"From9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -1152,38 +1131,73 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8586", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8597", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Relational Operator5", - "label":"Relational Operator5", + "name":"b_toOpen", + "label":"b_toOpen", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "Operator", - "InputSameDT", + "Port", + "IconDisplay", + "OutMin", + "OutMax", "OutDataTypeStr", - "RndMeth", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "==", + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", - "boolean", - "Simplest", + "inherit", "-1", - "on" + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 1, - 4 + 2, + 11 ] }, "viewer":{ @@ -1192,16 +1206,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8561", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8563", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From8", + "label":"From8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -1228,21 +1242,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8572", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8562", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"From6", + "label":"From6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "b_errFlag", - "local", + "b_toSpdMod", "Tag" ], "tabs":[ @@ -1256,48 +1268,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8592", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9419", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"constant5", - "label":"constant5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "name":"From7", + "label":"From7", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" ], "values":[ - "VLT_MODE", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" + "b_motStdStill", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1305,16 +1299,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8554", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8560", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"From4", + "label":"From4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -1322,7 +1316,7 @@ "IconDisplay" ], "values":[ - "b_motEna", + "z_ctrlModReq", "Tag" ], "tabs":[ @@ -1341,11 +1335,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8564", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8558", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -1353,7 +1347,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModReq", + "b_toTrqMod", "Tag" ], "tabs":[ @@ -1372,21 +1366,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8568", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8561", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"From5", + "label":"From5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "z_ctrlModReq", - "local", + "b_toOpen", "Tag" ], "tabs":[ @@ -1400,16 +1392,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8553", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8556", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From13", + "label":"From13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -1417,7 +1409,7 @@ "IconDisplay" ], "values":[ - "b_toActive", + "z_ctrlModReq", "Tag" ], "tabs":[ @@ -1436,63 +1428,32 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8598", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8589", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"b_toActive", - "label":"b_toActive", + "name":"constant", + "label":"constant", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "FramePeriod" ], "values":[ - "2", - "Port number", + "TRQ_MODE", + "on", + "inf", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", + "Inherit: Inherit via back propagation", "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "inf" ], "tabs":[ "Main", @@ -1501,8 +1462,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 3, + 7 ] }, "viewer":{ @@ -1511,16 +1472,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8555", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8552", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -1528,7 +1489,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModPrev", + "b_errFlag", "Tag" ], "tabs":[ @@ -1547,21 +1508,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8565", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8554", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"From10", + "label":"From10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "z_ctrlModPrev", - "local", + "b_motEna", "Tag" ], "tabs":[ @@ -1575,16 +1534,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8552", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8553", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -1592,7 +1551,7 @@ "IconDisplay" ], "values":[ - "b_errFlag", + "b_toActive", "Tag" ], "tabs":[ @@ -1611,11 +1570,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8551", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8549", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlModPrev", - "label":"z_ctrlModPrev", + "name":"z_ctrlModReq", + "label":"z_ctrlModReq", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -1638,7 +1597,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "4", "Port number", "[]", "[]", @@ -1678,27 +1637,39 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8573", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8583", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", + "name":"Relational Operator2", + "label":"Relational Operator2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "b_motEna", - "local", - "Tag" + "~=", + "off", + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Main", + "Data Type", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1706,16 +1677,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8548", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8551", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_errFlag", - "label":"b_errFlag", + "name":"z_ctrlModPrev", + "label":"z_ctrlModPrev", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -1738,7 +1709,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "5", "Port number", "[]", "[]", @@ -1778,21 +1749,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8566", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8555", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"From12", + "label":"From12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "b_toTrqMod", - "local", + "z_ctrlModPrev", "Tag" ], "tabs":[ @@ -1806,48 +1775,32 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8595", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8568", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"constant8", - "label":"constant8", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "OPEN_MODE", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" + "z_ctrlModReq", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1855,7 +1808,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Goto", "masktype":"" } }, @@ -1927,61 +1880,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8549", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8573", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"z_ctrlModReq", - "label":"z_ctrlModReq", + "name":"Goto9", + "label":"Goto9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "b_motEna", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1989,16 +1908,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8547", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8548", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_motEna", - "label":"b_motEna", + "name":"b_errFlag", + "label":"b_errFlag", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -2021,7 +1940,7 @@ "OutputFunctionCall" ], "values":[ - "1", + "3", "Port number", "[]", "[]", @@ -2061,21 +1980,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8570", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8559", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"From3", + "label":"From3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "b_toSpdMod", - "local", + "z_ctrlModReq", "Tag" ], "tabs":[ @@ -2089,24 +2006,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8558", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9421", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_toTrqMod", + "b_motStdStill", + "local", "Tag" ], "tabs":[ @@ -2120,30 +2039,44 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8556", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8586", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", + "name":"Relational Operator5", + "label":"Relational Operator5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "z_ctrlModReq", - "Tag" + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Main", + "Data Type", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2151,16 +2084,83 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8574", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8547", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "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:8579", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator1", - "label":"Logical Operator1", + "name":"Logical Operator9", + "label":"Logical Operator9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -2172,7 +2172,7 @@ "SampleTime" ], "values":[ - "AND", + "NOT", "2", "rectangular", "off", @@ -2201,11 +2201,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8575", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8577", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator3", - "label":"Logical Operator3", + "name":"Logical Operator6", + "label":"Logical Operator6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -2217,7 +2217,7 @@ "SampleTime" ], "values":[ - "AND", + "OR", "3", "rectangular", "off", @@ -2246,11 +2246,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8577", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8576", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator6", - "label":"Logical Operator6", + "name":"Logical Operator4", + "label":"Logical Operator4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -2263,7 +2263,7 @@ ], "values":[ "OR", - "3", + "4", "rectangular", "off", "boolean", @@ -2336,11 +2336,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8579", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8575", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator9", - "label":"Logical Operator9", + "name":"Logical Operator3", + "label":"Logical Operator3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -2352,8 +2352,8 @@ "SampleTime" ], "values":[ - "NOT", - "2", + "AND", + "3", "rectangular", "off", "boolean", @@ -2381,11 +2381,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8576", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8574", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator4", - "label":"Logical Operator4", + "name":"Logical Operator1", + "label":"Logical Operator1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "inspector":{ "params":[ @@ -2397,8 +2397,8 @@ "SampleTime" ], "values":[ - "OR", - "4", + "AND", + "2", "rectangular", "off", "boolean", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.png index 2d054a6..84a1bef 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.svg index 8b78524..b64d5dc 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8546_d.svg @@ -83,11 +83,11 @@ - - + + - + @@ -97,30 +97,30 @@ - - 3 + + 4 - + - - + + - + - - b_toSpdMod + + b_toTrqMod @@ -131,44 +131,44 @@ - - - + + + - - + + - + - - TRQ_MODE + + 3 - - + + - - - + + + - + - - uint8 + + b_toSpdMod @@ -179,44 +179,44 @@ - - - + + + - - + + - + - - SPD_MODE + + 2 - - + + - - - + + + - + - - uint8 + + b_toActive @@ -227,11 +227,11 @@ - - + + - + @@ -241,29 +241,29 @@ - + OPEN_MODE - + - + - + - + uint8 @@ -275,11 +275,11 @@ - - + + - + @@ -289,29 +289,29 @@ - - SPD_MODE + + OPEN_MODE - + - + - + - + uint8 @@ -323,11 +323,11 @@ - - + + - + @@ -337,29 +337,29 @@ - + TRQ_MODE - + - + - + - + uint8 @@ -369,59 +369,11 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_toOpen - - - - - - - - - + @@ -429,27 +381,27 @@ - + - + - + - + - + - + @@ -475,11 +427,11 @@ - + - + boolean @@ -491,30 +443,38 @@ - - - + + + - + - + - + - - + + - - + + + + + + + + + + @@ -528,22 +488,22 @@ - + - + - - + + - + boolean @@ -555,30 +515,38 @@ - - - + + + - + - + - + - - + + - - + + + + + + + + + + @@ -592,22 +560,22 @@ - + - + - - + + - + boolean @@ -621,7 +589,7 @@ - + @@ -629,27 +597,27 @@ - + - + - + - + - + - + @@ -675,11 +643,11 @@ - + - + boolean @@ -691,44 +659,60 @@ - - - + + + - - + + - + - - + + - - 4 + + + + + + + + + + + + + + + + + + - - + + - - - + + + - - + + - - b_toTrqMod + + boolean @@ -739,62 +723,44 @@ - - - + + + - - + + - - + + - - [b_toOpen] + + VLT_MODE - - + + - - - - - - - - - - - - - - - + + + + - - + + - - [b_motStdStill] - - - - - - - + + uint8 @@ -805,37 +771,37 @@ - - - + + + - + - + - + - + - + - + - + @@ -850,22 +816,22 @@ - + - + - - + + - + boolean @@ -877,68 +843,44 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - + - - + + - - + + SPD_MODE - - - - - - - - - - + + - - + + - - + + - - boolean + + uint8 @@ -949,28 +891,28 @@ - - + + - + - + - - [b_toActive] + + [b_errFlag] - + @@ -982,68 +924,62 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - + - - + + - - + + [b_toOpen] - + + + + - - + + + + + + + + + - - - - - - + + - - - - + - - + + - - boolean + + [b_toSpdMod] + + + + + + + @@ -1054,44 +990,29 @@ - - - + + + - - + + - - + + - - [b_toOpen] + + [b_toTrqMod] - - - - - - - - - - - - - - - - - boolean + + @@ -1102,44 +1023,29 @@ - - - + + + - - + + - - + + - - [b_motStdStill] + + [z_ctrlModPrev] - - - - - - - - - - - - - - - - - boolean + + @@ -1150,43 +1056,43 @@ - - - + + + - - + + - - + + - - [z_ctrlModReq] + + SPD_MODE - - + + - + - - + + - + uint8 @@ -1198,44 +1104,29 @@ - - - + + + - - + + - - + + - - [b_toSpdMod] + + [b_toActive] - - - - - - - - - - - - - - - - - boolean + + @@ -1246,43 +1137,43 @@ - - + + - + - + - + [z_ctrlModReq] - + - + - - + + - + uint8 @@ -1294,68 +1185,44 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - + - - + + - - + + 1 - - - - - - - - - - + + - - - + + + - - + + - - boolean + + b_toOpen @@ -1366,43 +1233,43 @@ - - + + - + - + - + [b_toOpen] - + - + - - + + - + boolean @@ -1414,29 +1281,44 @@ - - - + + + - - + + - - + + - - [b_errFlag] + + [b_toSpdMod] - - + + + + + + + + + + + + + + + + + boolean @@ -1447,44 +1329,44 @@ - - - + + + - - + + - - + + - - VLT_MODE + + [b_motStdStill] - - + + - - + + - - + + - - uint8 + + boolean @@ -1495,44 +1377,44 @@ - - + + - + - + - - [b_motEna] + + [z_ctrlModReq] - + - - + + - - + + - - boolean + + uint8 @@ -1543,44 +1425,44 @@ - - + + - + - + - - [z_ctrlModReq] + + [b_toTrqMod] - + - - + + - - + + - - uint8 + + boolean @@ -1591,29 +1473,44 @@ - - - + + + - - + + - - + + - - [z_ctrlModReq] + + [b_toOpen] - - + + + + + + + + + + + + + + + + + boolean @@ -1624,44 +1521,44 @@ - - + + - + - + - - [b_toActive] + + [z_ctrlModReq] - + - - + + - - + + - - boolean + + uint8 @@ -1672,44 +1569,44 @@ - - - + + + - - + + - - + + - - 2 + + TRQ_MODE - - + + - - - + + + - - + + - - b_toActive + + uint8 @@ -1720,44 +1617,44 @@ - - + + - + - + - - [z_ctrlModPrev] + + [b_errFlag] - + - - + + - - + + - - uint8 + + boolean @@ -1768,29 +1665,44 @@ - - - + + + - - + + - - + + - - [z_ctrlModPrev] + + [b_motEna] - - + + + + + + + + + + + + + + + + + boolean @@ -1801,43 +1713,43 @@ - - + + - + - + - - [b_errFlag] + + [b_toActive] - + - + - - + + - + boolean @@ -1849,58 +1761,58 @@ - - + + - + - + - - 5 + + 4 - + - - + + - - + + - - z_ctrlModPrev + + z_ctrlModReq - + - - + + - + uint8 @@ -1912,29 +1824,60 @@ - - - + + + - - + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - [b_motEna] - - - - - - - + + boolean @@ -1945,59 +1888,59 @@ - - + + - + - + - - 3 + + 5 - + - - + + - - + + - - b_errFlag + + z_ctrlModPrev - - + + - - + + - - boolean + + uint8 @@ -2008,29 +1951,44 @@ - - - + + + - - + + - - + + - - [b_toTrqMod] + + [z_ctrlModPrev] - - + + + + + + + + + + + + + + + + + uint8 @@ -2041,44 +1999,29 @@ - - - + + + - - + + - - + + - - OPEN_MODE + + [z_ctrlModReq] - - - - - - - - - - - - - - - - - uint8 + + @@ -2099,11 +2042,11 @@ - + - + 2 @@ -2121,11 +2064,11 @@ - + - + b_motStdStill @@ -2136,11 +2079,11 @@ - + - + boolean @@ -2152,59 +2095,92 @@ - - + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + - + - + - - 4 + + 3 - + - - + + - - + + - - z_ctrlModReq + + b_errFlag - - + + - - + + - - uint8 + + boolean @@ -2215,59 +2191,77 @@ - - - + + + - - + + - - + + - - 1 + + [z_ctrlModReq] - - + + - - - + + + - - + + - - b_motEna + + uint8 - - - - + + + + + + + + + + + + + + + - - + + - - boolean + + [b_motStdStill] + + + + + + + @@ -2278,76 +2272,67 @@ - - - + + + - - + + - + - - + + + + + + + + + + + + + + + + + + - - [b_toSpdMod] + + - - - - + - - - - - - - - - - - - - - - - - - - - - [b_toTrqMod] - - - + + - + - - + + - + boolean @@ -2359,44 +2344,59 @@ - - - + + + - - + + - - + + - - [z_ctrlModReq] + + 1 - - + + + + + + + + + + + + + + + + + b_motEna - - + + - + - - uint8 + + boolean @@ -2407,30 +2407,30 @@ - - - + + + - - + + - + - - + + - - + + @@ -2439,62 +2439,62 @@ - - - - - - - - - - - - + - - + + - + boolean + + + + + + + + + + + - - - + + + - - + + - + - - + + - + - - + + @@ -2503,61 +2503,61 @@ - - - - - - - - - - - - + - - + + - + boolean + + + + + + + + + + + - - - + + + - - + + - + - - + + - + @@ -2568,23 +2568,23 @@ - + - + - + boolean - - + + @@ -2631,62 +2631,62 @@ - - - - - - - - - - - - + - + boolean + + + + + + + + + + + - - - + + + - - + + - + - - + + - - + + @@ -2696,23 +2696,23 @@ - + - + - + boolean - - + + @@ -2727,30 +2727,30 @@ - - - + + + - - + + - + - - + + - + - - + + @@ -2760,23 +2760,23 @@ - + - + - + boolean - - + + @@ -3050,10 +3050,10 @@ - + - + @@ -3417,5 +3417,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.json index 8830795..4da3b7e 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.json @@ -1,10 +1,10 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:3", "className":"Stateflow.State", "icon":"WebViewIcon7", - "name":"OPEN", - "label":"OPEN", + "name":"ACTIVE", + "label":"ACTIVE", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", "inspector":{ "params":[ @@ -19,7 +19,7 @@ "values":[ false, "Auto", - "OPEN\n\nentry:\nz_ctrlMod = OPEN_MODE;", + "ACTIVE", false, false, "", @@ -45,11 +45,11 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:28", "className":"Stateflow.State", "icon":"WebViewIcon7", - "name":"ACTIVE", - "label":"ACTIVE", + "name":"VOLTAGE_MODE", + "label":"VOLTAGE_MODE", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", "inspector":{ "params":[ @@ -64,7 +64,7 @@ "values":[ false, "Auto", - "ACTIVE", + "VOLTAGE_MODE\n\nentry:\nz_ctrlMod = VLT_MODE;", false, false, "", @@ -90,11 +90,11 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:28", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:6", "className":"Stateflow.State", "icon":"WebViewIcon7", - "name":"VOLTAGE_MODE", - "label":"VOLTAGE_MODE", + "name":"SPEED_MODE", + "label":"SPEED_MODE", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", "inspector":{ "params":[ @@ -109,7 +109,7 @@ "values":[ false, "Auto", - "VOLTAGE_MODE\n\nentry:\nz_ctrlMod = VLT_MODE;", + "SPEED_MODE\n\nentry:\nz_ctrlMod = SPD_MODE;", false, false, "", @@ -135,11 +135,11 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:6", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:4", "className":"Stateflow.State", "icon":"WebViewIcon7", - "name":"SPEED_MODE", - "label":"SPEED_MODE", + "name":"TORQUE_MODE", + "label":"TORQUE_MODE", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", "inspector":{ "params":[ @@ -154,7 +154,7 @@ "values":[ false, "Auto", - "SPEED_MODE\n\nentry:\nz_ctrlMod = SPD_MODE;", + "TORQUE_MODE\n\nentry:\nz_ctrlMod = TRQ_MODE;", false, false, "", @@ -180,41 +180,29 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:4", - "className":"Stateflow.State", - "icon":"WebViewIcon7", - "name":"TORQUE_MODE", - "label":"TORQUE_MODE", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:30", + "className":"Stateflow.Transition", + "icon":"WebViewIcon8", + "name":"", + "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", "inspector":{ "params":[ - "HasOutputData", - "InlineOption", + "ExecutionOrder", "LabelString", - "DataLogging", - "TestPoint", "Description", "Document" ], "values":[ - false, - "Auto", - "TORQUE_MODE\n\nentry:\nz_ctrlMod = TRQ_MODE;", - false, - false, + 2, + "", "", "" ], "tabs":[ - "General", - "Logging", - "Documentation" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 5 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -225,7 +213,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:30", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:33", "className":"Stateflow.Transition", "icon":"WebViewIcon8", "name":"", @@ -239,7 +227,7 @@ "Document" ], "values":[ - 2, + 1, "", "", "" @@ -258,11 +246,11 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:33", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:32", "className":"Stateflow.Transition", "icon":"WebViewIcon8", "name":"", - "label":"", + "label":"[b_toSpdMod]", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", "inspector":{ "params":[ @@ -273,7 +261,7 @@ ], "values":[ 1, - "", + "[b_toSpdMod]", "", "" ], @@ -390,29 +378,41 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:32", - "className":"Stateflow.Transition", - "icon":"WebViewIcon8", - "name":"", - "label":"[b_toSpdMod]", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:1", + "className":"Stateflow.State", + "icon":"WebViewIcon7", + "name":"OPEN", + "label":"OPEN", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", "inspector":{ "params":[ - "ExecutionOrder", + "HasOutputData", + "InlineOption", "LabelString", + "DataLogging", + "TestPoint", "Description", "Document" ], "values":[ - 1, - "[b_toSpdMod]", + false, + "Auto", + "OPEN\n\nentry:\nz_ctrlMod = OPEN_MODE;", + false, + false, "", "" ], "tabs":[ - "Parameter Attributes" + "General", + "Logging", + "Documentation" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 5 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -423,11 +423,11 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:13", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:2", "className":"Stateflow.Transition", "icon":"WebViewIcon8", "name":"", - "label":"[b_toActive]", + "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", "inspector":{ "params":[ @@ -438,7 +438,7 @@ ], "values":[ 1, - "[b_toActive]", + "", "", "" ], @@ -456,11 +456,11 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603:13", "className":"Stateflow.Transition", "icon":"WebViewIcon8", "name":"", - "label":"", + "label":"[b_toActive]", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8603", "inspector":{ "params":[ @@ -471,7 +471,7 @@ ], "values":[ 1, - "", + "[b_toActive]", "", "" ], diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.svg index 9fd2776..57302c1 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.svg @@ -10,114 +10,22 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OPEN - - - - - - - - - - - - - - - - entry: - - - - - - - - - - - - - - - - z_ctrlMod = OPEN_MODE; - - - - - - - - - - - - - - - - - - - - - - - + - + - + @@ -126,79 +34,79 @@ - + - + - + - + ACTIVE - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -207,57 +115,57 @@ - + - + - + - + VOLTAGE_MODE - + - + - + - + entry: - + - + - + - + z_ctrlMod = VLT_MODE; - + @@ -272,25 +180,25 @@ - + - + - + - + - + @@ -299,57 +207,57 @@ - + - + - + - + SPEED_MODE - + - + - + - + entry: - + - + - + - + z_ctrlMod = SPD_MODE; - + @@ -364,25 +272,25 @@ - + - + - + - + - + @@ -391,57 +299,57 @@ - + - + - + - + TORQUE_MODE - + - + - + - + entry: - + - + - + - + z_ctrlMod = TRQ_MODE; - + @@ -458,7 +366,7 @@ - + @@ -476,11 +384,11 @@ - + - + 2 @@ -495,7 +403,7 @@ - + @@ -514,11 +422,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + + + + + + + + + + 1 + + + + + + + + + - + @@ -536,11 +500,11 @@ - + - + 2 @@ -555,7 +519,7 @@ - + @@ -578,7 +542,7 @@ - + @@ -593,19 +557,19 @@ - + - + - + - + [b_toTrqMod] @@ -615,11 +579,11 @@ - + - + 1 @@ -630,71 +594,107 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toSpdMod] - - - - - - - - - - - - - - 1 - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OPEN + + + + + + + + + + + + + + + + entry: + + + + + + + + + + + + + + + + z_ctrlMod = OPEN_MODE; + + - + - - + + @@ -703,13 +703,30 @@ - + - + + + + + + + + + + + + + + + + + + @@ -743,23 +760,6 @@ - - - - - - - - - - - - - - - - - @@ -798,5 +798,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.json index cd2633e..ff5b74f 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.json @@ -48,172 +48,12 @@ "finder":[ ] }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9194", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_phaC ", - "label":"r_phaC ", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "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", - "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:9193", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_phaB", - "label":"r_phaB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9192", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"r_phaA", - "label":"r_phaA", + "name":"V_phaABC_FOC", + "label":"V_phaABC_FOC", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -302,73 +142,7 @@ "IconDisplay" ], "values":[ - "r_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:8829", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_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:8840", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_phaC", + "V_phaABC_FOC", "local", "Tag" ], @@ -400,7 +174,7 @@ "IconDisplay" ], "values":[ - "r_phaA", + "V_phaABC_FOC", "Tag" ], "tabs":[ @@ -419,11 +193,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8828", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8769", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"From12", + "label":"From12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -431,7 +205,7 @@ "IconDisplay" ], "values":[ - "r_phaB", + "i_phaAB", "Tag" ], "tabs":[ @@ -450,11 +224,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8767", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8778", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"From22", + "label":"From22", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -462,7 +236,7 @@ "IconDisplay" ], "values":[ - "r_phaC", + "i_phaBC", "Tag" ], "tabs":[ @@ -481,73 +255,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8769", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "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:8778", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "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:8886", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Inv_Park_Transform", - "label":"Inv_Park_Transform", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Inv_Park_Transform", + "label":"Inv_Park_Transform", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1051,7 +763,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "5", + "3", "Port number", "[]", "[]", @@ -1131,7 +843,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "4", + "2", "Port number", "[]", "[]", @@ -1178,119 +890,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9142", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay4", - "label":"UnitDelay4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "0", - "Inherited", - "-1", - "", - "", - "off", - [ - ], - "Auto" - ], - "tabs":[ - "Main", - "State Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"UnitDelay", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9108", - "className":"Simulink.SwitchCase", - "icon":"WebViewIcon3", - "name":"Switch Case", - "label":"Switch Case", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "CaseConditions", - "ShowDefaultCase", - "SampleTime", - "ZeroCross" - ], - "values":[ - "{VLT_MODE, SPD_MODE, TRQ_MODE}", - "on", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SwitchCase", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9072", - "className":"Simulink.Scope", - "icon":"WebViewIcon3", - "name":"Scope8", - "label":"Scope8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":[ - ], - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Scope", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Park_Transform", - "label":"Park_Transform", + "name":"Voltage_Mode", + "label":"Voltage_Mode", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1342,7 +946,7 @@ "void_void", "off", "off", - "on", + "off", "", "off", "", @@ -1383,91 +987,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9197", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_devSignal2", - "label":"r_devSignal2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "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", - "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:9029", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Open_Mode", - "label":"Open_Mode", + "name":"Vd_Calculation", + "label":"Vd_Calculation", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1560,107 +1084,161 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9027", - "className":"Simulink.Mux", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9108", + "className":"Simulink.SwitchCase", "icon":"WebViewIcon3", - "name":"Mux7", - "label":"Mux7", + "name":"Switch Case", + "label":"Switch Case", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "CaseConditions", + "ShowDefaultCase", + "SampleTime", + "ZeroCross" ], "values":[ - "3", - "bar" + "{VLT_MODE, SPD_MODE, TRQ_MODE}", + "on", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "tabs_idx":[ + 0, + 2 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"SwitchCase", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8912", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge", - "label":"Merge", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9074", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Speed_Mode", + "label":"Speed_Mode", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "Inputs", - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets" + "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":[ - "4", - "[]", + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", "off", - "[]" + "" ], "tabs":[ - "Parameter Attributes", + "Main", "-Other" ], "tabs_idx":[ 0, - 3 + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Merge", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9713", - "className":"Simulink.If", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9028", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", + "name":"Mux8", + "label":"Mux8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" + "Inputs", + "DisplayOption" ], "values":[ - "1", - "u1 ~= 0", - "", - "off", - "-1", - "on" + "3", + "bar" ], "tabs":[ - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 4 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1668,27 +1246,25 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"If", + "blocktype":"Mux", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8862", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9027", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", + "name":"Mux7", + "label":"Mux7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Inputs", + "DisplayOption" ], "values":[ - "Vq_min", - "local", - "Tag" + "3", + "bar" ], "tabs":[ "Parameter Attributes" @@ -1701,16 +1277,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Mux", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8857", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8862", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto35", - "label":"Goto35", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1719,7 +1295,7 @@ "IconDisplay" ], "values":[ - "r_sin", + "Vq_min", "local", "Tag" ], @@ -1739,11 +1315,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8853", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8856", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", + "name":"Goto34", + "label":"Goto34", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1752,7 +1328,7 @@ "IconDisplay" ], "values":[ - "iq_limPrott", + "n_limProt", "local", "Tag" ], @@ -1772,22 +1348,39 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8848", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9072", + "className":"Simulink.Scope", "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", + "name":"Scope8", + "label":"Scope8", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "inspector":[ + ], + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Scope", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9023", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux1", + "label":"Mux1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Inputs", + "DisplayOption" ], "values":[ - "r_inpTgtSca", - "local", - "Tag" + "2", + "bar" ], "tabs":[ "Parameter Attributes" @@ -1800,16 +1393,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Mux", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8847", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8850", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto26", - "label":"Goto26", + "name":"Goto29", + "label":"Goto29", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1818,7 +1411,7 @@ "IconDisplay" ], "values":[ - "id_Tgt", + "id_min", "local", "Tag" ], @@ -1838,11 +1431,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8845", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8849", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto24", - "label":"Goto24", + "name":"Goto28", + "label":"Goto28", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1851,7 +1444,7 @@ "IconDisplay" ], "values":[ - "id", + "iq_min", "local", "Tag" ], @@ -1871,11 +1464,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8842", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8846", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto21", - "label":"Goto21", + "name":"Goto25", + "label":"Goto25", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1884,7 +1477,7 @@ "IconDisplay" ], "values":[ - "a_elecAngle", + "iq_max", "local", "Tag" ], @@ -1904,11 +1497,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8864", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8845", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", + "name":"Goto24", + "label":"Goto24", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1917,7 +1510,7 @@ "IconDisplay" ], "values":[ - "n_mot", + "id", "local", "Tag" ], @@ -1937,11 +1530,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8839", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8842", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", + "name":"Goto21", + "label":"Goto21", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1950,7 +1543,7 @@ "IconDisplay" ], "values":[ - "id_max", + "a_elecAngle", "local", "Tag" ], @@ -1970,11 +1563,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8838", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8830", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", + "name":"Goto10", + "label":"Goto10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1983,7 +1576,7 @@ "IconDisplay" ], "values":[ - "Vd_min", + "Vq_Open", "local", "Tag" ], @@ -2003,21 +1596,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8836", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8826", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", + "name":"From71", + "label":"From71", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "Vq_prev", - "local", + "id", "Tag" ], "tabs":[ @@ -2031,26 +1622,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8834", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9655", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto14", - "label":"Goto14", + "name":"From7", + "label":"From7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "Vq_Vlt", - "local", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -2064,26 +1653,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8832", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8825", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"From69", + "label":"From69", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "Vq_Spd", - "local", + "z_ctrlMod", "Tag" ], "tabs":[ @@ -2097,26 +1684,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8831", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8823", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", + "name":"From67", + "label":"From67", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "Vq_Trq", - "local", + "n_limProt", "Tag" ], "tabs":[ @@ -2130,26 +1715,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9717", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8815", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto32", - "label":"Goto32", + "name":"From6", + "label":"From6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "b_motEna", - "local", + "Vq", "Tag" ], "tabs":[ @@ -2163,26 +1746,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8852", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8812", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto30", - "label":"Goto30", + "name":"From57", + "label":"From57", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "Vq", - "local", + "id_max", "Tag" ], "tabs":[ @@ -2196,26 +1777,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8851", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8811", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"From56", + "label":"From56", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "z_ctrlMod", - "local", + "Vd_min", "Tag" ], "tabs":[ @@ -2229,16 +1808,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8824", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8809", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From68", - "label":"From68", + "name":"From54", + "label":"From54", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2246,7 +1825,7 @@ "IconDisplay" ], "values":[ - "iq_limPrott", + "Vd_min", "Tag" ], "tabs":[ @@ -2265,19 +1844,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8820", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8843", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From64", - "label":"From64", + "name":"Goto22", + "label":"Goto22", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "n_limProt", + "n_motAbs", + "local", "Tag" ], "tabs":[ @@ -2291,24 +1872,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8819", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8861", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From63", - "label":"From63", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "n_mot", + "Vq_max", + "local", "Tag" ], "tabs":[ @@ -2322,26 +1905,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8846", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8807", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto25", - "label":"Goto25", + "name":"From52", + "label":"From52", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "iq_max", - "local", + "id_TgtAbs", "Tag" ], "tabs":[ @@ -2355,16 +1936,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8818", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8824", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From62", - "label":"From62", + "name":"From68", + "label":"From68", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2391,30 +1972,42 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9073", - "className":"Simulink.Scope", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8801", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Scope9", - "label":"Scope9", + "name":"From46", + "label":"From46", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":[ - ], + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_Vlt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Scope", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8813", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8800", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From58", - "label":"From58", + "name":"From45", + "label":"From45", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2422,7 +2015,7 @@ "IconDisplay" ], "values":[ - "id_min", + "iq", "Tag" ], "tabs":[ @@ -2441,11 +2034,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8809", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8814", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From54", - "label":"From54", + "name":"From59", + "label":"From59", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2453,7 +2046,7 @@ "IconDisplay" ], "values":[ - "Vd_min", + "iq_max", "Tag" ], "tabs":[ @@ -2472,11 +2065,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8808", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8806", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From53", - "label":"From53", + "name":"From50", + "label":"From50", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2484,7 +2077,7 @@ "IconDisplay" ], "values":[ - "Vd_max", + "Vq", "Tag" ], "tabs":[ @@ -2503,21 +2096,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8860", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8799", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto40", - "label":"Goto40", + "name":"From44", + "label":"From44", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "id_TgtAbs", - "local", + "Vq_min", "Tag" ], "tabs":[ @@ -2531,16 +2122,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8805", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8798", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From43", + "label":"From43", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2548,7 +2139,7 @@ "IconDisplay" ], "values":[ - "Vq_prev", + "Vd", "Tag" ], "tabs":[ @@ -2567,11 +2158,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9655", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8792", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"From37", + "label":"From37", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2598,21 +2189,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8841", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8791", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto20", - "label":"Goto20", + "name":"From36", + "label":"From36", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "Vd", - "local", + "n_mot", "Tag" ], "tabs":[ @@ -2626,16 +2215,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8810", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8790", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From55", - "label":"From55", + "name":"From35", + "label":"From35", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2643,7 +2232,7 @@ "IconDisplay" ], "values":[ - "Vd_max", + "b_enaAdvCtrl", "Tag" ], "tabs":[ @@ -2662,108 +2251,42 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Voltage_Mode", - "label":"Voltage_Mode", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8796", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From41", + "label":"From41", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", - "Variant", - "VariantControl" + "GotoTag", + "IconDisplay" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", - "off", - "" + "Vq_max", + "Tag" ], "tabs":[ - "Main", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 6 - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8801", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8788", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From46", - "label":"From46", + "name":"From33", + "label":"From33", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2771,7 +2294,7 @@ "IconDisplay" ], "values":[ - "Vq_Vlt", + "id_Tgt", "Tag" ], "tabs":[ @@ -2790,19 +2313,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8811", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8857", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From56", - "label":"From56", + "name":"Goto35", + "label":"Goto35", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "Vd_min", + "r_sin", + "local", "Tag" ], "tabs":[ @@ -2816,16 +2341,59 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8825", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9715", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "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:8786", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From69", - "label":"From69", + "name":"From31", + "label":"From31", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2833,7 +2401,7 @@ "IconDisplay" ], "values":[ - "z_ctrlMod", + "iq", "Tag" ], "tabs":[ @@ -2852,20 +2420,22 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9023", - "className":"Simulink.Mux", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8864", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Mux1", - "label":"Mux1", + "name":"Goto9", + "label":"Goto9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "2", - "bar" + "n_mot", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -2878,16 +2448,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8802", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8784", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From47", - "label":"From47", + "name":"From29", + "label":"From29", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2895,7 +2465,7 @@ "IconDisplay" ], "values":[ - "Vq_Spd", + "r_cos", "Tag" ], "tabs":[ @@ -2914,37 +2484,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9715", - "className":"Simulink.If", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8782", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", + "name":"From27", + "label":"From27", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" + "GotoTag", + "IconDisplay" ], "values":[ - "1", - "u1 ~= 0", - "", - "off", - "-1", - "on" + "r_cos", + "Tag" ], "tabs":[ - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 4 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2952,16 +2510,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"If", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8814", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8813", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From59", - "label":"From59", + "name":"From58", + "label":"From58", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2969,7 +2527,7 @@ "IconDisplay" ], "values":[ - "iq_max", + "id_min", "Tag" ], "tabs":[ @@ -2988,19 +2546,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8788", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8852", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From33", - "label":"From33", + "name":"Goto30", + "label":"Goto30", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "id_Tgt", + "Vq", + "local", "Tag" ], "tabs":[ @@ -3014,16 +2574,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8787", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8781", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From32", - "label":"From32", + "name":"From26", + "label":"From26", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3031,7 +2591,7 @@ "IconDisplay" ], "values":[ - "id", + "r_sin", "Tag" ], "tabs":[ @@ -3050,11 +2610,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8786", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8780", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", + "name":"From25", + "label":"From25", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3062,7 +2622,7 @@ "IconDisplay" ], "values":[ - "iq", + "Vq_max", "Tag" ], "tabs":[ @@ -3081,108 +2641,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Speed_Mode", - "label":"Speed_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", - "off", - "" - ], - "tabs":[ - "Main", - "-Other" - ], - "tabs_idx":[ - 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8849", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8832", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto28", - "label":"Goto28", + "name":"Goto12", + "label":"Goto12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3191,7 +2654,7 @@ "IconDisplay" ], "values":[ - "iq_min", + "Vq_Spd", "local", "Tag" ], @@ -3211,11 +2674,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8799", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8779", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From44", - "label":"From44", + "name":"From23", + "label":"From23", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3223,7 +2686,7 @@ "IconDisplay" ], "values":[ - "Vq_min", + "z_ctrlMod", "Tag" ], "tabs":[ @@ -3242,19 +2705,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8785", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8863", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "n_motAbs", + "b_enaAdvCtrl", + "local", "Tag" ], "tabs":[ @@ -3268,16 +2733,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8783", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8808", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", + "name":"From53", + "label":"From53", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3285,7 +2750,7 @@ "IconDisplay" ], "values":[ - "r_sin", + "Vd_max", "Tag" ], "tabs":[ @@ -3304,11 +2769,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8781", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8804", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From26", - "label":"From26", + "name":"From49", + "label":"From49", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3316,7 +2781,7 @@ "IconDisplay" ], "values":[ - "r_sin", + "Vq_Open", "Tag" ], "tabs":[ @@ -3335,11 +2800,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8798", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9718", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From43", - "label":"From43", + "name":"From21", + "label":"From21", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3347,7 +2812,7 @@ "IconDisplay" ], "values":[ - "Vd", + "b_motEna", "Tag" ], "tabs":[ @@ -3366,19 +2831,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8779", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8831", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", + "name":"Goto11", + "label":"Goto11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "z_ctrlMod", + "Vq_Trq", + "local", "Tag" ], "tabs":[ @@ -3392,16 +2859,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8791", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8776", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From36", - "label":"From36", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3409,7 +2876,7 @@ "IconDisplay" ], "values":[ - "n_mot", + "Vd", "Tag" ], "tabs":[ @@ -3428,42 +2895,108 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9026", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9029", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Open_Mode", + "label":"Open_Mode", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "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":[ - "2", - "bar" + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ - "Parameter Attributes" + "Main", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 6 + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9718", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8817", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", + "name":"From61", + "label":"From61", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3471,7 +3004,7 @@ "IconDisplay" ], "values":[ - "b_motEna", + "iq", "Tag" ], "tabs":[ @@ -3490,11 +3023,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8789", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8775", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From34", - "label":"From34", + "name":"From19", + "label":"From19", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3502,7 +3035,7 @@ "IconDisplay" ], "values":[ - "Vq_min", + "a_elecAngle", "Tag" ], "tabs":[ @@ -3521,11 +3054,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8812", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8774", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From57", - "label":"From57", + "name":"From18", + "label":"From18", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3533,7 +3066,7 @@ "IconDisplay" ], "values":[ - "id_max", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -3552,21 +3085,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8861", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8810", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"From55", + "label":"From55", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "Vq_max", - "local", + "Vd_max", "Tag" ], "tabs":[ @@ -3580,24 +3111,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8793", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8837", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From38", - "label":"From38", + "name":"Goto17", + "label":"Goto17", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "Vq_max", + "Vd_max", + "local", "Tag" ], "tabs":[ @@ -3611,16 +3144,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8771", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8773", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", + "name":"From16", + "label":"From16", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3628,7 +3161,7 @@ "IconDisplay" ], "values":[ - "b_enaFOC", + "Vq_max", "Tag" ], "tabs":[ @@ -3647,11 +3180,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8770", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8795", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", + "name":"From40", + "label":"From40", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3659,7 +3192,7 @@ "IconDisplay" ], "values":[ - "id_Tgt", + "Vq", "Tag" ], "tabs":[ @@ -3678,11 +3211,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8774", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8797", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", + "name":"From42", + "label":"From42", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3690,7 +3223,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "Vq_min", "Tag" ], "tabs":[ @@ -3709,21 +3242,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8844", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8818", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", + "name":"From62", + "label":"From62", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "iq", - "local", + "iq_limPrott", "Tag" ], "tabs":[ @@ -3737,16 +3268,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8790", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8793", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From35", - "label":"From35", + "name":"From38", + "label":"From38", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3754,7 +3285,7 @@ "IconDisplay" ], "values":[ - "b_enaFOC", + "Vq_max", "Tag" ], "tabs":[ @@ -3773,19 +3304,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8766", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8841", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"Goto20", + "label":"Goto20", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "id", + "Vd", + "local", "Tag" ], "tabs":[ @@ -3799,16 +3332,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8765", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8783", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From28", + "label":"From28", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3816,7 +3349,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "r_sin", "Tag" ], "tabs":[ @@ -3835,19 +3368,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8816", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8853", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From60", - "label":"From60", + "name":"Goto31", + "label":"Goto31", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "iq_min", + "iq_limPrott", + "local", "Tag" ], "tabs":[ @@ -3861,30 +3396,42 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8792", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9713", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", + "name":"If2", + "label":"If2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" ], "values":[ - "r_inpTgtSca", - "Tag" + "1", + "u1 ~= 0", + "", + "off", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -3892,16 +3439,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"If", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8780", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10030", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", + "name":"From9", + "label":"From9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3909,7 +3456,7 @@ "IconDisplay" ], "values":[ - "Vq_max", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -3928,11 +3475,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8863", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8844", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"Goto23", + "label":"Goto23", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3941,7 +3488,7 @@ "IconDisplay" ], "values":[ - "b_enaFOC", + "iq", "local", "Tag" ], @@ -3961,114 +3508,118 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9028", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux8", - "label":"Mux8", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Park_Transform", + "label":"Park_Transform", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "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":[ - "3", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8837", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8800", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" + "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":[ - "Parameter Attributes" + "Main", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 6 + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8772", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8838", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", + "name":"Goto18", + "label":"Goto18", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "r_inpTgtSca", + "Vd_min", + "local", "Tag" ], "tabs":[ @@ -4082,32 +3633,79 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8843", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9197", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", + "name":"r_devSignal2", + "label":"r_devSignal2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "n_motAbs", - "local", - "Tag" + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -4115,32 +3713,38 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8856", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8912", + "className":"Simulink.Merge", "icon":"WebViewIcon3", - "name":"Goto34", - "label":"Goto34", + "name":"Merge", + "label":"Merge", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets", + "Inputs" ], "values":[ - "n_limProt", - "local", - "Tag" + "[]", + "off", + "[]", + "4" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -4148,16 +3752,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Merge", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8726", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Vd_Calculation", - "label":"Vd_Calculation", + "name":"Current_Filtering", + "label":"Current_Filtering", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4250,20 +3854,39 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8797", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9073", + "className":"Simulink.Scope", "icon":"WebViewIcon3", - "name":"From42", - "label":"From42", + "name":"Scope9", + "label":"Scope9", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "inspector":[ + ], + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Scope", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8667", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "Vq_min", - "Tag" + "reset", + "Only when execution is resumed" ], "tabs":[ "Parameter Attributes" @@ -4276,26 +3899,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"ActionPort", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8830", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8771", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", + "name":"From14", + "label":"From14", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "Vq_Open", - "local", + "b_enaAdvCtrl", "Tag" ], "tabs":[ @@ -4309,146 +3930,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Current_Filtering", - "label":"Current_Filtering", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", - "off", - "" - ], - "tabs":[ - "Main", - "-Other" - ], - "tabs_idx":[ - 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8858", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto36", - "label":"Goto36", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_cos", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8806", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8794", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From50", - "label":"From50", + "name":"From4", + "label":"From4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4456,7 +3947,7 @@ "IconDisplay" ], "values":[ - "Vq", + "Vd", "Tag" ], "tabs":[ @@ -4475,11 +3966,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8775", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8802", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", + "name":"From47", + "label":"From47", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4487,7 +3978,7 @@ "IconDisplay" ], "values":[ - "a_elecAngle", + "Vq_Spd", "Tag" ], "tabs":[ @@ -4506,21 +3997,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8850", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8777", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", + "name":"From20", + "label":"From20", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "id_min", - "local", + "Vq_min", "Tag" ], "tabs":[ @@ -4534,16 +4023,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Torque_Mode", - "label":"Torque_Mode", + "name":"Motor_Limitations", + "label":"Motor_Limitations", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4595,7 +4084,7 @@ "void_void", "off", "off", - "off", + "on", "", "off", "", @@ -4636,11 +4125,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8777", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8766", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4648,7 +4137,7 @@ "IconDisplay" ], "values":[ - "Vq_min", + "id", "Tag" ], "tabs":[ @@ -4666,6 +4155,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8858", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto36", + "label":"Goto36", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_cos", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8663", "className":"Simulink.Inport", @@ -4734,25 +4256,61 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8804", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8662", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"From49", - "label":"From49", + "name":"n_mot", + "label":"n_mot", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "Vq_Open", - "Tag" + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -4760,16 +4318,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8823", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8816", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From67", - "label":"From67", + "name":"From60", + "label":"From60", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4777,7 +4335,7 @@ "IconDisplay" ], "values":[ - "n_limProt", + "iq_min", "Tag" ], "tabs":[ @@ -4796,11 +4354,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8662", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9716", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", + "name":"b_motEna", + "label":"b_motEna", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4823,7 +4381,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "4", "Port number", "[]", "[]", @@ -4863,61 +4421,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8661", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8848", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", + "name":"Goto27", + "label":"Goto27", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "r_inpTgtSca", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -4925,16 +4449,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8817", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8803", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From61", - "label":"From61", + "name":"From48", + "label":"From48", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4942,7 +4466,7 @@ "IconDisplay" ], "values":[ - "iq", + "Vq_Trq", "Tag" ], "tabs":[ @@ -4961,19 +4485,118 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8796", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8668", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_Transform", + "label":"Clarke_Transform", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "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:8851", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From41", - "label":"From41", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "Vq_max", + "z_ctrlMod", + "local", "Tag" ], "tabs":[ @@ -4987,16 +4610,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8784", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8787", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", + "name":"From32", + "label":"From32", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5004,7 +4627,7 @@ "IconDisplay" ], "values":[ - "r_cos", + "id", "Tag" ], "tabs":[ @@ -5023,11 +4646,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9716", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8661", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_motEna", - "label":"b_motEna", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5090,11 +4713,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8794", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8765", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5102,7 +4725,7 @@ "IconDisplay" ], "values":[ - "Vd", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -5121,11 +4744,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8773", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8770", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", + "name":"From13", + "label":"From13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5133,7 +4756,7 @@ "IconDisplay" ], "values":[ - "Vq_max", + "id_Tgt", "Tag" ], "tabs":[ @@ -5152,116 +4775,52 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Motor_Limitations", - "label":"Motor_Limitations", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8768", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", - "Variant", - "VariantControl" + "GotoTag", + "IconDisplay" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "on", - "", - "off", - "", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", - "off", - "" + "iq", + "Tag" ], "tabs":[ - "Main", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 6 - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8803", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8834", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From48", - "label":"From48", + "name":"Goto14", + "label":"Goto14", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "Vq_Trq", + "Vq_Vlt", + "local", "Tag" ], "tabs":[ @@ -5275,16 +4834,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8660", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8664", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlMod", - "label":"z_ctrlMod", + "name":"a_elecAngle", + "label":"a_elecAngle", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5307,7 +4866,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "7", "Port number", "[]", "[]", @@ -5347,11 +4906,75 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8668", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8819", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From63", + "label":"From63", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "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:8860", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto40", + "label":"Goto40", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_TgtAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Clarke_Transform", - "label":"Clarke_Transform", + "name":"Torque_Mode", + "label":"Torque_Mode", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5403,7 +5026,7 @@ "void_void", "off", "off", - "on", + "off", "", "off", "", @@ -5444,19 +5067,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8768", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8839", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"Goto19", + "label":"Goto19", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "iq", + "id_max", + "local", "Tag" ], "tabs":[ @@ -5470,66 +5095,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8664", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8772", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", + "name":"From15", + "label":"From15", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "IconDisplay" ], "values":[ - "7", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "r_inpTgtSca", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -5537,16 +5126,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8807", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8820", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From52", - "label":"From52", + "name":"From64", + "label":"From64", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5554,7 +5143,7 @@ "IconDisplay" ], "values":[ - "id_TgtAbs", + "n_limProt", "Tag" ], "tabs":[ @@ -5573,19 +5162,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8826", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8847", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From71", - "label":"From71", + "name":"Goto26", + "label":"Goto26", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "id", + "id_Tgt", + "local", "Tag" ], "tabs":[ @@ -5599,55 +5190,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8667", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "reset", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8815", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9717", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"Goto32", + "label":"Goto32", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "Vq", + "b_motEna", + "local", "Tag" ], "tabs":[ @@ -5661,16 +5223,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8782", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8785", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From27", - "label":"From27", + "name":"From3", + "label":"From3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5678,7 +5240,7 @@ "IconDisplay" ], "values":[ - "r_cos", + "n_motAbs", "Tag" ], "tabs":[ @@ -5697,130 +5259,69 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8776", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8660", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Field_Weakening", - "label":"Field_Weakening", + "name":"z_ctrlMod", + "label":"z_ctrlMod", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", - "Variant", - "VariantControl" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", - "on", - "", - "", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", "", - "void_void", - "off", - "off", "on", - "", - "off", - "", "off", "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", - "off", - "" + "off" ], "tabs":[ "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 2, + 11 ] }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Inport", "masktype":"" } }, @@ -5828,8 +5329,8 @@ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8659", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_enaFOC", - "label":"b_enaFOC", + "name":"b_enaAdvCtrl", + "label":"b_enaAdvCtrl", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5892,11 +5393,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8795", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8789", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From40", - "label":"From40", + "name":"From34", + "label":"From34", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -5904,7 +5405,7 @@ "IconDisplay" ], "values":[ - "Vq", + "Vq_min", "Tag" ], "tabs":[ @@ -5923,211 +5424,135 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8827#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "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:8828#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "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:8767#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Field_Weakening", + "label":"Field_Weakening", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "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", - "Simulink", + "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":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Main", + "-Other" ], "tabs_idx":[ 0, - 3, - 5, - 7 + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8886#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9026", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux2", + "label":"Mux2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "SignalNameFromLabel", - "MustResolveToSignal", - "ShowPropagatedSignal", - "DataLogging", - "TestPoint", - "SignalObjectPackage", - "StorageClass", - "Description", - "documentLink" + "Inputs", + "DisplayOption" ], "values":[ - "", - "off", - "off", - "off", - "off", - "Simulink", - "Auto", - "", - "" + "2", + "bar" ], "tabs":[ - "Parameter Attributes", - "Logging and Accessibility", - "Code Generation", - "Documentation" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 5, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":[ - ] + "finder":{ + "blocktype":"Mux", + "masktype":"" + } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8886#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8827#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6178,7 +5603,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8665#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8886#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6229,7 +5654,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8666#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8886#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6280,7 +5705,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8866#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8665#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6331,7 +5756,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8866#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8666#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -6382,7 +5807,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8866#out:3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8866#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -8268,57 +7693,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8805#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", - "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:9029#out:1", "className":"Simulink.Line", @@ -9595,7 +8969,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9142#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -9646,7 +9020,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -9697,7 +9071,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:4", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8776#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -9748,7 +9122,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8776#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8807#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -9799,7 +9173,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8807#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -9850,7 +9224,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -9901,7 +9275,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8808#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -9952,7 +9326,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8808#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8809#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10003,7 +9377,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8809#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:5", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10054,7 +9428,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:5", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:6", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10105,7 +9479,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:6", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:7", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10156,7 +9530,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:7", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:8", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10207,7 +9581,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:8", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8812#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10258,7 +9632,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8812#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8813#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10309,7 +9683,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8813#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8814#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10360,7 +9734,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8814#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8816#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10411,7 +9785,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8816#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8817#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10462,7 +9836,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8817#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:9", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10513,7 +9887,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:9", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8818#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10564,7 +9938,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8818#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:10", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10615,7 +9989,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913#out:10", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8819#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10666,7 +10040,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8819#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8820#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10717,7 +10091,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8820#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8823#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10768,7 +10142,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8823#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8824#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10819,7 +10193,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8824#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8825#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10870,7 +10244,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8825#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8663#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10921,7 +10295,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8663#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -10972,7 +10346,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11023,7 +10397,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8775#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11074,7 +10448,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8775#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11125,7 +10499,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743#out:3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8785#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11176,7 +10550,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8785#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8664#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11227,7 +10601,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8664#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9023#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11278,7 +10652,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9023#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9026#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11329,7 +10703,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9026#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743#out:4", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11380,7 +10754,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743#out:4", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11431,7 +10805,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9655#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11482,7 +10856,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9655#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8826#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11533,7 +10907,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8826#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8768#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11584,7 +10958,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8768#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9713#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11635,7 +11009,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9713#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8771#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11686,7 +11060,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8771#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9715#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11737,7 +11111,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9715#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9716#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11788,7 +11162,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9716#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9718#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -11839,7 +11213,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9718#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10030#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.png index c76d2fc..ffc2ce8 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.svg index 2ed7429..5f65fc1 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.svg @@ -1,10 +1,10 @@ - + - + @@ -19,7 +19,7 @@ - + @@ -30,102 +30,6 @@ - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - r_phaC - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - r_phaB - - - - - - - - @@ -138,11 +42,11 @@ - + - + 1 @@ -157,15 +61,15 @@ - + - - + + - - r_phaA + + V_phaABC_FOC @@ -177,93 +81,27 @@ - - - - - - - - - - - - - - - [r_phaA] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_phaB] - - - - - - - - - - - - - - - - - - - + - + - + - - [r_phaC] + + [V_phaABC_FOC] - + @@ -285,12 +123,12 @@ - + - - [r_phaA] + + [V_phaABC_FOC] @@ -304,111 +142,15 @@ - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_phaB] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_phaC] - - - - - - - - - - - - - - + - - + + - - int16 + + sfix16_En4 @@ -429,11 +171,11 @@ - + - + [i_phaAB] @@ -451,11 +193,11 @@ - - + + - + sfix16_En4 @@ -477,11 +219,11 @@ - + - + [i_phaBC] @@ -499,11 +241,11 @@ - - + + - + sfix16_En4 @@ -516,8 +258,8 @@ - - + + @@ -525,57 +267,57 @@ - + - + - + Vq - + - + Vd - + - + r_sin - + - + r_cos - + - + V_alpha - + - + V_beta @@ -588,7 +330,7 @@ - + @@ -601,15 +343,15 @@ - + - - + + - + Inv_Park_Transform @@ -622,15 +364,15 @@ - + - - + + - + sfix16_En4 @@ -643,15 +385,15 @@ - + - - + + - + sfix16_En4 @@ -670,8 +412,8 @@ - - + + @@ -679,50 +421,34 @@ - + - + - + V_alpha - + - + V_beta - - + + - - V_phaA - - - - - - - - V_phaB - - - - - - - - V_phaC + + V_phaABC_FOC @@ -734,7 +460,7 @@ - + @@ -747,15 +473,15 @@ - + - - + + - + Inv_Clarke_Transform @@ -768,58 +494,16 @@ - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - + + - - + + - - int16 + + sfix16_En4 @@ -832,7 +516,7 @@ - + @@ -846,11 +530,11 @@ - + - + 8 @@ -868,11 +552,11 @@ - - + + - + i_phaAB @@ -883,11 +567,11 @@ - - + + - + sfix16_En4 @@ -909,11 +593,11 @@ - + - + [i_phaAB] @@ -942,11 +626,11 @@ - + - + 9 @@ -964,11 +648,11 @@ - - + + - + i_phaBC @@ -979,11 +663,11 @@ - - + + - + sfix16_En4 @@ -1005,11 +689,11 @@ - + - + [i_phaBC] @@ -1029,42 +713,42 @@ - + - + - - + + - - + + - + - + - - + + - + sfix16_En4 @@ -1077,28 +761,28 @@ - - + + - + - + - + - + - + @@ -1113,7 +797,7 @@ - + @@ -1126,42 +810,42 @@ - + - + - - + + - - + + - + - + - - + + - + sfix16_En4 @@ -1174,42 +858,42 @@ - + - + - + - - 5 + + 3 - + - + - - + + - + r_devSignal1 @@ -1222,42 +906,42 @@ - + - + - + - - 4 + + 2 - + - + - - + + - + Vq @@ -1269,91 +953,152 @@ - - - + + + - - + + + + + + + + - + - - + + - - + + r_inpTgtSca - - + + - - + + Vq_max - - + + - - + + Vq_min - - + + - - + + iq_limProt + + + + + + + + n_limProt + + + + + + + + Vq_Vlt + + + + + + + + case: { } - - - - - + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + Voltage_Mode - - + + + + + + + + - - + + - - sfix16_En4 + + action - - - + + + + + + + + + - - + + - - Ini=0 + + sfix16_En4 @@ -1364,121 +1109,166 @@ - - - + + + + + + + + + - - + + + + + + + + - - + + - - u1 + + id_Tgt - - + + - - case [ 1 ]: + + id - - + + - - case [ 2 ]: + + Vd_max - - + + - - case [ 3 ]: + + Vd_min - - + + - - default: + + id_max - - - - - - + + + + + + + id_min - - - - - - + + + + + + + Vd - - + + - - action + + if { } - - - - + + + + + + + + + + + + + + + + + + + + + + + - - + + - - action + + Vd_Calculation - - + + + + + + + + - - + + - + action - - + + + + + + + + - - + + - - action + + sfix16_En4 @@ -1489,45 +1279,127 @@ - - - + + + + + + + + + - - + + - + - - + + - - + + u1 - - + + - - + + case [ 1 ]: + + + + + + + + case [ 2 ]: + + + + + + + + case [ 3 ]: + + + + + + + + default: - + + + + - + + + + + + + + + + + action + - - - + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action @@ -1538,122 +1410,130 @@ - - - + + + - + - - + + - - + + - - i_apha + + r_inpTgtSca - - + + - - i_beta + + Vq_max - - + + - - r_sin + + Vq_min - - + + - - r_cos + + n_mot - - + + - - iq_Raw + + iq_limProt - - + + - - id_Raw + + Vq_Spd + + + + + + + + case: { } - + - - + + - + - - + + - - + + - - Park_Transform + + Speed_Mode - + - + - - + + - + sfix16_En4 @@ -1661,21 +1541,21 @@ - + - - + + - - + + - - sfix16_En4 + + action @@ -1686,50 +1566,50 @@ - + - + - - + + - - + + - - + + - - 6 + + - - + + - - - + + + - - + + - - r_devSignal2 + + sfix16_En4 @@ -1740,120 +1620,77 @@ - - - + + + - - - - - - - - + + - - - - - - Vq_prev - - - - - - - - Vq_Open - - - - + + - - default: { } + + - - - - - - - - + + - - - - - - - - - + + + - - + + - - Open_Mode + + sfix16_En4 - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - - action + + [Vq_min] - - - - - - - - - - - - - - - - - sfix16_En4 + + + @@ -1864,50 +1701,29 @@ - - - - - - - - - + + + - - + + - - + + - - + + [n_limProt] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1918,30 +1734,30 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + @@ -1955,23 +1771,8 @@ - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1982,52 +1783,44 @@ - - - + + + - - + + - - - - - - u1 - - - - + + - - if(u1 ~= 0) + + - - + + - - + + - - + + - - action + + sfix16_En4 @@ -2038,28 +1831,28 @@ - - + + - + - + - - [Vq_min] + + [id_min] - + @@ -2071,28 +1864,28 @@ - - + + - + - - + + - - [r_sin] + + [iq_min] - + @@ -2104,28 +1897,28 @@ - - + + - + - + - - [iq_limPrott] + + [iq_max] - + @@ -2137,28 +1930,28 @@ - - + + - + - + - - [r_inpTgtSca] + + [id] - + @@ -2170,28 +1963,28 @@ - - + + - + - - + + - - [id_Tgt] + + [a_elecAngle] - + @@ -2203,28 +1996,28 @@ - - + + - + - - + + - - [id] + + [Vq_Open] - + @@ -2236,62 +2029,92 @@ - - - + + + - - + + - - + + - - [a_elecAngle] + + [id] - - + + - - + + + + + + + + + + + sfix16_En4 + + + + + + - - - + + + - - + + - - + + - - [n_mot] + + [r_inpTgtSca] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2302,29 +2125,44 @@ - - - + + + - - + + - - + + - - [id_max] + + [z_ctrlMod] - - + + + + + + + + + + + + + + + + + uint8 @@ -2335,29 +2173,44 @@ - - - + + + - - + + - - + + - - [Vd_min] + + [n_limProt] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2368,29 +2221,44 @@ - - - + + + - - + + - - + + - - [Vq_prev] + + [Vq] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2401,29 +2269,44 @@ - - - + + + - - + + - - + + - - [Vq_Vlt] + + [id_max] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2434,29 +2317,44 @@ - - - + + + - - + + - - + + - - [Vq_Spd] + + [Vd_min] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2467,29 +2365,44 @@ - - - + + + - - + + - - + + - - [Vq_Trq] + + [Vd_min] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2500,28 +2413,28 @@ - - + + - + - - + + - - [b_motEna] + + [n_motAbs] - + @@ -2533,28 +2446,28 @@ - - + + - + - + - - [Vq] + + [Vq_max] - + @@ -2566,29 +2479,44 @@ - - - - - - + + + + + + - - + + - - [z_ctrlMod] + + [id_TgtAbs] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2609,11 +2537,11 @@ - + - + [iq_limPrott] @@ -2631,11 +2559,11 @@ - - + + - + sfix16_En4 @@ -2647,43 +2575,43 @@ - - + + - + - + - - [n_limProt] + + [Vq_Vlt] - + - + - - + + - + sfix16_En4 @@ -2695,43 +2623,43 @@ - - + + - + - + - - [n_mot] + + [iq] - + - + - - + + - + sfix16_En4 @@ -2743,29 +2671,44 @@ - - - + + + - - + + - - + + - + [iq_max] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2776,43 +2719,43 @@ - - + + - + - + - - [iq_limPrott] + + [Vq] - + - + - - + + - + sfix16_En4 @@ -2824,45 +2767,44 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + [Vq_min] - - - - - + + + + - - - + + + + + + + + + + + sfix16_En4 @@ -2873,43 +2815,43 @@ - - + + - + - + - - [id_min] + + [Vd] - + - + - - + + - + sfix16_En4 @@ -2921,43 +2863,43 @@ - - + + - + - + - - [Vd_min] + + [r_inpTgtSca] - + - + - - + + - + sfix16_En4 @@ -2969,43 +2911,43 @@ - - + + - + - + - - [Vd_max] + + [n_mot] - + - + - - + + - + sfix16_En4 @@ -3017,29 +2959,44 @@ - - - + + + - - + + - - + + - - [id_TgtAbs] + + [b_enaAdvCtrl] - - + + + + + + + + + + + + + + + + + boolean @@ -3050,43 +3007,43 @@ - - + + - + - + - - [Vq_prev] + + [Vq_max] - + - + - - + + - + sfix16_En4 @@ -3098,43 +3055,43 @@ - - + + - + - - + + - - [r_inpTgtSca] + + [id_Tgt] - + - + - - + + - + sfix16_En4 @@ -3146,28 +3103,28 @@ - - + + - + - - + + - - [Vd] + + [r_sin] - + @@ -3179,44 +3136,52 @@ - - - + + + - - + + - - + + - - [Vd_max] + + u1 + + + + + + + + if(u1 ~= 0) - - - + + + - - + + - - + + - - sfix16_En4 + + action @@ -3227,152 +3192,77 @@ - - - + + + - - - - - - - - + + - - - - - - r_inpTgtSca - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - iq_limProt - - - - - - - - n_limProt - - - - - - - - Vq_Vlt - - - - + + - - case: { } + + [iq] - - - - - - - - + + - - - - - - - - - + + + - - + + - - Voltage_Mode + + sfix16_En4 - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - - action + + [n_mot] - - - - - - - - - - - - - - - - - sfix16_En4 + + + @@ -3383,50 +3273,44 @@ - - - - - - - - + + - + - + - - [Vq_Vlt] + + [r_cos] - + - - + + - - + + - - sfix16_En4 + + sfix16_En14 @@ -3437,44 +3321,44 @@ - - + + - + - - + + - - [Vd_min] + + [r_cos] - + - - + + - - + + - - sfix16_En4 + + sfix16_En14 @@ -3485,44 +3369,44 @@ - - + + - + - - + + - - [z_ctrlMod] + + [id_min] - + - - + + - - + + - - uint8 + + sfix16_En4 @@ -3533,44 +3417,29 @@ - - - + + + - - + + - - + + - - + + [Vq] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -3581,44 +3450,44 @@ - - + + - + - - + + - - [Vq_Spd] + + [r_sin] - + - - + + - - + + - - sfix16_En4 + + sfix16_En14 @@ -3629,52 +3498,44 @@ - - - + + + - - + + - - - - - - u1 - - - - + + - - if(u1 ~= 0) + + [Vq_max] - - + + - - + + - - + + - - action + + sfix16_En4 @@ -3685,44 +3546,77 @@ - - + + + + + + + + + + + + + + + + [Vq_Spd] + + + + + + + + + + + + + + + + + + + - + - + - - [iq_max] + + [z_ctrlMod] - + - - + + - - + + - - sfix16_En4 + + uint8 @@ -3733,43 +3627,76 @@ - - + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + - + - + - - [id_Tgt] + + [Vd_max] - + - + - - + + - + sfix16_En4 @@ -3781,43 +3708,43 @@ - - + + - + - + - - [id] + + [Vq_Open] - + - + - - + + - + sfix16_En4 @@ -3829,44 +3756,44 @@ - - + + - + - - + + - - [iq] + + [b_motEna] - + - - + + - - + + - - sfix16_En4 + + boolean @@ -3877,130 +3804,179 @@ - - - + + + - - - - - - - - + + - - + + - - r_inpTgtSca + + [Vq_Trq] - - - - - - - Vq_max + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - Vq_min + + [Vd] + + + + + + + + + + + + + + - - + + - - n_mot + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - iq_limProt + + r_inpTgtSca - - + + - - Vq_Spd + + Vq_Open - - + + - - case: { } + + default: { } - + - - + + - + - - + + - - + + - - Speed_Mode + + Open_Mode - + - + - - + + - + action @@ -4008,20 +3984,20 @@ - + - + - - + + - + sfix16_En4 @@ -4033,35 +4009,50 @@ - + - + - - + + - - + + - - + + - - [iq_min] + + [iq] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -4072,44 +4063,44 @@ - - + + - + - - + + - - [Vq_min] + + [a_elecAngle] - + - + - - + + - - sfix16_En4 + + sfix16_En6 @@ -4120,43 +4111,43 @@ - - + + - + - - + + - - [n_motAbs] + + [r_inpTgtSca] - + - + - - + + - + sfix16_En4 @@ -4168,44 +4159,44 @@ - - + + - + - + - - [r_sin] + + [Vd_max] - + - - + + - - + + - - sfix16_En14 + + sfix16_En4 @@ -4216,44 +4207,29 @@ - - - + + + - - + + - - + + - - [r_sin] + + [Vd_max] - - - - - - - - - - - - - - - - - sfix16_En14 + + @@ -4264,43 +4240,43 @@ - - + + - + - + - - [Vd] + + [Vq_max] - + - + - - + + - + sfix16_En4 @@ -4312,44 +4288,44 @@ - - + + - + - + - - [z_ctrlMod] + + [Vq] - + - - + + - - + + - - uint8 + + sfix16_En4 @@ -4360,43 +4336,43 @@ - - + + - + - + - - [n_mot] + + [Vq_min] - + - + - - + + - + sfix16_En4 @@ -4408,43 +4384,43 @@ - - - + + + - - + + - - + + - - + + [iq_limPrott] - - + + - + - - + + - + sfix16_En4 @@ -4456,44 +4432,44 @@ - - + + - + - - + + - - [b_motEna] + + [Vq_max] - + - - + + - - + + - - boolean + + sfix16_En4 @@ -4504,44 +4480,29 @@ - - - + + + - - + + - - + + - - [Vq_min] + + [Vd] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -4552,44 +4513,44 @@ - - + + - + - + - - [id_max] + + [r_sin] - + - - + + - - + + - - sfix16_En4 + + sfix16_En14 @@ -4600,28 +4561,28 @@ - - + + - + - + - - [Vq_max] + + [iq_limPrott] - + @@ -4633,44 +4594,52 @@ - - - + + + - - + + - - + + - - [Vq_max] + + u1 + + + + + + + + if(u1 ~= 0) - - + + - - + + - - + + - - sfix16_En4 + + action @@ -4681,44 +4650,44 @@ - - + + - + - + - - [b_enaFOC] + + [r_inpTgtSca] - + - - + + - - + + - - boolean + + sfix16_En4 @@ -4729,44 +4698,29 @@ - - - + + + - - + + - - + + - - [id_Tgt] + + [iq] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -4777,43 +4731,143 @@ - - - + + + - - + + + + + + + + - - + + - - [r_inpTgtSca] + + i_apha + + + + + + + + i_beta + + + + + + + + r_sin + + + + + + + + r_cos + + + + + + + + iq_Raw + + + + + + + + id_Raw - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Park_Transform - + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + - - + + - + sfix16_En4 @@ -4825,28 +4879,34 @@ - - + + + + + + + + - + - + - - [iq] + + [Vd_min] - + @@ -4858,44 +4918,44 @@ - - - + + + - - + + - - + + - - [b_enaFOC] + + 4 - - + + - - - + + + - - + + - - boolean + + r_devSignal2 @@ -4906,43 +4966,59 @@ - - - + + + - - + + - + - - + + - - [id] + + + + + + + + + + + + + + + + + + - - + + - + - - + + - + sfix16_En4 @@ -4954,43 +5030,156 @@ - - - + + + - - + + + + + + + + - - + + - - [r_inpTgtSca] + + iq_raw - - - + + + + + + + id_raw + + + + + + + + iq + + + + + + + + id + + + + + + + + if { } + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Current_Filtering - + + + + + + + - - + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + - + sfix16_En4 @@ -5002,44 +5191,51 @@ - - - + + + + + + + + + - - + + - + - - + + - - [iq_min] + + + + + + + + + + - - - - + - - - - - - - - - - - sfix16_En4 + + + + + + + @@ -5050,44 +5246,44 @@ - - - + + + - - + + - - + + - - [r_inpTgtSca] + + if { } - - + + - - - + + + - - + + - - sfix16_En4 + + Action Port @@ -5098,44 +5294,44 @@ - - + + - + - + - - [Vq_max] + + [b_enaAdvCtrl] - + - - + + - - + + - - sfix16_En4 + + boolean @@ -5146,29 +5342,44 @@ - - - + + + - - + + - - + + - - [b_enaFOC] + + [Vd] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -5179,43 +5390,43 @@ - - - + + + - - + + - - + + - - + + [Vq_Spd] - - + + - + - - + + - + sfix16_En4 @@ -5227,408 +5438,43 @@ - - - + + + - - + + - - + + - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_limProt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - id_Tgt - - - - - - - - id - - - - - - - - Vd_max - - - - - - - - Vd_min - - - - - - - - id_max - - - - - - - - id_min - - - - - - - - Vd - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Vd_Calculation - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + [Vq_min] - + - + - - + + - + sfix16_En4 @@ -5640,529 +5486,383 @@ - - - - - - - - - - - - - - - - [Vq_Open] - - - - - - - - - - - - - - - - - - - - + + + - + - - + + - - + + - - iq_raw + + z_ctrlMod - - + + - - id_raw + + Vd - - + + - - iq + + id_TgtAbs - - + + - - id + + iq - - + + - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - + + n_mot - - + + - - Current_Filtering - - - - - - - - - - - - - + + Vd_max - - + + - - sfix16_En4 - - - - - - - - - - - - - + + Vd_min - - + + - - sfix16_En4 + + Vq_max - - - - - - - - + + + - - + + Vq_min - - + + - - action + + id_max - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - [r_cos] - - - - - - - + + id_min - - - - - - - - - - - - - - - - - - - - + + - - [Vq] - - - - - - - - - - - - - - + + iq_max - - + + - - sfix16_En4 + + iq_min + + + + + + + + iq_limProt - - - - - - - - - - - - - - - - - - - - + + - - [a_elecAngle] + + n_limProt - - + + + + + + + + - - - + + + + + + + + + - - + + - - ufix16_En6 + + Motor_Limitations - - - - - - - - - - - - - - - + - - + + + + + + + + + + + - - [id_min] + + sfix16_En4 - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - r_inpTgtSca + + sfix16_En4 + + + + - - - + + + + - - Vq_max + + - - + + - - Vq_min + + sfix16_En4 + + + + - - - + + + + - - iq + + - - + + - - iq_max + + sfix16_En4 + + + + - - - + + + + - - iq_min + + - - + + - - n_limProt + + sfix16_En4 + + + + - - - + + + + - - Vq_Trq + + - - + + - - case: { } + + sfix16_En4 - + - + - - + + + + + + + + + + sfix16_En4 - + - + - - + + - - + + - - Torque_Mode + + sfix16_En4 - + - - + + - - + + - - action + + sfix16_En4 - + - + - - + + - + sfix16_En4 @@ -6174,49 +5874,49 @@ - + - + - + - + - + - - [Vq_min] + + [id] - + - + - - + + - + sfix16_En4 @@ -6226,6 +5926,39 @@ + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + @@ -6238,11 +5971,11 @@ - + - + 6 @@ -6260,11 +5993,11 @@ - - + + - + n_motAbs @@ -6275,11 +6008,11 @@ - - + + - + sfix16_En4 @@ -6291,43 +6024,58 @@ - - - + + + - - + + - - + + - - [Vq_Open] + + 5 - - + + + + + + + + + + + + + + + + + n_mot - + - - + + - + sfix16_En4 @@ -6339,43 +6087,43 @@ - - + + - + - + - - [n_limProt] + + [iq_min] - + - + - - + + - + sfix16_En4 @@ -6387,59 +6135,59 @@ - - + + - + - + - - 5 + + 4 - + - - + + - - + + - - n_mot + + b_motEna - - + + - - + + - - sfix16_En4 + + boolean @@ -6450,58 +6198,76 @@ - - - + + + - - + + - - + + - - 4 + + [r_inpTgtSca] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - r_inpTgtSca + + [Vq_Trq] + + + + + + + - + - - + + - + sfix16_En4 @@ -6513,43 +6279,127 @@ - - - + + + - - + + + + + + + + - - + + - - [iq] + + i_phaAB + + + + + + + + i_phaBC + + + + + + + + i_alpha + + + + + + + + i_beta - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clarke_Transform - + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + - - + + - + sfix16_En4 @@ -6561,44 +6411,35 @@ - - - + + + + + + + + + - - + + - - + + - - [Vq_max] + + [z_ctrlMod] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -6609,44 +6450,44 @@ - - + + - + - + - - [r_cos] + + [id] - + - - + + - - + + - - sfix16_En14 + + sfix16_En4 @@ -6657,7 +6498,7 @@ - + @@ -6667,11 +6508,11 @@ - + - + 3 @@ -6686,30 +6527,30 @@ - + - - + + - - b_motEna + + r_inpTgtSca - + - - + + - - boolean + + sfix16_En4 @@ -6720,43 +6561,43 @@ - - + + - + - + - - [Vd] + + [r_inpTgtSca] - + - + - - + + - + sfix16_En4 @@ -6768,432 +6609,188 @@ - - + + - + - + - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z_ctrlMod - - - - - - - - Vd - - - - - - - - id_TgtAbs - - - - - - - - iq - - - - - - - - n_mot - - - - - - - - Vd_max - - - - - - - - Vd_min - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - id_max - - - - - - - - id_min - - - - - - - - iq_max - - - - - - - - iq_min - - - - - - - - iq_limProt - - - - - - - - n_limProt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Motor_Limitations - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 + + [id_Tgt] - - - - - - - - - - - - - - - - - sfix16_En4 + + + - - - - - - - + - - + + - + sfix16_En4 - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - - sfix16_En4 + + [iq] + + + + + + + - - - - - - - + - - + + - + sfix16_En4 - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - - sfix16_En4 + + [Vq_Vlt] - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + - - sfix16_En4 + + 7 - - - - - - - - - + + + + + + + + + + - - + + - - sfix16_En4 + + a_elecAngle - - - - - - - + - - + + - - sfix16_En4 + + sfix16_En6 @@ -7204,49 +6801,43 @@ - - - - - - - - + + - + - + - - [Vq_Trq] + + [n_mot] - + - + - - + + - + sfix16_En4 @@ -7258,169 +6849,179 @@ - - - + + + - - + + - - + + - - 2 + + [id_TgtAbs] - - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca - - + + - - z_ctrlMod + + Vq_max - - - - - - + + + + + + + Vq_min - - + + - - uint8 + + iq + + + + + + + + iq_max - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - i_phaAB + + iq_min - - + + - - i_phaBC + + n_limProt - - + + - - i_alpha + + Vq_Trq - - + + - - i_beta + + case: { } - + - - + + - + - - + + - - + + - - Clarke_Transform + + Torque_Mode - + - + - - + + - + sfix16_En4 @@ -7428,21 +7029,21 @@ - + - - + + - - + + - - sfix16_En4 + + action @@ -7453,50 +7054,35 @@ - + - + - - + + - - + + - - + + - - [iq] + + [id_max] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -7507,59 +7093,44 @@ - - - + + + - - + + - - + + - - 7 + + [r_inpTgtSca] - - - - - - - - - - - - - - - - - a_elecAngle + + - - + + - - + + - - ufix16_En6 + + sfix16_En4 @@ -7570,43 +7141,43 @@ - - + + - + - + - - [id_TgtAbs] + + [n_limProt] - + - + - - + + - + sfix16_En4 @@ -7618,44 +7189,62 @@ - - - + + + - - + + - - + + - - [id] + + [id_Tgt] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - sfix16_En4 + + [b_motEna] + + + + + + + @@ -7666,44 +7255,44 @@ - - - + + + - - + + - - + + - - if { } + + [n_motAbs] - - + + - - - + + + - - + + - - Action Port + + sfix16_En4 @@ -7714,44 +7303,59 @@ - - - + + + - - + + - - + + - - [Vq] + + 2 - - + + + + + + + + + + + + + + + + + z_ctrlMod - - + + - - + + - - sfix16_En4 + + uint8 @@ -7761,45 +7365,60 @@ - - - - + + + + - - + + - - + + - - [r_cos] + + 1 - - + + + + + + + + + + + + + + + + + b_enaAdvCtrl - - + + - - + + - - sfix16_En14 + + boolean @@ -7810,43 +7429,43 @@ - - + + - + - + - - [Vd] + + [Vq_min] - + - + - - + + - + sfix16_En4 @@ -7860,73 +7479,73 @@ - + - + - + - + - + a_elecAngle - + - + r_inpTgtSca - + - + n_motAbs - + - + r_sin - + - + r_cos - + - + id_Tgt - + - + id_TgtAbs @@ -7934,7 +7553,7 @@ - + @@ -7947,7 +7566,7 @@ - + @@ -7956,11 +7575,11 @@ - - + + - + Field_Weakening @@ -7968,7 +7587,7 @@ - + @@ -7977,11 +7596,11 @@ - - + + - + sfix16_En14 @@ -7989,7 +7608,7 @@ - + @@ -7998,11 +7617,11 @@ - - + + - + sfix16_En14 @@ -8010,7 +7629,7 @@ - + @@ -8019,11 +7638,11 @@ - - + + - + sfix16_En4 @@ -8031,7 +7650,7 @@ - + @@ -8040,11 +7659,11 @@ - - + + - + sfix16_En4 @@ -8056,112 +7675,49 @@ - + - + - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_enaFOC - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - + + - - + + - - + + - - [Vq] + + - - + + - + - - + + - + sfix16_En4 @@ -8185,42 +7741,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -8230,11 +7758,11 @@ - + - + @@ -8272,39 +7800,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -8342,11 +7842,11 @@ - + - + @@ -8356,11 +7856,11 @@ - + - + @@ -8398,11 +7898,11 @@ - + - + @@ -8412,11 +7912,11 @@ - + - + @@ -8426,11 +7926,11 @@ - + - + @@ -8440,11 +7940,11 @@ - + - + @@ -8454,11 +7954,11 @@ - + - + @@ -8468,11 +7968,11 @@ - + - + @@ -8482,11 +7982,11 @@ - + - + @@ -8524,11 +8024,11 @@ - + - + @@ -8538,11 +8038,11 @@ - + - + @@ -8552,11 +8052,11 @@ - + - + @@ -8566,11 +8066,11 @@ - + - + @@ -8580,11 +8080,11 @@ - + - + @@ -8594,11 +8094,11 @@ - + - + @@ -8608,11 +8108,11 @@ - + - + @@ -8622,11 +8122,11 @@ - + - + @@ -8772,11 +8272,11 @@ - + - + @@ -8828,11 +8328,11 @@ - + - + @@ -8870,11 +8370,11 @@ - + - + @@ -8895,20 +8395,6 @@ - - - - - - - - - - - - - - @@ -9178,11 +8664,11 @@ - + - + @@ -9192,11 +8678,11 @@ - + - + @@ -9206,11 +8692,11 @@ - + - + @@ -9220,11 +8706,11 @@ - + - + @@ -9234,11 +8720,11 @@ - + - + @@ -9248,45 +8734,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -9814,11 +9266,11 @@ - + - + @@ -9828,11 +9280,11 @@ - + - + @@ -9884,11 +9336,11 @@ - + - + @@ -9909,7 +9361,21 @@ + + + + + + + + + + + + + + - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.json index 7724a65..b312612 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.json @@ -80,81 +80,73 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8723", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8724", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"b_selPhaABCurrMeas", - "label":"b_selPhaABCurrMeas", + "name":"i_alpha", + "label":"i_alpha", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "b_selPhaABCurrMeas", - "on", - "inf", + "1", + "Port number", "[]", "[]", - "boolean", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", "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:8722", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge1", - "label":"Merge1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "Inputs", - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets" - ], - "values":[ - "2", "[]", "off", - "[]" + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes", + "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 3 + 2, + 11 ] }, "viewer":{ @@ -163,7 +155,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Merge", + "blocktype":"Outport", "masktype":"" } }, @@ -176,16 +168,16 @@ "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ - "Inputs", "InitialOutput", "AllowUnequalInputPortWidths", - "InputPortOffsets" + "InputPortOffsets", + "Inputs" ], "values":[ - "2", "[]", "off", - "[]" + "[]", + "2" ], "tabs":[ "Parameter Attributes", @@ -193,7 +185,7 @@ ], "tabs_idx":[ 0, - 3 + 1 ] }, "viewer":{ @@ -249,6 +241,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8719", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_beta", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8718", "className":"Simulink.Goto", @@ -283,73 +308,32 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8724", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8722", + "className":"Simulink.Merge", "icon":"WebViewIcon3", - "name":"i_alpha", - "label":"i_alpha", + "name":"Merge1", + "label":"Merge1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "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" + "AllowUnequalInputPortWidths", + "InputPortOffsets", + "Inputs" ], "values":[ - "1", - "Port number", "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", "off", "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "2" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 1 ] }, "viewer":{ @@ -358,16 +342,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Merge", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8719", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8716", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ @@ -376,7 +360,7 @@ "IconDisplay" ], "values":[ - "i_beta", + "i_alphaBC", "local", "Tag" ], @@ -396,11 +380,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8715", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8717", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ @@ -409,7 +393,7 @@ "IconDisplay" ], "values":[ - "i_phaBC", + "i_betaAB", "local", "Tag" ], @@ -429,11 +413,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8713", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8715", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto15", + "label":"Goto15", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ @@ -442,7 +426,7 @@ "IconDisplay" ], "values":[ - "i_alphaAB", + "i_phaBC", "local", "Tag" ], @@ -462,11 +446,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8714", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8713", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ @@ -475,7 +459,7 @@ "IconDisplay" ], "values":[ - "i_phaAB", + "i_alphaAB", "local", "Tag" ], @@ -495,11 +479,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8711", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8710", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"From8", + "label":"From8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ @@ -526,19 +510,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8710", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8712", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "i_phaBC", + "i_alpha", + "local", "Tag" ], "tabs":[ @@ -552,16 +538,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8707", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8708", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From6", + "label":"From6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ @@ -569,7 +555,7 @@ "IconDisplay" ], "values":[ - "i_beta", + "i_phaAB", "Tag" ], "tabs":[ @@ -588,42 +574,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8708", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8707", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "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:8706", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From5", + "label":"From5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ @@ -631,7 +586,7 @@ "IconDisplay" ], "values":[ - "i_alpha", + "i_beta", "Tag" ], "tabs":[ @@ -743,21 +698,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8712", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8709", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"From7", + "label":"From7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "i_alpha", - "local", + "i_phaAB", "Tag" ], "tabs":[ @@ -771,26 +724,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8717", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8711", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"From9", + "label":"From9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "i_betaAB", - "local", + "i_phaBC", "Tag" ], "tabs":[ @@ -804,16 +755,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Clarke_PhasesAB", - "label":"Clarke_PhasesAB", + "name":"Clarke_PhasesBC", + "label":"Clarke_PhasesBC", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ @@ -906,33 +857,99 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8709", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_PhasesAB", + "label":"Clarke_PhasesAB", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" ], "values":[ - "i_phaAB", - "Tag" + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ - "Parameter Attributes" + "Main", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 6 + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"SubSystem", "masktype":"" } }, @@ -1004,11 +1021,42 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8716", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8706", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_alpha", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8714", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"Goto13", + "label":"Goto13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "inspector":{ "params":[ @@ -1017,7 +1065,7 @@ "IconDisplay" ], "values":[ - "i_alphaBC", + "i_phaAB", "local", "Tag" ], @@ -1036,6 +1084,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8702", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_alphaAB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8669", "className":"Simulink.Inport", @@ -1104,130 +1183,51 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clarke_PhasesBC", - "label":"Clarke_PhasesBC", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8723", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"b_selPhaABCurrMeas", + "label":"b_selPhaABCurrMeas", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "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" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", + "b_selPhaABCurrMeas", "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", + "inf", + "[]", + "[]", + "boolean", "off", - "" + "inf" ], "tabs":[ "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 3, + 7 ] }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8702", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_alphaAB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Constant", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.png index e74f030..f141fe4 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.svg index 4d02ec2..cc2b3fb 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.svg @@ -61,123 +61,44 @@ - - - + + + - - + + - + - - b_selPhaABCurrMeas + + 1 - - + + - - + + - - - - - b_selPhaABCurrMeas - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - sfix16_En4 + + i_alpha @@ -190,7 +111,7 @@ - + @@ -198,19 +119,19 @@ - + - + - + - + @@ -236,11 +157,11 @@ - + - + sfix16_En4 @@ -254,7 +175,7 @@ - + @@ -262,27 +183,27 @@ - + - + u1 - + - + if(u1 ~= 0) - + - + else @@ -296,30 +217,30 @@ - + - - + + - + action - + - - + + - + action @@ -329,6 +250,39 @@ + + + + + + + + + + + + + + + + + + [i_beta] + + + + + + + + + + + + + + + @@ -341,11 +295,11 @@ - + - + [i_betaBC] @@ -364,44 +318,60 @@ - - - + + + - - + + - + - - + + - - 1 + + + + + + + + + + + + + + + + + + - - + + - - - + + + - - + + - - i_alpha + + sfix16_En4 @@ -412,28 +382,28 @@ - - + + - + - + - - [i_beta] + + [i_alphaBC] - + @@ -445,28 +415,28 @@ - - + + - + - + - - [i_phaBC] + + [i_betaAB] - + @@ -478,28 +448,28 @@ - - + + - + - + - - [i_alphaAB] + + [i_phaBC] - + @@ -511,28 +481,28 @@ - - + + - + - + - - [i_phaAB] + + [i_alphaAB] - + @@ -544,43 +514,43 @@ - - + + - + - + - + [i_phaBC] - + - + - - + + - + sfix16_En4 @@ -592,92 +562,29 @@ - - - - - - + + + - - - - - - - - - [i_phaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - + + - - + + - - [i_beta] + + [i_alpha] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -698,11 +605,11 @@ - + - + [i_phaAB] @@ -720,11 +627,11 @@ - + - + sfix16_En4 @@ -736,43 +643,43 @@ - - + + - + - + - - [i_alpha] + + [i_beta] - + - + - - + + - + sfix16_En4 @@ -794,11 +701,11 @@ - + - + [i_betaBC] @@ -816,11 +723,11 @@ - + - + sfix16_En4 @@ -842,11 +749,11 @@ - + - + [i_betaAB] @@ -864,11 +771,11 @@ - + - + sfix16_En4 @@ -890,11 +797,11 @@ - + - + [i_alphaBC] @@ -912,11 +819,11 @@ - + - + sfix16_En4 @@ -928,29 +835,44 @@ - - - + + + - - + + - - + + - - [i_alpha] + + [i_phaAB] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -961,29 +883,44 @@ - - - + + + - - + + - - + + - - [i_betaAB] + + [i_phaBC] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -994,9 +931,9 @@ - - - + + + @@ -1004,50 +941,50 @@ - + - + - - i_phaA + + i_phaB - + - - i_phaB + + i_phaC - + - - i_alphaAB + + i_alphaBC - + - - i_betaAB + + i_betaBC - + - - if { } + + else { } @@ -1059,7 +996,7 @@ - + @@ -1072,16 +1009,16 @@ - - + + - - + + - - Clarke_PhasesAB + + Clarke_PhasesBC @@ -1093,15 +1030,15 @@ - + - - + + - + sfix16_En4 @@ -1114,16 +1051,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -1135,16 +1072,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -1155,49 +1092,162 @@ - + - - + + - - + + + + + + + + - - + + - - [i_phaAB] + + i_phaA + + + + + + + + i_phaB + + + + + + + + i_alphaAB + + + + + + + + i_betaAB + + + + + + + + if { } - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clarke_PhasesAB - + + + + + + + + + + + + + + + + action + + + + + + + + + + + + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1210,6 +1260,12 @@ + + + + + + @@ -1219,11 +1275,11 @@ - + - + 2 @@ -1241,11 +1297,11 @@ - + - + i_phaBC @@ -1256,11 +1312,11 @@ - + - + sfix16_En4 @@ -1272,29 +1328,44 @@ - - - + + + - - + + - - + + - - [i_alphaBC] + + [i_alpha] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1305,58 +1376,76 @@ - - - + + + - - + + - - + + - - 1 + + [i_phaAB] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - i_phaAB + + [i_alphaAB] + + + + + + + - + - - + + - + sfix16_En4 @@ -1368,156 +1457,58 @@ - - - + + + - - - - - - - - + + - - - - - - i_phaB - - - - - - - - i_phaC - - - - - - - - i_alphaBC - - - - - - - - i_betaBC - - - - + + - - else { } + + 1 - - - - - - - - + + - - - - - - - - - - - - - - - - Clarke_PhasesBC - - - - - - - - - - - - - + + - + - - action + + i_phaAB - - - - - - - + - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - + - + sfix16_En4 @@ -1529,50 +1520,59 @@ - - - - - - - - - + + + - - + + - - + + - - [i_alphaAB] + + b_selPhaABCurrMeas - - + + + + + + + + + + + + + + + + + b_selPhaABCurrMeas - - + + - + - - sfix16_En4 + + boolean @@ -1877,5 +1877,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.json index 12ebfbc..31b5e43 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.json @@ -128,6 +128,152 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8681", + "className":"Simulink.SignalConversion", + "icon":"WebViewIcon3", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "inspector":{ + "params":[ + "ConversionOutput", + "OutDataTypeStr", + "OverrideOpt" + ], + "values":[ + "Signal copy", + "Inherit: auto", + "off" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SignalConversion", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8684", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"i_betaAB", + "label":"i_betaAB", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8679", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_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:8682", "className":"Simulink.Sum", @@ -188,53 +334,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8678", - "className":"Simulink.Gain", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8680", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Gain4", - "label":"Gain4", + "name":"Goto15", + "label":"Goto15", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", "inspector":{ "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "1/sqrt(3)", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" + "i_phaB", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -242,7 +362,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"Goto", "masktype":"" } }, @@ -278,21 +398,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8679", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8676", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "i_phaA", - "local", + "i_phaB", "Tag" ], "tabs":[ @@ -306,16 +424,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8677", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8678", "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"Gain2", - "label":"Gain2", + "name":"Gain4", + "label":"Gain4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", "inspector":{ "params":[ @@ -333,7 +451,7 @@ "SampleTime" ], "values":[ - "2/sqrt(3)", + "1/sqrt(3)", "Element-wise(K.*u)", "[]", "[]", @@ -468,123 +586,51 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8680", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_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:8676", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8672", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8677", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"i_phaA", - "label":"i_phaA", + "name":"Gain2", + "label":"Gain2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Gain", + "Multiplication", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "1", - "Port number", + "2/sqrt(3)", + "Element-wise(K.*u)", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", + "Inherit: Same as input", "off", + "Zero", "off", - "off" + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" ], "tabs":[ "Main", "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, 2, + 8, 11 ] }, @@ -594,16 +640,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Gain", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8684", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8672", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"i_betaAB", - "label":"i_betaAB", + "name":"i_phaA", + "label":"i_phaA", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", "inspector":{ "params":[ @@ -619,20 +665,14 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -644,17 +684,10 @@ "-1", "auto", "off", + "", + "on", "off", - "[]", - "off", - "held", "off", - "0", - "", - [ - ], - "Dialog", - "Auto", "off" ], "tabs":[ @@ -674,40 +707,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8681", - "className":"Simulink.SignalConversion", - "icon":"WebViewIcon3", - "name":"Signal Conversion2", - "label":"Signal Conversion2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "inspector":{ - "params":[ - "ConversionOutput", - "OutDataTypeStr", - "OverrideOpt" - ], - "values":[ - "Signal copy", - "Inherit: auto", - "off" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SignalConversion", + "blocktype":"Inport", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.svg index 5d73a5d..04e1cb8 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8671_d.svg @@ -110,6 +110,263 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_betaAB + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaA] + + + + + + + + + + + + + + + @@ -122,35 +379,35 @@ - + - + - + - + - + - + - + - + @@ -168,11 +425,11 @@ - + - + sfix16_En4 @@ -184,44 +441,29 @@ - - - + + + - - + + - - + + - - 1/sqrt(3) + + [i_phaB] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -242,11 +484,11 @@ - + - + [i_phaA] @@ -264,11 +506,11 @@ - + - + sfix16_En4 @@ -280,29 +522,44 @@ - - - + + + - - + + - - + + - - [i_phaA] + + [i_phaB] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -313,43 +570,43 @@ - - + + - + - + - - 2/sqrt(3) + + 1/sqrt(3) - + - + - - + + - + sfix16_En4 @@ -371,11 +628,11 @@ - + - + if { } @@ -393,11 +650,11 @@ - + - + Action Port @@ -419,11 +676,11 @@ - + - + 2 @@ -441,11 +698,11 @@ - + - + i_phaB @@ -456,11 +713,11 @@ - + - + sfix16_En4 @@ -472,76 +729,43 @@ - - - - - - - - - - - - - - - - [i_phaB] - - - - - - - - - - - - - - - - - - - - + + + - - + + - - + + - - [i_phaB] + + 2/sqrt(3) - - + + - + - - + + - + sfix16_En4 @@ -563,11 +787,11 @@ - + - + 1 @@ -585,11 +809,11 @@ - + - + i_phaA @@ -599,236 +823,12 @@ - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_betaAB - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + sfix16_En4 @@ -972,5 +972,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.json index 2e97661..e4fc5cc 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.json @@ -49,11 +49,11 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8700", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8699", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"i_betaBC", - "label":"i_betaBC", + "name":"i_alphaBC", + "label":"i_alphaBC", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "inspector":{ "params":[ @@ -82,7 +82,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -129,42 +129,63 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8698", - "className":"Simulink.Sum", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8700", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", + "name":"i_betaBC", + "label":"i_betaBC", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "rectangular", - "+-", - "off", - "Inherit: Inherit via internal rule", + "2", + "Port number", "[]", "[]", - "fixdt(1,16,4)", + "Inherit: auto", "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -174,7 +195,7 @@ "tabs_idx":[ 0, 2, - 10 + 11 ] }, "viewer":{ @@ -183,16 +204,49 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8697", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8695", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_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:8698", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", + "name":"Sum3", + "label":"Sum3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "inspector":{ "params":[ @@ -212,7 +266,7 @@ ], "values":[ "rectangular", - "--", + "+-", "off", "Inherit: Inherit via internal rule", "[]", @@ -337,19 +391,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8692", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8696", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"Goto15", + "label":"Goto15", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "i_phaB", + "i_phaC", + "local", "Tag" ], "tabs":[ @@ -363,16 +419,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8691", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8692", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From4", + "label":"From4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "inspector":{ "params":[ @@ -380,7 +436,7 @@ "IconDisplay" ], "values":[ - "i_phaC", + "i_phaB", "Tag" ], "tabs":[ @@ -399,11 +455,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8690", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8691", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From3", + "label":"From3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "inspector":{ "params":[ @@ -411,7 +467,7 @@ "IconDisplay" ], "values":[ - "i_phaB", + "i_phaC", "Tag" ], "tabs":[ @@ -430,25 +486,53 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8689", - "className":"Simulink.ActionPort", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8697", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"Sum1", + "label":"Sum1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "held", - "Only when execution is resumed" + "rectangular", + "--", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 10 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -456,26 +540,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8696", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8690", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "i_phaC", - "local", + "i_phaB", "Tag" ], "tabs":[ @@ -489,66 +571,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8688", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8689", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"i_phaC", - "label":"i_phaC", + "name":"Action Port", + "label":"Action Port", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "held", + "Only when execution is resumed" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -556,16 +602,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"ActionPort", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8699", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8688", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"i_alphaBC", - "label":"i_alphaBC", + "name":"i_phaC", + "label":"i_phaC", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "inspector":{ "params":[ @@ -581,20 +627,14 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -606,17 +646,10 @@ "-1", "auto", "off", + "", + "on", "off", - "[]", - "off", - "held", "off", - "0", - "", - [ - ], - "Dialog", - "Auto", "off" ], "tabs":[ @@ -636,7 +669,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Inport", "masktype":"" } }, @@ -707,39 +740,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8695", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_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:8691#out:1", "className":"Simulink.Line", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.svg index a46a9c2..8c4f534 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.svg @@ -64,11 +64,11 @@ - - + + - + @@ -78,30 +78,30 @@ - - 2 + + 1 - + - - + + - + - - i_betaBC + + i_alphaBC @@ -112,60 +112,77 @@ - - - + + + - - + + - + - - + + 2 - - - - - - - + + + + + + + + + + + + + - - + + - - + + i_betaBC - - - - - + + + + + + + + + + + + - - - - + - + - - sfix16_En4 + + [i_phaB] + + + + + + + @@ -176,51 +193,59 @@ - - + + - + - + - + - + - + + + + + + + + + - + - + - - + + - + sfix16_En4 @@ -242,11 +267,11 @@ - + - + 1/sqrt(3) @@ -264,11 +289,11 @@ - + - + sfix16_En4 @@ -290,11 +315,11 @@ - + - + [i_phaC] @@ -312,11 +337,11 @@ - + - + sfix16_En4 @@ -326,6 +351,39 @@ + + + + + + + + + + + + + + + + + + [i_phaC] + + + + + + + + + + + + + + + @@ -338,11 +396,11 @@ - + - + [i_phaB] @@ -360,11 +418,11 @@ - + - + sfix16_En4 @@ -386,11 +444,11 @@ - + - + [i_phaC] @@ -408,11 +466,67 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -434,11 +548,11 @@ - + - + [i_phaB] @@ -456,11 +570,11 @@ - + - + sfix16_En4 @@ -482,11 +596,11 @@ - + - + else { } @@ -504,11 +618,11 @@ - + - + Action Port @@ -518,39 +632,6 @@ - - - - - - - - - - - - - - - - - - [i_phaC] - - - - - - - - - - - - - - - @@ -563,11 +644,11 @@ - + - + 2 @@ -585,11 +666,11 @@ - + - + i_phaC @@ -600,11 +681,11 @@ - + - + sfix16_En4 @@ -614,54 +695,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - i_alphaBC - - - - - - - - @@ -674,11 +707,11 @@ - + - + 1 @@ -696,11 +729,11 @@ - + - + i_phaB @@ -711,11 +744,11 @@ - + - + sfix16_En4 @@ -725,39 +758,6 @@ - - - - - - - - - - - - - - - - - - [i_phaB] - - - - - - - - - - - - - - - @@ -886,5 +886,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.json index 47a853f..e655c47 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.json @@ -49,74 +49,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8742", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8739", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"id", - "label":"id", + "name":"Mux2", + "label":"Mux2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", "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" + "Inputs", + "DisplayOption" ], "values":[ "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "bar" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -124,7 +75,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Mux", "masktype":"" } }, @@ -221,39 +172,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8736", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_raw", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8735", "className":"Simulink.Goto", @@ -321,42 +239,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8732", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_raw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8741", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8742", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", + "name":"id", + "label":"id", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ @@ -385,7 +272,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -432,11 +319,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8731", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8733", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From3", + "label":"From3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ @@ -444,7 +331,7 @@ "IconDisplay" ], "values":[ - "id", + "id_raw", "Tag" ], "tabs":[ @@ -463,20 +350,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8739", - "className":"Simulink.Mux", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8731", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "GotoTag", + "IconDisplay" ], "values":[ - "2", - "bar" + "id", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -489,7 +376,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"From", "masktype":"" } }, @@ -558,19 +445,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8733", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8736", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "id_raw", + "local", "Tag" ], "tabs":[ @@ -584,7 +473,38 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9714", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", "masktype":"" } }, @@ -655,39 +575,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8729", - "className":"Simulink.Demux", - "icon":"WebViewIcon3", - "name":"Demux1", - "label":"Demux1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "Outputs", - "DisplayOption", - "BusSelectionMode" - ], - "values":[ - "2", - "bar", - "off" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Demux", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8727", "className":"Simulink.Inport", @@ -756,20 +643,20 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9714", - "className":"Simulink.ActionPort", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8732", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "IconDisplay" ], "values":[ - "reset", - "Only when execution is resumed" + "iq_raw", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -782,7 +669,120 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8729", + "className":"Simulink.Demux", + "icon":"WebViewIcon3", + "name":"Demux1", + "label":"Demux1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "Outputs", + "DisplayOption", + "BusSelectionMode" + ], + "values":[ + "2", + "bar", + "off" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Demux", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8741", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "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":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.png index a19b77f..19748ed 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.svg index 3adbd1d..566362e 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.svg @@ -76,44 +76,44 @@ - - - + + + - - + + - + - - 2 + + - - + + - - - + + + - + - - id + + sfix16_En4 @@ -126,7 +126,7 @@ - + @@ -401,39 +401,6 @@ - - - - - - - - - - - - - - - - - - [id_raw] - - - - - - - - - - - - - - - @@ -446,11 +413,11 @@ - + - + [iq_raw] @@ -479,11 +446,11 @@ - + - + [iq] @@ -502,44 +469,44 @@ - - - + + + - - + + - - + + - - [iq_raw] + + 2 - - + + - - - + + + - - + + - - sfix16_En4 + + id @@ -550,44 +517,44 @@ - - - + + + - - + + - - + + - - 1 + + [id_raw] - - + + - - - + + + - - + + - - iq + + sfix16_En4 @@ -608,11 +575,11 @@ - + - + [id] @@ -630,11 +597,11 @@ - + - + sfix16_En4 @@ -646,43 +613,43 @@ - - - + + + - - + + - - + + - - + + [iq] - - + + - + - - + + - + sfix16_En4 @@ -694,44 +661,29 @@ - - - + + + - - + + - - + + - - [iq] + + [id] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -742,28 +694,28 @@ - - + + - + - + - - [id] + + [id_raw] - + @@ -775,44 +727,44 @@ - - - + + + - - + + - - + + - - [id_raw] + + if { } - - + + - - - + + + - - + + - - sfix16_En4 + + Action Port @@ -833,11 +785,11 @@ - + - + 2 @@ -855,11 +807,11 @@ - + - + id_raw @@ -870,11 +822,11 @@ - + - + sfix16_En4 @@ -886,58 +838,106 @@ - - - + + + - - + + - - + + - - + + 1 - - + + + + + + + + + + + + + + + + + iq_raw - + - - + + - + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + [iq_raw] + + + + + + + + + + + - + - + - + sfix16_En4 @@ -949,58 +949,58 @@ - - - + + + - - + + - + - - 1 + + - - + + - - - + + + - + - - iq_raw + + sfix16_En4 - + - + - + sfix16_En4 @@ -1012,44 +1012,44 @@ - - - + + + - - + + - + - - if { } + + 1 - - + + - - + + - + - - Action Port + + iq @@ -1214,5 +1214,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.json index 2c71ba1..045c870 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.json @@ -1,41 +1,62 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2405", - "className":"Simulink.Sum", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2407", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Sum5", - "label":"Sum5", + "name":"y", + "label":"y", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "rectangular", - "+-", - "on", - "Inherit: Same as first input", + "1", + "Port number", "[]", "[]", - "Inherit: Same as first input", + "Inherit: auto", "off", - "Simplest", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", - "1", - "All dimensions", - "-1" + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -45,7 +66,7 @@ "tabs_idx":[ 0, 2, - 10 + 11 ] }, "viewer":{ @@ -54,7 +75,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"Outport", "masktype":"" } }, @@ -109,11 +130,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2404", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2405", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", + "name":"Sum5", + "label":"Sum5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ @@ -133,12 +154,12 @@ ], "values":[ "rectangular", - "++", + "+-", "on", - "Inherit: Inherit via internal rule", + "Inherit: Same as first input", "[]", "[]", - "fixdt(1,16,4)", + "Inherit: Same as first input", "off", "Simplest", "off", @@ -167,6 +188,63 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2403", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2401", "className":"Simulink.Constant", @@ -217,11 +295,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2407", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2400", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"y", - "label":"y", + "name":"coef", + "label":"coef", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ @@ -237,20 +315,14 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -262,17 +334,10 @@ "-1", "auto", "off", + "", + "on", "off", - "[]", - "off", - "held", "off", - "0", - "", - [ - ], - "Dialog", - "Auto", "off" ], "tabs":[ @@ -292,22 +357,23 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2403", - "className":"Simulink.Product", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2404", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"Sum1", + "label":"Sum1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ + "IconShape", "Inputs", - "Multiplication", "InputSameDT", + "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", @@ -319,12 +385,13 @@ "SampleTime" ], "values":[ - "**", - "Element-wise(.*)", - "off", + "rectangular", + "++", + "on", + "Inherit: Inherit via internal rule", "[]", "[]", - "Inherit: Same as first input", + "fixdt(1,16,4)", "off", "Simplest", "off", @@ -340,7 +407,7 @@ "tabs_idx":[ 0, 2, - 9 + 10 ] }, "viewer":{ @@ -349,16 +416,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2400", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2399", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"coef", - "label":"coef", + "name":"u", + "label":"u", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", "inspector":{ "params":[ @@ -381,7 +448,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -477,73 +544,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738:2399", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"u", - "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8738", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "1", - "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:8738:2399#out:1", "className":"Simulink.Line", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.svg index 3ad0390..940bad5 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.svg @@ -13,60 +13,44 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - + - - + + 1 - - + + - - - + + + - - + + - - ufix16_En16 + + y @@ -79,7 +63,7 @@ - + @@ -87,35 +71,35 @@ - + - + - + - + - + - + - + - + @@ -141,11 +125,11 @@ - + - + sfix16_En4 @@ -157,67 +141,115 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + - + - - + + ufix16_En16 + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - - + + - + - - + + - + sfix16_En4 @@ -239,11 +271,11 @@ - + - + 1 @@ -261,11 +293,11 @@ - + - + ufix16_En16 @@ -277,44 +309,59 @@ - - + + - + - + - - 1 + + 2 - + - - + + - - + + - - y + + coef + + + + + + + + + + + + + + + ufix16_En16 @@ -325,51 +372,67 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + - - + + - + - - + + - + sfix16_En4 @@ -381,59 +444,59 @@ - - + + - + - + - - 2 + + 1 - + - - + + - - + + - - coef + + u - - + + - - + + - - ufix16_En16 + + sfix16_En4 @@ -446,7 +509,7 @@ - + @@ -454,19 +517,19 @@ - + - + - + - + @@ -483,75 +546,12 @@ - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - + - + sfix16_En4 @@ -715,5 +715,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.json index 893359d..c485305 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.json @@ -195,86 +195,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8760", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"id_TgtAbs", - "label":"id_TgtAbs", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "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":[ - "4", - "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:8759", "className":"Simulink.Outport", @@ -356,132 +276,72 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8757", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_sin", - "label":"r_sin", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8756", - "className":"Simulink.Gain", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8753", + "className":"Simulink.PreLookup", "icon":"WebViewIcon3", - "name":"toNegative", - "label":"toNegative", + "name":"r_fieldWeak_XA", + "label":"r_fieldWeak_XA", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", + "BreakpointsSpecification", + "BreakpointsDataSource", + "BreakpointsData", + "OutputSelection", + "IndexSearchMethod", + "ExtrapMethod", + "UseLastBreakpoint", + "DiagnosticForOutOfRangeInput", + "RemoveProtectionInput", + "BreakpointDataTypeStr", + "BreakpointMin", + "BreakpointMax", + "IndexDataTypeStr", + "FractionDataTypeStr", "LockScale", "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", + "BeginIndexSearchUsingPreviousIndexResult", + "BreakpointObject", + "BreakpointsFirstPoint", + "BreakpointsNumPoints", + "BreakpointsSpacing", + "OutputBusDataTypeStr", "SampleTime" ], "values":[ - "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "fixdt(1,16,4)", + "Explicit values", + "Dialog", + "r_fieldWeak_XA", + "Index and fraction", + "Evenly spaced points", + "Clip", "off", - "Zero", + "None", "off", + "Inherit: Same as input", "[]", "[]", - "Inherit: Same as input", + "uint8", + "fixdt(0,8,7)", + "off", + "Simplest", + "on", + "", + "10", + "11", + "10", + "Inherit: auto", "-1" ], "tabs":[ "Main", - "Signal Attributes", - "Parameter Attributes", + "Data Types", "-Other" ], "tabs_idx":[ 0, - 2, - 8, - 11 + 9, + 16 ] }, "viewer":{ @@ -490,7 +350,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"PreLookup", "masktype":"" } }, @@ -576,11 +436,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8754", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8752", "className":"Simulink.Interpolation_nD", "icon":"WebViewIcon3", - "name":"r_cos_M1", - "label":"r_cos_M1", + "name":"id_fieldWeak_M1", + "label":"id_fieldWeak_M1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ @@ -614,19 +474,19 @@ "off", "Explicit values", "Dialog", - "r_cos_M1", - "Flat", + "id_fieldWeak_M1", + "Linear", "Error", - "on", + "off", "0", "on", "Inherit: Same as output", "[]", "[]", - "fixdt(1,16,14)", + "fixdt(1,16,4)", "[]", "[]", - "Speed", + "Precision", "off", "Simplest", "off", @@ -657,122 +517,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8753", - "className":"Simulink.PreLookup", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9650", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"r_fieldWeak_XA", - "label":"r_fieldWeak_XA", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ - "BreakpointsSpecification", - "BreakpointsDataSource", - "BreakpointsData", - "OutputSelection", - "IndexSearchMethod", - "ExtrapMethod", - "UseLastBreakpoint", - "DiagnosticForOutOfRangeInput", - "RemoveProtectionInput", - "BreakpointDataTypeStr", - "BreakpointMin", - "BreakpointMax", - "IndexDataTypeStr", - "FractionDataTypeStr", - "LockScale", - "RndMeth", - "BeginIndexSearchUsingPreviousIndexResult", - "BreakpointObject", - "BreakpointsFirstPoint", - "BreakpointsNumPoints", - "BreakpointsSpacing", - "OutputBusDataTypeStr", - "SampleTime" - ], - "values":[ - "Explicit values", - "Dialog", - "r_fieldWeak_XA", - "Index and fraction", - "Evenly spaced points", - "Clip", - "off", - "Error", - "off", - "Inherit: Same as input", - "[]", - "[]", - "uint8", - "fixdt(0,8,6)", - "off", - "Simplest", - "on", - "", - "10", - "11", - "10", - "Inherit: auto", - "-1" - ], - "tabs":[ - "Main", - "Data Types", - "-Other" - ], - "tabs_idx":[ - 0, - 9, - 16 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"PreLookup", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8749", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"a_elecPeriod1", - "label":"a_elecPeriod1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" + "id_TgtAbs", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -780,7 +545,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Goto", "masktype":"" } }, @@ -825,7 +590,7 @@ "Evenly spaced points", "Clip", "off", - "Error", + "None", "off", "Inherit: Same as input", "[]", @@ -864,51 +629,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8747", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9649", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" + "id_Tgt", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 1, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -916,80 +657,32 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8752", - "className":"Simulink.Interpolation_nD", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9638", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"id_fieldWeak_M1", - "label":"id_fieldWeak_M1", + "name":"Goto12", + "label":"Goto12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ - "NumberOfTableDimensions", - "RequireIndexFractionAsBus", - "TableSpecification", - "TableSource", - "Table", - "InterpMethod", - "DiagnosticForOutOfRangeInput", - "ValidIndexMayReachLast", - "NumSelectionDims", - "RemoveProtectionIndex", - "TableDataTypeStr", - "TableMin", - "TableMax", - "OutDataTypeStr", - "OutMin", - "OutMax", - "InternalRulePriority", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ExtrapMethod", - "IntermediateResultsDataTypeStr", - "LookupTableObject", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "1", - "off", - "Explicit values", - "Dialog", - "id_fieldWeak_M1", - "Linear", - "Error", - "off", - "0", - "on", - "Inherit: Same as output", - "[]", - "[]", - "fixdt(1,16,4)", - "[]", - "[]", - "Precision", - "off", - "Simplest", - "off", - "Clip", - "Inherit: Same as output", - "", - "-1" + "n_motAbs", + "local", + "Tag" ], "tabs":[ - "Main", - "Data Types", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 10, - 20 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -997,16 +690,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Interpolation_n-D", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9639", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9646", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ @@ -1015,7 +708,7 @@ "IconDisplay" ], "values":[ - "a_elecAngle", + "r_cos", "local", "Tag" ], @@ -1035,27 +728,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9650", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8749", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"a_elecPeriod1", + "label":"a_elecPeriod1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_TgtAbs", - "local", - "Tag" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1063,16 +772,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8758", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8760", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"r_cos", - "label":"r_cos", + "name":"id_TgtAbs", + "label":"id_TgtAbs", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ @@ -1101,7 +810,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "4", "Port number", "[]", "[]", @@ -1148,21 +857,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9646", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9653", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"From6", + "label":"From6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "r_cos", - "local", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -1176,7 +883,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, @@ -1230,11 +937,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9645", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9648", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From5", + "label":"From5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ @@ -1242,7 +949,7 @@ "IconDisplay" ], "values":[ - "r_cos", + "id_TgtAbs", "Tag" ], "tabs":[ @@ -1261,19 +968,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9653", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9652", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"Goto27", + "label":"Goto27", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "r_inpTgtSca", + "local", "Tag" ], "tabs":[ @@ -1287,24 +996,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9647", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9639", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "id_Tgt", + "a_elecAngle", + "local", "Tag" ], "tabs":[ @@ -1318,16 +1029,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9643", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9647", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From4", + "label":"From4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ @@ -1335,7 +1046,7 @@ "IconDisplay" ], "values":[ - "r_sin", + "id_Tgt", "Tag" ], "tabs":[ @@ -1354,21 +1065,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9652", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9641", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "r_inpTgtSca", - "local", + "n_motAbs", "Tag" ], "tabs":[ @@ -1382,16 +1091,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9648", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9640", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ @@ -1399,7 +1108,7 @@ "IconDisplay" ], "values":[ - "id_TgtAbs", + "a_elecAngle", "Tag" ], "tabs":[ @@ -1418,32 +1127,38 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8750", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9657", + "className":"Simulink.Relay", "icon":"WebViewIcon3", - "name":"a_elecPeriod3", - "label":"a_elecPeriod3", + "name":"n_fieldWeakAuth", + "label":"n_fieldWeakAuth", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "OnSwitchValue", + "OffSwitchValue", + "OnOutputValue", + "OffOutputValue", + "InputProcessing", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "SampleTime", + "ZeroCross" ], "values":[ + "n_fieldWeakAuthHi", + "n_fieldWeakAuthLo", + "1", "0", - "on", - "inf", + "Elements as channels (sample based)", "[]", "[]", - "uint8", + "boolean", "off", - "inf" + "-1", + "on" ], "tabs":[ "Main", @@ -1452,8 +1167,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 5, + 9 ] }, "viewer":{ @@ -1462,24 +1177,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Relay", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9641", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9644", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "n_motAbs", + "r_sin", + "local", "Tag" ], "tabs":[ @@ -1493,30 +1210,79 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9640", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8758", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"r_cos", + "label":"r_cos", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "a_elecAngle", - "Tag" + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1524,32 +1290,243 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9638", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8747", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"Switch1", + "label":"Switch1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9654", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs5", + "label":"Abs5", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime", + "ZeroCross" + ], + "values":[ + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "-1", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Abs", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8756", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"toNegative", + "label":"toNegative", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "-1", + "Element-wise(K.*u)", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Same as input", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8754", + "className":"Simulink.Interpolation_nD", + "icon":"WebViewIcon3", + "name":"r_cos_M1", + "label":"r_cos_M1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "NumberOfTableDimensions", + "RequireIndexFractionAsBus", + "TableSpecification", + "TableSource", + "Table", + "InterpMethod", + "DiagnosticForOutOfRangeInput", + "ValidIndexMayReachLast", + "NumSelectionDims", + "RemoveProtectionIndex", + "TableDataTypeStr", + "TableMin", + "TableMax", + "OutDataTypeStr", + "OutMin", + "OutMax", + "InternalRulePriority", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ExtrapMethod", + "IntermediateResultsDataTypeStr", + "LookupTableObject", + "SampleTime" ], "values":[ - "n_motAbs", - "local", - "Tag" + "1", + "off", + "Explicit values", + "Dialog", + "r_cos_M1", + "Flat", + "Error", + "on", + "0", + "on", + "Inherit: Same as output", + "[]", + "[]", + "fixdt(1,16,14)", + "[]", + "[]", + "Speed", + "off", + "Simplest", + "off", + "Clip", + "Inherit: Same as output", + "", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Data Types", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 10, + 20 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1557,16 +1534,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Interpolation_n-D", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9651", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8745", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", + "name":"n_motAbs", + "label":"n_motAbs", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ @@ -1589,7 +1566,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "3", "Port number", "[]", "[]", @@ -1629,11 +1606,42 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8745", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9645", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_cos", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9651", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ @@ -1656,7 +1664,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "2", "Port number", "[]", "[]", @@ -1696,54 +1704,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9649", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_Tgt", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9644", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9643", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "r_sin", - "local", "Tag" ], "tabs":[ @@ -1757,43 +1730,37 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9657", - "className":"Simulink.Relay", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8750", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"n_fieldWeakAuth", - "label":"n_fieldWeakAuth", + "name":"a_elecPeriod3", + "label":"a_elecPeriod3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ - "OnSwitchValue", - "OffSwitchValue", - "OnOutputValue", - "OffOutputValue", - "InputProcessing", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "SampleTime", - "ZeroCross" + "FramePeriod" ], "values":[ - "n_fieldWeakAuthHi", - "n_fieldWeakAuthLo", - "1", "0", - "Elements as channels (sample based)", + "on", + "inf", "[]", "[]", - "boolean", + "uint8", "off", - "-1", - "on" + "inf" ], "tabs":[ "Main", @@ -1802,8 +1769,8 @@ ], "tabs_idx":[ 0, - 5, - 9 + 3, + 7 ] }, "viewer":{ @@ -1812,16 +1779,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Relay", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8744", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8757", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", + "name":"r_sin", + "label":"r_sin", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ @@ -1837,11 +1804,17 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ "1", @@ -1856,10 +1829,17 @@ "-1", "auto", "off", - "", - "on", "off", + "[]", + "off", + "held", "off", + "0", + "", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -1879,45 +1859,65 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9654", - "className":"Simulink.Abs", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8744", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Abs5", - "label":"Abs5", + "name":"a_elecAngle", + "label":"a_elecAngle", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ + "1", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", + "Inherit: auto", "off", + "inherit", "-1", - "on" + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ + "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 2, + 11 ] }, "viewer":{ @@ -1926,7 +1926,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Abs", + "blocktype":"Inport", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.png index 2118a1b..6df332f 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.svg index f8dfe23..eb5a011 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8743_d.svg @@ -95,54 +95,6 @@ - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - id_TgtAbs - - - - - - - - @@ -155,11 +107,11 @@ - + - + 3 @@ -177,11 +129,11 @@ - + - + id_Tgt @@ -193,366 +145,276 @@ - - - + + + - - + + - + - - + + - - 1 - - - - - - - - - - - - - - + + - - + + - - r_sin + + - - - - - - - - - - - - - - - - - - - + - - -1 - - - - - - - - - - - - - - + + - + - - sfix16_En4 + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - - - - - - - + + + + + + + + + + + + + + - - - - - - - + + + + + + - - + + - - + + r_fieldWeak_XA + + + + + + + - - + + - - + + ufix8_En7 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - - - + - - + + uint8 + + + + + + + + + + + + + + + + + + - - + + - - + + @@ -560,7 +422,7 @@ - + @@ -568,7 +430,7 @@ - + @@ -576,7 +438,7 @@ - + @@ -584,435 +446,491 @@ - + - + - - 1-D T(k,f) + + - + - - k1 + + - + - - f1 - - - - - - - - - - - - - - + + - + - - r_sin_M1 - - - - - - - + + - + - - sfix16_En14 + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + - - + + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + 1-D T(k,f) - + - - + + k1 - + - - + + f1 + + + + + + + + + + + + + + - + - - + + r_sin_M1 - - - - - - - + + + + + + - - + + - - + + sfix16_En14 + + + + + + + + + + + + + + + + + + - + - - + + - + - - + + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + 1-D T(k,f) - + - + k1 - + - + f1 - + - - + + - - + + - - r_cos_M1 + + id_fieldWeak_M1 - - + + - - + + - - sfix16_En14 + + sfix16_En4 @@ -1023,101 +941,62 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + + [id_TgtAbs] - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - + @@ -1125,23 +1004,23 @@ - - + + - - + + - + @@ -1149,7 +1028,7 @@ - + @@ -1157,7 +1036,7 @@ - + @@ -1165,7 +1044,7 @@ - + @@ -1173,7 +1052,7 @@ - + @@ -1181,25 +1060,9 @@ - + - - - - - - - - - - - - - - - - @@ -1212,53 +1075,137 @@ - + - - + + - - + + - - r_fieldWeak_XA + + a_elecAngle_XA - - + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + - + - - ufix8_En6 + + [id_Tgt] - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - uint8 + + [r_cos] + + + + + + + @@ -1279,11 +1226,11 @@ - + - + 0 @@ -1301,11 +1248,11 @@ - + - + sfix16_En4 @@ -1317,139 +1264,92 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + 4 - - - - - - - + + + + + + - - - - - - - + + + + + + - - + + - - + + id_TgtAbs - - + + + + + + + + + - - - + + - - - + + + + + + + + [r_inpTgtSca] - - - - - - - - - - - a_elecAngle_XA + + + - - + + - - + + - - uint8 + + sfix16_En4 @@ -1460,187 +1360,268 @@ - - - + + + - - + + - - + + - - + + b_fieldWeakEna - - - - - - - + + + + + + - - - - - - - + + + + + + - - + + - - + + b_fieldWeakEna - - - - - - - + + + + + + - - + + - - + + boolean + + + + + + + + + + + + + + + + + + - - + + - - + + [id_TgtAbs] - - - - - - - + + + + + + - - - - - - - + + + + + + - - + + - - + + sfix16_En4 + + + + + + + + + + + + + + + + + + - - + + - - + + [r_inpTgtSca] - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + [a_elecAngle] - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + [id_Tgt] - - - - - - - + + + + + + - - - - - - - + + + + + + - - + + - - T + + sfix16_En4 + + + + + + + + + + + + + + + + + + - - + + - - F + + [n_motAbs] - - + + - + - - + + - + sfix16_En4 @@ -1652,212 +1633,155 @@ - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + [a_elecAngle] - - - - - - - + + + + + + - - - - - - - + + + + + + - - + + - - + + sfix16_En6 + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - 1-D T(k,f) + + - - + + - - k1 + + - - + + - - f1 + + + + + + + + + + - - + + - - + + - - + + - - id_fieldWeak_M1 + + n_fieldWeakAuth - - - - - - - - - - sfix16_En4 + + - - - - - - - - - - - - - - - - - - - - + + - - [a_elecAngle] - - - - - - - + + boolean @@ -1868,28 +1792,28 @@ - - + + - + - + - - [id_TgtAbs] + + [r_sin] - + @@ -1911,11 +1835,11 @@ - + - + 2 @@ -1933,11 +1857,11 @@ - + - + r_cos @@ -1949,140 +1873,188 @@ - - - + + + - - + + - - + + - - [r_cos] - - - - - - - + + - - - - - - - - - - - - - - - - - - - - + + - - b_fieldWeakEna + + - - - - - - + + + + + + + - - - - - - + + + + + + + - - + + - - b_fieldWeakEna + + - - - - - - + + + + + + + - - + + - - boolean + + - - - - - - - - - - - - - - - - - - - - + + - - [r_cos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - + + - - + + - - + + - - sfix16_En14 + + sfix16_En4 @@ -2093,43 +2065,75 @@ - - - + + + - - + + - + - - + + - - [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - - + + - + sfix16_En4 @@ -2141,43 +2145,43 @@ - - - + + + - - + + - - + + - - [id_Tgt] + + -1 - - + + - + - - + + - + sfix16_En4 @@ -2189,221 +2193,363 @@ - - - + + + - - + + - - + + - - [r_sin] + + - - - - - - + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - sfix16_En14 + + - - - - - - - - - - - - - - - - - - - - + + - - [r_inpTgtSca] - - - - - - - + + - - - - - - - - - - - - - - - - - - - - + + - - [id_TgtAbs] - - - - - - - + + - - - - - - + + + + + + + 1-D T(k,f) - - + + - - sfix16_En4 + + k1 - - - - - - - - - - - - - - - - - - - - + + - - 0 + + f1 - - + + - - - - - - - - - - - uint8 + + + - - - - - - - - - - - - - - - - - - - - + + - - [n_motAbs] - - - - - - - + + r_cos_M1 - - + + - - + + - - sfix16_En4 + + sfix16_En14 @@ -2414,77 +2560,59 @@ - - - + + + - - + + - - + + - - [a_elecAngle] + + 3 - - + + - - - + + + - - + + - - ufix16_En6 + + n_motAbs - - - - - - - - - - - - - - - + + + + - - + + - - [n_motAbs] - - - - - - - + + sfix16_En4 @@ -2495,59 +2623,44 @@ - - - + + + - - + + - - + + - - 2 + + [r_cos] - - - - - - - - - - - - - - - - - r_inpTgtSca + + - - + + - - + + - - sfix16_En4 + + sfix16_En14 @@ -2558,58 +2671,58 @@ - - + + - + - + - - 3 + + 2 - + - - + + - - + + - - n_motAbs + + r_inpTgtSca - + - - + + - + sfix16_En4 @@ -2621,29 +2734,44 @@ - - - + + + - - + + - - + + - - [id_Tgt] + + [r_sin] - - + + + + + + + + + + + + + + + + + sfix16_En14 @@ -2654,29 +2782,44 @@ - - - + + + - - + + - - + + - - [r_sin] + + 0 - - + + + + + + + + + + + + + + + + + uint8 @@ -2687,107 +2830,44 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + 1 - - - - - - - - - - + + - - - - - - - - - - n_fieldWeakAuth - - - - - - - + + - - + + - - boolean + + r_sin @@ -2808,11 +2888,11 @@ - + - + 1 @@ -2830,11 +2910,11 @@ - + - + a_elecAngle @@ -2842,95 +2922,15 @@ - - - - - - - - - ufix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - sfix16_En4 + + sfix16_En6 @@ -3401,5 +3401,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.json index 7f5c3f6..675b363 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.json @@ -164,86 +164,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8882", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"V_phaB", - "label":"V_phaB", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8867", "className":"Simulink.Inport", @@ -315,8 +235,8 @@ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8881", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"V_phaA", - "label":"V_phaA", + "name":"V_phaABC_FOC", + "label":"V_phaABC_FOC", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ @@ -392,63 +312,42 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8883", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8880", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"V_phaC", - "label":"V_phaC", + "name":"Sum6", + "label":"Sum6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ - "Port", - "IconDisplay", + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", + "rectangular", + "-+", "off", + "Inherit: Inherit via internal rule", "[]", + "[]", + "Inherit: Same as first input", "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "Simplest", + "on", + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", @@ -458,7 +357,7 @@ "tabs_idx":[ 0, 2, - 11 + 10 ] }, "viewer":{ @@ -467,7 +366,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Sum", "masktype":"" } }, @@ -503,11 +402,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8876", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8877", "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"MinMax1", - "label":"MinMax1", + "name":"MinMax2", + "label":"MinMax2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ @@ -525,7 +424,7 @@ ], "values":[ "Inherit: Inherit via internal rule", - "min", + "max", "on", "1", "off", @@ -700,7 +599,7 @@ "Element-wise(K.*u)", "[]", "[]", - "fixdt(1,16,0)", + "Inherit: Same as input", "off", "Floor", "off", @@ -733,11 +632,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8880", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8879", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum6", - "label":"Sum6", + "name":"Sum2", + "label":"Sum2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ @@ -757,7 +656,7 @@ ], "values":[ "rectangular", - "-+", + "--", "off", "Inherit: Inherit via internal rule", "[]", @@ -792,11 +691,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8879", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8869", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", + "name":"Add", + "label":"Add", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ @@ -816,14 +715,14 @@ ], "values":[ "rectangular", - "--", + "++", "off", "Inherit: Inherit via internal rule", "[]", "[]", - "Inherit: Same as first input", + "Inherit: Inherit via internal rule", "off", - "Simplest", + "Floor", "on", "1", "All dimensions", @@ -850,92 +749,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8877", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax2", - "label":"MinMax2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "max", - "on", - "1", - "off", - "[]", - "[]", - "Floor", - "-1", - "off", - "on" - ], - "tabs":[ - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"MinMax", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8871", - "className":"Simulink.Demux", - "icon":"WebViewIcon3", - "name":"Demux", - "label":"Demux", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "inspector":{ - "params":[ - "Outputs", - "DisplayOption", - "BusSelectionMode" - ], - "values":[ - "3", - "bar", - "off" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Demux", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8872", "className":"Simulink.Gain", @@ -1055,52 +868,46 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8869", - "className":"Simulink.Sum", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8876", + "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"Add", - "label":"Add", + "name":"MinMax1", + "label":"MinMax1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", "LockScale", + "OutMax", + "OutMin", "RndMeth", + "SampleTime", "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "ZeroCross" ], "values":[ - "rectangular", - "++", - "off", "Inherit: Inherit via internal rule", + "min", + "on", + "1", + "off", "[]", "[]", - "Inherit: Inherit via internal rule", - "off", "Floor", - "on", - "1", - "All dimensions", - "-1" + "-1", + "off", + "on" ], "tabs":[ - "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 10 + 1 ] }, "viewer":{ @@ -1109,7 +916,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"MinMax", "masktype":"" } }, @@ -1572,108 +1379,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8871#out:3", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "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:8871#out:2", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "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:8873#out:1", "className":"Simulink.Line", @@ -1725,57 +1430,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8871#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "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:8877#out:1", "className":"Simulink.Line", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.png index cdac7cd..dad0285 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.svg index ed65c12..b6cee58 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8866_d.svg @@ -1,10 +1,10 @@ - + - + @@ -19,7 +19,7 @@ - + @@ -38,7 +38,7 @@ - + @@ -46,7 +46,7 @@ - + @@ -54,7 +54,7 @@ - + @@ -62,7 +62,7 @@ - + @@ -70,7 +70,7 @@ - + @@ -78,7 +78,7 @@ - + @@ -124,7 +124,7 @@ - + @@ -139,7 +139,7 @@ - + @@ -152,54 +152,6 @@ - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - V_phaB - - - - - - - - @@ -212,11 +164,11 @@ - + - + 1 @@ -234,11 +186,11 @@ - - + + - + V_alpha @@ -249,11 +201,11 @@ - - + + - + sfix16_En4 @@ -266,43 +218,43 @@ - + - + - + - + 1 - + - - + + - - + + - - V_phaA + + V_phaABC_FOC @@ -313,44 +265,60 @@ - - - + + + - - + + - - + + + + + + + + + + + + + + + + + + - - 3 + + - - + + - - - + + + - - + + - - V_phaC + + sfix16_En4 @@ -371,11 +339,11 @@ - + - + @@ -393,11 +361,11 @@ - - + + - + sfix16_En4 @@ -409,30 +377,30 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + @@ -446,22 +414,22 @@ - - + + - + - - + + - + sfix16_En4 @@ -483,11 +451,11 @@ - + - + 1/2 @@ -505,11 +473,11 @@ - - + + - + sfix16_En4 @@ -531,11 +499,11 @@ - + - + 0.5 @@ -553,11 +521,11 @@ - - + + - + sfix16_En4 @@ -579,11 +547,11 @@ - + - + 2/sqrt(3) @@ -598,78 +566,14 @@ - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + sfix16_En4 @@ -691,19 +595,19 @@ - + - + - + - + @@ -721,11 +625,11 @@ - - + + - + sfix16_En4 @@ -737,138 +641,68 @@ - - - + + + - - + + - + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - sfix16_En4 + + - - - - - - - - - - - - - - - - - - - - + + - - + + - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - int16 + + - - + + - - + + - - int16 + + sfix16_En4 @@ -889,11 +723,11 @@ - + - + sqrt(3)/2 @@ -911,11 +745,11 @@ - - + + - + sfix16_En4 @@ -937,27 +771,27 @@ - + - + - + - + - + - + @@ -975,11 +809,11 @@ - - + + - + sfix16_En4 @@ -991,67 +825,59 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - + - - + + - - + + - - + + - - + + + + + + + + + + - - + + - + - - + + - + sfix16_En4 @@ -1147,11 +973,11 @@ - - + + - + alpha @@ -1215,11 +1041,11 @@ - - + + - + beta @@ -1269,34 +1095,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1311,20 +1109,6 @@ - - - - - - - - - - - - - - @@ -1396,11 +1180,11 @@ - + - + @@ -1409,5 +1193,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.json index 0d581f8..1465af5 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.json @@ -595,44 +595,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8904", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8903", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8906", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ @@ -641,7 +608,7 @@ "IconDisplay" ], "values":[ - "Vq", + "r_cos", "local", "Tag" ], @@ -694,19 +661,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8902", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8903", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "Vd", + "Vq", + "local", "Tag" ], "tabs":[ @@ -720,7 +689,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, @@ -756,11 +725,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8900", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8899", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"From5", + "label":"From5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ @@ -768,7 +737,7 @@ "IconDisplay" ], "values":[ - "Vq", + "r_cos", "Tag" ], "tabs":[ @@ -787,11 +756,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8899", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8897", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From3", + "label":"From3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ @@ -799,7 +768,7 @@ "IconDisplay" ], "values":[ - "r_cos", + "Vq", "Tag" ], "tabs":[ @@ -818,11 +787,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8896", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8895", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ @@ -830,7 +799,7 @@ "IconDisplay" ], "values":[ - "r_cos", + "r_sin", "Tag" ], "tabs":[ @@ -849,19 +818,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8895", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8904", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "r_sin", + "Vd", + "local", "Tag" ], "tabs":[ @@ -875,26 +846,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8906", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8896", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "r_cos", - "local", "Tag" ], "tabs":[ @@ -908,30 +877,56 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8897", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8894", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"Divide4", + "label":"Divide4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "Vq", - "Tag" + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 9 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -939,16 +934,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8891", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8892", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", + "name":"Divide2", + "label":"Divide2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ @@ -1058,11 +1053,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8898", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8900", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From6", + "label":"From6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ @@ -1070,7 +1065,7 @@ "IconDisplay" ], "values":[ - "Vd", + "Vq", "Tag" ], "tabs":[ @@ -1089,11 +1084,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8892", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8891", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"Divide1", + "label":"Divide1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ @@ -1146,51 +1141,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8894", - "className":"Simulink.Product", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8902", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Divide4", - "label":"Divide4", + "name":"From8", + "label":"From8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "Vd", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1198,7 +1167,38 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8898", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8886", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.svg index 1125780..6c70128 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8886_d.svg @@ -548,11 +548,11 @@ - - + + - + @@ -562,14 +562,14 @@ - - [Vd] + + [r_cos] - + @@ -581,11 +581,11 @@ - - + + - + @@ -595,14 +595,14 @@ - - [Vq] + + [r_sin] - + @@ -614,11 +614,11 @@ - - + + - + @@ -628,14 +628,14 @@ - - [r_sin] + + [Vq] - + @@ -647,11 +647,11 @@ - - + + - + @@ -661,30 +661,30 @@ - - [Vd] + + [r_sin] - + - - + + - + - - sfix16_En4 + + sfix16_En14 @@ -695,11 +695,11 @@ - - + + - + @@ -709,29 +709,29 @@ - - [r_sin] + + [r_cos] - + - + - + - + sfix16_En14 @@ -743,11 +743,11 @@ - - + + - + @@ -757,29 +757,29 @@ - + [Vq] - + - + - + - + sfix16_En4 @@ -791,11 +791,11 @@ - - + + - + @@ -805,29 +805,29 @@ - - [r_cos] + + [r_sin] - + - + - + - + sfix16_En14 @@ -839,44 +839,29 @@ - - - + + + - - + + - + - - [r_cos] + + [Vd] - - - - - - - - - - - - - - - - - sfix16_En14 + + @@ -887,43 +872,43 @@ - - + + - + - + - - [r_sin] + + [r_cos] - + - + - - + + - + sfix16_En14 @@ -935,76 +920,51 @@ - - - + + + - - + + - - + + - - [r_cos] - - - - - - - + + - - - - - - - - - - - - - - - - - - - - + + - - [Vq] + + - - + + - + - - + + - + sfix16_En4 @@ -1016,51 +976,51 @@ - - + + - + - - + + - - + + - - + + - - + + - + - + - - + + - + sfix16_En4 @@ -1082,19 +1042,19 @@ - + - + - + - + @@ -1112,11 +1072,11 @@ - + - + sfix16_En4 @@ -1128,43 +1088,43 @@ - - + + - + - + - - [Vd] + + [Vq] - + - + - - + + - + sfix16_En4 @@ -1176,51 +1136,51 @@ - - + + - + - - + + - - + + - - + + - - + + - + - + - - + + - + sfix16_En4 @@ -1232,51 +1192,91 @@ - - - + + + - - + + - - + + - - + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + - + - - + + [Vd] - - + + - + - + - + sfix16_En4 @@ -1540,5 +1540,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.json index 6baee2f..363d6ba 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.json @@ -325,11 +325,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9012", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9013", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"iq_max", - "label":"iq_max", + "name":"iq_min", + "label":"iq_min", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -358,7 +358,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "7", + "8", "Port number", "[]", "[]", @@ -371,7 +371,7 @@ "auto", "off", "off", - "V_max", + "V_min", "off", "reset", "off", @@ -405,11 +405,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9010", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9007", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"id_max", - "label":"id_max", + "name":"Vd_min", + "label":"Vd_min", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -438,7 +438,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "5", + "2", "Port number", "[]", "[]", @@ -451,7 +451,7 @@ "auto", "off", "off", - "V_max", + "V_min", "off", "reset", "off", @@ -485,73 +485,72 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9009", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9004", + "className":"Simulink.PreLookup", "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", + "name":"iq_maxSca_XA", + "label":"iq_maxSca_XA", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", + "BreakpointsSpecification", + "BreakpointsDataSource", + "BreakpointsData", + "OutputSelection", + "IndexSearchMethod", + "ExtrapMethod", + "UseLastBreakpoint", + "DiagnosticForOutOfRangeInput", + "RemoveProtectionInput", + "BreakpointDataTypeStr", + "BreakpointMin", + "BreakpointMax", + "IndexDataTypeStr", + "FractionDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "RndMeth", + "BeginIndexSearchUsingPreviousIndexResult", + "BreakpointObject", + "BreakpointsFirstPoint", + "BreakpointsNumPoints", + "BreakpointsSpacing", + "OutputBusDataTypeStr", + "SampleTime" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", + "Explicit values", + "Dialog", + "iq_maxSca_XA", + "Index only", + "Evenly spaced points", + "Clip", "off", - "V_min", + "Error", "off", - "reset", + "Inherit: Same as input", + "[]", + "[]", + "uint8", + "fixdt(0,8,6)", "off", - "0", + "Simplest", + "on", "", - [ - ], - "Dialog", - "Auto", - "off" + "10", + "11", + "10", + "Inherit: auto", + "-1" ], "tabs":[ "Main", - "Signal Attributes", + "Data Types", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 9, + 16 ] }, "viewer":{ @@ -560,7 +559,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"PreLookup", "masktype":"" } }, @@ -614,72 +613,91 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9004", - "className":"Simulink.PreLookup", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9001", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"iq_maxSca_XA", - "label":"iq_maxSca_XA", + "name":"a_elecPeriod2", + "label":"a_elecPeriod2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "BreakpointsSpecification", - "BreakpointsDataSource", - "BreakpointsData", - "OutputSelection", - "IndexSearchMethod", - "ExtrapMethod", - "UseLastBreakpoint", - "DiagnosticForOutOfRangeInput", - "RemoveProtectionInput", - "BreakpointDataTypeStr", - "BreakpointMin", - "BreakpointMax", - "IndexDataTypeStr", - "FractionDataTypeStr", + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", "LockScale", - "RndMeth", - "BeginIndexSearchUsingPreviousIndexResult", - "BreakpointObject", - "BreakpointsFirstPoint", - "BreakpointsNumPoints", - "BreakpointsSpacing", - "OutputBusDataTypeStr", - "SampleTime" + "FramePeriod" ], "values":[ - "Explicit values", - "Dialog", - "iq_maxSca_XA", - "Index only", - "Evenly spaced points", - "Clip", - "off", - "Error", - "off", - "Inherit: Same as input", + "0", + "on", + "inf", "[]", "[]", "uint8", - "fixdt(0,8,6)", "off", - "Simplest", + "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:9000", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"a_elecPeriod1", + "label":"a_elecPeriod1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", "on", - "", - "10", - "11", - "10", - "Inherit: auto", - "-1" + "inf", + "[]", + "[]", + "uint8", + "off", + "inf" ], "tabs":[ "Main", - "Data Types", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 9, - 16 + 3, + 7 ] }, "viewer":{ @@ -688,16 +706,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"PreLookup", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9003", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8998", "className":"Simulink.Interpolation_nD", "icon":"WebViewIcon3", - "name":"iq_maxSca_M1", - "label":"iq_maxSca_M1", + "name":"Vq_max_M1", + "label":"Vq_max_M1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -731,7 +749,7 @@ "off", "Explicit values", "Dialog", - "iq_maxSca_M1", + "Vq_max_M1", "Flat", "Error", "on", @@ -740,7 +758,7 @@ "Inherit: Same as output", "[]", "[]", - "fixdt(0,16,16)", + "fixdt(1,16,4)", "[]", "[]", "Speed", @@ -774,268 +792,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9000", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"a_elecPeriod1", - "label":"a_elecPeriod1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "uint8", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8999", - "className":"Simulink.PreLookup", - "icon":"WebViewIcon3", - "name":"Vq_max_XA", - "label":"Vq_max_XA", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "BreakpointsSpecification", - "BreakpointsDataSource", - "BreakpointsData", - "OutputSelection", - "IndexSearchMethod", - "ExtrapMethod", - "UseLastBreakpoint", - "DiagnosticForOutOfRangeInput", - "RemoveProtectionInput", - "BreakpointDataTypeStr", - "BreakpointMin", - "BreakpointMax", - "IndexDataTypeStr", - "FractionDataTypeStr", - "LockScale", - "RndMeth", - "BeginIndexSearchUsingPreviousIndexResult", - "BreakpointObject", - "BreakpointsFirstPoint", - "BreakpointsNumPoints", - "BreakpointsSpacing", - "OutputBusDataTypeStr", - "SampleTime" - ], - "values":[ - "Explicit values", - "Dialog", - "Vq_max_XA", - "Index only", - "Evenly spaced points", - "Clip", - "off", - "Error", - "off", - "Inherit: Same as input", - "[]", - "[]", - "uint8", - "fixdt(0,8,6)", - "off", - "Simplest", - "on", - "", - "10", - "11", - "10", - "Inherit: auto", - "-1" - ], - "tabs":[ - "Main", - "Data Types", - "-Other" - ], - "tabs_idx":[ - 0, - 9, - 16 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"PreLookup", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8997", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Vd_max1", - "label":"Vd_max1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "Vd_max", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9007", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vd_min", - "label":"Vd_min", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "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", - "V_min", - "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:8987", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Speed_Limit_Protection", - "label":"Speed_Limit_Protection", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8987", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Speed_Limit_Protection", + "label":"Speed_Limit_Protection", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -1077,147 +838,53 @@ "FromPortIcon", "ReadWrite", "", - "All", - "off", - "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", - "off", - "" - ], - "tabs":[ - "Main", - "-Other" - ], - "tabs_idx":[ - 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8986", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator4", - "label":"Relational Operator4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "off", - "boolean", - "Simplest", - "-1", - "on" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"RelationalOperator", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9002", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"i_max", - "label":"i_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "i_max", + "All", + "off", "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", + "", + "", "off", - "inf" + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ "Main", - "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 3, - 7 + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"SubSystem", "masktype":"" } }, @@ -1312,105 +979,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8985", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator3", - "label":"Relational Operator3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "off", - "boolean", - "Simplest", - "-1", - "on" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"RelationalOperator", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9001", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"a_elecPeriod2", - "label":"a_elecPeriod2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "uint8", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8978", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8979", "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", + "name":"If2", + "label":"If2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -1449,11 +1022,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8998", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9003", "className":"Simulink.Interpolation_nD", "icon":"WebViewIcon3", - "name":"Vq_max_M1", - "label":"Vq_max_M1", + "name":"iq_maxSca_M1", + "label":"iq_maxSca_M1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -1487,7 +1060,7 @@ "off", "Explicit values", "Dialog", - "Vq_max_M1", + "iq_maxSca_M1", "Flat", "Error", "on", @@ -1496,7 +1069,7 @@ "Inherit: Same as output", "[]", "[]", - "fixdt(1,16,4)", + "fixdt(0,16,16)", "[]", "[]", "Speed", @@ -1530,11 +1103,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8976", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8970", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -1543,7 +1116,7 @@ "IconDisplay" ], "values":[ - "iq", + "id_TgtAbs", "local", "Tag" ], @@ -1563,11 +1136,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8973", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8969", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"Goto16", + "label":"Goto16", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -1576,7 +1149,7 @@ "IconDisplay" ], "values":[ - "iq_max", + "z_ctrlMod", "local", "Tag" ], @@ -1596,11 +1169,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8972", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8974", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -1609,7 +1182,7 @@ "IconDisplay" ], "values":[ - "id_max", + "iq_min", "local", "Tag" ], @@ -1629,11 +1202,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8971", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8965", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"Goto12", + "label":"Goto12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -1642,7 +1215,7 @@ "IconDisplay" ], "values":[ - "Vd_min", + "n_mot", "local", "Tag" ], @@ -1662,11 +1235,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8969", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8963", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", + "name":"Goto10", + "label":"Goto10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -1675,7 +1248,7 @@ "IconDisplay" ], "values":[ - "z_ctrlMod", + "n_max", "local", "Tag" ], @@ -1728,11 +1301,77 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8967", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8964", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8962", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8961", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto14", - "label":"Goto14", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -1741,7 +1380,7 @@ "IconDisplay" ], "values":[ - "Vq_max", + "Vd_max", "local", "Tag" ], @@ -1761,11 +1400,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8961", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8977", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"Goto9", + "label":"Goto9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -1774,7 +1413,7 @@ "IconDisplay" ], "values":[ - "Vd_max", + "iq_limProt", "local", "Tag" ], @@ -1794,53 +1433,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8960", - "className":"Simulink.Gain", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8966", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Gain6", - "label":"Gain6", + "name":"Goto13", + "label":"Goto13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" + "n_limProt", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1848,56 +1461,77 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8959", - "className":"Simulink.Gain", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9008", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Gain5", - "label":"Gain5", + "name":"Vq_max", + "label":"Vq_max", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "Gain", - "Multiplication", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "-1", - "Element-wise(K.*u)", + "3", + "Port number", "[]", "[]", - "Inherit: Same as input", + "Inherit: auto", "off", - "Zero", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" + "off", + "V_max", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", "Signal Attributes", - "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, 2, - 8, 11 ] }, @@ -1907,16 +1541,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8958", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8959", "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"Gain4", - "label":"Gain4", + "name":"Gain5", + "label":"Gain5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -1971,11 +1605,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9014", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9011", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"iq_limProt", - "label":"iq_limProt", + "name":"id_min", + "label":"id_min", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2004,7 +1638,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "9", + "6", "Port number", "[]", "[]", @@ -2050,37 +1684,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8953", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8957", "className":"Simulink.Gain", @@ -2141,11 +1744,60 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8952", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9002", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"i_max", + "label":"i_max", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "i_max", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8955", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"From9", + "label":"From9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2153,7 +1805,7 @@ "IconDisplay" ], "values":[ - "id_TgtAbs", + "iq_min", "Tag" ], "tabs":[ @@ -2172,11 +1824,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8951", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8954", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From8", + "label":"From8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2184,7 +1836,7 @@ "IconDisplay" ], "values":[ - "id_max", + "iq_max", "Tag" ], "tabs":[ @@ -2203,19 +1855,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8947", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8973", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "Vq_min", + "iq_max", + "local", "Tag" ], "tabs":[ @@ -2229,16 +1883,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8946", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8952", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From6", + "label":"From6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2246,7 +1900,7 @@ "IconDisplay" ], "values":[ - "Vd_max", + "id_TgtAbs", "Tag" ], "tabs":[ @@ -2265,21 +1919,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8966", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8951", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"From5", + "label":"From5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "n_limProt", - "local", + "id_max", "Tag" ], "tabs":[ @@ -2293,30 +1945,79 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8944", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9009", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", + "name":"Vq_min", + "label":"Vq_min", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "n_limProt", - "Tag" + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "V_min", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2324,16 +2025,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8948", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8950", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From36", - "label":"From36", + "name":"From4", + "label":"From4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2341,7 +2042,7 @@ "IconDisplay" ], "values":[ - "z_ctrlMod", + "Vd_min", "Tag" ], "tabs":[ @@ -2391,25 +2092,39 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8943", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8986", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", + "name":"Relational Operator4", + "label":"Relational Operator4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "n_min", - "Tag" + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Main", + "Data Type", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2417,16 +2132,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8942", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8944", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", + "name":"From18", + "label":"From18", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2434,7 +2149,7 @@ "IconDisplay" ], "values":[ - "n_mot", + "n_limProt", "Tag" ], "tabs":[ @@ -2453,19 +2168,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8955", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8975", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "iq_min", + "id_min", + "local", "Tag" ], "tabs":[ @@ -2479,16 +2196,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8938", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8943", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", + "name":"From17", + "label":"From17", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2496,7 +2213,7 @@ "IconDisplay" ], "values":[ - "iq", + "n_min", "Tag" ], "tabs":[ @@ -2515,11 +2232,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8937", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8942", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"From16", + "label":"From16", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2527,7 +2244,7 @@ "IconDisplay" ], "values":[ - "iq_min", + "n_mot", "Tag" ], "tabs":[ @@ -2546,25 +2263,53 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8935", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8960", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"Gain6", + "label":"Gain6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "Vq_max", - "Tag" + "-1", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Same as input", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2572,26 +2317,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Gain", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8975", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8939", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", + "name":"From13", + "label":"From13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "id_min", - "local", + "iq_limProt", "Tag" ], "tabs":[ @@ -2605,16 +2348,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8934", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8938", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From12", + "label":"From12", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2622,7 +2365,7 @@ "IconDisplay" ], "values":[ - "Vd", + "iq", "Tag" ], "tabs":[ @@ -2641,11 +2384,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8970", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8967", "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "icon":"WebViewIcon3", + "name":"Goto14", + "label":"Goto14", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2654,7 +2397,7 @@ "IconDisplay" ], "values":[ - "id_TgtAbs", + "Vq_max", "local", "Tag" ], @@ -2674,74 +2417,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9006", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8934", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Vd_max", - "label":"Vd_max", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "GotoTag", + "IconDisplay" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "V_max", - "off", - "reset", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "Vd", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2749,55 +2443,77 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9732", - "className":"Simulink.Product", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8999", + "className":"Simulink.PreLookup", "icon":"WebViewIcon3", - "name":"Divide4", - "label":"Divide4", + "name":"Vq_max_XA", + "label":"Vq_max_XA", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", + "BreakpointsSpecification", + "BreakpointsDataSource", + "BreakpointsData", + "OutputSelection", + "IndexSearchMethod", + "ExtrapMethod", + "UseLastBreakpoint", + "DiagnosticForOutOfRangeInput", + "RemoveProtectionInput", + "BreakpointDataTypeStr", + "BreakpointMin", + "BreakpointMax", + "IndexDataTypeStr", + "FractionDataTypeStr", "LockScale", "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", + "BeginIndexSearchUsingPreviousIndexResult", + "BreakpointObject", + "BreakpointsFirstPoint", + "BreakpointsNumPoints", + "BreakpointsSpacing", + "OutputBusDataTypeStr", "SampleTime" ], "values":[ - "*/", - "Element-wise(.*)", + "Explicit values", + "Dialog", + "Vq_max_XA", + "Index only", + "Evenly spaced points", + "Clip", + "off", + "Error", "off", + "Inherit: Same as input", "[]", "[]", - "fixdt(0,16,16)", + "uint8", + "fixdt(0,8,6)", "off", "Simplest", "on", - "1", - "All dimensions", + "", + "10", + "11", + "10", + "Inherit: auto", "-1" ], "tabs":[ "Main", - "Signal Attributes", + "Data Types", "-Other" ], "tabs_idx":[ 0, - 2, - 9 + 9, + 16 ] }, "viewer":{ @@ -2806,56 +2522,32 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"PreLookup", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9733", - "className":"Simulink.Product", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8971", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "Vd_min", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2863,16 +2555,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8964", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8976", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2881,7 +2573,7 @@ "IconDisplay" ], "values":[ - "n_min", + "iq", "local", "Tag" ], @@ -2901,11 +2593,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8956", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8958", "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"Gain1", - "label":"Gain1", + "name":"Gain4", + "label":"Gain4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2923,31 +2615,64 @@ "SampleTime" ], "values":[ - "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" + "-1", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Same as input", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Gain", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8972", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_max", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2955,37 +2680,68 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8923", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9012", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"CTRL_COMM3", - "label":"CTRL_COMM3", + "name":"iq_max", + "label":"iq_max", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "TRQ_MODE", - "on", - "inf", + "7", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "V_max", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -2994,8 +2750,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -3004,7 +2760,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Outport", "masktype":"" } }, @@ -3106,25 +2862,74 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8954", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9006", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"Vd_max", + "label":"Vd_max", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "iq_max", - "Tag" + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "V_max", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -3132,16 +2937,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8939", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8948", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", + "name":"From36", + "label":"From36", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3149,7 +2954,7 @@ "IconDisplay" ], "values":[ - "iq_limProt", + "z_ctrlMod", "Tag" ], "tabs":[ @@ -3168,25 +2973,92 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8950", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8923", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"CTRL_COMM3", + "label":"CTRL_COMM3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "Vd_min", - "Tag" + "TRQ_MODE", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8997", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Vd_max1", + "label":"Vd_max1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "Vd_max", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -3194,16 +3066,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8918", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9010", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", + "name":"id_max", + "label":"id_max", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3219,11 +3091,17 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ "5", @@ -3238,10 +3116,17 @@ "-1", "auto", "off", - "", - "on", "off", + "V_max", + "off", + "reset", "off", + "0", + "", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -3261,45 +3146,104 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8919", - "className":"Simulink.Abs", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8922", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Abs5", - "label":"Abs5", + "name":"CTRL_COMM2", + "label":"CTRL_COMM2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime", - "ZeroCross" + "FramePeriod" ], "values":[ + "VLT_MODE", + "on", + "inf", "[]", "[]", "Inherit: Inherit via back propagation", "off", - "Zero", + "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:9732", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide4", + "label":"Divide4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "*/", + "Element-wise(.*)", "off", - "-1", - "on" + "[]", + "[]", + "fixdt(0,16,16)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" ], "tabs":[ + "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 2, + 9 ] }, "viewer":{ @@ -3308,32 +3252,42 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Abs", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8974", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8978", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"If1", + "label":"If1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" ], "values":[ - "iq_min", - "local", - "Tag" + "1", + "u1 ~= 0", + "", + "off", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -3341,7 +3295,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"If", "masktype":"" } }, @@ -3394,6 +3348,68 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8947", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8945", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8917", "className":"Simulink.Inport", @@ -3462,27 +3478,72 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8962", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8936", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8919", + "className":"Simulink.Abs", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Abs5", + "label":"Abs5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime", + "ZeroCross" ], "values":[ - "Vd", - "local", - "Tag" + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 6 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -3490,16 +3551,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Abs", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9013", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9014", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"iq_min", - "label":"iq_min", + "name":"iq_limProt", + "label":"iq_limProt", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3528,7 +3589,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "8", + "9", "Port number", "[]", "[]", @@ -3575,50 +3636,32 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8916", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8921", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"id_TgtAbs", - "label":"id_TgtAbs", + "name":"CTRL_COMM1", + "label":"CTRL_COMM1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "FramePeriod" ], "values":[ - "3", - "Port number", + "SPD_MODE", + "on", + "inf", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", + "Inherit: Inherit via back propagation", "off", - "off" + "inf" ], "tabs":[ "Main", @@ -3627,8 +3670,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 3, + 7 ] }, "viewer":{ @@ -3637,32 +3680,44 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8965", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8985", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"Relational Operator3", + "label":"Relational Operator3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "n_mot", - "local", - "Tag" + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Main", + "Data Type", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -3670,26 +3725,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8963", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8953", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", + "name":"From7", + "label":"From7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "n_max", - "local", + "id_min", "Tag" ], "tabs":[ @@ -3703,16 +3756,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8945", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8937", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", + "name":"From11", + "label":"From11", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3720,7 +3773,7 @@ "IconDisplay" ], "values":[ - "n_max", + "iq_min", "Tag" ], "tabs":[ @@ -3739,78 +3792,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8915", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vd", - "label":"Vd", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "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:8936", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8946", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3818,7 +3804,7 @@ "IconDisplay" ], "values":[ - "iq_max", + "Vd_max", "Tag" ], "tabs":[ @@ -3837,11 +3823,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9011", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8915", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"id_min", - "label":"id_min", + "name":"Vd", + "label":"Vd", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3857,20 +3843,14 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "6", + "2", "Port number", "[]", "[]", @@ -3882,17 +3862,10 @@ "-1", "auto", "off", + "", + "on", "off", - "V_min", - "off", - "reset", "off", - "0", - "", - [ - ], - "Dialog", - "Auto", "off" ], "tabs":[ @@ -3912,37 +3885,55 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8922", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8916", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"CTRL_COMM2", - "label":"CTRL_COMM2", + "name":"id_TgtAbs", + "label":"id_TgtAbs", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "VLT_MODE", - "on", - "inf", + "3", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", @@ -3951,8 +3942,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -3961,68 +3952,45 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9008", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9733", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Vq_max", - "label":"Vq_max", + "name":"Divide1", + "label":"Divide1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Inputs", + "Multiplication", + "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "3", - "Port number", + "**", + "Element-wise(.*)", + "off", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "V_max", + "fixdt(1,16,4)", "off", - "reset", + "Simplest", "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", @@ -4032,7 +4000,7 @@ "tabs_idx":[ 0, 2, - 11 + 9 ] }, "viewer":{ @@ -4041,26 +4009,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8977", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8935", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "iq_limProt", - "local", + "Vq_max", "Tag" ], "tabs":[ @@ -4074,7 +4040,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, @@ -4146,42 +4112,52 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8921", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8956", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"CTRL_COMM1", - "label":"CTRL_COMM1", + "name":"Gain1", + "label":"Gain1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Gain", + "Multiplication", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "SPD_MODE", - "on", - "inf", + "-1", + "Element-wise(K.*u)", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: Same as input", "off", - "inf" + "Zero", + "off", + "[]", + "[]", + "Inherit: Same as input", + "-1" ], "tabs":[ "Main", "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 3, - 7 + 2, + 8, + 11 ] }, "viewer":{ @@ -4190,41 +4166,65 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Gain", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8979", - "className":"Simulink.If", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8918", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", + "name":"n_mot", + "label":"n_mot", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "1", - "u1 ~= 0", - "", + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", + "inherit", "-1", - "on" + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ - "Parameter Attributes", + "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 4 + 2, + 11 ] }, "viewer":{ @@ -4233,16 +4233,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"If", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8980", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8981", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator1", - "label":"Logical Operator1", + "name":"Logical Operator2", + "label":"Logical Operator2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -4283,11 +4283,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8981", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8980", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator2", - "label":"Logical Operator2", + "name":"Logical Operator1", + "label":"Logical Operator1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.png index 2e5bbe3..4a867d2 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.svg index d77e499..c5f288c 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8913_d.svg @@ -292,11 +292,11 @@ - - + + - + @@ -306,30 +306,30 @@ - - 7 + + 8 - + - - + + - + - - iq_max + + iq_min @@ -340,11 +340,11 @@ - - + + - + @@ -354,126 +354,30 @@ - - 5 - - - - - - - - - - - - - - - - - - - - - - id_max - - - - - - - - - - - - - - - - - - - - - - - - - - 4 + + 2 - + - + - - - - - - Vq_min - - - - - - - - - - - - - - - - - - - - - - - - - - n_max - - - - - - - - - - - - - - - - - - + + - - sfix16_En4 + + Vd_min @@ -486,7 +390,7 @@ - + @@ -494,83 +398,83 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -596,11 +500,11 @@ - + - + iq_maxSca_XA @@ -611,11 +515,11 @@ - + - + uint8 @@ -627,363 +531,507 @@ - - - + + + - - + + - - + + - - + + n_max - - - - - - - + + + + + + - - - - - - - + + + + + + - - + + - - + + sfix16_En4 + + + + + + + + + + + + + + + + + + - - + + - - + + 0 - - - - - - - + + + + + + + + + + + + + - - + + - - + + uint8 + + + + + + + + + + + + + + + + + + - - + + - - + + 0 - - - + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + - + 1-D T(k,f) - + - + k1 - + - + f1 - + - - + + - - + + - - iq_maxSca_M1 + + Vq_max_M1 - - + + - - + + - - ufix16_En16 + + sfix16_En4 @@ -994,142 +1042,184 @@ - - - + + + - - + + + + + + + + - - + + - - 0 + + n_mot - - - - - - + + + + + + + n_max - - - - - - + + + + + + + n_min - - + + - - uint8 + + n_limProt + + + + + + + + if { } - - - - - - - - - - - - - - - + - - - + + + + - - + + + + + + - - - + + + + - - + + - - + + - - + + Speed_Limit_Protection + + + + - - - + + + + - - + + - - + + - - + + action + + + + - - - + + + + - - + + - - + + - - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - - + + - - + + @@ -1143,38 +1233,23 @@ - - - - - - - - - - - - - - - - - Vq_max_XA + + - - + + - - + + - - uint8 + + boolean @@ -1185,44 +1260,68 @@ - - - + + + - - + + - + - - + + - - Vd_max + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - sfix16_En4 + + boolean @@ -1233,44 +1332,52 @@ - - - + + + - - + + - - + + - - 2 + + u1 + + + + + + + + if(u1 ~= 0) - - + + - - - + + + - - + + - - Vd_min + + action @@ -1281,478 +1388,363 @@ - - - + + + - - - - - - - - + + - - + + - - n_mot + + - - + + - - n_max + + - - + + - - n_min + + - - + + - - n_limProt + + - - + + - - if { } + + - - - - - - - - + + + - - + + - - - - - - - - + + + - - + + - - + + - - Speed_Limit_Protection + + - - - - - - - - + + + - - + + - - + + - - sfix16_En4 + + - - - - - - - - + + + - - + + - - + + - - action + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - boolean + + - - - - - - - - - - - - - - - - - - - - + + - - i_max - - - - - - - - - - - - - - + + - - + + - - sfix16_En4 + + - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - + + + + + + + - - - - - - + + + + + + + - - + + - - boolean + + - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - + + + + + + + - - - - - - + + + + + + + - - + + - - boolean + + - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 - - - - - + + + + - - - + + + + + + + + + + + iq_maxSca_M1 - - + + - - + + - - boolean + + ufix16_En16 @@ -1763,44 +1755,29 @@ - - - + + + - - + + - - + + - - 0 + + [id_TgtAbs] - - - - - - - - - - - - - - - - - uint8 + + @@ -1811,52 +1788,62 @@ - - - + + + - - + + - - - - - - u1 - - - - + + - - if(u1 ~= 0) + + [z_ctrlMod] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - action + + [iq_min] + + + + + + + @@ -1867,363 +1854,260 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + [n_mot] - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + [n_max] - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + [Vq_min] - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + [n_min] - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + [Vd] - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - 1-D T(k,f) + + [Vd_max] - - - - - - - k1 + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - f1 + + [iq_limProt] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - Vq_max_M1 + + [n_limProt] - - - - - - - - - - - sfix16_En4 + + + @@ -2234,29 +2118,44 @@ - - - + + + - - + + - - + + - - [iq] + + 3 - - + + + + + + + + + + + + + + + + + Vq_max @@ -2267,62 +2166,44 @@ - - - + + + - - + + - - + + - - [iq_max] + + -1 - - + + - - - - - - - - - - - - - - - + + + + - - + + - - [id_max] - - - - - - - + + sfix16_En4 @@ -2333,29 +2214,44 @@ - - - + + + - - + + - - + + - - [Vd_min] + + 6 - - + + + + + + + + + + + + + + + + + id_min @@ -2366,29 +2262,44 @@ - - - + + + - - + + - - + + - - [z_ctrlMod] + + -1 - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2399,29 +2310,44 @@ - - - + + + - - + + - - + + - - [Vq_min] + + i_max - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2432,29 +2358,44 @@ - - - + + + - - + + - - + + - - [Vq_max] + + [iq_min] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2465,29 +2406,44 @@ - - - + + + - - + + - - + + - - [Vd_max] + + [iq_max] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2498,44 +2454,29 @@ - - - + + + - - + + - - + + - - -1 + + [iq_max] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -2546,43 +2487,43 @@ - - - + + + - - + + - - + + - - -1 + + [id_TgtAbs] - - + + - + - - + + - + sfix16_En4 @@ -2594,43 +2535,43 @@ - - - + + + - - + + - - + + - - -1 + + [id_max] - - + + - + - - + + - + sfix16_En4 @@ -2642,44 +2583,44 @@ - - + + - + - + - - 9 + + 4 - + - - + + - - + + - - iq_limProt + + Vq_min @@ -2690,43 +2631,43 @@ - - + + - + - + - - [id_min] + + [Vd_min] - + - + - - + + - + sfix16_En4 @@ -2738,44 +2679,44 @@ - - - + + + - - + + - - + + - - -1 + + [z_ctrlMod] - - + + - - + + - - + + - - sfix16_En4 + + uint8 @@ -2786,44 +2727,68 @@ - - - + + + - - + + - + - - + + - - [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - sfix16_En4 + + boolean @@ -2834,43 +2799,43 @@ - - + + - + - + - - [id_max] + + [n_limProt] - + - + - - + + - + sfix16_En4 @@ -2882,44 +2847,29 @@ - - - + + + - - + + - - + + - - [Vq_min] + + [id_min] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -2930,43 +2880,43 @@ - - + + - + - + - - [Vd_max] + + [n_min] - + - + - - + + - + sfix16_En4 @@ -2978,29 +2928,44 @@ - - - + + + - - + + - - + + - - [n_limProt] + + [n_mot] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -3010,44 +2975,44 @@ - - - - + + + + - - + + - - + + - - [n_limProt] + + -1 - - + + - + - - + + - + sfix16_En4 @@ -3059,44 +3024,44 @@ - - + + - + - + - - [z_ctrlMod] + + [iq_limProt] - + - - + + - - + + - - uint8 + + sfix16_En4 @@ -3107,44 +3072,44 @@ - - + + - + - + - - [z_ctrlMod] + + [iq] - + - - + + - - + + - - uint8 + + sfix16_En4 @@ -3155,44 +3120,29 @@ - - - + + + - - + + - - + + - - [n_min] + + [Vq_max] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -3203,43 +3153,43 @@ - - + + - + - + - - [n_mot] + + [Vd] - + - + - - + + - + sfix16_En4 @@ -3251,44 +3201,139 @@ - - - + + + - - + + - + - - + + - - [iq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + Vq_max_XA - - + + - - + + - - sfix16_En4 + + uint8 @@ -3299,44 +3344,29 @@ - - - + + + - - + + - - + + - - [iq] + + [Vd_min] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -3347,44 +3377,29 @@ - - - + + + - - + + - - + + - - [iq_min] + + [iq] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -3395,43 +3410,43 @@ - - - + + + - - + + - - + + - - [Vq_max] + + -1 - - + + - + - - + + - + sfix16_En4 @@ -3443,28 +3458,28 @@ - - + + - + - + - - [id_min] + + [id_max] - + @@ -3476,44 +3491,44 @@ - - - + + + - - + + - - + + - - [Vd] + + 7 - - + + - - - + + + - - + + - - sfix16_En4 + + iq_max @@ -3524,29 +3539,136 @@ - - - + + + - - + + + + + + + + - - + + - - [id_TgtAbs] + + iq + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + + iq_limProt + + + + + + + + if { } - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Current_Limit_Protection + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -3558,6 +3680,12 @@ + + + + + + @@ -3567,11 +3695,11 @@ - + - + 1 @@ -3589,11 +3717,11 @@ - + - + Vd_max @@ -3605,69 +3733,44 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - + + [z_ctrlMod] - - + + - - + + - - + + - - ufix16_En16 + + uint8 @@ -3678,52 +3781,44 @@ - - - + + + - - + + - - - - - - - - - - + + - - + + TRQ_MODE - - + + - - + + - - + + - - sfix16_En4 + + uint8 @@ -3734,29 +3829,44 @@ - - - + + + - - + + - - + + - - [n_min] + + Vd_max - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -3767,44 +3877,44 @@ - - - + + + - - + + - - + + - - -1 + + 5 - - + + - - - + + + - - + + - - sfix16_En4 + + id_max @@ -3815,43 +3925,43 @@ - - + + - + - + - - TRQ_MODE + + VLT_MODE - + - + - - + + - + uint8 @@ -3863,136 +3973,125 @@ - - - + + + - - - - - - - - + + - - - - - - iq - - - - + + - - iq_max + + - - + + - - iq_min + + - - + + - - iq_limProt + + - - + + - - if { } + + + - - - - - - - - + + - - - - - - - - - + + + - - + + - - Current_Limit_Protection + + ufix16_En16 - + + + + + + + + + + + + + + + - - - - + + + - - + + u1 - - + + - - action + + if(u1 ~= 0) + + + + + + + - - - - - - - - + + - - + + - - sfix16_En4 + + action @@ -4003,50 +4102,44 @@ - - - - - - - - - + + + - - + + - - + + - - [iq_max] + + VLT_MODE - - + + - - + + - - + + - - sfix16_En4 + + uint8 @@ -4057,43 +4150,43 @@ - - + + - + - + - - [iq_limProt] + + [Vq_min] - + - + - - + + - + sfix16_En4 @@ -4105,43 +4198,43 @@ - - + + - + - + - - [Vd_min] + + [n_max] - + - + - - + + - + sfix16_En4 @@ -4153,58 +4246,58 @@ - - + + - + - + - - 5 + + 4 - + - - + + - - + + - - n_mot + + iq - + - - + + - + sfix16_En4 @@ -4216,75 +4309,43 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + [iq_max] - - - - - - - - - - + + - + - - + + - + sfix16_En4 @@ -4296,139 +4357,75 @@ - - - + + + - - + + - + - - + + - - [iq_min] - - - - - - - + + - - - - - - - - - - - - - - - - - - - - + + - - VLT_MODE - - - - - - - - - - - - - - + + - - + + - - uint8 + + - - - - - - - - - - - - - - - - - - - - + + - - 4 - - - - - - - + + - - - - - - - - - - - iq + + + + + + + + + + + - + - - + + - + sfix16_En4 @@ -4440,29 +4437,44 @@ - - - + + + - - + + - - + + - - [Vd] + + 9 - - + + + + + + + + + + + + + + + + + iq_limProt @@ -4473,44 +4485,44 @@ - - - + + + - - + + - - + + - - 8 + + SPD_MODE - - + + - - - + + + - - + + - - iq_min + + uint8 @@ -4521,59 +4533,68 @@ - - - + + + - - + + - + - - + + - - 3 + + + + + + + + + + + + + + + + + + - - - - + - - - - - - - - - - - id_TgtAbs + + + + + + + - - + + - - + + - - sfix16_En4 + + boolean @@ -4584,62 +4605,44 @@ - - - + + + - - + + - - + + - - [n_mot] + + [id_min] - - + + - - - - - - - - - - - - - - - + + + + - + - - [n_max] - - - - - - - + + sfix16_En4 @@ -4650,11 +4653,11 @@ - - + + - + @@ -4664,29 +4667,29 @@ - - [n_max] + + [iq_min] - + - + - + - + sfix16_En4 @@ -4698,58 +4701,43 @@ - - - + + + - - + + - + - - 2 + + [Vd_max] - - - - - - - - - - - - - - - - - Vd + + - + - - + + - + sfix16_En4 @@ -4761,43 +4749,58 @@ - - - + + + - - + + - - + + - - [iq_max] + + 2 - - + + + + + + + + + + + + + + + + + Vd - + - + - + sfix16_En4 @@ -4809,11 +4812,11 @@ - - + + - + @@ -4823,30 +4826,45 @@ - - 6 + + 3 - + - - + + - + - - id_min + + id_TgtAbs + + + + + + + + + + + + + + + sfix16_En4 @@ -4857,44 +4875,52 @@ - - - + + + - - + + - - + + - - VLT_MODE + + + + + + + + + + - - + + - - + + - - + + - - uint8 + + sfix16_En4 @@ -4905,77 +4931,44 @@ - - - + + + - - + + - - + + - - 3 + + [Vq_max] - - + + - - - - - - - - - - - Vq_max + + + - - - - - - - - - - - - - - - - - - - + - - [iq_limProt] - - - - - - - + + sfix16_En4 @@ -5049,44 +5042,44 @@ - - - + + + - - + + - + - - SPD_MODE + + -1 - - + + - - + + - + - - uint8 + + sfix16_En4 @@ -5097,52 +5090,59 @@ - - - + + + - - + + - - - - - u1 - - - - + - - if(u1 ~= 0) + + 5 - - + + + + + + + + + + + + + + + + + n_mot - - + + - + - - action + + sfix16_En4 @@ -5153,11 +5153,11 @@ - - + + - + @@ -5167,7 +5167,7 @@ - + @@ -5175,7 +5175,7 @@ - + @@ -5185,43 +5185,43 @@ - - - - - - - - - - - - + - - + + - + boolean + + + + + + + + + + + - - + + - + @@ -5231,7 +5231,7 @@ - + @@ -5239,7 +5239,7 @@ - + @@ -5250,22 +5250,22 @@ - + - + - + boolean - + @@ -5529,13 +5529,13 @@ - + - + @@ -6245,5 +6245,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8924_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8924_d.json index d1b7f58..75809bc 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8924_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8924_d.json @@ -1,4 +1,84 @@ [ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8933", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iq_limProt", + "label":"iq_limProt", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8924", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "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:8932", "className":"Simulink.Constant", @@ -107,6 +187,63 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8929", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide4", + "label":"Divide4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8924", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8928", "className":"Simulink.ActionPort", @@ -139,11 +276,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8926", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8927", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"iq_max", - "label":"iq_max", + "name":"iq_min", + "label":"iq_min", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8924", "inspector":{ "params":[ @@ -166,7 +303,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "3", "Port number", "[]", "[]", @@ -312,148 +449,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8929", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide4", - "label":"Divide4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8924", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8933", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"iq_limProt", - "label":"iq_limProt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8924", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "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:8927", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8926", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"iq_min", - "label":"iq_min", + "name":"iq_max", + "label":"iq_max", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8924", "inspector":{ "params":[ @@ -476,7 +476,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "2", "Port number", "[]", "[]", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8924_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8924_d.svg index 0278bea..7ae14f7 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8924_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8924_d.svg @@ -10,6 +10,54 @@ + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + iq_limProt + + + + + + + @@ -23,11 +71,11 @@ - + - + cf_iqKpLimProt @@ -45,11 +93,11 @@ - + - + cf_iqKpLimProt @@ -60,11 +108,11 @@ - + - + ufix16_En8 @@ -86,27 +134,27 @@ - + - + - + - + - + - + @@ -124,11 +172,67 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -142,7 +246,7 @@ - + @@ -150,11 +254,11 @@ - + - + if { } @@ -172,11 +276,11 @@ - + - + Action Port @@ -188,58 +292,58 @@ - - + + - + - + - - 2 + + 3 - + - - + + - - + + - - iq_max + + iq_min - + - - + + - + sfix16_En4 @@ -253,7 +357,7 @@ - + @@ -261,35 +365,35 @@ - + - + - + - + - + - + - + - + @@ -301,35 +405,35 @@ - + - + up - + - + u - + - + lo - + - + y @@ -347,11 +451,11 @@ - + - + sfix16_En4 @@ -373,11 +477,11 @@ - + - + 1 @@ -395,11 +499,11 @@ - + - + iq @@ -410,11 +514,11 @@ - + - + sfix16_En4 @@ -426,115 +530,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - iq_limProt - - - - - - - - - - - - + + - + @@ -544,44 +544,44 @@ - - 3 + + 2 - + - - + + - + - - iq_min + + iq_max - + - + - + sfix16_En4 @@ -711,5 +711,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8930_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8930_d.svg index d9522f0..2a5dd2f 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8930_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8930_d.svg @@ -1176,5 +1176,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8987_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8987_d.json index 089e87f..4d542c6 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8987_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8987_d.json @@ -187,6 +187,45 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8993", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8987", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8992", "className":"Simulink.Product", @@ -244,37 +283,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8991", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8987", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "reset", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8990", "className":"Simulink.Inport", @@ -342,45 +350,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8993", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8987", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8989", "className":"Simulink.Inport", @@ -515,6 +484,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8991", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8987", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8993#out:1", "className":"Simulink.Line", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8987_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8987_d.svg index 9221e8c..32ccd3e 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8987_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8987_d.svg @@ -188,51 +188,107 @@ - - - + + + - - + + - + - + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y - - + + - + - - + + - + sfix16_En4 @@ -244,44 +300,52 @@ - - - + + + - - + + - - + + - - if { } + + + + + + + + + + - - + + - - - + + + - - + + - - Action Port + + sfix16_En4 @@ -302,11 +366,11 @@ - + - + 3 @@ -324,11 +388,11 @@ - + - + n_min @@ -339,11 +403,11 @@ - + - + sfix16_En4 @@ -355,107 +419,58 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + 2 - + + + + - - - - - - - - up - - - - - - - - u - - - - - - - - lo + + + - - + + - - y - - - - - - - + + n_max - + - - + + - + sfix16_En4 @@ -467,58 +482,58 @@ - - + + - + - + - - 2 + + 1 - + - - + + - - + + - - n_max + + n_mot - + - - + + - + sfix16_En4 @@ -530,59 +545,44 @@ - - - + + + - - + + - - + + - - 1 + + if { } - - + + - - - - - - - - - - n_mot - - - - - - - + + - + - - sfix16_En4 + + Action Port @@ -711,5 +711,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8993_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8993_d.svg index 06277e4..46638bd 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8993_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8993_d.svg @@ -1012,15 +1012,15 @@ - - - + + + @@ -1103,10 +1103,10 @@ - + - + @@ -1176,5 +1176,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.json index 4ab90af..840ba95 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.json @@ -3,8 +3,8 @@ "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9044", "className":"Simulink.Annotation", "icon":"WebViewIcon2", - "name":"

This will reduce the control command to 0 with a predefined rate.

", - "label":"

This will reduce the control command to 0 with a predefined rate.

", + "name":"

Just copy the target which will be reduced to 0 in the Input_Target_Sythesis function.

", + "label":"

Just copy the target which will be reduced to 0 in the Input_Target_Sythesis function.

", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", "inspector":{ "params":[ @@ -22,7 +22,7 @@ "ClickFcn" ], "values":[ - "\n\n

This will reduce the control command to 0 with a predefined rate.

", + "\n\n

Just copy the target which will be reduced to 0 in the Input_Target_Sythesis function.

", "off", "rich", "auto", @@ -129,369 +129,60 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", - "name":"Rate_Limiter", - "label":"Rate_Limiter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "inspector":{ - "params":[ - "ShowPortLabels", - "BlockChoice", - "TemplateBlock", - "MemberBlocks", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "PropExecContextOutsideSubsystem", - "SystemSampleTime", - "RTWSystemCode", - "RTWFcnNameOpts", - "RTWFcnName", - "RTWFileNameOpts", - "RTWFileName", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "RTWMemSecFuncInitTerm", - "RTWMemSecFuncExecute", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "IsSubsystemVirtual", - "Variant", - "VariantControl", - "OverrideUsingVariant", - "GeneratePreprocessorConditionals", - "AllowZeroVariantControls", - "PropagateVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "TreatAsGroupedWhenPropagatingVariantConditions" - ], - "values":[ - "FromPortIcon", - "", - "", - "", - "ReadWrite", - "", - "All", - "on", - "off", - "off", - "-1", - "Auto", - "Use subsystem name", - "", - "Auto", - "", - "void_void", - "off", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "off", - "off", - "", - "", - "off", - "off", - "off", - "", - "", - "on" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9041", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9030", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"dV_openRate", - "label":"dV_openRate", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "dV_openRate", - "on", - "inf", + "1", + "Port number", "[]", "[]", - "fixdt(1,28,16)", + "Inherit: auto", "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:9037", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain3", - "label":"Gain3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ + "inherit", "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", + "Inherit", + "-1", + "auto", "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Gain", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9036", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_Open", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9042", - "className":"Rising edge init", - "icon":"WebViewIcon4", - "name":"rising_edge_init", - "label":"rising_edge_init", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "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", - "on", "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", "off", - "", - "off", - "", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", "off", - "" + "off" ], "tabs":[ "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Rising edge init" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9034", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "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 + 2, + 11 ] }, "viewer":{ @@ -500,58 +191,25 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"DataTypeConversion", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9035", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_prev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9039", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9031", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"Action Port", + "label":"Action Port", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "Vq_prev", - "local", - "Tag" + "reset", + "Only when execution is resumed" ], "tabs":[ "Parameter Attributes" @@ -564,234 +222,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9033", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion", - "label":"Data Type Conversion", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "fixdt(1,28,16)", - "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:9032", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant23", - "label":"Constant23", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "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:9031", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "inspector":{ - "params":[ - "InitializeStates", - "PropagateVarSize" - ], - "values":[ - "reset", - "Only when execution is resumed" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9030", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_prev", - "label":"Vq_prev", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "1", - "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:9038", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_Open", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"ActionPort", "masktype":"" } }, @@ -845,464 +276,5 @@ ], "finder":[ ] - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9032#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "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:9042#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "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:9037#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "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:9041#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "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:9034#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "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:9036#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "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:9040#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "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:9035#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "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:9033#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "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_9029_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.png index 2e87bb3..6b9146d 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.svg index ef53976..cb96fbf 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9029_d.svg @@ -1,10 +1,10 @@ - + - + @@ -14,16 +14,24 @@ - - + + - - + + - - This will reduce the control command to 0 with a predefined rate. + + Just copy the target which will be reduced to 0 in + + + + + + + + the Input_Target_Sythesis function. @@ -33,42 +41,42 @@ - + - + - + - + 1 - + - + - - + + - + Vq_Open @@ -80,313 +88,58 @@ - - - + + + - - + + - - - - - - - u - - - - - - - - initVal - - - - - - - - init - - - - - - - - inc - - - - - - - - dec - - - - - - - - y - - - - - - - - - - - - - - - - - - + - - + + 1 - - + + - - + + - - - - - Rate_Limiter - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dV_openRate - - - - - - - - - - - - - - - - - - - - - - dV_openRate - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - + - - [Vq_Open] - - - - - - - + + r_inpTgtSca - + - - + + - + sfix16_En4 @@ -398,509 +151,44 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + default: { } - - - - - - - - - - + + - - - + + + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_prev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_prev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - default: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vq_prev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Open] - - - - - - - + + Action Port @@ -912,157 +200,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -1071,5 +213,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.json index ecaf992..23222e6 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.json @@ -476,6 +476,65 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9067", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum6", + "label":"Sum6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "-+", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9066", "className":"Simulink.Sum", @@ -602,19 +661,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9061", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9062", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "r_sin", + "r_cos", + "local", "Tag" ], "tabs":[ @@ -628,16 +689,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9060", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9061", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"From7", + "label":"From7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -645,7 +706,7 @@ "IconDisplay" ], "values":[ - "i_beta", + "r_sin", "Tag" ], "tabs":[ @@ -725,68 +786,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9057", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_beta", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9055", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_cos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9054", "className":"Simulink.From", @@ -850,44 +849,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9062", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_cos", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9051", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9053", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"Divide4", + "label":"Divide4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -940,44 +906,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9065", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_beta", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9050", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9052", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", + "name":"Divide3", + "label":"Divide3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -1030,11 +963,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9052", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9051", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide3", - "label":"Divide3", + "name":"Divide2", + "label":"Divide2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -1087,53 +1020,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9067", - "className":"Simulink.Sum", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9055", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Sum6", - "label":"Sum6", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "rectangular", - "-+", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "r_cos", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 10 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1141,16 +1046,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9053", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9050", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide4", - "label":"Divide4", + "name":"Divide1", + "label":"Divide1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -1202,6 +1107,101 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9060", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_beta", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9057", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_beta", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9065", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_beta", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9048#out:1", "className":"Simulink.Line", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.svg index 19e5a70..35a5e4b 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9045_d.svg @@ -410,6 +410,70 @@
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -422,35 +486,35 @@ - + - + - + - + - + - + - + - + @@ -468,11 +532,11 @@ - + - + sfix16_En4 @@ -494,11 +558,11 @@ - + - + [r_sin] @@ -527,11 +591,11 @@ - + - + [i_apha] @@ -550,44 +614,29 @@ - - - + + + - - + + - - + + - - [r_sin] + + [r_cos] - - - - - - - - - - - - - - - - - sfix16_En14 + + @@ -598,44 +647,44 @@ - - + + - + - + - - [i_beta] + + [r_sin] - + - - + + - - + + - - sfix16_En4 + + sfix16_En14 @@ -656,11 +705,11 @@ - + - + [r_cos] @@ -678,11 +727,11 @@ - + - + sfix16_En14 @@ -704,11 +753,11 @@ - + - + [i_apha] @@ -726,11 +775,11 @@ - + - + sfix16_En4 @@ -742,44 +791,44 @@ - - + + - + - + - - [i_beta] + + [r_sin] - + - - + + - - + + - - sfix16_En4 + + sfix16_En14 @@ -790,44 +839,44 @@ - - + + - + - + - - [r_cos] + + [i_apha] - + - - + + - - + + - - sfix16_En14 + + sfix16_En4 @@ -838,44 +887,52 @@ - - - + + + - - + + - - + + - - [r_sin] + + + + + + + + + + - - + + - - + + - - + + - - sfix16_En14 + + sfix16_En4 @@ -886,43 +943,51 @@ - - - + + + - - + + - - + + - - [i_apha] + + + + + + + + + + - - + + - + - - + + - + sfix16_En4 @@ -932,39 +997,6 @@ - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - @@ -977,19 +1009,19 @@ - + - + - + - + @@ -1007,11 +1039,11 @@ - + - + sfix16_En4 @@ -1023,29 +1055,44 @@ - - - + + + - - + + - - + + - - [i_beta] + + [r_cos] - - + + + + + + + + + + + + + + + + + sfix16_En14 @@ -1066,19 +1113,19 @@ - + - + - + - + @@ -1096,11 +1143,11 @@ - + - + sfix16_En4 @@ -1112,51 +1159,43 @@ - - - + + + - - + + - - - - - - - - - - + + - - + + [i_beta] - - + + - + - - + + - + sfix16_En4 @@ -1168,59 +1207,43 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - + + - - + + [i_beta] - - + + - + - - + + - + sfix16_En4 @@ -1232,52 +1255,29 @@ - - - + + + - - + + - - - - - - - - - - + + - - + + [i_beta] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1540,5 +1540,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.json index 94bcc5c..08cc838 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.json @@ -98,11 +98,11 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9104", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9105", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"cf_nKi", - "label":"cf_nKi", + "name":"cf_nKp", + "label":"cf_nKp", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ @@ -116,12 +116,12 @@ "FramePeriod" ], "values":[ - "cf_nKi", - "off", + "cf_nKp", + "on", "inf", "[]", "[]", - "fixdt(0,16,16)", + "fixdt(0,16,12)", "off", "inf" ], @@ -147,42 +147,63 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9101", - "className":"Simulink.Sum", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9106", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", + "name":"Vq_Spd", + "label":"Vq_Spd", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "round", - "|+-", - "off", - "Inherit: Inherit via internal rule", + "1", + "Port number", "[]", "[]", - "Inherit: Inherit via internal rule", + "Inherit: auto", "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -192,7 +213,7 @@ "tabs_idx":[ 0, 2, - 10 + 11 ] }, "viewer":{ @@ -201,7 +222,56 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9102", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_iqKiLimProt", + "label":"cf_iqKiLimProt", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_iqKiLimProt", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,16)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", "masktype":"" } }, @@ -464,11 +534,60 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9089", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9104", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_nKi", + "label":"cf_nKi", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_nKi", + "off", + "inf", + "[]", + "[]", + "fixdt(0,16,16)", + "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:9088", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From38", - "label":"From38", + "name":"From37", + "label":"From37", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ @@ -476,7 +595,7 @@ "IconDisplay" ], "values":[ - "Vq_max", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -526,43 +645,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9102", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9090", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"cf_iqKiLimProt", - "label":"cf_iqKiLimProt", + "name":"From45", + "label":"From45", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "IconDisplay" ], "values":[ - "cf_iqKiLimProt", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "inf" + "Vq_min", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -570,89 +671,22 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9078", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9083", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", + "name":"Divide1", + "label":"Divide1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "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:9083", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", + "Inputs", + "Multiplication", + "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", @@ -699,74 +733,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9106", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9084", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Vq_Spd", - "label":"Vq_Spd", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "GotoTag", + "IconDisplay" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "iq_limProt", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -774,55 +759,47 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9081", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9101", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"iq_limProt", - "label":"iq_limProt", + "name":"Sum3", + "label":"Sum3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ - "Port", - "IconDisplay", + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "5", - "Port number", + "round", + "|+-", + "off", + "Inherit: Inherit via internal rule", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "Inherit: Inherit via internal rule", "off", - "", + "Simplest", "on", - "off", - "off", - "off" + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", @@ -832,7 +809,7 @@ "tabs_idx":[ 0, 2, - 11 + 10 ] }, "viewer":{ @@ -841,27 +818,25 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9095", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9082", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", + "name":"Action Port", + "label":"Action Port", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "iq_limProt", - "local", - "Tag" + "reset", + "Only when execution is resumed" ], "tabs":[ "Parameter Attributes" @@ -874,16 +849,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"ActionPort", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9084", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9089", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From38", + "label":"From38", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ @@ -891,7 +866,7 @@ "IconDisplay" ], "values":[ - "iq_limProt", + "Vq_max", "Tag" ], "tabs":[ @@ -910,11 +885,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9077", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9078", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", + "name":"n_mot", + "label":"n_mot", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ @@ -937,7 +912,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "4", "Port number", "[]", "[]", @@ -977,25 +952,61 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9082", - "className":"Simulink.ActionPort", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9077", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"Vq_min", + "label":"Vq_min", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "reset", - "Only when execution is resumed" + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1003,7 +1014,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Inport", "masktype":"" } }, @@ -1075,63 +1086,50 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9088", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "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:9105", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9081", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"cf_nKp", - "label":"cf_nKp", + "name":"iq_limProt", + "label":"iq_limProt", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "cf_nKp", - "on", - "inf", + "5", + "Port number", "[]", "[]", - "fixdt(0,16,12)", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", @@ -1140,8 +1138,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -1150,38 +1148,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9090", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", + "blocktype":"Inport", "masktype":"" } }, @@ -1252,6 +1219,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9095", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto31", + "label":"Goto31", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_limProt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9087#out:1", "className":"Simulink.Line", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.svg index 31e0191..ba77d46 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9074_d.svg @@ -59,11 +59,11 @@ - - + + - + @@ -73,30 +73,30 @@ - - cf_nKi + + cf_nKp - + - + - + - - ufix16_En16 + + ufix16_En12 @@ -107,60 +107,107 @@ - - - + + + - - + + - + - - + + 1 + + + + + + + + + + + + + + - + - - + + Vq_Spd + + + + + + + + + + + + + + + + + + - - + + - - + + cf_iqKiLimProt - - + + + + + + + + + + + + + + + + + cf_iqKiLimProt - - + + - - + + - - sfix16_En4 + + ufix16_En16 @@ -181,36 +228,20 @@ - + - + - - - - - - - - - - - - - - - - - + @@ -218,7 +249,7 @@ - + @@ -226,7 +257,7 @@ - + @@ -234,7 +265,7 @@ - + @@ -242,7 +273,7 @@ - + @@ -250,7 +281,7 @@ - + @@ -258,7 +289,7 @@ - + @@ -266,7 +297,7 @@ - + @@ -274,7 +305,7 @@ - + @@ -282,15 +313,15 @@ - + - + - - + + @@ -298,7 +329,7 @@ - + @@ -306,6 +337,22 @@ + + + + + + + + + + + + + + + + @@ -331,11 +378,11 @@ - + - + sfix16_En4 @@ -357,67 +404,67 @@ - + - + err - + - + P - + - + I - + - + satMax - + - + satMin - + - + ext_limProt - + - + out - + - + PI(z) @@ -435,11 +482,11 @@ - + - + PI_clamp_fixdt_n @@ -450,11 +497,11 @@ - + - + sfix16_En4 @@ -462,29 +509,29 @@ - + - + - + - + - + - + @@ -508,11 +555,11 @@ - + - + [n_mot] @@ -541,11 +588,11 @@ - + - + [Vq_min] @@ -574,11 +621,11 @@ - + - + [r_inpTgtSca] @@ -607,11 +654,11 @@ - + - + [Vq_max] @@ -630,43 +677,91 @@ - - + + + + + + + + + + + + + + + + cf_nKi + + + + + + + + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + - + - + - - [Vq_max] + + [r_inpTgtSca] - + - + - - + + - + sfix16_En4 @@ -688,11 +783,11 @@ - + - + [n_mot] @@ -710,11 +805,11 @@ - + - + sfix16_En4 @@ -726,121 +821,43 @@ - - - + + + - - + + - - + + - - cf_iqKiLimProt + + [Vq_min] - - - - - - - - - - - - - - - - - cf_iqKiLimProt - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - n_mot + + - + - + - + sfix16_En4 @@ -908,44 +925,44 @@ - - - + + + - - + + - + - - 1 + + [iq_limProt] - - + + - - - + + + - + - - Vq_Spd + + sfix16_En4 @@ -956,58 +973,59 @@ - - - + + + - - + + - + - - 5 - - - - - - - - - - - - - - + + - + - - iq_limProt + + + + + + + + + + + + + + + + + - + - - + + - + sfix16_En4 @@ -1019,29 +1037,44 @@ - - - + + + - - + + - - + + - - [iq_limProt] + + case: { } - - + + + + + + + + + + + + + + + + + Action Port @@ -1052,43 +1085,43 @@ - - + + - + - + - - [iq_limProt] + + [Vq_max] - + - + - - + + - + sfix16_En4 @@ -1100,58 +1133,58 @@ - - + + - + - + - - 3 + + 4 - + - - + + - - + + - - Vq_min + + n_mot - + - - + + - + sfix16_En4 @@ -1163,44 +1196,59 @@ - - - + + + - - + + - - + + - - case: { } + + 3 - - + + - - + + - - + + - - Action Port + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 @@ -1221,11 +1269,11 @@ - + - + 2 @@ -1243,11 +1291,11 @@ - + - + Vq_max @@ -1257,60 +1305,12 @@ - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - + - + sfix16_En4 @@ -1322,91 +1322,58 @@ - - - + + + - - + + - + - - cf_nKp + + 5 - - + + - - - + + + - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - - - + - - [Vq_min] - - - - - - - + + iq_limProt - + - - + + - + sfix16_En4 @@ -1428,11 +1395,11 @@ - + - + 1 @@ -1450,11 +1417,11 @@ - + - + r_inpTgtSca @@ -1465,11 +1432,11 @@ - + - + sfix16_En4 @@ -1479,6 +1446,39 @@ + + + + + + + + + + + + + + + + + + [iq_limProt] + + + + + + + + + + + + + + + @@ -1719,5 +1719,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.json index 00bf9b2..69a5f0c 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.json @@ -80,11 +80,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9140", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9139", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"constant", - "label":"constant", + "name":"cf_iqKp", + "label":"cf_iqKp", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ @@ -98,12 +98,12 @@ "FramePeriod" ], "values":[ - "0", + "cf_iqKp", "on", "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "fixdt(0,16,12)", "off", "inf" ], @@ -188,43 +188,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9138", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9134", + "className":"Simulink.SignalConversion", "icon":"WebViewIcon3", - "name":"cf_iqKi", - "label":"cf_iqKi", + "name":"Signal Conversion2", + "label":"Signal Conversion2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", + "ConversionOutput", "OutDataTypeStr", - "LockScale", - "FramePeriod" + "OverrideOpt" ], "values":[ - "cf_iqKi", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "inf" + "Signal copy", + "Inherit: auto", + "off" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -232,7 +216,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"SignalConversion", "masktype":"" } }, @@ -402,11 +386,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9128", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9130", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ @@ -415,7 +399,7 @@ "IconDisplay" ], "values":[ - "Vq_min", + "iq", "local", "Tag" ], @@ -468,42 +452,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9121", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From34", - "label":"From34", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "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:9130", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9128", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ @@ -512,7 +465,7 @@ "IconDisplay" ], "values":[ - "iq", + "Vq_min", "local", "Tag" ], @@ -532,11 +485,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9120", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9121", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From34", + "label":"From34", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ @@ -544,7 +497,7 @@ "IconDisplay" ], "values":[ - "iq_min", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -594,21 +547,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9129", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9120", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", + "name":"From3", + "label":"From3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "iq_min", - "local", "Tag" ], "tabs":[ @@ -622,16 +573,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9740", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9118", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ @@ -639,7 +590,7 @@ "IconDisplay" ], "values":[ - "n_limProt", + "iq", "Tag" ], "tabs":[ @@ -724,6 +675,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9117", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9115", "className":"Simulink.Inport", @@ -792,20 +774,22 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9117", - "className":"Simulink.ActionPort", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9127", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"Goto19", + "label":"Goto19", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "reset", - "Only when execution is resumed" + "iq_max", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -818,26 +802,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9125", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9123", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"From44", + "label":"From44", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "Vq_max", - "local", "Tag" ], "tabs":[ @@ -851,7 +833,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, @@ -923,56 +905,61 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9124", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From47", - "label":"From47", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9123", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9114", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"From44", - "label":"From44", + "name":"iq_max", + "label":"iq_max", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "Vq_max", - "Tag" + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -980,16 +967,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9114", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9112", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"iq_max", - "label":"iq_max", + "name":"Vq_min", + "label":"Vq_min", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ @@ -1012,7 +999,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "3", "Port number", "[]", "[]", @@ -1111,11 +1098,78 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9127", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9111", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_max", + "label":"Vq_max", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "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:9125", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ @@ -1124,7 +1178,7 @@ "IconDisplay" ], "values":[ - "iq_max", + "Vq_max", "local", "Tag" ], @@ -1144,11 +1198,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9118", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9124", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From47", + "label":"From47", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ @@ -1156,7 +1210,7 @@ "IconDisplay" ], "values":[ - "iq", + "Vq_min", "Tag" ], "tabs":[ @@ -1175,61 +1229,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9111", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9129", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Vq_max", - "label":"Vq_max", + "name":"Goto29", + "label":"Goto29", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "iq_min", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1237,7 +1257,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Goto", "masktype":"" } }, @@ -1309,11 +1329,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9139", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9138", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"cf_iqKp", - "label":"cf_iqKp", + "name":"cf_iqKi", + "label":"cf_iqKi", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ @@ -1327,12 +1347,12 @@ "FramePeriod" ], "values":[ - "cf_iqKp", + "cf_iqKi", "on", "inf", "[]", "[]", - "fixdt(0,16,12)", + "fixdt(0,16,16)", "off", "inf" ], @@ -1358,50 +1378,32 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9112", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9140", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", + "name":"constant", + "label":"constant", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "FramePeriod" ], "values":[ - "3", - "Port number", + "0", + "on", + "inf", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", + "Inherit: Inherit via back propagation", "off", - "off" + "inf" ], "tabs":[ "Main", @@ -1410,8 +1412,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 3, + 7 ] }, "viewer":{ @@ -1420,27 +1422,25 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9134", - "className":"Simulink.SignalConversion", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9740", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Signal Conversion2", - "label":"Signal Conversion2", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ - "ConversionOutput", - "OutDataTypeStr", - "OverrideOpt" + "GotoTag", + "IconDisplay" ], "values":[ - "Signal copy", - "Inherit: auto", - "off" + "n_limProt", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -1453,7 +1453,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"SignalConversion", + "blocktype":"From", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.svg index b9d5852..eff8771 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.svg @@ -61,44 +61,44 @@ - - - + + + - - + + - + - - 0 + + cf_iqKp - - + + - - + + - + - - sfix32_En20 + + ufix16_En12 @@ -181,44 +181,172 @@ - - - + + + - - + + - + - + - - cf_iqKi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - ufix16_En16 + + sfix16_En4 @@ -231,7 +359,7 @@ - + @@ -239,35 +367,35 @@ - + - + - + - + - + - + - + - + @@ -279,35 +407,35 @@ - + - + up - + - + u - + - + lo - + - + y @@ -325,11 +453,11 @@ - + - + sfix16_En4 @@ -351,67 +479,67 @@ - + - + err - + - + P - + - + I - + - + satMax - + - + satMin - + - + ext_limProt - + - + out - + - + PI(z) @@ -429,41 +557,56 @@ - + - + PI_clamp_fixdt_iq + + + + + + + + + + + sfix16_En4 + + + + - + - + - + - + - + - + @@ -471,21 +614,6 @@ - - - - - - - - - - - sfix16_En4 - - - - @@ -502,11 +630,11 @@ - + - + [n_limProt] @@ -525,28 +653,28 @@ - - + + - + - + - - [Vq_min] + + [iq] - + @@ -568,11 +696,11 @@ - + - + [r_inpTgtSca] @@ -589,6 +717,39 @@ + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + @@ -601,11 +762,11 @@ - + - + [r_inpTgtSca] @@ -623,11 +784,11 @@ - + - + sfix16_En4 @@ -639,29 +800,44 @@ - - - + + + - - + + - - + + - - [iq] + + [iq_max] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -682,11 +858,11 @@ - + - + [iq_min] @@ -704,11 +880,11 @@ - + - + sfix16_En4 @@ -720,43 +896,43 @@ - - + + - + - + - - [iq_max] + + [iq] - + - + - - + + - + sfix16_En4 @@ -768,76 +944,58 @@ - - - + + + - - + + - - + + - - [iq_min] + + 7 - - + + - - - - - - - - - - - - - - - + + + + - - + + - - [n_limProt] - - - - - - - + + n_limProt - + - - + + - + sfix16_En4 @@ -849,59 +1007,44 @@ - - - + + + - - + + - - + + - - 7 + + case: { } - - + + - - - - - - - - - - n_limProt - - - - - - - + + - - + + - - sfix16_En4 + + Action Port @@ -922,11 +1065,11 @@ - + - + 6 @@ -944,11 +1087,11 @@ - + - + iq_min @@ -959,11 +1102,11 @@ - + - + sfix16_En4 @@ -975,44 +1118,29 @@ - - - + + + - - + + - - + + - - case: { } + + [iq_max] - - - - - - - - - - - - - - - - - Action Port + + @@ -1023,29 +1151,44 @@ - - - + + + - - + + - - + + - + [Vq_max] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1066,11 +1209,11 @@ - + - + 4 @@ -1088,11 +1231,11 @@ - + - + iq @@ -1103,11 +1246,11 @@ - + - + sfix16_En4 @@ -1119,43 +1262,58 @@ - - - + + + - - + + - - + + - - [Vq_min] + + 5 - - + + + + + + + + + + + + + + + + + iq_max - + - - + + - + sfix16_En4 @@ -1167,106 +1325,58 @@ - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - 5 + + 3 - + - - + + - - + + - - iq_max + + Vq_min - + - - + + - + sfix16_En4 @@ -1288,27 +1398,27 @@ - + - + - + - + - + - + @@ -1326,11 +1436,11 @@ - + - + sfix16_En4 @@ -1342,28 +1452,91 @@ - - + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + - + - + - - [iq_max] + + [Vq_max] - + @@ -1375,43 +1548,43 @@ - - + + - + - + - - [iq] + + [Vq_min] - + - + - - + + - + sfix16_En4 @@ -1423,59 +1596,29 @@ - - - + + + - - + + - - + + - - 2 + + [iq_min] - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1496,11 +1639,11 @@ - + - + 1 @@ -1518,11 +1661,11 @@ - + - + r_inpTgtSca @@ -1533,11 +1676,11 @@ - + - + sfix16_En4 @@ -1549,44 +1692,44 @@ - - + + - + - + - - cf_iqKp + + cf_iqKi - + - + - - + + - - ufix16_En12 + + ufix16_En16 @@ -1597,59 +1740,44 @@ - - - + + + - - + + - - + + - - 3 + + 0 - - - - - - - - - - - - - - - - - Vq_min + + - - + + - - + + - - sfix16_En4 + + sfix32_En20 @@ -1660,171 +1788,43 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + [n_limProt] - - - - - - - - - - + + - + - + - + sfix16_En4 @@ -2144,5 +2144,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9133_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9133_d.svg index 6e12bd0..e6098c2 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9133_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9133_d.svg @@ -1009,16 +1009,16 @@ - + - + - + - + @@ -1103,10 +1103,10 @@ - + - + @@ -1176,5 +1176,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.json index 04c2685..0e23d08 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.json @@ -108,42 +108,52 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164", - "className":"Saturation Dynamic", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9724", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", + "name":"cf_idKi1", + "label":"cf_idKi1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "DoSatur" + "FramePeriod" ], "values":[ + "cf_idKi", + "on", + "inf", "[]", "[]", - "Inherit: Same as second input", + "fixdt(0,16,16)", "off", - "Floor", - "off" + "inf" ], "tabs":[ + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ + 0, + 3, + 7 ] }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" + "blocktype":"Constant", + "masktype":"" } }, { @@ -240,11 +250,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9160", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9162", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", + "name":"Goto29", + "label":"Goto29", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ @@ -253,7 +263,7 @@ "IconDisplay" ], "values":[ - "id_max", + "id_min", "local", "Tag" ], @@ -273,11 +283,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9157", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9161", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ @@ -286,7 +296,7 @@ "IconDisplay" ], "values":[ - "id_Tgt", + "id", "local", "Tag" ], @@ -306,19 +316,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9722", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9160", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"Goto19", + "label":"Goto19", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "Vd_max", + "id_max", + "local", "Tag" ], "tabs":[ @@ -332,24 +344,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9155", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9159", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"Goto18", + "label":"Goto18", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "id_max", + "Vd_min", + "local", "Tag" ], "tabs":[ @@ -363,104 +377,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9170", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vd", - "label":"Vd", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "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", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9152", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9158", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"Goto17", + "label":"Goto17", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "id", + "Vd_max", + "local", "Tag" ], "tabs":[ @@ -474,75 +410,47 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9149", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164", + "className":"Saturation Dynamic", "icon":"WebViewIcon3", - "name":"id_min", - "label":"id_min", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ - "Port", - "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "RndMeth", + "DoSatur" ], "values":[ - "6", - "Port number", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", + "Inherit: Same as second input", "off", + "Floor", "off" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" ], "tabs_idx":[ - 0, - 2, - 11 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", - "masktype":"" + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" } }, { @@ -577,21 +485,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9161", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9155", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"From5", + "label":"From5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "id", - "local", + "id_max", "Tag" ], "tabs":[ @@ -605,25 +511,27 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9150", - "className":"Simulink.ActionPort", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9157", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "reset", - "Only when execution is resumed" + "id_Tgt", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -636,16 +544,109 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9148", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9152", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9722", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vd_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9150", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "reset", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9149", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"id_max", - "label":"id_max", + "name":"id_min", + "label":"id_min", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ @@ -668,7 +669,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "6", "Port number", "[]", "[]", @@ -708,11 +709,42 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9147", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9151", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_Tgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9146", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Vd_min", - "label":"Vd_min", + "name":"Vd_max", + "label":"Vd_max", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ @@ -735,7 +767,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "3", "Port number", "[]", "[]", @@ -775,54 +807,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9158", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9159", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9723", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", + "name":"From8", + "label":"From8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "Vd_min", - "local", "Tag" ], "tabs":[ @@ -836,7 +833,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, @@ -908,27 +905,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9162", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9725", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", + "name":"cf_idKp1", + "label":"cf_idKp1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "id_min", - "local", - "Tag" + "cf_idKp", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,12)", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -936,16 +949,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9146", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9144", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Vd_max", - "label":"Vd_max", + "name":"id_Tgt", + "label":"id_Tgt", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ @@ -968,7 +981,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "1", "Port number", "[]", "[]", @@ -1008,11 +1021,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9144", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9148", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"id_Tgt", - "label":"id_Tgt", + "name":"id_max", + "label":"id_max", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ @@ -1035,7 +1048,7 @@ "OutputFunctionCall" ], "values":[ - "1", + "5", "Port number", "[]", "[]", @@ -1075,63 +1088,63 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9723", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vd_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9725", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9170", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"cf_idKp1", - "label":"cf_idKp1", + "name":"Vd", + "label":"Vd", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "cf_idKp", - "on", - "inf", + "1", + "Port number", "[]", "[]", - "fixdt(0,16,12)", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -1140,8 +1153,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -1150,68 +1163,55 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9151", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_Tgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9724", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9147", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"cf_idKi1", - "label":"cf_idKi1", + "name":"Vd_min", + "label":"Vd_min", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "cf_idKi", - "on", - "inf", + "4", + "Port number", "[]", "[]", - "fixdt(0,16,16)", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", @@ -1220,8 +1220,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -1230,7 +1230,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Inport", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.svg index 757a489..fad91cc 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9143_d.svg @@ -125,108 +125,44 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + + - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - + + - - y + + cf_idKi - - + + - - + + - - + + - - sfix16_En4 + + ufix16_En16 @@ -247,67 +183,67 @@ - + - + err - + - + P - + - + I - + - + satMax - + - + satMin - + - + ext_limProt - + - + out - + - + PI(z) @@ -325,41 +261,56 @@ - + - + PI_clamp_fixdt_id + + + + + + + + + + + sfix16_En4 + + + + - + - + - + - + - + - + @@ -367,49 +318,34 @@ - - - - - - - - - - - sfix16_En4 - - - - - - + + - + - + - - [id_max] + + [id_min] - + @@ -421,28 +357,28 @@ - - + + - + - + - - [id_Tgt] + + [id] - + @@ -454,44 +390,62 @@ - - - + + + - - + + - - + + - - [Vd_max] + + [id_max] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - sfix16_En4 + + [Vd_min] + + + + + + + @@ -502,92 +456,141 @@ - - - + + + - - + + - - + + - - [id_max] + + [Vd_max] - - + + - - - + + + + + + + + + + + + + + + + + + + + + + - - + + - - sfix16_En4 + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + - + - - 1 + + y - - + + - - - + + + - + - - Vd + + sfix16_En4 @@ -598,43 +601,43 @@ - - + + - + - + - - [id] + + [id_min] - + - + - + - + sfix16_En4 @@ -646,59 +649,77 @@ - - - + + + - - + + - + - - 6 + + [id_max] - - + + - - - + + + - + - - id_min + + sfix16_En4 - - - - + + + + + + + + + + + + + + + - - + + - - sfix16_En4 + + [id_Tgt] + + + + + + + @@ -709,43 +730,43 @@ - - + + - + - - + + - - [id_min] + + [id] - + - + - - + + - + sfix16_En4 @@ -757,29 +778,44 @@ - - - + + + - - + + - - + + - - [id] + + [Vd_max] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -800,11 +836,11 @@ - + - + if { } @@ -822,11 +858,11 @@ - + - + Action Port @@ -838,58 +874,58 @@ - - + + - + - + - - 5 + + 6 - + - - + + - - + + - - id_max + + id_min - + - - + + - + sfix16_En4 @@ -901,58 +937,43 @@ - - - + + + - - + + - - + + - - 4 + + [id_Tgt] - - - - - - - - - - - - - - - - - Vd_min + + - + - - + + - + sfix16_En4 @@ -964,29 +985,59 @@ - - - + + + - - + + - - + + - - [Vd_max] + + 3 - - + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + sfix16_En4 @@ -997,29 +1048,44 @@ - - - + + + - - + + - - + + - + [Vd_min] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1040,11 +1106,11 @@ - + - + 2 @@ -1062,11 +1128,11 @@ - + - + id @@ -1077,11 +1143,11 @@ - + - + sfix16_En4 @@ -1093,92 +1159,44 @@ - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - + + + - - + + - - + + - - 3 + + cf_idKp - - - - - - - - - - - - - - - - - Vd_max + + - - + + - - + + - - sfix16_En4 + + ufix16_En12 @@ -1199,11 +1217,11 @@ - + - + 1 @@ -1221,11 +1239,11 @@ - + - + id_Tgt @@ -1236,11 +1254,11 @@ - + - + sfix16_En4 @@ -1252,43 +1270,58 @@ - - - + + + - - + + - - + + - - [Vd_min] + + 5 - - + + + + + + + + + + + + + + + + + id_max - + - - + + - + sfix16_En4 @@ -1300,44 +1333,44 @@ - - - + + + - - + + - - + + - - cf_idKp + + 1 - - + + - - - + + + - - + + - - ufix16_En12 + + Vd @@ -1348,92 +1381,59 @@ - - - + + + - - + + - - + + - - [id_Tgt] + + 4 - - + + - - - - - - - - - - - sfix16_En4 + + + - - - - - - - - - - - - - - - - - - - + - - cf_idKi - - - - - - - + + Vd_min - - + + - + - - ufix16_En16 + + sfix16_En4 @@ -1696,5 +1696,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.svg index d78612b..fee7b1d 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9164_d.svg @@ -1009,16 +1009,16 @@ - + - + - + @@ -1103,10 +1103,10 @@ - + - + @@ -1176,5 +1176,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.json index e10f6af..e9186e2 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.json @@ -1,73 +1,26 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9191", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9189", + "className":"Simulink.SignalConversion", "icon":"WebViewIcon3", - "name":"Vq_Vlt", - "label":"Vq_Vlt", + "name":"Signal Conversion2", + "label":"Signal Conversion2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", + "ConversionOutput", "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "OverrideOpt" ], "values":[ - "1", - "Port number", - "[]", - "[]", + "Signal copy", "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", "off" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -75,16 +28,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"SignalConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9185", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9187", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"Goto31", + "label":"Goto31", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ @@ -93,7 +46,7 @@ "IconDisplay" ], "values":[ - "Vq_min", + "iq_limProt", "local", "Tag" ], @@ -113,22 +66,22 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9189", - "className":"Simulink.SignalConversion", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9184", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Signal Conversion2", - "label":"Signal Conversion2", + "name":"Goto13", + "label":"Goto13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ - "ConversionOutput", - "OutDataTypeStr", - "OverrideOpt" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "Signal copy", - "Inherit: auto", - "off" + "r_inpTgtSca", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -141,16 +94,49 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"SignalConversion", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9182", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9185", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9180", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ @@ -158,7 +144,7 @@ "IconDisplay" ], "values":[ - "n_limProt", + "iq_limProt", "Tag" ], "tabs":[ @@ -177,53 +163,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9190", - "className":"Simulink.Sum", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9177", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", + "name":"Action Port", + "label":"Action Port", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "rectangular", - "+++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "reset", + "Only when execution is resumed" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 10 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -231,16 +189,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"ActionPort", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9181", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9179", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", + "name":"From16", + "label":"From16", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ @@ -248,7 +206,7 @@ "IconDisplay" ], "values":[ - "Vq_min", + "Vq_max", "Tag" ], "tabs":[ @@ -267,11 +225,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9180", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9182", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From3", + "label":"From3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ @@ -279,7 +237,7 @@ "IconDisplay" ], "values":[ - "iq_limProt", + "n_limProt", "Tag" ], "tabs":[ @@ -365,11 +323,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9187", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9183", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ @@ -378,7 +336,7 @@ "IconDisplay" ], "values":[ - "iq_limProt", + "Vq_max", "local", "Tag" ], @@ -398,11 +356,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9178", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9181", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From20", + "label":"From20", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ @@ -410,7 +368,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "Vq_min", "Tag" ], "tabs":[ @@ -429,58 +387,61 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9183", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9177", - "className":"Simulink.ActionPort", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9175", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"iq_limProt", + "label":"iq_limProt", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "reset", - "Only when execution is resumed" + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -488,32 +449,58 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9186", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9190", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"Sum3", + "label":"Sum3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "n_limProt", - "local", - "Tag" + "rectangular", + "+++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 10 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -521,16 +508,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9175", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9174", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"iq_limProt", - "label":"iq_limProt", + "name":"Vq_min", + "label":"Vq_min", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ @@ -553,7 +540,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "3", "Port number", "[]", "[]", @@ -593,11 +580,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9174", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9191", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", + "name":"Vq_Vlt", + "label":"Vq_Vlt", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ @@ -613,14 +600,20 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "3", + "1", "Port number", "[]", "[]", @@ -632,10 +625,17 @@ "-1", "auto", "off", - "", - "on", "off", + "[]", + "off", + "held", "off", + "0", + "", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -655,26 +655,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9184", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9178", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "r_inpTgtSca", - "local", "Tag" ], "tabs":[ @@ -688,7 +686,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, @@ -798,37 +796,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9179", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9172", "className":"Simulink.Inport", @@ -896,6 +863,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9186", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_limProt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9172#out:1", "className":"Simulink.Line", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.svg index 829e49c..3815425 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.svg @@ -10,87 +10,6 @@ - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vq_Vlt - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - @@ -104,131 +23,131 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -254,11 +173,11 @@ - + - + sfix16_En4 @@ -270,44 +189,62 @@ - - - + + + - - + + - - + + - - [n_limProt] + + [iq_limProt] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - sfix16_En4 + + [r_inpTgtSca] + + + + + + + @@ -318,84 +255,125 @@ - - - + + + - - + + - - + + - - + + [Vq_min] - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + [iq_limProt] - - - - - - - + + + + + + + + + + + + + - - + + - - + + sfix16_En4 + + + + + + + + + + + + + + + + + + - - + + - - + + case: { } - - + + - - - + + + - - + + - - sfix16_En4 + + Action Port @@ -406,43 +384,43 @@ - - + + - + - + - - [Vq_min] + + [Vq_max] - + - + - - + + - + sfix16_En4 @@ -454,43 +432,43 @@ - - + + - + - + - - [iq_limProt] + + [n_limProt] - + - + - - + + - + sfix16_En4 @@ -512,11 +490,11 @@ - + - + 5 @@ -534,11 +512,11 @@ - + - + n_limProt @@ -549,11 +527,11 @@ - + - + sfix16_En4 @@ -565,28 +543,28 @@ - - + + - + - + - - [iq_limProt] + + [Vq_max] - + @@ -598,43 +576,43 @@ - - + + - + - + - - [r_inpTgtSca] + + [Vq_min] - + - + - - + + - + sfix16_En4 @@ -646,77 +624,59 @@ - - - + + + - - + + - - + + - - [Vq_max] + + 4 - - + + - - - - - - - - - - - - - - - + + + + - - + + - - case: { } - - - - - - - + + iq_limProt - - - + + + - - - + + + - - Action Port + + sfix16_En4 @@ -727,29 +687,84 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - [n_limProt] + + - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -760,58 +775,58 @@ - - + + - + - + - - 4 + + 3 - + - - + + - - + + - - iq_limProt + + Vq_min - + - - + + - + sfix16_En4 @@ -823,59 +838,44 @@ - - + + - + - + - - 3 + + 1 - + - - - - - - - - - - Vq_min - - - - - - - + + - + - - sfix16_En4 + + Vq_Vlt @@ -886,29 +886,44 @@ - - - + + + - - + + - + - + [r_inpTgtSca] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -929,35 +944,35 @@ - + - + - + - + - + - + - + - + @@ -969,35 +984,35 @@ - + - + up - + - + u - + - + lo - + - + y @@ -1015,11 +1030,11 @@ - + - + sfix16_En4 @@ -1041,11 +1056,11 @@ - + - + 2 @@ -1063,11 +1078,11 @@ - + - + Vq_max @@ -1078,59 +1093,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1152,11 +1119,11 @@ - + - + 1 @@ -1174,11 +1141,11 @@ - + - + r_inpTgtSca @@ -1189,11 +1156,11 @@ - + - + sfix16_En4 @@ -1203,6 +1170,39 @@ + + + + + + + + + + + + + + + + + + [n_limProt] + + + + + + + + + + + + + + + @@ -1387,5 +1387,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.svg index 860cb68..faed7a8 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9188_d.svg @@ -1009,9 +1009,6 @@ - - - @@ -1021,6 +1018,9 @@ + + + @@ -1176,5 +1176,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.json index 94e4b9d..f49c483 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.json @@ -27,7 +27,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "3", "Port number", "[]", "[]", @@ -532,144 +532,22 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9232", - "className":"Simulink.Mux", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9208", + "className":"Simulink.Demux", "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", + "name":"Demux", + "label":"Demux", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "Outputs", + "DisplayOption", + "BusSelectionMode" ], "values":[ "3", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9216", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From39", - "label":"From39", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_phaA", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9217", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From40", - "label":"From40", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_phaB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9218", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From41", - "label":"From41", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_phaC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9211", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_pos", - "Tag" + "bar", + "off" ], "tabs":[ "Parameter Attributes" @@ -682,45 +560,55 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Demux", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9234", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9202", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", + "name":"V_phaABC_FOC", + "label":"V_phaABC_FOC", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Criteria", - "InputSameDT", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "Threshold", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "u2 ~= 0", - "off", + "4", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "Zero", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", "off", "off", - "-1", - "0", - "on" + "off" ], "tabs":[ "Main", @@ -729,8 +617,8 @@ ], "tabs_idx":[ 0, - 1, - 9 + 2, + 11 ] }, "viewer":{ @@ -739,52 +627,32 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9236", - "className":"Simulink.LookupNDDirect", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9228", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"z_commutMap_M1", - "label":"z_commutMap_M1", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "NumberOfTableDimensions", - "InputsSelectThisObjectFromTable", - "TableIsInput", - "Table", - "DiagnosticForOutOfRangeInput", - "TableMin", - "TableMax", - "TableDataTypeStr", - "LockScale", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "2", - "Column", - "off", - "z_commutMap_M1", - "None", - "[]", - "[]", - "int16", - "off", - "-1" + "V_phaABC_FOC", + "local", + "Tag" ], "tabs":[ - "Main", - "Table Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 5, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -792,27 +660,27 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"LookupNDDirect", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9208", - "className":"Simulink.Demux", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9231", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Demux", - "label":"Demux", + "name":"Goto9", + "label":"Goto9", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Outputs", - "DisplayOption", - "BusSelectionMode" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "3", - "bar", - "off" + "Vq", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -825,16 +693,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Demux", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9202", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9205", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_phaA", - "label":"r_phaA", + "name":"Vq", + "label":"Vq", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -857,7 +725,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "5", "Port number", "[]", "[]", @@ -897,21 +765,19 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9228", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9213", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"From2", + "label":"From2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "r_phaA", - "local", + "Vq", "Tag" ], "tabs":[ @@ -925,16 +791,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9203", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9199", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_phaB", - "label":"r_phaB", + "name":"b_enaAdvCtrl", + "label":"b_enaAdvCtrl", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -957,7 +823,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "1", "Port number", "[]", "[]", @@ -997,11 +863,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9229", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9223", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", + "name":"Goto10", + "label":"Goto10", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1010,7 +876,7 @@ "IconDisplay" ], "values":[ - "r_phaB", + "b_enaAdvCtrl", "local", "Tag" ], @@ -1030,11 +896,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9204", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9455", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"r_phaC", - "label":"r_phaC", + "name":"VqFinPrev", + "label":"VqFinPrev", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1050,14 +916,20 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "6", + "4", "Port number", "[]", "[]", @@ -1069,10 +941,17 @@ "-1", "auto", "off", - "", - "on", "off", + "0", + "off", + "reset", "off", + "0", + "", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -1092,65 +971,44 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9230", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_phaC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9231", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9840", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", + "name":"Relational Operator2", + "label":"Relational Operator2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "Vq", - "local", - "Tag" + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Main", + "Data Type", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1158,65 +1016,43 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9205", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9233", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Vq", - "label":"Vq", + "name":"Relational Operator6", + "label":"Relational Operator6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", + "Operator", + "InputSameDT", "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "RndMeth", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "ZeroCross" ], "values":[ - "7", - "Port number", - "[]", - "[]", - "Inherit: auto", + "==", "off", - "inherit", - "-1", - "Inherit", + "boolean", + "Simplest", "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "on" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 1, + 4 ] }, "viewer":{ @@ -1225,30 +1061,49 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9213", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9449", + "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"UnitDelay4", + "label":"UnitDelay4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" ], "values":[ - "Vq", - "Tag" + "0", + "Inherited", + "-1", + "", + "", + "off", + [ + ], + "Auto" ], "tabs":[ - "Parameter Attributes" + "Main", + "State Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 4 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1256,21 +1111,20 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"UnitDelay", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9209", - "className":"Simulink.Product", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9235", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"Switch2", + "label":"Switch2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Inputs", - "Multiplication", + "Criteria", "InputSameDT", "OutMin", "OutMax", @@ -1278,23 +1132,24 @@ "LockScale", "RndMeth", "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" ], "values":[ - "**", - "Element-wise(.*)", + "u2 ~= 0", "off", "[]", "[]", - "Inherit: Same as first input", + "Inherit: Inherit via back propagation", "off", - "Simplest", + "Zero", "off", - "1", - "All dimensions", - "-1" + "off", + "-1", + "0", + "on" ], "tabs":[ "Main", @@ -1303,7 +1158,7 @@ ], "tabs_idx":[ 0, - 2, + 1, 9 ] }, @@ -1313,65 +1168,37 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9199", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9914", + "className":"Simulink.Merge", "icon":"WebViewIcon3", - "name":"b_enaFOC", - "label":"b_enaFOC", + "name":"Merge", + "label":"Merge", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets", + "Inputs" ], "values":[ - "1", - "Port number", - "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", "off", - "off", - "off" + "[]", + "3" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 1 ] }, "viewer":{ @@ -1380,111 +1207,41 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Merge", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9223", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_enaFOC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9455", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9833", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"VqFinPrev", - "label":"VqFinPrev", + "name":"If", + "label":"If", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "ZeroCross" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", + "2", + "u1 ~= 0", + "u2 ~= 0", + "on", "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "on" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 4 ] }, "viewer":{ @@ -1493,49 +1250,32 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"If", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9449", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9925", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"UnitDelay4", - "label":"UnitDelay4", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "0", - "Inherited", - "-1", - "", - "", - "off", - [ - ], - "Auto" + "n_motAbs", + "local", + "Tag" ], "tabs":[ - "Main", - "State Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 4 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1543,56 +1283,32 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9235", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9227", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" + "z_ctrlTypSel", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 1, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1600,7 +1316,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Goto", "masktype":"" } }, @@ -1638,64 +1354,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9233", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator6", - "label":"Relational Operator6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "==", - "off", - "boolean", - "Simplest", - "-1", - "on" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"RelationalOperator", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9454", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9926", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"Goto13", + "label":"Goto13", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "VqFinPrev", + "a_elecAngle", + "local", "Tag" ], "tabs":[ @@ -1709,7 +1382,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, @@ -1747,11 +1420,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9215", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9927", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From7", + "label":"From7", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1759,7 +1432,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "a_elecAngle", "Tag" ], "tabs":[ @@ -1778,11 +1451,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9214", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9454", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", + "name":"From5", + "label":"From5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1790,7 +1463,7 @@ "IconDisplay" ], "values":[ - "z_ctrlTypSel", + "VqFinPrev", "Tag" ], "tabs":[ @@ -1809,7 +1482,7 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9453", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9917", "className":"Simulink.From", "icon":"WebViewIcon3", "name":"From4", @@ -1821,7 +1494,7 @@ "IconDisplay" ], "values":[ - "VqFin", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -1840,11 +1513,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9210", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9929", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From16", + "label":"From16", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1852,7 +1525,7 @@ "IconDisplay" ], "values":[ - "b_enaFOC", + "n_motAbs", "Tag" ], "tabs":[ @@ -1871,60 +1544,294 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9206", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9908", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", + "name":"From15", + "label":"From15", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "V_phaABC_FOC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9831", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9920", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F05_02_FOC_Method", + "label":"F05_02_FOC_Method", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9924", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_dir", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "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:9198", "inspector":{ "params":[ - "Port", - "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "8", - "Port number", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", + "int16", "off", + "Real World Value (RWV)", + "Floor", "off", - "off" + "-1" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 7 ] }, "viewer":{ @@ -1933,79 +1840,1743 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9227", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9838", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM3", + "label":"CTRL_COMM3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "CTRL_SIN", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "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:9834", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM2", + "label":"CTRL_COMM2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "CTRL_FOC", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "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:9207", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM1", + "label":"CTRL_COMM1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "CTRL_FOC", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "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:9215", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9915", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9916", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9923", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9922", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_dir", + "label":"z_dir", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9921", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"a_elecAngle", + "label":"a_elecAngle", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9206", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9835", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator1", + "label":"Relational Operator1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" + ], + "values":[ + "==", + "off", + "boolean", + "Simplest", + "-1", + "on" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F05_00_COM_Method", + "label":"F05_00_COM_Method", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9214", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9839", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9928", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9201", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9741", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F05_01_SIN_Method", + "label":"F05_01_SIN_Method", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9451", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9836", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator1", + "label":"Logical Operator1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "AND", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9919", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator2", + "label":"Logical Operator2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "AND", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9208#out:3", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9208#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9208#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9200#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9212#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9220#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9219#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9202#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9205#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9199#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9214#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9207#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "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:9233#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" ], "values":[ - "z_ctrlTypSel", - "local", - "Tag" + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } + "finder":[ + ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9207", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"CTRL_COMM1", - "label":"CTRL_COMM1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9206#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" ], "values":[ - "CTRL_FOC", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", + "", "off", - "inf" + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" ], "tabs_idx":[ 0, 3, + 5, 7 ] }, @@ -2014,66 +3585,50 @@ }, "obj_viewer":[ ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } + "finder":[ + ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9201", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlTypSel", - "label":"z_ctrlTypSel", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9201#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" ], "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", + "", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", "off", - "", - "on", "off", "off", - "off" + "Simulink", + "Auto", + "", + "" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" ], "tabs_idx":[ 0, - 2, - 11 + 3, + 5, + 7 ] }, "viewer":{ @@ -2081,46 +3636,62 @@ }, "obj_viewer":[ ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } + "finder":[ + ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9451", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9235#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "SignalNameFromLabel", + "MustResolveToSignal", + "ShowPropagatedSignal", + "DataLogging", + "TestPoint", + "SignalObjectPackage", + "StorageClass", + "Description", + "documentLink" ], "values":[ - "VqFin", - "local", - "Tag" + "", + "off", + "off", + "off", + "off", + "Simulink", + "Auto", + "", + "" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "Logging and Accessibility", + "Code Generation", + "Documentation" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 5, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } + "finder":[ + ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9208#out:3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9449#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2171,7 +3742,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9208#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9454#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2222,7 +3793,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9208#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9213#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2273,7 +3844,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9200#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9215#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2324,7 +3895,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9212#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8216#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2375,7 +3946,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9220#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9834#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2426,7 +3997,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9219#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9832#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2477,7 +4048,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9211#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9835#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2528,7 +4099,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9234#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9831#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2579,7 +4150,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9202#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9839#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2630,7 +4201,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9203#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9838#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2681,7 +4252,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9204#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9908#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2732,7 +4303,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9205#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9833#out:3", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2783,7 +4354,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9216#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9904#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2834,7 +4405,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9217#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9914#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2885,7 +4456,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9218#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9915#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2936,7 +4507,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9236#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9916#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -2987,7 +4558,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9209#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9917#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3038,7 +4609,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9199#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9836#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3089,7 +4660,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9232#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9833#out:2", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3140,7 +4711,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9210#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9741#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3191,7 +4762,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9214#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9842#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3242,7 +4813,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9207#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9833#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3293,7 +4864,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9233#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9840#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3344,7 +4915,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9206#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9919#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3395,7 +4966,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9201#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9920#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3446,7 +5017,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9235#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9921#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3497,7 +5068,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9449#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9922#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3548,7 +5119,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9453#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9923#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3599,7 +5170,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9454#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9927#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3650,7 +5221,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9213#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9928#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", @@ -3701,7 +5272,7 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9215#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9929#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.png index 7a55d5c..8997535 100644 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.png and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.svg index 413cbd6..e866248 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9198_d.svg @@ -1,10 +1,10 @@ - + - + @@ -14,10 +14,10 @@ - + - + @@ -27,44 +27,44 @@ - - 2 + + 3 - + - + - + - + z_pos - + - + - + int8 @@ -77,10 +77,10 @@ - + - + @@ -90,29 +90,29 @@ - + 3 - + - + - + - + DC_phaC @@ -125,27 +125,27 @@ - + - + - + - + [z_pos] - + @@ -158,10 +158,10 @@ - + - + @@ -171,29 +171,29 @@ - + 2 - + - + - + - + DC_phaB @@ -206,10 +206,10 @@ - + - + @@ -219,29 +219,29 @@ - + 1 - + - + - + - + DC_phaA @@ -254,10 +254,10 @@ - + - + @@ -267,14 +267,14 @@ - + [DC_phaA] - + @@ -287,10 +287,10 @@ - + - + @@ -300,14 +300,14 @@ - + [DC_phaB] - + @@ -320,10 +320,10 @@ - + - + @@ -333,14 +333,14 @@ - + [DC_phaC] - + @@ -353,10 +353,10 @@ - + - + @@ -366,29 +366,29 @@ - + [DC_phaA] - + - + - + - + int16 @@ -401,10 +401,10 @@ - + - + @@ -414,29 +414,29 @@ - + [DC_phaB] - + - + - + - + int16 @@ -449,10 +449,10 @@ - + - + @@ -462,29 +462,29 @@ - + [DC_phaC] - + - + - + - + int16 @@ -496,43 +496,73 @@ - - - + + + - - + + - + - + - - + + - + - + + + + + int16 + + + + + + + + + + + + + + + int16 + + + + + + + + + + + - + int16 @@ -544,44 +574,59 @@ - - - + + + - - + + - - + + - - [r_phaA] + + 4 - - + + + + + + + + + + + + + + + + + V_phaABC_FOC - - + + - - + + - - int16 + + sfix16_En4 @@ -592,44 +637,62 @@ - - - + + + - - + + - - + + - - [r_phaB] + + [V_phaABC_FOC] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - int16 + + [Vq] + + + + + + + @@ -640,44 +703,59 @@ - - - + + + - - + + - - + + - - [r_phaC] + + 5 - - + + + + + + + + + + + + + + + + + Vq - - + + - - + + - - int16 + + sfix16_En4 @@ -688,44 +766,44 @@ - - - + + + - - + + - - + + - - [z_pos] + + [Vq] - - + + - - + + - - + + - - int8 + + sfix16_En4 @@ -736,188 +814,92 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + 1 - - - - - - - + + + + + + - - - - - - - + + + + + + - + - - + + b_enaAdvCtrl - - - - - - - + + + + + + - - + + - - + + boolean + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - + - - F + + [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - int16 + + @@ -928,203 +910,958 @@ - - - + + + - - + + - - + + - - + + 4 - - - + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + sfix16_En4 + + + + + + + + + + + + + + + + + + - - + + - - + + u1 - - + + - - + + u2 - - + + - - + + if(u1 ~= 0) - - + + - - + + elseif(u2 ~= 0) - - + + - - + + else + + + + + + + + + + + + + + - - + + - - + + action + + + + + + + - - + + - - + + action + + + + + + + - - + + - - + + action + + + + + + + + + + + + + + + + + + - - + + - - + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + [a_elecAngle] + + + + + + + + + + + + + + - - + + - - + + sfix16_En6 + + + + + + + + + + + + + + + + + + - - + + - - 2-D T[k] + + [VqFinPrev] - - + + - - - + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + - - + + - - z_commutMap_M1 + + [r_inpTgtSca] + + + + + + + - - + + - - + + - - int16 + + sfix16_En4 @@ -1135,74 +1872,92 @@ - - - + + + - - + + - - + + - - + + [n_motAbs] - - + + - - + + - - + + - - int16 + + sfix16_En4 - - - - + + + + + + + + + + + + + + + - - + + - - int16 + + [V_phaABC_FOC] + + + + + + + - - + + - - + + - - int16 + + sfix16_En4 @@ -1213,59 +1968,92 @@ - - - + + + - - + + - - + + - - 4 + + [b_enaAdvCtrl] - - + + - - - + + + - - + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + - - r_phaA + + [z_ctrlTypSel] + + + + + + + - + - - + + - - int16 + + uint8 @@ -1276,29 +2064,44 @@ - - - + + + - - + + - - + + - - [r_phaA] + + [b_enaAdvCtrl] - - + + + + + + + + + + + + + + + + + boolean @@ -1309,59 +2112,120 @@ - - - + + + - - + + + + + + + + - - + + - - 5 + + V_phaABC_FOC_in + + + + + + + + V_phaABC_FOC + + + + + + + + if { } - - + + + + + + + + - - + + + + + + + + - - + + - - r_phaB + + F05_02_FOC_Method - - + + + + + + + + - - + + - - int16 + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action @@ -1372,28 +2236,34 @@ - - + + + + + + + + - + - - + + - - [r_phaB] + + [z_dir] - + @@ -1405,58 +2275,59 @@ - - - + + + - - + + - + - - + + - - 6 + + + + + + + + + + - - - - + - - - - - - - - - - - r_phaC + + + + + + + - + - - + + - + int16 @@ -1468,29 +2339,44 @@ - - - + + + - - + + - - + + - - [r_phaC] + + CTRL_SIN - - + + + + + + + + + + + + + + + + + uint8 @@ -1501,29 +2387,44 @@ - - - + + + - - + + - - + + - - [Vq] + + CTRL_FOC - - + + + + + + + + + + + + + + + + + uint8 @@ -1534,59 +2435,92 @@ - - - + + + - - + + - - + + - - 7 + + CTRL_FOC - - + + - - - + + + - - + + - - Vq + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + - - + + - - + + - - int16 + + sfix16_En4 @@ -1597,44 +2531,44 @@ - - - + + + - - + + - - + + - - [Vq] + + [z_pos] - - + + - - + + - - + + - - int16 + + int8 @@ -1645,52 +2579,44 @@ - - - + + + - - + + - - - - - - - - - - + + - - + + [VqFin] - - + + - - + + - - + + - - int16 + + sfix16_En4 @@ -1701,59 +2627,59 @@ - - + + - + - + - - 1 + + 9 - + - - + + - - + + - - b_enaFOC + + n_motAbs - - + + - - + + - - boolean + + sfix16_En4 @@ -1764,29 +2690,59 @@ - - - + + + - - + + - - + + - - [b_enaFOC] + + 8 - - + + + + + + + + + + + + + + + + + z_dir + + + + + + + + + + + + + + + int8 @@ -1797,44 +2753,59 @@ - - + + - + - + - - 4 + + 7 - + - - + + - - + + - - VqFinPrev + + a_elecAngle + + + + + + + + + + + + + + + sfix16_En6 @@ -1845,91 +2816,59 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + 6 - - - - - - - - - - + + - - - + + + - - + + - - int16 + + r_inpTgtSca - - - + + + - - + + - - Ini=0 + + sfix16_En4 @@ -1940,221 +2879,68 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + - - + + - - T + + - - + + - - F + + - - - - + - - - - - - - - - - - int16 - + - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] + + + - - - + + + + + + + + + + + boolean @@ -2165,68 +2951,128 @@ - - - + + + - - + + + + + + + + - + - - + + - - + + VqFin - - + + - - + + z_pos - - + + - - + + V_phaABC_COM + + + + + + + + else { } - + + + + + + + + + + - + + + + + + + + + + + + + + + + + F05_00_COM_Method + - - - + + + + + + + + + + + + + + + + + sfix16_En4 - - + + + + + + + + - - + + - - boolean + + action @@ -2237,44 +3083,50 @@ - - + + + + + + + + - + - - + + - - [VqFinPrev] + + [z_ctrlTypSel] - + - + - - + + - - int16 + + uint8 @@ -2285,29 +3137,44 @@ - - - + + + - - + + - - + + - - [VqFinPrev] + + [z_ctrlTypSel] - - + + + + + + + + + + + + + + + + + uint8 @@ -2318,44 +3185,44 @@ - - + + - + - + - - [r_inpTgtSca] + + [z_dir] - + - - + + - - + + - - int16 + + int8 @@ -2366,43 +3233,58 @@ - - - + + + - - + + - - + + - - [z_ctrlTypSel] + + 2 - - + + + + + + + + + + + + + + + + + z_ctrlTypSel - + - - + + - + uint8 @@ -2414,44 +3296,144 @@ - - - + + + - - + + + + + + + + - - + + - - [VqFin] + + r_inpTgtSca + + + + + + + + a_elecAngle + + + + + + + + z_dir + + + + + + + + n_motAbs + + + + + + + + V_phaABC_SIN + + + + + + + + elseif { } - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F05_01_SIN_Method - - + + + + + + + + - - + + - - int16 + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2462,754 +3444,857 @@ - - - + + + + + + + + + - - + + - - + + - - [b_enaFOC] + + [VqFin] - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + boolean + + + + + + + + + + + - - - + + + - - + + - + - - + + - - 8 + + + + + + + + + + - - - - + - - - + + + - - + + - - r_inpTgtSca + + boolean - - - - - - - - - - - int16 + + + + + + + + + + + + + + + + + + + + + - + - - - + + + - - + + - - - - - - - - [z_ctrlTypSel] - - + + + + + + + + + - - - - - - + + - + - - - + + + - - + + - - - - - - - - CTRL_FOC - - + + + + + + + + + - - - - - - + + - - - - - - - - - - - uint8 - - + + + + + + + + + + + + - + - - - + + + - - + + - - - - - - - - 3 - - + + + + + + + + + - - - - - - + + - - - - - - - - - - - z_ctrlTypSel - - + + + + + + + + + - - - - - - - - - - - - uint8 - - + + - + - - - + + + - - + + - - - - - - - - [VqFin] - - + + + + + + + + + - - - - - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + - + - + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + - + + + + + - + - + + + + + - + - + - - + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -3218,5 +4303,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.svg index 6dbd90b..a3a1e4c 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9292_d.svg @@ -10,5 +10,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.svg index d06e523..e2dd0c1 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9293_d.svg @@ -10,5 +10,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.png deleted file mode 100644 index b110242..0000000 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.png and /dev/null differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.svg deleted file mode 100644 index 4f3c586..0000000 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.svg +++ /dev/null @@ -1,1238 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - Input Scaling [-1000,1000] → [min,max] - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 == CTRL_FOC) - - - - - - - - else - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - z_ctrlModReq - - - - - - - - r_inpTgtScaFOC - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FOC_Control_Type - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_ctrlModReq - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - r_inpTgtScaCOM - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Commutation_Control_Type - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.png deleted file mode 100644 index 77624a4..0000000 Binary files a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.png and /dev/null differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2779_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2779_d.json index 3e2652f..257fbf7 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2779_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2779_d.json @@ -1,110 +1,4 @@ [ - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2788", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2779", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "round", - "|++", - "off", - "Inherit: Same as first input", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2787", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2779", - "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:9721:2790", "className":"Simulink.Outport", @@ -185,6 +79,65 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2788", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2779", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "round", + "|++", + "off", + "Inherit: Same as first input", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2789", "className":"Simulink.UnitDelay", @@ -235,6 +188,53 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2787", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2779", + "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:9721:2786", "className":"Simulink.Inport", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2779_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2779_d.svg index 01a3e2e..792b184 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2779_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2779_d.svg @@ -10,6 +10,54 @@ + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + @@ -23,35 +71,35 @@ - + - + - + - + - + - + - + - + @@ -69,11 +117,11 @@ - + - + sfix32_En20 @@ -85,30 +133,46 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + @@ -122,71 +186,38 @@ - - - - - - - - - - - - - - - - - sfix16_En4 + + - - - - - - - - - - - - - - + + + - - + + - - 1 - - - - - - - + + Ini=0 - - - + + + - - + + - - y + + sfix32_En20 @@ -197,46 +228,30 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + @@ -250,38 +265,23 @@ - - - - - - - - - - - - - - - - - Ini=0 + + - - + + - + - - sfix32_En20 + + sfix16_En4 @@ -431,5 +431,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2791_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2791_d.json index 0b3bcda..66131a3 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2791_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2791_d.json @@ -80,63 +80,40 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2377", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2848", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"y", - "label":"y", + "name":"Switch1", + "label":"Switch1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Criteria", + "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "Threshold", + "ZeroCross" ], "values":[ - "2", - "Port number", + "u2 ~= 0", + "off", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "Inherit: Inherit via back propagation", "off", + "Zero", "off", - "[]", - "off", - "held", "off", + "-1", "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "on" ], "tabs":[ "Main", @@ -145,8 +122,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 1, + 9 ] }, "viewer":{ @@ -155,78 +132,43 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2709", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2707", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"hitMax", - "label":"hitMax", + "name":"UpperRelop", + "label":"UpperRelop", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", + "Operator", + "InputSameDT", "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "RndMeth", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "ZeroCross" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", + "<", "off", - "inherit", - "-1", - "Inherit", + "boolean", + "Nearest", "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "on" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 1, + 4 ] }, "viewer":{ @@ -235,7 +177,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"RelationalOperator", "masktype":"" } }, @@ -285,40 +227,50 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2848", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2701", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", + "name":"lo", + "label":"lo", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", "inspector":{ "params":[ - "Criteria", - "InputSameDT", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "Threshold", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "u2 ~= 0", - "off", + "3", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "Zero", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", + "", + "on", "off", - "-1", - "0", - "on" + "off", + "off" ], "tabs":[ "Main", @@ -327,8 +279,8 @@ ], "tabs_idx":[ 0, - 1, - 9 + 2, + 11 ] }, "viewer":{ @@ -337,45 +289,68 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2849", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2709", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", + "name":"hitMax", + "label":"hitMax", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", "inspector":{ "params":[ - "Criteria", - "InputSameDT", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "Threshold", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "u2 ~= 0", - "off", + "1", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "Zero", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", "off", - "-1", + "[]", + "off", + "held", + "off", "0", - "on" + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -384,8 +359,8 @@ ], "tabs_idx":[ 0, - 1, - 9 + 2, + 11 ] }, "viewer":{ @@ -394,16 +369,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2701", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2700", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"lo", - "label":"lo", + "name":"u", + "label":"u", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", "inspector":{ "params":[ @@ -426,7 +401,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "2", "Port number", "[]", "[]", @@ -466,38 +441,73 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2707", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2377", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"UpperRelop", - "label":"UpperRelop", + "name":"y", + "label":"y", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", "inspector":{ "params":[ - "Operator", - "InputSameDT", + "Port", + "IconDisplay", + "OutMin", + "OutMax", "OutDataTypeStr", - "RndMeth", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "<", + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", - "boolean", - "Nearest", + "inherit", "-1", - "on" + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 1, - 4 + 2, + 11 ] }, "viewer":{ @@ -506,16 +516,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2700", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2699", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"u", - "label":"u", + "name":"up", + "label":"up", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", "inspector":{ "params":[ @@ -538,7 +548,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -578,50 +588,40 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2699", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791:2849", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"up", - "label":"up", + "name":"Switch3", + "label":"Switch3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Criteria", + "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "Threshold", + "ZeroCross" ], "values":[ - "1", - "Port number", + "u2 ~= 0", + "off", "[]", "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "Inherit: Inherit via back propagation", "off", - "", - "on", + "Zero", "off", "off", - "off" + "-1", + "0", + "on" ], "tabs":[ "Main", @@ -630,8 +630,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 1, + 9 ] }, "viewer":{ @@ -640,7 +640,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Switch", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2791_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2791_d.svg index be589d2..8f2eb03 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2791_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2791_d.svg @@ -59,181 +59,6 @@ - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - hitMax - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LowerRelop1 - - - - - - - - - - - - - - - boolean - - - - - - - - @@ -246,155 +71,155 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -412,11 +237,11 @@ - + - + sfix16_En4 @@ -428,188 +253,154 @@ - - - + + + - - + + - + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + UpperRelop + + + + + + + - - + + - - + + boolean + + + + + + + + + + + + + + + + + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - - - - - - + + + + + + + + + + + + + + - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - + - - F - - - - - - - + + LowerRelop1 - - + + - - + + - - sfix16_En4 + + boolean @@ -630,11 +421,11 @@ - + - + 3 @@ -652,11 +443,11 @@ - + - + lo @@ -667,11 +458,11 @@ - + - + sfix16_En4 @@ -683,75 +474,44 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + 1 - - - - - - - - - - + + - - - - - - - - - - UpperRelop - - - - - - - + + - - + + - - boolean + + hitMax @@ -772,11 +532,11 @@ - + - + 2 @@ -794,11 +554,11 @@ - + - + u @@ -809,11 +569,11 @@ - + - + sfix16_En4 @@ -823,6 +583,54 @@ + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + @@ -835,11 +643,11 @@ - + - + 1 @@ -857,11 +665,11 @@ - + - + up @@ -872,11 +680,203 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1106,5 +1106,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2816_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2816_d.json index d2c0ffc..a5b28a9 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2816_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2816_d.json @@ -214,11 +214,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2839", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2837", "className":"Simulink.Signum", "icon":"WebViewIcon3", - "name":"SignDeltaU3", - "label":"SignDeltaU3", + "name":"SignDeltaU2", + "label":"SignDeltaU2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2816", "inspector":{ "params":[ @@ -290,11 +290,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2837", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2839", "className":"Simulink.Signum", "icon":"WebViewIcon3", - "name":"SignDeltaU2", - "label":"SignDeltaU2", + "name":"SignDeltaU3", + "label":"SignDeltaU3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2816", "inspector":{ "params":[ @@ -321,11 +321,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2836", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2840", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"DataTypeConv3", - "label":"DataTypeConv3", + "name":"DataTypeConv4", + "label":"DataTypeConv4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2816", "inspector":{ "params":[ @@ -368,11 +368,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2840", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2836", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"DataTypeConv4", - "label":"DataTypeConv4", + "name":"DataTypeConv3", + "label":"DataTypeConv3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2816", "inspector":{ "params":[ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2816_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2816_d.svg index bfb01c0..eb5a647 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2816_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2816_d.svg @@ -187,11 +187,11 @@ - - - + + + - + @@ -201,7 +201,7 @@ - + @@ -209,7 +209,7 @@ - + @@ -217,7 +217,7 @@ - + @@ -225,7 +225,7 @@ - + @@ -240,23 +240,23 @@ - + - + - + - - int16 + + int32 @@ -269,7 +269,7 @@ - + @@ -339,11 +339,11 @@ - - - + + + - + @@ -353,7 +353,7 @@ - + @@ -361,7 +361,7 @@ - + @@ -369,7 +369,7 @@ - + @@ -377,7 +377,7 @@ - + @@ -392,23 +392,23 @@ - + - + - + - - int32 + + int16 @@ -419,11 +419,11 @@ - - + + - + @@ -433,7 +433,7 @@ - + @@ -441,7 +441,7 @@ - + @@ -456,22 +456,22 @@ - + - + - + - + int8 @@ -483,11 +483,11 @@ - - + + - + @@ -497,7 +497,7 @@ - + @@ -505,7 +505,7 @@ - + @@ -520,22 +520,22 @@ - + - + - + - + int8 @@ -612,7 +612,7 @@ - + @@ -800,5 +800,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_d.json index 68ee10c..db365dd 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_d.json @@ -129,11 +129,61 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2783", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2817", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay1", + "label":"UnitDelay1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", + "inspector":{ + "params":[ + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "0", + "Inherited", + "-1", + "", + "", + "off", + [ + ], + "Auto" + ], + "tabs":[ + "Main", + "State Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"UnitDelay", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2781", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", + "name":"Sum2", + "label":"Sum2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ @@ -158,7 +208,7 @@ "Inherit: Inherit via internal rule", "[]", "[]", - "fixdt(1,16,4)", + "Inherit: Inherit via internal rule", "off", "Simplest", "on", @@ -188,11 +238,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2781", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2783", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", + "name":"Sum1", + "label":"Sum1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ @@ -217,7 +267,7 @@ "Inherit: Inherit via internal rule", "[]", "[]", - "Inherit: Inherit via internal rule", + "fixdt(1,16,4)", "off", "Simplest", "on", @@ -247,123 +297,86 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2845", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitSat", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2779", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", + "icon":"WebViewIcon9", + "name":"Saturation_hit", + "label":"Saturation_hit", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ "ShowPortLabels", + "BlockChoice", + "TemplateBlock", + "MemberBlocks", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", "MinAlgLoopOccurrences", - "OverrideUsingVariant", "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", + "SystemSampleTime", + "RTWSystemCode", "RTWFcnNameOpts", - "RTWFileName", + "RTWFcnName", "RTWFileNameOpts", + "RTWFileName", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "RTWMemSecFuncInitTerm", + "RTWMemSecFuncExecute", "RTWMemSecDataConstants", "RTWMemSecDataInternal", "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", + "IsSubsystemVirtual", "Variant", - "VariantControl" + "VariantControl", + "OverrideUsingVariant", + "GeneratePreprocessorConditionals", + "AllowZeroVariantControls", + "PropagateVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "TreatAsGroupedWhenPropagatingVariantConditions" ], "values":[ "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "on", "", "", - "off", "", - "void_void", - "off", - "off", - "on", + "ReadWrite", "", + "All", "off", - "", "off", "off", - "", + "-1", + "Auto", "Auto", "", "Auto", + "", + "void_void", + "off", "Inherit from model", "Inherit from model", "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", + "on", + "off", + "", "", "off", - "" + "off", + "off", + "", + "", + "on" ], "tabs":[ - "Main", - "-Other" ], "tabs_idx":[ - 0, - 6 ] }, "viewer":{ @@ -376,6 +389,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2794", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hitMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2814", "className":"Simulink.Switch", @@ -434,19 +480,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2833", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2845", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_hitMin", + "b_hitSat", + "local", "Tag" ], "tabs":[ @@ -460,24 +508,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2832", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2795", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_hitMax", + "b_hitMin", + "local", "Tag" ], "tabs":[ @@ -491,113 +541,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2776", - "className":"Simulink.Product", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2846", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"From4", + "label":"From4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2778", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide5", - "label":"Divide5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,5)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "b_hitSat", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -605,91 +572,95 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2779", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", - "name":"Saturation_hit", - "label":"Saturation_hit", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ "ShowPortLabels", - "BlockChoice", - "TemplateBlock", - "MemberBlocks", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", "MinAlgLoopOccurrences", + "OverrideUsingVariant", "PropExecContextOutsideSubsystem", - "SystemSampleTime", - "RTWSystemCode", - "RTWFcnNameOpts", + "PropagateVariantConditions", "RTWFcnName", - "RTWFileNameOpts", + "RTWFcnNameOpts", "RTWFileName", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "RTWMemSecFuncInitTerm", - "RTWMemSecFuncExecute", + "RTWFileNameOpts", "RTWMemSecDataConstants", "RTWMemSecDataInternal", "RTWMemSecDataParameters", - "IsSubsystemVirtual", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", "Variant", - "VariantControl", - "OverrideUsingVariant", - "GeneratePreprocessorConditionals", - "AllowZeroVariantControls", - "PropagateVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "TreatAsGroupedWhenPropagatingVariantConditions" + "VariantControl" ], "values":[ "FromPortIcon", + "ReadWrite", "", + "All", + "off", + "on", "", "", - "ReadWrite", + "off", "", - "All", + "void_void", "off", "off", + "on", + "", + "off", + "", + "off", "off", - "-1", - "Auto", - "Auto", "", "Auto", "", - "void_void", - "off", + "Auto", "Inherit from model", "Inherit from model", "Inherit from model", "Inherit from model", "Inherit from model", - "on", - "off", - "", + "Auto", + "-1", "", "off", - "off", - "off", - "", - "", - "on" + "" ], "tabs":[ + "Main", + "-Other" ], "tabs_idx":[ + 0, + 6 ] }, "viewer":{ @@ -770,11 +741,42 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2733", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2833", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitMin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2770", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", + "name":"P", + "label":"P", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ @@ -797,7 +799,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "2", "Port number", "[]", "[]", @@ -837,44 +839,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2795", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitMin", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2770", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2733", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"P", - "label":"P", + "name":"satMin", + "label":"satMin", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ @@ -897,7 +866,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "5", "Port number", "[]", "[]", @@ -937,108 +906,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2816", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clamping_circuit", - "label":"Clamping_circuit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", - "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:9721:2846", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2832", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ @@ -1046,7 +918,7 @@ "IconDisplay" ], "values":[ - "b_hitSat", + "b_hitMax", "Tag" ], "tabs":[ @@ -1199,43 +1071,50 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2817", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2776", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", + "name":"Divide2", + "label":"Divide2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "0", - "Inherited", - "-1", - "", - "", + "**", + "Element-wise(.*)", "off", - [ - ], - "Auto" + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", - "State Attributes", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 3, - 4 + 2, + 9 ] }, "viewer":{ @@ -1244,40 +1123,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2794", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"Product", "masktype":"" } }, @@ -1348,6 +1194,160 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2816", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clamping_circuit", + "label":"Clamping_circuit", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", + "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:9721:2778", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide5", + "label":"Divide5", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(1,16,5)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2844", "className":"Simulink.Logic", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_d.svg index 27a580b..3690017 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_d.svg @@ -109,68 +109,91 @@ - - - + + + - - + + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + - - + + + + + + + + + + + + + + + + + Ini=0 - - + + - - + + - - sfix16_En4 + + boolean @@ -191,35 +214,35 @@ - + - + - + - + - + - + - + - + @@ -237,11 +260,11 @@ - + - + sfix32_En20 @@ -253,123 +276,67 @@ - - - + + + - - + + - - + + - - [b_hitSat] - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - u + + - - + + - - y + + - - - - - - - - + + + - - + + - - - - - - - - - - - - - - - - - Integrator + + + - - - - - - - + - - + + - + sfix16_En4 @@ -381,171 +348,388 @@ - - - - - - - - - + + + - - + + - - + + - - + + up - - + + - - + + u - - + + - - + + lo - - + + - - + + hitMax - - + + - - + + y - - + + - - + + hitMin - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -563,11 +747,11 @@ - + - + sfix32_En20 @@ -579,92 +763,29 @@ - - - - - - - - - - - - - - - - [b_hitMin] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - + + + - - + + - - + + - - [b_hitMax] + + [b_hitSat] - - - - - - - - - - - - - - - - - boolean + + @@ -675,52 +796,29 @@ - - - + + + - - + + - - - - - - - - - - + + - - + + [b_hitMin] - - - - - - - - - - - - - - - - - sfix32_En20 + + @@ -731,52 +829,44 @@ - - - + + + - - + + - - - - - - - - - - + + - - + + [b_hitSat] - - + + - - + + - - + + - - sfix16_En5 + + boolean @@ -787,186 +877,91 @@ - - - + + + - - + + + + + + + + - - - - - - up - - - - + + - + u - - - - - - lo - - - - - - - - hitMax - - - - - - - - y - - - - - - - - hitMin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - boolean + + y - - - - + - - - + + + + - - sfix16_En4 + + - - - + + + + + + + + + - - + + - - boolean + + Integrator - + - - - + + + + - - + + - - - - - - - - - - - - - - - - - - - + + + + + + + sfix16_En4 @@ -978,6 +973,12 @@ + + + + + + @@ -987,11 +988,11 @@ - + - + 6 @@ -1009,11 +1010,11 @@ - + - + ext_limProt @@ -1024,11 +1025,11 @@ - + - + sfix32_En20 @@ -1040,92 +1041,44 @@ - - - + + + - - + + - - + + - - 5 + + [b_hitMin] - - - - - - - - - - - - - - - - - satMin + + - - - - - - - - - - sfix16_En4 + + - - - - - - - - - - - - - - - - - - - - + + - - [b_hitMin] - - - - - - - + + boolean @@ -1146,11 +1099,11 @@ - + - + 2 @@ -1168,11 +1121,11 @@ - + - + P @@ -1183,11 +1136,11 @@ - + - + ufix16_En12 @@ -1199,107 +1152,59 @@ - - - + + + - - - - - - - - + + - - - - - - preIntegrator - - - - - - - - preSat - - - - - - - - hitSat - - - - + + - - Clamp + + 5 - - - - - - - - + + - - - - - - - - + + - - + + - - Clamping_circuit + + satMin - - - - - - - - + + - - + + - - boolean + + sfix16_En4 @@ -1310,49 +1215,43 @@ - - - - - - - - - + + + - - + + - - + + - - [b_hitSat] + + [b_hitMax] - - + + - - + + - - + + - + boolean @@ -1374,11 +1273,11 @@ - + - + 1 @@ -1396,11 +1295,11 @@ - + - + err @@ -1411,11 +1310,11 @@ - + - + sfix16_En4 @@ -1437,11 +1336,11 @@ - + - + 4 @@ -1459,11 +1358,11 @@ - + - + satMax @@ -1474,11 +1373,11 @@ - + - + sfix16_En4 @@ -1490,91 +1389,115 @@ - - - + + + - - + + - + - - + + - - + + - - + + - - + + - - - - - - - + + + + + + + + + + + + + - - + + - - + + sfix32_En20 - - + + + + + + + + + + + + + + + + + + + 3 + - - + + - - - + + + - - + + - - Ini=0 + + I - - + + - - + + - - boolean + + ufix16_En16 @@ -1585,29 +1508,107 @@ - - - + + + - - + + + + + + + + - - + + - - [b_hitMax] + + preIntegrator + + + + + + + + preSat + + + + + + + + hitSat + + + + + + + + Clamp - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clamping_circuit + + + + + + + + + + + + + + + + + + + + + boolean @@ -1618,59 +1619,58 @@ - - - + + + + + + + + + - - + + - + - - 3 - - - - - - - - - - - - - - + + - + - - I + + + + + + + + + - - + + - + - - ufix16_En16 + + sfix16_En5 @@ -2113,5 +2113,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2779_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2779_d.json index 7836211..a2791be 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2779_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2779_d.json @@ -79,6 +79,56 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2789", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2779", + "inspector":{ + "params":[ + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "0", + "Inherited", + "-1", + "", + "", + "off", + [ + ], + "Auto" + ], + "tabs":[ + "Main", + "State Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"UnitDelay", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2788", "className":"Simulink.Sum", @@ -138,56 +188,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2789", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2779", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "0", - "Inherited", - "-1", - "", - "", - "off", - [ - ], - "Auto" - ], - "tabs":[ - "Main", - "State Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"UnitDelay", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2787", "className":"Simulink.DataTypeConversion", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2779_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2779_d.svg index c4f33f1..bc728d8 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2779_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2779_d.svg @@ -61,162 +61,162 @@ - - - + + + - - + + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + - - + + - - + + - - + + - + sfix32_En20 + + + + + + + + + + + Ini=0 + + + + - - - + + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 + + - - + + - + - + sfix32_En20 @@ -431,5 +431,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2791_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2791_d.json index f55a90e..dd12575 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2791_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2791_d.json @@ -1,10 +1,10 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2709", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2710", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"hitMax", - "label":"hitMax", + "name":"hitMin", + "label":"hitMin", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791", "inspector":{ "params":[ @@ -33,7 +33,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "1", + "3", "Port number", "[]", "[]", @@ -80,85 +80,63 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2707", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"UpperRelop", - "label":"UpperRelop", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791", - "inspector":{ - "params":[ - "Operator", - "InputSameDT", - "OutDataTypeStr", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "<", - "off", - "boolean", - "Nearest", - "-1", - "on" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"RelationalOperator", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2849", - "className":"Simulink.Switch", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2377", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", + "name":"y", + "label":"y", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791", "inspector":{ "params":[ - "Criteria", - "InputSameDT", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "Threshold", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "u2 ~= 0", - "off", + "2", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "Zero", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", "off", - "-1", + "[]", + "off", + "held", + "off", "0", - "on" + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -167,8 +145,8 @@ ], "tabs_idx":[ 0, - 1, - 9 + 2, + 11 ] }, "viewer":{ @@ -177,16 +155,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2377", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2709", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"y", - "label":"y", + "name":"hitMax", + "label":"hitMax", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791", "inspector":{ "params":[ @@ -215,7 +193,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -262,11 +240,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2704", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2707", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"LowerRelop1", - "label":"LowerRelop1", + "name":"UpperRelop", + "label":"UpperRelop", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791", "inspector":{ "params":[ @@ -278,7 +256,7 @@ "ZeroCross" ], "values":[ - ">", + "<", "off", "boolean", "Nearest", @@ -431,73 +409,38 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2710", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2704", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"hitMin", - "label":"hitMin", + "name":"LowerRelop1", + "label":"LowerRelop1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", + "Operator", + "InputSameDT", "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "RndMeth", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "ZeroCross" ], "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", + ">", "off", - "inherit", - "-1", - "Inherit", + "boolean", + "Nearest", "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "on" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 1, + 4 ] }, "viewer":{ @@ -506,7 +449,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"RelationalOperator", "masktype":"" } }, @@ -644,6 +587,63 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2849", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791:2849#out:1", "className":"Simulink.Line", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2791_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2791_d.svg index 2c659f5..8e472c8 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2791_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2791_d.svg @@ -13,11 +13,11 @@ - - + + - + @@ -27,30 +27,30 @@ - - 1 + + 3 - + - - + + - + - - hitMax + + hitMin @@ -61,267 +61,44 @@ - - - + + + - - + + - + - - - - - - - - - + - - + + 2 - - - - - - - - - - + + - - - - - - - - - - UpperRelop - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - + + - - + + - - sfix16_En4 + + y @@ -332,44 +109,44 @@ - - + + - + - + - - 2 + + 1 - + - - + + - - + + - - y + + hitMax @@ -380,30 +157,30 @@ - - + + - + - + - + - + - - + + @@ -417,37 +194,37 @@ - + - - + + - - + + - - LowerRelop1 + + UpperRelop - + - - + + - + boolean @@ -461,7 +238,7 @@ - + @@ -469,155 +246,155 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -635,11 +412,11 @@ - + - + sfix16_En4 @@ -661,11 +438,11 @@ - + - + 2 @@ -683,11 +460,11 @@ - + - + u @@ -698,11 +475,11 @@ - + - + sfix16_En4 @@ -714,44 +491,75 @@ - - - + + + - - + + - + - - + + - - 3 + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - hitMin + + LowerRelop1 + + + + + + + + + + + + + + + boolean @@ -772,11 +580,11 @@ - + - + 3 @@ -794,11 +602,11 @@ - + - + lo @@ -809,11 +617,11 @@ - + - + sfix16_En4 @@ -835,11 +643,11 @@ - + - + 1 @@ -857,11 +665,11 @@ - + - + up @@ -872,11 +680,203 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1106,5 +1106,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2816_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2816_d.json index b40806a..5457d42 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2816_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2816_d.json @@ -213,37 +213,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2839", - "className":"Simulink.Signum", - "icon":"WebViewIcon3", - "name":"SignDeltaU3", - "label":"SignDeltaU3", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2816", - "inspector":{ - "params":[ - "ZeroCross", - "SampleTime" - ], - "values":[ - "on", - "-1" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Signum", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2837", "className":"Simulink.Signum", @@ -321,41 +290,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2840", - "className":"Simulink.DataTypeConversion", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2839", + "className":"Simulink.Signum", "icon":"WebViewIcon3", - "name":"DataTypeConv4", - "label":"DataTypeConv4", + "name":"SignDeltaU3", + "label":"SignDeltaU3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2816", "inspector":{ "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", + "ZeroCross", "SampleTime" ], "values":[ - "[]", - "[]", - "int8", "on", - "Real World Value (RWV)", - "Zero", - "off", "-1" ], "tabs":[ - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -363,7 +316,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"DataTypeConversion", + "blocktype":"Signum", "masktype":"" } }, @@ -481,6 +434,53 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2840", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"DataTypeConv4", + "label":"DataTypeConv4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2816", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "int8", + "on", + "Real World Value (RWV)", + "Zero", + "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:9728:2838", "className":"Simulink.Logic", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2816_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2816_d.svg index 37df42c..def0564 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2816_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2816_d.svg @@ -187,11 +187,11 @@ - - - + + + - + @@ -201,7 +201,7 @@ - + @@ -209,7 +209,7 @@ - + @@ -217,7 +217,7 @@ - + @@ -225,87 +225,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -331,11 +251,11 @@ - + - + int32 @@ -349,7 +269,7 @@ - + @@ -357,27 +277,27 @@ - + - + - + - + - + - + @@ -403,11 +323,11 @@ - + - + boolean @@ -419,30 +339,46 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + @@ -456,23 +392,23 @@ - - + + - - + + - - + + - - int8 + + int16 @@ -493,19 +429,19 @@ - + - + - + - + @@ -531,11 +467,11 @@ - + - + int8 @@ -557,11 +493,11 @@ - + - + 3 @@ -579,11 +515,11 @@ - + - + hitSat @@ -594,11 +530,11 @@ - + - + boolean @@ -608,11 +544,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + - + @@ -642,32 +642,32 @@ - - - - - - - - - - - - + - + boolean + + + + + + + + + + + @@ -800,5 +800,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_d.json index 308e7cf..5dcc2de 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_d.json @@ -79,6 +79,55 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2815", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"a_elecPeriod1", + "label":"a_elecPeriod1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "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:9728:2817", "className":"Simulink.UnitDelay", @@ -130,42 +179,40 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2783", - "className":"Simulink.Sum", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2814", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", + "name":"Switch1", + "label":"Switch1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ - "IconShape", - "Inputs", + "Criteria", "InputSameDT", - "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", "RndMeth", "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" ], "values":[ - "rectangular", - "++", + "u2 ~= 0", "off", - "Inherit: Inherit via internal rule", "[]", "[]", - "fixdt(1,16,4)", + "Inherit: Inherit via back propagation", "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "Zero", + "off", + "off", + "-1", + "0", + "on" ], "tabs":[ "Main", @@ -174,8 +221,8 @@ ], "tabs_idx":[ 0, - 2, - 10 + 1, + 9 ] }, "viewer":{ @@ -184,65 +231,58 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2794", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2795", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2781", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Sum2", + "label":"Sum2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "b_hitMin", - "local", - "Tag" + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 10 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -250,7 +290,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Sum", "masktype":"" } }, @@ -347,63 +387,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2778", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide5", - "label":"Divide5", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,5)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2779", "className":"Simulink.SubSystem", @@ -502,125 +485,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2776", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2814", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 1, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Switch", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2816", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clamping_circuit", - "label":"Clamping_circuit", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2816", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clamping_circuit", + "label":"Clamping_circuit", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ @@ -713,11 +582,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2733", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2773", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", + "name":"ext_limProt", + "label":"ext_limProt", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ @@ -740,7 +609,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "6", "Port number", "[]", "[]", @@ -780,120 +649,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2781", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2771", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2845", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"I", - "label":"I", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "b_hitSat", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -901,7 +677,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Goto", "masktype":"" } }, @@ -999,32 +775,50 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2815", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2771", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"a_elecPeriod1", - "label":"a_elecPeriod1", + "name":"I", + "label":"I", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "0", - "on", - "inf", + "3", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", @@ -1033,8 +827,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -1043,49 +837,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2845", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_hitSat", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2770", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2732", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"P", - "label":"P", + "name":"satMax", + "label":"satMax", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ @@ -1108,7 +869,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "4", "Port number", "[]", "[]", @@ -1148,11 +909,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2769", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2770", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"err", - "label":"err", + "name":"P", + "label":"P", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ @@ -1175,7 +936,7 @@ "OutputFunctionCall" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -1215,11 +976,68 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2773", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2778", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide5", + "label":"Divide5", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(1,16,5)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2733", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"ext_limProt", - "label":"ext_limProt", + "name":"satMin", + "label":"satMin", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ @@ -1242,7 +1060,7 @@ "OutputFunctionCall" ], "values":[ - "6", + "5", "Port number", "[]", "[]", @@ -1282,11 +1100,160 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2732", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2776", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2783", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2794", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hitMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2769", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"satMax", - "label":"satMax", + "name":"err", + "label":"err", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ @@ -1309,7 +1276,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "1", "Port number", "[]", "[]", @@ -1348,6 +1315,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2795", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hitMin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2844", "className":"Simulink.Logic", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_d.svg index e73b3b1..ca96aba 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_d.svg @@ -59,11 +59,59 @@ + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + - + @@ -71,35 +119,35 @@ - + - + - + - + - + - + - + - + @@ -120,32 +168,32 @@ - - - + + + - - + + - - Ini=0 + + boolean - - - + + + - - + + - - boolean + + Ini=0 @@ -156,68 +204,188 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - + + - - + + - - + + - - sfix16_En4 + + sfix32_En20 @@ -228,62 +396,68 @@ - - - + + + - - + + - - + + - - [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - - - - - + + + + - - + + - - [b_hitMin] - - - - - - - + + sfix32_En20 @@ -304,11 +478,11 @@ - + - + [b_hitSat] @@ -326,11 +500,11 @@ - + - + boolean @@ -352,11 +526,11 @@ - + - + [b_hitMin] @@ -374,11 +548,11 @@ - + - + boolean @@ -400,11 +574,11 @@ - + - + [b_hitMax] @@ -415,424 +589,114 @@ - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Integrator - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - + + - - + + boolean + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + u - - + + - - + + y + + + + - - - + + + + - - + + + + + + - - - + + + + - - T + + - - + + - - F - - - - - - - + + Integrator - - + + + + + + + + - - + + - - sfix32_En20 + + sfix16_En4 @@ -844,6 +708,12 @@ + + + + + + @@ -859,35 +729,35 @@ - + - + preIntegrator - + - + preSat - + - + hitSat - + - + Clamp @@ -917,11 +787,11 @@ - + - + Clamping_circuit @@ -938,11 +808,11 @@ - + - + boolean @@ -954,200 +824,98 @@ - + - + - + - + - - 5 + + 6 - + - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 + + - - - - - - - - - - - - - - - - - - - - + + - - 3 - - - - - - - + + ext_limProt - - - + + + - - + + - - I + + sfix16_En10 - - - - + + + + + + + + + + + + + + + - - + + - - ufix16_En16 + + [b_hitSat] + + + + + + + @@ -1168,91 +936,91 @@ - + - + up - + - + u - + - + lo - + - + hitMax - + - + y - + - + hitMin - + - + - + - + - + - + - + - + - + - + @@ -1266,75 +1034,75 @@ - - + + - - + + - - boolean + + sfix16_En4 - + - - + + - + boolean - - + + - - + + - - sfix16_En4 + + boolean - + - + - + - + - + - + @@ -1348,44 +1116,59 @@ - - - + + + - - + + - - + + - - 0 + + 3 - - + + + + + + + + + + + + + + + + + I - - + + - - + + - - sfix32_En20 + + ufix16_En16 @@ -1396,29 +1179,178 @@ - - - + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + P + + + + + + + + + + + + + + + ufix16_En12 + + + + + + + + + + + + + - - + + - - + + - - [b_hitSat] + + + + + + + + + + - - + + + + + + + + + + + + + + + + + sfix16_En5 @@ -1429,59 +1361,59 @@ - - + + - + - + - - 2 + + 5 - + - - + + - - + + - - P + + satMin - - + + - - + + - - ufix16_En12 + + sfix16_En4 @@ -1492,59 +1424,52 @@ - - - + + + - - + + - - + + - - 1 + + - - - - - - + + + + + + + - - - - - - - - - - - err + + + - - + + - - + + - - sfix16_En4 + + sfix32_En20 @@ -1555,59 +1480,101 @@ - - - + + + - - + + - - + + - - 6 + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - + + + - - + + - - ext_limProt + + sfix16_En4 - - - - + + + + + + + + + + + + + + + - - + + - - sfix16_En10 + + [b_hitMax] + + + + + + + @@ -1618,58 +1585,58 @@ - - + + - + - + - - 4 + + 1 - + - - + + - - + + - - satMax + + err - + - - + + - + sfix16_En4 @@ -1679,6 +1646,39 @@ + + + + + + + + + + + + + + + + + + [b_hitMin] + + + + + + + + + + + + + + + @@ -2113,5 +2113,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2779_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2779_d.json index e606397..a67d7ae 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2779_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2779_d.json @@ -1,4 +1,84 @@ [ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2790", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2779", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2789", "className":"Simulink.UnitDelay", @@ -96,86 +176,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2790", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"y", - "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2779", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2788", "className":"Simulink.Sum", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2779_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2779_d.svg index 039573e..209ea86 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2779_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2779_d.svg @@ -10,6 +10,54 @@ + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + @@ -23,35 +71,35 @@ - + - + - + - + - + - + - + - + @@ -72,32 +120,32 @@ - - - + + + - - + + - - Ini=0 + + sfix32_En20 - - - + + + - - + + - - sfix32_En20 + + Ini=0 @@ -118,19 +166,19 @@ - + - + - + - + @@ -156,11 +204,11 @@ - + - + sfix16_En4 @@ -170,54 +218,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - @@ -431,5 +431,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2791_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2791_d.json index b2fca38..843a71b 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2791_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2791_d.json @@ -80,11 +80,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791:2709", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791:2710", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"hitMax", - "label":"hitMax", + "name":"hitMin", + "label":"hitMin", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791", "inspector":{ "params":[ @@ -113,7 +113,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "1", + "3", "Port number", "[]", "[]", @@ -319,73 +319,38 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791:2710", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791:2707", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"hitMin", - "label":"hitMin", + "name":"UpperRelop", + "label":"UpperRelop", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", + "Operator", + "InputSameDT", "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "RndMeth", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "ZeroCross" ], "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", + "<", "off", - "inherit", - "-1", - "Inherit", + "boolean", + "Nearest", "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "on" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 1, + 4 ] }, "viewer":{ @@ -394,7 +359,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"RelationalOperator", "masktype":"" } }, @@ -466,38 +431,73 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791:2707", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791:2709", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"UpperRelop", - "label":"UpperRelop", + "name":"hitMax", + "label":"hitMax", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791", "inspector":{ "params":[ - "Operator", - "InputSameDT", + "Port", + "IconDisplay", + "OutMin", + "OutMax", "OutDataTypeStr", - "RndMeth", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "<", + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", - "boolean", - "Nearest", + "inherit", "-1", - "on" + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 1, - 4 + 2, + 11 ] }, "viewer":{ @@ -506,7 +506,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Outport", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2791_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2791_d.svg index df49d3f..f5454b3 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2791_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2791_d.svg @@ -61,11 +61,11 @@ - - + + - + @@ -75,30 +75,30 @@ - - 1 + + 3 - + - - + + - + - - hitMax + + hitMin @@ -572,44 +572,75 @@ - - - + + + - - + + - + - + - - 3 + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - hitMin + + UpperRelop + + + + + + + + + + + + + + + boolean @@ -630,11 +661,11 @@ - + - + 2 @@ -652,11 +683,11 @@ - + - + u @@ -667,11 +698,11 @@ - + - + sfix16_En4 @@ -683,75 +714,44 @@ - - - + + + - - + + - - - - - - - - - + - - + + - - + + 1 - - - - - - - - - - + + - - - - - - - - - - UpperRelop - - - - - - - + + - + - - boolean + + hitMax @@ -1106,5 +1106,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2816_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2816_d.json index 90276b1..f5f27bc 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2816_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2816_d.json @@ -214,11 +214,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2839", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2837", "className":"Simulink.Signum", "icon":"WebViewIcon3", - "name":"SignDeltaU3", - "label":"SignDeltaU3", + "name":"SignDeltaU2", + "label":"SignDeltaU2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2816", "inspector":{ "params":[ @@ -244,53 +244,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2840", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"DataTypeConv4", - "label":"DataTypeConv4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2816", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "int8", - "on", - "Real World Value (RWV)", - "Zero", - "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:9729:2841", "className":"Simulink.RelationalOperator", @@ -383,6 +336,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2839", + "className":"Simulink.Signum", + "icon":"WebViewIcon3", + "name":"SignDeltaU3", + "label":"SignDeltaU3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2816", + "inspector":{ + "params":[ + "ZeroCross", + "SampleTime" + ], + "values":[ + "on", + "-1" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Signum", + "masktype":"" + } + }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2843", "className":"Simulink.Inport", @@ -451,25 +435,41 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2837", - "className":"Simulink.Signum", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2840", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"SignDeltaU2", - "label":"SignDeltaU2", + "name":"DataTypeConv4", + "label":"DataTypeConv4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2816", "inspector":{ "params":[ - "ZeroCross", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", "SampleTime" ], "values":[ + "[]", + "[]", + "int8", "on", + "Real World Value (RWV)", + "Zero", + "off", "-1" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -477,7 +477,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Signum", + "blocktype":"DataTypeConversion", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2816_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2816_d.svg index b59abef..bec5abb 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2816_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2816_d.svg @@ -187,11 +187,11 @@ - - - + + + - + @@ -201,7 +201,7 @@ - + @@ -209,7 +209,7 @@ - + @@ -217,7 +217,7 @@ - + @@ -225,7 +225,7 @@ - + @@ -240,23 +240,23 @@ - + - + - + - - int16 + + int32 @@ -267,30 +267,38 @@ - - - + + + - - + + - + - - + + - + - - + + + + + + + + + + @@ -304,23 +312,23 @@ - - + + - - + + - - + + - - int8 + + boolean @@ -331,38 +339,30 @@ - - - + + + - - + + - - - - - - - - - - + + - - + + - + - - + + @@ -376,23 +376,23 @@ - - + + - - + + - + - - boolean + + int8 @@ -403,30 +403,46 @@ - - - + + + - - + + - + - - + + + + + + + + + + - + - - + + + + + + + + + + @@ -440,23 +456,23 @@ - - + + - - + + - - + + - - int8 + + int16 @@ -477,11 +493,11 @@ - + - + 3 @@ -499,11 +515,11 @@ - + - + hitSat @@ -514,11 +530,11 @@ - + - + boolean @@ -530,46 +546,30 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + @@ -583,23 +583,23 @@ - - + + - - + + - + - - int32 + + int8 @@ -612,7 +612,7 @@ - + @@ -642,32 +642,32 @@ - - - - - - - - - - - - + - + boolean + + + + + + + + + + + @@ -800,5 +800,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_d.json index 453c236..730990e 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_d.json @@ -1,84 +1,4 @@ [ - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2785", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"out", - "label":"out", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2817", "className":"Simulink.UnitDelay", @@ -187,42 +107,32 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2783", - "className":"Simulink.Sum", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2815", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", + "name":"a_elecPeriod1", + "label":"a_elecPeriod1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "FramePeriod" ], "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", + "0", + "on", + "inf", "[]", "[]", - "fixdt(1,16,4)", + "Inherit: Inherit via back propagation", "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "inf" ], "tabs":[ "Main", @@ -231,8 +141,8 @@ ], "tabs_idx":[ 0, - 2, - 10 + 3, + 7 ] }, "viewer":{ @@ -241,100 +151,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", - "name":"Saturation_hit", - "label":"Saturation_hit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", - "inspector":{ - "params":[ - "ShowPortLabels", - "BlockChoice", - "TemplateBlock", - "MemberBlocks", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "PropExecContextOutsideSubsystem", - "SystemSampleTime", - "RTWSystemCode", - "RTWFcnNameOpts", - "RTWFcnName", - "RTWFileNameOpts", - "RTWFileName", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "RTWMemSecFuncInitTerm", - "RTWMemSecFuncExecute", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "IsSubsystemVirtual", - "Variant", - "VariantControl", - "OverrideUsingVariant", - "GeneratePreprocessorConditionals", - "AllowZeroVariantControls", - "PropagateVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "TreatAsGroupedWhenPropagatingVariantConditions" - ], - "values":[ - "FromPortIcon", - "", - "", - "", - "ReadWrite", - "", - "All", - "off", - "off", - "off", - "-1", - "Auto", - "Auto", - "", - "Auto", - "", - "void_void", - "off", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "on", - "off", - "", - "", - "off", - "off", - "off", - "", - "", - "on" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", + "blocktype":"Constant", "masktype":"" } }, @@ -436,25 +253,84 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2795", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2783", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Sum1", + "label":"Sum1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "b_hitMin", - "local", - "Tag" + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Simplest", + "on", + "1", + "All dimensions", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2845", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hitSat", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" ], "tabs_idx":0 }, @@ -469,19 +345,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2846", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2794", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "b_hitSat", + "b_hitMax", + "local", "Tag" ], "tabs":[ @@ -495,16 +373,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2832", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2833", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From1", + "label":"From1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ @@ -512,7 +390,7 @@ "IconDisplay" ], "values":[ - "b_hitMax", + "b_hitMin", "Tag" ], "tabs":[ @@ -531,17 +409,18 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2778", - "className":"Simulink.Product", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2781", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Divide5", - "label":"Divide5", + "name":"Sum2", + "label":"Sum2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ + "IconShape", "Inputs", - "Multiplication", "InputSameDT", + "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", @@ -553,12 +432,13 @@ "SampleTime" ], "values":[ - "**", - "Element-wise(.*)", + "rectangular", + "++", "off", + "Inherit: Inherit via internal rule", "[]", "[]", - "fixdt(1,16,5)", + "Inherit: Inherit via internal rule", "off", "Simplest", "on", @@ -574,7 +454,7 @@ "tabs_idx":[ 0, 2, - 9 + 10 ] }, "viewer":{ @@ -583,26 +463,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2794", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2832", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"From", + "label":"From", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "b_hitMax", - "local", "Tag" ], "tabs":[ @@ -616,30 +494,56 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2833", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2776", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"Divide2", + "label":"Divide2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "b_hitMin", - "Tag" + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 9 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -647,32 +551,66 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2845", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2773", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"ext_limProt", + "label":"ext_limProt", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "b_hitSat", - "local", - "Tag" + "6", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -680,7 +618,74 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2733", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"satMin", + "label":"satMin", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", + "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":"" } }, @@ -724,10 +729,183 @@ "-1", "auto", "off", - "", - "on", + "", + "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:9729:2791", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon9", + "name":"Saturation_hit", + "label":"Saturation_hit", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", + "inspector":{ + "params":[ + "ShowPortLabels", + "BlockChoice", + "TemplateBlock", + "MemberBlocks", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "PropExecContextOutsideSubsystem", + "SystemSampleTime", + "RTWSystemCode", + "RTWFcnNameOpts", + "RTWFcnName", + "RTWFileNameOpts", + "RTWFileName", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "RTWMemSecFuncInitTerm", + "RTWMemSecFuncExecute", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "IsSubsystemVirtual", + "Variant", + "VariantControl", + "OverrideUsingVariant", + "GeneratePreprocessorConditionals", + "AllowZeroVariantControls", + "PropagateVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "TreatAsGroupedWhenPropagatingVariantConditions" + ], + "values":[ + "FromPortIcon", + "", + "", + "", + "ReadWrite", + "", + "All", + "off", + "off", + "off", + "-1", + "Auto", + "Auto", + "", + "Auto", + "", + "void_void", + "off", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "on", + "off", + "", + "", + "off", + "off", + "off", + "", + "", + "on" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2785", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"out", + "label":"out", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", "off", + "held", "off", + "0", + "", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -747,7 +925,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Outport", "masktype":"" } }, @@ -819,70 +997,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2781", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2776", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2778", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"Divide5", + "label":"Divide5", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ @@ -905,10 +1024,10 @@ "off", "[]", "[]", - "Inherit: Inherit via internal rule", + "fixdt(1,16,5)", "off", "Simplest", - "off", + "on", "1", "All dimensions", "-1" @@ -1002,110 +1121,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2815", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"a_elecPeriod1", - "label":"a_elecPeriod1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "0", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "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:9729:2773", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2795", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"ext_limProt", - "label":"ext_limProt", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "6", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "b_hitMin", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1113,16 +1149,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2733", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2769", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", + "name":"err", + "label":"err", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ @@ -1145,7 +1181,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "1", "Port number", "[]", "[]", @@ -1282,61 +1318,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2769", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2846", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"err", - "label":"err", + "name":"From4", + "label":"From4", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "IconDisplay" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "b_hitSat", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1344,7 +1344,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_d.svg index e76bc7e..b78bce3 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_d.svg @@ -10,54 +10,6 @@ - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - out - - - - - - - @@ -71,35 +23,35 @@ - + - + - + - + - + - + - + - + @@ -120,32 +72,32 @@ - - - + + + - - + + - - Ini=0 + + boolean - - - + + + - - + + - - boolean + + Ini=0 @@ -158,7 +110,7 @@ - + @@ -166,155 +118,155 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -332,11 +284,11 @@ - + - + sfix32_En20 @@ -348,68 +300,44 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + 0 - - + + - - + + - - + + - - sfix16_En4 + + sfix32_En20 @@ -420,280 +348,168 @@ - - - + + + - - + + + + + + + + - - - - - - up - - - - + + - + u - - + + - - lo + + y + + + + - - - + + + + - - hitMax + + + + + + - - - + + + + - - y + + - - + + - - hitMin + + Integrator + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - boolean - - - - - - + - - + + - + sfix16_En4 - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + + + + + - - + + - - u + + - - + + - - y - - - - - - - - - - - - - + + - - - - - - - - + + + - - + + - - + + - - Integrator + + + + + + + + + - - - - - - - + - - + + - + sfix16_En4 @@ -705,34 +521,28 @@ - - - - - - - - + + - + - + - - [b_hitMin] + + [b_hitSat] - + @@ -744,44 +554,29 @@ - - + + - - + + - + - - [b_hitSat] + + [b_hitMax] - - - - - - - - - - - - - - - - - boolean + + @@ -792,43 +587,43 @@ - - + + - + - + - - [b_hitMax] + + [b_hitMin] - + - + - - + + - + boolean @@ -840,52 +635,68 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - sfix16_En5 + + sfix32_En20 @@ -896,29 +707,44 @@ - - - + + + - - + + - - + + - + [b_hitMax] - - + + + + + + + + + + + + + + + + + boolean @@ -929,44 +755,52 @@ - - - + + + - - + + - - + + + + + + + + + + - - [b_hitMin] + + - - + + - - + + - - + + - - boolean + + sfix32_En20 @@ -977,29 +811,59 @@ - - - + + + - - + + - - + + - - [b_hitSat] + + 6 - - + + + + + + + + + + + + + + + + + ext_limProt + + + + + + + + + + + + + + + sfix32_En20 @@ -1010,58 +874,58 @@ - - + + - + - + - - 4 + + 5 - + - - + + - - + + - - satMax + + satMin - + - - + + - + sfix16_En4 @@ -1073,59 +937,59 @@ - - + + - + - + - - 3 + + 4 - + - - + + - - + + - - I + + satMax - - + + - - + + - - ufix16_En16 + + sfix16_En4 @@ -1136,68 +1000,186 @@ - - - + + + - - + + - - + + - - + + up - - + + - - + + u - - + + - - + + lo - - + + - - + + hitMax + + + + + + + + y + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + + + + + boolean + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + boolean + + + + + + + + - - sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + @@ -1208,52 +1190,44 @@ - - - + + + - - + + - - - - - - - - - - + + - - + + 1 - - + + - - - + + + - - + + - - sfix32_En20 + + out @@ -1264,59 +1238,59 @@ - - + + - + - + - - 2 + + 3 - + - - + + - - + + - - P + + I - + - - + + - - ufix16_En12 + + ufix16_En16 @@ -1327,44 +1301,52 @@ - - - + + + - - + + - - + + - - 0 + + + + + + + + + + - - + + - - + + - - + + - - sfix32_En20 + + sfix16_En5 @@ -1375,59 +1357,59 @@ - - + + - + - + - - 6 + + 2 - + - - + + - - + + - - ext_limProt + + P - - + + - - + + - - sfix32_En20 + + ufix16_En12 @@ -1438,58 +1420,91 @@ - - + + + + + + + + + + + + + + + + [b_hitMin] + + + + + + + + + + + + + + + + + + + - + - + - - 5 + + 1 - + - - + + - - + + - - satMin + + err - + - - + + - + sfix16_En4 @@ -1517,35 +1532,35 @@ - + - + preIntegrator - + - + preSat - + - + hitSat - + - + Clamp @@ -1575,11 +1590,11 @@ - + - + Clamping_circuit @@ -1596,11 +1611,11 @@ - + - + boolean @@ -1612,65 +1627,50 @@ - + - - + + - - + + - - + + - - 1 + + [b_hitSat] - - - - - - - - - - - - - - - - - err + + - - + + - + - - sfix16_En4 + + boolean @@ -1683,7 +1683,7 @@ - + @@ -2113,5 +2113,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.json new file mode 100644 index 0000000..f9b2ec0 --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.json @@ -0,0 +1,2255 @@ +[ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9786", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Sinusoidal With 3rd Harmonic

", + "label":"

Sinusoidal With 3rd Harmonic

", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Sinusoidal With 3rd Harmonic

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9783", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"V_phaABC_SIN", + "label":"V_phaABC_SIN", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9780", + "className":"Simulink.Interpolation_nD", + "icon":"WebViewIcon3", + "name":"r_sin3PhaA_M1", + "label":"r_sin3PhaA_M1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "NumberOfTableDimensions", + "RequireIndexFractionAsBus", + "TableSpecification", + "TableSource", + "Table", + "InterpMethod", + "DiagnosticForOutOfRangeInput", + "ValidIndexMayReachLast", + "NumSelectionDims", + "RemoveProtectionIndex", + "TableDataTypeStr", + "TableMin", + "TableMax", + "OutDataTypeStr", + "OutMin", + "OutMax", + "InternalRulePriority", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ExtrapMethod", + "IntermediateResultsDataTypeStr", + "LookupTableObject", + "SampleTime" + ], + "values":[ + "1", + "off", + "Explicit values", + "Dialog", + "r_sin3PhaA_M1", + "Flat", + "None", + "on", + "0", + "on", + "Inherit: Same as output", + "[]", + "[]", + "fixdt(1,16,14)", + "[]", + "[]", + "Speed", + "off", + "Simplest", + "off", + "Clip", + "Inherit: Same as output", + "", + "-1" + ], + "tabs":[ + "Main", + "Data Types", + "-Other" + ], + "tabs_idx":[ + 0, + 10, + 20 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Interpolation_n-D", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9781", + "className":"Simulink.Interpolation_nD", + "icon":"WebViewIcon3", + "name":"r_sin3PhaB_M1", + "label":"r_sin3PhaB_M1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "NumberOfTableDimensions", + "RequireIndexFractionAsBus", + "TableSpecification", + "TableSource", + "Table", + "InterpMethod", + "DiagnosticForOutOfRangeInput", + "ValidIndexMayReachLast", + "NumSelectionDims", + "RemoveProtectionIndex", + "TableDataTypeStr", + "TableMin", + "TableMax", + "OutDataTypeStr", + "OutMin", + "OutMax", + "InternalRulePriority", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ExtrapMethod", + "IntermediateResultsDataTypeStr", + "LookupTableObject", + "SampleTime" + ], + "values":[ + "1", + "off", + "Explicit values", + "Dialog", + "r_sin3PhaB_M1", + "Flat", + "None", + "on", + "0", + "on", + "Inherit: Same as output", + "[]", + "[]", + "fixdt(1,16,14)", + "[]", + "[]", + "Speed", + "off", + "Simplest", + "off", + "Clip", + "Inherit: Same as output", + "", + "-1" + ], + "tabs":[ + "Main", + "Data Types", + "-Other" + ], + "tabs_idx":[ + 0, + 10, + 20 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Interpolation_n-D", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9782", + "className":"Simulink.Interpolation_nD", + "icon":"WebViewIcon3", + "name":"r_sin3PhaC_M1", + "label":"r_sin3PhaC_M1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "NumberOfTableDimensions", + "RequireIndexFractionAsBus", + "TableSpecification", + "TableSource", + "Table", + "InterpMethod", + "DiagnosticForOutOfRangeInput", + "ValidIndexMayReachLast", + "NumSelectionDims", + "RemoveProtectionIndex", + "TableDataTypeStr", + "TableMin", + "TableMax", + "OutDataTypeStr", + "OutMin", + "OutMax", + "InternalRulePriority", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ExtrapMethod", + "IntermediateResultsDataTypeStr", + "LookupTableObject", + "SampleTime" + ], + "values":[ + "1", + "off", + "Explicit values", + "Dialog", + "r_sin3PhaC_M1", + "Flat", + "None", + "on", + "0", + "on", + "Inherit: Same as output", + "[]", + "[]", + "fixdt(1,16,14)", + "[]", + "[]", + "Speed", + "off", + "Simplest", + "off", + "Clip", + "Inherit: Same as output", + "", + "-1" + ], + "tabs":[ + "Main", + "Data Types", + "-Other" + ], + "tabs_idx":[ + 0, + 10, + 20 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Interpolation_n-D", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9779", + "className":"Simulink.PreLookup", + "icon":"WebViewIcon3", + "name":"a_elecAngle_XA", + "label":"a_elecAngle_XA", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "BreakpointsSpecification", + "BreakpointsDataSource", + "BreakpointsData", + "OutputSelection", + "IndexSearchMethod", + "ExtrapMethod", + "UseLastBreakpoint", + "DiagnosticForOutOfRangeInput", + "RemoveProtectionInput", + "BreakpointDataTypeStr", + "BreakpointMin", + "BreakpointMax", + "IndexDataTypeStr", + "FractionDataTypeStr", + "LockScale", + "RndMeth", + "BeginIndexSearchUsingPreviousIndexResult", + "BreakpointObject", + "BreakpointsFirstPoint", + "BreakpointsNumPoints", + "BreakpointsSpacing", + "OutputBusDataTypeStr", + "SampleTime" + ], + "values":[ + "Explicit values", + "Dialog", + "a_elecAngle_XA", + "Index only", + "Evenly spaced points", + "Clip", + "off", + "None", + "off", + "Inherit: Same as input", + "[]", + "[]", + "uint8", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "on", + "", + "10", + "11", + "10", + "Inherit: auto", + "-1" + ], + "tabs":[ + "Main", + "Data Types", + "-Other" + ], + "tabs_idx":[ + 0, + 9, + 16 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"PreLookup", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9742", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Phase_Advance_Calculation", + "label":"Phase_Advance_Calculation", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9828", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"a_elecPeriod1", + "label":"a_elecPeriod1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "0", + "on", + "inf", + "[]", + "[]", + "uint8", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9802", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9801", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9818", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9800", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9810", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "V_phaABC_SIN", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9799", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_dir", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9819", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux2", + "label":"Mux2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "Inputs", + "DisplayOption" + ], + "values":[ + "3", + "bar" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Mux", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9804", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9803", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9805", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9798", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9816", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9797", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_dir", + "label":"z_dir", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9820", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "V_phaABC_SIN", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9795", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"a_elecAngle", + "label":"a_elecAngle", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9806", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9796", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "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:9779#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9828#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9743#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9795#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9798#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9797#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9796#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9803#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9804#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9805#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9806#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9810#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9818#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9780#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9781#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9782#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9819#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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:9816#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "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_9741_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.png new file mode 100644 index 0000000..0d852e0 Binary files /dev/null and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.svg new file mode 100644 index 0000000..55be1ad --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.svg @@ -0,0 +1,2987 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Sinusoidal With 3rd Harmonic + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + V_phaABC_SIN + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 + + + + + + + + + + + + + + + + + + + + + + r_sin3PhaA_M1 + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 + + + + + + + + + + + + + + + + + + + + + + r_sin3PhaB_M1 + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 + + + + + + + + + + + + + + + + + + + + + + r_sin3PhaC_M1 + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a_elecAngle_XA + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + elseif { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + a_elecAngle + + + + + + + + z_dir + + + + + + + + n_motAbs + + + + + + + + a_elecAngleAdv + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Phase_Advance_Calculation + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_SIN] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_dir + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_SIN] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.json new file mode 100644 index 0000000..ae44f6a --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.json @@ -0,0 +1,2976 @@ +[ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9777", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Phase Advance map as a function of the Input target.

", + "label":"

Phase Advance map as a function of the Input target.

", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Phase Advance map as a function of the Input target.

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9778", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Phase Advance / Field Weakening

", + "label":"

Phase Advance / Field Weakening

", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Phase Advance / Field Weakening

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9745", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_dir", + "label":"z_dir", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9757", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_dir", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9776", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"a_elecAngleAdv", + "label":"a_elecAngleAdv", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "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:9749", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngleAdv", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9768", + "className":"Simulink.Scope", + "icon":"WebViewIcon3", + "name":"Scope", + "label":"Scope", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":[ + ], + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Scope", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9765", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux", + "label":"Mux", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "Inputs", + "DisplayOption" + ], + "values":[ + "2", + "bar" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Mux", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9752", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9753", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngleAdv", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9754", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_phaAdv_M1", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9770", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch_PhaAdv", + "label":"Switch_PhaAdv", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "Criteria", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", + "ZeroCross" + ], + "values":[ + "u2 ~= 0", + "off", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", + "-1", + "0", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Switch", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9773", + "className":"Simulink.Interpolation_nD", + "icon":"WebViewIcon3", + "name":"a_phaAdv_M1", + "label":"a_phaAdv_M1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "NumberOfTableDimensions", + "RequireIndexFractionAsBus", + "TableSpecification", + "TableSource", + "Table", + "InterpMethod", + "DiagnosticForOutOfRangeInput", + "ValidIndexMayReachLast", + "NumSelectionDims", + "RemoveProtectionIndex", + "TableDataTypeStr", + "TableMin", + "TableMax", + "OutDataTypeStr", + "OutMin", + "OutMax", + "InternalRulePriority", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ExtrapMethod", + "IntermediateResultsDataTypeStr", + "LookupTableObject", + "SampleTime" + ], + "values":[ + "1", + "off", + "Explicit values", + "Dialog", + "a_phaAdv_M1", + "Linear", + "None", + "off", + "0", + "off", + "Inherit: Same as output", + "[]", + "[]", + "fixdt(1,16,8)", + "[]", + "[]", + "Speed", + "off", + "Simplest", + "off", + "Clip", + "Inherit: Same as output", + "", + "-1" + ], + "tabs":[ + "Main", + "Data Types", + "-Other" + ], + "tabs_idx":[ + 0, + 10, + 20 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Interpolation_n-D", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9775", + "className":"Simulink.PreLookup", + "icon":"WebViewIcon3", + "name":"r_phaAdv_XA", + "label":"r_phaAdv_XA", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "BreakpointsSpecification", + "BreakpointsDataSource", + "BreakpointsData", + "OutputSelection", + "IndexSearchMethod", + "ExtrapMethod", + "UseLastBreakpoint", + "DiagnosticForOutOfRangeInput", + "RemoveProtectionInput", + "BreakpointDataTypeStr", + "BreakpointMin", + "BreakpointMax", + "IndexDataTypeStr", + "FractionDataTypeStr", + "LockScale", + "RndMeth", + "BeginIndexSearchUsingPreviousIndexResult", + "BreakpointObject", + "BreakpointsFirstPoint", + "BreakpointsNumPoints", + "BreakpointsSpacing", + "OutputBusDataTypeStr", + "SampleTime" + ], + "values":[ + "Explicit values", + "Dialog", + "r_phaAdv_XA", + "Index and fraction", + "Evenly spaced points", + "Clip", + "off", + "None", + "off", + "Inherit: Same as input", + "[]", + "[]", + "uint8", + "fixdt(0,8,7)", + "off", + "Simplest", + "on", + "", + "10", + "11", + "10", + "Inherit: auto", + "-1" + ], + "tabs":[ + "Main", + "Data Types", + "-Other" + ], + "tabs_idx":[ + 0, + 9, + 16 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"PreLookup", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9751", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9744", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "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:9761", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9762", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_elecAngleAdv", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9772", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"a_elecPeriod2", + "label":"a_elecPeriod2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "a_elecPeriod", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "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:9769", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "++", + "off", + "Inherit: Same as first input", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9755", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9766", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Product2", + "label":"Product2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "2", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9756", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9759", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_phaAdv_M1", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9760", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9792", + "className":"Simulink.Relay", + "icon":"WebViewIcon3", + "name":"n_fieldWeakAuth", + "label":"n_fieldWeakAuth", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "OnSwitchValue", + "OffSwitchValue", + "OnOutputValue", + "OffOutputValue", + "InputProcessing", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "SampleTime", + "ZeroCross" + ], + "values":[ + "n_fieldWeakAuthHi", + "n_fieldWeakAuthLo", + "1", + "0", + "Elements as channels (sample based)", + "[]", + "[]", + "boolean", + "off", + "-1", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Relay", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon9", + "name":"Modulo_fixdt", + "label":"Modulo_fixdt", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9758", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9791", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"b_fieldWeakEna", + "label":"b_fieldWeakEna", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "b_fieldWeakEna", + "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:9787", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9794", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9746", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9747", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"a_elecAngle", + "label":"a_elecAngle", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9793", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs5", + "label":"Abs5", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime", + "ZeroCross" + ], + "values":[ + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "-1", + "on" + ], + "tabs":[ + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Abs", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9788", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator1", + "label":"Logical Operator1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "inspector":{ + "params":[ + "Operator", + "Inputs", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "SampleTime" + ], + "values":[ + "AND", + "2", + "rectangular", + "off", + "boolean", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 5 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9773#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9756#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9745#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9765#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9749#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9754#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9775#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9775#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9744#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9746#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9747#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9791#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9792#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9787#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9788#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9794#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9793#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9769#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9772#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:10035#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9766#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9755#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9752#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9751#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9770#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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:9753#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "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_9743_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.png new file mode 100644 index 0000000..00ab1a4 Binary files /dev/null and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.svg new file mode 100644 index 0000000..6f4a363 --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.svg @@ -0,0 +1,2697 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Phase Advance map as a function of the Input target. + + + + + + + + + + + + + + + + + + + Phase Advance / Field Weakening + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_dir + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + a_elecAngleAdv + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngleAdv] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngleAdv] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_phaAdv_M1] + + + + + + + + + + + + + + + + + + + + + + sfix16_En8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 + + + + + + + + + + + + + + + + + + + + + + a_phaAdv_M1 + + + + + + + + + + + + + + + sfix16_En8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_phaAdv_XA + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + ufix8_En7 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngleAdv] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a_elecPeriod + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_phaAdv_M1] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n_fieldWeakAuth + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num + + + + + + + + div + + + + + + + + rem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_fieldWeakEna + + + + + + + + + + + + + + + + + + + + + + b_fieldWeakEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.json new file mode 100644 index 0000000..14bc7bb --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.json @@ -0,0 +1,231 @@ +[ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9902", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"V_phaABC_FOC", + "label":"V_phaABC_FOC", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9847", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9843", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"V_phaABC_FOC_in", + "label":"V_phaABC_FOC_in", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "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:9843#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "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_9842_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.png new file mode 100644 index 0000000..fca5f90 Binary files /dev/null and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.svg new file mode 100644 index 0000000..a935ddd --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.svg @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + V_phaABC_FOC + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + V_phaABC_FOC_in + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.json new file mode 100644 index 0000000..df48629 --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.json @@ -0,0 +1,906 @@ +[ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9907", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"V_phaABC_COM", + "label":"V_phaABC_COM", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9906", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "inspector":{ + "params":[ + "InitializeStates", + "PropagateVarSize" + ], + "values":[ + "held", + "Only when execution is resumed" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"ActionPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9236", + "className":"Simulink.LookupNDDirect", + "icon":"WebViewIcon3", + "name":"z_commutMap_M1", + "label":"z_commutMap_M1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "inspector":{ + "params":[ + "NumberOfTableDimensions", + "InputsSelectThisObjectFromTable", + "TableIsInput", + "Table", + "DiagnosticForOutOfRangeInput", + "TableMin", + "TableMax", + "TableDataTypeStr", + "LockScale", + "SampleTime" + ], + "values":[ + "2", + "Column", + "off", + "z_commutMap_M1", + "None", + "[]", + "[]", + "int8", + "off", + "-1" + ], + "tabs":[ + "Main", + "Table Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 5, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"LookupNDDirect", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9912", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9453", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9211", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "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:9913", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "V_phaABC_COM", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9209", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "**", + "Element-wise(.*)", + "off", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 9 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9911", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "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:9910", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_pos", + "label":"z_pos", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "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:9823", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "V_phaABC_COM", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9909", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFin", + "label":"VqFin", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "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:9209#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "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:9211#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "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:9236#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "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:9453#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "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:9909#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "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:9910#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "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:9913#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "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_9904_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.png new file mode 100644 index 0000000..8cf73e6 Binary files /dev/null and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.svg new file mode 100644 index 0000000..d2405a0 --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.svg @@ -0,0 +1,828 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + V_phaABC_COM + + + + + + + + + + + + + + + + + + + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2-D T[k] + + + + + + + + + + + + + + + + + + + + + + z_commutMap_M1 + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFin] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_COM] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_pos + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_COM] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + VqFin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.json similarity index 65% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.json rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.json index eb9ab2d..e0fab87 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9373", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9952", "className":"Simulink.Annotation", "icon":"WebViewIcon2", - "name":"

Input Scaling [-1000,1000] → [min,max]

", - "label":"

Input Scaling [-1000,1000] → [min,max]

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"

In case of OPEN_MODE request the input target command will be reduced to 0 with a predefined rate.

", + "label":"

In case of OPEN_MODE request the input target command will be reduced to 0 with a predefined rate.

", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "Text", @@ -22,7 +22,7 @@ "ClickFcn" ], "values":[ - "\n\n

Input Scaling [-1000,1000] → [min,max]

", + "\n\n

In case of OPEN_MODE request the input target command will be reduced to 0 with a predefined rate.

", "off", "rich", "auto", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9372", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9951", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"r_inpTgtScaOpen", + "label":"r_inpTgtScaOpen", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "Port", @@ -95,9 +95,9 @@ "auto", "off", "off", - "0", + "[]", "off", - "reset", + "held", "off", "0", "", @@ -129,36 +129,139 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9370", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950", + "className":"Rising edge init", + "icon":"WebViewIcon4", + "name":"rising_edge_init", + "label":"rising_edge_init", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", - "SampleTime", - "ZeroCross" + "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":[ - "1", - "u1 == CTRL_FOC", + "FromPortIcon", + "ReadWrite", "", + "All", "on", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", "-1", - "on" + "", + "off", + "" ], "tabs":[ - "Parameter Attributes", + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Rising edge init" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9949", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"dV_openRate", + "label":"dV_openRate", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "dV_openRate", + "on", + "inf", + "[]", + "[]", + "fixdt(1,28,16)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 4 + 3, + 7 ] }, "viewer":{ @@ -167,17 +270,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"If", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9368", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10006", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "GotoTag", @@ -185,7 +288,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "r_inpTgtScaOpen", "local", "Tag" ], @@ -205,25 +308,53 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9365", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9945", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"Gain3", + "label":"Gain3", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "z_ctrlModReq", - "Tag" + "-1", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "off", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2, + 8, + 11 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -231,24 +362,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Gain", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9364", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9943", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"From", + "label":"From", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "r_inpTgt", + "VqFinPrev", "Tag" ], "tabs":[ @@ -267,33 +398,27 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9371", - "className":"Simulink.Merge", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9947", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Merge", - "label":"Merge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ - "Inputs", - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "2", - "[]", - "off", - "[]" + "VqFinPrev", + "local", + "Tag" ], "tabs":[ - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -301,32 +426,46 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Merge", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9369", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9942", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "z_ctrlTypSel", - "local", - "Tag" + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "Real World Value (RWV)", + "Floor", + "off", + "-1" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -334,24 +473,24 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9362", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9944", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"From1", + "label":"From1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "GotoTag", "IconDisplay" ], "values":[ - "r_inpTgtSca", + "r_inpTgtScaOpen", "Tag" ], "tabs":[ @@ -370,25 +509,41 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9361", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9941", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"Data Type Conversion", + "label":"Data Type Conversion", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "r_inpTgt", - "Tag" + "[]", + "[]", + "fixdt(1,28,16)", + "off", + "Real World Value (RWV)", + "Floor", + "off", + "-1" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -396,30 +551,48 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"DataTypeConversion", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9363", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9940", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"Constant23", + "label":"Constant23", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "z_ctrlTypSel", - "Tag" + "0", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -427,224 +600,118 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"FOC_Control_Type", - "label":"FOC_Control_Type", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "icon":"WebViewIcon9", + "name":"Rate_Limiter", + "label":"Rate_Limiter", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "ShowPortLabels", + "BlockChoice", + "TemplateBlock", + "MemberBlocks", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", "MinAlgLoopOccurrences", - "OverrideUsingVariant", "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", + "SystemSampleTime", + "RTWSystemCode", "RTWFcnNameOpts", - "RTWFileName", + "RTWFcnName", "RTWFileNameOpts", + "RTWFileName", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "RTWMemSecFuncInitTerm", + "RTWMemSecFuncExecute", "RTWMemSecDataConstants", "RTWMemSecDataInternal", "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", + "IsSubsystemVirtual", "Variant", - "VariantControl" + "VariantControl", + "OverrideUsingVariant", + "GeneratePreprocessorConditionals", + "AllowZeroVariantControls", + "PropagateVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "TreatAsGroupedWhenPropagatingVariantConditions" ], "values":[ "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "on", - "", "", - "off", "", - "void_void", - "off", - "off", - "off", "", - "off", + "ReadWrite", "", + "All", + "on", "off", "off", - "", + "-1", "Auto", + "Use subsystem name", "", "Auto", + "", + "void_void", + "off", "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:9366", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9335", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgt", - "label":"r_inpTgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", - "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" + "off", + "", + "", + "on" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" ], "tabs_idx":[ - 0, - 2, - 11 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9367", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9939", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "r_inpTgt", - "local", - "Tag" + "reset", + "Only when execution is resumed" ], "tabs":[ "Parameter Attributes" @@ -657,181 +724,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9336", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlModReq", - "label":"z_ctrlModReq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", - "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:9337", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Commutation_Control_Type", - "label":"Commutation_Control_Type", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "on", - "", - "", - "off", - "", - "void_void", - "off", - "off", - "off", - "", - "off", - "", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Auto", - "-1", - "", - "off", - "" - ], - "tabs":[ - "Main", - "-Other" - ], - "tabs_idx":[ - 0, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", + "blocktype":"ActionPort", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9334", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9938", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlTypSel", - "label":"z_ctrlTypSel", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"VqFinPrev", + "label":"VqFinPrev", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "Port", @@ -893,165 +796,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9364#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", - "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:9362#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", - "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:9334#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon5", - "name":"", - "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", - "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:9363#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9938#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1097,12 +847,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9361#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9940#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1148,12 +898,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9335#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1199,12 +949,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9371#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9945#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1250,12 +1000,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9365#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9949#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1301,12 +1051,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9336#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9944#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1352,12 +1102,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9341#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1403,12 +1153,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9370#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9943#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1454,12 +1204,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9337#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9941#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1505,12 +1255,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9370#out:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9942#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.png new file mode 100644 index 0000000..b2bd9f2 Binary files /dev/null and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.svg new file mode 100644 index 0000000..edc39e4 --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.svg @@ -0,0 +1,1083 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + In case of OPEN_MODE request the input target + + + + + + + + command will be reduced to 0 with a predefined rate. + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaOpen + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dV_openRate + + + + + + + + + + + + + + + + + + + + + + dV_openRate + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaOpen] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaOpen] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + initVal + + + + + + + + init + + + + + + + + inc + + + + + + + + dec + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rate_Limiter + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2342_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.json similarity index 87% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2342_d.json rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.json index f74ff9c..41db5b6 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2342_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2337", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2337", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch1", "label":"Switch1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "Criteria", @@ -57,12 +57,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2335", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2335", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"initVal", "label":"initVal", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "Port", @@ -124,12 +124,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2339", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2339", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "Port", @@ -204,12 +204,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2334", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2334", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "Port", @@ -271,12 +271,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2340", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2340", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"init", "label":"init", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "Port", @@ -338,12 +338,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2341", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2341", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "Criteria", @@ -395,12 +395,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2512", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2512", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "InitialCondition", @@ -445,12 +445,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2335#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2335#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "SignalNameFromLabel", @@ -496,12 +496,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2334#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2334#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "SignalNameFromLabel", @@ -547,12 +547,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2341#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2341#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "SignalNameFromLabel", @@ -598,12 +598,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2340#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2340#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "SignalNameFromLabel", @@ -649,12 +649,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2337#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2337#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "SignalNameFromLabel", @@ -700,12 +700,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342:2512#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342:2512#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2342_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.png similarity index 100% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2342_d.png rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.png diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2342_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.svg similarity index 95% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2342_d.svg rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.svg index fd72a09..681c4dc 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2342_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.svg @@ -9,13 +9,13 @@
- + - + - + @@ -205,7 +205,7 @@ - + @@ -268,7 +268,7 @@ - + @@ -316,7 +316,7 @@ - + @@ -379,7 +379,7 @@ - + @@ -442,9 +442,9 @@ - + - + @@ -634,7 +634,7 @@ - + @@ -727,7 +727,7 @@ - + @@ -761,7 +761,7 @@ - + @@ -775,7 +775,7 @@ - + @@ -789,7 +789,7 @@ - + @@ -823,7 +823,7 @@ - + @@ -837,7 +837,7 @@ - + @@ -853,5 +853,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2395_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.json similarity index 87% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2395_d.json rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.json index 6cb05b4..f4e0b68 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2395_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:10", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:10", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:9", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:9", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"UpperRelop", "label":"UpperRelop", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "Operator", @@ -125,12 +125,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:8", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:8", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch2", "label":"Switch2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "Criteria", @@ -182,12 +182,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:7", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:7", "className":"Simulink.Switch", "icon":"WebViewIcon3", "name":"Switch", "label":"Switch", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "Criteria", @@ -239,12 +239,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:6", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:6", "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", "name":"LowerRelop1", "label":"LowerRelop1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "Operator", @@ -284,12 +284,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:5", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:5", "className":"Simulink.SFunction", "icon":"WebViewIcon3", "name":"Data Type Propagation", "label":"Data Type Propagation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "PropDataTypeMode", @@ -347,12 +347,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:4", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:4", "className":"Simulink.DataTypeDuplicate", "icon":"WebViewIcon3", "name":"Data Type Duplicate", "label":"Data Type Duplicate", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "NumInputPorts" @@ -376,12 +376,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:3", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:3", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"lo", "label":"lo", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "Port", @@ -443,12 +443,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:2", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:2", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"u", "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "Port", @@ -510,12 +510,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:1", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"up", "label":"up", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "Port", @@ -577,12 +577,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:1#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:1#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "SignalNameFromLabel", @@ -628,12 +628,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:2#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:2#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "SignalNameFromLabel", @@ -679,12 +679,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:3#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:3#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "SignalNameFromLabel", @@ -730,12 +730,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:7#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:7#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "SignalNameFromLabel", @@ -781,12 +781,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:8#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:8#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "SignalNameFromLabel", @@ -832,12 +832,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:6#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:6#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "SignalNameFromLabel", @@ -883,12 +883,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395:9#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395:9#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2395_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.png similarity index 100% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2395_d.png rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.png diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2395_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.svg similarity index 94% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2395_d.svg rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.svg index fc1ded5..9f359ea 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2395_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,9 +61,9 @@ - + - + @@ -140,9 +140,9 @@ - + - + @@ -332,9 +332,9 @@ - + - + @@ -524,9 +524,9 @@ - + - + @@ -603,9 +603,9 @@ - + - + @@ -652,9 +652,9 @@ - + - + @@ -709,7 +709,7 @@ - + @@ -772,7 +772,7 @@ - + @@ -835,7 +835,7 @@ - + @@ -896,7 +896,7 @@ - + @@ -930,7 +930,7 @@ - + @@ -1009,22 +1009,22 @@ - + - + - + - + - + @@ -1058,7 +1058,7 @@ - + @@ -1112,7 +1112,7 @@ - + @@ -1146,7 +1146,7 @@ - + @@ -1160,7 +1160,7 @@ - + @@ -1176,5 +1176,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.json similarity index 89% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_d.json rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.json index 3e1e3b8..51c2604 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2353", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2353", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Rate Limiter

Note: The sample time must be included in the Increment and Decrement values.

", "label":"

Rate Limiter

Note: The sample time must be included in the Increment and Decrement values.

", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "Text", @@ -49,12 +49,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2343", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2346", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "IconShape", @@ -73,7 +73,7 @@ ], "values":[ "rectangular", - "++", + "+-", "off", "Inherit: Inherit via internal rule", "[]", @@ -108,12 +108,51 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2360", - "className":"Simulink.Outport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", + "className":"Saturation Dynamic", "icon":"WebViewIcon3", - "name":"y", - "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2358", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"dec", + "label":"dec", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "Port", @@ -128,20 +167,14 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "1", + "5", "Port number", "[]", "[]", @@ -153,17 +186,10 @@ "-1", "auto", "off", + "", + "on", "off", - "[]", - "off", - "held", "off", - "0", - "", - [ - ], - "Dialog", - "Auto", "off" ], "tabs":[ @@ -183,85 +209,84 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", - "className":"Saturation Dynamic", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2357", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "name":"inc", + "label":"inc", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "DoSatur" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ + "4", + "Port number", "[]", "[]", - "Inherit: Same as second input", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", "off", - "Floor", "off" ], "tabs":[ + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ + 0, + 2, + 11 ] }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Delay_Init1", - "label":"Delay_Init1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", - "inspector":{ - "params":[ - "initVal" - ], - "values":[ - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Inport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2358", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2356", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"dec", - "label":"dec", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "name":"init", + "label":"init", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "Port", @@ -283,7 +308,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "3", "Port number", "[]", "[]", @@ -323,12 +348,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2356", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2355", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"init", - "label":"init", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "name":"initVal", + "label":"initVal", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "Port", @@ -350,7 +375,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "2", "Port number", "[]", "[]", @@ -390,12 +415,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2355", - "className":"Simulink.Inport", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2360", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"initVal", - "label":"initVal", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "name":"y", + "label":"y", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "Port", @@ -410,14 +435,20 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -429,10 +460,17 @@ "-1", "auto", "off", - "", - "on", "off", + "[]", + "off", + "held", "off", + "0", + "", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -452,17 +490,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2346", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2343", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "IconShape", @@ -481,7 +519,7 @@ ], "values":[ "rectangular", - "+-", + "++", "off", "Inherit: Inherit via internal rule", "[]", @@ -516,79 +554,41 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2359", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"u", - "label":"u", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Delay_Init1", + "label":"Delay_Init1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "initVal" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "0" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" ], "tabs_idx":[ - 0, - 2, - 11 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2357", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2359", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"inc", - "label":"inc", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "name":"u", + "label":"u", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "Port", @@ -610,7 +610,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "1", "Port number", "[]", "[]", @@ -650,12 +650,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2356#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2356#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "SignalNameFromLabel", @@ -701,12 +701,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "SignalNameFromLabel", @@ -752,12 +752,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2359#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2359#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "SignalNameFromLabel", @@ -803,12 +803,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2357#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2357#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "SignalNameFromLabel", @@ -854,12 +854,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2343#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2343#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "SignalNameFromLabel", @@ -905,12 +905,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2346#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2346#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "SignalNameFromLabel", @@ -956,12 +956,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2358#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2358#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1007,12 +1007,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2355#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2355#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1058,12 +1058,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.png similarity index 100% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_d.png rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.png diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.svg similarity index 92% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_d.svg rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.svg index 05a1593..f12d66e 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.svg @@ -9,11 +9,11 @@
- + - + @@ -48,67 +48,59 @@ - - + + - + - + - + - + - + - + - - - - - - - - - + - + - + - - + + - + sfix28_En16 @@ -120,57 +112,9 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - - - - + - + @@ -178,35 +122,35 @@ - + - + - + - + - + - + - + - + @@ -218,35 +162,35 @@ - + - + up - + - + u - + - + lo - + - + y @@ -264,11 +208,11 @@ - + - + sfix28_En16 @@ -280,124 +224,59 @@ - - - + + + - - + + - - - - - - u - - - - - - - - initVal - - - - - - - - init - - - - - - - - y - - - - - - - - 1 - - - - - - - - z - - - - + + - - + + 5 - - + + - - - + + + - - + + - - sfix28_En16 + + dec - + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - + + sfix28_En16 @@ -408,58 +287,58 @@ - - + + - + - + - - 5 + + 4 - + - - + + - - + + - - dec + + inc - + - - + + - + sfix28_En16 @@ -471,7 +350,7 @@ - + @@ -481,11 +360,11 @@ - + - + 3 @@ -503,11 +382,11 @@ - + - + init @@ -518,11 +397,11 @@ - + - + boolean @@ -534,7 +413,7 @@ - + @@ -544,11 +423,11 @@ - + - + 2 @@ -566,11 +445,11 @@ - + - + initVal @@ -581,11 +460,11 @@ - + - + sfix28_En16 @@ -597,59 +476,115 @@ - - + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + + + + + - + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + - + - + - - + + - + sfix28_En16 @@ -661,59 +596,124 @@ - - - + + + - - + + - - + + - - 1 + + u + + + + + + + + initVal + + + + + + + + init + + + + + + + + y + + + + + + + + 1 + + + + + + + + z + + + + + + + + - - + + - - - + + + - - + + - - u + + sfix28_En16 - - - - + - - + + - - sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + @@ -724,11 +724,11 @@ - - + + - + @@ -738,44 +738,44 @@ - - 4 + + 1 - + - - + + - + - - inc + + u - + - + - + sfix28_En16 @@ -785,7 +785,7 @@ - + @@ -799,7 +799,7 @@ - + @@ -833,7 +833,7 @@ - + @@ -847,7 +847,7 @@ - + @@ -861,7 +861,7 @@ - + @@ -895,7 +895,7 @@ - + @@ -909,7 +909,7 @@ - + @@ -923,7 +923,7 @@ - + @@ -937,7 +937,7 @@ - + @@ -953,5 +953,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9042_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.json similarity index 87% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9042_d.json rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.json index 2f7add5..dde0dea 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9042_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9042:2364", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950:2364", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"y", "label":"y", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9042", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9950", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9042:2363", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950:2363", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", "name":"UnitDelay", "label":"UnitDelay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9042", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9950", "inspector":{ "params":[ "InitialCondition", @@ -130,12 +130,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9042:2362", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950:2362", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"Constant", "label":"Constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9042", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9950", "inspector":{ "params":[ "Value", @@ -179,12 +179,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9042:2363#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950:2363#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9042", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9950", "inspector":{ "params":[ "SignalNameFromLabel", @@ -230,12 +230,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9042:2362#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950:2362#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9042", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9950", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9042_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.png similarity index 100% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9042_d.png rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.png diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9042_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.svg similarity index 97% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9042_d.svg rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.svg index e680bd9..bde5187 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9042_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.svg @@ -9,11 +9,11 @@ - + - + @@ -61,7 +61,7 @@ - + @@ -120,32 +120,32 @@ - - - + + + - + - - Ini=1 + + boolean - - - + + + - + - - boolean + + Ini=1 @@ -156,7 +156,7 @@ - + @@ -202,7 +202,7 @@ - + @@ -216,7 +216,7 @@ - + @@ -232,5 +232,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.json new file mode 100644 index 0000000..b2c7168 --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.json @@ -0,0 +1,2719 @@ +[ + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9993", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Input Scaling [-1000,1000] → [min,max]

", + "label":"

Input Scaling [-1000,1000] → [min,max]

", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Input Scaling [-1000,1000] → [min,max]

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10003", + "className":"Simulink.Annotation", + "icon":"WebViewIcon2", + "name":"

Final check if OPEN_MODE is requested

", + "label":"

Final check if OPEN_MODE is requested

", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "Text", + "DropShadow", + "Interpreter", + "FontName", + "FontWeight", + "FontSize", + "FontAngle", + "ForegroundColor", + "BackgroundColor", + "HorizontalAlignment", + "UseDisplayTextAsClickCallback", + "ClickFcn" + ], + "values":[ + "\n\n

Final check if OPEN_MODE is requested

", + "off", + "rich", + "auto", + "auto", + -1, + "auto", + "black", + "white", + "left", + "off", + "" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9992", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "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:9937", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Open_Mode", + "label":"Open_Mode", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10013", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge1", + "label":"Merge1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets", + "Inputs" + ], + "values":[ + "[]", + "off", + "[]", + "2" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9987", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge", + "label":"Merge", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets", + "Inputs" + ], + "values":[ + "[]", + "off", + "[]", + "2" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 1 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9986", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 == CTRL_FOC", + "", + "on", + "-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:9983", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10004", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9982", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10014", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10002", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If2", + "label":"If2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "1", + "u1 == OPEN_MODE", + "", + "on", + "-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:9981", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10015", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9980", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From22", + "label":"From22", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9979", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9977", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10000", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9978", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9957", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"FOC_Control_Type", + "label":"FOC_Control_Type", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9984", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaRaw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10007", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Default_Mode", + "label":"Default_Mode", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9999", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlMod", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10016", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFinPrev", + "label":"VqFinPrev", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9988", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Default_Control_Type", + "label":"Default_Control_Type", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9956", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgt", + "label":"r_inpTgt", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10005", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9955", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlModReq", + "label":"z_ctrlModReq", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9985", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9998", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlMod", + "label":"z_ctrlMod", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9954", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "1", + "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:9957#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9980#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9978#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9986#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9954#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9979#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9988#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9977#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9956#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9987#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9986#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9981#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9955#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9998#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10000#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10002#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10005#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:9937#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10007#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10013#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10015#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10002#out:2", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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:10016#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon5", + "name":"", + "label":"", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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_9953_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.png new file mode 100644 index 0000000..0e07c15 Binary files /dev/null and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.svg new file mode 100644 index 0000000..f4165bf --- /dev/null +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.svg @@ -0,0 +1,2169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Input Scaling [-1000,1000] → [min,max] + + + + + + + + + + + + + + + + + + + Final check if OPEN_MODE is requested + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + r_inpTgtScaOpen + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Open_Mode + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == CTRL_FOC) + + + + + + + + else + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == OPEN_MODE) + + + + + + + + else + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaRaw] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + z_ctrlModReq + + + + + + + + r_inpTgtScaFOC + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FOC_Control_Type + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaRaw + + + + + + + + r_inpTgtScaDft + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default_Mode + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + r_inpTgtScaDft + + + + + + + + else { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default_Control_Type + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_ctrlModReq + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9341_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.json similarity index 84% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9341_d.json rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.json index ded4197..cf7320e 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9341_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9360", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9976", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"r_inpTgtScaFOC", "label":"r_inpTgtScaFOC", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9359", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9972", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"n_max", - "label":"n_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "name":"constant", + "label":"constant", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "Value", @@ -98,12 +98,12 @@ "FramePeriod" ], "values":[ - "n_max", + "1000", "on", "inf", "[]", "[]", - "fixdt(1,16,4)", + "Inherit: Inherit via back propagation", "off", "inf" ], @@ -129,12 +129,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9358", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9971", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"i_max", - "label":"i_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "name":"Vd_max", + "label":"Vd_max", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "Value", @@ -147,7 +147,7 @@ "FramePeriod" ], "values":[ - "i_max", + "Vd_max", "on", "inf", "[]", @@ -178,47 +178,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9354", - "className":"Simulink.Selector", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9974", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Selector", - "label":"Selector", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "name":"i_max", + "label":"i_max", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ - "IndexMode", - "IndexOptionArray", - "IndexOptions", - "IndexParamArray", - "Indices", - "InputPortWidth", - "NumberOfDimensions", - "OutputSizeArray", - "OutputSizes", - "SampleTime" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "Zero-based", - [ - "Index vector (port)" - ], - "Index vector (port)", - [ - "[1 3]" - ], - "[1 3]", - "4", - "1", - [ - "1" - ], - "1", - "-1" + "i_max", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -226,27 +222,25 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Selector", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9352", - "className":"Simulink.Goto", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9969", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "name":"Mux", + "label":"Mux", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Inputs", + "DisplayOption" ], "values":[ - "r_inpTgt", - "local", - "Tag" + "4", + "bar" ], "tabs":[ "Parameter Attributes" @@ -259,17 +253,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Mux", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9350", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9966", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto", "label":"Goto", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "GotoTag", @@ -297,56 +291,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9349", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", - "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:9348", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9975", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "name":"n_max", + "label":"n_max", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "r_inpTgt", - "Tag" + "n_max", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -354,17 +335,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9346", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9962", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide4", "label":"Divide4", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "Inputs", @@ -416,12 +397,43 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9357", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9963", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaFOC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9973", "className":"Simulink.Constant", "icon":"WebViewIcon3", "name":"constant1", "label":"constant1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "Value", @@ -465,12 +477,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9345", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9961", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide1", "label":"Divide1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "Inputs", @@ -522,43 +534,25 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9356", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9960", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"constant", - "label":"constant", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "1000", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" + "reset", + "Only when execution is resumed" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -566,48 +560,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"ActionPort", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9355", - "className":"Simulink.Constant", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9964", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Vd_max", - "label":"Vd_max", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "name":"From22", + "label":"From22", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "IconDisplay" ], "values":[ - "Vd_max", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" + "r_inpTgt", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -615,25 +591,25 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9344", - "className":"Simulink.ActionPort", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9965", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "name":"From9", + "label":"From9", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "IconDisplay" ], "values":[ - "reset", - "Only when execution is resumed" + "z_ctrlModReq", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -646,17 +622,17 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9343", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9959", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"z_ctrlModReq", "label":"z_ctrlModReq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "Port", @@ -718,12 +694,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9351", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9967", "className":"Simulink.Goto", "icon":"WebViewIcon3", "name":"Goto1", "label":"Goto1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "GotoTag", @@ -751,19 +727,21 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9347", - "className":"Simulink.From", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9968", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "r_inpTgtScaFOC", + "r_inpTgt", + "local", "Tag" ], "tabs":[ @@ -777,17 +755,118 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9970", + "className":"Simulink.Selector", + "icon":"WebViewIcon3", + "name":"Selector", + "label":"Selector", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "inspector":{ + "params":[ + "NumberOfDimensions", + "IndexMode", + "IndexOptionArray", + "IndexParamArray", + "OutputSizeArray", + "InputPortWidth", + "SampleTime", + "IndexOptions", + "NumberOfDimensions", + "IndexMode", + "IndexOptionArray", + "IndexParamArray", + "OutputSizeArray", + "InputPortWidth", + "SampleTime", + "IndexOptions", + "NumberOfDimensions", + "IndexMode", + "IndexOptionArray", + "IndexParamArray", + "OutputSizeArray", + "InputPortWidth", + "SampleTime", + "IndexOptions", + "Indices", + "OutputSizes" + ], + "values":[ + "1", + "Zero-based", + [ + "Index vector (port)" + ], + [ + "[1 3]" + ], + [ + "1" + ], + "4", + "-1", + "Index vector (port)", + "1", + "Zero-based", + [ + "Index vector (port)" + ], + [ + "[1 3]" + ], + [ + "1" + ], + "4", + "-1", + "Index vector (port)", + "1", + "Zero-based", + [ + "Index vector (port)" + ], + [ + "[1 3]" + ], + [ + "1" + ], + "4", + "-1", + "Index vector (port)", + "[1 3]", + "1" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 24 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Selector", "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9342", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9958", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgt", "label":"r_inpTgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "Port", @@ -849,43 +928,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9353", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux", - "label":"Mux", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", - "inspector":{ - "params":[ - "Inputs", - "DisplayOption" - ], - "values":[ - "4", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9342#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9958#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -931,12 +979,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9347#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9963#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -982,12 +1030,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9343#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9959#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1033,12 +1081,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9356#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9972#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1084,12 +1132,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9354#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9970#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1135,12 +1183,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9357#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9973#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1186,12 +1234,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9358#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9974#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1237,12 +1285,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9355#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9971#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1288,12 +1336,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9353#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9969#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1339,12 +1387,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9359#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9975#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1390,12 +1438,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9349#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9965#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1441,12 +1489,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9346#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9962#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1492,12 +1540,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9345#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9961#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", @@ -1543,12 +1591,12 @@ ] }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9348#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9964#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9957", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9341_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.png similarity index 100% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9341_d.png rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.png diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9341_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.svg similarity index 92% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9341_d.svg rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.svg index e150031..fbed455 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9341_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.svg @@ -9,11 +9,11 @@
- + - + @@ -61,58 +61,106 @@ - - + + + + + + + + + + + + + + + + 1000 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + - + - + - - n_max + + Vd_max - + - - + + - - + + - - n_max + + Vd_max - + - - + + - + sfix16_En4 @@ -124,7 +172,7 @@ - + @@ -134,11 +182,11 @@ - + - + i_max @@ -156,11 +204,11 @@ - + - + i_max @@ -171,11 +219,11 @@ - + - + sfix16_En4 @@ -187,67 +235,43 @@ - - - + + + - - + + - - - - - - - U - - - - - - - - Idx1 - - - - - - - - 0 - - + - - Y + + - - + + - + - + - + sfix16_En4 @@ -259,40 +283,7 @@ - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - + @@ -302,11 +293,11 @@ - + - + [r_inpTgtScaFOC] @@ -325,91 +316,58 @@ - - - + + + - - + + - - + + - - [z_ctrlModReq] + + n_max - - + + - - - + + + - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - + + - - [r_inpTgt] - - - - - - - + + n_max - + - - + + - + sfix16_En4 @@ -421,9 +379,9 @@ - + - + @@ -431,35 +389,35 @@ - + - + - + - + - + - + - + - + @@ -478,11 +436,11 @@ - + - + ufix16_En12 @@ -494,7 +452,55 @@ - + + + + + + + + + + + + + + + + [r_inpTgtScaFOC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -504,11 +510,11 @@ - + - + 0 @@ -526,11 +532,11 @@ - + - + sfix16_En4 @@ -542,9 +548,9 @@ - + - + @@ -552,19 +558,19 @@ - + - + - + - + @@ -582,11 +588,11 @@ - + - + sfix16_En4 @@ -598,44 +604,44 @@ - - - + + + - - + + - - + + - - 1000 + + if { } - - + + - - - + + + - - + + - - sfix16_En4 + + Action Port @@ -646,58 +652,43 @@ - - - + + + - - + + - - + + - - Vd_max + + [r_inpTgt] - - - - - - - - - - - - - - - - - Vd_max + + - + - - + + - + sfix16_En4 @@ -709,44 +700,44 @@ - - - + + + - - + + - - + + - - if { } + + [z_ctrlModReq] - - + + - - - + + + - - + + - - Action Port + + uint8 @@ -757,7 +748,7 @@ - + @@ -767,11 +758,11 @@ - + - + 2 @@ -789,11 +780,11 @@ - + - + z_ctrlModReq @@ -804,11 +795,11 @@ - + - + uint8 @@ -820,7 +811,7 @@ - + @@ -830,11 +821,11 @@ - + - + [z_ctrlModReq] @@ -853,44 +844,29 @@ - - - + + + - - + + - - + + - - [r_inpTgtScaFOC] + + [r_inpTgt] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -901,58 +877,67 @@ - - - + + + - - + + - - + + - - 1 + + U - - - - - - + + + + + + + Idx1 - - - - - - + + + + + + + 0 - - + + - - r_inpTgt + + Y + + + + + + + - + - - + + - + sfix16_En4 @@ -964,43 +949,58 @@ - - - + + + - - + + - - + + - - + + 1 - - + + + + + + + + + + + + + + + + + r_inpTgt - + - + - + sfix16_En4 @@ -1010,7 +1010,7 @@ - + @@ -1024,7 +1024,7 @@ - + @@ -1038,7 +1038,7 @@ - + @@ -1052,7 +1052,7 @@ - + @@ -1066,7 +1066,7 @@ - + @@ -1080,7 +1080,7 @@ - + @@ -1094,7 +1094,7 @@ - + @@ -1108,7 +1108,7 @@ - + @@ -1122,7 +1122,7 @@ - + @@ -1136,7 +1136,7 @@ - + @@ -1150,7 +1150,7 @@ - + @@ -1164,7 +1164,7 @@ - + @@ -1178,7 +1178,7 @@ - + @@ -1192,7 +1192,7 @@ - + @@ -1208,5 +1208,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.json similarity index 87% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.json rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.json index 5e16b69..20ed587 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.json @@ -1,11 +1,11 @@ [ { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9340", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9991", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"r_inpTgtScaCOM", - "label":"r_inpTgtScaCOM", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9337", + "name":"r_inpTgtScaDft", + "label":"r_inpTgtScaDft", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9988", "inspector":{ "params":[ "Port", @@ -80,12 +80,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9339", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9990", "className":"Simulink.ActionPort", "icon":"WebViewIcon3", "name":"Action Port", "label":"Action Port", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9337", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9988", "inspector":{ "params":[ "InitializeStates", @@ -111,12 +111,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9338", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9989", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"r_inpTgt", "label":"r_inpTgt", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9337", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9988", "inspector":{ "params":[ "Port", @@ -178,12 +178,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9338#out:1", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9989#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9337", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9988", "inspector":{ "params":[ "SignalNameFromLabel", diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.png b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.png new file mode 100644 index 0000000..9136748 Binary files /dev/null and b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.png differ diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.svg b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.svg similarity index 91% rename from 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.svg rename to 01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.svg index 53e333b..ea077a6 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.svg +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.svg @@ -1,19 +1,19 @@ - + - + - + - + @@ -42,15 +42,15 @@ - + - + - - r_inpTgtScaCOM + + r_inpTgtScaDft @@ -61,7 +61,7 @@ - + @@ -94,7 +94,7 @@ - + @@ -109,7 +109,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -157,7 +157,7 @@ - + @@ -170,7 +170,7 @@ - + @@ -186,5 +186,5 @@ - + diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_h_1.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_h_1.json index d1506a7..56c128c 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_h_1.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_h_1.json @@ -20,12 +20,12 @@ "parent":1, "children":[ 3, - 15, - 26, - 29, - 68, - 69, - 70 + 12, + 23, + 35, + 70, + 76, + 77 ], "name":"BLDC_controller", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller", @@ -40,99 +40,95 @@ ":9307", ":9306", ":9305", - ":9304", + ":9301", ":9298", ":9297", - ":9669", + ":9441", + ":9295", ":9294", + ":9292", ":9291", - ":9302", - ":9284", + ":9290", + ":9281", + ":9279", ":9289", ":9287", - ":9303", - ":9283", + ":9286", ":9272", - ":9278", + ":9277", ":9276", + ":9302", ":9275", - ":9456", - ":9271", - ":9270", + ":9934", + ":9274", + ":9299", ":9269", - ":9392", ":9252", - ":9293", ":9250", - ":9251", - ":9241", - ":9263", + ":9268", ":9267", + ":9251", + ":9266", ":9265", - ":9264", - ":9261", - ":9281", - ":9258", - ":9259", - ":9295", - ":9257", - ":9280", + ":9303", + ":9260", + ":10027", ":9253", - ":9388", + ":9436", + ":10025", + ":9456", + ":10026", ":9249", - ":9437", - ":9245", - ":9292", + ":9304", + ":9248", ":9244", + ":9270", + ":9720", + ":9288", ":9242", - ":9299", + ":9282", + ":9264", + ":9931", ":9198", - ":9290", - ":9441", - ":9277", - ":8658", - ":9260", - ":9448", - ":9288", + ":9258", + ":9284", ":8469", + ":9930", + ":9271", + ":9448", + ":9241", ":9418", + ":9293", + ":8220", + ":9437", + ":9259", + ":8535", + ":9261", + ":9262", + ":8217", + ":9263", + ":9245", ":9285", - ":9720", - ":9300", - ":8218", - ":9282", - ":9436", + ":8658", + ":9240", + ":9278", ":8215", ":8214", - ":8217", - ":9286", - ":9301", - ":8213", ":8209", - ":8210", - ":8220", - ":9385", - ":9268", ":8207", - ":8205", + ":9300", + ":8206", + ":9935", + ":9283", + ":9280", + ":8208", ":8204", - ":9279", - ":9262", + ":8210", ":8203", - ":8208", - ":8535", - ":9266", - ":8212", ":8202", - ":8206", + ":8205", ":8201", - ":8216", - ":9389", - ":9274", - ":9240", - ":9387", - ":8211", - ":9248", + ":9669", ":9268#out:1", ":8469#out:2", ":8215#out:1", @@ -145,22 +141,16 @@ ":8220#out:5", ":9242#out:1", ":9297#out:1", - ":8211#out:1", ":9258#out:1", ":9291#out:1", ":9249#out:1", - ":9257#out:1", ":9265#out:1", ":9250#out:1", ":9248#out:1", ":9240#out:1", ":8210#out:1", - ":8218#out:1", - ":8658#out:2", ":9244#out:1", ":8207#out:1", - ":8216#out:1", - ":8658#out:1", ":9245#out:1", ":9241#out:1", ":9267#out:1", @@ -169,47 +159,48 @@ ":8202#out:1", ":9198#out:1", ":8220#out:4", - ":8658#out:3", - ":8658#out:6", + ":8658#out:4", ":8220#out:6", ":9259#out:1", - ":8658#out:5", + ":8658#out:3", ":8217#out:1", ":9198#out:3", ":9295#out:1", ":8205#out:1", - ":8212#out:1", ":8220#out:8", ":8469#out:1", - ":8213#out:1", ":8201#out:1", ":8206#out:1", ":9253#out:1", ":9264#out:1", - ":8220#out:2", + ":8220#out:1", ":8535#out:1", ":9252#out:1", ":8204#out:1", - ":8220#out:3", + ":8220#out:2", ":9298#out:1", ":9261#out:1", - ":9385#out:1", - ":9387#out:1", - ":9388#out:1", - ":8220#out:1", - ":9392#out:1", ":9418#out:1", ":9436#out:1", ":8220#out:7", ":8209#out:1", - ":8658#out:4", ":9198#out:4", ":9448#out:1", ":8203#out:1", ":9669#out:1", ":9263#out:1", ":9262#out:1", - ":9720#out:1" + ":9720#out:1", + ":8658#out:2", + ":8658#out:1", + ":9930#out:1", + ":9931#out:1", + ":8220#out:3", + ":9935#out:1", + ":10025#out:1", + ":10026#out:1", + ":10027#out:1", + ":8535#out:2" ], "sameAsElement":true }, @@ -220,11 +211,10 @@ "parent":2, "children":[ 4, + 5, + 6, 7, - 8, - 9, - 10, - 14 + 11 ], "name":"F01_Estimations", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations", @@ -262,46 +252,34 @@ ":8464", ":8426", ":8428", + ":8468", + ":9433", ":8467", ":8466", - ":8463", - ":9383", + ":8458", ":8462", - ":8468", + ":9432", + ":8450", + ":8449", + ":8437", + ":8432", + ":8430", + ":8427", + ":8435", + ":8463", + ":8436", + ":8384", + ":8434", + ":9932", + ":8461", + ":8429", ":8460", - ":8458", ":8457", - ":9377", - ":9379", - ":8451", - ":9433", ":9431", - ":8436", - ":8434", - ":9432", ":8446", - ":9381", - ":9380", - ":8427", - ":8432", - ":8461", - ":8437", - ":8384", - ":9374", - ":8455", + ":8451", ":8431", - ":8435", - ":8424", - ":9333", - ":8430", - ":9378", - ":8449", - ":9375", - ":8224", - ":8450", - ":9382", - ":9384", - ":8429", + ":9933", ":8462#out:1", ":8440#out:1", ":8439#out:1", @@ -332,161 +310,29 @@ ":8436#out:1", ":8437#out:1", ":8263#out:6", - ":8424#out:1", ":8432#out:1", ":8427#out:1", ":8384#out:1", ":8263#out:2", ":8429#out:1", - ":8224#out:1", ":8235#out:1", ":8446#out:1", - ":9374#out:1", - ":9375#out:1", - ":9378#out:1", - ":9380#out:1", - ":9381#out:1", - ":9382#out:1", - ":9333#out:1", ":9431#out:1", - ":8263#out:5" + ":8263#out:5", + ":9932#out:1" ], "sameAsElement":true }, { "hid":4, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9333", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9333", - "parent":3, - "children":[ - 5, - 6 - ], - "name":"F01_01_Input_Scaling", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_01_Input_Scaling", - "label":"F01_01_Input_Scaling", - "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9333_d.json", - "elements":[ - ":9373", - ":9372", - ":9370", - ":9368", - ":9365", - ":9364", - ":9371", - ":9369", - ":9362", - ":9361", - ":9363", - ":9341", - ":9366", - ":9335", - ":9367", - ":9336", - ":9337", - ":9334", - ":9364#out:1", - ":9362#out:1", - ":9334#out:1", - ":9363#out:1", - ":9361#out:1", - ":9335#out:1", - ":9371#out:1", - ":9365#out:1", - ":9336#out:1", - ":9341#out:1", - ":9370#out:1", - ":9337#out:1", - ":9370#out:2" - ], - "sameAsElement":true - }, - { - "hid":5, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9337", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9337", - "parent":4, - "children":[ - ], - "name":"Commutation_Control_Type", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_01_Input_Scaling/Commutation_Control_Type", - "label":"Commutation_Control_Type", - "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9337_d.json", - "elements":[ - ":9340", - ":9339", - ":9338", - ":9338#out:1" - ], - "sameAsElement":true - }, - { - "hid":6, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9341", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9341", - "parent":4, - "children":[ - ], - "name":"FOC_Control_Type", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_01_Input_Scaling/FOC_Control_Type", - "label":"FOC_Control_Type", - "icon":"WebViewIcon1", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9341_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9341_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9341_d.json", - "elements":[ - ":9360", - ":9359", - ":9358", - ":9354", - ":9352", - ":9350", - ":9349", - ":9348", - ":9346", - ":9357", - ":9345", - ":9356", - ":9355", - ":9344", - ":9343", - ":9351", - ":9347", - ":9342", - ":9353", - ":9342#out:1", - ":9347#out:1", - ":9343#out:1", - ":9356#out:1", - ":9354#out:1", - ":9357#out:1", - ":9358#out:1", - ":9355#out:1", - ":9353#out:1", - ":9359#out:1", - ":9349#out:1", - ":9346#out:1", - ":9345#out:1", - ":9348#out:1" - ], - "sameAsElement":true - }, - { - "hid":7, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8225", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8225", "parent":3, "children":[ ], - "name":"F01_02_Edge_Detector", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_02_Edge_Detector", - "label":"F01_02_Edge_Detector", + "name":"F01_01_Edge_Detector", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_01_Edge_Detector", + "label":"F01_01_Edge_Detector", "icon":"WebViewIcon1", "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.svg", "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8225_d.png", @@ -496,8 +342,8 @@ ":8227", ":8228", ":8234", - ":8232", ":8231", + ":8232", ":8233", ":9634", ":8226#out:1", @@ -511,15 +357,15 @@ "sameAsElement":true }, { - "hid":8, + "hid":5, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8235", "parent":3, "children":[ ], - "name":"F01_03_Position_Calculation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_03_Position_Calculation", - "label":"F01_03_Position_Calculation", + "name":"F01_02_Position_Calculation", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_02_Position_Calculation", + "label":"F01_02_Position_Calculation", "icon":"WebViewIcon1", "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.svg", "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8235_d.png", @@ -548,15 +394,15 @@ "sameAsElement":true }, { - "hid":9, + "hid":6, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8247", "parent":3, "children":[ ], - "name":"F01_04_Direction_Detection", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Direction_Detection", - "label":"F01_04_Direction_Detection", + "name":"F01_03_Direction_Detection", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_03_Direction_Detection", + "label":"F01_03_Direction_Detection", "icon":"WebViewIcon1", "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.svg", "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8247_d.png", @@ -573,10 +419,10 @@ ":8258", ":8251", ":8252", - ":8259", + ":8262", ":8260", + ":8259", ":8249", - ":8262", ":8259#out:1", ":8255#out:1", ":8253#out:1", @@ -593,23 +439,22 @@ "sameAsElement":true }, { - "hid":10, + "hid":7, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "parent":3, "children":[ - 11, - 13 + 8, + 10 ], - "name":"F01_05_Speed_Estimation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_05_Speed_Estimation", - "label":"F01_05_Speed_Estimation", + "name":"F01_04_Speed_Estimation", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation", + "label":"F01_04_Speed_Estimation", "icon":"WebViewIcon1", "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.svg", "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8263_d.json", "elements":[ - ":8380", ":8381", ":8382", ":8383", @@ -626,64 +471,59 @@ ":8290", ":8266", ":8296", - ":8379", - ":9430", ":8378", ":8377", + ":8376", + ":8374", ":8373", ":9429", - ":8376", - ":8371", - ":8370", - ":9428", + ":8372", + ":8369", ":8366", - ":8367", - ":8304", + ":9430", ":8311", - ":8301", - ":8299", + ":9427", + ":8305", + ":8313", + ":8300", + ":8370", ":8297", - ":9425", + ":8312", ":8294", - ":8293", - ":8291", ":8289", - ":8288", + ":8284", + ":8308", + ":9477", ":8285", - ":8303", - ":8283", + ":9428", ":8282", - ":8374", - ":8308", + ":8301", + ":8303", ":8281", - ":8278", - ":8369", - ":8298", - ":8277", - ":9426", - ":8305", - ":8312", + ":8283", + ":9425", + ":8293", + ":8306", ":8286", - ":8272", - ":8284", - ":8275", - ":8280", ":8314", - ":8372", + ":8379", ":8270", - ":8300", - ":9477", + ":8275", + ":9426", ":8268", - ":8306", - ":8267", - ":8292", - ":8264", - ":8313", + ":8280", + ":8371", + ":8291", ":8276", - ":8269", - ":9427", - ":8309", + ":8292", + ":8267", + ":8272", + ":8299", + ":8278", + ":8298", + ":8277", ":8310", + ":8309", ":8293#out:1", ":8312#out:1", ":8290#out:1", @@ -704,7 +544,6 @@ ":8308#out:1", ":8280#out:1", ":8281#out:1", - ":8264#out:1", ":8277#out:1", ":8373#out:1", ":8270#out:1", @@ -718,13 +557,8 @@ ":8371#out:1", ":8283#out:1", ":8292#out:1", - ":8269#out:1", - ":8288#out:1", ":8286#out:1", ":8314#out:2", - ":8367#out:1", - ":8372#out:1", - ":8309#out:1", ":8310#out:1", ":8294#out:1", ":8374#out:1", @@ -735,20 +569,22 @@ ":9425#out:1", ":9429#out:1", ":9428#out:1", - ":9477#out:1" + ":9477#out:1", + ":8372#out:1", + ":8309#out:1" ], "sameAsElement":true }, { - "hid":11, + "hid":8, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8272", - "parent":10, + "parent":7, "children":[ - 12 + 9 ], "name":"Counter", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_05_Speed_Estimation/Counter", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter", "label":"Counter", "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_d.svg", @@ -758,10 +594,10 @@ ":8272:2418", ":8272:2515", ":8272:2416", - ":8272:2415", ":8272:2414", - ":8272:2412", ":8272:2413", + ":8272:2415", + ":8272:2412", ":8272:2515#out:1", ":8272:2415#out:1", ":8272:2413#out:1", @@ -772,14 +608,14 @@ "sameAsElement":true }, { - "hid":12, + "hid":9, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", - "parent":11, + "parent":8, "children":[ ], "name":"rst_Delay", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_05_Speed_Estimation/Counter/rst_Delay", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter/rst_Delay", "label":"rst_Delay", "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8272_2515_d.svg", @@ -801,14 +637,14 @@ "sameAsElement":true }, { - "hid":13, + "hid":10, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "parent":10, + "parent":7, "children":[ ], "name":"Raw_Motor_Speed_Estimation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_05_Speed_Estimation/Raw_Motor_Speed_Estimation", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Raw_Motor_Speed_Estimation", "label":"Raw_Motor_Speed_Estimation", "icon":"WebViewIcon1", "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8314_d.svg", @@ -820,51 +656,51 @@ ":8363", ":8364", ":8365", - ":8358", - ":8360", - ":8356", - ":8351", + ":8359", + ":8357", + ":8354", + ":8352", + ":8350", ":8348", + ":8360", + ":8346", ":8347", + ":8349", + ":8345", + ":8344", + ":8342", ":8341", + ":8351", + ":8340", ":8339", - ":8336", + ":8358", + ":8356", + ":8333", ":8332", - ":8346", - ":8330", - ":8350", + ":8331", ":8328", ":8327", - ":8354", - ":8326", - ":8357", - ":8324", - ":8335", - ":8344", ":8325", - ":8322", - ":8340", + ":8324", + ":8330", + ":8334", ":8355", ":8323", - ":8359", - ":8353", + ":8335", + ":8321", ":8319", - ":8352", - ":8349", + ":8326", + ":8320", + ":8353", + ":8336", + ":8329", + ":8338", + ":8317", + ":8322", ":8318", - ":8334", ":8337", - ":8345", - ":8321", - ":8333", - ":8317", - ":8329", ":8316", - ":8331", ":8315", - ":8338", - ":8342", - ":8320", ":8343", ":8315#out:1", ":8316#out:1", @@ -905,15 +741,15 @@ "sameAsElement":true }, { - "hid":14, + "hid":11, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "parent":3, "children":[ ], - "name":"F01_06_Electrical_Angle_Estimation", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Estimation", - "label":"F01_06_Electrical_Angle_Estimation", + "name":"F01_05_Electrical_Angle_Estimation", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_05_Electrical_Angle_Estimation", + "label":"F01_05_Electrical_Angle_Estimation", "icon":"WebViewIcon1", "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.svg", "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8384_d.png", @@ -940,28 +776,28 @@ ":8413", ":8416", ":8391", - ":8421", ":8420", - ":8418", ":8417", + ":9664", ":9660", - ":8412", - ":8411", + ":8410", + ":8404", + ":8421", ":8405", ":8400", - ":9664", + ":8412", ":8398", + ":8397", ":8396", - ":8393", - ":8392", - ":8410", ":8395", - ":8389", - ":8397", ":8394", ":8403", + ":8393", + ":8411", + ":8392", + ":8418", + ":8389", ":9665", - ":8404", ":8385#out:1", ":8386#out:1", ":8399#out:1", @@ -996,13 +832,13 @@ "sameAsElement":true }, { - "hid":15, + "hid":12, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "parent":2, "children":[ - 16, - 25 + 13, + 22 ], "name":"F02_Diagnostics", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics", @@ -1024,49 +860,49 @@ ":8526", ":8499", ":8497", - ":8527", + ":8521", ":8520", - ":8524", - ":8517", + ":8519", ":9398", - ":8514", + ":9404", ":8510", - ":8525", - ":8508", + ":8515", + ":8509", + ":8527", + ":8517", + ":8514", ":9406", - ":9395", + ":8504", ":9397", - ":8500", - ":8509", - ":8503", + ":8525", + ":8493", ":8491", - ":8504", - ":8492", - ":8487", - ":9407", - ":8486", ":9402", - ":8480", - ":8479", - ":8478", - ":8521", - ":8519", + ":9400", + ":8500", + ":9395", + ":8483", + ":8482", ":9412", + ":8486", + ":8479", + ":9407", + ":9405", + ":8524", + ":9403", ":9410", - ":9404", ":8484", - ":9408", - ":8515", - ":9400", - ":9403", ":8474", - ":9394", - ":8494", - ":8493", + ":8478", + ":8487", ":9396", - ":9405", - ":8483", - ":8482", + ":8480", + ":8494", + ":8503", + ":9394", + ":8492", + ":8508", + ":9408", ":9401", ":8497#out:1", ":8470#out:1", @@ -1110,15 +946,15 @@ "sameAsElement":true }, { - "hid":16, + "hid":13, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "parent":15, + "parent":12, "children":[ - 17, + 14, + 15, 18, - 21, - 24 + 21 ], "name":"Debounce_Filter", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter", @@ -1128,40 +964,40 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_d.json", "elements":[ - ":8486:2507", ":8486:2509", ":8486:2473", - ":8486:2467", + ":8486:2472", ":8486:2466", - ":8486:2465", - ":8486:2496", ":8486:2464", - ":8486:2462", + ":8486:2463", ":8486:2461", - ":8486:2460", - ":8486:2459", - ":8486:2458", - ":8486:2472", - ":8486:2456", - ":8486:2455", + ":8486:2507", + ":8486:2496", + ":8486:2457", ":8486:2454", ":8486:2453", - ":8486:2451", + ":8486:2452", + ":8486:2449", + ":8486:2456", ":8486:2450", + ":8486:2458", + ":8486:2462", + ":8486:2428", ":8486:2448", - ":8486:2463", - ":8486:2449", + ":8486:2465", + ":8486:2460", + ":8486:2451", + ":8486:2422", + ":8486:2459", ":8486:2423", - ":8486:2452", - ":8486:2428", ":8486:2421", - ":8486:2422", + ":8486:2467", + ":8486:2455", ":8486:2420", - ":8486:2457", - ":8486:2469", - ":8486:2468", - ":8486:2470", ":8486:2471", + ":8486:2470", + ":8486:2468", + ":8486:2469", ":8486:2507#out:1", ":8486:2422#out:1", ":8486:2421#out:1", @@ -1195,10 +1031,10 @@ "sameAsElement":true }, { - "hid":17, + "hid":14, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", - "parent":16, + "parent":13, "children":[ ], "name":"Default", @@ -1210,20 +1046,20 @@ "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2423_d.json", "elements":[ ":8486:2427", - ":8486:2426", ":8486:2425", ":8486:2424", + ":8486:2426", ":8486:2424#out:1" ], "sameAsElement":true }, { - "hid":18, + "hid":15, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "parent":16, + "parent":13, "children":[ - 19 + 16 ], "name":"Dequalification", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification", @@ -1233,25 +1069,25 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2428_d.json", "elements":[ + ":8486:2446", ":8486:2447", + ":8486:2445", + ":8486:2444", ":8486:2443", ":8486:2442", - ":8486:2444", ":8486:2440", ":8486:2439", - ":8486:2437", + ":8486:2441", + ":8486:2435", + ":8486:2434", ":8486:2438", ":8486:2433", ":8486:2432", + ":8486:2437", ":8486:2431", - ":8486:2435", ":8486:2436", - ":8486:2434", ":8486:2430", - ":8486:2441", ":8486:2429", - ":8486:2446", - ":8486:2445", ":8486:2438#out:1", ":8486:2429#out:1", ":8486:2430#out:1", @@ -1269,12 +1105,12 @@ "sameAsElement":true }, { - "hid":19, + "hid":16, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", - "parent":18, + "parent":15, "children":[ - 20 + 17 ], "name":"Counter", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Dequalification/Counter", @@ -1284,13 +1120,13 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2435_d.json", "elements":[ - ":8486:2435:2418", ":8486:2435:2515", + ":8486:2435:2416", + ":8486:2435:2418", ":8486:2435:2415", - ":8486:2435:2413", ":8486:2435:2414", + ":8486:2435:2413", ":8486:2435:2412", - ":8486:2435:2416", ":8486:2435:2515#out:1", ":8486:2435:2415#out:1", ":8486:2435:2413#out:1", @@ -1301,10 +1137,10 @@ "sameAsElement":true }, { - "hid":20, + "hid":17, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", - "parent":19, + "parent":16, "children":[ ], "name":"rst_Delay", @@ -1330,12 +1166,12 @@ "sameAsElement":true }, { - "hid":21, + "hid":18, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "parent":16, + "parent":13, "children":[ - 22 + 19 ], "name":"Qualification", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification", @@ -1345,24 +1181,24 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2473_d.json", "elements":[ + ":8486:2492", ":8486:2491", - ":8486:2490", ":8486:2489", - ":8486:2487", - ":8486:2492", + ":8486:2488", + ":8486:2486", ":8486:2485", ":8486:2484", + ":8486:2483", + ":8486:2481", ":8486:2480", - ":8486:2486", ":8486:2482", ":8486:2479", - ":8486:2483", - ":8486:2478", - ":8486:2477", ":8486:2476", - ":8486:2488", + ":8486:2477", + ":8486:2487", + ":8486:2490", ":8486:2475", - ":8486:2481", + ":8486:2478", ":8486:2474", ":8486:2480#out:1", ":8486:2491#out:1", @@ -1381,12 +1217,12 @@ "sameAsElement":true }, { - "hid":22, + "hid":19, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", - "parent":21, + "parent":18, "children":[ - 23 + 20 ], "name":"Counter", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Debounce_Filter/Qualification/Counter", @@ -1396,13 +1232,13 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8486_2480_d.json", "elements":[ - ":8486:2480:2418", ":8486:2480:2515", + ":8486:2480:2418", ":8486:2480:2416", - ":8486:2480:2415", ":8486:2480:2414", ":8486:2480:2413", ":8486:2480:2412", + ":8486:2480:2415", ":8486:2480:2515#out:1", ":8486:2480:2415#out:1", ":8486:2480:2413#out:1", @@ -1413,10 +1249,10 @@ "sameAsElement":true }, { - "hid":23, + "hid":20, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", - "parent":22, + "parent":19, "children":[ ], "name":"rst_Delay", @@ -1442,10 +1278,10 @@ "sameAsElement":true }, { - "hid":24, + "hid":21, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", - "parent":16, + "parent":13, "children":[ ], "name":"either_edge", @@ -1467,10 +1303,10 @@ "sameAsElement":true }, { - "hid":25, + "hid":22, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8519", - "parent":15, + "parent":12, "children":[ ], "name":"either_edge", @@ -1492,13 +1328,14 @@ "sameAsElement":true }, { - "hid":26, + "hid":23, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "parent":2, "children":[ - 27, - 28 + 24, + 25, + 26 ], "name":"F03_Control_Mode_Manager", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager", @@ -1511,31 +1348,46 @@ ":8655", ":8634", ":8654", + ":8650", ":9423", - ":8647", - ":8643", ":8642", - ":8633", + ":10023", + ":10019", ":8639", + ":10020", + ":8636", + ":8643", ":8632", + ":9996", + ":9995", ":8630", - ":8628", - ":8646", - ":9424", + ":8645", ":8625", ":8624", - ":8636", - ":8603", - ":8635", ":8651", + ":9994", + ":10017", + ":8647", + ":8635", ":8546", - ":8537", - ":9422", + ":10018", + ":10022", + ":8603", + ":10028", + ":9997", + ":8539", + ":9424", + ":8633", + ":10021", ":8640", - ":8650", + ":8646", + ":9953", + ":8628", + ":10024", ":8536", - ":8539", - ":8645", + ":8537", + ":10029", + ":9422", ":8634#out:1", ":8537#out:1", ":8625#out:1", @@ -1555,15 +1407,25 @@ ":8536#out:1", ":8628#out:1", ":9422#out:1", - ":9424#out:1" + ":9424#out:1", + ":9995#out:1", + ":9994#out:1", + ":9996#out:1", + ":9953#out:1", + ":10017#out:1", + ":10018#out:1", + ":10020#out:1", + ":10022#out:1", + ":10021#out:1", + ":10028#out:1" ], "sameAsElement":true }, { - "hid":27, + "hid":24, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "parent":26, + "parent":23, "children":[ ], "name":"F03_01_Mode_Transition_Calculation", @@ -1576,58 +1438,58 @@ "elements":[ ":8601", ":8602", + ":8600", ":8599", - ":8594", - ":8593", + ":8598", + ":8595", ":8591", - ":8590", - ":8589", - ":8597", + ":8594", ":8587", - ":8583", - ":8582", - ":8580", - ":8600", - ":8571", - ":9421", + ":8584", ":8581", + ":8580", + ":8582", + ":8592", ":8585", + ":8590", + ":8572", + ":8571", + ":8570", + ":8566", + ":8565", + ":8593", ":8569", - ":8584", + ":8564", + ":8597", ":8563", + ":8562", ":9419", ":8560", - ":8562", - ":8559", - ":8586", + ":8558", ":8561", - ":8572", - ":8592", + ":8556", + ":8589", + ":8552", ":8554", - ":8564", - ":8568", ":8553", - ":8598", - ":8555", - ":8565", - ":8552", + ":8549", + ":8583", ":8551", + ":8555", + ":8568", + ":9420", ":8573", ":8548", - ":8566", - ":8595", - ":9420", - ":8549", + ":8559", + ":9421", + ":8586", ":8547", - ":8570", - ":8558", - ":8556", - ":8574", - ":8575", - ":8577", - ":8578", ":8579", + ":8577", ":8576", + ":8578", + ":8575", + ":8574", ":8587#out:1", ":8593#out:1", ":8594#out:1", @@ -1671,10 +1533,10 @@ "sameAsElement":true }, { - "hid":28, + "hid":25, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8603", - "parent":26, + "parent":23, "children":[ ], "name":"F03_02_Control_Mode_Manager", @@ -1685,41 +1547,386 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8603_d.json", "elements":[ - ":8603:1", ":8603:3", ":8603:28", ":8603:6", ":8603:4", ":8603:30", ":8603:33", + ":8603:32", ":8603:12", ":8603:9", ":8603:31", - ":8603:32", - ":8603:13", + ":8603:1", ":8603:2", + ":8603:13", ":8603:14" ], "sameAsElement":false }, + { + "hid":26, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "parent":23, + "children":[ + 27, + 28, + 29, + 30 + ], + "name":"F03_03_Input_Target_Synthesis", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis", + "label":"F03_03_Input_Target_Synthesis", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9953_d.json", + "elements":[ + ":9993", + ":10003", + ":9992", + ":9937", + ":10013", + ":9987", + ":9986", + ":9983", + ":10004", + ":9982", + ":10014", + ":10002", + ":9981", + ":10015", + ":9980", + ":9979", + ":9977", + ":10000", + ":9978", + ":9957", + ":9984", + ":10007", + ":9999", + ":10016", + ":9988", + ":9956", + ":10005", + ":9955", + ":9985", + ":9998", + ":9954", + ":9957#out:1", + ":9980#out:1", + ":9978#out:1", + ":9986#out:1", + ":9954#out:1", + ":9979#out:1", + ":9988#out:1", + ":9977#out:1", + ":9956#out:1", + ":9987#out:1", + ":9986#out:2", + ":9981#out:1", + ":9955#out:1", + ":9998#out:1", + ":10000#out:1", + ":10002#out:1", + ":10005#out:1", + ":9937#out:1", + ":10007#out:1", + ":10013#out:1", + ":10015#out:1", + ":10002#out:2", + ":10016#out:1" + ], + "sameAsElement":true + }, + { + "hid":27, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9988", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9988", + "parent":26, + "children":[ + ], + "name":"Default_Control_Type", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Control_Type", + "label":"Default_Control_Type", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9988_d.json", + "elements":[ + ":9991", + ":9990", + ":9989", + ":9989#out:1" + ], + "sameAsElement":true + }, + { + "hid":28, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10007", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10007", + "parent":26, + "children":[ + ], + "name":"Default_Mode", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Mode", + "label":"Default_Mode", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10007_d.json", + "elements":[ + ":10012", + ":10009", + ":10008", + ":10008#out:1" + ], + "sameAsElement":true + }, { "hid":29, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "parent":26, + "children":[ + ], + "name":"FOC_Control_Type", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/FOC_Control_Type", + "label":"FOC_Control_Type", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9957_d.json", + "elements":[ + ":9976", + ":9972", + ":9971", + ":9974", + ":9969", + ":9966", + ":9975", + ":9962", + ":9963", + ":9973", + ":9961", + ":9960", + ":9964", + ":9965", + ":9959", + ":9967", + ":9968", + ":9970", + ":9958", + ":9958#out:1", + ":9963#out:1", + ":9959#out:1", + ":9972#out:1", + ":9970#out:1", + ":9973#out:1", + ":9974#out:1", + ":9971#out:1", + ":9969#out:1", + ":9975#out:1", + ":9965#out:1", + ":9962#out:1", + ":9961#out:1", + ":9964#out:1" + ], + "sameAsElement":true + }, + { + "hid":30, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "parent":26, + "children":[ + 31, + 34 + ], + "name":"Open_Mode", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode", + "label":"Open_Mode", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9937_d.json", + "elements":[ + ":9952", + ":9951", + ":9950", + ":9949", + ":10006", + ":9945", + ":9943", + ":9947", + ":9942", + ":9944", + ":9941", + ":9940", + ":9948", + ":9939", + ":9938", + ":9938#out:1", + ":9940#out:1", + ":9950#out:1", + ":9945#out:1", + ":9949#out:1", + ":9944#out:1", + ":9948#out:1", + ":9943#out:1", + ":9941#out:1", + ":9942#out:1" + ], + "sameAsElement":true + }, + { + "hid":31, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "parent":30, + "children":[ + 32, + 33 + ], + "name":"Rate_Limiter", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter", + "label":"Rate_Limiter", + "icon":"WebViewIcon9", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_d.json", + "elements":[ + ":9948:2353", + ":9948:2346", + ":9948:2395", + ":9948:2358", + ":9948:2357", + ":9948:2356", + ":9948:2355", + ":9948:2360", + ":9948:2343", + ":9948:2342", + ":9948:2359", + ":9948:2356#out:1", + ":9948:2342#out:1", + ":9948:2359#out:1", + ":9948:2357#out:1", + ":9948:2343#out:1", + ":9948:2346#out:1", + ":9948:2358#out:1", + ":9948:2355#out:1", + ":9948:2395#out:1" + ], + "sameAsElement":true + }, + { + "hid":32, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "parent":31, + "children":[ + ], + "name":"Delay_Init1", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Delay_Init1", + "label":"Delay_Init1", + "icon":"WebViewIcon4", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2342_d.json", + "elements":[ + ":9948:2342:2337", + ":9948:2342:2335", + ":9948:2342:2339", + ":9948:2342:2334", + ":9948:2342:2340", + ":9948:2342:2341", + ":9948:2342:2512", + ":9948:2342:2335#out:1", + ":9948:2342:2334#out:1", + ":9948:2342:2341#out:1", + ":9948:2342:2340#out:1", + ":9948:2342:2337#out:1", + ":9948:2342:2512#out:1" + ], + "sameAsElement":true + }, + { + "hid":33, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", + "parent":31, + "children":[ + ], + "name":"Saturation Dynamic", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Saturation Dynamic", + "label":"Saturation Dynamic", + "icon":"WebViewIcon3", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9948_2395_d.json", + "elements":[ + ":9948:2395:10", + ":9948:2395:9", + ":9948:2395:8", + ":9948:2395:7", + ":9948:2395:6", + ":9948:2395:5", + ":9948:2395:4", + ":9948:2395:3", + ":9948:2395:2", + ":9948:2395:1", + ":9948:2395:1#out:1", + ":9948:2395:2#out:1", + ":9948:2395:3#out:1", + ":9948:2395:7#out:1", + ":9948:2395:8#out:1", + ":9948:2395:6#out:1", + ":9948:2395:9#out:1" + ], + "sameAsElement":true + }, + { + "hid":34, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9950", + "parent":30, + "children":[ + ], + "name":"rising_edge_init", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/rising_edge_init", + "label":"rising_edge_init", + "icon":"WebViewIcon4", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9950_d.json", + "elements":[ + ":9950:2364", + ":9950:2363", + ":9950:2362", + ":9950:2363#out:1", + ":9950:2362#out:1" + ], + "sameAsElement":true + }, + { + "hid":35, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "parent":2, "children":[ - 30, - 33, - 35, 36, - 37, - 38, + 39, + 41, + 42, 43, - 48, + 44, 49, - 54, - 60, - 66 + 50, + 51, + 56, + 62, + 68 ], "name":"F04_Field_Oriented_Control", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control", @@ -1730,15 +1937,9 @@ "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8658_d.json", "elements":[ ":9719", - ":9194", - ":9193", ":9192", ":8859", - ":8829", - ":8840", ":8827", - ":8828", - ":8767", ":8769", ":8778", ":8886", @@ -1752,135 +1953,129 @@ ":9025", ":9196", ":9195", - ":9142", + ":9171", + ":9143", ":9108", - ":9072", - ":9045", - ":9197", - ":9029", + ":9074", + ":9028", ":9027", - ":8912", - ":9713", ":8862", - ":8857", - ":8853", - ":8848", - ":8847", + ":8856", + ":9072", + ":9023", + ":8850", + ":8849", + ":8846", ":8845", ":8842", - ":8864", - ":8839", - ":8838", - ":8836", - ":8834", - ":8832", - ":8831", - ":9717", - ":8852", - ":8851", - ":8824", - ":8820", - ":8819", - ":8846", - ":8818", - ":9073", - ":8813", - ":8809", - ":8808", - ":8860", - ":8805", + ":8830", + ":8826", ":9655", - ":8841", - ":8810", - ":9171", - ":8801", - ":8811", ":8825", - ":9023", - ":8802", - ":9715", + ":8823", + ":8815", + ":8812", + ":8811", + ":8809", + ":8843", + ":8861", + ":8807", + ":8824", + ":8801", + ":8800", ":8814", - ":8788", - ":8787", - ":8786", - ":9074", - ":8849", + ":8806", ":8799", - ":8785", - ":8783", - ":8781", ":8798", - ":8779", + ":8792", ":8791", - ":9026", - ":9718", - ":8789", - ":8812", - ":8861", - ":8793", - ":8771", - ":8770", - ":8774", - ":8844", ":8790", - ":8766", - ":8765", - ":8816", - ":8792", + ":8796", + ":8788", + ":8857", + ":9715", + ":8786", + ":8864", + ":8784", + ":8782", + ":8813", + ":8852", + ":8781", ":8780", + ":8832", + ":8779", ":8863", - ":9028", + ":8808", + ":8804", + ":9718", + ":8831", + ":8776", + ":9029", + ":8817", + ":8775", + ":8774", + ":8810", ":8837", - ":8800", - ":8772", - ":8843", - ":8856", - ":9143", + ":8773", + ":8795", ":8797", - ":8830", + ":8818", + ":8793", + ":8841", + ":8783", + ":8853", + ":9713", + ":10030", + ":8844", + ":9045", + ":8838", + ":9197", + ":8912", ":8726", - ":8858", - ":8806", - ":8775", - ":8850", - ":9109", + ":9073", + ":8667", + ":8771", + ":8794", + ":8802", ":8777", + ":8913", + ":8766", + ":8858", ":8663", - ":8804", - ":8823", ":8662", - ":8661", - ":8817", - ":8796", - ":8784", + ":8816", ":9716", - ":8794", - ":8773", - ":8913", + ":8848", ":8803", + ":8668", + ":8851", + ":8787", + ":8661", + ":8765", + ":8770", + ":8768", + ":8834", + ":8664", + ":8819", + ":8860", + ":9109", + ":8839", + ":8772", + ":8820", + ":8847", + ":9717", + ":8785", ":8660", - ":8668", - ":8768", - ":8664", - ":8807", - ":8826", - ":8667", - ":8815", - ":8782", - ":8776", - ":8743", ":8659", - ":8795", + ":8789", + ":8743", + ":9026", ":8827#out:1", - ":8828#out:1", - ":8767#out:1", ":8886#out:1", ":8886#out:2", ":8665#out:1", ":8666#out:1", ":8866#out:1", - ":8866#out:2", - ":8866#out:3", ":8668#out:1", ":8668#out:2", ":9024#out:1", @@ -1917,7 +2112,6 @@ ":8662#out:1", ":8790#out:1", ":8779#out:1", - ":8805#out:1", ":9029#out:1", ":9109#out:1", ":9074#out:1", @@ -1943,7 +2137,6 @@ ":8804#out:1", ":8806#out:1", ":8912#out:1", - ":9142#out:1", ":8913#out:3", ":8913#out:4", ":8776#out:1", @@ -1987,18 +2180,19 @@ ":8771#out:1", ":9715#out:1", ":9716#out:1", - ":9718#out:1" + ":9718#out:1", + ":10030#out:1" ], "sameAsElement":true }, { - "hid":30, + "hid":36, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8668", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8668", - "parent":29, + "parent":35, "children":[ - 31, - 32 + 37, + 38 ], "name":"Clarke_Transform", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Clarke_Transform", @@ -2009,33 +2203,33 @@ "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8668_d.json", "elements":[ ":8725", - ":8723", - ":8722", + ":8724", ":8721", ":8720", - ":8718", - ":8724", ":8719", + ":8718", + ":8722", + ":8716", + ":8717", ":8715", ":8713", - ":8714", - ":8711", ":8710", - ":8707", + ":8712", ":8708", - ":8706", + ":8707", ":8705", ":8704", ":8703", - ":8712", - ":8717", - ":8671", ":8709", - ":8670", - ":8716", - ":8669", + ":8711", ":8686", + ":8671", + ":8670", + ":8706", + ":8714", ":8702", + ":8669", + ":8723", ":8686#out:1", ":8705#out:1", ":8704#out:1", @@ -2061,10 +2255,10 @@ "sameAsElement":true }, { - "hid":31, + "hid":37, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8671", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8671", - "parent":30, + "parent":36, "children":[ ], "name":"Clarke_PhasesAB", @@ -2077,18 +2271,18 @@ "elements":[ ":8685", ":8683", + ":8681", + ":8684", + ":8679", ":8682", - ":8678", + ":8680", ":8675", - ":8679", - ":8677", + ":8676", + ":8678", ":8674", ":8673", - ":8680", - ":8676", + ":8677", ":8672", - ":8684", - ":8681", ":8673#out:1", ":8672#out:1", ":8675#out:1", @@ -2101,10 +2295,10 @@ "sameAsElement":true }, { - "hid":32, + "hid":38, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8686", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8686", - "parent":30, + "parent":36, "children":[ ], "name":"Clarke_PhasesBC", @@ -2116,20 +2310,20 @@ "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8686_d.json", "elements":[ ":8701", + ":8699", ":8700", + ":8695", ":8698", - ":8697", ":8694", ":8693", + ":8696", ":8692", ":8691", + ":8697", ":8690", ":8689", - ":8696", ":8688", - ":8699", ":8687", - ":8695", ":8691#out:1", ":8690#out:1", ":8693#out:1", @@ -2143,12 +2337,12 @@ "sameAsElement":true }, { - "hid":33, + "hid":39, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8726", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8726", - "parent":29, + "parent":35, "children":[ - 34 + 40 ], "name":"Current_Filtering", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Current_Filtering", @@ -2159,22 +2353,22 @@ "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8726_d.json", "elements":[ ":8740", - ":8742", + ":8739", ":8738", - ":8736", ":8735", ":8734", - ":8732", - ":8741", + ":8742", + ":8733", ":8731", - ":8739", ":8730", ":8737", - ":8733", + ":8736", + ":9714", ":8728", - ":8729", ":8727", - ":9714", + ":8732", + ":8729", + ":8741", ":8739#out:1", ":8729#out:2", ":8740#out:1", @@ -2190,10 +2384,10 @@ "sameAsElement":true }, { - "hid":34, + "hid":40, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8738", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8738", - "parent":33, + "parent":39, "children":[ ], "name":"Low_Pass_Filter", @@ -2204,15 +2398,15 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8738_d.json", "elements":[ - ":8738:2405", - ":8738:2406", - ":8738:2404", - ":8738:2401", ":8738:2407", + ":8738:2406", + ":8738:2405", ":8738:2403", + ":8738:2401", ":8738:2400", - ":8738:2402", + ":8738:2404", ":8738:2399", + ":8738:2402", ":8738:2399#out:1", ":8738:2404#out:1", ":8738:2401#out:1", @@ -2225,10 +2419,10 @@ "sameAsElement":true }, { - "hid":35, + "hid":41, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8743", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8743", - "parent":29, + "parent":35, "children":[ ], "name":"Field_Weakening", @@ -2243,39 +2437,39 @@ ":8762", ":8763", ":8764", - ":8760", ":8759", - ":8757", - ":8756", - ":8755", - ":8754", ":8753", - ":8749", - ":8748", - ":8747", + ":8755", ":8752", - ":9639", ":9650", - ":8758", + ":8748", + ":9649", + ":9638", ":9646", - ":8751", - ":9645", + ":8749", + ":8760", ":9653", - ":9647", - ":9643", - ":9652", + ":8751", ":9648", - ":8750", + ":9652", + ":9639", + ":9647", ":9641", ":9640", - ":9638", - ":9651", - ":8745", - ":9649", - ":9644", ":9657", - ":8744", + ":9644", + ":8758", + ":8747", ":9654", + ":8756", + ":8754", + ":8745", + ":9645", + ":9651", + ":9643", + ":8750", + ":8757", + ":8744", ":9636", ":8748#out:1", ":8750#out:1", @@ -2305,10 +2499,10 @@ "sameAsElement":true }, { - "hid":36, + "hid":42, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8866", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8866", - "parent":29, + "parent":35, "children":[ ], "name":"Inv_Clarke_Transform", @@ -2322,22 +2516,19 @@ ":8884", ":8885", ":8868", - ":8882", ":8867", ":8881", - ":8883", + ":8880", ":8878", - ":8876", + ":8877", ":8874", ":8873", ":8875", - ":8880", ":8879", - ":8877", - ":8871", + ":8869", ":8872", ":8870", - ":8869", + ":8876", ":8880#out:1", ":8879#out:1", ":8872#out:1", @@ -2347,10 +2538,7 @@ ":8869#out:1", ":8870#out:1", ":8876#out:1", - ":8871#out:3", - ":8871#out:2", ":8873#out:1", - ":8871#out:1", ":8877#out:1", ":8878#out:1", ":8875#out:1" @@ -2358,10 +2546,10 @@ "sameAsElement":true }, { - "hid":37, + "hid":43, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8886", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8886", - "parent":29, + "parent":35, "children":[ ], "name":"Inv_Park_Transform", @@ -2381,22 +2569,22 @@ ":8890", ":8908", ":8907", - ":8904", - ":8903", + ":8906", ":8905", - ":8902", + ":8903", ":8901", - ":8900", ":8899", - ":8896", - ":8895", - ":8906", ":8897", - ":8891", + ":8895", + ":8904", + ":8896", + ":8894", + ":8892", ":8893", + ":8900", + ":8891", + ":8902", ":8898", - ":8892", - ":8894", ":8889#out:1", ":8888#out:1", ":8887#out:1", @@ -2419,13 +2607,13 @@ "sameAsElement":true }, { - "hid":38, + "hid":44, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8913", - "parent":29, + "parent":35, "children":[ - 39, - 41 + 45, + 47 ], "name":"Motor_Limitations", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Motor_Limitations", @@ -2441,88 +2629,88 @@ ":9021", ":9022", ":9017", - ":9012", - ":9010", - ":9009", - ":9005", + ":9013", + ":9007", ":9004", - ":9003", + ":9005", + ":9001", ":9000", - ":8999", - ":8997", - ":9007", + ":8998", ":8987", - ":8986", - ":9002", ":8984", ":8983", - ":8985", - ":9001", - ":8978", - ":8998", - ":8976", - ":8973", - ":8972", - ":8971", + ":8979", + ":9003", + ":8970", ":8969", + ":8974", + ":8965", + ":8963", ":8968", - ":8967", + ":8964", + ":8962", ":8961", - ":8960", + ":8977", + ":8966", + ":9008", ":8959", - ":8958", - ":9014", - ":8953", + ":9011", ":8957", + ":9002", + ":8955", + ":8954", + ":8973", ":8952", ":8951", - ":8947", - ":8946", - ":8966", - ":8944", - ":8948", + ":9009", + ":8950", ":8949", + ":8986", + ":8944", + ":8975", ":8943", ":8942", - ":8955", - ":8938", - ":8937", - ":8935", - ":8975", + ":8960", + ":8939", + ":8938", + ":8967", ":8934", - ":8970", + ":8999", + ":8971", + ":8976", + ":8958", + ":8972", + ":9012", + ":8924", ":9006", - ":9732", - ":9733", - ":8964", - ":8956", + ":8948", ":8923", - ":8924", - ":8954", - ":8939", - ":8950", - ":8918", - ":8919", - ":8974", + ":8997", + ":9010", + ":8922", + ":9732", + ":8978", ":8920", - ":8917", - ":8962", - ":9013", - ":8916", - ":8965", - ":8963", + ":8947", ":8945", - ":8915", + ":8917", ":8936", - ":9011", - ":8922", - ":9008", - ":8977", - ":8914", + ":8919", + ":9014", ":8921", - ":8979", - ":8980", + ":8985", + ":8953", + ":8937", + ":8946", + ":8915", + ":8916", + ":9733", + ":8935", + ":8914", + ":8956", + ":8918", ":8981", + ":8980", ":8999#out:1", ":8947#out:1", ":8935#out:1", @@ -2583,12 +2771,12 @@ "sameAsElement":true }, { - "hid":39, + "hid":45, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8924", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8924", - "parent":38, + "parent":44, "children":[ - 40 + 46 ], "name":"Current_Limit_Protection", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Motor_Limitations/Current_Limit_Protection", @@ -2598,15 +2786,15 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8924_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_8924_d.json", "elements":[ + ":8933", ":8932", ":8931", + ":8929", ":8928", - ":8926", + ":8927", ":8930", ":8925", - ":8929", - ":8933", - ":8927", + ":8926", ":8931#out:1", ":8925#out:1", ":8932#out:1", @@ -2618,10 +2806,10 @@ "sameAsElement":true }, { - "hid":40, + "hid":46, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8930", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8930", - "parent":39, + "parent":45, "children":[ ], "name":"Saturation Dynamic", @@ -2653,12 +2841,12 @@ "sameAsElement":true }, { - "hid":41, + "hid":47, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8987", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8987", - "parent":38, + "parent":44, "children":[ - 42 + 48 ], "name":"Speed_Limit_Protection", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Motor_Limitations/Speed_Limit_Protection", @@ -2671,12 +2859,12 @@ ":8996", ":8995", ":8994", + ":8993", ":8992", - ":8991", ":8990", - ":8993", ":8989", ":8988", + ":8991", ":8993#out:1", ":8990#out:1", ":8994#out:1", @@ -2688,10 +2876,10 @@ "sameAsElement":true }, { - "hid":42, + "hid":48, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8993", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:8993", - "parent":41, + "parent":47, "children":[ ], "name":"Saturation Dynamic1", @@ -2723,13 +2911,11 @@ "sameAsElement":true }, { - "hid":43, + "hid":49, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9029", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9029", - "parent":29, + "parent":35, "children":[ - 44, - 47 ], "name":"Open_Mode", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Open_Mode", @@ -2741,166 +2927,17 @@ "elements":[ ":9044", ":9043", - ":9040", - ":9041", - ":9037", - ":9036", - ":9042", - ":9034", - ":9035", - ":9039", - ":9033", - ":9032", - ":9031", ":9030", - ":9038", - ":9030#out:1", - ":9032#out:1", - ":9042#out:1", - ":9037#out:1", - ":9041#out:1", - ":9034#out:1", - ":9036#out:1", - ":9040#out:1", - ":9035#out:1", - ":9033#out:1" - ], - "sameAsElement":true - }, - { - "hid":44, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9040", - "parent":43, - "children":[ - 45, - 46 - ], - "name":"Rate_Limiter", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Open_Mode/Rate_Limiter", - "label":"Rate_Limiter", - "icon":"WebViewIcon9", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_d.json", - "elements":[ - ":9040:2353", - ":9040:2343", - ":9040:2360", - ":9040:2395", - ":9040:2342", - ":9040:2358", - ":9040:2356", - ":9040:2355", - ":9040:2346", - ":9040:2359", - ":9040:2357", - ":9040:2356#out:1", - ":9040:2342#out:1", - ":9040:2359#out:1", - ":9040:2357#out:1", - ":9040:2343#out:1", - ":9040:2346#out:1", - ":9040:2358#out:1", - ":9040:2355#out:1", - ":9040:2395#out:1" - ], - "sameAsElement":true - }, - { - "hid":45, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", - "parent":44, - "children":[ - ], - "name":"Delay_Init1", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Open_Mode/Rate_Limiter/Delay_Init1", - "label":"Delay_Init1", - "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2342_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2342_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2342_d.json", - "elements":[ - ":9040:2342:2337", - ":9040:2342:2335", - ":9040:2342:2339", - ":9040:2342:2334", - ":9040:2342:2340", - ":9040:2342:2341", - ":9040:2342:2512", - ":9040:2342:2335#out:1", - ":9040:2342:2334#out:1", - ":9040:2342:2341#out:1", - ":9040:2342:2340#out:1", - ":9040:2342:2337#out:1", - ":9040:2342:2512#out:1" - ], - "sameAsElement":true - }, - { - "hid":46, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", - "parent":44, - "children":[ - ], - "name":"Saturation Dynamic", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Open_Mode/Rate_Limiter/Saturation Dynamic", - "label":"Saturation Dynamic", - "icon":"WebViewIcon3", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2395_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2395_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9040_2395_d.json", - "elements":[ - ":9040:2395:10", - ":9040:2395:9", - ":9040:2395:8", - ":9040:2395:7", - ":9040:2395:6", - ":9040:2395:5", - ":9040:2395:4", - ":9040:2395:3", - ":9040:2395:2", - ":9040:2395:1", - ":9040:2395:1#out:1", - ":9040:2395:2#out:1", - ":9040:2395:3#out:1", - ":9040:2395:7#out:1", - ":9040:2395:8#out:1", - ":9040:2395:6#out:1", - ":9040:2395:9#out:1" - ], - "sameAsElement":true - }, - { - "hid":47, - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9042", - "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9042", - "parent":43, - "children":[ - ], - "name":"rising_edge_init", - "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Open_Mode/rising_edge_init", - "label":"rising_edge_init", - "icon":"WebViewIcon4", - "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9042_d.svg", - "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9042_d.png", - "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9042_d.json", - "elements":[ - ":9042:2364", - ":9042:2363", - ":9042:2362", - ":9042:2363#out:1", - ":9042:2362#out:1" + ":9031", + ":9030#out:1" ], "sameAsElement":true }, { - "hid":48, + "hid":50, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9045", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9045", - "parent":29, + "parent":35, "children":[ ], "name":"Park_Transform", @@ -2918,24 +2955,24 @@ ":9069", ":9048", ":9049", + ":9067", ":9066", ":9064", ":9063", + ":9062", ":9061", - ":9060", ":9059", ":9058", - ":9057", - ":9055", ":9054", ":9056", - ":9062", + ":9053", + ":9052", ":9051", - ":9065", + ":9055", ":9050", - ":9052", - ":9067", - ":9053", + ":9060", + ":9057", + ":9065", ":9048#out:1", ":9047#out:1", ":9046#out:1", @@ -2958,12 +2995,12 @@ "sameAsElement":true }, { - "hid":49, + "hid":51, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9074", - "parent":29, + "parent":35, "children":[ - 50 + 52 ], "name":"Speed_Mode", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Speed_Mode", @@ -2975,30 +3012,30 @@ "elements":[ ":9709", ":9107", - ":9104", - ":9101", + ":9105", + ":9106", + ":9102", ":9100", ":9728", ":9094", ":9093", ":9092", ":9091", - ":9089", + ":9104", + ":9088", ":9087", - ":9102", - ":9078", + ":9090", ":9083", - ":9106", - ":9081", - ":9095", ":9084", - ":9077", + ":9101", ":9082", + ":9089", + ":9078", + ":9077", ":9076", - ":9088", - ":9105", - ":9090", + ":9081", ":9075", + ":9095", ":9087#out:1", ":9075#out:1", ":9076#out:1", @@ -3020,14 +3057,14 @@ "sameAsElement":true }, { - "hid":50, + "hid":52, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9728", - "parent":49, + "parent":51, "children":[ - 51, - 52, - 53 + 53, + 54, + 55 ], "name":"PI_clamp_fixdt_n", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Speed_Mode/PI_clamp_fixdt_n", @@ -3038,28 +3075,28 @@ "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_d.json", "elements":[ ":9728:2785", + ":9728:2815", ":9728:2817", - ":9728:2783", - ":9728:2794", - ":9728:2795", + ":9728:2814", + ":9728:2781", ":9728:2846", ":9728:2833", ":9728:2832", - ":9728:2778", ":9728:2779", - ":9728:2776", - ":9728:2814", ":9728:2816", - ":9728:2733", - ":9728:2781", - ":9728:2771", - ":9728:2791", - ":9728:2815", + ":9728:2773", ":9728:2845", + ":9728:2791", + ":9728:2771", + ":9728:2732", ":9728:2770", + ":9728:2778", + ":9728:2733", + ":9728:2776", + ":9728:2783", + ":9728:2794", ":9728:2769", - ":9728:2773", - ":9728:2732", + ":9728:2795", ":9728:2844", ":9728:2791#out:2", ":9728:2846#out:1", @@ -3087,10 +3124,10 @@ "sameAsElement":true }, { - "hid":51, + "hid":53, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2816", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2816", - "parent":50, + "parent":52, "children":[ ], "name":"Clamping_circuit", @@ -3104,12 +3141,12 @@ ":9728:2819", ":9728:2818", ":9728:2831", - ":9728:2839", ":9728:2837", ":9728:2841", - ":9728:2840", + ":9728:2839", ":9728:2836", ":9728:2843", + ":9728:2840", ":9728:2838", ":9728:2843#out:1", ":9728:2838#out:1", @@ -3124,10 +3161,10 @@ "sameAsElement":true }, { - "hid":52, + "hid":54, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2779", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2779", - "parent":50, + "parent":52, "children":[ ], "name":"Integrator", @@ -3139,8 +3176,8 @@ "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2779_d.json", "elements":[ ":9728:2790", - ":9728:2788", ":9728:2789", + ":9728:2788", ":9728:2787", ":9728:2786", ":9728:2787#out:1", @@ -3151,10 +3188,10 @@ "sameAsElement":true }, { - "hid":53, + "hid":55, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791", - "parent":50, + "parent":52, "children":[ ], "name":"Saturation_hit", @@ -3165,16 +3202,16 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2791_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9728_2791_d.json", "elements":[ + ":9728:2791:2710", + ":9728:2791:2377", ":9728:2791:2709", ":9728:2791:2707", - ":9728:2791:2849", - ":9728:2791:2377", - ":9728:2791:2704", ":9728:2791:2848", ":9728:2791:2700", - ":9728:2791:2710", + ":9728:2791:2704", ":9728:2791:2701", ":9728:2791:2699", + ":9728:2791:2849", ":9728:2791:2849#out:1", ":9728:2791:2701#out:1", ":9728:2791:2704#out:1", @@ -3186,13 +3223,13 @@ "sameAsElement":true }, { - "hid":54, + "hid":56, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9109", - "parent":29, + "parent":35, "children":[ - 55, - 59 + 57, + 61 ], "name":"Torque_Mode", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Torque_Mode", @@ -3203,36 +3240,36 @@ "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9109_d.json", "elements":[ ":9141", - ":9140", + ":9139", ":9136", - ":9138", + ":9134", ":9133", ":9729", ":9131", - ":9128", + ":9130", ":9126", + ":9128", ":9121", - ":9130", - ":9120", ":9119", - ":9129", - ":9740", + ":9120", + ":9118", ":9116", - ":9115", ":9117", - ":9125", - ":9113", - ":9124", + ":9115", + ":9127", ":9123", + ":9113", ":9114", - ":9135", - ":9127", - ":9118", + ":9112", + ":9135", ":9111", + ":9125", + ":9124", + ":9129", ":9110", - ":9139", - ":9112", - ":9134", + ":9138", + ":9140", + ":9740", ":9118#out:1", ":9111#out:1", ":9110#out:1", @@ -3259,14 +3296,14 @@ "sameAsElement":true }, { - "hid":55, + "hid":57, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9729", - "parent":54, + "parent":56, "children":[ - 56, - 57, - 58 + 58, + 59, + 60 ], "name":"PI_clamp_fixdt_iq", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Torque_Mode/PI_clamp_fixdt_iq", @@ -3276,29 +3313,29 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_d.json", "elements":[ - ":9729:2785", ":9729:2817", ":9729:2814", - ":9729:2783", - ":9729:2791", + ":9729:2815", ":9729:2779", - ":9729:2795", - ":9729:2846", - ":9729:2832", - ":9729:2778", + ":9729:2783", + ":9729:2845", ":9729:2794", ":9729:2833", - ":9729:2845", - ":9729:2732", - ":9729:2771", ":9729:2781", + ":9729:2832", ":9729:2776", - ":9729:2770", - ":9729:2815", ":9729:2773", ":9729:2733", - ":9729:2816", + ":9729:2732", + ":9729:2791", + ":9729:2785", + ":9729:2771", + ":9729:2778", + ":9729:2770", + ":9729:2795", ":9729:2769", + ":9729:2816", + ":9729:2846", ":9729:2844", ":9729:2791#out:2", ":9729:2846#out:1", @@ -3326,10 +3363,10 @@ "sameAsElement":true }, { - "hid":56, + "hid":58, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2816", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2816", - "parent":55, + "parent":57, "children":[ ], "name":"Clamping_circuit", @@ -3343,12 +3380,12 @@ ":9729:2819", ":9729:2818", ":9729:2831", - ":9729:2839", - ":9729:2840", + ":9729:2837", ":9729:2841", ":9729:2836", + ":9729:2839", ":9729:2843", - ":9729:2837", + ":9729:2840", ":9729:2838", ":9729:2843#out:1", ":9729:2838#out:1", @@ -3363,10 +3400,10 @@ "sameAsElement":true }, { - "hid":57, + "hid":59, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2779", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2779", - "parent":55, + "parent":57, "children":[ ], "name":"Integrator", @@ -3377,9 +3414,9 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2779_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2779_d.json", "elements":[ + ":9729:2790", ":9729:2789", ":9729:2787", - ":9729:2790", ":9729:2788", ":9729:2786", ":9729:2787#out:1", @@ -3390,10 +3427,10 @@ "sameAsElement":true }, { - "hid":58, + "hid":60, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791", - "parent":55, + "parent":57, "children":[ ], "name":"Saturation_hit", @@ -3405,13 +3442,13 @@ "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9729_2791_d.json", "elements":[ ":9729:2791:2377", - ":9729:2791:2709", + ":9729:2791:2710", ":9729:2791:2849", ":9729:2791:2848", ":9729:2791:2704", - ":9729:2791:2710", - ":9729:2791:2700", ":9729:2791:2707", + ":9729:2791:2700", + ":9729:2791:2709", ":9729:2791:2699", ":9729:2791:2701", ":9729:2791:2849#out:1", @@ -3425,10 +3462,10 @@ "sameAsElement":true }, { - "hid":59, + "hid":61, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9133", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9133", - "parent":54, + "parent":56, "children":[ ], "name":"Saturation Dynamic", @@ -3460,13 +3497,13 @@ "sameAsElement":true }, { - "hid":60, + "hid":62, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "parent":29, + "parent":35, "children":[ - 61, - 65 + 63, + 67 ], "name":"Vd_Calculation", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Vd_Calculation", @@ -3478,30 +3515,30 @@ "elements":[ ":9165", ":9726", - ":9164", + ":9724", ":9721", + ":9162", + ":9161", ":9160", - ":9157", - ":9722", + ":9159", + ":9158", + ":9164", + ":9156", ":9155", - ":9170", + ":9157", ":9152", - ":9149", - ":9156", - ":9161", + ":9722", ":9150", - ":9148", - ":9147", - ":9158", - ":9159", - ":9145", - ":9162", + ":9149", + ":9151", ":9146", - ":9144", ":9723", + ":9145", ":9725", - ":9151", - ":9724", + ":9144", + ":9148", + ":9170", + ":9147", ":9152#out:1", ":9151#out:1", ":9144#out:1", @@ -3524,14 +3561,14 @@ "sameAsElement":true }, { - "hid":61, + "hid":63, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9721", - "parent":60, + "parent":62, "children":[ - 62, - 63, - 64 + 64, + 65, + 66 ], "name":"PI_clamp_fixdt_id", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Vd_Calculation/PI_clamp_fixdt_id", @@ -3543,27 +3580,27 @@ "elements":[ ":9721:2785", ":9721:2815", - ":9721:2783", + ":9721:2817", ":9721:2781", + ":9721:2783", + ":9721:2791", + ":9721:2794", + ":9721:2814", ":9721:2845", + ":9721:2795", + ":9721:2846", ":9721:2779", - ":9721:2814", - ":9721:2833", - ":9721:2832", - ":9721:2776", - ":9721:2778", - ":9721:2791", ":9721:2773", - ":9721:2733", - ":9721:2795", + ":9721:2833", ":9721:2770", - ":9721:2816", - ":9721:2846", + ":9721:2733", + ":9721:2832", ":9721:2769", ":9721:2732", - ":9721:2817", - ":9721:2794", + ":9721:2776", ":9721:2771", + ":9721:2816", + ":9721:2778", ":9721:2844", ":9721:2791#out:2", ":9721:2846#out:1", @@ -3591,10 +3628,10 @@ "sameAsElement":true }, { - "hid":62, + "hid":64, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2816", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2816", - "parent":61, + "parent":63, "children":[ ], "name":"Clamping_circuit", @@ -3608,11 +3645,11 @@ ":9721:2819", ":9721:2818", ":9721:2831", - ":9721:2839", - ":9721:2841", ":9721:2837", - ":9721:2836", + ":9721:2841", + ":9721:2839", ":9721:2840", + ":9721:2836", ":9721:2843", ":9721:2838", ":9721:2843#out:1", @@ -3628,10 +3665,10 @@ "sameAsElement":true }, { - "hid":63, + "hid":65, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2779", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2779", - "parent":61, + "parent":63, "children":[ ], "name":"Integrator", @@ -3642,10 +3679,10 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2779_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2779_d.json", "elements":[ - ":9721:2788", - ":9721:2787", ":9721:2790", + ":9721:2788", ":9721:2789", + ":9721:2787", ":9721:2786", ":9721:2787#out:1", ":9721:2789#out:1", @@ -3655,10 +3692,10 @@ "sameAsElement":true }, { - "hid":64, + "hid":66, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", - "parent":61, + "parent":63, "children":[ ], "name":"Saturation_hit", @@ -3670,15 +3707,15 @@ "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9721_2791_d.json", "elements":[ ":9721:2791:2710", - ":9721:2791:2377", - ":9721:2791:2709", - ":9721:2791:2704", ":9721:2791:2848", - ":9721:2791:2849", - ":9721:2791:2701", ":9721:2791:2707", + ":9721:2791:2704", + ":9721:2791:2701", + ":9721:2791:2709", ":9721:2791:2700", + ":9721:2791:2377", ":9721:2791:2699", + ":9721:2791:2849", ":9721:2791:2849#out:1", ":9721:2791:2701#out:1", ":9721:2791:2704#out:1", @@ -3690,10 +3727,10 @@ "sameAsElement":true }, { - "hid":65, + "hid":67, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9164", - "parent":60, + "parent":62, "children":[ ], "name":"Saturation Dynamic", @@ -3725,12 +3762,12 @@ "sameAsElement":true }, { - "hid":66, + "hid":68, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "parent":29, + "parent":35, "children":[ - 67 + 69 ], "name":"Voltage_Mode", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Oriented_Control/Voltage_Mode", @@ -3740,26 +3777,26 @@ "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.png", "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9171_d.json", "elements":[ - ":9191", - ":9185", ":9189", - ":9182", - ":9190", - ":9181", + ":9187", + ":9184", + ":9185", ":9180", + ":9177", + ":9179", + ":9182", ":9176", - ":9187", - ":9178", ":9183", - ":9177", - ":9186", + ":9181", ":9175", + ":9190", ":9174", - ":9184", + ":9191", + ":9178", ":9188", ":9173", - ":9179", ":9172", + ":9186", ":9172#out:1", ":9181#out:1", ":9179#out:1", @@ -3777,10 +3814,10 @@ "sameAsElement":true }, { - "hid":67, + "hid":69, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9188", - "parent":66, + "parent":68, "children":[ ], "name":"Saturation Dynamic1", @@ -3812,11 +3849,14 @@ "sameAsElement":true }, { - "hid":68, + "hid":70, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "parent":2, "children":[ + 71, + 72, + 75 ], "name":"F05_Control_Type_Management", "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Control_Type_Management", @@ -3837,42 +3877,57 @@ ":9219", ":9220", ":9212", - ":9232", - ":9216", - ":9217", - ":9218", - ":9211", - ":9234", - ":9236", ":9208", ":9202", ":9228", - ":9203", - ":9229", - ":9204", - ":9230", ":9231", ":9205", ":9213", - ":9209", ":9199", ":9223", ":9455", + ":9840", + ":9233", ":9449", ":9235", + ":9914", + ":9833", + ":9925", + ":9227", ":9225", - ":9233", - ":9454", + ":9926", ":9452", + ":9927", + ":9454", + ":9917", + ":9929", + ":9908", + ":9831", + ":9832", + ":9920", + ":9842", + ":9924", + ":8216", + ":9838", + ":9834", + ":9207", ":9215", - ":9214", - ":9453", - ":9210", + ":9915", + ":9916", + ":9923", + ":9922", + ":9921", ":9206", - ":9227", - ":9207", + ":9835", + ":9904", + ":9214", + ":9839", + ":9928", ":9201", + ":9741", ":9451", + ":9836", + ":9919", ":9208#out:3", ":9208#out:2", ":9208#out:1", @@ -3880,20 +3935,9 @@ ":9212#out:1", ":9220#out:1", ":9219#out:1", - ":9211#out:1", - ":9234#out:1", ":9202#out:1", - ":9203#out:1", - ":9204#out:1", ":9205#out:1", - ":9216#out:1", - ":9217#out:1", - ":9218#out:1", - ":9236#out:1", - ":9209#out:1", ":9199#out:1", - ":9232#out:1", - ":9210#out:1", ":9214#out:1", ":9207#out:1", ":9233#out:1", @@ -3901,15 +3945,274 @@ ":9201#out:1", ":9235#out:1", ":9449#out:1", - ":9453#out:1", ":9454#out:1", ":9213#out:1", - ":9215#out:1" + ":9215#out:1", + ":8216#out:1", + ":9834#out:1", + ":9832#out:1", + ":9835#out:1", + ":9831#out:1", + ":9839#out:1", + ":9838#out:1", + ":9908#out:1", + ":9833#out:3", + ":9904#out:1", + ":9914#out:1", + ":9915#out:1", + ":9916#out:1", + ":9917#out:1", + ":9836#out:1", + ":9833#out:2", + ":9741#out:1", + ":9842#out:1", + ":9833#out:1", + ":9840#out:1", + ":9919#out:1", + ":9920#out:1", + ":9921#out:1", + ":9922#out:1", + ":9923#out:1", + ":9927#out:1", + ":9928#out:1", + ":9929#out:1" ], "sameAsElement":true }, { - "hid":69, + "hid":71, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9904", + "parent":70, + "children":[ + ], + "name":"F05_00_COM_Method", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Control_Type_Management/F05_00_COM_Method", + "label":"F05_00_COM_Method", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9904_d.json", + "elements":[ + ":9907", + ":9906", + ":9236", + ":9912", + ":9453", + ":9211", + ":9913", + ":9209", + ":9911", + ":9910", + ":9823", + ":9909", + ":9209#out:1", + ":9211#out:1", + ":9236#out:1", + ":9453#out:1", + ":9909#out:1", + ":9910#out:1", + ":9913#out:1" + ], + "sameAsElement":true + }, + { + "hid":72, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9741", + "parent":70, + "children":[ + 73 + ], + "name":"F05_01_SIN_Method", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Control_Type_Management/F05_01_SIN_Method", + "label":"F05_01_SIN_Method", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9741_d.json", + "elements":[ + ":9786", + ":9783", + ":9780", + ":9781", + ":9782", + ":9779", + ":9742", + ":9743", + ":9828", + ":9802", + ":9801", + ":9818", + ":9800", + ":9810", + ":9799", + ":9819", + ":9804", + ":9803", + ":9805", + ":9798", + ":9816", + ":9797", + ":9820", + ":9795", + ":9806", + ":9796", + ":9779#out:1", + ":9828#out:1", + ":9743#out:1", + ":9795#out:1", + ":9798#out:1", + ":9797#out:1", + ":9796#out:1", + ":9803#out:1", + ":9804#out:1", + ":9805#out:1", + ":9806#out:1", + ":9810#out:1", + ":9818#out:1", + ":9780#out:1", + ":9781#out:1", + ":9782#out:1", + ":9819#out:1", + ":9816#out:1" + ], + "sameAsElement":true + }, + { + "hid":73, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9743", + "parent":72, + "children":[ + 74 + ], + "name":"Phase_Advance_Calculation", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Control_Type_Management/F05_01_SIN_Method/Phase_Advance_Calculation", + "label":"Phase_Advance_Calculation", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9743_d.json", + "elements":[ + ":9777", + ":9778", + ":9745", + ":9757", + ":9776", + ":9749", + ":9768", + ":9765", + ":9752", + ":9753", + ":9754", + ":9770", + ":9773", + ":9775", + ":9751", + ":9744", + ":9761", + ":9762", + ":9772", + ":9769", + ":9755", + ":9766", + ":9756", + ":9759", + ":9760", + ":9792", + ":10035", + ":9758", + ":9791", + ":9787", + ":9794", + ":9746", + ":9747", + ":9793", + ":9788", + ":9773#out:1", + ":9756#out:1", + ":9745#out:1", + ":9765#out:1", + ":9749#out:1", + ":9754#out:1", + ":9775#out:2", + ":9775#out:1", + ":9744#out:1", + ":9746#out:1", + ":9747#out:1", + ":9791#out:1", + ":9792#out:1", + ":9787#out:1", + ":9788#out:1", + ":9794#out:1", + ":9793#out:1", + ":9769#out:1", + ":9772#out:1", + ":10035#out:1", + ":9766#out:1", + ":9755#out:1", + ":9752#out:1", + ":9751#out:1", + ":9770#out:1", + ":9753#out:1" + ], + "sameAsElement":true + }, + { + "hid":74, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:10035", + "parent":73, + "children":[ + ], + "name":"Modulo_fixdt", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Control_Type_Management/F05_01_SIN_Method/Phase_Advance_Calculation/Modulo_fixdt", + "label":"Modulo_fixdt", + "icon":"WebViewIcon9", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_10035_d.json", + "elements":[ + ":10035:576", + ":10035:572", + ":10035:574", + ":10035:573", + ":10035:570", + ":10035:571", + ":10035:575", + ":10035:572#out:1", + ":10035:571#out:1", + ":10035:573#out:1", + ":10035:574#out:1", + ":10035:570#out:1" + ], + "sameAsElement":true + }, + { + "hid":75, + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9842", + "parent":70, + "children":[ + ], + "name":"F05_02_FOC_Method", + "fullname":"BLDCmotorControl_FOC_R2017b_fixdt/BLDC_controller/F05_Control_Type_Management/F05_02_FOC_Method", + "label":"F05_02_FOC_Method", + "icon":"WebViewIcon1", + "svg":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.svg", + "thumbnail":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.png", + "backingUrl":"support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_9842_d.json", + "elements":[ + ":9902", + ":9847", + ":9843", + ":9843#out:1" + ], + "sameAsElement":true + }, + { + "hid":76, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9292", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9292", "parent":2, @@ -3927,7 +4230,7 @@ "sameAsElement":true }, { - "hid":70, + "hid":77, "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9293", "esid":"BLDCmotorControl_FOC_R2017b_fixdt:9293", "parent":2, diff --git a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_m.json b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_m.json index fc9793e..ac77537 100644 --- a/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_m.json +++ b/01_Matlab/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotorControl_FOC_R2017b_fixdt_m.json @@ -194,11 +194,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8225", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F01_01_Input_Scaling", - "label":"F01_01_Input_Scaling", + "name":"F01_01_Edge_Detector", + "label":"F01_01_Edge_Detector", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -291,12 +291,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9337", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Commutation_Control_Type", - "label":"Commutation_Control_Type", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"F01_02_Position_Calculation", + "label":"F01_02_Position_Calculation", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "ShowPortLabels", @@ -347,7 +347,7 @@ "void_void", "off", "off", - "off", + "on", "", "off", "", @@ -388,12 +388,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9341", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"FOC_Control_Type", - "label":"FOC_Control_Type", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9333", + "name":"F01_03_Direction_Detection", + "label":"F01_03_Direction_Detection", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ "ShowPortLabels", @@ -485,11 +485,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8225", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F01_02_Edge_Detector", - "label":"F01_02_Edge_Detector", + "name":"F01_04_Speed_Estimation", + "label":"F01_04_Speed_Estimation", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -582,12 +582,70 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8235", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Counter", + "label":"Counter", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "z_cntInit" + ], + "values":[ + "z_maxCntRst" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"rst_Delay", + "label":"rst_Delay", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", + "inspector":{ + "params":[ + "initVal" + ], + "values":[ + "z_cntInit" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8314", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F01_03_Position_Calculation", - "label":"F01_03_Position_Calculation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "name":"Raw_Motor_Speed_Estimation", + "label":"Raw_Motor_Speed_Estimation", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "ShowPortLabels", @@ -638,7 +696,7 @@ "void_void", "off", "off", - "on", + "off", "", "off", "", @@ -679,11 +737,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8247", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F01_04_Direction_Detection", - "label":"F01_04_Direction_Detection", + "name":"F01_05_Electrical_Angle_Estimation", + "label":"F01_05_Electrical_Angle_Estimation", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -735,7 +793,7 @@ "void_void", "off", "off", - "off", + "on", "", "off", "", @@ -776,12 +834,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F01_05_Speed_Estimation", - "label":"F01_05_Speed_Estimation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "name":"F02_Diagnostics", + "label":"F02_Diagnostics", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", @@ -832,7 +890,7 @@ "void_void", "off", "off", - "on", + "off", "", "off", "", @@ -873,70 +931,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "z_cntInit" - ], - "values":[ - "z_maxCntRst" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8272:2515", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", - "name":"rst_Delay", - "label":"rst_Delay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8272", - "inspector":{ - "params":[ - "initVal" - ], - "values":[ - "z_cntInit" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8314", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Raw_Motor_Speed_Estimation", - "label":"Raw_Motor_Speed_Estimation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8263", + "name":"Debounce_Filter", + "label":"Debounce_Filter", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "ShowPortLabels", @@ -978,7 +978,7 @@ "ReadWrite", "", "All", - "off", + "on", "on", "", "", @@ -994,7 +994,7 @@ "off", "off", "", - "Auto", + "Use subsystem name", "", "Auto", "Inherit from model", @@ -1002,7 +1002,7 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", + "Reusable function", "-1", "", "off", @@ -1028,12 +1028,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8384", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F01_06_Electrical_Angle_Estimation", - "label":"F01_06_Electrical_Angle_Estimation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8220", + "name":"Default", + "label":"Default", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "ShowPortLabels", @@ -1084,7 +1084,7 @@ "void_void", "off", "off", - "on", + "off", "", "off", "", @@ -1125,12 +1125,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F02_Diagnostics", - "label":"F02_Diagnostics", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Dequalification", + "label":"Dequalification", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "ShowPortLabels", @@ -1222,12 +1222,70 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", "className":"Simulink.SubSystem", "icon":"WebViewIcon4", - "name":"Debounce_Filter", - "label":"Debounce_Filter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "name":"Counter", + "label":"Counter", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", + "inspector":{ + "params":[ + "z_cntInit" + ], + "values":[ + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"rst_Delay", + "label":"rst_Delay", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", + "inspector":{ + "params":[ + "initVal" + ], + "values":[ + "z_cntInit" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Qualification", + "label":"Qualification", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", "inspector":{ "params":[ "ShowPortLabels", @@ -1269,7 +1327,7 @@ "ReadWrite", "", "All", - "on", + "off", "on", "", "", @@ -1285,7 +1343,7 @@ "off", "off", "", - "Use subsystem name", + "Auto", "", "Auto", "Inherit from model", @@ -1293,7 +1351,7 @@ "Inherit from model", "Inherit from model", "Inherit from model", - "Reusable function", + "Auto", "-1", "", "off", @@ -1319,13 +1377,71 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2423", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Default", - "label":"Default", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", - "inspector":{ + "icon":"WebViewIcon4", + "name":"Counter", + "label":"Counter", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "inspector":{ + "params":[ + "z_cntInit" + ], + "values":[ + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"rst_Delay", + "label":"rst_Delay", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", + "inspector":{ + "params":[ + "initVal" + ], + "values":[ + "z_cntInit" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", + "className":"Either edge detection", + "icon":"WebViewIcon4", + "name":"either_edge", + "label":"either_edge", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "inspector":{ "params":[ "ShowPortLabels", "Permissions", @@ -1366,7 +1482,7 @@ "ReadWrite", "", "All", - "off", + "on", "on", "", "", @@ -1412,16 +1528,16 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"" + "masktype":"Either edge detection" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Dequalification", - "label":"Dequalification", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519", + "className":"Either edge detection", + "icon":"WebViewIcon4", + "name":"either_edge", + "label":"either_edge", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ "ShowPortLabels", @@ -1463,7 +1579,7 @@ "ReadWrite", "", "All", - "off", + "on", "on", "", "", @@ -1509,74 +1625,16 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2428", - "inspector":{ - "params":[ - "z_cntInit" - ], - "values":[ - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435:2515", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"rst_Delay", - "label":"rst_Delay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2435", - "inspector":{ - "params":[ - "initVal" - ], - "values":[ - "z_cntInit" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" + "masktype":"Either edge detection" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Qualification", - "label":"Qualification", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "name":"F03_Control_Mode_Manager", + "label":"F03_Control_Mode_Manager", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", @@ -1627,7 +1685,7 @@ "void_void", "off", "off", - "off", + "on", "", "off", "", @@ -1668,70 +1726,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2473", - "inspector":{ - "params":[ - "z_cntInit" - ], - "values":[ - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480:2515", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"rst_Delay", - "label":"rst_Delay", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2480", - "inspector":{ - "params":[ - "initVal" - ], - "values":[ - "z_cntInit" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8486:2507", - "className":"Either edge detection", - "icon":"WebViewIcon4", - "name":"either_edge", - "label":"either_edge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8486", + "icon":"WebViewIcon1", + "name":"F03_01_Mode_Transition_Calculation", + "label":"F03_01_Mode_Transition_Calculation", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ "ShowPortLabels", @@ -1773,7 +1773,7 @@ "ReadWrite", "", "All", - "on", + "off", "on", "", "", @@ -1782,7 +1782,7 @@ "void_void", "off", "off", - "off", + "on", "", "off", "", @@ -1819,37 +1819,96 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"Either edge detection" + "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8519", - "className":"Either edge detection", - "icon":"WebViewIcon4", - "name":"either_edge", - "label":"either_edge", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8469", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603", + "className":"Stateflow.Chart", + "icon":"WebViewIcon6", + "name":"F03_02_Control_Mode_Manager", + "label":"F03_02_Control_Mode_Manager", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "ErrorFcn", - "PermitHierarchicalResolution", - "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "MinAlgLoopOccurrences", - "OverrideUsingVariant", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", + "ActionLanguage", + "StateMachineType", + "ChartUpdate", + "AllowGlobalAccessToExportedFunctions", + "ExecuteAtInitialization", + "InitializeOutput", + "EnableNonTerminalStates", + "supportVariableSizing", + "SaturateOnIntegerOverflow", + "HasOutputData", + "EmlDefaultFimath", + "TreatAsFi", + "Description", + "Document" + ], + "values":[ + "MATLAB", + "Classic", + "INHERITED", + false, + false, + false, + false, + true, + true, + false, + "Same as MATLAB Default", + "Fixed-point", + "", + "" + ], + "tabs":[ + "General", + "Fixed-point properties", + "Documentation" + ], + "tabs_idx":[ + 0, + 10, + 12 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F03_03_Input_Target_Synthesis", + "label":"F03_03_Input_Target_Synthesis", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", "RTWFcnName", "RTWFcnNameOpts", "RTWFileName", @@ -1870,7 +1929,104 @@ "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/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9988", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Default_Control_Type", + "label":"Default_Control_Type", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "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", "", "", @@ -1916,16 +2072,16 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"Either edge detection" + "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10007", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F03_Control_Mode_Manager", - "label":"F03_Control_Mode_Manager", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"Default_Mode", + "label":"Default_Mode", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", "inspector":{ "params":[ "ShowPortLabels", @@ -1963,47 +2119,402 @@ "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", - "", + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9957", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"FOC_Control_Type", + "label":"FOC_Control_Type", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Open_Mode", + "label":"Open_Mode", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9953", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon9", + "name":"Rate_Limiter", + "label":"Rate_Limiter", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", + "inspector":{ + "params":[ + "ShowPortLabels", + "BlockChoice", + "TemplateBlock", + "MemberBlocks", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "MinAlgLoopOccurrences", + "PropExecContextOutsideSubsystem", + "SystemSampleTime", + "RTWSystemCode", + "RTWFcnNameOpts", + "RTWFcnName", + "RTWFileNameOpts", + "RTWFileName", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "RTWMemSecFuncInitTerm", + "RTWMemSecFuncExecute", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "IsSubsystemVirtual", + "Variant", + "VariantControl", + "OverrideUsingVariant", + "GeneratePreprocessorConditionals", + "AllowZeroVariantControls", + "PropagateVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "TreatAsGroupedWhenPropagatingVariantConditions" + ], + "values":[ + "FromPortIcon", + "", + "", + "", + "ReadWrite", + "", + "All", + "on", + "off", + "off", + "-1", + "Auto", + "Use subsystem name", + "", + "Auto", + "", + "void_void", + "off", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "off", + "off", + "", + "", + "off", + "off", + "off", + "", + "", + "on" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2342", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Delay_Init1", + "label":"Delay_Init1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "inspector":{ + "params":[ + "initVal" + ], + "values":[ + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9948:2395", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9948", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", "off", - "" + "Floor", + "off" ], "tabs":[ - "Main", - "-Other" ], "tabs_idx":[ - 0, - 6 ] }, "viewer":{ @@ -2013,16 +2524,16 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"" + "masktype":"Saturation Dynamic" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8546", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F03_01_Mode_Transition_Calculation", - "label":"F03_01_Mode_Transition_Calculation", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9950", + "className":"Rising edge init", + "icon":"WebViewIcon4", + "name":"rising_edge_init", + "label":"rising_edge_init", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9937", "inspector":{ "params":[ "ShowPortLabels", @@ -2064,7 +2575,7 @@ "ReadWrite", "", "All", - "off", + "on", "on", "", "", @@ -2073,7 +2584,7 @@ "void_void", "off", "off", - "on", + "off", "", "off", "", @@ -2110,68 +2621,9 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"" + "masktype":"Rising edge init" } }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8603", - "className":"Stateflow.Chart", - "icon":"WebViewIcon6", - "name":"F03_02_Control_Mode_Manager", - "label":"F03_02_Control_Mode_Manager", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8535", - "inspector":{ - "params":[ - "ActionLanguage", - "StateMachineType", - "ChartUpdate", - "AllowGlobalAccessToExportedFunctions", - "ExecuteAtInitialization", - "InitializeOutput", - "EnableNonTerminalStates", - "supportVariableSizing", - "SaturateOnIntegerOverflow", - "HasOutputData", - "EmlDefaultFimath", - "TreatAsFi", - "Description", - "Document" - ], - "values":[ - "MATLAB", - "Classic", - "INHERITED", - false, - false, - false, - false, - true, - true, - false, - "Same as MATLAB Default", - "Fixed-point", - "", - "" - ], - "tabs":[ - "General", - "Fixed-point properties", - "Documentation" - ], - "tabs_idx":[ - 0, - 10, - 12 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "className":"Simulink.SubSystem", @@ -3117,15 +3569,151 @@ "-1", "", "off", - "" + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8924", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Current_Limit_Protection", + "label":"Current_Limit_Protection", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8930", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8924", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" ], "tabs":[ - "Main", - "-Other" ], "tabs_idx":[ - 0, - 6 ] }, "viewer":{ @@ -3135,15 +3723,15 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"" + "masktype":"Saturation Dynamic" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8924", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8987", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Current_Limit_Protection", - "label":"Current_Limit_Protection", + "name":"Speed_Limit_Protection", + "label":"Speed_Limit_Protection", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -3236,12 +3824,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8930", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8993", "className":"Saturation Dynamic", "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8924", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8987", "inspector":{ "params":[ "OutMin", @@ -3275,12 +3863,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8987", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9029", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Speed_Limit_Protection", - "label":"Speed_Limit_Protection", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8913", + "name":"Open_Mode", + "label":"Open_Mode", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", @@ -3372,32 +3960,90 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:8993", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8987", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Park_Transform", + "label":"Park_Transform", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" + "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":[ - "[]", - "[]", - "Inherit: Same as second input", + "FromPortIcon", + "ReadWrite", + "", + "All", "off", - "Floor", - "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":{ @@ -3407,15 +4053,15 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" + "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9029", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Open_Mode", - "label":"Open_Mode", + "name":"Speed_Mode", + "label":"Speed_Mode", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3508,12 +4154,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "className":"Simulink.SubSystem", "icon":"WebViewIcon9", - "name":"Rate_Limiter", - "label":"Rate_Limiter", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", + "name":"PI_clamp_fixdt_n", + "label":"PI_clamp_fixdt_n", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", "inspector":{ "params":[ "ShowPortLabels", @@ -3562,7 +4208,7 @@ "off", "off", "-1", - "Auto", + "Reusable function", "Use subsystem name", "", "Auto", @@ -3601,61 +4247,90 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2342", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2816", "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Delay_Init1", - "label":"Delay_Init1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", - "inspector":{ - "params":[ - "initVal" - ], - "values":[ - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9040:2395", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9040", + "icon":"WebViewIcon1", + "name":"Clamping_circuit", + "label":"Clamping_circuit", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" + "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":[ - "[]", - "[]", - "Inherit: Same as second input", + "FromPortIcon", + "ReadWrite", + "", + "All", "off", - "Floor", - "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":{ @@ -3665,16 +4340,16 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" + "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9042", - "className":"Rising edge init", - "icon":"WebViewIcon4", - "name":"rising_edge_init", - "label":"rising_edge_init", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9029", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2779", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ "ShowPortLabels", @@ -3716,7 +4391,7 @@ "ReadWrite", "", "All", - "on", + "off", "on", "", "", @@ -3725,7 +4400,7 @@ "void_void", "off", "off", - "off", + "on", "", "off", "", @@ -3762,94 +4437,90 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"Rising edge init" + "masktype":"" } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9045", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791", "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Park_Transform", - "label":"Park_Transform", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "icon":"WebViewIcon9", + "name":"Saturation_hit", + "label":"Saturation_hit", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", "inspector":{ "params":[ "ShowPortLabels", + "BlockChoice", + "TemplateBlock", + "MemberBlocks", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "TreatAsGroupedWhenPropagatingVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", "MinAlgLoopOccurrences", - "OverrideUsingVariant", "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", + "SystemSampleTime", + "RTWSystemCode", "RTWFcnNameOpts", - "RTWFileName", + "RTWFcnName", "RTWFileNameOpts", + "RTWFileName", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "RTWMemSecFuncInitTerm", + "RTWMemSecFuncExecute", "RTWMemSecDataConstants", "RTWMemSecDataInternal", "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "RTWSystemCode", - "SystemSampleTime", - "TemplateBlock", + "IsSubsystemVirtual", "Variant", - "VariantControl" + "VariantControl", + "OverrideUsingVariant", + "GeneratePreprocessorConditionals", + "AllowZeroVariantControls", + "PropagateVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "TreatAsGroupedWhenPropagatingVariantConditions" ], "values":[ "FromPortIcon", - "ReadWrite", - "", - "All", - "off", - "on", "", "", - "off", "", - "void_void", - "off", - "off", - "on", + "ReadWrite", "", + "All", "off", - "", "off", "off", - "", + "-1", + "Auto", "Auto", "", "Auto", + "", + "void_void", + "off", "Inherit from model", "Inherit from model", "Inherit from model", "Inherit from model", "Inherit from model", - "Auto", - "-1", + "on", + "off", + "", "", "off", - "" + "off", + "off", + "", + "", + "on" ], "tabs":[ - "Main", - "-Other" ], "tabs_idx":[ - 0, - 6 ] }, "viewer":{ @@ -3863,11 +4534,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9074", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Speed_Mode", - "label":"Speed_Mode", + "name":"Torque_Mode", + "label":"Torque_Mode", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3960,12 +4631,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "className":"Simulink.SubSystem", "icon":"WebViewIcon9", - "name":"PI_clamp_fixdt_n", - "label":"PI_clamp_fixdt_n", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9074", + "name":"PI_clamp_fixdt_iq", + "label":"PI_clamp_fixdt_iq", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", "inspector":{ "params":[ "ShowPortLabels", @@ -4053,12 +4724,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2816", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2816", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Clamping_circuit", "label":"Clamping_circuit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ "ShowPortLabels", @@ -4150,12 +4821,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2779", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2779", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ "ShowPortLabels", @@ -4247,12 +4918,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9728:2791", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791", "className":"Simulink.SubSystem", "icon":"WebViewIcon9", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9728", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", "inspector":{ "params":[ "ShowPortLabels", @@ -4340,11 +5011,50 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9133", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Torque_Mode", - "label":"Torque_Mode", + "name":"Vd_Calculation", + "label":"Vd_Calculation", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4437,12 +5147,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "className":"Simulink.SubSystem", "icon":"WebViewIcon9", - "name":"PI_clamp_fixdt_iq", - "label":"PI_clamp_fixdt_iq", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "name":"PI_clamp_fixdt_id", + "label":"PI_clamp_fixdt_id", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "ShowPortLabels", @@ -4530,12 +5240,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2816", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2816", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Clamping_circuit", "label":"Clamping_circuit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ "ShowPortLabels", @@ -4627,12 +5337,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2779", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2779", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", "name":"Integrator", "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ "ShowPortLabels", @@ -4724,12 +5434,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9729:2791", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", "className":"Simulink.SubSystem", "icon":"WebViewIcon9", "name":"Saturation_hit", "label":"Saturation_hit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9729", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", "inspector":{ "params":[ "ShowPortLabels", @@ -4817,12 +5527,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9133", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164", "className":"Saturation Dynamic", "icon":"WebViewIcon3", "name":"Saturation Dynamic", "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9109", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", "inspector":{ "params":[ "OutMin", @@ -4856,11 +5566,11 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9171", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Vd_Calculation", - "label":"Vd_Calculation", + "name":"Voltage_Mode", + "label":"Voltage_Mode", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4953,86 +5663,129 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" + ], + "values":[ + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", + "off" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", - "name":"PI_clamp_fixdt_id", - "label":"PI_clamp_fixdt_id", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", + "icon":"WebViewIcon1", + "name":"F05_Control_Type_Management", + "label":"F05_Control_Type_Management", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "ShowPortLabels", - "BlockChoice", - "TemplateBlock", - "MemberBlocks", + "ShowPortLabels", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", "MinAlgLoopOccurrences", + "OverrideUsingVariant", "PropExecContextOutsideSubsystem", - "SystemSampleTime", - "RTWSystemCode", - "RTWFcnNameOpts", + "PropagateVariantConditions", "RTWFcnName", - "RTWFileNameOpts", + "RTWFcnNameOpts", "RTWFileName", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "RTWMemSecFuncInitTerm", - "RTWMemSecFuncExecute", + "RTWFileNameOpts", "RTWMemSecDataConstants", "RTWMemSecDataInternal", "RTWMemSecDataParameters", - "IsSubsystemVirtual", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", "Variant", - "VariantControl", - "OverrideUsingVariant", - "GeneratePreprocessorConditionals", - "AllowZeroVariantControls", - "PropagateVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "TreatAsGroupedWhenPropagatingVariantConditions" + "VariantControl" ], "values":[ "FromPortIcon", + "ReadWrite", "", + "All", + "off", + "on", "", "", - "ReadWrite", + "off", "", - "All", + "void_void", + "off", + "off", "on", + "", + "off", + "", "off", "off", - "-1", - "Reusable function", - "Use subsystem name", "", "Auto", "", - "void_void", - "off", + "Auto", "Inherit from model", "Inherit from model", "Inherit from model", "Inherit from model", "Inherit from model", - "off", - "off", - "", + "Auto", + "-1", "", "off", - "off", - "off", - "", - "", - "on" + "" ], "tabs":[ + "Main", + "-Other" ], "tabs_idx":[ + 0, + 6 ] }, "viewer":{ @@ -5046,12 +5799,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2816", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9904", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Clamping_circuit", - "label":"Clamping_circuit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", + "name":"F05_00_COM_Method", + "label":"F05_00_COM_Method", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "ShowPortLabels", @@ -5102,7 +5855,7 @@ "void_void", "off", "off", - "on", + "off", "", "off", "", @@ -5143,12 +5896,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2779", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9741", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", + "name":"F05_01_SIN_Method", + "label":"F05_01_SIN_Method", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "ShowPortLabels", @@ -5199,7 +5952,7 @@ "void_void", "off", "off", - "on", + "off", "", "off", "", @@ -5240,86 +5993,90 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9721:2791", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9743", "className":"Simulink.SubSystem", - "icon":"WebViewIcon9", - "name":"Saturation_hit", - "label":"Saturation_hit", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9721", + "icon":"WebViewIcon1", + "name":"Phase_Advance_Calculation", + "label":"Phase_Advance_Calculation", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9741", "inspector":{ "params":[ "ShowPortLabels", - "BlockChoice", - "TemplateBlock", - "MemberBlocks", "Permissions", "ErrorFcn", "PermitHierarchicalResolution", "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", "MinAlgLoopOccurrences", + "OverrideUsingVariant", "PropExecContextOutsideSubsystem", - "SystemSampleTime", - "RTWSystemCode", - "RTWFcnNameOpts", + "PropagateVariantConditions", "RTWFcnName", - "RTWFileNameOpts", + "RTWFcnNameOpts", "RTWFileName", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "RTWMemSecFuncInitTerm", - "RTWMemSecFuncExecute", + "RTWFileNameOpts", "RTWMemSecDataConstants", "RTWMemSecDataInternal", "RTWMemSecDataParameters", - "IsSubsystemVirtual", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", "Variant", - "VariantControl", - "OverrideUsingVariant", - "GeneratePreprocessorConditionals", - "AllowZeroVariantControls", - "PropagateVariantConditions", - "ActiveVariant", - "ActiveVariantBlock", - "TreatAsGroupedWhenPropagatingVariantConditions" + "VariantControl" ], "values":[ "FromPortIcon", + "ReadWrite", "", + "All", + "off", + "on", "", "", - "ReadWrite", + "off", "", - "All", + "void_void", "off", "off", + "on", + "", + "off", + "", + "off", "off", - "-1", - "Auto", - "Auto", "", "Auto", "", - "void_void", - "off", + "Auto", "Inherit from model", "Inherit from model", "Inherit from model", "Inherit from model", "Inherit from model", - "on", - "off", - "", + "Auto", + "-1", "", "off", - "off", - "off", - "", - "", - "on" + "" ], "tabs":[ + "Main", + "-Other" ], "tabs_idx":[ + 0, + 6 ] }, "viewer":{ @@ -5333,51 +6090,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9164", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9143", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9171", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Voltage_Mode", - "label":"Voltage_Mode", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:8658", + "icon":"WebViewIcon9", + "name":"Modulo_fixdt", + "label":"Modulo_fixdt", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9743", "inspector":{ "params":[ "ShowPortLabels", @@ -5428,7 +6146,7 @@ "void_void", "off", "off", - "off", + "on", "", "off", "", @@ -5469,51 +6187,12 @@ } }, { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9188", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9171", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" - ], - "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9198", + "sid":"BLDCmotorControl_FOC_R2017b_fixdt:9842", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F05_Control_Type_Management", - "label":"F05_Control_Type_Management", - "parent":"BLDCmotorControl_FOC_R2017b_fixdt:29", + "name":"F05_02_FOC_Method", + "label":"F05_02_FOC_Method", + "parent":"BLDCmotorControl_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ "ShowPortLabels", @@ -5564,7 +6243,7 @@ "void_void", "off", "off", - "on", + "off", "", "off", "",