diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.png deleted file mode 100644 index c03ac42..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png deleted file mode 100644 index 4e6c357..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.png deleted file mode 100644 index f826c50..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png deleted file mode 100644 index b7b0a5d..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png deleted file mode 100644 index f3c0748..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png deleted file mode 100644 index 20e7b01..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.png deleted file mode 100644 index a27f23b..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.png deleted file mode 100644 index eb24182..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.png deleted file mode 100644 index 88c837d..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.png deleted file mode 100644 index 6d715c5..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.png deleted file mode 100644 index ec94684..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.png deleted file mode 100644 index 3e826a6..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.png deleted file mode 100644 index 2730ce2..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.png deleted file mode 100644 index 3f3bd2f..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.png deleted file mode 100644 index 9e0ed1e..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.png deleted file mode 100644 index e98cec8..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.png deleted file mode 100644 index b6b9a9b..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.png deleted file mode 100644 index 4027f04..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.png deleted file mode 100644 index dde7b4c..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.png deleted file mode 100644 index 345e198..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.png deleted file mode 100644 index b613026..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.png deleted file mode 100644 index 80a2051..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.png deleted file mode 100644 index bd65093..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.png deleted file mode 100644 index b332c34..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.png deleted file mode 100644 index 94135cb..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.png deleted file mode 100644 index 0e2c51f..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.png deleted file mode 100644 index fbe1b1a..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.png deleted file mode 100644 index d49957a..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.png deleted file mode 100644 index ca93ab7..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.png deleted file mode 100644 index cf28ff3..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.png b/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.png deleted file mode 100644 index 28d8fc8..0000000 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.png and /dev/null differ diff --git a/BLDC_controller_ert_rtw/html/webview/webview.html b/index.html similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/webview.html rename to index.html diff --git a/BLDC_controller_ert_rtw/html/webview/stylesheets/combined.css b/stylesheets/combined.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/stylesheets/combined.css rename to stylesheets/combined.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/LICENSE b/support/lib/dgrid/LICENSE similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/LICENSE rename to support/lib/dgrid/LICENSE diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/TouchScroll.css b/support/lib/dgrid/css/TouchScroll.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/TouchScroll.css rename to support/lib/dgrid/css/TouchScroll.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/columnset.css b/support/lib/dgrid/css/columnset.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/columnset.css rename to support/lib/dgrid/css/columnset.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/dgrid.css b/support/lib/dgrid/css/dgrid.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/dgrid.css rename to support/lib/dgrid/css/dgrid.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/dgrid_rtl.css b/support/lib/dgrid/css/dgrid_rtl.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/dgrid_rtl.css rename to support/lib/dgrid/css/dgrid_rtl.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/extensions/ColumnHider.css b/support/lib/dgrid/css/extensions/ColumnHider.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/extensions/ColumnHider.css rename to support/lib/dgrid/css/extensions/ColumnHider.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/extensions/ColumnReorder.css b/support/lib/dgrid/css/extensions/ColumnReorder.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/extensions/ColumnReorder.css rename to support/lib/dgrid/css/extensions/ColumnReorder.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/extensions/ColumnResizer.css b/support/lib/dgrid/css/extensions/ColumnResizer.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/extensions/ColumnResizer.css rename to support/lib/dgrid/css/extensions/ColumnResizer.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/extensions/CompoundColumns.css b/support/lib/dgrid/css/extensions/CompoundColumns.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/extensions/CompoundColumns.css rename to support/lib/dgrid/css/extensions/CompoundColumns.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/extensions/Pagination.css b/support/lib/dgrid/css/extensions/Pagination.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/extensions/Pagination.css rename to support/lib/dgrid/css/extensions/Pagination.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/images/ui-icons_222222_256x240.png b/support/lib/dgrid/css/images/ui-icons_222222_256x240.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/images/ui-icons_222222_256x240.png rename to support/lib/dgrid/css/images/ui-icons_222222_256x240.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/images/ui-icons_ffffff_256x240.png b/support/lib/dgrid/css/images/ui-icons_ffffff_256x240.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/images/ui-icons_ffffff_256x240.png rename to support/lib/dgrid/css/images/ui-icons_ffffff_256x240.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/cactus.css b/support/lib/dgrid/css/skins/cactus.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/cactus.css rename to support/lib/dgrid/css/skins/cactus.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/claro.css b/support/lib/dgrid/css/skins/claro.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/claro.css rename to support/lib/dgrid/css/skins/claro.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/images/row_back.png b/support/lib/dgrid/css/skins/images/row_back.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/images/row_back.png rename to support/lib/dgrid/css/skins/images/row_back.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/nihilo.css b/support/lib/dgrid/css/skins/nihilo.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/nihilo.css rename to support/lib/dgrid/css/skins/nihilo.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/sage.css b/support/lib/dgrid/css/skins/sage.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/sage.css rename to support/lib/dgrid/css/skins/sage.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/slate.css b/support/lib/dgrid/css/skins/slate.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/slate.css rename to support/lib/dgrid/css/skins/slate.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/soria.css b/support/lib/dgrid/css/skins/soria.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/soria.css rename to support/lib/dgrid/css/skins/soria.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/squid.css b/support/lib/dgrid/css/skins/squid.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/squid.css rename to support/lib/dgrid/css/skins/squid.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/tundra.css b/support/lib/dgrid/css/skins/tundra.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dgrid/css/skins/tundra.css rename to support/lib/dgrid/css/skins/tundra.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/LICENSE b/support/lib/dijit/LICENSE similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/LICENSE rename to support/lib/dijit/LICENSE diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActDisabled.png b/support/lib/dijit/icons/images/commonIconsObjActDisabled.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActDisabled.png rename to support/lib/dijit/icons/images/commonIconsObjActDisabled.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActDisabled_rtl.png b/support/lib/dijit/icons/images/commonIconsObjActDisabled_rtl.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActDisabled_rtl.png rename to support/lib/dijit/icons/images/commonIconsObjActDisabled_rtl.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActEnabled.png b/support/lib/dijit/icons/images/commonIconsObjActEnabled.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActEnabled.png rename to support/lib/dijit/icons/images/commonIconsObjActEnabled.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActEnabled8bit.png b/support/lib/dijit/icons/images/commonIconsObjActEnabled8bit.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActEnabled8bit.png rename to support/lib/dijit/icons/images/commonIconsObjActEnabled8bit.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActEnabled8bit_rtl.png b/support/lib/dijit/icons/images/commonIconsObjActEnabled8bit_rtl.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActEnabled8bit_rtl.png rename to support/lib/dijit/icons/images/commonIconsObjActEnabled8bit_rtl.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActEnabled_rtl.png b/support/lib/dijit/icons/images/commonIconsObjActEnabled_rtl.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/commonIconsObjActEnabled_rtl.png rename to support/lib/dijit/icons/images/commonIconsObjActEnabled_rtl.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/editorIconsDisabled.png b/support/lib/dijit/icons/images/editorIconsDisabled.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/editorIconsDisabled.png rename to support/lib/dijit/icons/images/editorIconsDisabled.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/editorIconsDisabled_rtl.png b/support/lib/dijit/icons/images/editorIconsDisabled_rtl.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/editorIconsDisabled_rtl.png rename to support/lib/dijit/icons/images/editorIconsDisabled_rtl.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/editorIconsEnabled.png b/support/lib/dijit/icons/images/editorIconsEnabled.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/editorIconsEnabled.png rename to support/lib/dijit/icons/images/editorIconsEnabled.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/editorIconsEnabled_rtl.png b/support/lib/dijit/icons/images/editorIconsEnabled_rtl.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/editorIconsEnabled_rtl.png rename to support/lib/dijit/icons/images/editorIconsEnabled_rtl.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/loadingAnimation.gif b/support/lib/dijit/icons/images/loadingAnimation.gif similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/loadingAnimation.gif rename to support/lib/dijit/icons/images/loadingAnimation.gif diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/loadingAnimation_rtl.gif b/support/lib/dijit/icons/images/loadingAnimation_rtl.gif similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/icons/images/loadingAnimation_rtl.gif rename to support/lib/dijit/icons/images/loadingAnimation_rtl.gif diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ar/common.js b/support/lib/dijit/nls/ar/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ar/common.js rename to support/lib/dijit/nls/ar/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ar/loading.js b/support/lib/dijit/nls/ar/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ar/loading.js rename to support/lib/dijit/nls/ar/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/az/common.js b/support/lib/dijit/nls/az/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/az/common.js rename to support/lib/dijit/nls/az/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/az/loading.js b/support/lib/dijit/nls/az/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/az/loading.js rename to support/lib/dijit/nls/az/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/bg/common.js b/support/lib/dijit/nls/bg/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/bg/common.js rename to support/lib/dijit/nls/bg/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/bg/loading.js b/support/lib/dijit/nls/bg/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/bg/loading.js rename to support/lib/dijit/nls/bg/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/bs/common.js b/support/lib/dijit/nls/bs/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/bs/common.js rename to support/lib/dijit/nls/bs/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/bs/loading.js b/support/lib/dijit/nls/bs/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/bs/loading.js rename to support/lib/dijit/nls/bs/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ca/common.js b/support/lib/dijit/nls/ca/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ca/common.js rename to support/lib/dijit/nls/ca/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ca/loading.js b/support/lib/dijit/nls/ca/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ca/loading.js rename to support/lib/dijit/nls/ca/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/common.js b/support/lib/dijit/nls/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/common.js rename to support/lib/dijit/nls/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/cs/common.js b/support/lib/dijit/nls/cs/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/cs/common.js rename to support/lib/dijit/nls/cs/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/cs/loading.js b/support/lib/dijit/nls/cs/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/cs/loading.js rename to support/lib/dijit/nls/cs/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/da/common.js b/support/lib/dijit/nls/da/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/da/common.js rename to support/lib/dijit/nls/da/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/da/loading.js b/support/lib/dijit/nls/da/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/da/loading.js rename to support/lib/dijit/nls/da/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/de/common.js b/support/lib/dijit/nls/de/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/de/common.js rename to support/lib/dijit/nls/de/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/de/loading.js b/support/lib/dijit/nls/de/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/de/loading.js rename to support/lib/dijit/nls/de/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/el/common.js b/support/lib/dijit/nls/el/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/el/common.js rename to support/lib/dijit/nls/el/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/el/loading.js b/support/lib/dijit/nls/el/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/el/loading.js rename to support/lib/dijit/nls/el/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/es/common.js b/support/lib/dijit/nls/es/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/es/common.js rename to support/lib/dijit/nls/es/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/es/loading.js b/support/lib/dijit/nls/es/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/es/loading.js rename to support/lib/dijit/nls/es/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/eu/common.js b/support/lib/dijit/nls/eu/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/eu/common.js rename to support/lib/dijit/nls/eu/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/eu/loading.js b/support/lib/dijit/nls/eu/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/eu/loading.js rename to support/lib/dijit/nls/eu/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/fi/common.js b/support/lib/dijit/nls/fi/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/fi/common.js rename to support/lib/dijit/nls/fi/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/fi/loading.js b/support/lib/dijit/nls/fi/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/fi/loading.js rename to support/lib/dijit/nls/fi/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/fr/common.js b/support/lib/dijit/nls/fr/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/fr/common.js rename to support/lib/dijit/nls/fr/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/fr/loading.js b/support/lib/dijit/nls/fr/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/fr/loading.js rename to support/lib/dijit/nls/fr/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/he/common.js b/support/lib/dijit/nls/he/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/he/common.js rename to support/lib/dijit/nls/he/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/he/loading.js b/support/lib/dijit/nls/he/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/he/loading.js rename to support/lib/dijit/nls/he/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/hr/common.js b/support/lib/dijit/nls/hr/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/hr/common.js rename to support/lib/dijit/nls/hr/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/hr/loading.js b/support/lib/dijit/nls/hr/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/hr/loading.js rename to support/lib/dijit/nls/hr/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/hu/common.js b/support/lib/dijit/nls/hu/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/hu/common.js rename to support/lib/dijit/nls/hu/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/hu/loading.js b/support/lib/dijit/nls/hu/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/hu/loading.js rename to support/lib/dijit/nls/hu/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/id/common.js b/support/lib/dijit/nls/id/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/id/common.js rename to support/lib/dijit/nls/id/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/id/loading.js b/support/lib/dijit/nls/id/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/id/loading.js rename to support/lib/dijit/nls/id/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/it/common.js b/support/lib/dijit/nls/it/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/it/common.js rename to support/lib/dijit/nls/it/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/it/loading.js b/support/lib/dijit/nls/it/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/it/loading.js rename to support/lib/dijit/nls/it/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ja/common.js b/support/lib/dijit/nls/ja/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ja/common.js rename to support/lib/dijit/nls/ja/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ja/loading.js b/support/lib/dijit/nls/ja/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ja/loading.js rename to support/lib/dijit/nls/ja/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/kk/common.js b/support/lib/dijit/nls/kk/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/kk/common.js rename to support/lib/dijit/nls/kk/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/kk/loading.js b/support/lib/dijit/nls/kk/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/kk/loading.js rename to support/lib/dijit/nls/kk/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ko/common.js b/support/lib/dijit/nls/ko/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ko/common.js rename to support/lib/dijit/nls/ko/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ko/loading.js b/support/lib/dijit/nls/ko/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ko/loading.js rename to support/lib/dijit/nls/ko/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/loading.js b/support/lib/dijit/nls/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/loading.js rename to support/lib/dijit/nls/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/mk/common.js b/support/lib/dijit/nls/mk/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/mk/common.js rename to support/lib/dijit/nls/mk/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/mk/loading.js b/support/lib/dijit/nls/mk/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/mk/loading.js rename to support/lib/dijit/nls/mk/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/nb/common.js b/support/lib/dijit/nls/nb/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/nb/common.js rename to support/lib/dijit/nls/nb/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/nb/loading.js b/support/lib/dijit/nls/nb/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/nb/loading.js rename to support/lib/dijit/nls/nb/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/nl/common.js b/support/lib/dijit/nls/nl/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/nl/common.js rename to support/lib/dijit/nls/nl/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/nl/loading.js b/support/lib/dijit/nls/nl/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/nl/loading.js rename to support/lib/dijit/nls/nl/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pl/common.js b/support/lib/dijit/nls/pl/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pl/common.js rename to support/lib/dijit/nls/pl/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pl/loading.js b/support/lib/dijit/nls/pl/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pl/loading.js rename to support/lib/dijit/nls/pl/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pt-pt/common.js b/support/lib/dijit/nls/pt-pt/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pt-pt/common.js rename to support/lib/dijit/nls/pt-pt/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pt-pt/loading.js b/support/lib/dijit/nls/pt-pt/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pt-pt/loading.js rename to support/lib/dijit/nls/pt-pt/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pt/common.js b/support/lib/dijit/nls/pt/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pt/common.js rename to support/lib/dijit/nls/pt/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pt/loading.js b/support/lib/dijit/nls/pt/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/pt/loading.js rename to support/lib/dijit/nls/pt/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ro/common.js b/support/lib/dijit/nls/ro/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ro/common.js rename to support/lib/dijit/nls/ro/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ro/loading.js b/support/lib/dijit/nls/ro/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ro/loading.js rename to support/lib/dijit/nls/ro/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ru/common.js b/support/lib/dijit/nls/ru/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ru/common.js rename to support/lib/dijit/nls/ru/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ru/loading.js b/support/lib/dijit/nls/ru/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/ru/loading.js rename to support/lib/dijit/nls/ru/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sk/common.js b/support/lib/dijit/nls/sk/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sk/common.js rename to support/lib/dijit/nls/sk/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sk/loading.js b/support/lib/dijit/nls/sk/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sk/loading.js rename to support/lib/dijit/nls/sk/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sl/common.js b/support/lib/dijit/nls/sl/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sl/common.js rename to support/lib/dijit/nls/sl/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sl/loading.js b/support/lib/dijit/nls/sl/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sl/loading.js rename to support/lib/dijit/nls/sl/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sr/common.js b/support/lib/dijit/nls/sr/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sr/common.js rename to support/lib/dijit/nls/sr/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sr/loading.js b/support/lib/dijit/nls/sr/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sr/loading.js rename to support/lib/dijit/nls/sr/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sv/common.js b/support/lib/dijit/nls/sv/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sv/common.js rename to support/lib/dijit/nls/sv/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sv/loading.js b/support/lib/dijit/nls/sv/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/sv/loading.js rename to support/lib/dijit/nls/sv/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/th/common.js b/support/lib/dijit/nls/th/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/th/common.js rename to support/lib/dijit/nls/th/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/th/loading.js b/support/lib/dijit/nls/th/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/th/loading.js rename to support/lib/dijit/nls/th/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/tr/common.js b/support/lib/dijit/nls/tr/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/tr/common.js rename to support/lib/dijit/nls/tr/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/tr/loading.js b/support/lib/dijit/nls/tr/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/tr/loading.js rename to support/lib/dijit/nls/tr/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/uk/common.js b/support/lib/dijit/nls/uk/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/uk/common.js rename to support/lib/dijit/nls/uk/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/uk/loading.js b/support/lib/dijit/nls/uk/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/uk/loading.js rename to support/lib/dijit/nls/uk/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/zh-tw/common.js b/support/lib/dijit/nls/zh-tw/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/zh-tw/common.js rename to support/lib/dijit/nls/zh-tw/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/zh-tw/loading.js b/support/lib/dijit/nls/zh-tw/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/zh-tw/loading.js rename to support/lib/dijit/nls/zh-tw/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/zh/common.js b/support/lib/dijit/nls/zh/common.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/zh/common.js rename to support/lib/dijit/nls/zh/common.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/zh/loading.js b/support/lib/dijit/nls/zh/loading.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/nls/zh/loading.js rename to support/lib/dijit/nls/zh/loading.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/claro.css b/support/lib/dijit/themes/claro/claro.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/claro.css rename to support/lib/dijit/themes/claro/claro.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/buttonArrows.png b/support/lib/dijit/themes/claro/form/images/buttonArrows.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/buttonArrows.png rename to support/lib/dijit/themes/claro/form/images/buttonArrows.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/buttonDisabled.png b/support/lib/dijit/themes/claro/form/images/buttonDisabled.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/buttonDisabled.png rename to support/lib/dijit/themes/claro/form/images/buttonDisabled.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/buttonDisabled.svg b/support/lib/dijit/themes/claro/form/images/buttonDisabled.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/buttonDisabled.svg rename to support/lib/dijit/themes/claro/form/images/buttonDisabled.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/buttonEnabled.png b/support/lib/dijit/themes/claro/form/images/buttonEnabled.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/buttonEnabled.png rename to support/lib/dijit/themes/claro/form/images/buttonEnabled.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/buttonEnabled.svg b/support/lib/dijit/themes/claro/form/images/buttonEnabled.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/buttonEnabled.svg rename to support/lib/dijit/themes/claro/form/images/buttonEnabled.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/checkboxAndRadioButtons_IE6.png b/support/lib/dijit/themes/claro/form/images/checkboxAndRadioButtons_IE6.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/checkboxAndRadioButtons_IE6.png rename to support/lib/dijit/themes/claro/form/images/checkboxAndRadioButtons_IE6.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/checkboxRadioButtonStates.png b/support/lib/dijit/themes/claro/form/images/checkboxRadioButtonStates.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/checkboxRadioButtonStates.png rename to support/lib/dijit/themes/claro/form/images/checkboxRadioButtonStates.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/commonFormArrows.png b/support/lib/dijit/themes/claro/form/images/commonFormArrows.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/commonFormArrows.png rename to support/lib/dijit/themes/claro/form/images/commonFormArrows.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/error.png b/support/lib/dijit/themes/claro/form/images/error.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/error.png rename to support/lib/dijit/themes/claro/form/images/error.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/sliderThumbs.png b/support/lib/dijit/themes/claro/form/images/sliderThumbs.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/form/images/sliderThumbs.png rename to support/lib/dijit/themes/claro/form/images/sliderThumbs.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/activeGradient.png b/support/lib/dijit/themes/claro/images/activeGradient.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/activeGradient.png rename to support/lib/dijit/themes/claro/images/activeGradient.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/activeGradient.svg b/support/lib/dijit/themes/claro/images/activeGradient.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/activeGradient.svg rename to support/lib/dijit/themes/claro/images/activeGradient.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/calendar.png b/support/lib/dijit/themes/claro/images/calendar.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/calendar.png rename to support/lib/dijit/themes/claro/images/calendar.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/calendarArrows.png b/support/lib/dijit/themes/claro/images/calendarArrows.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/calendarArrows.png rename to support/lib/dijit/themes/claro/images/calendarArrows.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/calendarArrows8bit.png b/support/lib/dijit/themes/claro/images/calendarArrows8bit.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/calendarArrows8bit.png rename to support/lib/dijit/themes/claro/images/calendarArrows8bit.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/checkmarkNoBorder.gif b/support/lib/dijit/themes/claro/images/checkmarkNoBorder.gif similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/checkmarkNoBorder.gif rename to support/lib/dijit/themes/claro/images/checkmarkNoBorder.gif diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/checkmarkNoBorder.png b/support/lib/dijit/themes/claro/images/checkmarkNoBorder.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/checkmarkNoBorder.png rename to support/lib/dijit/themes/claro/images/checkmarkNoBorder.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/dialogCloseIcon.png b/support/lib/dijit/themes/claro/images/dialogCloseIcon.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/dialogCloseIcon.png rename to support/lib/dijit/themes/claro/images/dialogCloseIcon.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/dialogCloseIcon8bit.png b/support/lib/dijit/themes/claro/images/dialogCloseIcon8bit.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/dialogCloseIcon8bit.png rename to support/lib/dijit/themes/claro/images/dialogCloseIcon8bit.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/dnd.png b/support/lib/dijit/themes/claro/images/dnd.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/dnd.png rename to support/lib/dijit/themes/claro/images/dnd.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/loadingAnimation.gif b/support/lib/dijit/themes/claro/images/loadingAnimation.gif similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/loadingAnimation.gif rename to support/lib/dijit/themes/claro/images/loadingAnimation.gif diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/progressBarAnim.gif b/support/lib/dijit/themes/claro/images/progressBarAnim.gif similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/progressBarAnim.gif rename to support/lib/dijit/themes/claro/images/progressBarAnim.gif diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/progressBarFull.png b/support/lib/dijit/themes/claro/images/progressBarFull.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/progressBarFull.png rename to support/lib/dijit/themes/claro/images/progressBarFull.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/spriteArrows.png b/support/lib/dijit/themes/claro/images/spriteArrows.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/spriteArrows.png rename to support/lib/dijit/themes/claro/images/spriteArrows.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/standardGradient.png b/support/lib/dijit/themes/claro/images/standardGradient.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/standardGradient.png rename to support/lib/dijit/themes/claro/images/standardGradient.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/standardGradient.svg b/support/lib/dijit/themes/claro/images/standardGradient.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/standardGradient.svg rename to support/lib/dijit/themes/claro/images/standardGradient.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/tooltip.png b/support/lib/dijit/themes/claro/images/tooltip.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/tooltip.png rename to support/lib/dijit/themes/claro/images/tooltip.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/tooltip8bit.png b/support/lib/dijit/themes/claro/images/tooltip8bit.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/tooltip8bit.png rename to support/lib/dijit/themes/claro/images/tooltip8bit.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/treeExpandImages.png b/support/lib/dijit/themes/claro/images/treeExpandImages.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/treeExpandImages.png rename to support/lib/dijit/themes/claro/images/treeExpandImages.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/treeExpandImages8bit.png b/support/lib/dijit/themes/claro/images/treeExpandImages8bit.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/images/treeExpandImages8bit.png rename to support/lib/dijit/themes/claro/images/treeExpandImages8bit.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabBottomSelected.png b/support/lib/dijit/themes/claro/layout/images/tabBottomSelected.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabBottomSelected.png rename to support/lib/dijit/themes/claro/layout/images/tabBottomSelected.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabBottomSelected.svg b/support/lib/dijit/themes/claro/layout/images/tabBottomSelected.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabBottomSelected.svg rename to support/lib/dijit/themes/claro/layout/images/tabBottomSelected.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabBottomUnselected.png b/support/lib/dijit/themes/claro/layout/images/tabBottomUnselected.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabBottomUnselected.png rename to support/lib/dijit/themes/claro/layout/images/tabBottomUnselected.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabBottomUnselected.svg b/support/lib/dijit/themes/claro/layout/images/tabBottomUnselected.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabBottomUnselected.svg rename to support/lib/dijit/themes/claro/layout/images/tabBottomUnselected.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabClose.png b/support/lib/dijit/themes/claro/layout/images/tabClose.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabClose.png rename to support/lib/dijit/themes/claro/layout/images/tabClose.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabLeftSelected.png b/support/lib/dijit/themes/claro/layout/images/tabLeftSelected.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabLeftSelected.png rename to support/lib/dijit/themes/claro/layout/images/tabLeftSelected.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabLeftSelected.svg b/support/lib/dijit/themes/claro/layout/images/tabLeftSelected.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabLeftSelected.svg rename to support/lib/dijit/themes/claro/layout/images/tabLeftSelected.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabLeftUnselected.png b/support/lib/dijit/themes/claro/layout/images/tabLeftUnselected.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabLeftUnselected.png rename to support/lib/dijit/themes/claro/layout/images/tabLeftUnselected.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabLeftUnselected.svg b/support/lib/dijit/themes/claro/layout/images/tabLeftUnselected.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabLeftUnselected.svg rename to support/lib/dijit/themes/claro/layout/images/tabLeftUnselected.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabNested.png b/support/lib/dijit/themes/claro/layout/images/tabNested.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabNested.png rename to support/lib/dijit/themes/claro/layout/images/tabNested.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabRightSelected.png b/support/lib/dijit/themes/claro/layout/images/tabRightSelected.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabRightSelected.png rename to support/lib/dijit/themes/claro/layout/images/tabRightSelected.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabRightSelected.svg b/support/lib/dijit/themes/claro/layout/images/tabRightSelected.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabRightSelected.svg rename to support/lib/dijit/themes/claro/layout/images/tabRightSelected.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabRightUnselected.png b/support/lib/dijit/themes/claro/layout/images/tabRightUnselected.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabRightUnselected.png rename to support/lib/dijit/themes/claro/layout/images/tabRightUnselected.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabRightUnselected.svg b/support/lib/dijit/themes/claro/layout/images/tabRightUnselected.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabRightUnselected.svg rename to support/lib/dijit/themes/claro/layout/images/tabRightUnselected.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabTopSelected.png b/support/lib/dijit/themes/claro/layout/images/tabTopSelected.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabTopSelected.png rename to support/lib/dijit/themes/claro/layout/images/tabTopSelected.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabTopSelected.svg b/support/lib/dijit/themes/claro/layout/images/tabTopSelected.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabTopSelected.svg rename to support/lib/dijit/themes/claro/layout/images/tabTopSelected.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabTopUnselected.png b/support/lib/dijit/themes/claro/layout/images/tabTopUnselected.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabTopUnselected.png rename to support/lib/dijit/themes/claro/layout/images/tabTopUnselected.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabTopUnselected.svg b/support/lib/dijit/themes/claro/layout/images/tabTopUnselected.svg similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dijit/themes/claro/layout/images/tabTopUnselected.svg rename to support/lib/dijit/themes/claro/layout/images/tabTopUnselected.svg diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dojo/LICENSE b/support/lib/dojo/LICENSE similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dojo/LICENSE rename to support/lib/dojo/LICENSE diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/LICENSE b/support/lib/dojo/resources/LICENSE similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/LICENSE rename to support/lib/dojo/resources/LICENSE diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/blank.gif b/support/lib/dojo/resources/blank.gif similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/blank.gif rename to support/lib/dojo/resources/blank.gif diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/blank.html b/support/lib/dojo/resources/blank.html similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/blank.html rename to support/lib/dojo/resources/blank.html diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/dnd.css b/support/lib/dojo/resources/dnd.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/dnd.css rename to support/lib/dojo/resources/dnd.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/dojo.css b/support/lib/dojo/resources/dojo.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/dojo.css rename to support/lib/dojo/resources/dojo.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/iframe_history.html b/support/lib/dojo/resources/iframe_history.html similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/iframe_history.html rename to support/lib/dojo/resources/iframe_history.html diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/images/dndCopy.png b/support/lib/dojo/resources/images/dndCopy.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/images/dndCopy.png rename to support/lib/dojo/resources/images/dndCopy.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/images/dndMove.png b/support/lib/dojo/resources/images/dndMove.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/images/dndMove.png rename to support/lib/dojo/resources/images/dndMove.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/images/dndNoCopy.png b/support/lib/dojo/resources/images/dndNoCopy.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/images/dndNoCopy.png rename to support/lib/dojo/resources/images/dndNoCopy.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/images/dndNoMove.png b/support/lib/dojo/resources/images/dndNoMove.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/dojo/resources/images/dndNoMove.png rename to support/lib/dojo/resources/images/dndNoMove.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/put-selector/LICENSE b/support/lib/put-selector/LICENSE similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/put-selector/LICENSE rename to support/lib/put-selector/LICENSE diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/config.js b/support/lib/webview/config.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/config.js rename to support/lib/webview/config.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/main-embedded-webview.js b/support/lib/webview/main-embedded-webview.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/main-embedded-webview.js rename to support/lib/webview/main-embedded-webview.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/main.js b/support/lib/webview/main.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/main.js rename to support/lib/webview/main.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/closed_hand.cur b/support/lib/webview/mg/images/closed_hand.cur similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/closed_hand.cur rename to support/lib/webview/mg/images/closed_hand.cur diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/closed_hand.png b/support/lib/webview/mg/images/closed_hand.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/closed_hand.png rename to support/lib/webview/mg/images/closed_hand.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/open_hand.cur b/support/lib/webview/mg/images/open_hand.cur similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/open_hand.cur rename to support/lib/webview/mg/images/open_hand.cur diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/open_hand.png b/support/lib/webview/mg/images/open_hand.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/open_hand.png rename to support/lib/webview/mg/images/open_hand.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/zoom_in.cur b/support/lib/webview/mg/images/zoom_in.cur similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/zoom_in.cur rename to support/lib/webview/mg/images/zoom_in.cur diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/zoom_in.png b/support/lib/webview/mg/images/zoom_in.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/mg/images/zoom_in.png rename to support/lib/webview/mg/images/zoom_in.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ROOT.js b/support/lib/webview/nls/webview_ROOT.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ROOT.js rename to support/lib/webview/nls/webview_ROOT.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ar.js b/support/lib/webview/nls/webview_ar.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ar.js rename to support/lib/webview/nls/webview_ar.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ca.js b/support/lib/webview/nls/webview_ca.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ca.js rename to support/lib/webview/nls/webview_ca.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_cs.js b/support/lib/webview/nls/webview_cs.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_cs.js rename to support/lib/webview/nls/webview_cs.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_da.js b/support/lib/webview/nls/webview_da.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_da.js rename to support/lib/webview/nls/webview_da.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_de.js b/support/lib/webview/nls/webview_de.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_de.js rename to support/lib/webview/nls/webview_de.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_el.js b/support/lib/webview/nls/webview_el.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_el.js rename to support/lib/webview/nls/webview_el.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_en-gb.js b/support/lib/webview/nls/webview_en-gb.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_en-gb.js rename to support/lib/webview/nls/webview_en-gb.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_en-us.js b/support/lib/webview/nls/webview_en-us.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_en-us.js rename to support/lib/webview/nls/webview_en-us.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_es-es.js b/support/lib/webview/nls/webview_es-es.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_es-es.js rename to support/lib/webview/nls/webview_es-es.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_fi-fi.js b/support/lib/webview/nls/webview_fi-fi.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_fi-fi.js rename to support/lib/webview/nls/webview_fi-fi.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_fr-fr.js b/support/lib/webview/nls/webview_fr-fr.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_fr-fr.js rename to support/lib/webview/nls/webview_fr-fr.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_he-il.js b/support/lib/webview/nls/webview_he-il.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_he-il.js rename to support/lib/webview/nls/webview_he-il.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_hu.js b/support/lib/webview/nls/webview_hu.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_hu.js rename to support/lib/webview/nls/webview_hu.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_it-it.js b/support/lib/webview/nls/webview_it-it.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_it-it.js rename to support/lib/webview/nls/webview_it-it.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ja-jp.js b/support/lib/webview/nls/webview_ja-jp.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ja-jp.js rename to support/lib/webview/nls/webview_ja-jp.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ko-kr.js b/support/lib/webview/nls/webview_ko-kr.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ko-kr.js rename to support/lib/webview/nls/webview_ko-kr.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_nb.js b/support/lib/webview/nls/webview_nb.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_nb.js rename to support/lib/webview/nls/webview_nb.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_nl-nl.js b/support/lib/webview/nls/webview_nl-nl.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_nl-nl.js rename to support/lib/webview/nls/webview_nl-nl.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_pl.js b/support/lib/webview/nls/webview_pl.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_pl.js rename to support/lib/webview/nls/webview_pl.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_pt-br.js b/support/lib/webview/nls/webview_pt-br.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_pt-br.js rename to support/lib/webview/nls/webview_pt-br.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_pt-pt.js b/support/lib/webview/nls/webview_pt-pt.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_pt-pt.js rename to support/lib/webview/nls/webview_pt-pt.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ru.js b/support/lib/webview/nls/webview_ru.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_ru.js rename to support/lib/webview/nls/webview_ru.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_sk.js b/support/lib/webview/nls/webview_sk.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_sk.js rename to support/lib/webview/nls/webview_sk.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_sl.js b/support/lib/webview/nls/webview_sl.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_sl.js rename to support/lib/webview/nls/webview_sl.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_sv.js b/support/lib/webview/nls/webview_sv.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_sv.js rename to support/lib/webview/nls/webview_sv.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_th.js b/support/lib/webview/nls/webview_th.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_th.js rename to support/lib/webview/nls/webview_th.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_tr.js b/support/lib/webview/nls/webview_tr.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_tr.js rename to support/lib/webview/nls/webview_tr.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_zh-cn.js b/support/lib/webview/nls/webview_zh-cn.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_zh-cn.js rename to support/lib/webview/nls/webview_zh-cn.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_zh-tw.js b/support/lib/webview/nls/webview_zh-tw.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/nls/webview_zh-tw.js rename to support/lib/webview/nls/webview_zh-tw.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/palette/images/PaletteIcons.png b/support/lib/webview/palette/images/PaletteIcons.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/palette/images/PaletteIcons.png rename to support/lib/webview/palette/images/PaletteIcons.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/palette/images/PaletteSeparator.png b/support/lib/webview/palette/images/PaletteSeparator.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/palette/images/PaletteSeparator.png rename to support/lib/webview/palette/images/PaletteSeparator.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/search/images/SearchIcons.png b/support/lib/webview/search/images/SearchIcons.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/search/images/SearchIcons.png rename to support/lib/webview/search/images/SearchIcons.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/webview.css b/support/lib/webview/webview.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/webview.css rename to support/lib/webview/webview.css diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/webview/webview.js b/support/lib/webview/webview.js similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/webview/webview.js rename to support/lib/webview/webview.js diff --git a/BLDC_controller_ert_rtw/html/webview/support/lib/xstyle/LICENSE b/support/lib/xstyle/LICENSE similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/lib/xstyle/LICENSE rename to support/lib/xstyle/LICENSE diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview.json b/support/slwebview.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview.json rename to support/slwebview.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg similarity index 98% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg index 4f94c9f..bd7d0e1 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10035_d.svg @@ -117,7 +117,7 @@ - + @@ -519,5 +519,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json index f2f0d4b..d7de882 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json @@ -1,4 +1,241 @@ [ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10139", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If3", + "label":"If3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "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":"BLDCmotor_FOC_R2017b_fixdt:11768", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12676", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10504", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "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":"BLDCmotor_FOC_R2017b_fixdt:10503", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "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":"BLDCmotor_FOC_R2017b_fixdt:11767", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11766", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "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":"BLDCmotor_FOC_R2017b_fixdt:10064", "className":"Simulink.Constant", @@ -48,206 +285,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10139", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If3", - "label":"If3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "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":"BLDCmotor_FOC_R2017b_fixdt:10500", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11766", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "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":"BLDCmotor_FOC_R2017b_fixdt:11765", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11767", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11768", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11719", "className":"Simulink.SubSystem", @@ -259,22 +296,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -286,30 +322,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -321,19 +357,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -347,286 +382,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10504", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "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":"BLDCmotor_FOC_R2017b_fixdt:10520", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_fieldWeak ", - "label":"r_fieldWeak ", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "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":"BLDCmotor_FOC_R2017b_fixdt:10487", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgt", - "label":"r_inpTgt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "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":"BLDCmotor_FOC_R2017b_fixdt:10488", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10503", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", - "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":"BLDCmotor_FOC_R2017b_fixdt:11764", "className":"Simulink.TriggerPort", @@ -704,6 +459,202 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11765", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From24", + "label":"From24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10500", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10488", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10487", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgt", + "label":"r_inpTgt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", + "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":"BLDCmotor_FOC_R2017b_fixdt:12675", "className":"Simulink.Inport", @@ -772,27 +723,74 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12676", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10520", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"r_fieldWeak ", + "label":"r_fieldWeak ", "parent":"BLDCmotor_FOC_R2017b_fixdt:10066", "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_ctrlTypSel", - "local", - "Tag" + "1", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "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" @@ -800,7 +798,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Outport", "masktype":"" } }, diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg index 987242b..44cd712 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.svg @@ -10,69 +10,6 @@ - - - - - - - - - - - - - - - - - - - b_fieldWeakEna - - - - - - - - - - - - - - - - - - - - - - b_fieldWeakEna - - - - - - - - - - - - - - - boolean - - - - - - - @@ -86,19 +23,19 @@ - + - + u1 - + - + if(u1 ~= 0) @@ -116,11 +53,11 @@ - + - + action @@ -130,198 +67,6 @@ - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - @@ -334,11 +79,11 @@ - + - + [r_fieldWeak] @@ -355,11 +100,269 @@ + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + b_fieldWeakEna + + + + + + + + + + + + + + + + + + + + + + b_fieldWeakEna + + + + + + + + + + + + + + + boolean + + + + + + + + - + @@ -456,16 +459,16 @@ - - + + - + - - action + + sfix16_En4 @@ -477,15 +480,117 @@ - - + + - + - + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + f() + + + + + + + + + + + + + + + + + + + + + + function + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -497,145 +602,43 @@ - - - - - - - - - + + + - - + + - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_fieldWeak - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - + - - r_inpTgt + + [r_fieldWeak] + + + + + + + - + - + - + sfix16_En4 @@ -710,77 +713,59 @@ - - - + + + - - + + - + - - [r_inpTgt] + + 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - f() - - - - - - - + + - - + + - - + + - - function + + r_inpTgt + + + + + + + + + + + + + + + sfix16_En4 @@ -801,11 +786,11 @@ - + - + 1 @@ -823,11 +808,11 @@ - + - + z_ctrlTypSel @@ -838,11 +823,11 @@ - + - + uint8 @@ -854,29 +839,44 @@ - - - + + + - - + + - - + + - - [z_ctrlTypSel] + + 1 - - + + + + + + + + + + + + + + + + + r_fieldWeak @@ -1027,5 +1027,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json index 4c81c09..95ee505 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json @@ -79,6 +79,303 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10391", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10419", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10421", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto31", + "label":"Goto31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_limProtErr", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10425", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10388", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "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":"BLDCmotor_FOC_R2017b_fixdt:11514", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10412", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10411", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10409", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10368", "className":"Simulink.Outport", @@ -159,303 +456,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10425", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10391", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10424", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10419", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10388", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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":"BLDCmotor_FOC_R2017b_fixdt:10413", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11514", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_cruiseCtrlEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10421", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10410", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10723", "className":"Simulink.Goto", @@ -489,6 +489,115 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12668", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "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":"BLDCmotor_FOC_R2017b_fixdt:10722", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10427", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_mot", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12672", "className":"Simulink.Goto", @@ -522,202 +631,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11477", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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":"BLDCmotor_FOC_R2017b_fixdt:12671", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10420", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12670", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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":"BLDCmotor_FOC_R2017b_fixdt:10408", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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":"BLDCmotor_FOC_R2017b_fixdt:12665", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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":"BLDCmotor_FOC_R2017b_fixdt:12664", "className":"Simulink.From", @@ -780,70 +693,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10387", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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":"BLDCmotor_FOC_R2017b_fixdt:10367", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12660", "className":"Simulink.From", @@ -876,19 +725,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12659", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10420", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From58", - "label":"From58", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "id_min", + "Vq_nLimProtMax", + "local", "Tag" ], "tabs":[ @@ -902,24 +753,26 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12658", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10410", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From57", - "label":"From57", + "name":"Goto18", + "label":"Goto18", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "id_max", + "Vd_min", + "local", "Tag" ], "tabs":[ @@ -933,16 +786,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12653", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12656", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", + "name":"From53", + "label":"From53", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -950,38 +803,7 @@ "IconDisplay" ], "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12661", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From60", - "label":"From60", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_min", + "Vd_max", "Tag" ], "tabs":[ @@ -1031,54 +853,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12668", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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":"BLDCmotor_FOC_R2017b_fixdt:10427", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10387", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"Goto27", + "label":"Goto27", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -1087,7 +866,7 @@ "IconDisplay" ], "values":[ - "n_mot", + "r_inpTgtSca", "local", "Tag" ], @@ -1138,19 +917,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12649", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11477", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", + "name":"Goto22", + "label":"Goto22", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "Vq_min", + "VqFinPrev", + "local", "Tag" ], "tabs":[ @@ -1164,38 +945,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12651", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From36", - "label":"From36", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_mot", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, @@ -1230,37 +980,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12655", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From47", - "label":"From47", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12647", "className":"Simulink.From", @@ -1292,39 +1011,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10722", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12646", "className":"Simulink.From", @@ -1387,6 +1073,194 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12649", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12644", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12654", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From46", + "label":"From46", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12670", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "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":"BLDCmotor_FOC_R2017b_fixdt:12663", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From64", + "label":"From64", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12659", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From58", + "label":"From58", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10418", "className":"Simulink.Goto", @@ -1421,130 +1295,99 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10369", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12392", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"FOC_Enabled", + "label":"FOC_Enabled", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "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":[ - "Vd", - "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", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10735", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto21", - "label":"Goto21", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10411", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12644", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtSca", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", + "blocktype":"SubSystem", "masktype":"" } }, @@ -1626,11 +1469,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11513", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10416", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_cruiseCtrlEna", - "label":"b_cruiseCtrlEna", + "name":"iq_limProtErr", + "label":"iq_limProtErr", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -1653,7 +1496,7 @@ "OutputFunctionCall" ], "values":[ - "23", + "20", "Port number", "[]", "[]", @@ -1692,6 +1535,234 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10398", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10424", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10721", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_nLimProtMax", + "label":"r_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "19", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12655", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From47", + "label":"From47", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10367", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12671", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10423", "className":"Simulink.Inport", @@ -1760,11 +1831,77 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10407", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10413", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto29", + "label":"Goto29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10408", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "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":"BLDCmotor_FOC_R2017b_fixdt:10415", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"id_min", - "label":"id_min", + "name":"Vq_min", + "label":"Vq_min", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -1787,7 +1924,141 @@ "OutputFunctionCall" ], "values":[ - "15", + "13", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10414", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_max", + "label":"Vq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "12", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11513", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "23", "Port number", "[]", "[]", @@ -1894,42 +2165,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12667", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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":"BLDCmotor_FOC_R2017b_fixdt:10414", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10407", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Vq_max", - "label":"Vq_max", + "name":"id_min", + "label":"id_min", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -1952,7 +2192,7 @@ "OutputFunctionCall" ], "values":[ - "12", + "15", "Port number", "[]", "[]", @@ -2059,11 +2299,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10404", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10397", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Vd_max", - "label":"Vd_max", + "name":"iq", + "label":"iq", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -2086,7 +2326,7 @@ "OutputFunctionCall" ], "values":[ - "10", + "9", "Port number", "[]", "[]", @@ -2126,212 +2366,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10721", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_nLimProtMax", - "label":"r_nLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "19", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10402", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_TgtAbs", - "label":"id_TgtAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "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":"BLDCmotor_FOC_R2017b_fixdt:10417", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_nLimProtMax", - "label":"Vq_nLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "21", - "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":"BLDCmotor_FOC_R2017b_fixdt:12654", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10369", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From46", - "label":"From46", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -2339,7 +2378,7 @@ "IconDisplay" ], "values":[ - "r_nLimProtMax", + "Vd", "Tag" ], "tabs":[ @@ -2357,140 +2396,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10426", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "6", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10415", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "13", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10405", "className":"Simulink.Inport", @@ -2558,6 +2463,140 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10403", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id", + "label":"id", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "8", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10373", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10406", "className":"Simulink.Inport", @@ -2626,21 +2665,86 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10412", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10372", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"z_ctrlMod", + "label":"z_ctrlMod", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "3", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12653", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From45", + "label":"From45", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "id", - "local", + "iq", "Tag" ], "tabs":[ @@ -2654,7 +2758,38 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12651", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From36", + "label":"From36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_mot", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, @@ -2726,110 +2861,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12392", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"FOC_Enabled", - "label":"FOC_Enabled", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10373", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10371", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", + "name":"b_enaAdvCtrl", + "label":"b_enaAdvCtrl", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -2852,272 +2888,7 @@ "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":"BLDCmotor_FOC_R2017b_fixdt:12663", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From64", - "label":"From64", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10409", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10416", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq_limProtErr", - "label":"iq_limProtErr", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "20", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10372", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlMod", - "label":"z_ctrlMod", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10720", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_iqLimProtMax", - "label":"r_iqLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "18", + "2", "Port number", "[]", "[]", @@ -3188,11 +2959,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10403", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10426", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"id", - "label":"id", + "name":"n_mot", + "label":"n_mot", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -3215,7 +2986,7 @@ "OutputFunctionCall" ], "values":[ - "8", + "6", "Port number", "[]", "[]", @@ -3255,11 +3026,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10397", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10404", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", + "name":"Vd_max", + "label":"Vd_max", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -3282,7 +3053,7 @@ "OutputFunctionCall" ], "values":[ - "9", + "10", "Port number", "[]", "[]", @@ -3322,11 +3093,140 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10398", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12661", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From60", + "label":"From60", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12658", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From57", + "label":"From57", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10402", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_TgtAbs", + "label":"id_TgtAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "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":"BLDCmotor_FOC_R2017b_fixdt:10735", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto21", + "label":"Goto21", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -3335,7 +3235,7 @@ "IconDisplay" ], "values":[ - "iq", + "r_inpTgtScaAbs", "local", "Tag" ], @@ -3355,11 +3255,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10371", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12665", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "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":"BLDCmotor_FOC_R2017b_fixdt:10417", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_enaAdvCtrl", - "label":"b_enaAdvCtrl", + "name":"Vq_nLimProtMax", + "label":"Vq_nLimProtMax", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -3382,7 +3313,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "21", "Port number", "[]", "[]", @@ -3489,11 +3420,78 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12656", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10720", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_iqLimProtMax", + "label":"r_iqLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "18", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12667", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From53", - "label":"From53", + "name":"From17", + "label":"From17", "parent":"BLDCmotor_FOC_R2017b_fixdt:10364", "inspector":{ "params":[ @@ -3501,7 +3499,7 @@ "IconDisplay" ], "values":[ - "Vd_max", + "z_ctrlTypSel", "Tag" ], "tabs":[ diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.png new file mode 100644 index 0000000..d7a341b Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg index abf548c..cb75c04 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.svg @@ -59,87 +59,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vq - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - @@ -152,11 +71,11 @@ - + - + [b_enaAdvCtrl] @@ -173,39 +92,6 @@ - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - @@ -218,11 +104,11 @@ - + - + [Vq_min] @@ -239,105 +125,6 @@ - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - @@ -350,11 +137,11 @@ - + - + [iq_limProtErr] @@ -373,28 +160,28 @@ - - + + - + - + - - [Vd_min] + + [iq_min] - + @@ -404,6 +191,219 @@ + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vq + + + + + + + + @@ -437,6 +437,128 @@ + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == CTRL_FOC) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + @@ -449,11 +571,11 @@ - + - + [Vq] @@ -470,219 +592,6 @@ - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -695,11 +604,11 @@ - + - + [id] @@ -717,11 +626,11 @@ - + - + sfix16_En4 @@ -743,11 +652,11 @@ - + - + [iq_limProtErr] @@ -765,11 +674,11 @@ - + - + sfix32_En20 @@ -779,87 +688,6 @@ - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -872,11 +700,11 @@ - + - + [iq_max] @@ -894,11 +722,11 @@ - + - + sfix16_En4 @@ -910,44 +738,29 @@ - - - + + + - - + + - - + + - - [id_min] + + [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -958,44 +771,29 @@ - - - + + + - - + + - - + + - - [id_max] + + [Vd_min] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1006,91 +804,43 @@ - - + + - + - + - - [iq] + + [Vd_max] - + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1112,11 +862,11 @@ - + - + [r_iqLimProtMax] @@ -1134,11 +884,11 @@ - + - + sfix16_En4 @@ -1150,84 +900,28 @@ - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 == CTRL_FOC) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - + + - + - + - - [n_mot] + + [r_inpTgtSca] - + @@ -1249,11 +943,11 @@ - + - + [z_ctrlMod] @@ -1271,11 +965,11 @@ - + - + uint8 @@ -1287,92 +981,29 @@ - - - + + + - - + + - - + + - - [Vq_min] + + [VqFinPrev] - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1393,11 +1024,11 @@ - + - + [Vq_max] @@ -1415,59 +1046,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1489,11 +1072,11 @@ - + - + [b_enaAdvCtrl] @@ -1511,11 +1094,11 @@ - + - + boolean @@ -1525,39 +1108,6 @@ - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - @@ -1570,11 +1120,11 @@ - + - + [id_TgtAbs] @@ -1592,11 +1142,11 @@ - + - + sfix16_En4 @@ -1618,11 +1168,11 @@ - + - + [b_cruiseCtrlEna] @@ -1640,11 +1190,11 @@ - + - + boolean @@ -1656,76 +1206,43 @@ - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - + + - + - + - - [Vd] + + [Vq_min] - + - + - - + + - + sfix16_En4 @@ -1735,72 +1252,6 @@ - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - @@ -1813,11 +1264,11 @@ - + - + [r_inpTgtSca] @@ -1835,737 +1286,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - f() - - - - - - - - - - - - - - - - - - - - - - function - - - - - - - - - - - - - - - - - - - - - - - - - - 23 - - - - - - - - - - - - - - - - - - - - - - b_cruiseCtrlEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 17 - - - - - - - - - - - - - - - - - - - - - - iq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 15 - - - - - - - - - - - - - - - - - - - - - - id_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 22 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 12 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 16 - - - - - - - - - - - - - - - - - - - - - - iq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - - - - - - - - - - - - - - - - - - - - - Vd_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 19 - - - - - - - - - - - - - - - - - - - - - - r_nLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - id_TgtAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 21 - - - - - - - - - - - - - - - - - - - - - - Vq_nLimProtMax - - - - - - - - - - - - - - + sfix16_En4 @@ -2587,11 +1312,11 @@ - + - + [r_nLimProtMax] @@ -2609,11 +1334,11 @@ - + - + sfix16_En4 @@ -2625,280 +1350,28 @@ - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - n_mot - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 13 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 11 - - - - - - - - - - - - - - - - - - - - - - Vd_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 14 - - - - - - - - - - - - - - - - - - - - - - id_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - [id] + + [z_ctrlTypSel] - + @@ -2910,58 +1383,43 @@ - - - + + + - - + + - - + + - - 5 + + [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - r_inpTgtScaAbs + + - + - - + + - + sfix16_En4 @@ -2971,11 +1429,92 @@ + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + - + @@ -2989,203 +1528,203 @@ - + - + b_enaAdvCtrl - + - + z_ctrlMod - + - + r_inpTgtSca - + - + r_inpTgtScaAbs - + - + n_mot - + - + id_TgtAbs - + - + id - + - + iq - + - + Vd_max - + - + Vd_min - + - + Vq_max - + - + Vq_min - + - + id_max - + - + id_min - + - + iq_max - + - + iq_min - + - + r_iqLimProtMax - + - + r_nLimProtMax - + - + iq_limProtErr - + - + Vq_nLimProtMax - + - + VqFinPrev - + - + b_cruiseCtrlEna - + - + Vq - + - + Vd - + - + if { } @@ -3215,11 +1754,11 @@ - + - + FOC_Enabled @@ -3232,15 +1771,15 @@ - + - - + + - + sfix16_En4 @@ -3253,16 +1792,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -3274,16 +1813,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -3294,146 +1833,50 @@ - + - - + + - - + + - - + + - - 4 + + f() - - + + - - + + - - + + - - r_inpTgtSca - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - + + function @@ -3454,11 +1897,11 @@ - + - + 20 @@ -3476,11 +1919,11 @@ - + - + iq_limProtErr @@ -3491,11 +1934,11 @@ - + - + sfix32_En20 @@ -3507,59 +1950,29 @@ - - - + + + - - + + - - + + - - 3 + + [iq] - - - - - - - - - - - - - - - - - z_ctrlMod - - - - - - - - - - - - - - - uint8 + + @@ -3570,58 +1983,91 @@ - - - + + + - - + + - - + + - - 18 + + [iq_max] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + 19 + + + + + + - - + + - - + + - - r_iqLimProtMax + + r_nLimProtMax - + - - + + - + sfix16_En4 @@ -3633,43 +2079,43 @@ - - + + - + - + - - [Vd_min] + + [r_inpTgtScaAbs] - + - + - - + + - + sfix16_En4 @@ -3681,58 +2127,583 @@ - - - + + + - - + + - - + + - - 8 + + [Vq] - + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 17 + + + + + + - - + + - - + + - - id + + iq_min - + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 13 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 23 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 22 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 15 + + + + + + + + + + + + + + + + + + + + + + id_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + sfix16_En4 @@ -3754,11 +2725,11 @@ - + - + 9 @@ -3776,11 +2747,11 @@ - + - + iq @@ -3791,11 +2762,11 @@ - + - + sfix16_En4 @@ -3807,29 +2778,518 @@ - - - + + + - - + + - - + + - + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 11 + + + + + + + + + + + + + + + + + + + + + + Vd_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + id + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 14 + + + + + + + + + + + + + + + + + + + + + + id_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + [iq] - - + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 @@ -3850,11 +3310,11 @@ - + - + 2 @@ -3872,11 +3332,11 @@ - + - + b_enaAdvCtrl @@ -3887,11 +3347,11 @@ - + - + boolean @@ -3901,6 +3361,483 @@ + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + id_TgtAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 21 + + + + + + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -3913,11 +3850,11 @@ - + - + 1 @@ -3935,11 +3872,11 @@ - + - + z_ctrlTypSel @@ -3950,11 +3887,11 @@ - + - + uint8 @@ -3966,11 +3903,74 @@ - - + + + + + + + + + + + + + + + + 18 + + + + + + + + + + + + + + + + + + + + + + r_iqLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + - + @@ -3980,30 +3980,30 @@ - - [Vd_max] + + [z_ctrlTypSel] - + - - + + - + - - sfix16_En4 + + uint8 @@ -4728,5 +4728,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.json index 71e6b10..f88f84b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.json @@ -1,4 +1,133 @@ [ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11100", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"i_alpha", + "label":"i_alpha", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "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":"BLDCmotor_FOC_R2017b_fixdt:11099", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"z_selPhaCurMeasABC", + "label":"z_selPhaCurMeasABC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "z_selPhaCurMeasABC", + "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":"BLDCmotor_FOC_R2017b_fixdt:11097", "className":"Simulink.Merge", @@ -81,119 +210,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11100", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"i_alpha", - "label":"i_alpha", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "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":"BLDCmotor_FOC_R2017b_fixdt:11095", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_betaAC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11094", "className":"Simulink.Goto", @@ -228,11 +244,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11093", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11092", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -241,7 +257,7 @@ "IconDisplay" ], "values":[ - "i_alphaAC", + "i_betaBC", "local", "Tag" ], @@ -261,11 +277,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11091", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11087", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -274,7 +290,7 @@ "IconDisplay" ], "values":[ - "i_betaAB", + "i_alphaAB", "local", "Tag" ], @@ -294,21 +310,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11090", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11085", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"From9", + "label":"From9", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "i_alphaBC", - "local", + "i_phaBC", "Tag" ], "tabs":[ @@ -322,89 +336,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11099", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"z_selPhaCurMeasABC", - "label":"z_selPhaCurMeasABC", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "z_selPhaCurMeasABC", - "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":"BLDCmotor_FOC_R2017b_fixdt:11088", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaAB", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, @@ -440,11 +372,73 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11089", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11081", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "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":"BLDCmotor_FOC_R2017b_fixdt:11080", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "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":"BLDCmotor_FOC_R2017b_fixdt:11088", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", + "name":"Goto13", + "label":"Goto13", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -453,7 +447,7 @@ "IconDisplay" ], "values":[ - "i_phaBC", + "i_phaAB", "local", "Tag" ], @@ -504,174 +498,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11078", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_betaAB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11081", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "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":"BLDCmotor_FOC_R2017b_fixdt:11098", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge2", - "label":"Merge2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "inspector":{ - "params":[ - "Inputs", - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets" - ], - "values":[ - "3", - "[]", - "off", - "[]" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11082", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "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":"BLDCmotor_FOC_R2017b_fixdt:11076", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_alphaAC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11087", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11095", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -680,7 +511,7 @@ "IconDisplay" ], "values":[ - "i_alphaAB", + "i_betaAC", "local", "Tag" ], @@ -699,167 +530,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11074", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "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":"BLDCmotor_FOC_R2017b_fixdt:11072", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "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":"BLDCmotor_FOC_R2017b_fixdt:11056", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clarke_PhasesBC", - "label":"Clarke_PhasesBC", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11077", "className":"Simulink.From", @@ -923,11 +593,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11085", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11074", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"From10", + "label":"From10", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -935,7 +605,38 @@ "IconDisplay" ], "values":[ - "i_phaBC", + "i_phaAB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11072", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_alphaAB", "Tag" ], "tabs":[ @@ -1034,11 +735,108 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11080", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11056", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_PhasesBC", + "label":"Clarke_PhasesBC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "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":"BLDCmotor_FOC_R2017b_fixdt:11078", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -1046,7 +844,7 @@ "IconDisplay" ], "values":[ - "i_alpha", + "i_betaAB", "Tag" ], "tabs":[ @@ -1065,32 +863,64 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11026", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11091", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_betaAB", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11041", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Clarke_PhasesAB", - "label":"Clarke_PhasesAB", + "name":"Clarke_PhasesAC", + "label":"Clarke_PhasesAC", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1102,30 +932,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -1137,19 +967,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1163,6 +992,270 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11083", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "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":"BLDCmotor_FOC_R2017b_fixdt:11098", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge2", + "label":"Merge2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "3", + "[]", + "off", + "[]" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11082", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "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":"BLDCmotor_FOC_R2017b_fixdt:11090", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_alphaBC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11026", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_PhasesAB", + "label":"Clarke_PhasesAB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "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":"BLDCmotor_FOC_R2017b_fixdt:11093", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_alphaAC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11025", "className":"Simulink.Inport", @@ -1231,11 +1324,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11083", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11076", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"From12", + "label":"From12", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -1243,7 +1336,7 @@ "IconDisplay" ], "values":[ - "i_phaAB", + "i_alphaAC", "Tag" ], "tabs":[ @@ -1262,101 +1355,35 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11041", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clarke_PhasesAC", - "label":"Clarke_PhasesAC", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11086", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" + "i_alpha", + "local", + "Tag" ], "tabs":[ - "Main", - "Code Generation", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 5, - 6 - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Goto", "masktype":"" } }, @@ -1392,11 +1419,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11092", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11089", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"Goto15", + "label":"Goto15", "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", "inspector":{ "params":[ @@ -1405,7 +1432,7 @@ "IconDisplay" ], "values":[ - "i_betaBC", + "i_phaBC", "local", "Tag" ], @@ -1491,39 +1518,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11086", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11023", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_alpha", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11056#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png new file mode 100644 index 0000000..66e2bb7 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg index 7eebac4..b47d6f1 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.svg @@ -10,12 +10,123 @@ + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_alpha + + + + + + + + + + + + + + + + + + + + + + + + + + z_selPhaCurMeasABC + + + + + + + + + + + + + + + + + + + + + + z_selPhaCurMeasABC + + + + + + + + + + + + + + + uint8 + + + + + + + - + @@ -23,19 +134,19 @@ - + - + - + - + @@ -61,11 +172,11 @@ - + - + sfix16_En4 @@ -79,7 +190,7 @@ - + @@ -87,35 +198,35 @@ - + - + u1 - + - + if(u1 == 0) - + - + elseif(u1 == 1) - + - + else @@ -133,26 +244,11 @@ - + - - action - - - - - - - - - - - - - - + action @@ -163,93 +259,27 @@ - + - + action - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - + + + - - + + - - i_alpha - - - - - - - - - - - - - - - - - - - - - - - - - - [i_betaAC] - - - - - - - + + action @@ -270,11 +300,11 @@ - + - + [i_beta] @@ -293,44 +323,11 @@ - - + + - - - - - - - - - - - - [i_alphaAC] - - - - - - - - - - - - - - - - - - - - - - + @@ -340,14 +337,14 @@ - - [i_betaAB] + + [i_betaBC] - + @@ -359,11 +356,11 @@ - - + + - + @@ -373,14 +370,14 @@ - - [i_alphaBC] + + [i_alphaAB] - + @@ -392,92 +389,44 @@ - - - + + + - - + + - + - - z_selPhaCurMeasABC + + [i_phaBC] - - - - - - - - - - - - - - - - - z_selPhaCurMeasABC + + - - + + - - + + - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaAB] - - - - - - - + + sfix16_En4 @@ -498,11 +447,11 @@ - + - + [i_phaBC] @@ -520,140 +469,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaBC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [i_betaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_betaAB] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -675,11 +495,11 @@ - + - + [i_beta] @@ -697,11 +517,11 @@ - + - + sfix16_En4 @@ -713,108 +533,77 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - + + [i_alpha] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -825,43 +614,43 @@ - - + + - + - + - - [i_alphaAC] + + [i_betaBC] - + - + - - + + - + sfix16_En4 @@ -873,28 +662,28 @@ - - + + - + - + - - [i_alphaAB] + + [i_betaAC] - + @@ -904,6 +693,102 @@ + + + + + + + + + + + + + + + + + + [i_betaAC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -916,11 +801,11 @@ - + - + [i_phaAB] @@ -938,11 +823,11 @@ - + - + sfix16_En4 @@ -964,11 +849,11 @@ - + - + [i_alphaAB] @@ -986,11 +871,11 @@ - + - + sfix16_En4 @@ -1000,11 +885,59 @@ + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_beta + + + + + + + + - + @@ -1018,43 +951,43 @@ - + - + i_phaB - + - + i_phaC - + - + i_alphaBC - + - + i_betaBC - + - + elseif { } @@ -1084,11 +1017,11 @@ - + - + Clarke_PhasesBC @@ -1105,11 +1038,11 @@ - + - + action @@ -1126,11 +1059,11 @@ - + - + sfix16_En4 @@ -1147,11 +1080,11 @@ - + - + sfix16_En4 @@ -1163,49 +1096,49 @@ - + - + - + - + - - [i_betaAC] + + [i_betaAB] - + - + - - + + - + sfix16_En4 @@ -1217,44 +1150,29 @@ - - - + + + - - + + - - + + - - [i_phaBC] + + [i_betaAB] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1265,153 +1183,9 @@ - - - - - - - - - - - - - - - - [i_phaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_beta - - - - - - - - - - - - - - - - - - - - - - - - - - [i_alpha] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - + + + @@ -1419,50 +1193,50 @@ - + - + - + i_phaA - + - - i_phaB + + i_phaC - + - - i_alphaAB + + i_alphaAC - + - - i_betaAB + + i_betaAC - + - - if { } + + else { } @@ -1474,7 +1248,7 @@ - + @@ -1487,16 +1261,16 @@ - - + + - - + + - - Clarke_PhasesAB + + Clarke_PhasesAC @@ -1508,15 +1282,15 @@ - + - - + + - + action @@ -1529,15 +1303,15 @@ - + - - + + - + sfix16_En4 @@ -1550,84 +1324,15 @@ - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_phaBC - - - - - - - - - - - - - - + sfix16_En4 @@ -1640,6 +1345,12 @@ + + + + + + @@ -1649,11 +1360,11 @@ - + - + [i_phaAB] @@ -1671,11 +1382,11 @@ - + - + sfix16_En4 @@ -1687,9 +1398,154 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alphaBC] + + + + + + + + + + + + + + + + + + + + @@ -1697,50 +1553,50 @@ - + - + - + i_phaA - + - - i_phaC + + i_phaB - + - - i_alphaAC + + i_alphaAB - + - - i_betaAC + + i_betaAB - + - - else { } + + if { } @@ -1752,7 +1608,7 @@ - + @@ -1765,16 +1621,16 @@ - - + + - - + + - - Clarke_PhasesAC + + Clarke_PhasesAB @@ -1786,16 +1642,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -1807,16 +1663,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -1828,15 +1684,15 @@ - + - - + + - + sfix16_En4 @@ -1848,82 +1704,34 @@ - + - - - - - - - - - - - - - - - [i_alphaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + - + - + - - [i_betaBC] + + [i_alphaAC] - + @@ -1935,58 +1743,106 @@ - - + + - + - + - - 1 + + 2 - + - - + + - - + + - - i_phaAB + + i_phaBC - + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_alphaAC] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2008,11 +1864,11 @@ - + - + [i_alpha] @@ -2029,6 +1885,150 @@ + + + + + + + + + + + + + + + + + + [i_alphaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_phaAB + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -2423,5 +2423,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json index 1ba8e19..e374c10 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.json @@ -129,53 +129,27 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11037", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11035", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", + "name":"Goto15", + "label":"Goto15", "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "rectangular", - "++", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "i_phaB", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 10 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -183,7 +157,133 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11031", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "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":"BLDCmotor_FOC_R2017b_fixdt:11034", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "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":"BLDCmotor_FOC_R2017b_fixdt:11030", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaA", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11029", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "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":"" } }, @@ -267,226 +367,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11035", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "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":"BLDCmotor_FOC_R2017b_fixdt:11036", - "className":"Simulink.SignalConversion", - "icon":"WebViewIcon3", - "name":"Signal Conversion2", - "label":"Signal Conversion2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "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":"BLDCmotor_FOC_R2017b_fixdt:11034", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "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":"BLDCmotor_FOC_R2017b_fixdt:11031", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "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":"BLDCmotor_FOC_R2017b_fixdt:11032", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain2", - "label":"Gain2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "2/sqrt(3)", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "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":"BLDCmotor_FOC_R2017b_fixdt:11030", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaA", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11033", "className":"Simulink.Gain", @@ -547,50 +427,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11027", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11037", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"i_phaA", - "label":"i_phaA", + "name":"Sum1", + "label":"Sum1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "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":[ - "1", - "Port number", + "rectangular", + "++", + "off", + "Inherit: Inherit via internal rule", "[]", "[]", - "Inherit: auto", + "fixdt(1,16,4)", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", + "Simplest", "on", - "off", - "off", - "off" + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", @@ -600,7 +472,7 @@ "tabs_idx":[ 0, 2, - 11 + 10 ] }, "viewer":{ @@ -609,7 +481,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Sum", "masktype":"" } }, @@ -681,20 +553,148 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11029", - "className":"Simulink.ActionPort", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11027", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"i_phaA", + "label":"i_phaA", "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "held", - "Only when execution is resumed" + "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":"BLDCmotor_FOC_R2017b_fixdt:11032", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain2", + "label":"Gain2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "2/sqrt(3)", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "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":"BLDCmotor_FOC_R2017b_fixdt:11036", + "className":"Simulink.SignalConversion", + "icon":"WebViewIcon3", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11026", + "inspector":{ + "params":[ + "ConversionOutput", + "OutDataTypeStr", + "OverrideOpt" + ], + "values":[ + "Signal copy", + "Inherit: auto", + "off" ], "tabs":[ "Parameter Attributes" @@ -707,7 +707,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"SignalConversion", "masktype":"" } }, diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg index 35526cb..3022b0f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11026_d.svg @@ -112,67 +112,76 @@ - - - + + + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + [i_phaB] - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaB] + + + + + + + - + - - + + - + sfix16_En4 @@ -182,6 +191,135 @@ + + + + + + + + + + + + + + + + + + [i_phaA] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaA] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + @@ -194,11 +332,11 @@ - + - + 1 @@ -216,11 +354,11 @@ - + - + i_alphaAB @@ -232,29 +370,290 @@ - - - + + + - - + + - - + + - - [i_phaB] + + 1/sqrt(3) - - + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_phaB + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_phaA + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2/sqrt(3) + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -275,131 +674,131 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -425,11 +824,11 @@ - + - + sfix16_En4 @@ -439,405 +838,6 @@ - - - - - - - - - - - - - - - - - - [i_phaA] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2/sqrt(3) - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaA] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1/sqrt(3) - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - i_phaA - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_phaB - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - @@ -972,5 +972,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.json index 78464d3..afa6610 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.json @@ -128,6 +128,72 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11051", + "className":"Simulink.SignalConversion", + "icon":"WebViewIcon3", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "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":"BLDCmotor_FOC_R2017b_fixdt:11050", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", + "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":"BLDCmotor_FOC_R2017b_fixdt:11053", "className":"Simulink.Outport", @@ -267,39 +333,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11051", - "className":"Simulink.SignalConversion", - "icon":"WebViewIcon3", - "name":"Signal Conversion2", - "label":"Signal Conversion2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", - "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":"BLDCmotor_FOC_R2017b_fixdt:11049", "className":"Simulink.Goto", @@ -393,27 +426,53 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11050", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11047", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", + "name":"Gain2", + "label":"Gain2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "i_phaA", - "local", - "Tag" + "2/sqrt(3)", + "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" @@ -421,16 +480,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Gain", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11046", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11045", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From", + "label":"From", "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", "inspector":{ "params":[ @@ -438,7 +497,7 @@ "IconDisplay" ], "values":[ - "i_phaC", + "i_phaA", "Tag" ], "tabs":[ @@ -487,37 +546,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11045", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaA", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11043", "className":"Simulink.Inport", @@ -653,53 +681,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11047", - "className":"Simulink.Gain", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11046", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Gain2", - "label":"Gain2", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11041", "inspector":{ "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "2/sqrt(3)", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Zero", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" + "i_phaC", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 8, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -707,7 +707,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"From", "masktype":"" } }, diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.svg index a4b5a90..23d16ef 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11041_d.svg @@ -110,110 +110,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - i_alphaAC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -226,68 +122,124 @@ - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - + + @@ -295,62 +247,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -376,11 +272,148 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaA] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_alphaAC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -402,11 +435,11 @@ - + - + [i_phaC] @@ -435,11 +468,11 @@ - + - + 1/sqrt(3) @@ -457,11 +490,11 @@ - + - + sfix16_En4 @@ -473,29 +506,44 @@ - - - + + + - - + + - - + + - - [i_phaA] + + 2/sqrt(3) - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -506,43 +554,43 @@ - - + + - + - + - - [i_phaC] + + [i_phaA] - + - + - - + + - + sfix16_En4 @@ -564,11 +612,11 @@ - + - + else { } @@ -586,11 +634,11 @@ - + - + Action Port @@ -600,54 +648,6 @@ - - - - - - - - - - - - - - - - - - [i_phaA] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -776,43 +776,43 @@ - - - + + + - - + + - + - - 2/sqrt(3) + + [i_phaC] - - + + - + - + - + sfix16_En4 @@ -956,5 +956,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json index 812b6ac..7d70a31 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json @@ -48,86 +48,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11069", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"i_alphaBC", - "label":"i_alphaBC", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", - "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":"BLDCmotor_FOC_R2017b_fixdt:11068", "className":"Simulink.Sum", @@ -247,84 +167,72 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11066", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11070", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", + "name":"i_betaBC", + "label":"i_betaBC", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11064", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain2", - "label":"Gain2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", - "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/sqrt(3)", - "Element-wise(K.*u)", + "2", + "Port number", "[]", "[]", - "Inherit: Same as input", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", - "Zero", "off", "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", "Signal Attributes", - "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, 2, - 8, 11 ] }, @@ -334,7 +242,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"Outport", "masktype":"" } }, @@ -370,11 +278,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11065", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11062", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "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":"BLDCmotor_FOC_R2017b_fixdt:11066", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"Goto15", + "label":"Goto15", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ @@ -383,7 +322,7 @@ "IconDisplay" ], "values":[ - "i_phaB", + "i_phaC", "local", "Tag" ], @@ -465,11 +404,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11070", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11059", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "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":"BLDCmotor_FOC_R2017b_fixdt:11069", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"i_betaBC", - "label":"i_betaBC", + "name":"i_alphaBC", + "label":"i_alphaBC", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ @@ -498,7 +468,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -545,20 +515,81 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11059", - "className":"Simulink.ActionPort", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11064", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"Gain2", + "label":"Gain2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "held", - "Only when execution is resumed" + "1/sqrt(3)", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Zero", + "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":"BLDCmotor_FOC_R2017b_fixdt:11065", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaB", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -571,7 +602,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"Goto", "masktype":"" } }, @@ -642,37 +673,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11062", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11056", - "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":"BLDCmotor_FOC_R2017b_fixdt:11057", "className":"Simulink.Inport", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg index c69db28..0dad903 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.svg @@ -62,54 +62,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - i_alphaBC - - - - - - - - @@ -122,27 +74,27 @@ - + - + - + - + - + - + @@ -160,11 +112,11 @@ - + - + sfix16_En4 @@ -186,19 +138,19 @@ - + - + - + - + @@ -216,269 +168,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1/sqrt(3) - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaB] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaB] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -500,11 +194,11 @@ - + - + 2 @@ -522,11 +216,11 @@ - + - + i_betaBC @@ -538,106 +232,43 @@ - - - + + + - - + + - - + + - - elseif { } + + [i_phaC] - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - i_phaC + + - + - - + + - + sfix16_En4 @@ -659,11 +290,11 @@ - + - + [i_phaB] @@ -681,11 +312,380 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + elseif { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + i_alphaBC + + + + + + + + + + + + + + + + + + + + + + + + + + 1/sqrt(3) + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaB] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + i_phaC + + + + + + + + + + + + + + sfix16_En4 @@ -886,5 +886,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json index 238e268..a6fba0f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.json @@ -190,6 +190,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11299", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11499", "className":"Simulink.Goto", @@ -256,39 +289,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11295", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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":"BLDCmotor_FOC_R2017b_fixdt:11294", "className":"Simulink.Goto", @@ -355,105 +355,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11291", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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":"BLDCmotor_FOC_R2017b_fixdt:11290", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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":"BLDCmotor_FOC_R2017b_fixdt:11299", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11850", "className":"Simulink.Goto", @@ -584,6 +485,70 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11298", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_errFlag", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11286", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"BLDCmotor_FOC_R2017b_fixdt:11285", "className":"Simulink.From", @@ -616,11 +581,44 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11498", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11296", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"BLDCmotor_FOC_R2017b_fixdt:11284", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From42", - "label":"From42", + "name":"From6", + "label":"From6", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -628,7 +626,7 @@ "IconDisplay" ], "values":[ - "b_cruiseCtrlEna", + "z_ctrlModReq", "Tag" ], "tabs":[ @@ -677,553 +675,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11851", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11279", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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":"BLDCmotor_FOC_R2017b_fixdt:11280", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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":"BLDCmotor_FOC_R2017b_fixdt:11278", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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":"BLDCmotor_FOC_R2017b_fixdt:11277", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_toSpdMod", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11276", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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":"BLDCmotor_FOC_R2017b_fixdt:11274", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_toActive", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11201", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F03_03_Input_Target_Synthesis", - "label":"F03_03_Input_Target_Synthesis", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"F03_02_Control_Mode_Manager", - "label":"F03_02_Control_Mode_Manager", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "on", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "Stateflow.Translate.translate", - "void_void", - "off", - "off", - "off", - "", - "", - "ExplicitOnly", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11159", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F03_01_Mode_Transition_Calculation", - "label":"F03_01_Mode_Transition_Calculation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11296", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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":"BLDCmotor_FOC_R2017b_fixdt:11852", "className":"Simulink.Outport", @@ -1305,11 +756,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11298", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11290", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"Goto12", + "label":"Goto12", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -1318,7 +769,7 @@ "IconDisplay" ], "values":[ - "b_errFlag", + "VqFinPrev", "local", "Tag" ], @@ -1338,61 +789,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11156", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11277", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"r_inpTgt", - "label":"r_inpTgt", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "IconDisplay" ], "values":[ - "6", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "b_toSpdMod", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1400,16 +815,144 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11284", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11291", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"BLDCmotor_FOC_R2017b_fixdt:11281", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"From24", + "label":"From24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"BLDCmotor_FOC_R2017b_fixdt:11276", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"BLDCmotor_FOC_R2017b_fixdt:11295", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"BLDCmotor_FOC_R2017b_fixdt:11279", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -1436,21 +979,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11293", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11851", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"From3", + "label":"From3", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "b_toActive", - "local", + "r_inpTgtScaAbs", "Tag" ], "tabs":[ @@ -1464,7 +1005,407 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11201", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F03_03_Input_Target_Synthesis", + "label":"F03_03_Input_Target_Synthesis", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"BLDCmotor_FOC_R2017b_fixdt:11275", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toOpen", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11280", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"BLDCmotor_FOC_R2017b_fixdt:11159", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F03_01_Mode_Transition_Calculation", + "label":"F03_01_Mode_Transition_Calculation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"BLDCmotor_FOC_R2017b_fixdt:10702", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs1", + "label":"Abs1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"BLDCmotor_FOC_R2017b_fixdt:11200", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "name":"F03_02_Control_Mode_Manager", + "label":"F03_02_Control_Mode_Manager", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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", + "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":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", "masktype":"" } }, @@ -1536,40 +1477,93 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10702", - "className":"Simulink.Abs", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11293", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Abs1", - "label":"Abs1", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_toActive", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11497", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ + "3", + "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":{ @@ -1578,7 +1572,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Abs", + "blocktype":"Inport", "masktype":"" } }, @@ -1650,78 +1644,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11154", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlTypSel", - "label":"z_ctrlTypSel", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "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":"BLDCmotor_FOC_R2017b_fixdt:11281", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11498", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", + "name":"From42", + "label":"From42", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -1729,7 +1656,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "b_cruiseCtrlEna", "Tag" ], "tabs":[ @@ -1748,11 +1675,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11497", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11156", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_cruiseCtrlEna", - "label":"b_cruiseCtrlEna", + "name":"r_inpTgt", + "label":"r_inpTgt", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -1775,7 +1702,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "6", "Port number", "[]", "[]", @@ -1814,6 +1741,114 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11716", + "className":"Simulink.TriggerPort", + "icon":"WebViewIcon3", + "name":"function", + "label":"function", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "inspector":{ + "params":[ + "TriggerType", + "IsSimulinkFunction", + "StatesWhenEnabling", + "PropagateVarSize", + "ShowOutputPort", + "SampleTimeType", + "OutDataTypeStr", + "FunctionName", + "FunctionPrototype", + "FunctionVisibility", + "GeneratePreprocessorConditionals", + "InitialTriggerSignalState", + "Interpolate", + "OutMax", + "OutMin", + "OutputDataType", + "PortDimensions", + "SampleTime", + "TriggerSignalSampleTime", + "Variant", + "VariantControl", + "ZeroCross" + ], + "values":[ + "function-call", + "off", + "held", + "During execution", + "off", + "triggered", + "Inherit: auto", + "", + "f()", + "global", + "off", + "compatibility (no trigger on first evaluation)", + "on", + "[]", + "[]", + "auto", + "-1", + "1", + "-1", + "off", + "Variant", + "on" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 6, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"TriggerPort", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11278", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", + "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":"BLDCmotor_FOC_R2017b_fixdt:11153", "className":"Simulink.Inport", @@ -1949,11 +1984,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11286", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11274", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"From", + "label":"From", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ @@ -1961,7 +1996,7 @@ "IconDisplay" ], "values":[ - "z_ctrlMod", + "b_toActive", "Tag" ], "tabs":[ @@ -1980,91 +2015,50 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11275", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11154", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_toOpen", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11716", - "className":"Simulink.TriggerPort", - "icon":"WebViewIcon3", - "name":"function", - "label":"function", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", - "inspector":{ - "params":[ - "TriggerType", - "IsSimulinkFunction", - "StatesWhenEnabling", - "PropagateVarSize", - "ShowOutputPort", - "SampleTimeType", - "OutDataTypeStr", - "FunctionName", - "FunctionPrototype", - "FunctionVisibility", - "GeneratePreprocessorConditionals", - "InitialTriggerSignalState", - "Interpolate", - "OutMax", + "Port", + "IconDisplay", "OutMin", - "OutputDataType", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", "PortDimensions", + "VarSizeSig", "SampleTime", - "TriggerSignalSampleTime", - "Variant", - "VariantControl", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "function-call", - "off", - "held", - "During execution", - "off", - "triggered", + "4", + "Port number", + "[]", + "[]", "Inherit: auto", - "", - "f()", - "global", "off", - "compatibility (no trigger on first evaluation)", - "on", - "[]", - "[]", + "inherit", + "-1", + "Inherit", + "-1", "auto", - "-1", - "1", - "-1", "off", - "Variant", - "on" + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", @@ -2073,8 +2067,8 @@ ], "tabs_idx":[ 0, - 6, - 7 + 2, + 11 ] }, "viewer":{ @@ -2083,7 +2077,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"TriggerPort", + "blocktype":"Inport", "masktype":"" } }, diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.png new file mode 100644 index 0000000..b6f0664 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg index 02c626a..61d8cd4 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11151_d.svg @@ -155,6 +155,39 @@ + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + @@ -167,11 +200,11 @@ - + - + [b_cruiseCtrlEna] @@ -200,11 +233,11 @@ - + - + [z_ctrlTypSel] @@ -221,39 +254,6 @@ - - - - - - - - - - - - - - - - - - [b_toSpdMod] - - - - - - - - - - - - - - - @@ -320,105 +320,6 @@ - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - @@ -431,11 +332,11 @@ - + - + [r_inpTgtScaAbs] @@ -464,11 +365,11 @@ - + - + [b_toOpen] @@ -497,11 +398,11 @@ - + - + [z_ctrlMod] @@ -530,11 +431,11 @@ - + - + [VqFinPrev] @@ -552,11 +453,11 @@ - + - + sfix16_En4 @@ -566,6 +467,87 @@ + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + @@ -578,11 +560,11 @@ - + - + [b_toTrqMod] @@ -600,11 +582,11 @@ - + - + boolean @@ -616,44 +598,77 @@ - - - + + + - - + + - - + + - - [b_cruiseCtrlEna] + + [b_toTrqMod] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + - - + + - - + + - - boolean + + uint8 @@ -674,11 +689,11 @@ - + - + [b_motEna] @@ -696,11 +711,11 @@ - + - + boolean @@ -712,44 +727,44 @@ - - - + + + - - + + - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - + - - sfix16_En4 + + 2 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs @@ -760,140 +775,29 @@ - - - + + + - - + + - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - + - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] + + [VqFinPrev] - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 + + @@ -914,11 +818,11 @@ - + - + [b_toSpdMod] @@ -936,11 +840,11 @@ - + - + boolean @@ -950,6 +854,87 @@ + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -962,11 +947,11 @@ - + - + [b_errFlag] @@ -984,11 +969,11 @@ - + - + boolean @@ -1000,44 +985,125 @@ - - - + + + - - + + - - + + - - [b_toActive] + + [b_toSpdMod] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + - - + + - - + + - - boolean + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1064,51 +1130,51 @@ - + - + z_ctrlTypSel - + - + z_ctrlModReq - + - + z_ctrlMod - + - + r_inpTgt - + - + VqFinPrev - + - + r_inpTgtSca @@ -1138,11 +1204,11 @@ - + - + F03_03_Input_Target_Synthesis @@ -1159,11 +1225,11 @@ - + - + sfix16_En4 @@ -1175,134 +1241,98 @@ - + - - + + - - - - - - - - + + - - - - - - - b_toOpen - - - - - - - - b_toActive - - - - - - - - b_toSpdMod - - - - - - - - b_toTrqMod - - + - - z_ctrlMod - - - - - - - - - - - - - - - - - - - - - F03_02_Control_Mode_Manager - - - - - - - - - - - - - + + [b_toOpen] - - - - - - - - + + - - - - - - - - + + - - + + - - uint8 + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1314,88 +1344,82 @@ - - - - - - - + - + - + - + - + b_errFlag - + - + b_motEna - + - + b_cruiseCtrlEna - + - + z_ctrlModReq - + - + b_toOpen - + - + b_toActive - + - + b_toSpdMod - + - + b_toTrqMod @@ -1403,7 +1427,7 @@ - + @@ -1416,7 +1440,7 @@ - + @@ -1425,11 +1449,11 @@ - + - + F03_01_Mode_Transition_Calculation @@ -1437,28 +1461,7 @@ - - - - - - - - - - - - - - - boolean - - - - - - - + @@ -1467,11 +1470,11 @@ - + - + boolean @@ -1479,7 +1482,7 @@ - + @@ -1488,11 +1491,11 @@ - + - + boolean @@ -1500,7 +1503,7 @@ - + @@ -1509,339 +1512,33 @@ - + - + boolean - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + - + - - [b_toTrqMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtScaAbs - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toActive] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - sfix16_En4 + + boolean @@ -1853,8 +1550,14 @@ + + + + + + - + @@ -1862,35 +1565,35 @@ - + - + - + - + - + - + - + - + @@ -1916,11 +1619,11 @@ - + - + sfix16_En4 @@ -1930,6 +1633,303 @@ + + + + + + + + + + + + + + + + + + + + + + + + b_toOpen + + + + + + + + b_toActive + + + + + + + + b_toSpdMod + + + + + + + + b_toTrqMod + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + + + + + + + F03_02_Control_Mode_Manager + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toActive] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -1995,59 +1995,44 @@ - - - + + + - - + + - + - - 4 + + [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - z_ctrlTypSel + + - - + + - - + + - - uint8 + + boolean @@ -2058,43 +2043,58 @@ - - - + + + - - + + - - + + - - [r_inpTgtSca] + + 6 - - + + + + + + + + + + + + + + + + + r_inpTgt - + - + - + sfix16_En4 @@ -2106,59 +2106,92 @@ - - - + + + - - + + - + - - 3 + + f() - - + + - - + + - + - - b_cruiseCtrlEna + + function + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + - - + + - - + + - - boolean + + uint8 @@ -2179,11 +2212,11 @@ - + - + 2 @@ -2201,11 +2234,11 @@ - + - + b_motEna @@ -2216,11 +2249,11 @@ - + - + boolean @@ -2242,11 +2275,11 @@ - + - + 1 @@ -2264,11 +2297,11 @@ - + - + b_errFlag @@ -2279,11 +2312,11 @@ - + - + boolean @@ -2295,91 +2328,43 @@ - - + + - + - + - - [z_ctrlMod] + + [b_toActive] - + - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toOpen] - - - - - - - - - - - - - + - - + + - + boolean @@ -2391,44 +2376,59 @@ - - - + + + - - + + - - + + - - f() + + 4 - - + + - - + + + + + + + + + + z_ctrlTypSel + + + + + + + - + - - function + + uint8 @@ -2879,5 +2879,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json index 096d630..0859854 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json @@ -1,4 +1,84 @@ [ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11198", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_toSpdMod", + "label":"b_toSpdMod", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "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":"BLDCmotor_FOC_R2017b_fixdt:11193", "className":"Simulink.Constant", @@ -48,6 +128,55 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11194", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant5", + "label":"constant5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "VLT_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":"BLDCmotor_FOC_R2017b_fixdt:11190", "className":"Simulink.RelationalOperator", @@ -138,6 +267,86 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11196", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_toOpen", + "label":"b_toOpen", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "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":"BLDCmotor_FOC_R2017b_fixdt:11189", "className":"Simulink.RelationalOperator", @@ -183,100 +392,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11188", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "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":"BLDCmotor_FOC_R2017b_fixdt:11192", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"constant", - "label":"constant", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "TRQ_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":"BLDCmotor_FOC_R2017b_fixdt:11197", "className":"Simulink.Outport", @@ -357,119 +472,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11198", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"b_toSpdMod", - "label":"b_toSpdMod", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "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":"BLDCmotor_FOC_R2017b_fixdt:11182", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11181", "className":"Simulink.Goto", @@ -503,6 +505,247 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11180", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "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":"BLDCmotor_FOC_R2017b_fixdt:11188", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator1", + "label":"Relational Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "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":"BLDCmotor_FOC_R2017b_fixdt:11178", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_toActive", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11177", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "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":"BLDCmotor_FOC_R2017b_fixdt:11176", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "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":"BLDCmotor_FOC_R2017b_fixdt:11496", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11174", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toOpen", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11195", "className":"Simulink.Constant", @@ -552,86 +795,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11175", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "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":"BLDCmotor_FOC_R2017b_fixdt:11194", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"constant5", - "label":"constant5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "VLT_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":"BLDCmotor_FOC_R2017b_fixdt:11493", "className":"Simulink.From", @@ -664,11 +827,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11173", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11172", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"From5", + "label":"From5", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -676,7 +839,7 @@ "IconDisplay" ], "values":[ - "b_toSpdMod", + "b_toOpen", "Tag" ], "tabs":[ @@ -695,11 +858,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11170", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11173", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From6", + "label":"From6", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -707,7 +870,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModReq", + "b_toSpdMod", "Tag" ], "tabs":[ @@ -757,11 +920,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11169", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11170", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From3", + "label":"From3", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -769,7 +932,7 @@ "IconDisplay" ], "values":[ - "b_toTrqMod", + "z_ctrlModReq", "Tag" ], "tabs":[ @@ -788,21 +951,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11177", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11168", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"From13", + "label":"From13", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "z_ctrlModReq", - "local", "Tag" ], "tabs":[ @@ -816,16 +977,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11196", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11199", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"b_toOpen", - "label":"b_toOpen", + "name":"b_toTrqMod", + "label":"b_toTrqMod", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -854,7 +1015,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "1", + "4", "Port number", "[]", "[]", @@ -901,11 +1062,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11491", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11167", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From42", - "label":"From42", + "name":"From12", + "label":"From12", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -913,7 +1074,71 @@ "IconDisplay" ], "values":[ - "b_cruiseCtrlEna", + "b_toTrqMod", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11182", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11166", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_toSpdMod", "Tag" ], "tabs":[ @@ -963,11 +1188,91 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11180", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11175", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "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":"BLDCmotor_FOC_R2017b_fixdt:11192", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant", + "label":"constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "TRQ_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":"BLDCmotor_FOC_R2017b_fixdt:11179", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -976,7 +1281,7 @@ "IconDisplay" ], "values":[ - "b_toOpen", + "b_toSpdMod", "local", "Tag" ], @@ -996,42 +1301,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11163", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "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":"BLDCmotor_FOC_R2017b_fixdt:11162", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11495", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlModReq", - "label":"z_ctrlModReq", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -1054,7 +1328,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "3", "Port number", "[]", "[]", @@ -1192,44 +1466,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11178", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_toActive", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11174", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11169", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -1237,7 +1478,7 @@ "IconDisplay" ], "values":[ - "b_toOpen", + "b_toTrqMod", "Tag" ], "tabs":[ @@ -1256,11 +1497,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11495", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11162", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_cruiseCtrlEna", - "label":"b_cruiseCtrlEna", + "name":"z_ctrlModReq", + "label":"z_ctrlModReq", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -1283,7 +1524,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "4", "Port number", "[]", "[]", @@ -1322,70 +1563,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11172", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_toOpen", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11496", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_cruiseCtrlEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11161", "className":"Simulink.Inport", @@ -1454,44 +1631,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11179", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "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":"BLDCmotor_FOC_R2017b_fixdt:11167", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11163", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", + "name":"From", + "label":"From", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -1499,7 +1643,7 @@ "IconDisplay" ], "values":[ - "b_toTrqMod", + "b_errFlag", "Tag" ], "tabs":[ @@ -1518,44 +1662,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11176", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "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":"BLDCmotor_FOC_R2017b_fixdt:11166", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11491", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"From42", + "label":"From42", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -1563,7 +1674,7 @@ "IconDisplay" ], "values":[ - "b_toSpdMod", + "b_cruiseCtrlEna", "Tag" ], "tabs":[ @@ -1582,122 +1693,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11168", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "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":"BLDCmotor_FOC_R2017b_fixdt:11199", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"b_toTrqMod", - "label":"b_toTrqMod", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "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", - "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":"BLDCmotor_FOC_R2017b_fixdt:11187", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11492", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator9", - "label":"Logical Operator9", + "name":"Logical Operator2", + "label":"Logical Operator2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -1709,7 +1709,7 @@ "SampleTime" ], "values":[ - "NOT", + "AND", "rectangular", "off", "boolean", @@ -1783,11 +1783,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11492", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11187", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator2", - "label":"Logical Operator2", + "name":"Logical Operator9", + "label":"Logical Operator9", "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", "inspector":{ "params":[ @@ -1799,52 +1799,7 @@ "SampleTime" ], "values":[ - "AND", - "rectangular", - "off", - "boolean", - "2", - "-1" - ], - "tabs":[ - "Main", - "Data Type", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Logic", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11486", - "className":"Simulink.Logic", - "icon":"WebViewIcon3", - "name":"Logical Operator1", - "label":"Logical Operator1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", - "inspector":{ - "params":[ - "Operator", - "IconShape", - "AllPortsSameDT", - "OutDataTypeStr", - "Inputs", - "SampleTime" - ], - "values":[ - "OR", + "NOT", "rectangular", "off", "boolean", @@ -2052,6 +2007,51 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11486", + "className":"Simulink.Logic", + "icon":"WebViewIcon3", + "name":"Logical Operator1", + "label":"Logical Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11159", + "inspector":{ + "params":[ + "Operator", + "IconShape", + "AllPortsSameDT", + "OutDataTypeStr", + "Inputs", + "SampleTime" + ], + "values":[ + "OR", + "rectangular", + "off", + "boolean", + "2", + "-1" + ], + "tabs":[ + "Main", + "Data Type", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Logic", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11183#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png new file mode 100644 index 0000000..e18c17f Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg index 2042443..8619134 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.svg @@ -10,6 +10,54 @@ + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_toSpdMod + + + + + + + @@ -23,11 +71,11 @@ - + - + SPD_MODE @@ -45,11 +93,59 @@ - + - + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + VLT_MODE + + + + + + + + + + + + + + + + + + + + + uint8 @@ -63,7 +159,7 @@ - + @@ -71,27 +167,27 @@ - + - + - + - + - + - + @@ -117,11 +213,11 @@ - + - + boolean @@ -135,7 +231,7 @@ - + @@ -143,27 +239,27 @@ - + - + - + - + - + - + @@ -189,11 +285,11 @@ - + - + boolean @@ -203,11 +299,59 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_toOpen + + + + + + + + - + @@ -215,27 +359,27 @@ - + - + - + - + - + - + @@ -261,11 +405,11 @@ - + - + boolean @@ -275,11 +419,125 @@ + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + b_toActive + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toOpen] + + + + + + + + + + + + + + + - + @@ -287,27 +545,27 @@ - + - + - + - + - + - + @@ -333,1037 +591,11 @@ - + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - TRQ_MODE - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - b_toActive - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - b_toSpdMod - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OPEN_MODE - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - VLT_MODE - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toSpdMod] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toTrqMod] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_toOpen - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toActive] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toOpen] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - z_ctrlModReq - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - b_motEna - - - - - - - - - - - - - - + boolean @@ -1385,11 +617,11 @@ - + - + [b_toActive] @@ -1406,6 +638,105 @@ + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + @@ -1418,11 +749,11 @@ - + - + [b_toOpen] @@ -1440,11 +771,11 @@ - + - + boolean @@ -1456,58 +787,91 @@ - - - + + + - - + + - - + + - - 3 + + OPEN_MODE - - - - - - - - - - - - - - - - - b_cruiseCtrlEna + + - + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + - - + + - + boolean @@ -1529,11 +893,11 @@ - + - + [b_toOpen] @@ -1551,11 +915,11 @@ - + - + boolean @@ -1567,172 +931,43 @@ - - - + + + - - + + - - + + - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_errFlag - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - + [b_toSpdMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_toTrqMod] - - - - - - + - + - - + + - + boolean @@ -1744,29 +979,44 @@ - - - + + + - - + + - - + + - - [b_toTrqMod] + + [z_ctrlModReq] - - + + + + + + + + + + + + + + + + + uint8 @@ -1777,44 +1027,44 @@ - - + + - + - + - - [b_toSpdMod] + + [z_ctrlModReq] - + - - + + - - + + - - boolean + + uint8 @@ -1835,11 +1085,11 @@ - + - + [z_ctrlModReq] @@ -1857,11 +1107,11 @@ - + - + uint8 @@ -1883,11 +1133,11 @@ - + - + 4 @@ -1905,11 +1155,11 @@ - + - + b_toTrqMod @@ -1921,30 +1171,780 @@ - - - + + + - - + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toActive] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + TRQ_MODE + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toSpdMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toTrqMod] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + z_ctrlModReq + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_errFlag + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + - + - - + + - - + + @@ -1954,8 +1954,8 @@ - - + + @@ -1965,15 +1965,15 @@ - + - + - + boolean @@ -1987,7 +1987,7 @@ - + @@ -2049,30 +2049,30 @@ - - - + + + - - + + - + - - + + - - + + @@ -2081,24 +2081,9 @@ - - - - - - - - - - - boolean - - - - - - + + @@ -2107,70 +2092,21 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - + boolean - - - - - - - - - - - @@ -2179,7 +2115,7 @@ - + @@ -2187,19 +2123,19 @@ - + - + - + - + @@ -2214,11 +2150,11 @@ - + - + boolean @@ -2251,19 +2187,19 @@ - + - + - + - + @@ -2289,11 +2225,11 @@ - + - + boolean @@ -2307,7 +2243,7 @@ - + @@ -2315,19 +2251,19 @@ - + - + - + - + @@ -2337,21 +2273,6 @@ - - - - - - - - - - - boolean - - - - @@ -2363,6 +2284,21 @@ + + + + + + + + + + + boolean + + + + @@ -2379,19 +2315,19 @@ - + - + - + - + @@ -2401,24 +2337,88 @@ + + + + + + + + + + + - + - + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean - - + + @@ -2923,5 +2923,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json index 19ab883..1f5433e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json @@ -180,73 +180,7 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:73", - "className":"Stateflow.Transition", - "icon":"WebViewIcon9", - "name":"", - "label":"[b_toTrqMod || ... b_toSpdMod]", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 1, - "[b_toTrqMod || ...\nb_toSpdMod]", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:32", - "className":"Stateflow.Transition", - "icon":"WebViewIcon9", - "name":"", - "label":"[b_toSpdMod]", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 1, - "[b_toSpdMod]", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:12", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:33", "className":"Stateflow.Transition", "icon":"WebViewIcon9", "name":"", @@ -260,7 +194,7 @@ "Document" ], "values":[ - 2, + 1, "", "", "" @@ -345,11 +279,11 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:31", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:71", "className":"Stateflow.Transition", "icon":"WebViewIcon9", "name":"", - "label":"[b_toTrqMod]", + "label":"[~b_toTrqMod]", "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ @@ -360,7 +294,7 @@ ], "values":[ 1, - "[b_toTrqMod]", + "[~b_toTrqMod]", "", "" ], @@ -378,11 +312,11 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:71", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:32", "className":"Stateflow.Transition", "icon":"WebViewIcon9", "name":"", - "label":"[~b_toTrqMod]", + "label":"[b_toSpdMod]", "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", "inspector":{ "params":[ @@ -393,7 +327,7 @@ ], "values":[ 1, - "[~b_toTrqMod]", + "[b_toSpdMod]", "", "" ], @@ -444,7 +378,7 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:33", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:12", "className":"Stateflow.Transition", "icon":"WebViewIcon9", "name":"", @@ -458,7 +392,7 @@ "Document" ], "values":[ - 1, + 2, "", "", "" @@ -476,6 +410,72 @@ "finder":[ ] }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:31", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[b_toTrqMod]", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[b_toTrqMod]", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:73", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[b_toTrqMod || ... b_toSpdMod]", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[b_toTrqMod || ...\nb_toSpdMod]", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:1", "className":"Stateflow.State", @@ -521,39 +521,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:14", - "className":"Stateflow.Transition", - "icon":"WebViewIcon9", - "name":"", - "label":"[b_toOpen]", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 1, - "[b_toOpen]", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:13", "className":"Stateflow.Transition", @@ -619,5 +586,38 @@ ], "finder":[ ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11200:14", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[b_toOpen]", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11200", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[b_toOpen]", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] } ] \ No newline at end of file diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg index 7c09915..9df3252 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg @@ -165,40 +165,28 @@ - - - - - - - - - - - - - + - + - + - + - + @@ -257,7 +245,7 @@ - + @@ -269,6 +257,18 @@ + + + + + + + + + + + + @@ -364,7 +364,7 @@ - + @@ -372,63 +372,133 @@ - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - [b_toTrqMod || + + - + - - + + [~b_toSpdMod] + + + + + + + + + + + - - - + + + + - - ... + + + + + + + + - + - - + + - + - - b_toSpdMod] + + [~b_toTrqMod] - + @@ -440,7 +510,7 @@ - + @@ -492,11 +562,34 @@ + + + + + + + + + + + + + + + + + + + + + + + - + @@ -529,90 +622,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [~b_toSpdMod] - - - - - - - - - - + @@ -627,19 +641,19 @@ - + - + - + - + [b_toTrqMod] @@ -649,11 +663,11 @@ - + - + 1 @@ -666,72 +680,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [~b_toTrqMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -739,12 +688,63 @@ - + - + - + + + + + + + + + + + + + + + + + + [b_toTrqMod || + + + + + + + + + + + + + + + + ... + + + + + + + + + + + + + + + + b_toSpdMod] + + @@ -861,49 +861,13 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - [b_toOpen] - - - - - - - - - - - - @@ -914,19 +878,19 @@ - + - + - + - + [b_toActive] @@ -954,7 +918,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_toOpen] + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json index 200e7cf..d432c29 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.json @@ -97,98 +97,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11270", - "className":"Simulink.Saturate", - "icon":"WebViewIcon3", - "name":"Saturation", - "label":"Saturation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "inspector":{ - "params":[ - "UpperLimit", - "LowerLimit", - "LinearizeAsGain", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SampleTime", - "ZeroCross" - ], - "values":[ - "1000", - "-1000", - "on", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Floor", - "-1", - "on" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 8 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Saturate", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11253", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge1", - "label":"Merge1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "inspector":{ - "params":[ - "Inputs", - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets" - ], - "values":[ - "2", - "[]", - "off", - "[]" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11271", "className":"Simulink.Outport", @@ -270,36 +178,46 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11250", - "className":"Simulink.If", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11270", + "className":"Simulink.Saturate", "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", + "name":"Saturation", + "label":"Saturation", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", + "UpperLimit", + "LowerLimit", + "LinearizeAsGain", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", "SampleTime", "ZeroCross" ], "values":[ - "1", - "u1 == CTRL_FOC", - "", + "1000", + "-1000", "on", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Floor", "-1", "on" ], "tabs":[ - "Parameter Attributes", + "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 4 + 3, + 8 ] }, "viewer":{ @@ -308,32 +226,135 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"If", + "blocktype":"Saturate", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11248", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11254", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Open_Mode", + "label":"Open_Mode", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "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":[ - "r_inpTgtScaRaw", - "local", - "Tag" + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ - "Parameter Attributes" + "Main", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11253", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge1", + "label":"Merge1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "2", + "[]", + "off", + "[]" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -341,40 +362,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11245", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "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", + "blocktype":"Merge", "masktype":"" } }, @@ -444,6 +432,134 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11248", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "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":"BLDCmotor_FOC_R2017b_fixdt:11240", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "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":"BLDCmotor_FOC_R2017b_fixdt:11245", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "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":"BLDCmotor_FOC_R2017b_fixdt:11239", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "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":"BLDCmotor_FOC_R2017b_fixdt:11242", "className":"Simulink.From", @@ -476,11 +592,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11241", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11237", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", + "name":"From10", + "label":"From10", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ @@ -507,54 +623,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11251", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "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":"BLDCmotor_FOC_R2017b_fixdt:11240", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11236", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ @@ -562,7 +635,69 @@ "IconDisplay" ], "values":[ - "r_inpTgtScaRaw", + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11235", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "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":"BLDCmotor_FOC_R2017b_fixdt:11241", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From22", + "label":"From22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgt", "Tag" ], "tabs":[ @@ -620,42 +755,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11238", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "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":"BLDCmotor_FOC_R2017b_fixdt:11243", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11247", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ @@ -664,7 +768,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "z_ctrlMod", "local", "Tag" ], @@ -683,266 +787,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11236", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "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":"BLDCmotor_FOC_R2017b_fixdt:11215", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"FOC_Control_Type", - "label":"FOC_Control_Type", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11235", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "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":"BLDCmotor_FOC_R2017b_fixdt:11207", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Default_Control_Type", - "label":"Default_Control_Type", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11206", "className":"Simulink.Inport", @@ -1011,159 +855,36 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11211", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Default_Mode", - "label":"Default_Mode", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11205", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11251", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"r_inpTgt", - "label":"r_inpTgt", + "name":"If2", + "label":"If2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "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":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", + "1", + "u1 == OPEN_MODE", "", "on", - "off", - "off", - "off" + "-1", + "on" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 4 ] }, "viewer":{ @@ -1172,16 +893,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"If", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11237", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11238", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"From11", + "label":"From11", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ @@ -1189,7 +910,7 @@ "IconDisplay" ], "values":[ - "r_inpTgt", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -1207,6 +928,233 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11244", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "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":"BLDCmotor_FOC_R2017b_fixdt:11207", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Default_Control_Type", + "label":"Default_Control_Type", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "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":"BLDCmotor_FOC_R2017b_fixdt:11211", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Default_Mode", + "label":"Default_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "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":"BLDCmotor_FOC_R2017b_fixdt:11204", "className":"Simulink.Inport", @@ -1342,11 +1290,54 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11244", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11250", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "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":"BLDCmotor_FOC_R2017b_fixdt:11243", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ @@ -1355,71 +1346,7 @@ "IconDisplay" ], "values":[ - "z_ctrlModReq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11239", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "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":"BLDCmotor_FOC_R2017b_fixdt:11247", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlMod", + "r_inpTgtSca", "local", "Tag" ], @@ -1506,32 +1433,31 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11254", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11215", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Open_Mode", - "label":"Open_Mode", + "name":"FOC_Control_Type", + "label":"FOC_Control_Type", "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", "inspector":{ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1543,30 +1469,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -1578,19 +1504,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1604,6 +1529,73 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11205", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgt", + "label":"r_inpTgt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11201", + "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":"BLDCmotor_FOC_R2017b_fixdt:11215#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png new file mode 100644 index 0000000..eef681e Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg index 4fc3b95..428612f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11201_d.svg @@ -49,11 +49,59 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + - + @@ -61,35 +109,35 @@ - + - + - + - + - + - + - + - + @@ -115,11 +163,11 @@ - + - + sfix16_En4 @@ -129,11 +177,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + r_inpTgtScaOpen + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Open_Mode + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + - + @@ -141,19 +319,19 @@ - + - + - + - + @@ -179,11 +357,11 @@ - + - + sfix16_En4 @@ -193,199 +371,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 == CTRL_FOC) - - - - - - - - else - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaRaw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - @@ -398,11 +383,11 @@ - + - + [z_ctrlTypSel] @@ -431,11 +416,11 @@ - + - + [r_inpTgt] @@ -452,6 +437,168 @@ + + + + + + + + + + + + + + + + + + [r_inpTgtScaRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaRaw] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + @@ -464,11 +611,11 @@ - + - + [z_ctrlModReq] @@ -486,11 +633,155 @@ - + - + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + uint8 @@ -512,11 +803,11 @@ - + - + [r_inpTgt] @@ -534,138 +825,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 == OPEN_MODE) - - - - - - - - else - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaRaw] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -679,7 +843,7 @@ - + @@ -687,19 +851,19 @@ - + - + - + - + @@ -725,11 +889,11 @@ - + - + sfix16_En4 @@ -739,6 +903,181 @@ + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == OPEN_MODE) + + + + + + + + else + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + @@ -751,11 +1090,11 @@ - + - + [r_inpTgtSca] @@ -773,11 +1112,11 @@ - + - + sfix16_En4 @@ -789,28 +1128,28 @@ - - + + - + - + - - [r_inpTgtSca] + + [z_ctrlModReq] - + @@ -820,245 +1159,11 @@ - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - z_ctrlModReq - - - - - - - - r_inpTgtScaFOC - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FOC_Control_Type - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - + @@ -1072,27 +1177,27 @@ - + - + r_inpTgt - + - + r_inpTgtScaDft - + - + else { } @@ -1122,11 +1227,11 @@ - + - + Default_Control_Type @@ -1139,16 +1244,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -1160,84 +1265,15 @@ - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - + - - + + - + sfix16_En4 @@ -1250,8 +1286,14 @@ + + + + + + - + @@ -1265,27 +1307,27 @@ - + - + r_inpTgtScaRaw - + - + r_inpTgtScaDft - + - + else { } @@ -1315,11 +1357,11 @@ - + - + Default_Mode @@ -1332,27 +1374,6 @@ - - - - - - - - - - action - - - - - - - - - - - @@ -1367,119 +1388,23 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - + + + + + + + + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 + + action @@ -1491,6 +1416,12 @@ + + + + + + @@ -1500,11 +1431,11 @@ - + - + 3 @@ -1522,11 +1453,11 @@ - + - + z_ctrlMod @@ -1537,11 +1468,11 @@ - + - + uint8 @@ -1563,11 +1494,11 @@ - + - + 2 @@ -1585,11 +1516,11 @@ - + - + z_ctrlModReq @@ -1600,11 +1531,11 @@ - + - + uint8 @@ -1616,11 +1547,90 @@ - - + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == CTRL_FOC) + + + + + + + + else + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + - + @@ -1630,95 +1640,14 @@ - - [z_ctrlModReq] + + [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - + @@ -1740,11 +1669,11 @@ - + - + 1 @@ -1762,11 +1691,11 @@ - + - + z_ctrlTypSel @@ -1777,11 +1706,11 @@ - + - + uint8 @@ -1793,9 +1722,9 @@ - - - + + + @@ -1803,33 +1732,41 @@ - - + + - - + + - - VqFinPrev + + r_inpTgt - - + + - - r_inpTgtScaOpen + + z_ctrlModReq - - + + - + + r_inpTgtScaFOC + + + + + + + if { } @@ -1842,8 +1779,8 @@ - - + + @@ -1855,16 +1792,16 @@ - - + + - - + + - - Open_Mode + + FOC_Control_Type @@ -1876,15 +1813,15 @@ - + - - + + - + action @@ -1897,15 +1834,84 @@ - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + - + - + sfix16_En4 @@ -1918,12 +1924,6 @@ - - - - - - @@ -2259,5 +2259,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg index ede785d..db377bc 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11207_d.svg @@ -186,5 +186,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json index eb82b53..e3a2a16 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json @@ -1,4 +1,35 @@ [ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11213", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11211", + "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":"BLDCmotor_FOC_R2017b_fixdt:11214", "className":"Simulink.Outport", @@ -79,37 +110,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11213", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11211", - "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":"BLDCmotor_FOC_R2017b_fixdt:11212", "className":"Simulink.Inport", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg index 75f6be9..c629e16 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.svg @@ -10,60 +10,12 @@ - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtScaDft - - - - - - - - + @@ -71,11 +23,11 @@ - + - + else { } @@ -93,11 +45,11 @@ - + - + Action Port @@ -107,6 +59,54 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaDft + + + + + + + + @@ -186,5 +186,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json index f1cc6b5..01a8c2d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json @@ -1,31 +1,62 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11233", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11234", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"n_max", - "label":"n_max", + "name":"r_inpTgtScaFOC", + "label":"r_inpTgtScaFOC", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "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":[ - "n_max", - "on", - "inf", + "1", + "Port number", "[]", "[]", - "fixdt(1,16,4)", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -34,8 +65,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -44,56 +75,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11232", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"i_max", - "label":"i_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", - "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", + "blocktype":"Outport", "masktype":"" } }, @@ -298,11 +280,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11225", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11226", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto13", + "label":"Goto13", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ @@ -311,7 +293,40 @@ "IconDisplay" ], "values":[ - "z_ctrlModReq", + "r_inpTgt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11224", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaFOC", "local", "Tag" ], @@ -362,25 +377,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11222", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11232", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", + "name":"i_max", + "label":"i_max", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "r_inpTgt", - "Tag" + "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" @@ -388,16 +421,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11226", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11225", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ @@ -406,7 +439,7 @@ "IconDisplay" ], "values":[ - "r_inpTgt", + "z_ctrlModReq", "local", "Tag" ], @@ -457,51 +490,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11220", - "className":"Simulink.Product", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11222", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Divide4", - "label":"Divide4", + "name":"From22", + "label":"From22", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "*/", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(0,16,12)", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "r_inpTgt", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -509,7 +516,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"From", "masktype":"" } }, @@ -570,39 +577,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11224", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaFOC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11218", "className":"Simulink.ActionPort", @@ -635,63 +609,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11234", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11233", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"r_inpTgtScaFOC", - "label":"r_inpTgtScaFOC", + "name":"n_max", + "label":"n_max", "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", "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":[ - "1", - "Port number", + "n_max", + "on", + "inf", "[]", "[]", - "Inherit: auto", + "fixdt(1,16,4)", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "inf" ], "tabs":[ "Main", @@ -700,8 +643,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 3, + 7 ] }, "viewer":{ @@ -710,7 +653,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"Constant", "masktype":"" } }, @@ -812,6 +755,63 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11220", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide4", + "label":"Divide4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11215", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "*/", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(0,16,12)", + "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":"BLDCmotor_FOC_R2017b_fixdt:11216", "className":"Simulink.Inport", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png new file mode 100644 index 0000000..c474320 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg index 5b906d4..65c0a7c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.svg @@ -13,122 +13,44 @@ - - - + + + - - + + - + - - n_max + + 1 - - + + - - + + - + - - n_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - i_max - - - - - - - - - - - - - - - - - - - - - - i_max - - - - - - - - - - - - - - - sfix16_En4 + + r_inpTgtScaFOC @@ -149,11 +71,11 @@ - + - + 0 @@ -171,11 +93,11 @@ - + - + sfix16_En4 @@ -197,11 +119,11 @@ - + - + 1000 @@ -219,11 +141,11 @@ - + - + sfix16_En4 @@ -245,11 +167,11 @@ - + - + Vd_max @@ -267,11 +189,11 @@ - + - + Vd_max @@ -282,11 +204,11 @@ - + - + sfix16_En4 @@ -300,7 +222,7 @@ - + @@ -308,35 +230,35 @@ - + - + U - + - + Idx1 - + - + 0 - + - + Y @@ -354,140 +276,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlModReq] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -509,11 +302,11 @@ - + - + [r_inpTgt] @@ -530,6 +323,183 @@ + + + + + + + + + + + + + + + + + + [r_inpTgtScaFOC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + i_max + + + + + + + + + + + + + + + + + + + + + + i_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlModReq] + + + + + + + + + + + + + + + @@ -542,11 +512,11 @@ - + - + [r_inpTgtScaFOC] @@ -564,11 +534,11 @@ - + - + sfix16_En4 @@ -580,69 +550,44 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + [r_inpTgt] - - + + - - + + - - + + - - ufix16_En12 + + sfix16_En4 @@ -655,7 +600,7 @@ - + @@ -663,19 +608,19 @@ - + - + - + - + @@ -693,11 +638,11 @@ - + - + sfix16_En4 @@ -707,44 +652,11 @@ - - - - - - - - - - - - - - - - - - [r_inpTgtScaFOC] - - - - - - - - - - - - - - - - + @@ -752,11 +664,11 @@ - + - + if { } @@ -774,11 +686,11 @@ - + - + Action Port @@ -790,44 +702,59 @@ - - - + + + - - + + - - + + - - 1 + + n_max - - + + - - + + - - + + - - r_inpTgtScaFOC + + n_max + + + + + + + + + + + + + + + sfix16_En4 @@ -848,11 +775,11 @@ - + - + @@ -870,11 +797,11 @@ - + - + sfix16_En4 @@ -896,11 +823,11 @@ - + - + 2 @@ -918,11 +845,11 @@ - + - + z_ctrlModReq @@ -933,11 +860,11 @@ - + - + uint8 @@ -947,6 +874,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En12 + + + + + + + + @@ -1208,5 +1208,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json index 0fb9b81..8037dfa 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json @@ -48,6 +48,103 @@ "finder":[ ] }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11267", + "className":"Rising edge init", + "icon":"WebViewIcon4", + "name":"rising_edge_init", + "label":"rising_edge_init", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "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":"Rising edge init" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11268", "className":"Simulink.Outport", @@ -128,198 +225,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11265", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon7", - "name":"Rate_Limiter", - "label":"Rate_Limiter", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", - "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":"BLDCmotor_FOC_R2017b_fixdt:11267", - "className":"Rising edge init", - "icon":"WebViewIcon5", - "name":"rising_edge_init", - "label":"rising_edge_init", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "on", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Rising edge init" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11263", "className":"Simulink.Goto", @@ -443,86 +348,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11266", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"dV_openRate", - "label":"dV_openRate", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", - "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, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11260", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", - "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":"BLDCmotor_FOC_R2017b_fixdt:11264", "className":"Simulink.Goto", @@ -604,20 +429,20 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11256", - "className":"Simulink.ActionPort", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11260", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"From", + "label":"From", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "IconDisplay" ], "values":[ - "reset", - "Only when execution is resumed" + "VqFinPrev", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -630,7 +455,54 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11258", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion", + "label":"Data Type Conversion", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "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":"" } }, @@ -684,39 +556,41 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11258", - "className":"Simulink.DataTypeConversion", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11266", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Data Type Conversion", - "label":"Data Type Conversion", + "name":"dV_openRate", + "label":"dV_openRate", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", "inspector":{ "params":[ + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" + "FramePeriod" ], "values":[ + "dV_openRate", + "on", + "inf", "[]", "[]", "fixdt(1,28,16)", "off", - "Real World Value (RWV)", - "Floor", - "off", - "-1" + "inf" ], "tabs":[ - "Parameter Attributes", + "Main", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, + 3, 7 ] }, @@ -726,7 +600,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"DataTypeConversion", + "blocktype":"Constant", "masktype":"" } }, @@ -797,6 +671,130 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11256", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "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":"BLDCmotor_FOC_R2017b_fixdt:11265", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon7", + "name":"Rate_Limiter", + "label":"Rate_Limiter", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", + "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":"BLDCmotor_FOC_R2017b_fixdt:11255#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.png new file mode 100644 index 0000000..dbd4802 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg index d17bcee..29098b0 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.svg @@ -38,218 +38,11 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtScaOpen - - - - - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - initVal - - - - - - - - init - - - - - - - - inc - - - - - - - - dec - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Rate_Limiter - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -257,43 +50,43 @@ - + - + - + - + - + - + - + - + - + - + @@ -311,11 +104,11 @@ - + - + boolean @@ -323,29 +116,29 @@ - + - + - + - + - + - + @@ -357,6 +150,54 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaOpen + + + + + + + + @@ -369,11 +210,11 @@ - + - + [r_inpTgtScaOpen] @@ -402,11 +243,11 @@ - + - + -1 @@ -424,11 +265,11 @@ - + - + sfix28_En16 @@ -450,11 +291,11 @@ - + - + [r_inpTgtScaOpen] @@ -472,122 +313,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - dV_openRate - - - - - - - - - - - - - - - - - - - - - - dV_openRate - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -609,11 +339,11 @@ - + - + [VqFinPrev] @@ -642,19 +372,19 @@ - + - + - + - + @@ -680,11 +410,11 @@ - + - + sfix16_En4 @@ -696,92 +426,44 @@ - - - + + + - - + + - - + + - - if { } + + [VqFinPrev] - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - + + - - + + - - + + - - sfix28_En16 + + sfix16_En4 @@ -802,19 +484,19 @@ - + - + - + - + @@ -840,11 +522,122 @@ - + - + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + dV_openRate + + + + + + + + + + + + + + + + + + + + + + dV_openRate + + + + + + + + + + + + + + sfix28_En16 @@ -866,11 +659,11 @@ - + - + 1 @@ -888,11 +681,11 @@ - + - + VqFinPrev @@ -903,11 +696,11 @@ - + - + sfix16_En4 @@ -917,6 +710,213 @@ + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + initVal + + + + + + + + init + + + + + + + + inc + + + + + + + + dec + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rate_Limiter + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1079,5 +1079,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg index aa8d25f..d75e3ab 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg @@ -15,7 +15,7 @@ - + @@ -444,7 +444,7 @@ - + @@ -693,36 +693,36 @@ - - - - - - - - - - - Ini=initVal - - - - - + - + sfix28_En16 + + + + + + + + + + + Ini=initVal + + + + @@ -853,5 +853,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg index 172fe62..2431fa1 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2395_d.svg @@ -142,7 +142,7 @@ - + @@ -334,7 +334,7 @@ - + @@ -1009,18 +1009,18 @@ - - - - - - + + + + + + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json index caf3a05..667f0cd 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json @@ -48,86 +48,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2360", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"y", - "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", - "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":"BLDCmotor_FOC_R2017b_fixdt:11265:2343", "className":"Simulink.Sum", @@ -187,108 +107,10 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2346", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "+-", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Zero", - "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":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", - "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":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"Delay_Init1", "label":"Delay_Init1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", @@ -382,70 +204,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2357", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2395", + "className":"Saturation Dynamic", "icon":"WebViewIcon3", - "name":"inc", - "label":"inc", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ - "Port", - "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "RndMeth", + "DoSatur" ], "values":[ - "4", - "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" } }, { @@ -516,11 +310,150 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2355", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2346", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "+-", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Zero", + "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":"BLDCmotor_FOC_R2017b_fixdt:11265:2360", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", + "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":"BLDCmotor_FOC_R2017b_fixdt:11265:2357", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"initVal", - "label":"initVal", + "name":"inc", + "label":"inc", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", "inspector":{ "params":[ @@ -543,7 +476,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "4", "Port number", "[]", "[]", @@ -649,6 +582,73 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2355", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"initVal", + "label":"initVal", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", + "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":"BLDCmotor_FOC_R2017b_fixdt:11265:2356#out:1", "className":"Simulink.Line", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg index 9038dab..4a5ebb5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.svg @@ -46,54 +46,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - @@ -105,36 +57,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - @@ -152,187 +104,11 @@ - + - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix28_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - + sfix28_En16 @@ -346,7 +122,7 @@ - + @@ -354,59 +130,59 @@ - + - + u - + - + initVal - + - + init - + - + y - + - + 1 - + - + z - + - + @@ -424,11 +200,11 @@ - + - + sfix28_En16 @@ -436,29 +212,29 @@ - + - + - + - + - + - + @@ -482,11 +258,11 @@ - + - + 5 @@ -504,11 +280,11 @@ - + - + dec @@ -519,11 +295,11 @@ - + - + sfix28_En16 @@ -535,58 +311,107 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - 4 + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y - - - - - - - - - - - - - - - - - inc + + - + - - + + - + sfix28_En16 @@ -608,11 +433,11 @@ - + - + 3 @@ -630,11 +455,11 @@ - + - + init @@ -645,11 +470,11 @@ - + - + boolean @@ -661,58 +486,170 @@ - - - + + + - - + + - - + + - - 2 + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + - - + + - - + + - - initVal + + y + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + inc - + - - + + - + sfix28_En16 @@ -734,11 +671,11 @@ - + - + 1 @@ -756,11 +693,11 @@ - + - + u @@ -771,11 +708,74 @@ - + - + + sfix28_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + initVal + + + + + + + + + + + + + + sfix28_En16 @@ -953,5 +953,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg index a7d215f..05e7e29 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg @@ -232,5 +232,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.json index e2e3d11..5ef0e15 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.json @@ -277,65 +277,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11419", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", - "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":"BLDCmotor_FOC_R2017b_fixdt:11410", "className":"Simulink.Constant", @@ -434,6 +375,162 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11419", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "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":"BLDCmotor_FOC_R2017b_fixdt:11408", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon7", + "name":"Modulo_fixdt", + "label":"Modulo_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "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":"BLDCmotor_FOC_R2017b_fixdt:11412", "className":"Simulink.Goto", @@ -467,167 +564,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11375", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", - "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":"BLDCmotor_FOC_R2017b_fixdt:11408", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon7", - "name":"Modulo_fixdt", - "label":"Modulo_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11411", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_mechAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11438", "className":"Simulink.DataTypeConversion", @@ -675,6 +611,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11375", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "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":"BLDCmotor_FOC_R2017b_fixdt:11418", "className":"Simulink.Constant", @@ -755,6 +722,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11411", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11357", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_mechAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11406", "className":"Simulink.Product", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.svg index e98b01f..477a767 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11357_d.svg @@ -201,70 +201,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En4 - - - - - - - - @@ -277,11 +213,11 @@ - + - + n_polePairs @@ -299,11 +235,11 @@ - + - + n_polePairs @@ -314,11 +250,11 @@ - + - + uint8 @@ -340,11 +276,11 @@ - + - + a_elecPeriod @@ -362,11 +298,11 @@ - + - + a_elecPeriod @@ -377,11 +313,11 @@ - + - + sfix32_En4 @@ -393,77 +329,60 @@ - - - + + + - - + + - - + + - - [a_elecAngle] + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - + + - + - - + + - - sfix16_En6 + + sfix32_En4 @@ -476,7 +395,7 @@ - + @@ -490,27 +409,27 @@ - + - + num - + - + div - + - + rem @@ -529,45 +448,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -576,66 +459,87 @@ - + - + sfix32_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - - + + - - + + - - [a_mechAngle] + + [a_elecAngle] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -656,19 +560,19 @@ - + - + - + - + @@ -694,11 +598,59 @@ - + - + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + sfix16_En6 @@ -720,11 +672,11 @@ - + - + 30 @@ -742,11 +694,11 @@ - + - + sfix32_En4 @@ -760,7 +712,7 @@ - + @@ -768,11 +720,11 @@ - + - + else { } @@ -790,11 +742,11 @@ - + - + Action Port @@ -804,11 +756,59 @@ + + + + + + + + + + + + + + + + + + [a_mechAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + - + @@ -1002,5 +1002,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.svg index f8323fc..a8c62a4 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11408_d.svg @@ -44,7 +44,7 @@ - + @@ -117,7 +117,7 @@ - + @@ -519,5 +519,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.json similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.json index 067693b..b7ffb81 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.json @@ -146,6 +146,595 @@ "finder":[ ] }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11758", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"r_fieldWeakHi", + "label":"r_fieldWeakHi", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "r_fieldWeakHi", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11755", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"id_fieldWeakMax", + "label":"id_fieldWeakMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "id_fieldWeakMax", + "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":"BLDCmotor_FOC_R2017b_fixdt:11753", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"a_phaAdvMax", + "label":"a_phaAdvMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "a_phaAdvMax", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12694", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:11748", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "+-", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11750", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "+-", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12693", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator6", + "label":"Relational Operator6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:11746", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:11744", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator1", + "label":"Relational Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:11741", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_blendFactor", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11740", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:11739", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:11747", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:11760", "className":"Simulink.Outport", @@ -276,43 +865,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11756", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11736", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"n_fieldWeakAuthHi", - "label":"n_fieldWeakAuthHi", + "name":"From8", + "label":"From8", "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "IconDisplay" ], "values":[ - "n_fieldWeakAuthHi", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" + "r_fieldWeak", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -320,55 +891,51 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11752", - "className":"Simulink.Switch", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12696", + "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", + "name":"MinMax1", + "label":"MinMax1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", "LockScale", + "OutMax", + "OutMin", "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", "SampleTime", - "Threshold", + "SaturateOnIntegerOverflow", "ZeroCross" ], "values":[ - "u2 ~= 0", + "Inherit: Inherit via internal rule", + "min", + "off", + "2", "off", "[]", "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", + "Floor", "-1", - "0", + "off", "on" ], "tabs":[ - "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 1, - 9 + 1 ] }, "viewer":{ @@ -377,48 +944,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"MinMax", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11758", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11734", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"r_fieldWeakHi", - "label":"r_fieldWeakHi", + "name":"From24", + "label":"From24", "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "IconDisplay" ], "values":[ - "r_fieldWeakHi", - "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" @@ -426,58 +975,32 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11750", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11737", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "rectangular", - "+-", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "z_ctrlTypSel", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 10 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -485,7 +1008,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"Goto", "masktype":"" } }, @@ -549,42 +1072,171 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11746", - "className":"Saturation Dynamic", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11756", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", + "name":"n_fieldWeakAuthHi", + "label":"n_fieldWeakAuthHi", "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "n_fieldWeakAuthHi", + "on", + "inf", + "[]", + "[]", + "fixdt(1,16,4)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11731", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_blendFactor", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11732", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:11730", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide3", + "label":"Divide3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", "RndMeth", - "DoSatur" + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "[]", - "[]", - "Inherit: Same as second input", + "**", + "Element-wise(.*)", "off", - "Floor", - "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/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" + "blocktype":"Product", + "masktype":"" } }, { @@ -647,389 +1299,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11741", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_blendFactor", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11740", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "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":"BLDCmotor_FOC_R2017b_fixdt:11744", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "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":"BLDCmotor_FOC_R2017b_fixdt:11739", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "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":"BLDCmotor_FOC_R2017b_fixdt:11748", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "+-", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11753", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"a_phaAdvMax", - "label":"a_phaAdvMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "a_phaAdvMax", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11738", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11736", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11734", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "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":"BLDCmotor_FOC_R2017b_fixdt:11731", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_blendFactor", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11729", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11728", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"Divide14", + "label":"Divide14", "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ @@ -1047,7 +1321,7 @@ "SampleTime" ], "values":[ - "**", + "*/", "Element-wise(.*)", "off", "[]", @@ -1081,37 +1355,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11733", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "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":"BLDCmotor_FOC_R2017b_fixdt:11727", "className":"Simulink.Product", @@ -1170,25 +1413,47 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11732", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12695", + "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"MinMax", + "label":"MinMax", "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" ], "values":[ - "z_ctrlTypSel", - "Tag" + "Inherit: Inherit via internal rule", + "max", + "off", + "2", + "off", + "[]", + "[]", + "Floor", + "-1", + "off", + "on" ], "tabs":[ - "Parameter Attributes" + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1196,7 +1461,56 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"MinMax", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11726", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM2", + "label":"CTRL_COMM2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"" } }, @@ -1247,6 +1561,63 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11752", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:11723", "className":"Simulink.ActionPort", @@ -1278,55 +1649,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11759", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"r_fieldWeakLo", - "label":"r_fieldWeakLo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "r_fieldWeakLo", - "on", - "inf", - "[]", - "[]", - "fixdt(1,16,4)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11722", "className":"Simulink.Inport", @@ -1395,11 +1717,44 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11726", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11738", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11759", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"CTRL_COMM2", - "label":"CTRL_COMM2", + "name":"r_fieldWeakLo", + "label":"r_fieldWeakLo", "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ @@ -1413,12 +1768,12 @@ "FramePeriod" ], "values":[ - "CTRL_FOC", + "r_fieldWeakLo", "on", "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "fixdt(1,16,4)", "off", "inf" ], @@ -1444,11 +1799,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11721", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11720", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_inpTgt", - "label":"r_inpTgt", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ @@ -1471,7 +1826,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "1", "Port number", "[]", "[]", @@ -1511,166 +1866,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11728", - "className":"Simulink.Product", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11733", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Divide14", - "label":"Divide14", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "*/", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(0,16,15)", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11755", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"id_fieldWeakMax", - "label":"id_fieldWeakMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "id_fieldWeakMax", - "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":"BLDCmotor_FOC_R2017b_fixdt:11747", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "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":"BLDCmotor_FOC_R2017b_fixdt:11737", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "z_ctrlTypSel", - "local", + "n_motAbs", "Tag" ], "tabs":[ @@ -1684,73 +1892,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11730", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide3", - "label":"Divide3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "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":"BLDCmotor_FOC_R2017b_fixdt:11720", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11721", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlTypSel", - "label":"z_ctrlTypSel", + "name":"r_inpTgt", + "label":"r_inpTgt", "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", "inspector":{ "params":[ @@ -1773,7 +1924,7 @@ "OutputFunctionCall" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -2220,57 +2371,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11728#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon6", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "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":"BLDCmotor_FOC_R2017b_fixdt:11746#out:1", "className":"Simulink.Line", @@ -2373,57 +2473,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11727#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon6", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "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":"BLDCmotor_FOC_R2017b_fixdt:11751#out:1", "className":"Simulink.Line", @@ -2730,57 +2779,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11729#out:1", - "className":"Simulink.Line", - "icon":"WebViewIcon6", - "name":"", - "label":"", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", - "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":"BLDCmotor_FOC_R2017b_fixdt:11749#out:1", "className":"Simulink.Line", @@ -3239,5 +3237,311 @@ ], "finder":[ ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12693#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:12694#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:12695#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:12696#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:11728#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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":"BLDCmotor_FOC_R2017b_fixdt:11727#out:1", + "className":"Simulink.Line", + "icon":"WebViewIcon6", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11719", + "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/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.png new file mode 100644 index 0000000..1f53a3f Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.svg similarity index 76% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.svg index bc4af75..e45b87c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11719_d.svg @@ -1,10 +1,10 @@ - + - + @@ -19,7 +19,7 @@ - + @@ -33,7 +33,7 @@ - + @@ -41,7 +41,7 @@ - + This blendig factor is a number between [0, 1]. @@ -49,7 +49,7 @@ - + It manages the Field weakening amount, @@ -57,7 +57,7 @@ - + ranging from 0 to a calibratable Max value. @@ -73,7 +73,7 @@ - + @@ -84,372 +84,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_fieldWeak - - - - - - - - - - - - - - - - - - - - - - - - - - n_fieldWeakAuthLo - - - - - - - - - - - - - - - - - - - - - - n_fieldWeakAuthLo - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - n_fieldWeakAuthHi - - - - - - - - - - - - - - - - - - - - - - n_fieldWeakAuthHi - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -462,11 +96,11 @@ - + - + r_fieldWeakHi @@ -484,11 +118,11 @@ - - + + - + r_fieldWeakHi @@ -499,11 +133,393 @@ - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + id_fieldWeakMax + + + + + + + + + + + + + + + + + + + + + + id_fieldWeakMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + a_phaAdvMax + + + + + + + + + + + + + + + + + + + + + + a_phaAdvMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -524,28 +540,28 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -563,11 +579,11 @@ - - + + - + sfix16_En4 @@ -579,60 +595,60 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - + - + - - + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - sfix16_En4 + + boolean @@ -645,7 +661,7 @@ - + @@ -653,35 +669,35 @@ - + - + - + - + - + - + - + - + @@ -693,35 +709,35 @@ - + - + up - + - + u - + - + lo - + - + y @@ -739,11 +755,11 @@ - - + + - + sfix16_En4 @@ -753,141 +769,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_blendFactor] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - + @@ -895,27 +781,27 @@ - + - + - + - + - + - + @@ -941,11 +827,11 @@ - - + + - + boolean @@ -955,6 +841,72 @@ + + + + + + + + + + + + + + + + + + [r_blendFactor] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + @@ -967,11 +919,11 @@ - + - + [r_inpTgt] @@ -990,59 +942,107 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + up - - + + - - + + u - - + + - - + + lo + + + + + + + + y - - + + - + - - + + - + sfix16_En4 @@ -1054,58 +1054,106 @@ - - - + + + - - + + - - + + - - a_phaAdvMax + + 1 - + + + + + + + + + + + + + + + + + r_fieldWeak + + + + + + + + + + + + + + + + + + + + + + + + + + n_fieldWeakAuthLo + + + + + + - - + + - - + + - - a_phaAdvMax + + n_fieldWeakAuthLo - + - - + + - + sfix16_En4 @@ -1115,78 +1163,45 @@ - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - + - + - + - + [r_fieldWeak] - + - + - - + + - + sfix16_En4 @@ -1196,6 +1211,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + @@ -1208,11 +1287,11 @@ - + - + [r_inpTgt] @@ -1230,11 +1309,171 @@ - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + n_fieldWeakAuthHi + + + + + + + + + + + + + + + + + + + + + + n_fieldWeakAuthHi + + + + + + + + + + + + + + sfix16_En4 @@ -1256,11 +1495,11 @@ - + - + [r_blendFactor] @@ -1278,188 +1517,11 @@ - - + + - - ufix16_En15 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ufix16_En15 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + ufix16_En15 @@ -1481,11 +1543,11 @@ - + - + [z_ctrlTypSel] @@ -1503,11 +1565,389 @@ - - + + - + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ufix16_En15 + + + + + + + + + + + + + + + + + + + + + + + + + + CTRL_FOC + + + + + + + + + + + + + + + + + + + + + uint8 @@ -1521,7 +1961,7 @@ - + @@ -1529,35 +1969,35 @@ - + - + - + - + - + - + - + - + @@ -1583,11 +2023,203 @@ - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1601,7 +2233,7 @@ - + @@ -1609,11 +2241,11 @@ - + - + if { } @@ -1631,11 +2263,11 @@ - - + + - + Action Port @@ -1645,69 +2277,6 @@ - - - - - - - - - - - - - - - - - - r_fieldWeakLo - - - - - - - - - - - - - - - - - - - - - - r_fieldWeakLo - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -1720,11 +2289,11 @@ - + - + 3 @@ -1742,11 +2311,11 @@ - - + + - + n_motAbs @@ -1757,11 +2326,11 @@ - - + + - + sfix16_En4 @@ -1773,387 +2342,28 @@ - - - - - - - - - - - - - - - - CTRL_FOC - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - r_inpTgt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ufix16_En15 - - - - - - - - - - - - - - - - - - - - - - - - - - id_fieldWeakMax - - - - - - - - - - - - - - - - - - - - - - id_fieldWeakMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - - + + - - [z_ctrlTypSel] + + [r_fieldWeak] - + @@ -2165,51 +2375,58 @@ - - - + + + - - + + - - + + - - - - - - - - - - + + r_fieldWeakLo - - + + + + + + + + + + + + + + + + + r_fieldWeakLo - + - - + + - + sfix16_En4 @@ -2231,11 +2448,11 @@ - + - + 1 @@ -2253,11 +2470,11 @@ - - + + - + z_ctrlTypSel @@ -2268,11 +2485,11 @@ - - + + - + uint8 @@ -2282,6 +2499,117 @@ + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + r_inpTgt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -2299,11 +2627,11 @@ - + - + @@ -2434,20 +2762,6 @@ - - - - - - - - - - - - - - @@ -2496,20 +2810,6 @@ - - - - - - - - - - - - - - @@ -2594,20 +2894,6 @@ - - - - - - - - - - - - - - @@ -2743,10 +3029,10 @@ - + - + @@ -2794,7 +3080,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.svg index 3a25004..cdead46 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11746_d.svg @@ -142,7 +142,7 @@ - + @@ -334,7 +334,7 @@ - + @@ -1009,7 +1009,7 @@ - + @@ -1018,7 +1018,7 @@ - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.svg index b970e7b..eabc79c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11747_d.svg @@ -142,7 +142,7 @@ - + @@ -334,7 +334,7 @@ - + @@ -1009,6 +1009,9 @@ + + + @@ -1018,9 +1021,6 @@ - - - @@ -1103,10 +1103,10 @@ - + - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.json index 2e61827..cfb3091 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.json @@ -603,581 +603,72 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11815", - "className":"Either edge detection", - "icon":"WebViewIcon5", - "name":"either_edge", - "label":"either_edge", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "on", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Either edge detection" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11813", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11822", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", + "name":"b_errFlag", + "label":"b_errFlag", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "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", - "", - "", + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", [ ], - "Auto" - ], - "tabs":[ - "Main", - "State Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"UnitDelay", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11811", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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" + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", "Signal Attributes", "-Other" ], - "tabs_idx":[ - 0, - 1, - 9 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Switch", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11812", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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":"BLDCmotor_FOC_R2017b_fixdt:11808", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator3", - "label":"Relational Operator3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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":"BLDCmotor_FOC_R2017b_fixdt:11807", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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":"BLDCmotor_FOC_R2017b_fixdt:11806", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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":"BLDCmotor_FOC_R2017b_fixdt:11801", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_errFlag", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11799", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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":"BLDCmotor_FOC_R2017b_fixdt:11798", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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":"BLDCmotor_FOC_R2017b_fixdt:11797", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_errCodeRaw", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11817", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"g_Hb1", - "label":"g_Hb1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "4", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Simplest", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "-1" - ], - "tabs":[ - "Main", - "Signal Attributes", - "Parameter Attributes", - "-Other" - ], "tabs_idx":[ 0, 2, - 8, 11 ] }, @@ -1187,16 +678,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11818", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11820", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"r_errInpTgtThres", - "label":"r_errInpTgtThres", + "name":"t_errQual", + "label":"t_errQual", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "inspector":{ "params":[ @@ -1210,7 +701,7 @@ "FramePeriod" ], "values":[ - "r_errInpTgtThres", + "t_errQual", "on", "inf", "[]", @@ -1299,6 +790,568 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11819", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"t_errDequal", + "label":"t_errDequal", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "t_errDequal", + "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":"BLDCmotor_FOC_R2017b_fixdt:11818", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"r_errInpTgtThres", + "label":"r_errInpTgtThres", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "r_errInpTgtThres", + "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":"BLDCmotor_FOC_R2017b_fixdt:11812", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11809", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator7", + "label":"Relational Operator7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11815", + "className":"Either edge detection", + "icon":"WebViewIcon4", + "name":"either_edge", + "label":"either_edge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11810", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum", + "label":"Sum", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11806", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator1", + "label":"Relational Operator1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11803", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_errCodePrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11802", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11799", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11793", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_errCodeRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11792", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11791", "className":"Simulink.From", @@ -1330,6 +1383,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11800", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11789", "className":"Simulink.From", @@ -1361,6 +1447,158 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11797", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_errCodeRaw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11786", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11811", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11785", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_posRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11794", "className":"Simulink.From", @@ -1393,138 +1631,214 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", - "name":"Debounce_Filter", - "label":"Debounce_Filter", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11813", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" ], "values":[ - "FromPortIcon", - "ReadWrite", - "on", - "off", + "0", + "Inherited", "-1", - "Reusable function", "", "", "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Use subsystem name", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" + [ + ], + "Auto" ], "tabs":[ "Main", - "Code Generation", + "State Attributes", "-Other" ], "tabs_idx":[ 0, - 5, - 6 + 3, + 4 ] }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"UnitDelay", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11783", - "className":"Simulink.DataTypeConversion", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11790", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Data Type Conversion3", - "label":"Data Type Conversion3", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "inspector":{ "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_errCodeRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11817", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"g_Hb1", + "label":"g_Hb1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "Gain", + "Multiplication", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "ConvertRealWorld", "RndMeth", "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", "SampleTime" ], "values":[ + "4", + "Element-wise(K.*u)", "[]", "[]", - "uint8", + "Inherit: Same as input", "off", - "Real World Value (RWV)", - "Floor", + "Simplest", "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":"BLDCmotor_FOC_R2017b_fixdt:11798", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"BLDCmotor_FOC_R2017b_fixdt:11780", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"CTRL_COMM4", + "label":"CTRL_COMM4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "1", + "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, 7 ] }, @@ -1534,7 +1848,52 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"DataTypeConversion", + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11808", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator3", + "label":"Relational Operator3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "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":"" } }, @@ -1588,25 +1947,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11785", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11778", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"CTRL_COMM1", + "label":"CTRL_COMM1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "z_posRaw", - "Tag" + "7", + "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" @@ -1614,7 +1991,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Constant", "masktype":"" } }, @@ -1668,11 +2045,105 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11786", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11783", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion3", + "label":"Data Type Conversion3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "uint8", + "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":"BLDCmotor_FOC_R2017b_fixdt:11782", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", + "inspector":{ + "params":[ + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" + ], + "values":[ + "[]", + "[]", + "uint8", + "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":"BLDCmotor_FOC_R2017b_fixdt:11788", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From15", + "label":"From15", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "inspector":{ "params":[ @@ -1680,7 +2151,7 @@ "IconDisplay" ], "values":[ - "b_motStdStill", + "z_errCodePrev", "Tag" ], "tabs":[ @@ -1736,11 +2207,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11788", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11787", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", + "name":"From11", + "label":"From11", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "inspector":{ "params":[ @@ -1748,7 +2219,7 @@ "IconDisplay" ], "values":[ - "z_errCodePrev", + "VqFinPrev", "Tag" ], "tabs":[ @@ -1767,74 +2238,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11822", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11774", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"b_errFlag", - "label":"b_errFlag", + "name":"Action Port", + "label":"Action Port", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "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" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "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" @@ -1842,7 +2264,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"ActionPort", "masktype":"" } }, @@ -1914,258 +2336,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11809", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11801", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Relational Operator7", - "label":"Relational Operator7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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":"BLDCmotor_FOC_R2017b_fixdt:11778", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"CTRL_COMM1", - "label":"CTRL_COMM1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "7", - "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":"BLDCmotor_FOC_R2017b_fixdt:11781", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion", - "label":"Data Type Conversion", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "inspector":{ - "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "ConvertRealWorld", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime" - ], - "values":[ - "[]", - "[]", - "uint8", - "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":"BLDCmotor_FOC_R2017b_fixdt:11780", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"CTRL_COMM4", - "label":"CTRL_COMM4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "1", - "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":"BLDCmotor_FOC_R2017b_fixdt:11820", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"t_errQual", - "label":"t_errQual", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "t_errQual", - "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":"BLDCmotor_FOC_R2017b_fixdt:11792", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ "b_errFlag", + "local", "Tag" ], "tabs":[ @@ -2179,7 +2364,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, @@ -2298,70 +2483,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11810", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum", - "label":"Sum", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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":"BLDCmotor_FOC_R2017b_fixdt:11782", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11781", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", + "name":"Data Type Conversion", + "label":"Data Type Conversion", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "inspector":{ "params":[ @@ -2404,104 +2530,38 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11790", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11807", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"Relational Operator2", + "label":"Relational Operator2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_errCodeRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11793", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_errCodeRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11819", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"t_errDequal", - "label":"t_errDequal", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", + "Operator", + "InputSameDT", "OutDataTypeStr", - "LockScale", - "FramePeriod" + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "t_errDequal", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", + "~=", "off", - "inf" + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 3, - 7 + 1, + 4 ] }, "viewer":{ @@ -2510,71 +2570,104 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11803", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Debounce_Filter", + "label":"Debounce_Filter", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", "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":[ - "z_errCodePrev", - "local", - "Tag" + "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", + "" ], "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":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11774", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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":"SubSystem", "masktype":"" } }, @@ -2645,103 +2738,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11800", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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":"BLDCmotor_FOC_R2017b_fixdt:11802", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11787", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", - "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":"BLDCmotor_FOC_R2017b_fixdt:11805", "className":"Simulink.Logic", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.png new file mode 100644 index 0000000..cb1647e Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.svg index eaf5050..883eb3a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11769_d.svg @@ -440,1070 +440,107 @@ - - - + + + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + 2 - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ~= 0 - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCode] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodeRaw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - r_errInpTgtThres - - - - - - - + + - - + + - - + + - - r_errInpTgtThres + + b_errFlag + + + + + + + + + + + + + + + + + + + + + + + + + + t_errQual + + + + + + + + + + + + + + + + + + + + + + t_errQual - - + + - - + + - - sfix16_En4 + + uint16 @@ -1524,11 +561,11 @@ - + - + 2 @@ -1546,11 +583,11 @@ - + - + uint8 @@ -1562,467 +599,59 @@ - - - + + + - - + + - - + + - - [b_errFlag] + + t_errDequal - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodePrev] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - tAcv - - - - - - - - tDeacv - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - Debounce_Filter + + t_errDequal - - + + - - + + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + uint16 @@ -2033,474 +662,58 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - + + - - + + - - 0 + + r_errInpTgtThres - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - Bitwise - - - - - - - - AND - - - - - - - - 0x4 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodePrev] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - + + - - + + - - + + - - b_errFlag - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev + + r_errInpTgtThres - + - - + + - + sfix16_En4 @@ -2510,11 +723,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ~= 0 + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + - + @@ -2522,19 +919,19 @@ - + - + - + - + @@ -2560,11 +957,11 @@ - + - + boolean @@ -2576,410 +973,148 @@ - - - + + + - - + + - - + + - - 7 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - + - - + + - + boolean - - - - - - - - - - - - - - - + - - + + - - t_errQual + + - - - - - - - - - - - - - - - - - - - - t_errQual - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - b_motStdStill - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 + + + + + + + + + + + + + + + + + + @@ -3000,51 +1135,51 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -3062,11 +1197,1328 @@ - + - + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodePrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodeRaw] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodePrev] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodeRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posRaw] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCodeRaw] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCode] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 @@ -3088,19 +2540,19 @@ - + - + - + - + @@ -3126,11 +2578,11 @@ - + - + uint8 @@ -3142,299 +2594,44 @@ - - + + - + - + - - [z_errCodeRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCodeRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - t_errDequal - - - - - - - - - - - - - - - - - - - - - - t_errDequal - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - + [z_errCodePrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_motEna + + - - + + - - + + - - boolean + + uint8 @@ -3445,62 +2642,60 @@ - - - + + + - - + + - - + + - - [VqFinPrev] + + Bitwise + + + + + + + + AND + + + + + + + + 0x4 - - + + - - - - - - - - - - - - - - - + + + + - - + + - - [b_motEna] - - - - - - - + + uint8 @@ -3521,11 +2716,11 @@ - + - + [VqFinPrev] @@ -3543,11 +2738,11 @@ - + - + sfix16_En4 @@ -3557,6 +2752,811 @@ + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_motStdStill + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + tAcv + + + + + + + + tDeacv + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Debounce_Filter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -3591,21 +3591,6 @@ - - - - - - - - - - - boolean - - - - @@ -3617,6 +3602,21 @@ + + + + + + + + + + + boolean + + + + @@ -4223,5 +4223,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.json index e5e9940..47c0c06 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.json @@ -128,6 +128,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2425", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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":"BLDCmotor_FOC_R2017b_fixdt:11784:2424", "className":"Simulink.Inport", @@ -195,37 +226,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2425", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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":"BLDCmotor_FOC_R2017b_fixdt:11784:2424#out:1", "className":"Simulink.Line", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.svg index d26bc8f..e66c4fa 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2423_d.svg @@ -78,74 +78,11 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - yPrev - - - - - - - - - - - - - - - boolean - - - - - - - - - + @@ -153,11 +90,11 @@ - + - + else { } @@ -175,11 +112,11 @@ - + - + Action Port @@ -189,6 +126,69 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + yPrev + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -205,5 +205,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.json index 64dc2ca..7ebc7fd 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.json @@ -1,228 +1,4 @@ [ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2445", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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":"BLDCmotor_FOC_R2017b_fixdt:11784:2444", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_cntRst", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2443", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "yPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2441", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "tDeacv", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2436", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2434", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant6", - "label":"Constant6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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":"BLDCmotor_FOC_R2017b_fixdt:11784:2446", "className":"Simulink.Switch", @@ -280,6 +56,84 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2445", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator2", + "label":"Relational Operator2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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":"BLDCmotor_FOC_R2017b_fixdt:11784:2443", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "yPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2442", "className":"Simulink.Goto", @@ -313,97 +167,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", - "inspector":{ - "params":[ - "z_cntInit" - ], - "values":[ - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2432", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", - "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2438", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yDeacv", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2440", "className":"Simulink.From", @@ -436,78 +199,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2431", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"yPrev", - "label":"yPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", - "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2437", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2438", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ @@ -515,7 +211,7 @@ "IconDisplay" ], "values":[ - "tDeacv", + "yDeacv", "Tag" ], "tabs":[ @@ -534,61 +230,27 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2430", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2444", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"b_cntRst", - "label":"b_cntRst", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "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" + "b_cntRst", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -596,83 +258,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2429", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"tDeacv", - "label":"tDeacv", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", - "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2439", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2437", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"From10", + "label":"From10", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", "inspector":{ "params":[ @@ -778,6 +373,411 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Counter", + "label":"Counter", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "inspector":{ + "params":[ + "z_cntInit" + ], + "values":[ + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2434", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant6", + "label":"Constant6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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":"BLDCmotor_FOC_R2017b_fixdt:11784:2431", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"yPrev", + "label":"yPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2441", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "tDeacv", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2439", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "tDeacv", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2430", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_cntRst", + "label":"b_cntRst", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2436", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2429", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"tDeacv", + "label":"tDeacv", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2432", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2433", "className":"Simulink.Constant", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.png new file mode 100644 index 0000000..8171947 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.svg index 2e23579..b8bb046 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.svg @@ -10,6 +10,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + @@ -23,19 +215,19 @@ - + - + - + - + @@ -61,11 +253,173 @@ - + - + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [yDeacv] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cntRst] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [yDeacv] + + + + + + + + + + + + + + + + + + + + + boolean @@ -87,11 +441,11 @@ - + - + [b_cntRst] @@ -108,839 +462,6 @@ - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [tDeacv] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [yDeacv] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - inc - - - - - - - - max - - - - - - - - rst - - - - - - - - cnt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Counter - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - elseif { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [yDeacv] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - yPrev - - - - - - - - - - - - - - - boolean - - - - - - - - @@ -953,11 +474,11 @@ - + - + [tDeacv] @@ -975,11 +496,490 @@ - + - + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + yDeacv + + + + + + + + + + + + + + + + + + + + + + + + + + inc + + + + + + + + max + + + + + + + + rst + + + + + + + + cnt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Counter + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + yPrev + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [tDeacv] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [tDeacv] + + + + + + + + + + + + + + + + + + + + + uint16 @@ -1052,6 +1052,54 @@ + + + + + + + + + + + + + + + + + + [yPrev] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -1064,11 +1112,11 @@ - + - + 1 @@ -1086,11 +1134,11 @@ - + - + tDeacv @@ -1101,11 +1149,11 @@ - + - + uint16 @@ -1117,92 +1165,44 @@ - - - + + + - - - - - - - - - - - - [tDeacv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - + + - + - - 1 + + elseif { } - - + + - - + + - + - - yDeacv + + Action Port @@ -1443,5 +1443,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.svg index 54d717d..72d952f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.svg @@ -15,7 +15,7 @@ - + @@ -592,5 +592,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.json index ecbf88c..92f6c26 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.json @@ -1,4 +1,33 @@ [ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"rst_Delay", + "label":"rst_Delay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", + "inspector":{ + "params":[ + "initVal" + ], + "values":[ + "z_cntInit" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2418", "className":"Simulink.Outport", @@ -392,35 +421,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", - "name":"rst_Delay", - "label":"rst_Delay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", - "inspector":{ - "params":[ - "initVal" - ], - "values":[ - "z_cntInit" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515#out:1", "className":"Simulink.Line", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.svg index 1f22517..caf17b1 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.svg @@ -10,6 +10,141 @@ + + + + + + + + + + + + + + + + + + + u + + + + + + + + rst + + + + + + + + y + + + + + + + + 1 + + + + + + + + z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=z_cntInit + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -23,11 +158,11 @@ - + - + 1 @@ -45,11 +180,11 @@ - + - + cnt @@ -71,35 +206,35 @@ - + - + - + - + - + - + - + - + @@ -117,11 +252,11 @@ - + - + uint16 @@ -135,7 +270,7 @@ - + @@ -143,19 +278,19 @@ - + - + - + - + @@ -181,11 +316,11 @@ - + - + uint16 @@ -207,11 +342,11 @@ - + - + 3 @@ -229,11 +364,11 @@ - + - + rst @@ -244,11 +379,11 @@ - + - + boolean @@ -270,11 +405,11 @@ - + - + 2 @@ -292,11 +427,11 @@ - + - + max @@ -307,11 +442,11 @@ - + - + uint16 @@ -333,11 +468,11 @@ - + - + 1 @@ -355,11 +490,11 @@ - + - + inc @@ -370,11 +505,11 @@ - + - + uint16 @@ -384,141 +519,6 @@ - - - - - - - - - - - - - - - - - - u - - - - - - - - rst - - - - - - - - y - - - - - - - - 1 - - - - - - - - z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=z_cntInit - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -625,5 +625,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.json index 21a4e39..a030053 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.json @@ -1,4 +1,61 @@ [ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2491", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", + "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2492", "className":"Simulink.Outport", @@ -158,11 +215,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2486", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2488", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"Goto17", + "label":"Goto17", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ @@ -171,7 +228,7 @@ "IconDisplay" ], "values":[ - "tAcv", + "yPrev", "local", "Tag" ], @@ -191,11 +248,75 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2484", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2485", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cntRst", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2487", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "yAcv", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2482", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ @@ -252,336 +373,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2487", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "yAcv", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2491", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", - "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", - "inspector":{ - "params":[ - "z_cntInit" - ], - "values":[ - "0" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2478", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "1", - "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2477", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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":"BLDCmotor_FOC_R2017b_fixdt:11784:2481", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2476", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_errPrev", - "label":"b_errPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", - "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2488", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "yPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2479", "className":"Simulink.Constant", @@ -631,6 +422,130 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Counter", + "label":"Counter", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", + "inspector":{ + "params":[ + "z_cntInit" + ], + "values":[ + "0" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2477", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784: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":"BLDCmotor_FOC_R2017b_fixdt:11784:2484", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "tAcv", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2486", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "tAcv", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2475", "className":"Simulink.Inport", @@ -699,11 +614,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2485", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2481", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", "inspector":{ "params":[ @@ -711,38 +626,7 @@ "IconDisplay" ], "values":[ - "b_cntRst", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2482", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "tAcv", + "yPrev", "Tag" ], "tabs":[ @@ -827,6 +711,122 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2478", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant1", + "label":"Constant1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "1", + "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2476", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_errPrev", + "label":"b_errPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", + "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2480#out:1", "className":"Simulink.Line", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.svg index 13bd13b..623f278 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.svg @@ -10,6 +10,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + @@ -23,11 +215,11 @@ - + - + 1 @@ -45,11 +237,11 @@ - + - + yAcv @@ -63,7 +255,7 @@ - + @@ -71,19 +263,19 @@ - + - + - + - + @@ -109,11 +301,11 @@ - + - + boolean @@ -135,11 +327,11 @@ - + - + [b_cntRst] @@ -158,28 +350,28 @@ - - + + - + - + - - [tAcv] + + [yPrev] - + @@ -191,91 +383,43 @@ - - + + - + - + - - [tAcv] + + [b_cntRst] - + - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [yAcv] - - - - - - - - - - - - - + - - + + - + boolean @@ -297,11 +441,11 @@ - + - + [yAcv] @@ -320,187 +464,91 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - + - - F + + [tAcv] - - + + - - + + - + - + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [yAcv] + + + + + + + + + + + + + + + + + + + + + boolean @@ -510,6 +558,54 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + @@ -522,92 +618,44 @@ - + - + inc - + - + max - + - + rst - + - + cnt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -615,7 +663,7 @@ - + @@ -623,7 +671,7 @@ - + @@ -631,7 +679,7 @@ - + @@ -639,7 +687,7 @@ - + @@ -647,7 +695,7 @@ - + @@ -655,7 +703,7 @@ - + @@ -663,7 +711,7 @@ - + @@ -671,6 +719,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -688,11 +784,11 @@ - + - + Counter @@ -703,11 +799,11 @@ - + - + uint16 @@ -715,29 +811,29 @@ - + - + - + - + - + - + @@ -749,59 +845,11 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - + @@ -809,11 +857,11 @@ - + - + if { } @@ -831,11 +879,11 @@ - + - + Action Port @@ -845,6 +893,150 @@ + + + + + + + + + + + + + + + + + + [tAcv] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [tAcv] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + b_cntRst + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -857,11 +1049,11 @@ - + - + [yPrev] @@ -879,11 +1071,122 @@ - + - + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + tAcv + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + boolean @@ -905,11 +1208,11 @@ - + - + 3 @@ -927,11 +1230,11 @@ - + - + b_errPrev @@ -942,11 +1245,11 @@ - + - + boolean @@ -956,309 +1259,6 @@ - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - b_cntRst - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [tAcv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - tAcv - - - - - - - - - - - - - - - uint16 - - - - - - - - @@ -1443,5 +1443,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.svg index b9f7339..b3fdf49 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.svg @@ -15,7 +15,7 @@ - + @@ -486,36 +486,36 @@ - - - - - - - - - - - uint16 - - - - - + - + Ini=initVal + + + + + + + + + + + uint16 + + + + @@ -592,5 +592,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.json index 151d8a9..2342ed2 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.json @@ -1,41 +1,62 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2416", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2418", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", + "name":"cnt", + "label":"cnt", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", "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", - "|++", - "on", - "Inherit: Same as first input", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", "1", - "All dimensions", - "-1" + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -45,7 +66,7 @@ "tabs_idx":[ 0, 2, - 10 + 11 ] }, "viewer":{ @@ -54,36 +75,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", - "name":"rst_Delay", - "label":"rst_Delay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", - "inspector":{ - "params":[ - "initVal" - ], - "values":[ - "z_cntInit" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", + "blocktype":"Outport", "masktype":"" } }, @@ -207,6 +199,94 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"rst_Delay", + "label":"rst_Delay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", + "inspector":{ + "params":[ + "initVal" + ], + "values":[ + "z_cntInit" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2416", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", + "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2413", "className":"Simulink.Inport", @@ -274,86 +354,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2418", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"cnt", - "label":"cnt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", - "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2412", "className":"Simulink.Inport", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.svg index 4987ea0..4633cb8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.svg @@ -13,203 +13,44 @@ - - - + + + - - + + - + - - + + 1 + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - rst - - - - - - - - y - - - - - - - - 1 - - - - - - - - z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=z_cntInit - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + cnt @@ -222,7 +63,7 @@ - + @@ -230,19 +71,19 @@ - + - + - + - + @@ -268,11 +109,11 @@ - + - + uint16 @@ -294,11 +135,11 @@ - + - + 3 @@ -316,11 +157,11 @@ - + - + rst @@ -331,11 +172,11 @@ - + - + boolean @@ -345,6 +186,213 @@ + + + + + + + + + + + + + + + + + + u + + + + + + + + rst + + + + + + + + y + + + + + + + + 1 + + + + + + + + z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=z_cntInit + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + @@ -357,11 +405,11 @@ - + - + 2 @@ -379,11 +427,11 @@ - + - + max @@ -394,11 +442,11 @@ - + - + uint16 @@ -408,54 +456,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - cnt - - - - - - - - @@ -625,5 +625,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.svg index c01b34a..d88e551 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.svg @@ -120,36 +120,36 @@ - - - - - - - - - - - boolean - - - - - + - + Ini=0 + + + + + + + + + + + boolean + + + + @@ -158,7 +158,7 @@ - + @@ -345,5 +345,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.json index 09332bb..7885240 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.json @@ -79,6 +79,103 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Qualification", + "label":"Qualification", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2472", "className":"Simulink.Merge", @@ -162,32 +259,31 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Qualification", - "label":"Qualification", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", + "className":"Either edge detection", + "icon":"WebViewIcon4", + "name":"either_edge", + "label":"either_edge", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -199,30 +295,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", - "off", - "off", - "-1", - "Auto", + "", + "All", + "on", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -234,19 +330,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -257,15 +352,15 @@ ], "finder":{ "blocktype":"SubSystem", - "masktype":"" + "masktype":"Either edge detection" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2465", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2466", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ @@ -274,7 +369,7 @@ "IconDisplay" ], "values":[ - "tAcv", + "tDeacv", "local", "Tag" ], @@ -360,11 +455,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2466", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2461", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ @@ -373,7 +468,7 @@ "IconDisplay" ], "values":[ - "tDeacv", + "b_cntRst", "local", "Tag" ], @@ -423,6 +518,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2459", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cntRst", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2458", "className":"Simulink.From", @@ -516,324 +642,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", - "className":"Either edge detection", - "icon":"WebViewIcon5", - "name":"either_edge", - "label":"either_edge", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "on", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Either edge detection" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2461", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_cntRst", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2454", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "u", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2452", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "tDeacv", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2449", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "tAcv", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2453", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "u", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2455", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2448", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "yPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2509", "className":"Simulink.UnitDelay", @@ -884,6 +692,258 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2451", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2455", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2449", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "tAcv", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2448", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "yPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2453", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "u", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2454", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "u", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2462", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "y", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2465", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "tAcv", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2450", "className":"Simulink.From", @@ -926,22 +986,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -953,30 +1012,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -988,19 +1047,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1082,11 +1140,108 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2451", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Dequalification", + "label":"Dequalification", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", + "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":"BLDCmotor_FOC_R2017b_fixdt:11784:2452", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"From12", + "label":"From12", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", "inspector":{ "params":[ @@ -1094,7 +1249,7 @@ "IconDisplay" ], "values":[ - "yPrev", + "tDeacv", "Tag" ], "tabs":[ @@ -1179,169 +1334,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2459", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_cntRst", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Dequalification", - "label":"Dequalification", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2462", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "y", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2420", "className":"Simulink.Inport", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.png new file mode 100644 index 0000000..ec7a5d1 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.svg index 23cab7a..bd8c7dd 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.svg @@ -59,180 +59,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - u2 - - - - - - - - if(u1 ~= 0) - - - - - - - - elseif(u2 ~=0) - - - - - - - - else - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - @@ -251,43 +77,43 @@ - + - + tAcv - + - + b_cntRst - + - + b_errPrev - + - + yAcv - + - + if { } @@ -317,11 +143,11 @@ - + - + Qualification @@ -338,11 +164,11 @@ - + - + boolean @@ -359,11 +185,11 @@ - + - + action @@ -375,34 +201,360 @@ - + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + - - + + - - [tAcv] + + u1 + + + + + + + + u2 + + + + + + + + if(u1 ~= 0) + + + + + + + + elseif(u2 ~=0) + + + + + + + + else - + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [tDeacv] + + + + + + @@ -424,11 +576,11 @@ - + - + [yPrev] @@ -457,11 +609,11 @@ - + - + [u] @@ -480,28 +632,28 @@ - - + + - + - + - - [tDeacv] + + [b_cntRst] - + @@ -523,11 +675,11 @@ - + - + [yPrev] @@ -545,11 +697,59 @@ - + - + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cntRst] + + + + + + + + + + + + + + + + + + + + + boolean @@ -571,11 +771,11 @@ - + - + [yPrev] @@ -593,11 +793,11 @@ - + - + boolean @@ -619,11 +819,11 @@ - + - + [y] @@ -641,11 +841,11 @@ - + - + boolean @@ -667,11 +867,11 @@ - + - + [u] @@ -689,11 +889,11 @@ - + - + boolean @@ -705,325 +905,91 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [u] - - - - - - - - - - - - - - - + - + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [tDeacv] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [tAcv] - - - - - - - - - - - - - - + + - + - - uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + Ini=0 @@ -1034,43 +1000,43 @@ - - + + - + - + - - [u] + + [yPrev] - + - + - - + + - + boolean @@ -1092,11 +1058,11 @@ - + - + [yPrev] @@ -1114,11 +1080,11 @@ - + - + boolean @@ -1128,6 +1094,54 @@ + + + + + + + + + + + + + + + + + + [tAcv] + + + + + + + + + + + + + + + + + + + + + + uint16 + + + + + + + + @@ -1140,11 +1154,11 @@ - + - + [yPrev] @@ -1162,11 +1176,11 @@ - + - + boolean @@ -1178,90 +1192,43 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + [u] + - - - - - - - - - - - - - - - - - Ini=0 + + - + - - + + - + boolean @@ -1271,6 +1238,120 @@ + + + + + + + + + + + + + + + + + + [u] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [y] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [tAcv] + + + + + + + + + + + + + + + @@ -1283,11 +1364,11 @@ - + - + [b_cntRst] @@ -1305,11 +1386,11 @@ - + - + boolean @@ -1323,7 +1404,7 @@ - + @@ -1337,27 +1418,27 @@ - + - + yPrev - + - + yDefault - + - + else { } @@ -1387,11 +1468,11 @@ - + - + Default @@ -1404,16 +1485,16 @@ - - + + - - + + - - action + + boolean @@ -1425,16 +1506,16 @@ - - + + - - + + - - boolean + + action @@ -1461,11 +1542,11 @@ - + - + 3 @@ -1483,11 +1564,11 @@ - + - + tDeacv @@ -1498,11 +1579,11 @@ - + - + uint16 @@ -1512,170 +1593,11 @@ - - - - - - - - - - - - - - - - - - [yPrev] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - tAcv - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cntRst] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - + @@ -1689,43 +1611,43 @@ - + - + tDeacv - + - + b_cntRst - + - + yPrev - + - + yDeacv - + - + elseif { } @@ -1755,11 +1677,11 @@ - + - + Dequalification @@ -1776,11 +1698,11 @@ - + - + action @@ -1797,11 +1719,11 @@ - + - + boolean @@ -1813,35 +1735,113 @@ - + - - + + - - + + - - + + - - [y] + + [tDeacv] - - + + + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + tAcv + + + + + + + + + + + + + + + uint16 @@ -2597,5 +2597,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.svg index 6020a3e..58c5339 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.svg @@ -120,36 +120,36 @@ - - - - - - - - - - - boolean - - - - - + - + Ini=0 + + + + + + + + + + + boolean + + + + @@ -158,7 +158,7 @@ - + @@ -345,5 +345,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.json index bd2af44..d172b8b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.json @@ -49,11 +49,11 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11891", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11893", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"call1", - "label":"call1", + "name":"call3", + "label":"call3", "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ @@ -82,7 +82,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "1", + "3", "Port number", "[]", "[]", @@ -129,11 +129,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11893", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11891", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"call3", - "label":"call3", + "name":"call1", + "label":"call1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ @@ -162,7 +162,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "3", + "1", "Port number", "[]", "[]", @@ -289,11 +289,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11888", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11890", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay4", - "label":"UnitDelay4", + "name":"UnitDelay6", + "label":"UnitDelay6", "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ @@ -307,57 +307,7 @@ "StateStorageClass" ], "values":[ - "1", - "Inherited", - "-1", - "", - "", - "off", - [ - ], - "Auto" - ], - "tabs":[ - "Main", - "State Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 4 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"UnitDelay", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11887", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay2", - "label":"UnitDelay2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "1", + "0", "Inherited", "-1", "", @@ -439,11 +389,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11890", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11888", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay6", - "label":"UnitDelay6", + "name":"UnitDelay4", + "label":"UnitDelay4", "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", "inspector":{ "params":[ @@ -457,7 +407,57 @@ "StateStorageClass" ], "values":[ - "0", + "1", + "Inherited", + "-1", + "", + "", + "off", + [ + ], + "Auto" + ], + "tabs":[ + "Main", + "State Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"UnitDelay", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11887", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay2", + "label":"UnitDelay2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11884", + "inspector":{ + "params":[ + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "1", "Inherited", "-1", "", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.svg index 69e60fc..af84415 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.svg @@ -39,54 +39,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - call1 - - - - - - - - @@ -99,11 +51,11 @@ - + - + 3 @@ -121,11 +73,11 @@ - + - + call3 @@ -135,6 +87,54 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + call1 + + + + + + + + @@ -185,11 +185,11 @@ - - - + + + - + @@ -199,7 +199,7 @@ - + @@ -207,7 +207,7 @@ - + @@ -215,7 +215,7 @@ - + @@ -223,309 +223,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - Ini=1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -551,11 +249,11 @@ - + - + Ini=0 @@ -566,11 +264,313 @@ - + - + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=1 + + + + + + + + + + + + + + boolean @@ -871,5 +871,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.json index 212d106..309a56a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.json @@ -1,37 +1,4 @@ [ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:20", - "className":"Stateflow.Transition", - "icon":"WebViewIcon9", - "name":"", - "label":"[call3]{task3;} ", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11895", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 1, - "[call3]{task3;} ", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:16", "className":"Stateflow.Transition", @@ -65,39 +32,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:12", - "className":"Stateflow.Transition", - "icon":"WebViewIcon9", - "name":"", - "label":"[call1]{task1a; task1b}", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11895", - "inspector":{ - "params":[ - "ExecutionOrder", - "LabelString", - "Description", - "Document" - ], - "values":[ - 1, - "[call1]{task1a; task1b}", - "", - "" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":[ - ] - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:14", "className":"Stateflow.Transition", @@ -131,6 +65,72 @@ "finder":[ ] }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:18", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11895", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 2, + "", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:12", + "className":"Stateflow.Transition", + "icon":"WebViewIcon9", + "name":"", + "label":"[call1]{task1a; task1b}", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11895", + "inspector":{ + "params":[ + "ExecutionOrder", + "LabelString", + "Description", + "Document" + ], + "values":[ + 1, + "[call1]{task1a; task1b}", + "", + "" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":[ + ] + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:10", "className":"Stateflow.Transition", @@ -165,11 +165,11 @@ ] }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:18", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11895:20", "className":"Stateflow.Transition", "icon":"WebViewIcon9", "name":"", - "label":"", + "label":"[call3]{task3;} ", "parent":"BLDCmotor_FOC_R2017b_fixdt:11895", "inspector":{ "params":[ @@ -179,8 +179,8 @@ "Document" ], "values":[ - 2, - "", + 1, + "[call3]{task3;} ", "", "" ], diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.svg index 802a428..0ac0f02 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.svg @@ -47,74 +47,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - [call3]{ - - - - - - - - - - - - - - - - task3 - - - - - - - - - - - - - - - - ;} - - - - - - - - - @@ -127,84 +59,84 @@ + + + + + + + + + + + + + + + [call2]{ + + + + + + + + + + + + + + + + task2a + + + + + + + + + + + + + + + + ; + + + + + + + + + - - + + task2b - - [call2]{ + + - - - - - - - - - - task2a - - - - - - - - - - - - - - - - ; - - - - - - - - - - - - - - - - task2b - - - - - - - - - - - - - - - + } @@ -214,11 +146,11 @@ - + - + 1 @@ -229,120 +161,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - [call1]{ - - - - - - - - - - - - - - - - task1a - - - - - - - - - - - - - - - - ; - - - - - - - - - - - - - - - - task1b - - - - - - - - - - - - - - - - } - - - - - - - - - - - - - - 1 - - - - - - - - - @@ -359,11 +177,11 @@ - + - + 2 @@ -374,6 +192,151 @@ + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [call1]{ + + + + + + + + + + + + + + + + task1a + + + + + + + + + + + + + + + + ; + + + + + + + + + + + + + + + + task1b + + + + + + + + + + + + + + + + } + + + + + + + + + + + + + + 1 + + + + + + + + + @@ -393,28 +356,65 @@ - + - + - + - - + + - - + + + + + + + + + + + + + + + [call3]{ + + + + + + + + + + + + + + + + task3 + + + + + + + + - + - - 2 + + ;} - + @@ -424,5 +424,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.json index b6d72b1..112fc10 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.json @@ -190,284 +190,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11926", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_sin", - "label":"r_sin", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "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":"BLDCmotor_FOC_R2017b_fixdt:8743", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Sine_Cosine_Approximation", - "label":"Sine_Cosine_Approximation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9045", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Park_Transform", - "label":"Park_Transform", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11917", "className":"Simulink.Outport", @@ -549,307 +271,99 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11902", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto32", - "label":"Goto32", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9045", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Park_Transform", + "label":"Park_Transform", "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", "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_motEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8844", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11908", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto21", - "label":"Goto21", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "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":"BLDCmotor_FOC_R2017b_fixdt:10686", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iqAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11927", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"r_cos", - "label":"r_cos", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "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", + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", "", - [ - ], - "Dialog", "Auto", - "off" + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ "Main", - "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11925", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8782", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From27", - "label":"From27", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "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":"BLDCmotor_FOC_R2017b_fixdt:9718", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_motEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", + "blocktype":"SubSystem", "masktype":"" } }, @@ -897,135 +411,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11924", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "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":"BLDCmotor_FOC_R2017b_fixdt:8775", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "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":"BLDCmotor_FOC_R2017b_fixdt:11914", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11915", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From71", - "label":"From71", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "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":"BLDCmotor_FOC_R2017b_fixdt:11906", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11902", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", + "name":"Goto32", + "label":"Goto32", "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", "inspector":{ "params":[ @@ -1034,7 +424,7 @@ "IconDisplay" ], "values":[ - "i_phaAB", + "b_motEna", "local", "Tag" ], @@ -1053,37 +443,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11918", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iqAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11916", "className":"Simulink.Outport", @@ -1164,6 +523,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8844", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8845", "className":"Simulink.Goto", @@ -1198,11 +590,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8857", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11908", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto35", - "label":"Goto35", + "name":"Goto21", + "label":"Goto21", "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", "inspector":{ "params":[ @@ -1211,7 +603,7 @@ "IconDisplay" ], "values":[ - "r_sin", + "a_elecAngle", "local", "Tag" ], @@ -1263,6 +655,791 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9718", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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":"BLDCmotor_FOC_R2017b_fixdt:11924", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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":"BLDCmotor_FOC_R2017b_fixdt:11925", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_sin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8781", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From26", + "label":"From26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_sin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8775", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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":"BLDCmotor_FOC_R2017b_fixdt:8858", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto36", + "label":"Goto36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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":"BLDCmotor_FOC_R2017b_fixdt:11906", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaAB", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11023", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_Transform", + "label":"Clarke_Transform", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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":"BLDCmotor_FOC_R2017b_fixdt:11926", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_sin", + "label":"r_sin", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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":"BLDCmotor_FOC_R2017b_fixdt:8782", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From27", + "label":"From27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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":"BLDCmotor_FOC_R2017b_fixdt:11915", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From71", + "label":"From71", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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":"BLDCmotor_FOC_R2017b_fixdt:11918", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iqAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11905", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"i_phaBC", + "label":"i_phaBC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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":"BLDCmotor_FOC_R2017b_fixdt:8743", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Sine_Cosine_Approximation", + "label":"Sine_Cosine_Approximation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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":"BLDCmotor_FOC_R2017b_fixdt:8857", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto35", + "label":"Goto35", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_sin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8726", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Current_Filtering", + "label":"Current_Filtering", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "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":"BLDCmotor_FOC_R2017b_fixdt:11904", "className":"Simulink.Inport", @@ -1331,27 +1508,74 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8858", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11927", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Goto36", - "label":"Goto36", + "name":"r_cos", + "label":"r_cos", "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", "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":[ - "r_cos", - "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" @@ -1359,7 +1583,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Outport", "masktype":"" } }, @@ -1461,235 +1685,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8781", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From26", - "label":"From26", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11023", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clarke_Transform", - "label":"Clarke_Transform", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8726", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Current_Filtering", - "label":"Current_Filtering", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11901", "className":"Simulink.Inport", @@ -1758,61 +1753,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11905", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11914", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"i_phaBC", - "label":"i_phaBC", + "name":"From11", + "label":"From11", "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "IconDisplay" ], "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "iq", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1820,7 +1779,40 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10686", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11900", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iqAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", "masktype":"" } }, diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.png new file mode 100644 index 0000000..24f980e Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.svg index ff9e49e..c2fc255 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11900_d.svg @@ -174,341 +174,9 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_sin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - a_elecAngle - - - - - - - - r_sin - - - - - - - - r_cos - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sine_Cosine_Approximation - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - i_apha - - - - - - - - i_beta - - - - - - - - r_sin - - - - - - - - r_cos - - - - - - - - iq_Raw - - - - - - - - id_Raw - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Park_Transform - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - @@ -518,11 +186,11 @@ - + - + 4 @@ -540,11 +208,11 @@ - + - + id @@ -554,6 +222,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + i_apha + + + + + + + + i_beta + + + + + + + + r_sin + + + + + + + + r_cos + + + + + + + + iq_Raw + + + + + + + + id_Raw + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Park_Transform + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 ~= 0) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + @@ -566,11 +444,11 @@ - + - + [b_motEna] @@ -587,6 +465,54 @@ + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + @@ -599,11 +525,11 @@ - + - + [iq] @@ -620,6 +546,39 @@ + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + @@ -632,11 +591,11 @@ - + - + [a_elecAngle] @@ -653,674 +612,6 @@ - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - r_cos - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaAB] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - @@ -1333,11 +624,11 @@ - + - + [i_phaBC] @@ -1356,59 +647,44 @@ - - - + + + - - + + - - + + - - 3 + + [b_motEna] - - - - - - - - - - - - - - - - - i_phaAB + + - - + + - - + + - - sfix16_En4 + + boolean @@ -1419,140 +695,92 @@ - - - + + + - - + + - - + + - + [r_cos] - - - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - a_elecAngle + + - - + + - - + + - - sfix16_En6 + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 @@ -1573,11 +801,11 @@ - + - + [r_sin] @@ -1595,11 +823,11 @@ - + - + sfix16_En14 @@ -1609,53 +837,167 @@ + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + - + - + - + - + - + i_phaAB - + - + i_phaBC - + - + i_alpha - + - + i_beta @@ -1663,7 +1005,7 @@ - + @@ -1676,7 +1018,7 @@ - + @@ -1685,11 +1027,11 @@ - + - + Clarke_Transform @@ -1697,28 +1039,7 @@ - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - + @@ -1727,11 +1048,32 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1743,15 +1085,433 @@ - + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_sin + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + i_phaBC + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + r_sin + + + + + + + + r_cos + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sine_Cosine_Approximation + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + - + @@ -1765,51 +1525,51 @@ - + - + iq_raw - + - + id_raw - + - + iq - + - + iqAbs - + - + id - - + + - + if { } @@ -1839,11 +1599,11 @@ - + - + Current_Filtering @@ -1856,16 +1616,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -1881,11 +1641,11 @@ - + - + sfix16_En4 @@ -1898,16 +1658,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -1919,15 +1679,15 @@ - + - - + + - + sfix16_En4 @@ -1939,13 +1699,235 @@ - + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + i_phaAB + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + r_cos + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + @@ -1955,11 +1937,11 @@ - + - + 1 @@ -1977,11 +1959,11 @@ - + - + b_motEna @@ -1992,11 +1974,11 @@ - + - + boolean @@ -2008,58 +1990,43 @@ - - - + + + - - + + - - + + - - 4 + + [iq] - - - - - - - - - - - - - - - - - i_phaBC + + - + - - + + - + sfix16_En4 @@ -2069,6 +2036,39 @@ + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + @@ -2198,11 +2198,11 @@ - + - + @@ -2421,5 +2421,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.json index e290266..7ec8dd4 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.json @@ -1,31 +1,30 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12109", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12126", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Inv_Clarke_Transform", - "label":"Inv_Clarke_Transform", + "name":"Inv_Park_Transform", + "label":"Inv_Park_Transform", "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", "inspector":{ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -37,30 +36,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -72,19 +71,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -99,11 +97,91 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12049", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12098", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"V_phaABC_FOC", + "label":"V_phaABC_FOC", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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":"BLDCmotor_FOC_R2017b_fixdt:12052", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto21", - "label":"Goto21", + "name":"Goto32", + "label":"Goto32", "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", "inspector":{ "params":[ @@ -112,7 +190,7 @@ "IconDisplay" ], "values":[ - "Vd", + "Vq", "local", "Tag" ], @@ -227,151 +305,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12126", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Inv_Park_Transform", - "label":"Inv_Park_Transform", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12108", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12044", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"From3", + "label":"From3", "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "V_phaABC_FOC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12105", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_cos", "Tag" ], "tabs":[ @@ -390,11 +336,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12044", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12105", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From29", + "label":"From29", "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", "inspector":{ "params":[ @@ -402,7 +348,7 @@ "IconDisplay" ], "values":[ - "V_phaABC_FOC", + "r_cos", "Tag" ], "tabs":[ @@ -451,6 +397,134 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11935", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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":"BLDCmotor_FOC_R2017b_fixdt:12109", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Inv_Clarke_Transform", + "label":"Inv_Clarke_Transform", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "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":"BLDCmotor_FOC_R2017b_fixdt:11934", "className":"Simulink.Inport", @@ -518,39 +592,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12047", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_sin", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11933", "className":"Simulink.Inport", @@ -619,42 +660,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11935", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", - "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":"BLDCmotor_FOC_R2017b_fixdt:12052", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12049", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto32", - "label":"Goto32", + "name":"Goto21", + "label":"Goto21", "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", "inspector":{ "params":[ @@ -663,7 +673,7 @@ "IconDisplay" ], "values":[ - "Vq", + "Vd", "local", "Tag" ], @@ -749,86 +759,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12098", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"V_phaABC_FOC", - "label":"V_phaABC_FOC", - "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", - "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":"BLDCmotor_FOC_R2017b_fixdt:11931", "className":"Simulink.Inport", @@ -896,6 +826,72 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12047", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_sin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12108", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:11930", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "V_phaABC_FOC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12044#out:1", "className":"Simulink.Line", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.svg index 7ca6995..539b806 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.svg @@ -13,9 +13,9 @@ - - - + + + @@ -23,34 +23,58 @@ - - + + - + - - V_alpha + + Vq - + - - V_beta + + Vd - + - - V_phaABC_FOC + + r_sin + + + + + + + + r_cos + + + + + + + + V_alpha + + + + + + + + V_beta @@ -62,8 +86,8 @@ - - + + @@ -75,16 +99,16 @@ - - + + - - + + - - Inv_Clarke_Transform + + Inv_Park_Transform @@ -96,15 +120,36 @@ - + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -116,34 +161,82 @@ - + - + - - + + - - + + - - + + - - [Vd] + + 1 - + + + + + + + + + + + + + + + + + V_phaABC_FOC + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + @@ -165,11 +258,11 @@ - + - + [r_cos] @@ -198,11 +291,11 @@ - + - + [Vq] @@ -220,11 +313,11 @@ - + - + sfix16_En4 @@ -246,11 +339,11 @@ - + - + [Vd] @@ -268,11 +361,11 @@ - + - + sfix16_En4 @@ -282,241 +375,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - Vq - - - - - - - - Vd - - - - - - - - r_sin - - - - - - - - r_cos - - - - - - - - V_alpha - - - - - - - - V_beta - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Inv_Park_Transform - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [V_phaABC_FOC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - @@ -529,11 +387,11 @@ - + - + [V_phaABC_FOC] @@ -551,11 +409,11 @@ - + - + sfix16_En4 @@ -565,6 +423,54 @@ + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + @@ -577,11 +483,11 @@ - + - + [r_sin] @@ -599,11 +505,11 @@ - + - + sfix16_En14 @@ -613,9 +519,166 @@ + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + V_alpha + + + + + + + + V_beta + + + + + + + + V_phaABC_FOC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Inv_Clarke_Transform + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + @@ -625,11 +688,11 @@ - + - + 4 @@ -647,11 +710,11 @@ - + - + r_cos @@ -662,11 +725,11 @@ - + - + sfix16_En14 @@ -676,39 +739,6 @@ - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - @@ -721,11 +751,11 @@ - + - + 3 @@ -743,11 +773,11 @@ - + - + r_sin @@ -758,11 +788,11 @@ - + - + sfix16_En14 @@ -774,76 +804,28 @@ - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - + + - + - + - - [Vq] + + [Vd] - + @@ -865,11 +847,11 @@ - + - + 2 @@ -887,11 +869,11 @@ - + - + Vd @@ -902,11 +884,11 @@ - + - + sfix16_En4 @@ -916,54 +898,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - V_phaABC_FOC - - - - - - - - @@ -976,11 +910,11 @@ - + - + 1 @@ -998,11 +932,11 @@ - + - + Vq @@ -1013,11 +947,11 @@ - + - + sfix16_En4 @@ -1027,6 +961,72 @@ + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_FOC] + + + + + + + + + + + + + + + @@ -1197,5 +1197,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.json index 573d760..c0a7908 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.json @@ -312,11 +312,70 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12118", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12122", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum6", + "label":"Sum6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "rectangular", + "-+", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Same as first input", + "off", + "Simplest", + "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":"BLDCmotor_FOC_R2017b_fixdt:12119", "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"MinMax1", - "label":"MinMax1", + "name":"MinMax2", + "label":"MinMax2", "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ @@ -334,7 +393,7 @@ ], "values":[ "Inherit: Inherit via internal rule", - "min", + "max", "on", "1", "off", @@ -364,65 +423,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12117", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain4", - "label":"Gain4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "2/sqrt(3)", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", - "off", - "Floor", - "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":"BLDCmotor_FOC_R2017b_fixdt:12120", "className":"Simulink.Mux", @@ -513,6 +513,59 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12118", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax1", + "label":"MinMax1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", + "inspector":{ + "params":[ + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" + ], + "values":[ + "Inherit: Inherit via internal rule", + "min", + "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":"BLDCmotor_FOC_R2017b_fixdt:12115", "className":"Simulink.Gain", @@ -632,64 +685,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12119", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax2", - "label":"MinMax2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", - "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":"BLDCmotor_FOC_R2017b_fixdt:12113", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12121", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Add1", - "label":"Add1", + "name":"Sum2", + "label":"Sum2", "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ @@ -709,14 +709,14 @@ ], "values":[ "rectangular", - "-+", + "--", "off", "Inherit: Inherit via internal rule", "[]", "[]", "Inherit: Same as first input", "off", - "Floor", + "Simplest", "on", "1", "All dimensions", @@ -743,6 +743,65 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12117", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain4", + "label":"Gain4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "2/sqrt(3)", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Same as input", + "off", + "Floor", + "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":"BLDCmotor_FOC_R2017b_fixdt:12112", "className":"Simulink.Sum", @@ -803,11 +862,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12122", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12113", "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Sum6", - "label":"Sum6", + "name":"Add1", + "label":"Add1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", "inspector":{ "params":[ @@ -834,66 +893,7 @@ "[]", "Inherit: Same as first input", "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":"BLDCmotor_FOC_R2017b_fixdt:12121", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12109", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "--", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", + "Floor", "on", "1", "All dimensions", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.svg index f36447e..8b63e0f 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12109_d.svg @@ -265,299 +265,59 @@ - - - + + + - - + + - + - + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2/sqrt(3) + + - - + + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1/2 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0.5 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - sqrt(3)/2 - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -571,7 +331,7 @@ - + @@ -579,19 +339,19 @@ - + - + - + - + @@ -617,11 +377,11 @@ - + - + sfix16_En4 @@ -633,195 +393,251 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1/2 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0.5 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + sqrt(3)/2 + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -843,19 +659,19 @@ - + - + - + - + @@ -873,11 +689,195 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2/sqrt(3) + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1019,10 +1019,10 @@ - + - + @@ -1182,10 +1182,10 @@ - + - + @@ -1193,5 +1193,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.json index 564c403..a8e8727 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.json @@ -476,65 +476,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12148", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum6", - "label":"Sum6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "rectangular", - "+-", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "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":"BLDCmotor_FOC_R2017b_fixdt:12147", "className":"Simulink.Sum", @@ -628,11 +569,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12145", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12143", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ @@ -641,7 +582,7 @@ "IconDisplay" ], "values":[ - "r_sin", + "Vq", "local", "Tag" ], @@ -660,37 +601,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12142", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", - "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":"BLDCmotor_FOC_R2017b_fixdt:12141", "className":"Simulink.From", @@ -723,11 +633,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12139", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12142", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From8", + "label":"From8", "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ @@ -735,7 +645,7 @@ "IconDisplay" ], "values":[ - "r_cos", + "Vd", "Tag" ], "tabs":[ @@ -754,11 +664,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12138", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12137", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From3", + "label":"From3", "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ @@ -766,7 +676,38 @@ "IconDisplay" ], "values":[ - "Vd", + "Vq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12136", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_cos", "Tag" ], "tabs":[ @@ -817,6 +758,277 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12138", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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":"BLDCmotor_FOC_R2017b_fixdt:12135", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_sin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12140", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12145", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_sin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12131", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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":"BLDCmotor_FOC_R2017b_fixdt:12132", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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":"BLDCmotor_FOC_R2017b_fixdt:12139", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", + "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":"BLDCmotor_FOC_R2017b_fixdt:12134", "className":"Simulink.Product", @@ -932,79 +1144,18 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12135", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12148", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12140", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12131", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", + "name":"Sum6", + "label":"Sum6", "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", "inspector":{ "params":[ + "IconShape", "Inputs", - "Multiplication", "InputSameDT", + "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", @@ -1016,15 +1167,16 @@ "SampleTime" ], "values":[ - "**", - "Element-wise(.*)", + "rectangular", + "+-", "off", + "Inherit: Inherit via internal rule", "[]", "[]", "Inherit: Same as first input", "off", "Simplest", - "off", + "on", "1", "All dimensions", "-1" @@ -1037,7 +1189,7 @@ "tabs_idx":[ 0, 2, - 9 + 10 ] }, "viewer":{ @@ -1046,159 +1198,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12136", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", - "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":"BLDCmotor_FOC_R2017b_fixdt:12137", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12132", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", - "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":"BLDCmotor_FOC_R2017b_fixdt:12143", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12126", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"Sum", "masktype":"" } }, diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.svg similarity index 98% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.svg index 3623900..1d12020 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12126_d.svg @@ -410,70 +410,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -486,35 +422,35 @@ - + - + - + - + - + - + - + - + @@ -532,11 +468,11 @@ - + - + sfix16_En4 @@ -558,11 +494,11 @@ - + - + [r_cos] @@ -581,28 +517,28 @@ - - + + - + - + - - [r_sin] + + [Vq] - + @@ -612,54 +548,6 @@ - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -672,11 +560,11 @@ - + - + [r_sin] @@ -694,11 +582,11 @@ - + - + sfix16_En14 @@ -710,43 +598,139 @@ - - + + - + - + - - [r_cos] + + [Vd] - + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + - - + + - + sfix16_En14 @@ -756,6 +740,39 @@ + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + @@ -804,151 +821,6 @@ - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -961,11 +833,11 @@ - + - + [r_sin] @@ -983,11 +855,11 @@ - + - + sfix16_En14 @@ -1009,11 +881,11 @@ - + - + [Vq] @@ -1031,11 +903,11 @@ - + - + sfix16_En4 @@ -1045,11 +917,44 @@ + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + - + @@ -1057,19 +962,19 @@ - + - + - + - + @@ -1087,107 +992,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1201,7 +1010,7 @@ - + @@ -1209,19 +1018,19 @@ - + - + - + - + @@ -1239,11 +1048,11 @@ - + - + sfix16_En4 @@ -1255,29 +1064,220 @@ - - - + + + - - + + - - + + - - [Vq] + + [r_cos] - - + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1540,5 +1540,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.json index 2a98e1e..057d411 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.json @@ -244,86 +244,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12361", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vq_nLimProtMax", - "label":"Vq_nLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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":[ - "12", - "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":"BLDCmotor_FOC_R2017b_fixdt:12360", "className":"Simulink.Outport", @@ -404,6 +324,246 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12359", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_nLimProtMax", + "label":"r_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":[ + "10", + "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":"BLDCmotor_FOC_R2017b_fixdt:12357", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iq_min", + "label":"iq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "8", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "-750", + "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":"BLDCmotor_FOC_R2017b_fixdt:12356", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iq_max", + "label":"iq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "7", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "750", + "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":"BLDCmotor_FOC_R2017b_fixdt:12358", "className":"Simulink.Outport", @@ -485,11 +645,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12356", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12353", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"iq_max", - "label":"iq_max", + "name":"Vq_min", + "label":"Vq_min", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -518,7 +678,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "7", + "4", "Port number", "[]", "[]", @@ -531,7 +691,7 @@ "auto", "off", "off", - "750", + "-900", "off", "held", "off", @@ -725,140 +885,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12346", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"i_max", - "label":"i_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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":"BLDCmotor_FOC_R2017b_fixdt:12353", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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", - "-900", - "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":"BLDCmotor_FOC_R2017b_fixdt:12345", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12348", "className":"Simulink.PreLookup", "icon":"WebViewIcon3", - "name":"Vq_max_XA", - "label":"Vq_max_XA", + "name":"iq_maxSca_XA", + "label":"iq_maxSca_XA", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -889,7 +920,7 @@ "values":[ "Explicit values", "Dialog", - "Vq_max_XA", + "iq_maxSca_XA", "Index only", "Evenly spaced points", "Clip", @@ -1014,162 +1045,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12312", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Voltage_Mode_Protection", - "label":"Voltage_Mode_Protection", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12359", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12349", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"r_nLimProtMax", - "label":"r_nLimProtMax", + "name":"n_max1", + "label":"n_max1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "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":[ - "10", - "Port number", + "n_max", + "on", + "inf", "[]", "[]", - "Inherit: auto", + "fixdt(1,16,4)", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "inf" ], "tabs":[ "Main", @@ -1178,8 +1079,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 3, + 7 ] }, "viewer":{ @@ -1188,339 +1089,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12294", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Torque_Mode_Protection", - "label":"Torque_Mode_Protection", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12347", - "className":"Simulink.Interpolation_nD", - "icon":"WebViewIcon3", - "name":"iq_maxSca_M1", - "label":"iq_maxSca_M1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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", - "iq_maxSca_M1", - "Flat", - "Error", - "on", - "0", - "on", - "Inherit: Same as output", - "[]", - "[]", - "fixdt(0,16,16)", - "[]", - "[]", - "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":"BLDCmotor_FOC_R2017b_fixdt:12293", - "className":"Simulink.SwitchCase", - "icon":"WebViewIcon3", - "name":"Switch Case", - "label":"Switch Case", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "CaseConditions", - "ShowDefaultCase", - "SampleTime", - "ZeroCross" - ], - "values":[ - "{VLT_MODE, SPD_MODE, TRQ_MODE}", - "off", - "-1", - "on" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SwitchCase", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12354", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"id_max", - "label":"id_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "750", - "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":"BLDCmotor_FOC_R2017b_fixdt:12282", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"Constant", "masktype":"" } }, @@ -1558,11 +1127,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12280", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12279", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -1571,7 +1140,7 @@ "IconDisplay" ], "values":[ - "iq_min", + "iq_max", "local", "Tag" ], @@ -1623,72 +1192,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12277", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vd_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12266", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto14", - "label":"Goto14", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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":"BLDCmotor_FOC_R2017b_fixdt:12276", "className":"Simulink.Goto", @@ -1723,11 +1226,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12268", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12275", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", + "name":"Goto22", + "label":"Goto22", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -1736,7 +1239,172 @@ "IconDisplay" ], "values":[ - "z_ctrlMod", + "r_iqLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12273", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto20", + "label":"Goto20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_limProtErr", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12282", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12271", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12270", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto18", + "label":"Goto18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iqAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12264", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VdPrev", "local", "Tag" ], @@ -1789,341 +1457,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12272", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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":"BLDCmotor_FOC_R2017b_fixdt:12263", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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":"BLDCmotor_FOC_R2017b_fixdt:12262", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12261", "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"Gain5", - "label":"Gain5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "-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":"BLDCmotor_FOC_R2017b_fixdt:12273", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto20", - "label":"Goto20", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12355", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"id_min", - "label":"id_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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", - "-750", - "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":"BLDCmotor_FOC_R2017b_fixdt:12260", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain3", - "label":"Gain3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "-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":"BLDCmotor_FOC_R2017b_fixdt:12275", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12259", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain1", - "label":"Gain1", + "name":"Gain4", + "label":"Gain4", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -2209,25 +1547,53 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12258", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12262", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", + "name":"Gain5", + "label":"Gain5", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "iq_min", - "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" @@ -2235,7 +1601,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Gain", "masktype":"" } }, @@ -2271,25 +1637,33 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12254", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12293", + "className":"Simulink.SwitchCase", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"Switch Case", + "label":"Switch Case", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "CaseConditions", + "ShowDefaultCase", + "SampleTime", + "ZeroCross" ], "values":[ - "id_max", - "Tag" + "{VLT_MODE, SPD_MODE, TRQ_MODE}", + "off", + "-1", + "on" ], "tabs":[ - "Parameter Attributes" + "Parameter Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 2 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2297,40 +1671,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12269", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"SwitchCase", "masktype":"" } }, @@ -2366,186 +1707,72 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12279", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12345", + "className":"Simulink.PreLookup", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"Vq_max_XA", + "label":"Vq_max_XA", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12251", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From30", - "label":"From30", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12349", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"n_max1", - "label":"n_max1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", + "BreakpointsSpecification", + "BreakpointsDataSource", + "BreakpointsData", + "OutputSelection", + "IndexSearchMethod", + "ExtrapMethod", + "DiagnosticForOutOfRangeInput", + "RemoveProtectionInput", + "BreakpointDataTypeStr", + "BreakpointMin", + "BreakpointMax", + "IndexDataTypeStr", "LockScale", - "FramePeriod" - ], - "values":[ - "n_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":"BLDCmotor_FOC_R2017b_fixdt:12357", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"iq_min", - "label":"iq_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "BeginIndexSearchUsingPreviousIndexResult", + "BreakpointObject", + "BreakpointsFirstPoint", + "BreakpointsNumPoints", + "BreakpointsSpacing", + "FractionDataTypeStr", + "OutputBusDataTypeStr", + "RndMeth", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "UseLastBreakpoint" ], "values":[ - "8", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "-750", - "off", - "held", - "off", - "0", - "", - [ - ], + "Explicit values", "Dialog", - "Auto", + "Vq_max_XA", + "Index only", + "Evenly spaced points", + "Clip", + "None", + "off", + "Inherit: Same as input", + "[]", + "[]", + "uint8", + "off", + "on", + "", + "10", + "11", + "10", + "fixdt(0,8,6)", + "Inherit: auto", + "Simplest", + "-1", "off" ], "tabs":[ "Main", - "Signal Attributes", + "Data Types", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 8, + 13 ] }, "viewer":{ @@ -2554,16 +1781,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"PreLookup", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12248", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12258", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", + "name":"From9", + "label":"From9", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -2571,7 +1798,7 @@ "IconDisplay" ], "values":[ - "n_motAbs", + "iq_min", "Tag" ], "tabs":[ @@ -2590,11 +1817,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12270", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12266", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", + "name":"Goto14", + "label":"Goto14", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -2603,7 +1830,7 @@ "IconDisplay" ], "values":[ - "iqAbs", + "Vq_max", "local", "Tag" ], @@ -2685,11 +1912,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12244", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12249", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", + "name":"From29", + "label":"From29", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -2697,7 +1924,7 @@ "IconDisplay" ], "values":[ - "iq", + "r_inpTgtScaAbs", "Tag" ], "tabs":[ @@ -2716,11 +1943,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12242", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12245", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", + "name":"From25", + "label":"From25", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -2728,7 +1955,7 @@ "IconDisplay" ], "values":[ - "iq_min", + "n_max", "Tag" ], "tabs":[ @@ -2827,11 +2054,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12241", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12243", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", + "name":"From23", + "label":"From23", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -2839,7 +2066,7 @@ "IconDisplay" ], "values":[ - "iq_max", + "z_ctrlMod", "Tag" ], "tabs":[ @@ -2858,11 +2085,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12271", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12272", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -2871,7 +2098,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtScaAbs", + "id_TgtAbs", "local", "Tag" ], @@ -2891,11 +2118,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12245", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12240", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", + "name":"From20", + "label":"From20", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -2921,6 +2148,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12250", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12239", "className":"Simulink.From", @@ -2984,11 +2242,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12236", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12237", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"From13", + "label":"From13", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -2996,7 +2254,7 @@ "IconDisplay" ], "values":[ - "Vq_max", + "iq_limProtErr", "Tag" ], "tabs":[ @@ -3015,11 +2273,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12240", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12244", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", + "name":"From24", + "label":"From24", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -3027,7 +2285,71 @@ "IconDisplay" ], "values":[ - "n_max", + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12268", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto16", + "label":"Goto16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12236", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", "Tag" ], "tabs":[ @@ -3108,42 +2430,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12252", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_nLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12267", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12280", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -3152,7 +2443,7 @@ "IconDisplay" ], "values":[ - "Vq_min", + "iq_min", "local", "Tag" ], @@ -3172,71 +2463,63 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12249", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12354", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", + "name":"id_max", + "label":"id_max", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12232", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide4", - "label":"Divide4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", + "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":[ - "*/", - "Element-wise(.*)", - "off", + "5", + "Port number", "[]", "[]", - "fixdt(0,16,16)", + "Inherit: auto", "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "750", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -3246,7 +2529,7 @@ "tabs_idx":[ 0, 2, - 9 + 11 ] }, "viewer":{ @@ -3255,16 +2538,113 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12243", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12312", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Voltage_Mode_Protection", + "label":"Voltage_Mode_Protection", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12233", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", + "name":"From", + "label":"From", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -3272,7 +2652,7 @@ "IconDisplay" ], "values":[ - "z_ctrlMod", + "VdPrev", "Tag" ], "tabs":[ @@ -3291,32 +2671,63 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12230", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12355", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", + "name":"id_min", + "label":"id_min", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "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":[ - "0", - "on", - "inf", + "6", + "Port number", "[]", "[]", - "uint8", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "-750", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -3325,8 +2736,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -3335,89 +2746,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12229", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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":"BLDCmotor_FOC_R2017b_fixdt:12264", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "VdPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"Outport", "masktype":"" } }, @@ -3471,44 +2800,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12274", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto21", - "label":"Goto21", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12233", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12252", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From31", + "label":"From31", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -3516,7 +2812,7 @@ "IconDisplay" ], "values":[ - "VdPrev", + "r_nLimProtMax", "Tag" ], "tabs":[ @@ -3535,11 +2831,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12237", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12248", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", + "name":"From28", + "label":"From28", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -3547,7 +2843,7 @@ "IconDisplay" ], "values":[ - "iq_limProtErr", + "n_motAbs", "Tag" ], "tabs":[ @@ -3565,199 +2861,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12226", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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":"BLDCmotor_FOC_R2017b_fixdt:12261", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain4", - "label":"Gain4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "-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":"BLDCmotor_FOC_R2017b_fixdt:12224", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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":"BLDCmotor_FOC_R2017b_fixdt:12231", "className":"Simulink.Product", @@ -3815,6 +2918,355 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12269", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12230", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant1", + "label":"Constant1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12254", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12259", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain1", + "label":"Gain1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "-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":"BLDCmotor_FOC_R2017b_fixdt:12267", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12251", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From30", + "label":"From30", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12228", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs5", + "label":"Abs5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12263", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12274", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12223", "className":"Simulink.Inport", @@ -3883,170 +3335,73 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12250", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12361", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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":"BLDCmotor_FOC_R2017b_fixdt:12283", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Speed_Mode_Protection", - "label":"Speed_Mode_Protection", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12228", - "className":"Simulink.Abs", - "icon":"WebViewIcon3", - "name":"Abs5", - "label":"Abs5", + "name":"Vq_nLimProtMax", + "label":"Vq_nLimProtMax", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ + "12", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", + "Inherit: auto", "off", + "inherit", "-1", - "on" + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ + "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 2, + 11 ] }, "viewer":{ @@ -4055,16 +3410,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Abs", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12225", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12226", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"iqAbs", - "label":"iqAbs", + "name":"n_motAbs", + "label":"n_motAbs", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -4087,7 +3442,7 @@ "OutputFunctionCall" ], "values":[ - "6", + "7", "Port number", "[]", "[]", @@ -4194,72 +3549,50 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12348", - "className":"Simulink.PreLookup", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12232", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"iq_maxSca_XA", - "label":"iq_maxSca_XA", + "name":"Divide4", + "label":"Divide4", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ - "BreakpointsSpecification", - "BreakpointsDataSource", - "BreakpointsData", - "OutputSelection", - "IndexSearchMethod", - "ExtrapMethod", - "DiagnosticForOutOfRangeInput", - "RemoveProtectionInput", - "BreakpointDataTypeStr", - "BreakpointMin", - "BreakpointMax", - "IndexDataTypeStr", + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", "LockScale", - "BeginIndexSearchUsingPreviousIndexResult", - "BreakpointObject", - "BreakpointsFirstPoint", - "BreakpointsNumPoints", - "BreakpointsSpacing", - "FractionDataTypeStr", - "OutputBusDataTypeStr", "RndMeth", - "SampleTime", - "UseLastBreakpoint" + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "Explicit values", - "Dialog", - "iq_maxSca_XA", - "Index only", - "Evenly spaced points", - "Clip", - "None", + "*/", + "Element-wise(.*)", "off", - "Inherit: Same as input", "[]", "[]", - "uint8", + "fixdt(0,16,16)", "off", - "on", - "", - "10", - "11", - "10", - "fixdt(0,8,6)", - "Inherit: auto", "Simplest", - "-1", - "off" + "on", + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", - "Data Types", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 8, - 13 + 2, + 9 ] }, "viewer":{ @@ -4268,7 +3601,733 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"PreLookup", + "blocktype":"Product", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12229", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12260", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain3", + "label":"Gain3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "-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":"BLDCmotor_FOC_R2017b_fixdt:12386", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12347", + "className":"Simulink.Interpolation_nD", + "icon":"WebViewIcon3", + "name":"iq_maxSca_M1", + "label":"iq_maxSca_M1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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", + "iq_maxSca_M1", + "Flat", + "Error", + "on", + "0", + "on", + "Inherit: Same as output", + "[]", + "[]", + "fixdt(0,16,16)", + "[]", + "[]", + "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":"BLDCmotor_FOC_R2017b_fixdt:12283", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Speed_Mode_Protection", + "label":"Speed_Mode_Protection", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12346", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"i_max", + "label":"i_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12225", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iqAbs", + "label":"iqAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12224", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12257", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12221", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaAbs", + "label":"r_inpTgtScaAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12294", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Torque_Mode_Protection", + "label":"Torque_Mode_Protection", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "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":"BLDCmotor_FOC_R2017b_fixdt:12242", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From22", + "label":"From22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, @@ -4340,11 +4399,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12257", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12241", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", + "name":"From21", + "label":"From21", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ @@ -4371,20 +4430,22 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12386", - "className":"Simulink.ActionPort", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12277", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", "inspector":{ "params":[ - "InitializeStates", - "PropagateVarSize" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "held", - "Only when execution is resumed" + "Vd_min", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -4397,74 +4458,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"ActionPort", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12221", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtScaAbs", - "label":"r_inpTgtScaAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12219", - "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", + "blocktype":"Goto", "masktype":"" } }, diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.png new file mode 100644 index 0000000..9bc25bf Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.svg index 5657b34..72a1935 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12219_d.svg @@ -234,54 +234,6 @@ - - - - - - - - - - - - - - - - - - 12 - - - - - - - - - - - - - - - - - - - - - - Vq_nLimProtMax - - - - - - - - @@ -294,11 +246,11 @@ - + - + 11 @@ -316,11 +268,11 @@ - + - + iq_limProtErr @@ -332,11 +284,59 @@ - - + + - + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + + + + + + + + @@ -346,30 +346,30 @@ - - 9 + + 8 - + - - + + - + - - r_iqLimProtMax + + iq_min @@ -426,6 +426,102 @@ + + + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + r_iqLimProtMax + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + @@ -438,11 +534,11 @@ - + - + 2 @@ -460,11 +556,11 @@ - + - + Vd_min @@ -486,11 +582,11 @@ - + - + 1 @@ -508,11 +604,11 @@ - + - + Vd_max @@ -524,107 +620,11 @@ - - - + + + - - - - - - - - - - - - i_max - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - + @@ -634,7 +634,7 @@ - + @@ -642,7 +642,7 @@ - + @@ -650,7 +650,7 @@ - + @@ -658,7 +658,7 @@ - + @@ -666,7 +666,7 @@ - + @@ -674,7 +674,7 @@ - + @@ -682,7 +682,7 @@ - + @@ -690,7 +690,7 @@ - + @@ -698,7 +698,7 @@ - + @@ -706,7 +706,7 @@ - + @@ -721,37 +721,37 @@ - + - - + + - + - - Vq_max_XA + + iq_maxSca_XA - + - + - + uint8 @@ -765,7 +765,7 @@ - + @@ -1128,6 +1128,1850 @@ + + + + + + + + + + + + + + + + + + n_max + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + case [ 1 ]: + + + + + + + + case [ 2 ]: + + + + + + + + case [ 3 ]: + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vq_max_XA + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + id_max + + + + + + + + @@ -1146,67 +2990,67 @@ - + - + r_inpTgtScaAbs - + - + iqAbs - + - + iq_max - + - + n_motAbs - + - + n_max - + - + r_iqLimProtMax - + - + r_nLimProtMax - + - + case: { } @@ -1236,11 +3080,11 @@ - + - + Voltage_Mode_Protection @@ -1253,16 +3097,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -1274,16 +3118,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -1295,15 +3139,15 @@ - + - - + + - + sfix16_En4 @@ -1315,1161 +3159,54 @@ - + - - + + - - + + - - + + - - 10 + + [VdPrev] - - - - - - - - - - - - - - - - - r_nLimProtMax - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - n_max - - - - - - - - Vq_max - - - - - - - - Vq_nLimProtMax - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Torque_Mode_Protection + + - - - - - - - + - - + + - + sfix16_En4 - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-D T(k,f) - - - - - - - - k1 - - - - - - - - f1 - - - - - - - - - - - - - - - - - - - - - - iq_maxSca_M1 - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - case [ 1 ]: - - - - - - - - case [ 2 ]: - - - - - - - - case [ 3 ]: - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - id_max - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - @@ -2486,11 +3223,11 @@ - + - + 6 @@ -2508,11 +3245,11 @@ - + - + id_min @@ -2524,1312 +3261,43 @@ - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - n_max + + Vd_max - + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - iq_min - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -3851,11 +3319,11 @@ - + - + [r_nLimProtMax] @@ -3873,11 +3341,292 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -3899,11 +3648,11 @@ - + - + [Vq_min] @@ -3922,43 +3671,43 @@ - - + + - + - + - - [r_inpTgtScaAbs] + + [r_iqLimProtMax] - + - + - - + + - + sfix16_En4 @@ -3968,925 +3717,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [VdPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Vd_max - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VdPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - id_TgtAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - iq_max - - - - - - - - iq_min - - - - - - - - iq_limProtErr - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Speed_Mode_Protection - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - + @@ -4894,35 +3729,35 @@ - + - + - + - + - + - + - + - + @@ -4948,11 +3783,11 @@ - + - + sfix16_En4 @@ -4964,58 +3799,235 @@ - - - + + + - - + + - - + + - - 6 + + [Vd_max] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + - - + + - - + + - - iqAbs + + id_TgtAbs - + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + + + + + + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + sfix16_En4 @@ -5037,11 +4049,11 @@ - + - + 3 @@ -5059,11 +4071,11 @@ - + - + VdPrev @@ -5074,11 +4086,11 @@ - + - + sfix16_En4 @@ -5090,138 +4102,116 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - iq_maxSca_XA + + - + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + - - + + - + uint8 @@ -5233,59 +4223,779 @@ - - - + + + - - + + - - + + - - 1 + + -1 - + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 + + + + + + + + + + + + + + + + + + + + + + iq_maxSca_M1 + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + + iq_limProtErr + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Speed_Mode_Protection + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + i_max + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + - - + + - - + + - - z_ctrlMod + + iqAbs - - + + - - + + - - uint8 + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + sfix16_En4 @@ -5306,11 +5016,11 @@ - + - + [iq_max] @@ -5328,11 +5038,11 @@ - + - + sfix16_En4 @@ -5342,54 +5052,6 @@ - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - @@ -5402,11 +5064,11 @@ - + - + 2 @@ -5424,11 +5086,11 @@ - + - + r_inpTgtScaAbs @@ -5439,11 +5101,11 @@ - + - + sfix16_En4 @@ -5453,6 +5115,344 @@ + + + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + n_max + + + + + + + + Vq_max + + + + + + + + Vq_nLimProtMax + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Torque_Mode_Protection + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + @@ -5703,15 +5703,15 @@ - - - + + + @@ -6359,5 +6359,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.json index 39b6bac..9151fa0 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.json @@ -1,112 +1,4 @@ [ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12291", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_iqKiLimProt", - "label":"cf_iqKiLimProt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", - "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":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12290", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "round", - "|+-", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "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":"BLDCmotor_FOC_R2017b_fixdt:12292", "className":"Simulink.Outport", @@ -188,42 +80,62 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12289", - "className":"Saturation Dynamic", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12290", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", + "name":"Sum3", + "label":"Sum3", "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", "inspector":{ "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", "RndMeth", - "DoSatur" + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "[]", - "[]", - "Inherit: Same as second input", + "round", + "|+-", "off", - "Floor", - "off" + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "off", + "Simplest", + "off", + "1", + "All dimensions", + "-1" ], "tabs":[ + "Main", + "Signal Attributes", + "-Other" ], "tabs_idx":[ + 0, + 2, + 10 ] }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" + "blocktype":"Sum", + "masktype":"" } }, { @@ -283,6 +195,86 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12287", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", + "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":"BLDCmotor_FOC_R2017b_fixdt:12291", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_iqKiLimProt", + "label":"cf_iqKiLimProt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", + "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":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12286", "className":"Simulink.Inport", @@ -350,6 +342,45 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12289", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", + "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":"BLDCmotor_FOC_R2017b_fixdt:12285", "className":"Simulink.Inport", @@ -417,37 +448,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12287", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12283", - "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":"BLDCmotor_FOC_R2017b_fixdt:12284", "className":"Simulink.Inport", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.svg index 314fc44..1e386b5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.svg @@ -13,59 +13,44 @@ - - - + + + - - + + - + - - cf_iqKiLimProt + + 1 - - + + - - + + - + - - cf_iqKiLimProt - - - - - - - - - - - - - - - ufix16_En16 + + iq_limProtErr @@ -85,13 +70,21 @@ + + + + + + + + - + @@ -99,14 +92,6 @@ - - - - - - - - @@ -124,171 +109,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - iq_limProtErr - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -302,7 +127,7 @@ - + @@ -310,19 +135,19 @@ - + - + - + - + @@ -340,11 +165,11 @@ - + - + sfix32_En20 @@ -354,6 +179,117 @@ + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + cf_iqKiLimProt + + + + + + + + + + + + + + + + + + + + + + cf_iqKiLimProt + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + @@ -366,11 +302,11 @@ - + - + 3 @@ -388,11 +324,11 @@ - + - + iq_min @@ -403,11 +339,123 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -429,11 +477,11 @@ - + - + 2 @@ -451,11 +499,11 @@ - + - + iq_max @@ -466,11 +514,11 @@ - + - + sfix16_En4 @@ -480,54 +528,6 @@ - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - @@ -711,5 +711,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.svg index 8bc3751..df04d94 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12289_d.svg @@ -63,7 +63,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -334,7 +334,7 @@ - + @@ -526,7 +526,7 @@ - + @@ -605,7 +605,7 @@ - + @@ -654,7 +654,7 @@ - + @@ -1009,16 +1009,16 @@ - - - - + - + + + + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.json index 02a169c..18a17fd 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.json @@ -1,26 +1,42 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12305", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12309", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"cf_nKiLimProt", + "label":"cf_nKiLimProt", "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "n_motAbs", - "local", - "Tag" + "cf_nKiLimProt", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,16)", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -28,32 +44,48 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Constant", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12304", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12308", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"cf_KbLimProt", + "label":"cf_KbLimProt", "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "n_max", - "local", - "Tag" + "cf_KbLimProt", + "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" @@ -61,7 +93,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Constant", "masktype":"" } }, @@ -124,6 +156,163 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12304", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"I_backCalc_fixdt", + "label":"I_backCalc_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "inspector":{ + "params":[ + "yInit" + ], + "values":[ + "900" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12305", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "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":"BLDCmotor_FOC_R2017b_fixdt:12302", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "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":"BLDCmotor_FOC_R2017b_fixdt:12301", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", + "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":"BLDCmotor_FOC_R2017b_fixdt:12303", "className":"Simulink.Goto", @@ -158,43 +347,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12308", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12300", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"cf_KbLimProt", - "label":"cf_KbLimProt", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "IconDisplay" ], "values":[ - "cf_KbLimProt", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,12)", - "off", - "inf" + "Vq_max", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -202,7 +373,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", "masktype":"" } }, @@ -287,42 +458,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12300", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", - "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":"BLDCmotor_FOC_R2017b_fixdt:12309", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12299", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"cf_nKiLimProt", - "label":"cf_nKiLimProt", + "name":"Constant1", + "label":"Constant1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", "inspector":{ "params":[ @@ -336,12 +476,12 @@ "FramePeriod" ], "values":[ - "cf_nKiLimProt", + "0", "on", "inf", "[]", "[]", - "fixdt(0,16,16)", + "Inherit: Inherit via back propagation", "off", "inf" ], @@ -366,97 +506,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12301", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", - "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":"BLDCmotor_FOC_R2017b_fixdt:12306", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", - "name":"I_backCalc_fixdt", - "label":"I_backCalc_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", - "inspector":{ - "params":[ - "yInit" - ], - "values":[ - "900" - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12302", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", - "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":"BLDCmotor_FOC_R2017b_fixdt:12298", "className":"Simulink.ActionPort", @@ -689,55 +738,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12299", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", - "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":"BLDCmotor_FOC_R2017b_fixdt:12295#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.png new file mode 100644 index 0000000..56c8f6c Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.svg index dfab66b..7abe17c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.svg @@ -13,29 +13,59 @@ - - - + + + - - + + - + - - [n_motAbs] + + cf_nKiLimProt - - + + + + + + + + + + + + + + + + + cf_nKiLimProt + + + + + + + + + + + + + + + ufix16_En16 @@ -46,29 +76,59 @@ - - - + + + - - + + - - + + - - [n_max] + + cf_KbLimProt - - + + + + + + + + + + + + + + + + + cf_KbLimProt + + + + + + + + + + + + + + + ufix16_En12 @@ -89,27 +149,27 @@ - + - + - + - + - + - + @@ -127,11 +187,331 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + I + + + + + + + + Kb + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + out + + + + + + + + I(z) + + + + + + + + + + + + + + + + + + + + + + I_backCalc_fixdt + + + + + + + + + + + + + + + Ini=900 + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -153,11 +533,11 @@ - + - + [Vq_max] @@ -174,117 +554,6 @@ - - - - - - - - - - - - - - - - - - cf_KbLimProt - - - - - - - - - - - - - - - - - - - - - - cf_KbLimProt - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vq_nLimProtMax - - - - - - - - @@ -297,11 +566,11 @@ - + - + [Vq_max] @@ -319,11 +588,11 @@ - + - + sfix16_En4 @@ -335,312 +604,91 @@ - - - + + + - - - - - - - - - - - - cf_nKiLimProt - - - - - - - - - - - - - - - - - - - - - - cf_nKiLimProt - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - I - - - - - - - - Kb - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - out - - - - - - - - I(z) - - - - - - - - - - - - - - - - - - - - - - I_backCalc_fixdt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - Ini=900 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - - [n_motAbs] + + 1 - - + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + - + - - + + - + sfix16_En4 @@ -654,7 +702,7 @@ - + @@ -662,11 +710,11 @@ - + - + case: { } @@ -684,11 +732,11 @@ - + - + Action Port @@ -710,11 +758,11 @@ - + - + 3 @@ -732,11 +780,11 @@ - + - + Vq_max @@ -747,11 +795,11 @@ - + - + sfix16_En4 @@ -773,11 +821,11 @@ - + - + 2 @@ -795,11 +843,11 @@ - + - + n_max @@ -810,11 +858,11 @@ - + - + sfix16_En4 @@ -836,11 +884,11 @@ - + - + 1 @@ -858,11 +906,11 @@ - + - + n_motAbs @@ -873,59 +921,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1091,5 +1091,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.svg similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.svg index 4ba302a..9a4603b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2877_d.svg @@ -431,5 +431,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.svg index 876766e..a245a42 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_2895_d.svg @@ -63,7 +63,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -334,7 +334,7 @@ - + @@ -526,7 +526,7 @@ - + @@ -605,7 +605,7 @@ - + @@ -654,7 +654,7 @@ - + @@ -1103,10 +1103,10 @@ - + - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.json index f6c7b2b..3796e5a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.json @@ -1,367 +1,4 @@ [ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2894", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", - "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2892", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", - "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2877", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2869", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", - "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", - "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2893", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "round", - "-+|", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2889", "className":"Simulink.Outport", @@ -443,11 +80,282 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2855", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2895", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2892", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2869", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2893", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "inspector":{ + "params":[ + "IconShape", + "Inputs", + "InputSameDT", + "AccumDataTypeStr", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "round", + "-+|", + "off", + "Inherit: Inherit via internal rule", + "[]", + "[]", + "Inherit: Inherit via internal rule", + "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2891", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide1", + "label":"Divide1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2890", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", + "name":"Kb", + "label":"Kb", "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ @@ -470,7 +378,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "3", "Port number", "[]", "[]", @@ -510,11 +418,158 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2890", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2894", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2877", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", + "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2854", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Kb", - "label":"Kb", + "name":"satMax", + "label":"satMax", "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ @@ -537,7 +592,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "4", "Port number", "[]", "[]", @@ -644,68 +699,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2891", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", - "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":"BLDCmotor_FOC_R2017b_fixdt:12306:2854", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2851", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"satMax", - "label":"satMax", + "name":"err", + "label":"err", "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ @@ -728,7 +726,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "1", "Port number", "[]", "[]", @@ -768,11 +766,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2851", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12306:2855", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"err", - "label":"err", + "name":"satMin", + "label":"satMin", "parent":"BLDCmotor_FOC_R2017b_fixdt:12306", "inspector":{ "params":[ @@ -795,7 +793,7 @@ "OutputFunctionCall" ], "values":[ - "1", + "5", "Port number", "[]", "[]", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.svg index 68d0821..4eaf3aa 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.svg @@ -13,46 +13,94 @@ - - - + + + - - + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + out + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - + + - + - - + + + + + + + + + + + + + + + + + + @@ -62,42 +110,59 @@ + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + - - + + - - + + - - + + - - sfix32_En16 - - - - - - - - - - - - - - - Ini=0 + + sfix16_En4 @@ -117,29 +182,13 @@ - - - - - - - - - - - - - - - - - + @@ -147,6 +196,22 @@ + + + + + + + + + + + + + + + + @@ -164,11 +229,345 @@ - + - + + sfix32_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Kb + + + + + + + + + + + + + + + ufix16_En12 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + sfix32_En16 @@ -182,7 +581,7 @@ - + @@ -196,19 +595,19 @@ - + - + u - + - + y @@ -238,11 +637,11 @@ - + - + Integrator @@ -259,11 +658,11 @@ - + - + sfix16_En4 @@ -275,169 +674,64 @@ - + - - + + - - + + - - + + - - - - - - - - - - + + 4 - - + + + + + + + + + + + + + + + + + satMax - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - + - - + + - + sfix16_En4 @@ -447,244 +741,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - out - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Kb - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - @@ -697,11 +753,11 @@ - + - + 2 @@ -719,11 +775,11 @@ - + - + I @@ -734,11 +790,11 @@ - + - + ufix16_En16 @@ -748,125 +804,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - satMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -879,11 +816,11 @@ - + - + 1 @@ -901,11 +838,11 @@ - + - + err @@ -916,11 +853,74 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMin + + + + + + + + + + + + + + sfix16_En4 @@ -1140,5 +1140,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.json index 0166777..6e69e3d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.json @@ -208,55 +208,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12340", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_iqKiLimProt", - "label":"cf_iqKiLimProt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "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":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12339", "className":"Simulink.Constant", @@ -365,344 +316,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12333", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12331", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12332", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "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":"BLDCmotor_FOC_R2017b_fixdt:12329", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12328", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12326", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "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":"BLDCmotor_FOC_R2017b_fixdt:12323", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12322", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iqAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12320", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant1", - "label":"Constant1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "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":"BLDCmotor_FOC_R2017b_fixdt:12325", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "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":"BLDCmotor_FOC_R2017b_fixdt:12337", "className":"Simulink.Sum", @@ -763,11 +376,327 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12319", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"I_backCalc_fixdt", + "label":"I_backCalc_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "inspector":{ + "params":[ + "yInit" + ], + "values":[ + "1000" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12334", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12333", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12332", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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":"BLDCmotor_FOC_R2017b_fixdt:12328", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12325", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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":"BLDCmotor_FOC_R2017b_fixdt:12329", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"I_backCalc_fixdt1", + "label":"I_backCalc_fixdt1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "inspector":{ + "params":[ + "yInit" + ], + "values":[ + "1000" + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12322", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iqAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12321", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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":"BLDCmotor_FOC_R2017b_fixdt:12320", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", + "name":"Constant1", + "label":"Constant1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ @@ -843,31 +772,64 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12335", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", - "name":"I_backCalc_fixdt", - "label":"I_backCalc_fixdt", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12326", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ - "yInit" + "GotoTag", + "IconDisplay" ], "values":[ - "1000" + "n_motAbs", + "Tag" ], "tabs":[ + "Parameter Attributes" ], - "tabs_idx":[ - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12324", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, @@ -939,25 +901,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12327", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12340", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"cf_iqKiLimProt", + "label":"cf_iqKiLimProt", "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "r_inpTgtScaAbs", - "Tag" + "cf_iqKiLimProt", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,16)", + "off", + "inf" ], "tabs":[ - "Parameter Attributes" + "Main", + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 3, + 7 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -965,73 +945,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12330", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iqAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12334", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", + "blocktype":"Constant", "masktype":"" } }, @@ -1103,11 +1017,60 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12324", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12319", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "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":"BLDCmotor_FOC_R2017b_fixdt:12323", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From3", + "label":"From3", "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ @@ -1115,7 +1078,7 @@ "IconDisplay" ], "values":[ - "r_nLimProtMax", + "r_iqLimProtMax", "Tag" ], "tabs":[ @@ -1133,6 +1096,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12331", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12315", "className":"Simulink.Inport", @@ -1268,31 +1264,66 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12336", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", - "name":"I_backCalc_fixdt1", - "label":"I_backCalc_fixdt1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12330", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", "inspector":{ "params":[ - "yInit" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "1000" + "iqAbs", + "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":"BLDCmotor_FOC_R2017b_fixdt:12327", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, @@ -1363,37 +1394,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12321", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", - "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":"BLDCmotor_FOC_R2017b_fixdt:12315#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.png new file mode 100644 index 0000000..4d2d0b1 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.svg index 3aa26bd..de0f058 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12312_d.svg @@ -170,69 +170,6 @@ - - - - - - - - - - - - - - - - - - cf_iqKiLimProt - - - - - - - - - - - - - - - - - - - - - - cf_iqKiLimProt - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - @@ -245,11 +182,11 @@ - + - + cf_KbLimProt @@ -267,11 +204,11 @@ - + - + cf_KbLimProt @@ -282,11 +219,11 @@ - + - + ufix16_En12 @@ -308,27 +245,27 @@ - + - + - + - + - + - + @@ -346,416 +283,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_max] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -777,27 +309,27 @@ - + - + - + - + - + - + @@ -815,11 +347,11 @@ - + - + sfix16_En4 @@ -829,107 +361,11 @@ - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - + @@ -937,59 +373,59 @@ - + - + err - + - + I - + - + Kb - + - + satMax - + - + satMin - + - + out - + - + I(z) @@ -1007,218 +443,74 @@ - + - + I_backCalc_fixdt - - - - - - - - - - - Ini=1000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + sfix16_En4 - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - + + - - + + - - n_max + + Ini=1000 - - - - + - - + + - - sfix16_En4 + + - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - + + + + + + + + + + + + + + + + + + @@ -1239,11 +531,11 @@ - + - + [r_inpTgtScaAbs] @@ -1262,106 +554,142 @@ - - - + + + - - + + - - + + - - 4 - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - + [r_nLimProtMax] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + - + - - + + - + sfix16_En4 @@ -1373,122 +701,29 @@ - - - + + + - - + + - - + + - - 3 + + [iq_max] - - - - - - - - - - - - - - - - - iq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - iqAbs - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1501,7 +736,7 @@ - + @@ -1509,59 +744,59 @@ - + - + err - + - + I - + - + Kb - + - + satMax - + - + satMin - + - + out - + - + I(z) @@ -1579,11 +814,11 @@ - + - + I_backCalc_fixdt1 @@ -1594,121 +829,106 @@ - + - + Ini=1000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - + + - - + + - - 1 + + [iqAbs] - - - - - - - - - - - - - - - - - r_inpTgtScaAbs + + - + - - + + - + sfix16_En4 @@ -1730,11 +950,11 @@ - + - + [iq_max] @@ -1752,11 +972,791 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + n_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + cf_iqKiLimProt + + + + + + + + + + + + + + + + + + + + + + cf_iqKiLimProt + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + iqAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + sfix16_En4 @@ -2102,5 +2102,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.json index be95140..6db85bb 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.json @@ -129,53 +129,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2879", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", - "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":"BLDCmotor_FOC_R2017b_fixdt:12335:2880", "className":"Simulink.Sum", @@ -235,6 +188,53 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2879", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", + "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":"BLDCmotor_FOC_R2017b_fixdt:12335:2878", "className":"Simulink.Inport", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.svg similarity index 98% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.svg index e54a28b..82e5bca 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2877_d.svg @@ -120,36 +120,108 @@ - - - - - - - - - - - sfix32_En16 - - - - - + - + Ini=yInit + + + + + + + + + + + sfix32_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 + + + + @@ -166,19 +238,19 @@ - + - + - + - + @@ -204,11 +276,11 @@ - + - + sfix16_En4 @@ -218,78 +290,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - @@ -431,5 +431,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.svg index 633b1f5..63d2f6e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_2895_d.svg @@ -63,7 +63,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -334,7 +334,7 @@ - + @@ -526,7 +526,7 @@ - + @@ -605,7 +605,7 @@ - + @@ -654,7 +654,7 @@ - + @@ -1009,9 +1009,6 @@ - - - @@ -1021,6 +1018,9 @@ + + + @@ -1103,10 +1103,10 @@ - + - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.json index d5f9a0d..e989436 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.json @@ -79,6 +79,56 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2894", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", + "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":"BLDCmotor_FOC_R2017b_fixdt:12335:2892", "className":"Simulink.Sum", @@ -178,67 +228,18 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2894", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2893", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", - "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":"BLDCmotor_FOC_R2017b_fixdt:12335:2891", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", + "name":"Sum3", + "label":"Sum3", "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ + "IconShape", "Inputs", - "Multiplication", "InputSameDT", + "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", @@ -250,9 +251,10 @@ "SampleTime" ], "values":[ - "**", - "Element-wise(.*)", + "round", + "-+|", "off", + "Inherit: Inherit via internal rule", "[]", "[]", "Inherit: Inherit via internal rule", @@ -271,7 +273,7 @@ "tabs_idx":[ 0, 2, - 9 + 10 ] }, "viewer":{ @@ -280,74 +282,104 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Sum", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2855", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "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":[ - "5", - "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/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"SubSystem", "masktype":"" } }, @@ -485,6 +517,63 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2869", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", + "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":"BLDCmotor_FOC_R2017b_fixdt:12335:2853", "className":"Simulink.Inport", @@ -553,110 +642,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2877", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2869", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2891", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"Divide1", + "label":"Divide1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ @@ -709,42 +699,50 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2893", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12335:2855", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", + "name":"satMin", + "label":"satMin", "parent":"BLDCmotor_FOC_R2017b_fixdt:12335", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "round", - "-+|", - "off", - "Inherit: Inherit via internal rule", + "5", + "Port number", "[]", "[]", - "Inherit: Inherit via internal rule", + "Inherit: auto", "off", - "Simplest", + "inherit", + "-1", + "Inherit", + "-1", + "auto", "off", - "1", - "All dimensions", - "-1" + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", @@ -754,7 +752,7 @@ "tabs_idx":[ 0, 2, - 10 + 11 ] }, "viewer":{ @@ -763,7 +761,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"Inport", "masktype":"" } }, diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.svg index ae8edf2..4b5f600 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.svg @@ -59,195 +59,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - + @@ -255,35 +71,35 @@ - + - + - + - + - + - + - + - + @@ -304,31 +120,103 @@ - - - - - - - - - - - Ini=0 - - - - - + - + + sfix32_En16 + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 @@ -340,114 +228,171 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + - + - + - + - - - - - - - - - - - - - - - + - + - - sfix32_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 + + - - - - - - - - - - - - - - - - - satMin + + - - + + - - + + - + sfix16_En4 @@ -457,200 +402,11 @@ - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - satMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Kb - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - I - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - + @@ -664,19 +420,19 @@ - + - + u - + - + y @@ -706,11 +462,11 @@ - + - + Integrator @@ -727,11 +483,11 @@ - + - + sfix16_En4 @@ -743,15 +499,141 @@ - + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Kb + + + + + + + + + + + + + + + ufix16_En12 + + + + + + + + + + + - + @@ -759,19 +641,19 @@ - + - + - + - + @@ -789,11 +671,11 @@ - + - + sfix32_En20 @@ -805,59 +687,177 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - + + 2 - - + + + + + + + + + + + + + + + + + I - - + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMin + + + + + + + - + - + sfix16_En4 @@ -1140,5 +1140,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.json index 1faaa3e..051e6a4 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.json @@ -1,160 +1,4 @@ [ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2896", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay", - "label":"UnitDelay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "yInit", - "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":"BLDCmotor_FOC_R2017b_fixdt:12336:2880", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", - "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":"BLDCmotor_FOC_R2017b_fixdt:12336:2879", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", - "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":"BLDCmotor_FOC_R2017b_fixdt:12336:2882", "className":"Simulink.Outport", @@ -235,6 +79,162 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2896", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay", + "label":"UnitDelay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", + "inspector":{ + "params":[ + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "yInit", + "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":"BLDCmotor_FOC_R2017b_fixdt:12336:2879", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", + "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":"BLDCmotor_FOC_R2017b_fixdt:12336:2880", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", + "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":"BLDCmotor_FOC_R2017b_fixdt:12336:2878", "className":"Simulink.Inport", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.svg index 6e35a5b..9c8e6f2 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.svg @@ -10,6 +10,54 @@ + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + @@ -23,35 +71,35 @@ - + - + - + - + - + - + - + - + @@ -77,11 +125,11 @@ - + - + Ini=yInit @@ -92,83 +140,11 @@ - + - - sfix32_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + sfix32_En16 @@ -190,19 +166,19 @@ - + - + - + - + @@ -228,11 +204,11 @@ - + - + sfix16_En4 @@ -244,44 +220,68 @@ - - - + + + - - + + - - + + - - 1 + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - + + + - + - - y + + sfix32_En16 @@ -431,5 +431,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.svg index 06c283e..71a5b27 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2895_d.svg @@ -63,7 +63,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -334,7 +334,7 @@ - + @@ -526,7 +526,7 @@ - + @@ -605,7 +605,7 @@ - + @@ -654,7 +654,7 @@ - + @@ -1009,15 +1009,15 @@ - - - + + + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.json index 1a54d25..34238d5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.json @@ -129,6 +129,45 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2895", + "className":"Saturation Dynamic", + "icon":"WebViewIcon3", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", + "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":"BLDCmotor_FOC_R2017b_fixdt:12336:2892", "className":"Simulink.Sum", @@ -188,45 +227,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2895", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", - "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":"BLDCmotor_FOC_R2017b_fixdt:12336:2877", "className":"Simulink.SubSystem", @@ -238,22 +238,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -265,30 +264,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -300,19 +299,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -326,122 +324,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2891", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide1", - "label":"Divide1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", - "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":"BLDCmotor_FOC_R2017b_fixdt:12336:2893", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", - "inspector":{ - "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "round", - "-+|", - "off", - "Inherit: Inherit via internal rule", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "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":"BLDCmotor_FOC_R2017b_fixdt:12336:2855", "className":"Simulink.Inport", @@ -510,50 +392,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2854", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2893", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"satMax", - "label":"satMax", + "name":"Sum3", + "label":"Sum3", "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "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":[ - "4", - "Port number", + "round", + "-+|", + "off", + "Inherit: Inherit via internal rule", "[]", "[]", - "Inherit: auto", + "Inherit: Inherit via internal rule", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "Simplest", "off", - "", - "on", - "off", - "off", - "off" + "1", + "All dimensions", + "-1" ], "tabs":[ "Main", @@ -563,7 +437,7 @@ "tabs_idx":[ 0, 2, - 11 + 10 ] }, "viewer":{ @@ -572,7 +446,64 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2869", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", + "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":"" } }, @@ -644,11 +575,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2869", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2891", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"Divide1", + "label":"Divide1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ @@ -700,6 +631,73 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2853", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"I", + "label":"I", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", + "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":"BLDCmotor_FOC_R2017b_fixdt:12336:2851", "className":"Simulink.Inport", @@ -768,11 +766,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2853", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12336:2854", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"I", - "label":"I", + "name":"satMax", + "label":"satMax", "parent":"BLDCmotor_FOC_R2017b_fixdt:12336", "inspector":{ "params":[ @@ -795,7 +793,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "4", "Port number", "[]", "[]", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.svg index c9ca45e..fd422ab 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.svg @@ -154,83 +154,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En16 - - - - - - - - - + @@ -238,35 +166,35 @@ - + - + - + - + - + - + - + - + @@ -278,35 +206,35 @@ - + - + up - + - + u - + - + lo - + - + y @@ -324,11 +252,11 @@ - + - + sfix16_En4 @@ -338,11 +266,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En16 + + + + + + + + - + @@ -435,58 +435,65 @@ - + - - + + - - + + - + - - - - - - - - - - + + 5 - - + + + + + + + + + + + + + + + + + satMin - - + + - + - - sfix32_En16 + + sfix16_En4 @@ -561,122 +568,52 @@ - - - + + + - - + + - + - - 5 - - - - - - - - - - - - - - + + - + - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 + + - - - - - - - - - - - - - - - - - satMax + + - - + + - - + + - - sfix16_En4 + + sfix32_En20 @@ -697,11 +634,11 @@ - + - + 3 @@ -719,11 +656,11 @@ - + - + Kb @@ -734,11 +671,11 @@ - + - + ufix16_En12 @@ -750,52 +687,115 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + sfix32_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + I + + + + + + + - + - - sfix32_En20 + + ufix16_En16 @@ -869,11 +869,11 @@ - - + + - + @@ -883,45 +883,45 @@ - - 2 + + 4 - + - - + + - + - - I + + satMax - - + + - + - - ufix16_En16 + + sfix16_En4 @@ -1140,5 +1140,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.json index 751e23f..5ddf69c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.json @@ -1,31 +1,190 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12616", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12643", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vd", + "label":"Vd", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12642", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vq", + "label":"Vq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12487", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"Voltage_Mode", - "label":"Voltage_Mode", + "name":"Speed_Mode", + "label":"Speed_Mode", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -37,30 +196,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -72,19 +231,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -99,22 +257,220 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12546", - "className":"Simulink.SwitchCase", - "icon":"WebViewIcon3", - "name":"Switch Case", - "label":"Switch Case", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12482", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Open_Mode", + "label":"Open_Mode", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ - "CaseConditions", - "ShowDefaultCase", + "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":"BLDCmotor_FOC_R2017b_fixdt:12587", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Vd_Calculation", + "label":"Vd_Calculation", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12480", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", "SampleTime", "ZeroCross" ], "values":[ - "{VLT_MODE, SPD_MODE, TRQ_MODE}", - "on", + "1", + "u1 ~= 0", + "", + "off", "-1", "on" ], @@ -124,7 +480,7 @@ ], "tabs_idx":[ 0, - 2 + 4 ] }, "viewer":{ @@ -133,46 +489,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"SwitchCase", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12481", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge", - "label":"Merge", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "Inputs", - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets" - ], - "values":[ - "4", - "[]", - "off", - "[]" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", + "blocktype":"If", "masktype":"" } }, @@ -209,6 +526,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12478", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12477", "className":"Simulink.Goto", @@ -243,11 +593,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12474", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12476", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -256,7 +606,7 @@ "IconDisplay" ], "values":[ - "Vq_max", + "Vq_nLimProtMax", "local", "Tag" ], @@ -309,110 +659,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12482", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Open_Mode", - "label":"Open_Mode", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12471", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12472", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"Goto30", + "label":"Goto30", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -421,7 +672,7 @@ "IconDisplay" ], "values":[ - "z_ctrlMod", + "Vq", "local", "Tag" ], @@ -441,11 +692,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12470", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12471", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -454,7 +705,7 @@ "IconDisplay" ], "values":[ - "id_min", + "z_ctrlMod", "local", "Tag" ], @@ -507,110 +758,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12587", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Vd_Calculation", - "label":"Vd_Calculation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12468", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12467", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", + "name":"Goto22", + "label":"Goto22", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -619,7 +771,7 @@ "IconDisplay" ], "values":[ - "b_cruiseCtrlEna", + "VqFinPrev", "local", "Tag" ], @@ -638,6 +790,45 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12546", + "className":"Simulink.SwitchCase", + "icon":"WebViewIcon3", + "name":"Switch Case", + "label":"Switch Case", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12466", "className":"Simulink.Goto", @@ -672,11 +863,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12465", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12463", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto20", - "label":"Goto20", + "name":"Goto19", + "label":"Goto19", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -685,7 +876,7 @@ "IconDisplay" ], "values":[ - "Vd", + "id_max", "local", "Tag" ], @@ -704,138 +895,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12464", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12547", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Torque_Mode", - "label":"Torque_Mode", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12462", "className":"Simulink.Goto", @@ -903,11 +962,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12460", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12459", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", + "name":"Goto15", + "label":"Goto15", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -916,7 +975,7 @@ "IconDisplay" ], "values":[ - "r_nLimProtMax", + "r_iqLimProtMax", "local", "Tag" ], @@ -936,54 +995,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12480", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12463", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12458", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", + "name":"Goto14", + "label":"Goto14", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -992,7 +1008,73 @@ "IconDisplay" ], "values":[ - "id_max", + "Vq_Vlt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12456", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_Spd", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12464", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id", "local", "Tag" ], @@ -1111,11 +1193,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12452", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12465", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"Goto20", + "label":"Goto20", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -1124,40 +1206,7 @@ "IconDisplay" ], "values":[ - "id_TgtAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12456", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_Spd", + "Vd", "local", "Tag" ], @@ -1207,136 +1256,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12449", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12487", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Speed_Mode", - "label":"Speed_Mode", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12447", "className":"Simulink.From", @@ -1369,44 +1288,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12476", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12442", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12445", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From57", - "label":"From57", + "name":"From6", + "label":"From6", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -1414,7 +1300,7 @@ "IconDisplay" ], "values":[ - "id_max", + "Vq", "Tag" ], "tabs":[ @@ -1433,11 +1319,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12439", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12442", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"From57", + "label":"From57", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -1445,7 +1331,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtScaAbs", + "id_max", "Tag" ], "tabs":[ @@ -1495,44 +1381,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12472", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto30", - "label":"Goto30", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12446", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12436", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From60", - "label":"From60", + "name":"From47", + "label":"From47", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -1540,7 +1393,7 @@ "IconDisplay" ], "values":[ - "iq_min", + "Vq_Spd", "Tag" ], "tabs":[ @@ -1559,21 +1412,116 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12459", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12616", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Voltage_Mode", + "label":"Voltage_Mode", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12435", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", + "name":"From46", + "label":"From46", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "r_iqLimProtMax", - "local", + "Vq_Vlt", "Tag" ], "tabs":[ @@ -1587,7 +1535,131 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12441", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From54", + "label":"From54", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12451", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12432", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12439", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, @@ -1623,11 +1695,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12458", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12457", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto14", - "label":"Goto14", + "name":"Goto13", + "label":"Goto13", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -1636,7 +1708,7 @@ "IconDisplay" ], "values":[ - "Vq_Vlt", + "n_mot", "local", "Tag" ], @@ -1655,68 +1727,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12430", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12428", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From34", - "label":"From34", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12427", "className":"Simulink.From", @@ -1748,101 +1758,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12448", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From68", - "label":"From68", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12443", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From58", - "label":"From58", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12467", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12425", "className":"Simulink.From", @@ -1874,6 +1789,99 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12430", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12423", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12434", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From45", + "label":"From45", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12424", "className":"Simulink.From", @@ -1906,11 +1914,44 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12444", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12475", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12422", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From59", - "label":"From59", + "name":"From18", + "label":"From18", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -1918,7 +1959,7 @@ "IconDisplay" ], "values":[ - "iq_max", + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -1937,11 +1978,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12422", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12420", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", + "name":"From14", + "label":"From14", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -1949,7 +1990,69 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "b_enaAdvCtrl", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12446", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From60", + "label":"From60", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12426", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_max", "Tag" ], "tabs":[ @@ -1998,68 +2101,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12417", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12418", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_cruiseCtrlEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12416", "className":"Simulink.From", @@ -2091,37 +2132,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12666", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12414", "className":"Simulink.Inport", @@ -2190,11 +2200,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12433", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12449", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From44", - "label":"From44", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12428", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From34", + "label":"From34", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -2287,663 +2328,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12435", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From46", - "label":"From46", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_Vlt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12410", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_nLimProtMax", - "label":"r_nLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "18", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12434", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12409", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_iqLimProtMax", - "label":"r_iqLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "17", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12426", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12407", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq_max", - "label":"iq_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "15", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12403", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_max", - "label":"Vq_max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "11", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12445", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12420", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12478", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12402", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vd_min", - "label":"Vd_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "10", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12406", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_min", - "label":"id_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "14", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12400", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12411", "className":"Simulink.Inport", @@ -3012,11 +2396,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12441", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12418", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From54", - "label":"From54", + "name":"From10", + "label":"From10", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -3024,7 +2408,7 @@ "IconDisplay" ], "values":[ - "Vd_min", + "b_cruiseCtrlEna", "Tag" ], "tabs":[ @@ -3043,212 +2427,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12412", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_nLimProtMax", - "label":"Vq_nLimProtMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "20", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12408", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq_min", - "label":"iq_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "16", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12398", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_TgtAbs", - "label":"id_TgtAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12432", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12448", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From68", + "label":"From68", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -3256,7 +2439,7 @@ "IconDisplay" ], "values":[ - "r_nLimProtMax", + "iq_limProtErr", "Tag" ], "tabs":[ @@ -3274,6 +2457,139 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12470", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto29", + "label":"Goto29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12474", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12406", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_min", + "label":"id_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "14", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12405", "className":"Simulink.Inport", @@ -3342,11 +2658,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12436", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12417", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From47", - "label":"From47", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -3354,7 +2670,7 @@ "IconDisplay" ], "values":[ - "Vq_Spd", + "id", "Tag" ], "tabs":[ @@ -3373,11 +2689,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12396", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12412", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_inpTgtScaAbs", - "label":"r_inpTgtScaAbs", + "name":"Vq_nLimProtMax", + "label":"Vq_nLimProtMax", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -3400,7 +2716,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "20", "Port number", "[]", "[]", @@ -3507,155 +2823,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12457", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_mot", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12440", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From53", - "label":"From53", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12642", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vq", - "label":"Vq", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12395", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12399", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", + "name":"id", + "label":"id", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -3678,7 +2850,7 @@ "OutputFunctionCall" ], "values":[ - "3", + "7", "Port number", "[]", "[]", @@ -3717,6 +2889,533 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12444", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From59", + "label":"From59", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12398", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_TgtAbs", + "label":"id_TgtAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12410", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_nLimProtMax", + "label":"r_nLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "18", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12433", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From44", + "label":"From44", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12460", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto16", + "label":"Goto16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12408", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_min", + "label":"iq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "16", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12452", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12468", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12400", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12403", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_max", + "label":"Vq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "11", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12666", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12397", "className":"Simulink.Inport", @@ -3784,6 +3483,535 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12443", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From58", + "label":"From58", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12429", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From36", + "label":"From36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12409", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_iqLimProtMax", + "label":"r_iqLimProtMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "17", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12407", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_max", + "label":"iq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "15", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12396", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaAbs", + "label":"r_inpTgtScaAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12440", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From53", + "label":"From53", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12402", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vd_min", + "label":"Vd_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "10", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12421", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "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":"BLDCmotor_FOC_R2017b_fixdt:12437", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From48", + "label":"From48", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_Trq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12481", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge", + "label":"Merge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "4", + "[]", + "off", + "[]" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12404", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_min", + "label":"Vq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "12", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12394", "className":"Simulink.Inport", @@ -3852,91 +4080,108 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12643", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vd", - "label":"Vd", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12547", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Torque_Mode", + "label":"Torque_Mode", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" ], "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", "", - [ - ], - "Dialog", "Auto", - "off" + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ "Main", - "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12404", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12395", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", "inspector":{ "params":[ @@ -3959,7 +4204,7 @@ "OutputFunctionCall" ], "values":[ - "12", + "3", "Port number", "[]", "[]", @@ -3998,99 +4243,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12437", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From48", - "label":"From48", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_Trq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12451", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12421", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12393", "className":"Simulink.Inport", @@ -4158,168 +4310,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12429", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From36", - "label":"From36", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12399", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id", - "label":"id", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12475", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12423", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12392", - "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":"BLDCmotor_FOC_R2017b_fixdt:12419#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.png new file mode 100644 index 0000000..ca474eb Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.svg index c5633a2..91cca44 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.svg @@ -13,9 +13,105 @@ - - - + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + Vd + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vq + + + + + + + + + + + + + @@ -23,73 +119,81 @@ - + - - + + - + r_inpTgtSca - + - - r_inpTgtScaAbs - - - - - - - + Vq_max - - + + - + Vq_min - + + + + + + n_mot + + + + + + + + iq_limProtErr + + + - - r_iqLimProtMax + + VqFinPrev - - + + - - r_nLimProtMax + + b_cruiseCtrlEna - + - - Vq_Vlt + + Vq_Spd - + - + case: { } @@ -102,7 +206,7 @@ - + @@ -115,16 +219,16 @@ - - + + - - + + - - Voltage_Mode + + Speed_Mode @@ -136,16 +240,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -157,16 +261,16 @@ - - + + - - + + - - sfix16_En4 + + action @@ -177,126 +281,295 @@ - + - - + + - - + + + + + + + + - - + + - - u1 + + r_inpTgtSca - - + + - - case [ 1 ]: + + Vq_Open - - + + - - case [ 2 ]: - - - - - - - - case [ 3 ]: - - - - - - - - default: + + default: { } - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Open_Mode - - + + + + + + + + - - + + - + action - - + + + + + + + + - - + + - - action + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id_TgtAbs + + + + + + + + id + + + + + + + + Vd_max + + + + + + + + Vd_min + + + + + + + + id_max + + + + + + + + id_min + + + + + + + + Vd + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vd_Calculation - - + + + + + + + + - - + + - - action + + sfix16_En4 - - + + + + + + + + - - + + - + action @@ -308,60 +581,58 @@ - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + u1 + + + + + + + + if(u1 ~= 0) + - - + + - - + + - - + + - - sfix16_En4 + + action @@ -382,11 +653,11 @@ - + - + [iq_min] @@ -403,6 +674,39 @@ + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + @@ -438,11 +742,11 @@ - - + + - + @@ -452,14 +756,14 @@ - - [Vq_max] + + [Vq_nLimProtMax] - + @@ -504,158 +808,28 @@ - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - Vq_Open - - - - - - - - default: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Open_Mode - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - + + - + - - + + - - [z_ctrlMod] + + [Vq] - + @@ -667,28 +841,28 @@ - - + + - + - + - - [id_min] + + [z_ctrlMod] - + @@ -710,11 +884,11 @@ - + - + [r_inpTgtSca] @@ -733,160 +907,29 @@ - - - + + + - - - - - - - - + + - - + + - - id_TgtAbs - - - - - - - - id - - - - - - - - Vd_max - - - - - - - - Vd_min - - - - - - - - id_max - - - - - - - - id_min - - - - - - - - Vd - - - - - - - - if { } + + [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Vd_Calculation - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action + + @@ -897,35 +940,121 @@ - - - - - - - - - + + + - - + + - - + + - - [b_cruiseCtrlEna] + + u1 + + + + + + + + case [ 1 ]: + + + + + + + + case [ 2 ]: + + + + + + + + case [ 3 ]: + + + + + + + + default: - - + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action @@ -946,11 +1075,11 @@ - + - + [r_inpTgtScaAbs] @@ -969,61 +1098,28 @@ - - + + - + - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - [id] + + [id_max] - + @@ -1033,195 +1129,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - iq - - - - - - - - iq_max - - - - - - - - iq_min - - - - - - - - Vq_nLimProtMax - - - - - - - - VqFinPrev - - - - - - - - Vq_Trq - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Torque_Mode - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - @@ -1231,11 +1141,11 @@ - + - + [Vd_min] @@ -1264,11 +1174,11 @@ - + - + [Vd_max] @@ -1287,28 +1197,28 @@ - - + + - + - + - - [r_nLimProtMax] + + [r_iqLimProtMax] - + @@ -1320,52 +1230,29 @@ - - - + + + - - + + - - + + - - u1 - - - - - - - - if(u1 ~= 0) + + [Vq_Vlt] - - - - - - - - - - - - - - - - - action + + @@ -1376,28 +1263,61 @@ - - + + - + - - + + - - [id_max] + + [Vq_Spd] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + @@ -1419,11 +1339,11 @@ - + - + [Vq_Trq] @@ -1452,11 +1372,11 @@ - + - + [Vq_Open] @@ -1485,11 +1405,11 @@ - + - + [iq] @@ -1508,61 +1428,28 @@ - - + + - + - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - [Vq_Spd] + + [Vd] - + @@ -1584,11 +1471,11 @@ - + - + [VqFinPrev] @@ -1606,11 +1493,11 @@ - + - + sfix16_En4 @@ -1620,235 +1507,9 @@ - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - n_mot - - - - - - - - iq_limProtErr - - - - - - - - VqFinPrev - - - - - - - - b_cruiseCtrlEna - - - - - - - - Vq_Spd - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Speed_Mode - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - @@ -1858,11 +1519,11 @@ - + - + [Vq_nLimProtMax] @@ -1880,1658 +1541,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Open] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Vlt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 22 - - - - - - - - - - - - - - - - - - - - - - b_cruiseCtrlEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 21 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_Vlt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 18 - - - - - - - - - - - - - - - - - - - - - - r_nLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 17 - - - - - - - - - - - - - - - - - - - - - - r_iqLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 15 - - - - - - - - - - - - - - - - - - - - - - iq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 11 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - + sfix16_En4 @@ -3553,11 +1567,11 @@ - + - + [Vq] @@ -3575,11 +1589,11 @@ - + - + sfix16_En4 @@ -3591,139 +1605,43 @@ - - + + - + - + - - [b_enaAdvCtrl] + + [id_max] - + - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - - - - - - - - - - - - - - - - - - - - - Vd_min - - - - - - + - - + + - + sfix16_En4 @@ -3735,532 +1653,43 @@ - - - - - - - - - - - - - - - - 14 - - - - - - - - - - - - - - - - - - - - - - id_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 19 - - - - - - - - - - - - - - - - - - - - - - iq_limProtErr - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - + + - + - + - - [Vd_min] + + [Vq_Open] - + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 20 - - - - - - - - - - - - - - - - - - - - - - Vq_nLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 16 - - - - - - - - - - - - - - - - - - - - - - iq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - id_TgtAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 13 - - - - - - - - - - - - - - - - - - - - - - id_max - - - - - - - - - - - - - - + sfix16_En4 @@ -4282,11 +1711,11 @@ - + - + [Vq_Spd] @@ -4304,11 +1733,11 @@ - + - + sfix16_En4 @@ -4320,122 +1749,160 @@ - - - + + + - - + + + + + + + + - - + + - - 4 + + r_inpTgtSca + + + + + + + + r_inpTgtScaAbs + + + + + + + + Vq_max + + + + + + + + Vq_min + + + + + + + + r_iqLimProtMax + + + + + + + + r_nLimProtMax + + + + + + + + Vq_Vlt + + + + + + + + case: { } - - + + + + + + + + - - + + + + + + + + - - + + - - r_inpTgtScaAbs + + Voltage_Mode - + + + + + + + - - + + - + sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - 9 - - - - - - - - - - - - - - - - - - - - - - Vd_max - - - - - - + + + + + + + + - - + + - - sfix16_En4 + + action @@ -4446,76 +1913,49 @@ - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - + + + + + + + + - + - + - - [Vd_max] + + [Vq_Vlt] - + - + - - + + - + sfix16_En4 @@ -4527,391 +1967,43 @@ - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vq - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - n_mot - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_ctrlMod - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - Vd - - - - - - - - - - - - - - - - - - - - - - - - - - 12 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - [Vq_Trq] + + [Vd_min] - + - + - - + + - + sfix16_En4 @@ -4933,11 +2025,11 @@ - + - + [r_inpTgtSca] @@ -4955,11 +2047,11 @@ - + - + sfix16_En4 @@ -4971,43 +2063,139 @@ - - + + - + - + - + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] - + - + - - + + - + sfix16_En4 @@ -5019,106 +2207,76 @@ - - - + + + - - + + - - + + - - 1 - - - - - - - - - - - - - - - - - - - - - - b_enaAdvCtrl - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - + [n_mot] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + - + - - + + - + sfix16_En4 @@ -5130,58 +2288,235 @@ - - - + + + - - + + - - + + - - 7 + + [z_ctrlMod] - - - - - - - - - - - - - - - - - id + + - + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -5203,11 +2538,11 @@ - + - + [Vq_min] @@ -5226,43 +2561,43 @@ - - + + - + - + - - [Vd] + + [r_inpTgtSca] - + - + - - + + - + sfix16_En4 @@ -5272,6 +2607,2671 @@ + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 22 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 21 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 19 + + + + + + + + + + + + + + + + + + + + + + iq_limProtErr + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 14 + + + + + + + + + + + + + + + + + + + + + + id_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 13 + + + + + + + + + + + + + + + + + + + + + + id_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 20 + + + + + + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + Vd_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + id + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + id_TgtAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 18 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + iq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 11 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 17 + + + + + + + + + + + + + + + + + + + + + + r_iqLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 15 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + Vd_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_Trq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + Vq_max + + + + + + + + Vq_min + + + + + + + + iq + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + + Vq_nLimProtMax + + + + + + + + VqFinPrev + + + + + + + + Vq_Trq + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Torque_Mode + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -6240,5 +6240,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.svg index dd4e461..883dc48 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12482_d.svg @@ -90,7 +90,7 @@ - + @@ -213,5 +213,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.json index f7f367a..0bfdf4a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.json @@ -97,135 +97,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12543", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vq_Spd", - "label":"Vq_Spd", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12542", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"n_cruiseMotTgt", - "label":"n_cruiseMotTgt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "n_cruiseMotTgt", - "on", - "inf", - "[]", - "[]", - "int16", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12541", "className":"Simulink.Constant", @@ -276,11 +147,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12540", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12539", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"cf_nKp", - "label":"cf_nKp", + "name":"cf_nKi", + "label":"cf_nKi", "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ @@ -294,12 +165,12 @@ "FramePeriod" ], "values":[ - "cf_nKp", - "on", + "cf_nKi", + "off", "inf", "[]", "[]", - "fixdt(0,16,12)", + "fixdt(0,16,16)", "off", "inf" ], @@ -439,149 +310,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12534", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator3", - "label":"Relational Operator3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12533", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon7", - "name":"PI_clamp_fixdt", - "label":"PI_clamp_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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", - "Reusable function", - "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":"BLDCmotor_FOC_R2017b_fixdt:12531", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12532", "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"Mux1", - "label":"Mux1", + "name":"Mux2", + "label":"Mux2", "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ @@ -638,149 +371,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12528", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax3", - "label":"MinMax3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "max", - "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":"BLDCmotor_FOC_R2017b_fixdt:12526", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_minSpd", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12537", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "inspector":{ - "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" - ], - "values":[ - "u2 > Threshold", - "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":"BLDCmotor_FOC_R2017b_fixdt:12525", "className":"Simulink.Goto", @@ -847,6 +437,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12523", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto31", + "label":"Goto31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_limProtErr", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12522", "className":"Simulink.Goto", @@ -913,6 +536,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12519", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12518", "className":"Simulink.Goto", @@ -946,6 +602,59 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12529", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax4", + "label":"MinMax4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12516", "className":"Simulink.From", @@ -1040,141 +749,50 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12513", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12537", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"Switch3", + "label":"Switch3", "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_cruiseMotTgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12532", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12523", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12529", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax4", - "label":"MinMax4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", + "Criteria", "InputSameDT", - "Inputs", - "LockScale", - "OutMax", "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", "RndMeth", - "SampleTime", "SaturateOnIntegerOverflow", + "AllowDiffInputSizes", + "SampleTime", + "Threshold", "ZeroCross" ], "values":[ - "Inherit: Inherit via internal rule", - "min", - "off", - "2", + "u2 > Threshold", "off", "[]", "[]", - "Floor", + "Inherit: Inherit via back propagation", + "off", + "Zero", + "off", + "off", "-1", - "off", + "0", "on" ], "tabs":[ + "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 1 + 1, + 9 ] }, "viewer":{ @@ -1183,408 +801,123 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"MinMax", + "blocktype":"Switch", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12511", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12543", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12509", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12510", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From36", - "label":"From36", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12506", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_cruiseCtrlEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12505", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_cruiseMotTgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12504", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12520", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12517", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_maxSpd", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12502", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12501", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12496", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion2", - "label":"Data Type Conversion2", + "name":"Vq_Spd", + "label":"Vq_Spd", "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", "inspector":{ "params":[ + "Port", + "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "ConvertRealWorld", + "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":"BLDCmotor_FOC_R2017b_fixdt:12534", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator3", + "label":"Relational Operator3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "Operator", + "InputSameDT", + "OutDataTypeStr", "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":"BLDCmotor_FOC_R2017b_fixdt:12539", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_nKi", - "label":"cf_nKi", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "ZeroCross" ], "values":[ - "cf_nKi", + "~=", "off", - "inf", - "[]", - "[]", - "fixdt(0,16,16)", - "off", - "inf" + "boolean", + "Simplest", + "-1", + "on" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, - 3, - 7 + 1, + 4 ] }, "viewer":{ @@ -1593,625 +926,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12495", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12499", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12494", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_cruiseCtrlEna", - "label":"b_cruiseCtrlEna", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12500", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12498", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12519", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12493", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"VqFinPrev", - "label":"VqFinPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12507", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12503", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12492", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq_limProtErr", - "label":"iq_limProtErr", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12497", - "className":"Simulink.Demux", - "icon":"WebViewIcon3", - "name":"Demux", - "label":"Demux", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12491", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12490", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"BLDCmotor_FOC_R2017b_fixdt:12508", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", - "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":"RelationalOperator", "masktype":"" } }, @@ -2246,6 +961,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12511", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12535", "className":"Simulink.Sum", @@ -2305,6 +1051,1260 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12510", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From36", + "label":"From36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12509", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12507", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12531", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux1", + "label":"Mux1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12505", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_cruiseMotTgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12500", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12498", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_limProtErr", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12542", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_cruiseMotTgt", + "label":"n_cruiseMotTgt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "n_cruiseMotTgt", + "on", + "inf", + "[]", + "[]", + "int16", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon7", + "name":"PI_clamp_fixdt", + "label":"PI_clamp_fixdt", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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", + "Reusable function", + "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":"BLDCmotor_FOC_R2017b_fixdt:12528", + "className":"Simulink.MinMax", + "icon":"WebViewIcon3", + "name":"MinMax3", + "label":"MinMax3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" + ], + "values":[ + "Inherit: Inherit via internal rule", + "max", + "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":"BLDCmotor_FOC_R2017b_fixdt:12504", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12496", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion2", + "label":"Data Type Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12520", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12495", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12526", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_minSpd", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12497", + "className":"Simulink.Demux", + "icon":"WebViewIcon3", + "name":"Demux", + "label":"Demux", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12501", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12499", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12493", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFinPrev", + "label":"VqFinPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12492", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_limProtErr", + "label":"iq_limProtErr", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12540", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_nKp", + "label":"cf_nKp", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_nKp", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,12)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12508", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12490", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_min", + "label":"Vq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12502", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12513", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_cruiseMotTgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12517", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_maxSpd", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12494", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12506", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12491", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_mot", + "label":"n_mot", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12503", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12487", + "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":"BLDCmotor_FOC_R2017b_fixdt:12489", "className":"Simulink.Inport", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.svg index 7d8fc6a..30d2572 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12487_d.svg @@ -65,117 +65,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vq_Spd - - - - - - - - - - - - - - - - - - - - - - - - - - n_cruiseMotTgt - - - - - - - - - - - - - - - - - - - - - - n_cruiseMotTgt - - - - - - - - - - - - - - - int16 - - - - - - - - @@ -188,11 +77,11 @@ - + - + 0 @@ -210,11 +99,11 @@ - + - + sfix16_En4 @@ -226,44 +115,44 @@ - - + + - + - + - - cf_nKp + + cf_nKi - + - + - - + + - - ufix16_En12 + + ufix16_En16 @@ -283,13 +172,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -297,7 +242,7 @@ - + @@ -305,7 +250,7 @@ - + @@ -313,7 +258,7 @@ - + @@ -321,7 +266,7 @@ - + @@ -329,7 +274,7 @@ - + @@ -337,7 +282,7 @@ - + @@ -345,7 +290,7 @@ - + @@ -353,7 +298,7 @@ - + @@ -361,78 +306,22 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + T - + - + F @@ -450,11 +339,11 @@ - + - + sfix16_En4 @@ -475,13 +364,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -489,7 +434,7 @@ - + @@ -497,7 +442,7 @@ - + @@ -505,7 +450,7 @@ - + @@ -513,7 +458,7 @@ - + @@ -521,7 +466,7 @@ - + @@ -529,7 +474,7 @@ - + @@ -537,7 +482,7 @@ - + @@ -545,7 +490,7 @@ - + @@ -553,78 +498,22 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + T - + - + F @@ -642,11 +531,11 @@ - + - + sfix16_En4 @@ -658,266 +547,43 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - + + - - + + - - err - - - - - - - - P - - - - - - - - I - - - - - - - - init - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - ext_limProt - - - - - - - - out - - - - - - - - PI(z) + + - - - - - - - - - - - - - - - - - PI_clamp_fixdt + + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -939,11 +605,11 @@ - + - + @@ -961,292 +627,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_minSpd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > 0 - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1268,11 +653,11 @@ - + - + [n_cruiseMotTgt] @@ -1301,11 +686,11 @@ - + - + [b_cruiseCtrlEna] @@ -1322,6 +707,39 @@ + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + @@ -1334,11 +752,11 @@ - + - + [n_mot] @@ -1367,11 +785,11 @@ - + - + [Vq_min] @@ -1388,6 +806,39 @@ + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + @@ -1400,11 +851,11 @@ - + - + [Vq_max] @@ -1421,279 +872,6 @@ - - - - - - - - - - - - - - - - - - [n_cruiseMotTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_minSpd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_cruiseMotTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - @@ -1706,19 +884,19 @@ - + - + - + - + @@ -1744,11 +922,499 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_cruiseMotTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_minSpd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + > 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vq_Spd + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_maxSpd] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1770,11 +1436,11 @@ - + - + [r_inpTgtSca] @@ -1792,11 +1458,11 @@ - + - + sfix16_En4 @@ -1808,43 +1474,59 @@ - - - + + + - - + + - - + + - - [Vq_max] + + + + + + + + + + + + + + + + + + - - + + - + - - + + - + sfix16_En4 @@ -1866,11 +1548,11 @@ - + - + [n_mot] @@ -1888,11 +1570,11 @@ - + - + sfix16_En4 @@ -1904,44 +1586,140 @@ - - + + - + - + - - [b_cruiseCtrlEna] + + [Vq_max] - + - - + + - - + + - - boolean + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1962,11 +1740,11 @@ - + - + [n_cruiseMotTgt] @@ -1984,11 +1762,393 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + n_cruiseMotTgt + + + + + + + + + + + + + + + + + + + + + + n_cruiseMotTgt + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + P + + + + + + + + I + + + + + + + + init + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + ext_limProt + + + + + + + + out + + + + + + + + PI(z) + + + + + + + + + + + + + + + + + + + + + + PI_clamp_fixdt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2010,11 +2170,11 @@ - + - + [Vq_min] @@ -2032,173 +2192,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_maxSpd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -2220,19 +2218,19 @@ - + - + - + - + @@ -2258,11 +2256,11 @@ - + - + sfix16_En4 @@ -2274,44 +2272,29 @@ - - - + + + - - + + - - + + - - cf_nKi + + [r_inpTgtSca] - - - - - - - - - - - - - - - - - ufix16_En16 + + @@ -2368,6 +2351,150 @@ + + + + + + + + + + + + + + + + + + [Vq_minSpd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -2380,11 +2507,11 @@ - + - + [VqFinPrev] @@ -2402,11 +2529,11 @@ - + - + sfix16_En4 @@ -2416,198 +2543,6 @@ - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - b_cruiseCtrlEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - @@ -2620,11 +2555,11 @@ - + - + 6 @@ -2642,11 +2577,11 @@ - + - + VqFinPrev @@ -2657,107 +2592,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -2779,11 +2618,11 @@ - + - + 5 @@ -2801,11 +2640,11 @@ - + - + iq_limProtErr @@ -2816,11 +2655,11 @@ - + - + sfix32_En20 @@ -2832,59 +2671,44 @@ - - - + + + - - + + - - + + - - + + cf_nKp - - + + - - + + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - sfix16_En4 + + ufix16_En12 @@ -2895,58 +2719,43 @@ - - - + + + - - + + - - + + - - 4 + + [Vq_min] - - - - - - - - - - - - - - - - - n_mot + + - + - - + + - + sfix16_En4 @@ -2968,11 +2777,11 @@ - + - + 3 @@ -2990,11 +2799,11 @@ - + - + Vq_min @@ -3005,11 +2814,11 @@ - + - + sfix16_En4 @@ -3021,43 +2830,43 @@ - - + + - + - + - - [Vq_min] + + [r_inpTgtSca] - + - + - - + + - + sfix16_En4 @@ -3069,43 +2878,250 @@ - - + + - + - + - + + [n_cruiseMotTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_maxSpd] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + - + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + - - + + - + sfix16_En4 @@ -3117,59 +3133,43 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - + - - + + [Vq_max] - - + + - + - + - + sfix16_En4 @@ -4001,5 +4001,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.json index 4c44c84..d028206 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.json @@ -1,84 +1,4 @@ [ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2790", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"y", - "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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":"BLDCmotor_FOC_R2017b_fixdt:12533:2788", "className":"Simulink.Sum", @@ -138,74 +58,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2908", - "className":"Simulink.Delay", - "icon":"WebViewIcon3", - "name":"Resettable Delay", - "label":"Resettable Delay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", - "inspector":{ - "params":[ - "DelayLengthSource", - "InitialConditionSource", - "DelayLength", - "InputProcessing", - "UseCircularBuffer", - "ShowEnablePort", - "ExternalReset", - "SampleTime", - "CodeGenStateStorageTypeQualifier", - "DelayLengthUpperLimit", - "DiagnosticForDelayLength", - "InitialCondition", - "PreventDirectFeedthrough", - "RemoveDelayLengthCheckInGeneratedCode", - "StateMustResolveToSignalObject", - "StateName", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "Dialog", - "Input port", - "1", - "Elements as channels (sample based)", - "off", - "off", - "None", - "-1", - "", - "100", - "None", - "0.0", - "off", - "off", - "off", - "", - [ - ], - "Auto" - ], - "tabs":[ - "Main", - "-Other" - ], - "tabs_idx":[ - 0, - 8 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Delay", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2787", "className":"Simulink.DataTypeConversion", @@ -320,6 +172,86 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2790", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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":"BLDCmotor_FOC_R2017b_fixdt:12533:2786", "className":"Simulink.Inport", @@ -387,6 +319,74 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2908", + "className":"Simulink.Delay", + "icon":"WebViewIcon3", + "name":"Resettable Delay", + "label":"Resettable Delay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", + "inspector":{ + "params":[ + "DelayLengthSource", + "InitialConditionSource", + "DelayLength", + "InputProcessing", + "UseCircularBuffer", + "ShowEnablePort", + "ExternalReset", + "SampleTime", + "CodeGenStateStorageTypeQualifier", + "DelayLengthUpperLimit", + "DiagnosticForDelayLength", + "InitialCondition", + "PreventDirectFeedthrough", + "RemoveDelayLengthCheckInGeneratedCode", + "StateMustResolveToSignalObject", + "StateName", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "Dialog", + "Input port", + "1", + "Elements as channels (sample based)", + "off", + "off", + "None", + "-1", + "", + "100", + "None", + "0.0", + "off", + "off", + "off", + "", + [ + ], + "Auto" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 8 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Delay", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2909#out:1", "className":"Simulink.Line", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.svg index 361d0a9..b7521f6 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.svg @@ -10,54 +10,6 @@ - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - @@ -70,36 +22,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - @@ -117,83 +69,11 @@ - + - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - x0 - - - - - - - - u - - - - - - - - Z - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - + sfix32_En20 @@ -215,19 +95,19 @@ - + - + - + - + @@ -253,11 +133,11 @@ - + - + sfix16_En4 @@ -279,11 +159,11 @@ - + - + 2 @@ -301,11 +181,11 @@ - + - + init @@ -316,11 +196,11 @@ - + - + sfix16_En4 @@ -330,6 +210,54 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + @@ -342,11 +270,11 @@ - + - + 1 @@ -364,11 +292,11 @@ - + - + u @@ -379,11 +307,83 @@ - + - + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + x0 + + + + + + + + u + + + + + + + + Z + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + sfix32_En20 @@ -485,5 +485,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.json index cf3cc54..5c8ff97 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.json @@ -1,10 +1,10 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2710", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2709", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"hitMin", - "label":"hitMin", + "name":"hitMax", + "label":"hitMax", "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ @@ -33,7 +33,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "3", + "1", "Port number", "[]", "[]", @@ -79,6 +79,120 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2849", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2848", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2377", "className":"Simulink.Outport", @@ -159,188 +273,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2709", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"hitMax", - "label":"hitMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", - "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2707", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"UpperRelop", - "label":"UpperRelop", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2849", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2704", "className":"Simulink.RelationalOperator", @@ -387,11 +319,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2701", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2710", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"lo", - "label":"lo", + "name":"hitMin", + "label":"hitMin", "parent":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "inspector":{ "params":[ @@ -407,11 +339,17 @@ "SampleTime", "SignalType", "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ "3", @@ -426,10 +364,17 @@ "-1", "auto", "off", + "off", + "[]", + "off", + "held", + "off", + "0", "", - "on", - "off", - "off", + [ + ], + "Dialog", + "Auto", "off" ], "tabs":[ @@ -449,7 +394,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Outport", "masktype":"" } }, @@ -521,40 +466,50 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2848", - "className":"Simulink.Switch", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2701", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", + "name":"lo", + "label":"lo", "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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", - "off", - "Zero", - "off", + "Inherit: auto", "off", + "inherit", "-1", - "0", - "on" + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", @@ -563,8 +518,8 @@ ], "tabs_idx":[ 0, - 1, - 9 + 2, + 11 ] }, "viewer":{ @@ -573,7 +528,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"Inport", "masktype":"" } }, @@ -644,6 +599,51 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2707", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"UpperRelop", + "label":"UpperRelop", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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":"BLDCmotor_FOC_R2017b_fixdt:12533:2791:2849#out:1", "className":"Simulink.Line", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.svg similarity index 90% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.svg index a50814e..9793f08 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.svg @@ -13,11 +13,11 @@ - - + + - + @@ -27,30 +27,414 @@ - - 3 + + 1 - + - - + + - + - - hitMin + + hitMax + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -71,11 +455,11 @@ - + - + 2 @@ -93,11 +477,11 @@ - + - + y @@ -107,330 +491,11 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - hitMax - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - UpperRelop - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - + @@ -438,19 +503,19 @@ - + - + - + - + @@ -476,11 +541,11 @@ - + - + LowerRelop1 @@ -491,11 +556,11 @@ - + - + boolean @@ -507,59 +572,44 @@ - - + + - + - + - + 3 - + - - + + - - + + - - lo - - - - - - - - - - - - - - - sfix16_En4 + + hitMin @@ -580,11 +630,11 @@ - + - + 2 @@ -602,11 +652,11 @@ - + - + u @@ -617,11 +667,11 @@ - + - + sfix16_En4 @@ -633,187 +683,58 @@ - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F + + 3 - - + + + + + + + + + + + + + + + + + lo - + - - + + - + sfix16_En4 @@ -835,11 +756,11 @@ - + - + 1 @@ -857,11 +778,11 @@ - + - + up @@ -872,11 +793,11 @@ - + - + sfix16_En4 @@ -886,6 +807,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UpperRelop + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -1106,5 +1106,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.json index d92fa69..d262a8c 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.json @@ -320,6 +320,53 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2840", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"DataTypeConv4", + "label":"DataTypeConv4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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":"BLDCmotor_FOC_R2017b_fixdt:12533:2836", "className":"Simulink.DataTypeConversion", @@ -434,53 +481,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2840", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"DataTypeConv4", - "label":"DataTypeConv4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533: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":"BLDCmotor_FOC_R2017b_fixdt:12533:2838", "className":"Simulink.Logic", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.svg index 1410a08..95f1908 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2816_d.svg @@ -417,133 +417,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - hitSat - - - - - - - - - - - - - - - boolean - - - - - - - - @@ -556,19 +429,19 @@ - + - + - + - + @@ -594,11 +467,11 @@ - + - + int8 @@ -608,11 +481,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + hitSat + + + + + + + + + + + + + + + boolean + + + + + + + + - + @@ -800,5 +800,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.json index 7f9b6e2..edd624b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.json @@ -1,72 +1,42 @@ [ { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2785", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2817", + "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"out", - "label":"out", + "name":"UnitDelay1", + "label":"UnitDelay1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", + "InitialCondition", + "InputProcessing", "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" ], "values":[ - "1", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", "0", + "Inherited", + "-1", "", + "", + "off", [ ], - "Dialog", - "Auto", - "off" + "Auto" ], "tabs":[ "Main", - "Signal Attributes", + "State Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 3, + 4 ] }, "viewer":{ @@ -75,64 +45,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2814", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "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", + "blocktype":"UnitDelay", "masktype":"" } }, @@ -195,307 +108,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2783", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2846", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitSat", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2833", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2817", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2832", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2791", "className":"Simulink.SubSystem", @@ -589,6 +201,396 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2794", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2845", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2783", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2776", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2779", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2785", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"out", + "label":"out", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2815", "className":"Simulink.Constant", @@ -639,150 +641,27 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clamping_circuit", - "label":"Clamping_circuit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2778", - "className":"Simulink.Product", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2795", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Divide5", - "label":"Divide5", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,5)", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "b_hitMin", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -790,7 +669,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Goto", "masktype":"" } }, @@ -861,6 +740,161 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2814", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2846", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitSat", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2910", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"init", + "label":"init", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2732", "className":"Simulink.Inport", @@ -929,134 +963,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2795", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2794", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2776", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2910", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2773", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"init", - "label":"init", + "name":"ext_limProt", + "label":"ext_limProt", "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "inspector":{ "params":[ @@ -1079,7 +990,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "7", "Port number", "[]", "[]", @@ -1118,6 +1029,94 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2778", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide5", + "label":"Divide5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2833", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2771", "className":"Simulink.Inport", @@ -1186,169 +1185,99 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2770", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"P", - "label":"P", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2816", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clamping_circuit", + "label":"Clamping_circuit", "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", "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":[ - "2", - "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/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2773", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"ext_limProt", - "label":"ext_limProt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2845", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", - "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":"SubSystem", "masktype":"" } }, @@ -1419,6 +1348,73 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12533:2770", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"P", + "label":"P", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12533", + "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":"BLDCmotor_FOC_R2017b_fixdt:12533:2844", "className":"Simulink.Logic", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.png new file mode 100644 index 0000000..932f81b Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.svg index 9a0d92b..1e931e8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.svg @@ -13,236 +13,91 @@ - - - + + + - - + + - + - + - - 1 - - - - - - - - - - - - - - - - - - - - - - out - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - - + + - + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F + + + + + + + + + + - - + + - - + + - + - - sfix32_En20 + + boolean + + + + + + + + + + + + + + + Ini=0 @@ -262,21 +117,13 @@ - - - - - - - - - + @@ -284,7 +131,7 @@ - + @@ -292,6 +139,14 @@ + + + + + + + + @@ -309,11 +164,11 @@ - + - + sfix32_En20 @@ -323,6 +178,262 @@ + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + hitMax + + + + + + + + y + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + @@ -335,35 +446,35 @@ - + - + - + - + - + - + - + - + @@ -381,11 +492,11 @@ - + - + sfix16_En4 @@ -395,6 +506,110 @@ + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + @@ -413,27 +628,27 @@ - + - + u - + - + init - + - + y @@ -463,11 +678,11 @@ - + - + Integrator @@ -484,11 +699,11 @@ - + - + sfix16_En4 @@ -500,431 +715,50 @@ - + - - + + - - + + - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMin] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMax] - - - - - - - - - - - - - - - - + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - hitMax - - - - - - - - y - - - - - - - - hitMin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + 1 - - + + - - - + + + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + out @@ -945,11 +779,11 @@ - + - + 0 @@ -967,11 +801,11 @@ - + - + sfix32_En20 @@ -983,169 +817,29 @@ - - - + + + - - - - - - - - + + - - + + - - preIntegrator - - - - - - - - preSat - - - - - - - - hitSat - - - - - - - - Clamp + + [b_hitMin] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Clamping_circuit - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En5 + + @@ -1166,11 +860,11 @@ - + - + 6 @@ -1188,11 +882,11 @@ - + - + satMin @@ -1203,11 +897,314 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + init + + + + + + + + + + + + + + sfix16_En4 @@ -1282,117 +1279,58 @@ - - - + + + - - + + - + - - [b_hitMin] + + 7 - - + + - - - - - - - - - - - - - - - - - - - - - - [b_hitMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - + + - - - - - - - - - + + ext_limProt - + - - + + - + sfix32_En20 @@ -1404,59 +1342,100 @@ - - - + + + - - + + - - + + - - 4 + + + + + + + + + + - - - - - - - - - - - - - - - - - init + + - + - - + + - - sfix16_En4 + + sfix16_En5 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMin] + + + + + + + + + + + + + + + + + + + + + + boolean @@ -1477,11 +1456,11 @@ - + - + 3 @@ -1499,11 +1478,11 @@ - + - + I @@ -1514,11 +1493,11 @@ - + - + ufix16_En16 @@ -1528,6 +1507,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + preIntegrator + + + + + + + + preSat + + + + + + + + hitSat + + + + + + + + Clamp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clamping_circuit + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + err + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -1540,11 +1699,11 @@ - + - + 2 @@ -1562,11 +1721,11 @@ - + - + P @@ -1577,11 +1736,11 @@ - + - + ufix16_En12 @@ -1591,170 +1750,11 @@ - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - ext_limProt - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - + @@ -2198,5 +2198,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.json index cd5b09b..54a4dd8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.json @@ -80,11 +80,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12585", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12583", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"constant2", - "label":"constant2", + "name":"cf_iqKi", + "label":"cf_iqKi", "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ @@ -98,12 +98,61 @@ "FramePeriod" ], "values":[ - "0", + "cf_iqKi", "on", "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "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":"BLDCmotor_FOC_R2017b_fixdt:12584", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_iqKp", + "label":"cf_iqKp", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_iqKp", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,12)", "off", "inf" ], @@ -188,36 +237,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12689", - "className":"Simulink.SignalConversion", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12581", + "className":"Saturation Dynamic", "icon":"WebViewIcon3", - "name":"Signal Conversion2", - "label":"Signal Conversion2", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ - "ConversionOutput", + "OutMin", + "OutMax", "OutDataTypeStr", - "OverrideOpt" + "LockScale", + "RndMeth", + "DoSatur" ], "values":[ - "Signal copy", - "Inherit: auto", + "[]", + "[]", + "Inherit: Same as second input", + "off", + "Floor", "off" ], "tabs":[ - "Parameter Attributes" ], - "tabs_idx":0 + "tabs_idx":[ + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SignalConversion", - "masktype":"" + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" } }, { @@ -314,74 +369,55 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12581", - "className":"Saturation Dynamic", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12579", + "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", + "name":"MinMax2", + "label":"MinMax2", "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ - "OutMin", - "OutMax", "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", "LockScale", + "OutMax", + "OutMin", "RndMeth", - "DoSatur" + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" ], "values":[ - "[]", - "[]", - "Inherit: Same as second input", + "Inherit: Inherit via internal rule", + "max", "off", + "2", + "off", + "[]", + "[]", "Floor", - "off" + "-1", + "off", + "on" ], "tabs":[ + "Signal Attributes", + "-Other" ], "tabs_idx":[ + 0, + 1 ] }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12577", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_minTrq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"MinMax", "masktype":"" } }, @@ -451,72 +487,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12574", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12573", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "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":"BLDCmotor_FOC_R2017b_fixdt:12572", "className":"Simulink.Goto", @@ -583,511 +553,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12583", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_iqKi", - "label":"cf_iqKi", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_iqKi", - "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":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12567", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"Gain4", - "label":"Gain4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "-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":"BLDCmotor_FOC_R2017b_fixdt:12566", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12565", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "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":"BLDCmotor_FOC_R2017b_fixdt:12564", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12584", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_iqKp", - "label":"cf_iqKp", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_iqKp", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,12)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12561", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12560", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "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":"BLDCmotor_FOC_R2017b_fixdt:12559", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "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":"BLDCmotor_FOC_R2017b_fixdt:12570", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "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":"BLDCmotor_FOC_R2017b_fixdt:12558", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "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":"BLDCmotor_FOC_R2017b_fixdt:12556", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "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":"BLDCmotor_FOC_R2017b_fixdt:12555", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"VqFinPrev", - "label":"VqFinPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "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":"BLDCmotor_FOC_R2017b_fixdt:12569", "className":"Simulink.Goto", @@ -1121,59 +586,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12579", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax2", - "label":"MinMax2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "max", - "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":"BLDCmotor_FOC_R2017b_fixdt:12578", "className":"Simulink.MinMax", @@ -1228,61 +640,27 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12551", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12568", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "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" + "Vq_maxTrq", + "local", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1290,7 +668,162 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12564", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12563", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"BLDCmotor_FOC_R2017b_fixdt:12561", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12562", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_minTrq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12559", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"" } }, @@ -1361,6 +894,136 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12574", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto29", + "label":"Goto29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12570", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"BLDCmotor_FOC_R2017b_fixdt:12577", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_minTrq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12566", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12552", "className":"Simulink.Inport", @@ -1428,6 +1091,230 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12567", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"Gain4", + "label":"Gain4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "-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":"BLDCmotor_FOC_R2017b_fixdt:12553", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq_min", + "label":"iq_min", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"BLDCmotor_FOC_R2017b_fixdt:12565", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"BLDCmotor_FOC_R2017b_fixdt:12551", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"BLDCmotor_FOC_R2017b_fixdt:12550", "className":"Simulink.Inport", @@ -1496,11 +1383,77 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12562", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12689", + "className":"Simulink.SignalConversion", + "icon":"WebViewIcon3", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"BLDCmotor_FOC_R2017b_fixdt:12573", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"BLDCmotor_FOC_R2017b_fixdt:12558", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ @@ -1508,7 +1461,7 @@ "IconDisplay" ], "values":[ - "Vq_minTrq", + "VqFinPrev", "Tag" ], "tabs":[ @@ -1527,25 +1480,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12557", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12585", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"constant2", + "label":"constant2", "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "Vq_maxTrq", - "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" @@ -1553,7 +1524,74 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12555", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFinPrev", + "label":"VqFinPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"" } }, @@ -1624,137 +1662,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12553", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq_min", - "label":"iq_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "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":"BLDCmotor_FOC_R2017b_fixdt:12563", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "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":"BLDCmotor_FOC_R2017b_fixdt:12568", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_maxTrq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12548", "className":"Simulink.Inport", @@ -1822,6 +1729,99 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12557", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_maxTrq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12556", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"BLDCmotor_FOC_R2017b_fixdt:12560", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12547", + "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":"BLDCmotor_FOC_R2017b_fixdt:12549#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.png new file mode 100644 index 0000000..8e2a7f5 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.svg index 20c3b16..024cec0 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.svg @@ -61,44 +61,92 @@ - - - + + + - - + + - + - - 0 + + cf_iqKi - - + + - - + + - + - - sfix32_En20 + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + cf_iqKp + + + + + + + + + + + + + + + + + + + + + + ufix16_En12 @@ -119,27 +167,27 @@ - + - + - + - + - + - + @@ -157,11 +205,11 @@ - + - + sfix16_En4 @@ -171,346 +219,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - err - - - - - - - - P - - - - - - - - I - - - - - - - - init - - - - - - - - satMax - - - - - - - - satMin - - - - - - - - ext_limProt - - - - - - - - out - - - - - - - - PI(z) - - - - - - - - - - - - - - - - - - - - - - PI_clamp_fixdt - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -518,35 +231,35 @@ - + - + - + - + - + - + - + - + @@ -558,35 +271,35 @@ - + - + up - + - + u - + - + lo - + - + y @@ -604,11 +317,11 @@ - + - + sfix16_En4 @@ -620,29 +333,219 @@ - - - + + + - - + + - - + + - - [Vq_minTrq] + + err + + + + + + + + P + + + + + + + + I + + + + + + + + init + + + + + + + + satMax + + + + + + + + satMin + + + + + + + + ext_limProt + + + + + + + + out + + + + + + + + PI(z) - - + + + + + + + + + + + + + + + + + PI_clamp_fixdt + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -663,11 +566,11 @@ - + - + [Vq_nLimProtMax] @@ -696,11 +599,11 @@ - + - + [iq] @@ -717,72 +620,6 @@ - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - @@ -795,11 +632,11 @@ - + - + [iq_max] @@ -828,11 +665,11 @@ - + - + [r_inpTgtSca] @@ -849,630 +686,6 @@ - - - - - - - - - - - - - - - - - - cf_iqKi - - - - - - - - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - cf_iqKp - - - - - - - - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -1485,11 +698,11 @@ - + - + [Vq_max] @@ -1506,75 +719,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - + @@ -1582,19 +731,19 @@ - + - + - + - + @@ -1620,11 +769,11 @@ - + - + sfix16_En4 @@ -1636,58 +785,76 @@ - - - + + + - - + + - - + + - - 4 + + [Vq_maxTrq] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - iq + + [iq] + + + + + + + - + - - + + - + sfix16_En4 @@ -1699,58 +866,43 @@ - - - + + + - - + + - - + + - - 7 + + [r_inpTgtSca] - - - - - - - - - - - - - - - - - Vq_nLimProtMax + + - + - - + + - + sfix16_En4 @@ -1762,121 +914,43 @@ - - - + + + - - + + - - + + - - 5 + + [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - iq_max + + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - + sfix16_En4 @@ -1898,11 +972,11 @@ - + - + [Vq_minTrq] @@ -1920,11 +994,11 @@ - + - + sfix16_En4 @@ -1936,43 +1010,969 @@ - - + + - + - + - - [Vq_maxTrq] + + [Vq_max] - + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + Vq_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_minTrq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + iq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + - + - + sfix16_En4 @@ -2045,150 +2045,6 @@ - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - iq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_maxTrq] - - - - - - - - - - - - - - - @@ -2201,11 +2057,11 @@ - + - + 1 @@ -2223,11 +2079,11 @@ - + - + r_inpTgtSca @@ -2238,11 +2094,155 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_maxTrq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2666,5 +2666,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.json index c091db0..f459171 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.json @@ -1,4 +1,63 @@ [ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2788", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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":"BLDCmotor_FOC_R2017b_fixdt:12580:2790", "className":"Simulink.Outport", @@ -79,133 +138,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2788", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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":"BLDCmotor_FOC_R2017b_fixdt:12580:2908", - "className":"Simulink.Delay", - "icon":"WebViewIcon3", - "name":"Resettable Delay", - "label":"Resettable Delay", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", - "inspector":{ - "params":[ - "DelayLengthSource", - "InitialConditionSource", - "DelayLength", - "InputProcessing", - "UseCircularBuffer", - "ShowEnablePort", - "ExternalReset", - "SampleTime", - "CodeGenStateStorageTypeQualifier", - "DelayLengthUpperLimit", - "DiagnosticForDelayLength", - "InitialCondition", - "PreventDirectFeedthrough", - "RemoveDelayLengthCheckInGeneratedCode", - "StateMustResolveToSignalObject", - "StateName", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "Dialog", - "Input port", - "1", - "Elements as channels (sample based)", - "off", - "off", - "None", - "-1", - "", - "100", - "None", - "0.0", - "off", - "off", - "off", - "", - [ - ], - "Auto" - ], - "tabs":[ - "Main", - "-Other" - ], - "tabs_idx":[ - 0, - 8 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Delay", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2787", "className":"Simulink.DataTypeConversion", @@ -387,6 +319,74 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2908", + "className":"Simulink.Delay", + "icon":"WebViewIcon3", + "name":"Resettable Delay", + "label":"Resettable Delay", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2779", + "inspector":{ + "params":[ + "DelayLengthSource", + "InitialConditionSource", + "DelayLength", + "InputProcessing", + "UseCircularBuffer", + "ShowEnablePort", + "ExternalReset", + "SampleTime", + "CodeGenStateStorageTypeQualifier", + "DelayLengthUpperLimit", + "DiagnosticForDelayLength", + "InitialCondition", + "PreventDirectFeedthrough", + "RemoveDelayLengthCheckInGeneratedCode", + "StateMustResolveToSignalObject", + "StateName", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "Dialog", + "Input port", + "1", + "Elements as channels (sample based)", + "off", + "off", + "None", + "-1", + "", + "100", + "None", + "0.0", + "off", + "off", + "off", + "", + [ + ], + "Auto" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 8 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Delay", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2909#out:1", "className":"Simulink.Line", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.svg index 4caaee1..7364428 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.svg @@ -10,54 +10,6 @@ - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - @@ -70,36 +22,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - @@ -117,11 +69,11 @@ - + - + sfix16_En4 @@ -133,68 +85,44 @@ - - - + + + - - + + - - + + - - x0 - - - - - - - - u - - - - - - - - Z - - - - - - - - -1 + + 1 - - + + - - - + + + - - + + - - sfix16_En4 + + y @@ -215,19 +143,19 @@ - + - + - + - + @@ -253,11 +181,11 @@ - + - + sfix16_En4 @@ -279,11 +207,11 @@ - + - + 2 @@ -301,11 +229,11 @@ - + - + init @@ -316,11 +244,11 @@ - + - + sfix16_En4 @@ -342,11 +270,11 @@ - + - + 1 @@ -364,11 +292,11 @@ - + - + u @@ -379,11 +307,83 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + x0 + + + + + + + + u + + + + + + + + Z + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -485,5 +485,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.json index 216c82d..0baec29 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.json @@ -79,86 +79,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2709", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"hitMax", - "label":"hitMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", - "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2707", "className":"Simulink.RelationalOperator", @@ -204,175 +124,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2704", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"LowerRelop1", - "label":"LowerRelop1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2849", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2701", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"lo", - "label":"lo", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", - "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2710", "className":"Simulink.Outport", @@ -453,6 +204,255 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2849", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2709", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"hitMax", + "label":"hitMax", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", + "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2704", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"LowerRelop1", + "label":"LowerRelop1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2701", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"lo", + "label":"lo", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2791", + "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2791:2700", "className":"Simulink.Inport", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.svg index 0a48214..a7e5063 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.svg @@ -59,59 +59,11 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - hitMax - - - - - - - - - + @@ -119,19 +71,19 @@ - + - + - + - + @@ -157,11 +109,11 @@ - + - + UpperRelop @@ -172,11 +124,11 @@ - + - + boolean @@ -186,11 +138,299 @@ + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + hitMax + + + + + + + + - + @@ -198,19 +438,19 @@ - + - + - + - + @@ -236,11 +476,11 @@ - + - + LowerRelop1 @@ -251,11 +491,11 @@ - + - + boolean @@ -265,198 +505,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -469,11 +517,11 @@ - + - + 3 @@ -491,11 +539,11 @@ - + - + lo @@ -506,11 +554,11 @@ - + - + sfix16_En4 @@ -520,54 +568,6 @@ - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - hitMin - - - - - - - - @@ -698,7 +698,7 @@ - + @@ -1106,5 +1106,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.json index edc828d..8e2bf95 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.json @@ -213,37 +213,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2839", - "className":"Simulink.Signum", - "icon":"WebViewIcon3", - "name":"SignDeltaU3", - "label":"SignDeltaU3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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":"BLDCmotor_FOC_R2017b_fixdt:12580:2837", "className":"Simulink.Signum", @@ -321,41 +290,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2836", - "className":"Simulink.DataTypeConversion", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2839", + "className":"Simulink.Signum", "icon":"WebViewIcon3", - "name":"DataTypeConv3", - "label":"DataTypeConv3", + "name":"SignDeltaU3", + "label":"SignDeltaU3", "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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,16 +316,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"DataTypeConversion", + "blocktype":"Signum", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2840", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2836", "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"DataTypeConv4", - "label":"DataTypeConv4", + "name":"DataTypeConv3", + "label":"DataTypeConv3", "parent":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", "inspector":{ "params":[ @@ -481,6 +434,53 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2840", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"DataTypeConv4", + "label":"DataTypeConv4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580: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":"BLDCmotor_FOC_R2017b_fixdt:12580:2838", "className":"Simulink.Logic", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.svg index 6935952..b41c109 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2816_d.svg @@ -185,86 +185,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - @@ -277,35 +197,35 @@ - + - + - + - + - + - + - + - + @@ -331,11 +251,11 @@ - + - + int32 @@ -349,7 +269,7 @@ - + @@ -357,27 +277,27 @@ - + - + - + - + - + - + @@ -403,11 +323,11 @@ - + - + boolean @@ -417,6 +337,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + @@ -481,6 +481,69 @@ + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + hitSat + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -493,19 +556,19 @@ - + - + - + - + @@ -531,11 +594,11 @@ - + - + int8 @@ -545,74 +608,11 @@ - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - hitSat - - - - - - - - - - - - - - - boolean - - - - - - - - - + @@ -642,21 +642,6 @@ - - - - - - - - - - - boolean - - - - @@ -668,6 +653,21 @@ + + + + + + + + + + + boolean + + + + @@ -800,5 +800,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.json index b9ef91b..ac544ff 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.json @@ -1,4 +1,87 @@ [ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2817", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay1", + "label":"UnitDelay1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2794", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2785", "className":"Simulink.Outport", @@ -80,44 +163,27 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2817", - "className":"Simulink.UnitDelay", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2845", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "0", - "Inherited", - "-1", - "", - "", - "off", - [ - ], - "Auto" + "b_hitSat", + "local", + "Tag" ], "tabs":[ - "Main", - "State Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 4 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -125,58 +191,30 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"UnitDelay", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2781", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2833", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Sum2", - "label":"Sum2", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "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", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "on", - "1", - "All dimensions", - "-1" + "b_hitMin", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 10 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -184,7 +222,38 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, @@ -258,22 +327,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -285,30 +353,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -320,19 +388,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -347,11 +414,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2794", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2795", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Goto1", + "label":"Goto1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ @@ -359,104 +426,9 @@ "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2845", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", - "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2846", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitSat", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2833", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], "values":[ "b_hitMin", + "local", "Tag" ], "tabs":[ @@ -470,68 +442,152 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2832", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clamping_circuit", + "label":"Clamping_circuit", "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "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_hitMax", - "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2815", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2733", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", + "name":"satMin", + "label":"satMin", "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "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", + "6", + "Port number", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" ], "tabs":[ "Main", @@ -540,8 +596,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -550,7 +606,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Inport", "masktype":"" } }, @@ -611,6 +667,254 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2910", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"init", + "label":"init", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2771", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"I", + "label":"I", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2814", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2776", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2773", "className":"Simulink.Inport", @@ -679,50 +983,32 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2733", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2815", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"satMin", - "label":"satMin", + "name":"Constant", + "label":"Constant", "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ - "Port", - "IconDisplay", + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "FramePeriod" ], "values":[ - "6", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", + "0", "on", + "inf", + "[]", + "[]", + "Inherit: Inherit via back propagation", "off", - "off", - "off" + "inf" ], "tabs":[ "Main", @@ -731,8 +1017,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 3, + 7 ] }, "viewer":{ @@ -741,106 +1027,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2816", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clamping_circuit", - "label":"Clamping_circuit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", + "blocktype":"Constant", "masktype":"" } }, @@ -1004,106 +1191,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2910", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"init", - "label":"init", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", - "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2795", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", - "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2732", "className":"Simulink.Inport", @@ -1171,6 +1258,65 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2781", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum2", + "label":"Sum2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", + "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2769", "className":"Simulink.Inport", @@ -1239,51 +1385,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2814", - "className":"Simulink.Switch", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2846", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", + "name":"From4", + "label":"From4", "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", "inspector":{ "params":[ - "Criteria", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "AllowDiffInputSizes", - "SampleTime", - "Threshold", - "ZeroCross" + "GotoTag", + "IconDisplay" ], "values":[ - "u2 ~= 0", - "off", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "Zero", - "off", - "off", - "-1", - "0", - "on" + "b_hitSat", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 1, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1291,131 +1411,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12580:2776", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", - "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":"BLDCmotor_FOC_R2017b_fixdt:12580:2771", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"I", - "label":"I", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12580", - "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", + "blocktype":"From", "masktype":"" } }, diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.png new file mode 100644 index 0000000..14406be Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.svg index 8971522..d460b87 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.svg @@ -10,60 +10,12 @@ - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - out - - - - - - - - + @@ -71,35 +23,35 @@ - + - + - + - + - + - + - + - + @@ -120,104 +72,242 @@ - - - - - - - - - - - boolean - - - - - + - + Ini=0 + + + + + + + + + + + boolean + + + + - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + [b_hitMax] - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + out + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMin] + + + + + + + - - + + - - + + - - sfix32_En20 + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + boolean @@ -238,35 +328,35 @@ - + - + - + - + - + - + - + - + @@ -284,11 +374,11 @@ - + - + sfix16_En4 @@ -316,27 +406,27 @@ - + - + u - + - + init - + - + y @@ -366,11 +456,11 @@ - + - + Integrator @@ -387,11 +477,11 @@ - + - + sfix16_En4 @@ -403,442 +493,35 @@ - + - + - + - - - - - - - - [b_hitMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitSat] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - + [b_hitMin] - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMax] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En5 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - ext_limProt - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 + + @@ -865,35 +548,35 @@ - + - + preIntegrator - + - + preSat - + - + hitSat - + - + Clamp @@ -923,11 +606,11 @@ - + - + Clamping_circuit @@ -944,11 +627,11 @@ - + - + boolean @@ -960,13 +643,617 @@ - + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + satMin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En5 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + init + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + I + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + ext_limProt + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + @@ -976,91 +1263,91 @@ - + - + up - + - + u - + - + lo - + - + hitMax - + - + y - + - + hitMin - + - + - + - + - + - + - + - + - + - + @@ -1078,11 +1365,26 @@ - + - + + boolean + + + + + + + + + + + + + + boolean @@ -1093,56 +1395,41 @@ - + - + sfix16_En4 - - - - - - - - - - - boolean - - - - - + - + - + - + - + - + @@ -1166,11 +1453,11 @@ - + - + 2 @@ -1188,11 +1475,11 @@ - + - + P @@ -1203,11 +1490,11 @@ - + - + ufix16_En12 @@ -1217,102 +1504,6 @@ - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - init - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMin] - - - - - - - - - - - - - - - @@ -1325,11 +1516,11 @@ - + - + 5 @@ -1347,11 +1538,11 @@ - + - + satMax @@ -1362,11 +1553,11 @@ - + - + sfix16_En4 @@ -1376,6 +1567,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + @@ -1388,11 +1651,11 @@ - + - + 1 @@ -1410,11 +1673,11 @@ - + - + err @@ -1425,11 +1688,11 @@ - + - + sfix16_En4 @@ -1441,307 +1704,44 @@ - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - + - - I + + [b_hitSat] + + + + + + + - - + + - + - - ufix16_En16 + + boolean @@ -1754,7 +1754,7 @@ - + @@ -2198,5 +2198,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.svg index 8a90364..c3ee55b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12581_d.svg @@ -63,7 +63,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -334,7 +334,7 @@ - + @@ -526,7 +526,7 @@ - + @@ -605,7 +605,7 @@ - + @@ -654,7 +654,7 @@ - + @@ -1012,15 +1012,15 @@ + + + - - - @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.json index ba6c2bc..f4a3590 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.json @@ -58,6 +58,86 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12615", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vd", + "label":"Vd", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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":"BLDCmotor_FOC_R2017b_fixdt:12614", "className":"Simulink.Gain", @@ -118,51 +198,74 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12612", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12608", + "className":"Saturation Dynamic", "icon":"WebViewIcon3", - "name":"constant1", - "label":"constant1", + "name":"Saturation Dynamic", + "label":"Saturation Dynamic", "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "FramePeriod" + "RndMeth", + "DoSatur" ], "values":[ - "0", - "on", - "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "Inherit: Same as second input", "off", - "inf" + "Floor", + "off" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" ], "tabs_idx":[ - 0, - 3, - 7 ] }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"Saturation Dynamic" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12606", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto29", + "label":"Goto29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Goto", "masktype":"" } }, @@ -308,88 +411,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12604", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12613", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"constant2", - "label":"constant2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", - "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":"BLDCmotor_FOC_R2017b_fixdt:12605", "className":"Simulink.Goto", @@ -424,11 +445,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12603", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12604", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", + "name":"Goto19", + "label":"Goto19", "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ @@ -437,7 +458,7 @@ "IconDisplay" ], "values":[ - "Vd_min", + "id_max", "local", "Tag" ], @@ -456,86 +477,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12615", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vd", - "label":"Vd", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", - "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":"BLDCmotor_FOC_R2017b_fixdt:12602", "className":"Simulink.Goto", @@ -663,27 +604,43 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12601", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12613", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"constant2", + "label":"constant2", "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" ], "values":[ - "id_TgtAbs", - "local", - "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" @@ -691,38 +648,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12594", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", - "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":"Constant", "masktype":"" } }, @@ -758,11 +684,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12595", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12596", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ @@ -770,7 +696,7 @@ "IconDisplay" ], "values":[ - "id_TgtAbs", + "id", "Tag" ], "tabs":[ @@ -789,11 +715,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12606", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12603", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", + "name":"Goto18", + "label":"Goto18", "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ @@ -802,7 +728,7 @@ "IconDisplay" ], "values":[ - "id_min", + "Vd_min", "local", "Tag" ], @@ -822,11 +748,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12592", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12593", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"id_max", - "label":"id_max", + "name":"id_min", + "label":"id_min", "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ @@ -849,7 +775,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "6", "Port number", "[]", "[]", @@ -956,19 +882,21 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12596", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12601", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "id", + "id_TgtAbs", + "local", "Tag" ], "tabs":[ @@ -982,7 +910,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, @@ -1053,6 +981,55 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12612", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"constant1", + "label":"constant1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "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":"BLDCmotor_FOC_R2017b_fixdt:12610", "className":"Simulink.Constant", @@ -1103,100 +1080,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12608", - "className":"Saturation Dynamic", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12594", + "className":"Simulink.ActionPort", "icon":"WebViewIcon3", - "name":"Saturation Dynamic", - "label":"Saturation Dynamic", + "name":"Action Port", + "label":"Action Port", "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "DoSatur" + "InitializeStates", + "PropagateVarSize" ], "values":[ - "[]", - "[]", - "Inherit: Same as second input", - "off", - "Floor", - "off" + "reset", + "Only when execution is resumed" ], "tabs":[ + "Parameter Attributes" ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"Saturation Dynamic" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12589", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id", - "label":"id", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", - "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 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -1204,7 +1106,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"ActionPort", "masktype":"" } }, @@ -1276,11 +1178,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12593", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12595", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_TgtAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12592", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"id_min", - "label":"id_min", + "name":"id_max", + "label":"id_max", "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", "inspector":{ "params":[ @@ -1303,7 +1236,74 @@ "OutputFunctionCall" ], "values":[ - "6", + "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":"BLDCmotor_FOC_R2017b_fixdt:12589", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id", + "label":"id", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12587", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", "Port number", "[]", "[]", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.png new file mode 100644 index 0000000..db70cfe Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.svg index d0956ad..dc3adc7 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.svg @@ -75,6 +75,54 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + Vd + + + + + + + + @@ -87,11 +135,11 @@ - + - + -1 @@ -109,11 +157,11 @@ - + - + sfix16_En4 @@ -125,44 +173,141 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - 0 + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y - - + + - - + + - - + + - - sfix32_En20 + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + @@ -183,11 +328,11 @@ - + - + cf_idKp @@ -205,11 +350,11 @@ - + - + ufix16_En12 @@ -223,7 +368,7 @@ - + @@ -231,75 +376,75 @@ - + - + err - + - + P - + - + I - + - + init - + - + satMax - + - + satMin - + - + ext_limProt - + - + out - + - + PI(z) @@ -317,140 +462,59 @@ - + - + PI_clamp_fixdt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + sfix16_En4 - - - - - - - - - - - - - - - + - - + + - - [id_max] + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 + + + + + + + + + + + + + + + + + + @@ -471,11 +535,11 @@ - + - + [id] @@ -494,28 +558,28 @@ - - + + - + - + - - [Vd_min] + + [id_max] - + @@ -525,54 +589,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vd - - - - - - - - @@ -585,11 +601,11 @@ - + - + [Vd_max] @@ -618,11 +634,11 @@ - + - + [Vd_min] @@ -640,11 +656,11 @@ - + - + sfix16_En4 @@ -666,11 +682,11 @@ - + - + [Vd_max] @@ -688,11 +704,11 @@ - + - + sfix16_En4 @@ -714,11 +730,11 @@ - + - + [id_min] @@ -736,11 +752,11 @@ - + - + sfix16_En4 @@ -752,77 +768,44 @@ - - - + + + - - + + - - + + - - [id_TgtAbs] + + 0 - - + + - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - + + + - - + + - - Action Port + + sfix32_En20 @@ -843,11 +826,11 @@ - + - + [id_max] @@ -865,218 +848,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - id_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - Vd_min - - - - - - - - - - - - - - + sfix16_En4 @@ -1098,11 +874,11 @@ - + - + [id] @@ -1120,11 +896,11 @@ - + - + sfix16_En4 @@ -1134,6 +910,198 @@ + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + id_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + Vd_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + @@ -1146,11 +1114,11 @@ - + - + 3 @@ -1168,11 +1136,11 @@ - + - + Vd_max @@ -1183,11 +1151,11 @@ - + - + sfix16_En4 @@ -1197,6 +1165,54 @@ + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + @@ -1209,11 +1225,11 @@ - + - + cf_idKi @@ -1231,11 +1247,11 @@ - + - + ufix16_En16 @@ -1247,107 +1263,217 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y + + if { } - - + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + id_TgtAbs - + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + id_max + + + + + + + + + + + + + + sfix16_En4 @@ -1369,11 +1495,11 @@ - + - + 2 @@ -1391,11 +1517,11 @@ - + - + id @@ -1406,137 +1532,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - id_TgtAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - id_min - - - - - - - - - - - - - - + sfix16_En4 @@ -1828,5 +1828,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.json index 1368e47..c9b10d0 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.json @@ -1,4 +1,84 @@ [ + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2790", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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":"BLDCmotor_FOC_R2017b_fixdt:12607:2788", "className":"Simulink.Sum", @@ -126,53 +206,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2787", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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":"BLDCmotor_FOC_R2017b_fixdt:12607:2909", "className":"Simulink.Inport", @@ -308,73 +341,40 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2790", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2787", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"y", - "label":"y", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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" + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "1", - "Port number", "[]", "[]", - "Inherit: auto", + "fixdt(1,16,4)", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "Real World Value (RWV)", + "Floor", "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "-1" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 7 ] }, "viewer":{ @@ -383,7 +383,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"DataTypeConversion", "masktype":"" } }, diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.svg index 97c5a85..eaa6398 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.svg @@ -10,6 +10,54 @@ + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + @@ -22,36 +70,36 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -69,11 +117,11 @@ - + - + sfix32_En20 @@ -87,7 +135,7 @@ - + @@ -95,35 +143,35 @@ - + - + x0 - + - + u - + - + Z - + - + -1 @@ -141,11 +189,137 @@ - + - + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + init + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + + + + + + + sfix32_En20 @@ -167,19 +341,19 @@ - + - + - + - + @@ -205,11 +379,11 @@ - + - + sfix16_En4 @@ -219,180 +393,6 @@ - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - init - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - - @@ -485,5 +485,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.json index 79c9a3d..870ce62 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.json @@ -205,50 +205,38 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2849", - "className":"Simulink.Switch", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2704", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", + "name":"LowerRelop1", + "label":"LowerRelop1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "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", + "Nearest", "-1", - "0", "on" ], "tabs":[ "Main", - "Signal Attributes", + "Data Type", "-Other" ], "tabs_idx":[ 0, 1, - 9 + 4 ] }, "viewer":{ @@ -257,7 +245,74 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2700", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"u", + "label":"u", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", + "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":"" } }, @@ -342,38 +397,50 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2704", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2849", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"LowerRelop1", - "label":"LowerRelop1", + "name":"Switch3", + "label":"Switch3", "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", "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", - "Nearest", "-1", + "0", "on" ], "tabs":[ "Main", - "Data Type", + "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 1, - 4 + 9 ] }, "viewer":{ @@ -382,7 +449,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"RelationalOperator", + "blocktype":"Switch", "masktype":"" } }, @@ -453,73 +520,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2700", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"u", - "label":"u", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", - "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2791:2848", "className":"Simulink.Switch", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.svg similarity index 93% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.svg index 1fdca20..f8f874e 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2791_d.svg @@ -111,7 +111,7 @@ - + @@ -186,251 +186,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - hitMax - - - - - - - - - + @@ -438,19 +198,19 @@ - + - + - + - + @@ -476,11 +236,11 @@ - + - + LowerRelop1 @@ -491,11 +251,11 @@ - + - + boolean @@ -505,69 +265,6 @@ - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - lo - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -580,11 +277,11 @@ - + - + 2 @@ -602,11 +299,11 @@ - + - + u @@ -617,11 +314,314 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + hitMax + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + lo + + + + + + + + + + + + + + sfix16_En4 @@ -635,7 +635,7 @@ - + @@ -1081,10 +1081,10 @@ - + - + @@ -1106,5 +1106,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.json index e282f0d..2f76661 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.json @@ -244,6 +244,84 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2837", + "className":"Simulink.Signum", + "icon":"WebViewIcon3", + "name":"SignDeltaU2", + "label":"SignDeltaU2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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":"BLDCmotor_FOC_R2017b_fixdt:12607:2836", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"DataTypeConv3", + "label":"DataTypeConv3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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":"BLDCmotor_FOC_R2017b_fixdt:12607:2841", "className":"Simulink.RelationalOperator", @@ -403,84 +481,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2837", - "className":"Simulink.Signum", - "icon":"WebViewIcon3", - "name":"SignDeltaU2", - "label":"SignDeltaU2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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":"BLDCmotor_FOC_R2017b_fixdt:12607:2836", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"DataTypeConv3", - "label":"DataTypeConv3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607: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":"BLDCmotor_FOC_R2017b_fixdt:12607:2838", "className":"Simulink.Logic", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.svg index 0d106b1..5b22ddc 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2816_d.svg @@ -265,210 +265,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - hitSat - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - + @@ -476,35 +277,35 @@ - + - + - + - + - + - + - + - + @@ -530,11 +331,11 @@ - + - + int32 @@ -556,19 +357,19 @@ - + - + - + - + @@ -594,11 +395,210 @@ - + - + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + hitSat + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int8 @@ -612,7 +612,7 @@ - + @@ -800,5 +800,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.json index 2af2577..dec8726 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.json @@ -1,63 +1,4 @@ [ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2783", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2817", "className":"Simulink.UnitDelay", @@ -108,518 +49,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2845", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2779", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Integrator", - "label":"Integrator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2846", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitSat", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2785", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"out", - "label":"out", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2832", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hitMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2794", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2778", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide5", - "label":"Divide5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2815", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant", - "label":"Constant", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clamping_circuit", - "label":"Clamping_circuit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2781", "className":"Simulink.Sum", @@ -679,6 +108,284 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2794", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2845", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2833", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon7", + "name":"Saturation_hit", + "label":"Saturation_hit", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2776", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide2", + "label":"Divide2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2795", "className":"Simulink.Goto", @@ -779,94 +486,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2833", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2814", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2733", "className":"Simulink.Inport", @@ -934,99 +553,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2791", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon7", - "name":"Saturation_hit", - "label":"Saturation_hit", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", - "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2732", "className":"Simulink.Inport", @@ -1161,6 +687,152 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2779", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Integrator", + "label":"Integrator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2815", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant", + "label":"Constant", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2771", "className":"Simulink.Inport", @@ -1229,40 +901,63 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2776", - "className":"Simulink.Product", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2785", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"out", + "label":"out", "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", "inspector":{ "params":[ - "Inputs", - "Multiplication", - "InputSameDT", + "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":[ - "**", - "Element-wise(.*)", - "off", - "[]", - "[]", - "Inherit: Inherit via internal rule", - "off", - "Simplest", - "off", "1", - "All dimensions", - "-1" + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "[]", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -1272,7 +967,7 @@ "tabs_idx":[ 0, 2, - 9 + 11 ] }, "viewer":{ @@ -1281,7 +976,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Outport", "masktype":"" } }, @@ -1419,6 +1114,307 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2783", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2816", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clamping_circuit", + "label":"Clamping_circuit", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2814", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2778", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide5", + "label":"Divide5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "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":"BLDCmotor_FOC_R2017b_fixdt:12607:2846", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12607", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hitSat", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:12607:2844", "className":"Simulink.Logic", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.png new file mode 100644 index 0000000..541e720 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.svg index 9bc57c4..9697c71 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.svg @@ -10,84 +10,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - + @@ -95,35 +23,35 @@ - + - + - + - + - + - + - + - + @@ -144,36 +72,141 @@ - - - - - - - - - - - Ini=0 - - - - - + - + boolean + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + @@ -190,11 +223,11 @@ - + - + [b_hitSat] @@ -211,11 +244,638 @@ + + + + + + + + + + + + + + + + + + [b_hitMin] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMax] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + hitMax + + + + + + + + y + + + + + + + + hitMin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitMin] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + ext_limProt + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + satMin + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + satMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + init + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + - + @@ -229,27 +889,27 @@ - + - + u - + - + init - + - + y @@ -279,11 +939,11 @@ - + - + Integrator @@ -300,11 +960,11 @@ - + - + sfix16_En4 @@ -316,50 +976,113 @@ - + - - + + - - + + - - + + - - [b_hitSat] + + 0 - - + + - - + + - - + + - - boolean + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + I + + + + + + + + + + + + + + + ufix16_En16 @@ -380,11 +1103,11 @@ - + - + 1 @@ -402,11 +1125,11 @@ - + - + out @@ -418,44 +1141,59 @@ - - - + + + - - + + - - + + - - [b_hitMax] + + 2 - - + + + + + + + + + + + + + + + + + P - - + + - - + + - - boolean + + ufix16_En12 @@ -466,85 +1204,59 @@ - - - + + + - - + + - - + + - - [b_hitMax] + + 1 - - + + - - - - - - - - - - - - - - - - - - - - - - + + + - - + + - - - - - - - - - + + err - + - - + + - - sfix16_En5 + + sfix16_En4 @@ -555,44 +1267,68 @@ - - - + + + - - + + - - + + - - 0 + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - sfix32_En20 + + sfix16_En4 @@ -619,35 +1355,35 @@ - + - + preIntegrator - + - + preSat - + - + hitSat - + - + Clamp @@ -677,11 +1413,11 @@ - + - + Clamping_circuit @@ -698,233 +1434,11 @@ - + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMin] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - ext_limProt - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hitMin] - - - - - - - - - - - - - - - - - - - - - + boolean @@ -937,6 +1451,12 @@ + + + + + + @@ -946,155 +1466,155 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + T - + - + F @@ -1112,11 +1632,11 @@ - + - + sfix32_En20 @@ -1128,620 +1648,100 @@ - - - + + + - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - satMin - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - hitMax - - - - - - - - y - - - - - - - - hitMin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - satMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - init - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - I - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - + - - + + - - + + - - + + - - + + - + - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - P - - - - - - - - - - - - - - - ufix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - err - - - - - - + - - + + - - sfix16_En4 + + sfix16_En5 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hitSat] + + + + + + + + + + + + + + + + + + + + + + boolean @@ -1754,7 +1754,7 @@ - + @@ -2198,5 +2198,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.svg index 3ce2262..76afb00 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12608_d.svg @@ -63,7 +63,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -334,7 +334,7 @@ - + @@ -526,7 +526,7 @@ - + @@ -605,7 +605,7 @@ - + @@ -654,7 +654,7 @@ - + @@ -1009,7 +1009,7 @@ - + @@ -1018,7 +1018,7 @@ - + @@ -1103,10 +1103,10 @@ - + - + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.json index 2cec932..5ae93c4 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.json @@ -1,226 +1,4 @@ [ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12639", - "className":"Simulink.Signum", - "icon":"WebViewIcon3", - "name":"SignDeltaU2", - "label":"SignDeltaU2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "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":"BLDCmotor_FOC_R2017b_fixdt:12638", - "className":"Saturation Dynamic", - "icon":"WebViewIcon3", - "name":"Saturation Dynamic1", - "label":"Saturation Dynamic1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "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":"BLDCmotor_FOC_R2017b_fixdt:12634", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12637", - "className":"Simulink.MinMax", - "icon":"WebViewIcon3", - "name":"MinMax", - "label":"MinMax", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "inspector":{ - "params":[ - "OutDataTypeStr", - "Function", - "InputSameDT", - "Inputs", - "LockScale", - "OutMax", - "OutMin", - "RndMeth", - "SampleTime", - "SaturateOnIntegerOverflow", - "ZeroCross" - ], - "values":[ - "Inherit: Inherit via internal rule", - "min", - "off", - "3", - "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":"BLDCmotor_FOC_R2017b_fixdt:12633", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "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":"BLDCmotor_FOC_R2017b_fixdt:12632", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "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":"BLDCmotor_FOC_R2017b_fixdt:12641", "className":"Simulink.Outport", @@ -302,20 +80,61 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12630", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12638", + "className":"Saturation Dynamic", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"Saturation Dynamic1", + "label":"Saturation Dynamic1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "DoSatur" ], "values":[ - "r_inpTgtScaAbs", - "Tag" + "[]", + "[]", + "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":"BLDCmotor_FOC_R2017b_fixdt:12640", + "className":"Simulink.SignalConversion", + "icon":"WebViewIcon3", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "inspector":{ + "params":[ + "ConversionOutput", + "OutDataTypeStr", + "OverrideOpt" + ], + "values":[ + "Signal copy", + "Inherit: auto", + "off" ], "tabs":[ "Parameter Attributes" @@ -328,30 +147,52 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"SignalConversion", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12629", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12637", + "className":"Simulink.MinMax", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"MinMax", + "label":"MinMax", "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "OutDataTypeStr", + "Function", + "InputSameDT", + "Inputs", + "LockScale", + "OutMax", + "OutMin", + "RndMeth", + "SampleTime", + "SaturateOnIntegerOverflow", + "ZeroCross" ], "values":[ - "r_inpTgtSca", - "Tag" + "Inherit: Inherit via internal rule", + "min", + "off", + "3", + "off", + "[]", + "[]", + "Floor", + "-1", + "off", + "on" ], "tabs":[ - "Parameter Attributes" + "Signal Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 1 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -359,102 +200,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12627", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "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":"BLDCmotor_FOC_R2017b_fixdt:12635", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12625", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", + "blocktype":"MinMax", "masktype":"" } }, @@ -491,6 +237,134 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12634", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12632", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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":"BLDCmotor_FOC_R2017b_fixdt:12639", + "className":"Simulink.Signum", + "icon":"WebViewIcon3", + "name":"SignDeltaU2", + "label":"SignDeltaU2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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":"BLDCmotor_FOC_R2017b_fixdt:12629", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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":"BLDCmotor_FOC_R2017b_fixdt:12628", "className":"Simulink.From", @@ -522,6 +396,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12631", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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":"BLDCmotor_FOC_R2017b_fixdt:12624", "className":"Simulink.Product", @@ -580,109 +487,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12620", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "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":"BLDCmotor_FOC_R2017b_fixdt:12623", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "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":"BLDCmotor_FOC_R2017b_fixdt:12626", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12630", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", + "name":"From6", + "label":"From6", "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ @@ -690,7 +499,7 @@ "IconDisplay" ], "values":[ - "Vq_max", + "r_inpTgtScaAbs", "Tag" ], "tabs":[ @@ -709,61 +518,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12619", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12625", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Vq_max", - "label":"Vq_max", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "GotoTag", + "IconDisplay" ], "values":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" + "r_iqLimProtMax", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -771,16 +544,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12618", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12621", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_inpTgtScaAbs", - "label":"r_inpTgtScaAbs", + "name":"r_iqLimProtMax", + "label":"r_iqLimProtMax", "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ @@ -803,7 +576,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "5", "Port number", "[]", "[]", @@ -909,6 +682,299 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12633", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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":"BLDCmotor_FOC_R2017b_fixdt:12635", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto31", + "label":"Goto31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12626", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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":"BLDCmotor_FOC_R2017b_fixdt:12618", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaAbs", + "label":"r_inpTgtScaAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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":"BLDCmotor_FOC_R2017b_fixdt:12619", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"Vq_max", + "label":"Vq_max", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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":"BLDCmotor_FOC_R2017b_fixdt:12627", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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":"BLDCmotor_FOC_R2017b_fixdt:12623", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", + "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":"BLDCmotor_FOC_R2017b_fixdt:12617", "className":"Simulink.Inport", @@ -977,11 +1043,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12621", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12620", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_iqLimProtMax", - "label":"r_iqLimProtMax", + "name":"Vq_min", + "label":"Vq_min", "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", "inspector":{ "params":[ @@ -1004,7 +1070,7 @@ "OutputFunctionCall" ], "values":[ - "5", + "4", "Port number", "[]", "[]", @@ -1043,72 +1109,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12640", - "className":"Simulink.SignalConversion", - "icon":"WebViewIcon3", - "name":"Signal Conversion2", - "label":"Signal Conversion2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "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":"BLDCmotor_FOC_R2017b_fixdt:12631", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:12616", - "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":"BLDCmotor_FOC_R2017b_fixdt:12617#out:1", "className":"Simulink.Line", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.png similarity index 81% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.png index 1dd1515..d478748 100644 Binary files a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.png and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.svg similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.svg index 3ecf133..af4794a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.svg @@ -10,361 +10,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - up - - - - - - - - u - - - - - - - - lo - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - @@ -378,11 +23,11 @@ - + - + 1 @@ -400,11 +45,11 @@ - + - + Vq_Vlt @@ -416,831 +61,107 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - [r_inpTgtScaAbs] + + up + + + + + + + + u + + + + + + + + lo + + + + + + + + y - - + + - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - case: { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - Vq_max - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtScaAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - r_nLimProtMax - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - r_iqLimProtMax - - - - - - - - - - - - - - + sfix16_En4 @@ -1262,131 +183,131 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1412,11 +333,350 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1438,11 +698,11 @@ - + - + [Vq_max] @@ -1459,6 +719,746 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + r_iqLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + case: { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -1699,5 +1699,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.svg index e71a0d8..82da9f5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12638_d.svg @@ -63,7 +63,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -334,7 +334,7 @@ - + @@ -526,7 +526,7 @@ - + @@ -605,7 +605,7 @@ - + @@ -654,7 +654,7 @@ - + @@ -1009,9 +1009,6 @@ - - - @@ -1021,6 +1018,9 @@ + + + @@ -1176,5 +1176,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json index dd63a8b..d8b1c82 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.json @@ -276,11 +276,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9303", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9304", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", + "name":"a_elecAngle", + "label":"a_elecAngle", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -309,7 +309,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "5", + "6", "Port number", "[]", "[]", @@ -595,55 +595,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9298", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"z_ctrlTypSel", - "label":"z_ctrlTypSel", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "z_ctrlTypSel", - "on", - "inf", - "[]", - "[]", - "uint8", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11487", "className":"Simulink.Constant", @@ -693,132 +644,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9441", - "className":"Simulink.Terminator", - "icon":"WebViewIcon3", - "name":"Terminator", - "label":"Terminator", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - ], - "values":[ - ], - "tabs":[ - ], - "tabs_idx":[ - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Terminator", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11895", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon4", - "name":"Task_Scheduler", - "label":"Task_Scheduler", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "on", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "Stateflow.Translate.translate", - "void_void", - "off", - "off", - "off", - "", - "", - "ExplicitOnly", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10751", "className":"Simulink.Saturate", @@ -925,105 +750,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9293", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", - "name":"Model_Info", - "label":"Model_Info", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9292", "className":"Simulink.SubSystem", @@ -1150,627 +876,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10158", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11883", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto37", - "label":"Goto37", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "task3", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9279", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9289", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto28", - "label":"Goto28", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9288", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_mot", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9286", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto25", - "label":"Goto25", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:11880", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto34", - "label":"Goto34", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "task1b", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11349", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto21", - "label":"Goto21", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "a_mechAngle", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9272", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11879", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto33", - "label":"Goto33", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "task1a", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9277", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_ctrlModReq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9276", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto15", - "label":"Goto15", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaBC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9274", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "i_phaAB", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9285", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto24", - "label":"Goto24", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9271", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9241", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_mot", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9456", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9250", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11518", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From43", - "label":"From43", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_cruiseCtrlEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9301", "className":"Simulink.Outport", @@ -1852,122 +957,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9306", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"id", - "label":"id", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "8", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11019", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From40", - "label":"From40", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9278", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9282", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -1976,7 +970,7 @@ "IconDisplay" ], "values":[ - "n_motAbs", + "z_errCode", "local", "Tag" ], @@ -1995,68 +989,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12677", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9418", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9934", "className":"Simulink.Goto", @@ -2091,11 +1023,506 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10692", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9281", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hallB", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11883", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto37", + "label":"Goto37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task3", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11879", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto33", + "label":"Goto33", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task1a", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9289", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto28", + "label":"Goto28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9286", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto25", + "label":"Goto25", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9283", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_pos", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9272", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9280", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_posRaw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9277", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto16", + "label":"Goto16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlModReq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11881", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto35", + "label":"Goto35", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task2a", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9275", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto14", + "label":"Goto14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9274", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaAB", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9456", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9271", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9270", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_hallA", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9252", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From39", - "label":"From39", + "name":"From8", + "label":"From8", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -2103,7 +1530,7 @@ "IconDisplay" ], "values":[ - "n_motAbs", + "b_hallA", "Tag" ], "tabs":[ @@ -2122,11 +1549,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10356", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12677", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From38", - "label":"From38", + "name":"From7", + "label":"From7", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -2134,7 +1561,292 @@ "IconDisplay" ], "values":[ - "task3", + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9269", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgt", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9250", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9263", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From46", + "label":"From46", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11518", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From43", + "label":"From43", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9288", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto27", + "label":"Goto27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_mot", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11485", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From41", + "label":"From41", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9287", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto26", + "label":"Goto26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "DC_phaA", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11019", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From40", + "label":"From40", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10355", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task2b", "Tag" ], "tabs":[ @@ -2215,21 +1927,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11882", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9267", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto36", - "label":"Goto36", + "name":"From34", + "label":"From34", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "task2b", - "local", + "a_elecAngle", "Tag" ], "tabs":[ @@ -2243,7 +1953,38 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9266", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From33", + "label":"From33", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "DC_phaC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, @@ -2279,11 +2020,44 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9258", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11349", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "a_mechAngle", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9264", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", + "name":"From31", + "label":"From31", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -2291,7 +2065,7 @@ "IconDisplay" ], "values":[ - "z_errCode", + "DC_phaA", "Tag" ], "tabs":[ @@ -2309,6 +2083,586 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9930", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9418", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9261", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From29", + "label":"From29", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hallC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9259", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From27", + "label":"From27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_hallB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11306", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VqFinPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11305", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgt", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11304", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9935", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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":"BLDCmotor_FOC_R2017b_fixdt:11351", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_mechAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12674", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9245", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaBC", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9260", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From30", + "label":"From30", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_pos", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10161", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9262", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From45", + "label":"From45", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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":"BLDCmotor_FOC_R2017b_fixdt:10191", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "task1a", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9437", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_motStdStill", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9298", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "z_ctrlTypSel", + "on", + "inf", + "[]", + "[]", + "uint8", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9278", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10257", "className":"Simulink.From", @@ -2371,557 +2725,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11306", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9269", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgt", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9253", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11304", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9283", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_pos", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12674", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_ctrlTypSel", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11351", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_mechAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9249", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9287", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto26", - "label":"Goto26", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "DC_phaA", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9931", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9245", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaBC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9244", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "i_phaAB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9304", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "6", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9259", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From27", - "label":"From27", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hallB", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9240", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_posRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10191", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "task1a", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9198", "className":"Simulink.SubSystem", @@ -2933,22 +2736,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2960,30 +2762,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -2995,19 +2797,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3022,11 +2823,108 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9264", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8658", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F05_Field_Oriented_Control", + "label":"F05_Field_Oriented_Control", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9241", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", + "name":"From5", + "label":"From5", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -3034,7 +2932,7 @@ "IconDisplay" ], "values":[ - "DC_phaA", + "n_mot", "Tag" ], "tabs":[ @@ -3052,6 +2950,169 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11882", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto36", + "label":"Goto36", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "task2b", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8469", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F02_Diagnostics", + "label":"F02_Diagnostics", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9279", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:11303", "className":"Simulink.From", @@ -3084,44 +3145,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11881", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto35", - "label":"Goto35", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "task2a", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11302", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9720", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", + "name":"From11", + "label":"From11", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -3147,225 +3175,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9275", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto14", - "label":"Goto14", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11305", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgt", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9930", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9262", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "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":"BLDCmotor_FOC_R2017b_fixdt:10355", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "task2b", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11485", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From41", - "label":"From41", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VqFinPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9252", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hallA", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9448", "className":"Simulink.From", @@ -3397,266 +3206,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9266", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From33", - "label":"From33", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "DC_phaC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8469", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F02_Diagnostics", - "label":"F02_Diagnostics", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10161", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11488", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_cruiseCtrlEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9280", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_posRaw", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9282", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:11489", "className":"Simulink.From", @@ -3689,11 +3238,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9263", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10356", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From46", - "label":"From46", + "name":"From38", + "label":"From38", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -3701,7 +3250,7 @@ "IconDisplay" ], "values":[ - "iq", + "task3", "Tag" ], "tabs":[ @@ -3719,6 +3268,222 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9249", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11700", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion3", + "label":"Data Type Conversion3", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9441", + "className":"Simulink.Terminator", + "icon":"WebViewIcon3", + "name":"Terminator", + "label":"Terminator", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + ], + "values":[ + ], + "tabs":[ + ], + "tabs_idx":[ + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Terminator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9240", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_posRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9303", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"n_mot", + "label":"n_mot", + "parent":"BLDCmotor_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":[ + "5", + "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":"BLDCmotor_FOC_R2017b_fixdt:10065", "className":"Simulink.DataTypeConversion", @@ -3767,94 +3532,31 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9267", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From34", - "label":"From34", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9260", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From30", - "label":"From30", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_pos", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10066", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11151", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F04_Field_Weakening", - "label":"F04_Field_Weakening", + "name":"F03_Control_Mode_Manager", + "label":"F03_Control_Mode_Manager", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3866,30 +3568,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -3901,19 +3603,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3928,11 +3629,109 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9270", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11348", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"a_mechAngle", + "label":"a_mechAngle", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "10", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9931", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11880", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto34", + "label":"Goto34", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -3941,7 +3740,7 @@ "IconDisplay" ], "values":[ - "b_hallA", + "task1b", "local", "Tag" ], @@ -3961,11 +3760,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9281", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9285", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", + "name":"Goto24", + "label":"Goto24", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ @@ -3974,7 +3773,7 @@ "IconDisplay" ], "values":[ - "b_hallB", + "DC_phaB", "local", "Tag" ], @@ -4061,32 +3860,64 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11884", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11488", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9293", "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Call_Scheduler", - "label":"Call_Scheduler", + "icon":"WebViewIcon4", + "name":"Model_Info", + "label":"Model_Info", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4098,30 +3929,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -4133,19 +3964,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4160,163 +3990,49 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9935", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8210", + "className":"Simulink.DataTypeConversion", "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", + "name":"Data Type Conversion1", + "label":"Data Type Conversion1", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "ConvertRealWorld", + "RndMeth", + "SaturateOnIntegerOverflow", + "SampleTime" ], "values":[ - "z_dir", - "Tag" + "[]", + "[]", + "int16", + "off", + "Real World Value (RWV)", + "Floor", + "off", + "-1" ], "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9720", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8658", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F05_Field_Oriented_Control", - "label":"F05_Field_Oriented_Control", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 5, - 6 + 7 ] }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"DataTypeConversion", "masktype":"" } }, @@ -4388,146 +4104,31 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8210", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion1", - "label":"Data Type Conversion1", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8205", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_hallB", - "label":"b_hallB", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8220", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10066", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"F01_Estimations", - "label":"F01_Estimations", + "name":"F04_Field_Weakening", + "label":"F04_Field_Weakening", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", "inspector":{ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4539,30 +4140,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", - "on", + "off", "", + "off", "", - "All", "off", "off", "", @@ -4574,19 +4175,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4600,251 +4200,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11700", - "className":"Simulink.DataTypeConversion", - "icon":"WebViewIcon3", - "name":"Data Type Conversion3", - "label":"Data Type Conversion3", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9437", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_motStdStill", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8203", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgt", - "label":"r_inpTgt", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9261", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_hallC", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11348", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"a_mechAngle", - "label":"a_mechAngle", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "10", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8206", "className":"Simulink.Inport", @@ -4912,306 +4267,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11151", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F03_Control_Mode_Manager", - "label":"F03_Control_Mode_Manager", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8204", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_hallA ", - "label":"b_hallA ", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8202", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlModReq", - "label":"z_ctrlModReq", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" - ], - "values":[ - "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8201", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_motEna", - "label":"b_motEna", - "parent":"BLDCmotor_FOC_R2017b_fixdt:29", - "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":"BLDCmotor_FOC_R2017b_fixdt:8208", "className":"Simulink.Inport", @@ -5279,6 +4334,933 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9244", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "i_phaAB", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11302", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9276", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto15", + "label":"Goto15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "i_phaBC", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11884", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Call_Scheduler", + "label":"Call_Scheduler", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8205", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_hallB", + "label":"b_hallB", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10158", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8204", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_hallA ", + "label":"b_hallA ", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "4", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9253", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From22", + "label":"From22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8203", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgt", + "label":"r_inpTgt", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10692", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From39", + "label":"From39", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9258", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From28", + "label":"From28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_errCode", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8202", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlModReq", + "label":"z_ctrlModReq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8220", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F01_Estimations", + "label":"F01_Estimations", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "on", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" + ], + "tabs":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11895", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon5", + "name":"Task_Scheduler", + "label":"Task_Scheduler", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "ShowPortLabels", + "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", + "TreatAsAtomicUnit", + "TreatAsGroupedWhenPropagatingVariantConditions", + "ActiveVariant", + "ActiveVariantBlock", + "AllowZeroVariantControls", + "BlockChoice", + "FunctionInterfaceSpec", + "FunctionWithSeparateData", + "GeneratePreprocessorConditionals", + "IsSubsystemVirtual", + "MemberBlocks", + "MinAlgLoopOccurrences", + "OverrideUsingVariant", + "PropExecContextOutsideSubsystem", + "PropagateVariantConditions", + "RTWFcnName", + "RTWFcnNameOpts", + "RTWFileName", + "RTWFileNameOpts", + "RTWMemSecDataConstants", + "RTWMemSecDataInternal", + "RTWMemSecDataParameters", + "RTWMemSecFuncExecute", + "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", + "TemplateBlock", + "Variant", + "VariantControl" + ], + "values":[ + "FromPortIcon", + "ReadWrite", + "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":[ + "Main", + "-Other" + ], + "tabs_idx":[ + 0, + 6 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ContainerHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"SubSystem", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8201", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "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":"BLDCmotor_FOC_R2017b_fixdt:9306", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"id", + "label":"id", + "parent":"BLDCmotor_FOC_R2017b_fixdt:29", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "8", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9268#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.png new file mode 100644 index 0000000..e07baf8 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg index e3809ee..8835c01 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_d.svg @@ -544,11 +544,11 @@ - - + + - + @@ -558,30 +558,30 @@ - - 5 + + 6 - + - - + + - + - - n_mot + + a_elecAngle @@ -734,69 +734,6 @@ - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - - - - - - - - uint8 - - - - - - - - @@ -809,11 +746,11 @@ - + - + b_cruiseCtrlEna @@ -831,11 +768,11 @@ - + - + b_cruiseCtrlEna @@ -846,11 +783,11 @@ - + - + boolean @@ -860,201 +797,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - call1 - - - - - - - - call2 - - - - - - - - call3 - - - - - - - - task1a() - - - - - - - - task1b() - - - - - - - - task2a() - - - - - - - - task2b() - - - - - - - - task3() - - - - - - - - - - - - - - - - - - - - - Task_Scheduler - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1062,35 +809,35 @@ - + - + - + - + - + - + - + - + @@ -1116,11 +863,11 @@ - + - + sfix16_En4 @@ -1134,7 +881,7 @@ - + @@ -1142,35 +889,35 @@ - + - + - + - + - + - + - + - + @@ -1196,11 +943,11 @@ - + - + sfix16_En4 @@ -1210,108 +957,6 @@ - - - - - - - - - - - - - - - MODEL INFO - - - - - - - - Version: 1.1296 - - - - - - - - Author: Emanuel Feru - - - - - - - - Last modified by: eferu - - - - - - - - Last update: 20-okt-2020 17:29:21 - - - - - - - - Copyright © 2019-2021 Emanuel FERU - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1331,11 +976,11 @@ - + - + Implemented_control_methods @@ -1371,11 +1016,11 @@ - + - + [b_hallC] @@ -1394,28 +1039,142 @@ - - - + + + - - + + - - + + - - [r_fieldWeak] + + 3 - + + + + + + + + + + + + + + + + + DC_phaC + + + + + + + + + + + + + + + + + + + + + + + + + + [z_errCode] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hallB] + + + + + + @@ -1437,11 +1196,11 @@ - + - + [task3] @@ -1458,237 +1217,6 @@ - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [DC_phaC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [task1b] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_mechAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - @@ -1701,11 +1229,11 @@ - + - + [task1a] @@ -1722,6 +1250,171 @@ + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [DC_phaC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posRaw] + + + + + + + + + + + + + + + @@ -1734,11 +1427,11 @@ - + - + [z_ctrlModReq] @@ -1757,28 +1450,61 @@ - - + + - + - + - - [i_phaBC] + + [task2a] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + @@ -1800,11 +1526,11 @@ - + - + [i_phaAB] @@ -1823,28 +1549,28 @@ - - + + - + - + - - [DC_phaB] + + [VqFinPrev] - + @@ -1866,11 +1592,11 @@ - + - + [iq] @@ -1889,44 +1615,29 @@ - - - + + + - - + + - - + + - - [n_mot] + + [b_hallA] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -1937,28 +1648,124 @@ - - - + + + - - + + - - + + - - [VqFinPrev] + + [b_hallA] - + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + @@ -1980,11 +1787,11 @@ - + - + [z_ctrlTypSel] @@ -2002,11 +1809,11 @@ - + - + uint8 @@ -2016,6 +1823,54 @@ + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -2028,11 +1883,11 @@ - + - + [b_cruiseCtrlEna] @@ -2050,11 +1905,11 @@ - + - + boolean @@ -2066,44 +1921,29 @@ - - - + + + - - + + - - + + - - 3 + + [n_mot] - - - - - - - - - - - - - - - - - DC_phaC + + @@ -2114,44 +1954,77 @@ - - - + + + - - + + - - + + - - 8 + + [VqFinPrev] - - + + - - - + + + - - + + - - id + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [DC_phaA] + + + + + + + @@ -2172,11 +2045,11 @@ - + - + [b_motEna] @@ -2194,11 +2067,11 @@ - + - + boolean @@ -2210,238 +2083,28 @@ - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - + + - + - + - - [z_ctrlTypSel] + + [task2b] - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [task3] - - - - - - + @@ -2463,11 +2126,11 @@ - + - + [task2a] @@ -2496,11 +2159,11 @@ - + - + [n_mot] @@ -2518,11 +2181,11 @@ - + - + sfix16_En4 @@ -2534,29 +2197,92 @@ - - - + + + - - + + - - + + - - [task2b] + + [a_elecAngle] - - + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [DC_phaC] + + + + + + + + + + + + + + + + + + + + + + int16 @@ -2577,11 +2303,11 @@ - + - + [DC_phaB] @@ -2599,11 +2325,11 @@ - + - + int16 @@ -2615,11 +2341,620 @@ - - + + + + + + + + + + + + + + + + [a_mechAngle] + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + [DC_phaA] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hallC] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_hallB] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgt] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_mechAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + @@ -2629,29 +2964,254 @@ - - [z_errCode] + + [z_pos] - + - - + + - + - + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [task1a] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + uint8 @@ -2661,6 +3221,39 @@ + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + @@ -2673,11 +3266,11 @@ - + - + [task1b] @@ -2706,11 +3299,11 @@ - + - + [r_inpTgt] @@ -2728,11 +3321,11 @@ - + - + sfix16_En4 @@ -2742,714 +3335,6 @@ - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_mechAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [DC_phaA] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaBC] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_phaAB] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - a_elecAngle - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallB] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [task1a] - - - - - - - - - - - - - - - @@ -3457,118 +3342,118 @@ - + - + - + - + b_enaAdvCtrl - + - + z_ctrlTypSel - + - + z_pos - + - + V_phaABC_FOC - + - + Vq - + - + r_inpTgtSca - + - + a_elecAngle - + - + z_dir - + - + r_fieldWeak - + - + DC_phaA - + - + DC_phaB - + - + DC_phaC - + - + VqFinPrev @@ -3576,7 +3461,7 @@ - + @@ -3589,7 +3474,7 @@ - + @@ -3598,11 +3483,11 @@ - + - + F06_Control_Type_Management @@ -3610,20 +3495,20 @@ - + - + - - + + - + int16 @@ -3631,7 +3516,28 @@ - + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + @@ -3640,16 +3546,261 @@ - + - + int16 + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtScaAbs + + + + + + + + r_inpTgtSca + + + + + + + + task2b + + + + + + + + task3 + + + + + + + + z_ctrlTypSel + + + + + + + + b_motEna + + + + + + + + n_mot + + + + + + + + n_motAbs + + + + + + + + r_fieldWeak + + + + + + + + a_elecAngle + + + + + + + + i_phaAB + + + + + + + + i_phaBC + + + + + + + + VqFinPrev + + + + + + + + b_cruiseCtrlEna + + + + + + + + V_phaABC_FOC + + + + + + + + Vq + + + + + + + + iq + + + + + + + + id + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F05_Field_Oriented_Control + + + + @@ -3657,16 +3808,16 @@ - - + + - - + + - - int16 + + sfix16_En4 @@ -3678,15 +3829,57 @@ - + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -3698,50 +3891,278 @@ - + - + - + - + - + - - [DC_phaA] + + [n_mot] - + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [task2b] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + z_posRaw + + + + + + + + b_motStdStill + + + + + + + + VqFinPrev + + + + + + + + z_errCode + + + + + + + + b_errFlag + + + + + + + + function() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F02_Diagnostics + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + - - + + - - int16 + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + @@ -3762,11 +4183,11 @@ - + - + [z_ctrlModReq] @@ -3784,11 +4205,11 @@ - + - + uint8 @@ -3798,1507 +4219,6 @@ - - - - - - - - - - - - - - - - - - [task2a] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgt] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [task2b] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallA] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [DC_phaC] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - b_motEna - - - - - - - - z_posRaw - - - - - - - - b_motStdStill - - - - - - - - VqFinPrev - - - - - - - - z_errCode - - - - - - - - b_errFlag - - - - - - - - function() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F02_Diagnostics - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_posRaw] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCode] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - r_inpTgt - - - - - - - - n_motAbs - - - - - - - - r_fieldWeak - - - - - - - - function() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F04_Field_Weakening - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallA] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_hallB] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9 - - - - - - - - - - - - - - - - - - - - - - i_DCLink - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - call1 - - - - - - - - call2 - - - - - - - - call3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Call_Scheduler - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - @@ -5311,11 +4231,11 @@ - + - + [b_motEna] @@ -5333,11 +4253,11 @@ - + - + boolean @@ -5349,297 +4269,43 @@ - - - + + + - - - - - - - - + + - - + + - - b_enaAdvCtrl - - - - - - - - z_ctrlMod - - - - - - - - r_inpTgtScaAbs - - - - - - - - r_inpTgtSca - - - - - - - - task2b - - - - - - - - task3 - - - - - - - - z_ctrlTypSel - - - - - - - - b_motEna - - - - - - - - n_mot - - - - - - - - n_motAbs - - - - - - - - r_fieldWeak - - - - - - - - a_elecAngle - - - - - - - - i_phaAB - - - - - - - - i_phaBC - - - - - - - - VqFinPrev - - - - - - - - b_cruiseCtrlEna - - - - - - - - V_phaABC_FOC - - - - - - - - Vq - - - - - - - - iq - - - - - - - - id + + [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F05_Field_Oriented_Control + + - - - - - - - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -5651,514 +4317,125 @@ - - - - - - - - - + + + - - + + - - + + - - 7 + + [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - i_phaAB + + - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - b_hallB - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - b_hallA - - - - - - - - b_hallB - - - - - - - - b_hallC - - - - - - - - a_mechAngle - - - - - - - - z_posRaw - - - - - - - - z_pos - - - - - - - - z_dir - - - - - - - - n_mot - - - - - - - - n_motAbs - - - - - - - - a_elecAngle - - - - - - - - b_motStdStill - - - - - - - - b_enaAdvCtrl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F01_Estimations - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - + - - + + - + boolean - + + + + + + + + + + + + + + + - - - - - - - - - - - + + - - boolean + + [task3] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -6170,12 +4447,6 @@ - - - - - - @@ -6185,19 +4456,19 @@ - + - + - + - + @@ -6223,11 +4494,11 @@ - + - + int16 @@ -6239,28 +4510,563 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - [b_motStdStill] + + [z_posRaw] - + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + b_errFlag + + + + + + + + b_motEna + + + + + + + + b_cruiseCtrlEna + + + + + + + + z_ctrlTypSel + + + + + + + + z_ctrlModReq + + + + + + + + r_inpTgt + + + + + + + + VqFinPrev + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtScaAbs + + + + + + + + r_inpTgtSca + + + + + + + + function() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F03_Control_Mode_Manager + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + a_mechAngle + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [task1b] + + + + + + @@ -6270,6 +5076,1102 @@ + + + + + + + + + + + + + + + + + + [DC_phaB] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + i_DCLink + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MODEL INFO + + + + + + + + Version: 1.1297 + + + + + + + + Author: Emanuel Feru + + + + + + + + Last modified by: eferu + + + + + + + + Last update: 06-mrt-2022 10:56:38 + + + + + + + + Copyright © Emanuel Feru + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + i_phaAB + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + r_inpTgt + + + + + + + + n_motAbs + + + + + + + + r_fieldWeak + + + + + + + + function() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F04_Field_Weakening + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + b_hallC + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + i_phaBC + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaAB] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + call1 + + + + + + + + call2 + + + + + + + + call3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Call_Scheduler + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + b_hallB + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + b_hallA + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + @@ -6282,11 +6184,11 @@ - + - + 3 @@ -6304,11 +6206,11 @@ - + - + r_inpTgt @@ -6319,11 +6221,11 @@ - + - + int16 @@ -6335,106 +6237,43 @@ - - + + - + - + - - [b_hallC] + + [n_motAbs] - + - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - - - - - - - - - - - - - - - - - - - - - a_mechAngle - - - - - - + - - + + - + sfix16_En4 @@ -6446,336 +6285,43 @@ - - - + + + - - + + - - + + - - 6 + + [z_errCode] - - - - - - - - - - - - - - - - - b_hallC + + - + - - + + - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - b_errFlag - - - - - - - - b_motEna - - - - - - - - b_cruiseCtrlEna - - - - - - - - z_ctrlTypSel - - - - - - - - z_ctrlModReq - - - - - - - - r_inpTgt - - - - - - - - VqFinPrev - - - - - - - - z_ctrlMod - - - - - - - - r_inpTgtScaAbs - - - - - - - - r_inpTgtSca - - - - - - - - function() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F03_Control_Mode_Manager - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - b_hallA - - - - - - - - - - - - - - + uint8 @@ -6797,11 +6343,11 @@ - + - + 2 @@ -6819,11 +6365,11 @@ - + - + z_ctrlModReq @@ -6834,11 +6380,11 @@ - + - + uint8 @@ -6848,9 +6394,478 @@ + + + + + + + + + + + + + + + + + + + + + + + + b_hallA + + + + + + + + b_hallB + + + + + + + + b_hallC + + + + + + + + a_mechAngle + + + + + + + + z_posRaw + + + + + + + + z_pos + + + + + + + + z_dir + + + + + + + + n_mot + + + + + + + + n_motAbs + + + + + + + + a_elecAngle + + + + + + + + b_motStdStill + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F01_Estimations + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + call1 + + + + + + + + call2 + + + + + + + + call3 + + + + + + + + task1a() + + + + + + + + task1b() + + + + + + + + task2a() + + + + + + + + task2b() + + + + + + + + task3() + + + + + + + + + + + + + + + + + + + + + Task_Scheduler + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6860,11 +6875,11 @@ - + - + 1 @@ -6882,11 +6897,11 @@ - + - + b_motEna @@ -6897,11 +6912,11 @@ - + - + boolean @@ -6913,59 +6928,44 @@ - - + + - + - + - + 8 - + - - - - - - - - - - i_phaBC - - - - - - - + + - + - - int16 + + id @@ -8304,5 +8304,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.css b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.css similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.css rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.css diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.png new file mode 100644 index 0000000..f73a46e Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_29_icons.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json index b111eba..5f5717d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.json @@ -291,22 +291,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -318,30 +317,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -353,19 +352,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -673,22 +671,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -700,30 +697,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -735,19 +732,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -935,22 +931,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -962,30 +957,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -997,19 +992,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1034,22 +1028,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1061,30 +1054,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -1096,19 +1089,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1360,11 +1352,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8467", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8468", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"a_elecAngle", - "label":"a_elecAngle", + "name":"b_enaAdvCtrl", + "label":"b_enaAdvCtrl", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -1393,7 +1385,87 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "6", + "8", + "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":"BLDCmotor_FOC_R2017b_fixdt:9433", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_motStdStill", + "label":"b_motStdStill", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "7", "Port number", "[]", "[]", @@ -1599,135 +1671,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8463", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"z_posRaw", - "label":"z_posRaw", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "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":"BLDCmotor_FOC_R2017b_fixdt:11413", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"b_angleMeasEna", - "label":"b_angleMeasEna", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "b_angleMeasEna", - "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":"BLDCmotor_FOC_R2017b_fixdt:11402", "className":"Simulink.Merge", @@ -1853,6 +1796,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8461", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "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":"BLDCmotor_FOC_R2017b_fixdt:8460", "className":"Simulink.Goto", @@ -1887,11 +1863,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11353", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8458", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -1900,7 +1876,7 @@ "IconDisplay" ], "values":[ - "a_mechAngle", + "z_counterRaw", "local", "Tag" ], @@ -1953,11 +1929,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8450", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8451", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", + "name":"Goto12", + "label":"Goto12", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -1966,7 +1942,7 @@ "IconDisplay" ], "values":[ - "b_enaAdvCtrl", + "n_motAbs", "local", "Tag" ], @@ -2016,6 +1992,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8450", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8449", "className":"Simulink.Goto", @@ -2050,11 +2059,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9932", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8437", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From26", - "label":"From26", + "name":"From23", + "label":"From23", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2062,7 +2071,7 @@ "IconDisplay" ], "values":[ - "z_dir", + "b_enaAdvCtrl", "Tag" ], "tabs":[ @@ -2081,11 +2090,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8434", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8431", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", + "name":"From17", + "label":"From17", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2093,7 +2102,38 @@ "IconDisplay" ], "values":[ - "z_dir", + "z_pos", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8430", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dirPrev", "Tag" ], "tabs":[ @@ -2143,11 +2183,378 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8451", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11414", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_mechAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11357", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F01_06_Electrical_Angle_Measurement", + "label":"F01_06_Electrical_Angle_Measurement", + "parent":"BLDCmotor_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", + "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":"BLDCmotor_FOC_R2017b_fixdt:8463", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"z_posRaw", + "label":"z_posRaw", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "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":"BLDCmotor_FOC_R2017b_fixdt:8384", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"F01_05_Electrical_Angle_Estimation", + "label":"F01_05_Electrical_Angle_Estimation", + "parent":"BLDCmotor_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", + "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":"BLDCmotor_FOC_R2017b_fixdt:8435", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8427", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "a_elecAngle", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11353", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2156,7 +2563,7 @@ "IconDisplay" ], "values":[ - "n_motAbs", + "a_mechAngle", "local", "Tag" ], @@ -2176,11 +2583,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8427", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8434", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", + "name":"From20", + "label":"From20", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2188,7 +2595,87 @@ "IconDisplay" ], "values":[ - "a_elecAngle", + "z_dir", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11413", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"b_angleMeasEna", + "label":"b_angleMeasEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "b_angleMeasEna", + "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":"BLDCmotor_FOC_R2017b_fixdt:9932", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From26", + "label":"From26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_dir", "Tag" ], "tabs":[ @@ -2238,11 +2725,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11414", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8436", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", + "name":"From22", + "label":"From22", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2250,7 +2737,7 @@ "IconDisplay" ], "values":[ - "a_mechAngle", + "z_counterRaw", "Tag" ], "tabs":[ @@ -2269,11 +2756,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8461", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9431", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", + "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":"BLDCmotor_FOC_R2017b_fixdt:8457", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2282,7 +2800,7 @@ "IconDisplay" ], "values":[ - "z_dirPrev", + "z_counter", "local", "Tag" ], @@ -2302,203 +2820,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8430", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8437", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", - "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":"BLDCmotor_FOC_R2017b_fixdt:8384", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F01_05_Electrical_Angle_Estimation", - "label":"F01_05_Electrical_Angle_Estimation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8435", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9433", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8467", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", + "name":"a_elecAngle", + "label":"a_elecAngle", "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", "inspector":{ "params":[ @@ -2527,7 +2853,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "7", + "6", "Port number", "[]", "[]", @@ -2573,247 +2899,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11357", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"F01_06_Electrical_Angle_Measurement", - "label":"F01_06_Electrical_Angle_Measurement", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8468", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"b_enaAdvCtrl", - "label":"b_enaAdvCtrl", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "8", - "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":"BLDCmotor_FOC_R2017b_fixdt:8436", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counterRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8431", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:11352", "className":"Simulink.Inport", @@ -2881,103 +2966,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8458", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9431", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", - "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":"BLDCmotor_FOC_R2017b_fixdt:8457", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8220", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_counter", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8462#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.png new file mode 100644 index 0000000..6ca237c Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg index ffcdf41..ffc9586 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8220_d.svg @@ -252,7 +252,7 @@ - + @@ -771,7 +771,7 @@ - + @@ -860,15 +860,15 @@ - + - + - + int8 @@ -902,15 +902,15 @@ - + - + - + int8 @@ -1110,7 +1110,7 @@ - + @@ -1239,16 +1239,16 @@ - - + + - + - - int16 + + boolean @@ -1260,16 +1260,16 @@ - - + + - + - - boolean + + sfix16_En4 @@ -1281,15 +1281,15 @@ - + - + - + boolean @@ -1302,16 +1302,16 @@ - - + + - + - - int16 + + sfix16_En4 @@ -1323,16 +1323,16 @@ - - + + - + - - sfix16_En4 + + int16 @@ -1344,16 +1344,16 @@ - - + + - + - - sfix16_En4 + + int16 @@ -1372,7 +1372,7 @@ - + @@ -1469,16 +1469,16 @@ - - + + - + - - int8 + + uint8 @@ -1490,16 +1490,16 @@ - - + + - + - - uint8 + + int8 @@ -1789,11 +1789,11 @@ - - + + - + @@ -1803,30 +1803,78 @@ - - 6 + + 8 - + - - + + - + - - a_elecAngle + + b_enaAdvCtrl + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + b_motStdStill @@ -1847,11 +1895,11 @@ - + - + 5 @@ -1869,11 +1917,11 @@ - + - + n_motAbs @@ -1895,11 +1943,11 @@ - + - + 3 @@ -1917,11 +1965,11 @@ - + - + z_dir @@ -1931,122 +1979,11 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - z_posRaw - - - - - - - - - - - - - - - - - - - - - - - - - - b_angleMeasEna - - - - - - - - - - - - - - - - - - - - - - b_angleMeasEna - - - - - - - - - - - - - - - boolean - - - - - - - - - + @@ -2054,19 +1991,19 @@ - + - + - + - + @@ -2092,11 +2029,11 @@ - + - + sfix16_En6 @@ -2118,19 +2055,19 @@ - + - + u1 - + - + if(u1 ~= 0) @@ -2148,11 +2085,11 @@ - + - + action @@ -2174,27 +2111,27 @@ - + - + u1 - + - + if(u1 == 0) - + - + else @@ -2212,11 +2149,11 @@ - + - + action @@ -2227,11 +2164,11 @@ - + - + action @@ -2241,6 +2178,39 @@ + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + @@ -2253,11 +2223,11 @@ - + - + [z_posRaw] @@ -2276,28 +2246,28 @@ - - + + - + - + - - [a_mechAngle] + + [z_counterRaw] - + @@ -2319,11 +2289,11 @@ - + - + [b_motStdStill] @@ -2342,28 +2312,28 @@ - - + + - + - + - - [b_enaAdvCtrl] + + [n_motAbs] - + @@ -2385,11 +2355,11 @@ - + - + [z_posRaw] @@ -2407,11 +2377,11 @@ - + - + uint8 @@ -2421,6 +2391,39 @@ + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + @@ -2456,11 +2459,11 @@ - - + + - + @@ -2470,29 +2473,77 @@ - - [z_dir] + + [b_enaAdvCtrl] - + - - + + - + - + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + int8 @@ -2504,43 +2555,43 @@ - - + + - + - + - - [z_dir] + + [z_dirPrev] - + - + - - + + - + int8 @@ -2562,11 +2613,11 @@ - + - + [n_motAbs] @@ -2584,11 +2635,11 @@ - + - + sfix16_En4 @@ -2598,135 +2649,6 @@ - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - @@ -2739,11 +2661,11 @@ - + - + [a_mechAngle] @@ -2761,11 +2683,11 @@ - + - + sfix16_En4 @@ -2777,29 +2699,120 @@ - - - + + + - - + + + + + + + + - - + + - - [z_dirPrev] + + a_mechAngle + + + + + + + + a_elecAngle + + + + + + + + else { } - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + F01_06_Electrical_Angle_Measurement + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + action @@ -2810,92 +2823,50 @@ - - - + + + + + + + + + - - + + - + - - [z_dirPrev] + + 1 - - + + - - - + + + - + - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean + + z_posRaw @@ -2908,73 +2879,73 @@ - + - + - + - + - + z_pos - + - + z_dir - + - + z_counter - + - + z_counterRaw - + - + b_enaAdvCtrl - + - + a_elecAngle - + - + if { } @@ -2982,7 +2953,7 @@ - + @@ -2995,7 +2966,7 @@ - + @@ -3004,11 +2975,11 @@ - + - + F01_05_Electrical_Angle_Estimation @@ -3016,28 +2987,7 @@ - - - - - - - - - - - - - - - action - - - - - - - + @@ -3046,16 +2996,37 @@ - + - + sfix16_En6 + + + + + + + + + + + + + + + + + action + + + + @@ -3064,7 +3035,7 @@ - + @@ -3078,11 +3049,11 @@ - + - + [z_counter] @@ -3100,11 +3071,11 @@ - + - + int16 @@ -3116,167 +3087,43 @@ - - - + + + - - + + - - + + - - 7 + + [a_elecAngle] - - - - - - - - - - - - - - - - - b_motStdStill - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - a_mechAngle - - - - - - - - a_elecAngle - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F01_06_Electrical_Angle_Measurement + + - - - - - - - - - - - - - - - - action - - - - - - - - - - - - + - - + + - + sfix16_En6 @@ -3288,50 +3135,236 @@ - - - - - - - - - + + + - - + + - - + + - - 8 + + [a_mechAngle] - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + b_angleMeasEna + + + + + + + - - + + - - + + - - b_enaAdvCtrl + + b_angleMeasEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean @@ -3352,11 +3385,11 @@ - + - + [z_counterRaw] @@ -3374,11 +3407,11 @@ - + - + int16 @@ -3388,150 +3421,6 @@ - - - - - - - - - - - - - - - - - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - a_mechAngle - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - @@ -3544,11 +3433,11 @@ - + - + [b_motStdStill] @@ -3566,11 +3455,11 @@ - + - + boolean @@ -3592,11 +3481,11 @@ - + - + [z_counter] @@ -3613,6 +3502,117 @@ + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + a_mechAngle + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + @@ -4273,5 +4273,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json index 2dc4a48..29b40ce 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.json @@ -281,11 +281,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8232", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8233", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay2", - "label":"UnitDelay2", + "name":"UnitDelay3", + "label":"UnitDelay3", "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ @@ -331,11 +331,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8233", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8232", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay3", - "label":"UnitDelay3", + "name":"UnitDelay2", + "label":"UnitDelay2", "parent":"BLDCmotor_FOC_R2017b_fixdt:8225", "inspector":{ "params":[ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg index 198cd4e..507b0a3 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8225_d.svg @@ -248,101 +248,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - Ini=0 - - - - - - - - @@ -355,35 +260,35 @@ - + - + - + - + - + - + - + - + @@ -409,11 +314,11 @@ - + - + uint8 @@ -424,11 +329,106 @@ - + - + + Ini=0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + Ini=0 @@ -537,7 +537,7 @@ - + @@ -757,5 +757,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg index 784802f..18ae135 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8235_d.svg @@ -768,5 +768,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg index be635db..5f364d4 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8247_d.svg @@ -220,6 +220,21 @@ + + + + + + + + + + + boolean + + + + @@ -231,21 +246,6 @@ - - - - - - - - - - - boolean - - - - @@ -1279,5 +1279,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json index 80adb61..34f6bb9 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.json @@ -733,6 +733,86 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9430", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"b_motStdStill", + "label":"b_motStdStill", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "EnsureOutportIsVirtual", + "InitialOutput", + "MustResolveToSignalObject", + "OutputWhenDisabled", + "OutputWhenUnConnected", + "OutputWhenUnconnectedValue", + "SignalName", + "SignalObject", + "SourceOfInitialOutputValue", + "StorageClass", + "VectorParamsAs1DForOutWhenUnconnected" + ], + "values":[ + "5", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Outport", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8378", "className":"Simulink.Outport", @@ -893,6 +973,86 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8376", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"n_motAbs", + "label":"n_motAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8374", "className":"Simulink.Constant", @@ -943,11 +1103,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9429", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8373", "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"n_stdStillDet", - "label":"n_stdStillDet", + "name":"z_maxCntRst", + "label":"z_maxCntRst", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -961,7 +1121,7 @@ "FramePeriod" ], "values":[ - "n_stdStillDet", + "z_maxCntRst", "on", "inf", "[]", @@ -991,61 +1151,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8372", - "className":"Simulink.Relay", - "icon":"WebViewIcon3", - "name":"n_commDeacv", - "label":"n_commDeacv", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "OnSwitchValue", - "OffSwitchValue", - "OnOutputValue", - "OffOutputValue", - "InputProcessing", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "SampleTime", - "ZeroCross" - ], - "values":[ - "n_commDeacvHi", - "n_commAcvLo", - "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":"BLDCmotor_FOC_R2017b_fixdt:11461", "className":"Simulink.Constant", @@ -1146,108 +1251,38 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9428", - "className":"Simulink.RelationalOperator", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8372", + "className":"Simulink.Relay", "icon":"WebViewIcon3", - "name":"Relational Operator9", - "label":"Relational Operator9", + "name":"n_commDeacv", + "label":"n_commDeacv", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "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":"BLDCmotor_FOC_R2017b_fixdt:8376", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", - "parent":"BLDCmotor_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", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", + "n_commDeacvHi", + "n_commAcvLo", + "1", "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "Elements as channels (sample based)", + "[]", + "[]", + "boolean", + "off", + "-1", + "on" ], "tabs":[ "Main", @@ -1256,8 +1291,8 @@ ], "tabs_idx":[ 0, - 2, - 11 + 5, + 9 ] }, "viewer":{ @@ -1266,225 +1301,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8366", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "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":"BLDCmotor_FOC_R2017b_fixdt:9427", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "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":"BLDCmotor_FOC_R2017b_fixdt:8313", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux3", - "label":"Mux3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "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":"BLDCmotor_FOC_R2017b_fixdt:8305", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "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":"BLDCmotor_FOC_R2017b_fixdt:8308", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If2", - "label":"If2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "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":"BLDCmotor_FOC_R2017b_fixdt:8301", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_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", + "blocktype":"Relay", "masktype":"" } }, @@ -1538,561 +1355,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8299", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "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":"BLDCmotor_FOC_R2017b_fixdt:8306", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "n_mot", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9425", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8292", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8314", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Raw_Motor_Speed_Estimation", - "label":"Raw_Motor_Speed_Estimation", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8286", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From29", - "label":"From29", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8289", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_edge", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9477", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motRaw", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8283", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbsPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8281", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From18", - "label":"From18", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "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":"BLDCmotor_FOC_R2017b_fixdt:8311", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux1", - "label":"Mux1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "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":"BLDCmotor_FOC_R2017b_fixdt:8282", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "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":"BLDCmotor_FOC_R2017b_fixdt:9430", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"b_motStdStill", - "label":"b_motStdStill", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "EnsureOutportIsVirtual", - "InitialOutput", - "MustResolveToSignalObject", - "OutputWhenDisabled", - "OutputWhenUnConnected", - "OutputWhenUnconnectedValue", - "SignalName", - "SignalObject", - "SourceOfInitialOutputValue", - "StorageClass", - "VectorParamsAs1DForOutWhenUnconnected" - ], - "values":[ - "5", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "0", - "off", - "reset", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8280", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counterRawPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8369", "className":"Simulink.Switch", @@ -2151,25 +1413,39 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9426", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9428", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"Relational Operator9", + "label":"Relational Operator9", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "b_motStdStill", - "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" @@ -2177,32 +1453,44 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"RelationalOperator", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8298", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8366", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", + "name":"Relational Operator2", + "label":"Relational Operator2", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Operator", + "InputSameDT", + "OutDataTypeStr", + "RndMeth", + "SampleTime", + "ZeroCross" ], "values":[ - "n_motRaw", - "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" @@ -2210,290 +1498,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8278", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_edge", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8277", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8303", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8300", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8276", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotor_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":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8294", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "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":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8284", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From24", - "label":"From24", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "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":"BLDCmotor_FOC_R2017b_fixdt:8275", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotor_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":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8312", - "className":"Simulink.Mux", - "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "Inputs", - "DisplayOption" - ], - "values":[ - "2", - "bar" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Mux", + "blocktype":"RelationalOperator", "masktype":"" } }, @@ -2578,89 +1583,90 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8267", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_dirPrev", - "label":"z_dirPrev", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8314", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Raw_Motor_Speed_Estimation", + "label":"Raw_Motor_Speed_Estimation", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "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":[ - "3", - "Port number", - "[]", - "[]", - "Inherit: auto", + "FromPortIcon", + "ReadWrite", + "", + "All", "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", + "on", + "", + "", "off", "", - "on", + "void_void", "off", "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, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8272", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", - "name":"Counter", - "label":"Counter", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", - "inspector":{ - "params":[ - "z_cntInit" - ], - "values":[ - "z_maxCntRst" - ], - "tabs":[ - ], - "tabs_idx":[ + 6 ] }, "viewer":{ @@ -2674,19 +1680,64 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8291", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8308", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", + "name":"If2", + "label":"If2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8306", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ "GotoTag", + "TagVisibility", "IconDisplay" ], "values":[ - "z_counterRaw", + "n_mot", + "local", "Tag" ], "tabs":[ @@ -2700,7 +1751,221 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9429", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"n_stdStillDet", + "label":"n_stdStillDet", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "n_stdStillDet", + "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":"BLDCmotor_FOC_R2017b_fixdt:8303", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8301", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8300", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8299", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8305", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"" } }, @@ -2738,11 +2003,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8293", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9425", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"From9", + "label":"From9", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2750,7 +2015,536 @@ "IconDisplay" ], "values":[ - "n_motRaw", + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8294", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8292", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8285", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From28", + "label":"From28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8313", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux3", + "label":"Mux3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8289", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From31", + "label":"From31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_edge", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8284", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From24", + "label":"From24", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8312", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux2", + "label":"Mux2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8281", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From18", + "label":"From18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8311", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux1", + "label":"Mux1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8278", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_edge", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8277", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8282", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From19", + "label":"From19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8283", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbsPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8280", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counterRawPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9427", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8275", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_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":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8291", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counterRaw", "Tag" ], "tabs":[ @@ -2817,6 +2611,228 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8267", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_dirPrev", + "label":"z_dirPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:9477", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motRaw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8298", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "n_motRaw", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9426", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", + "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":"BLDCmotor_FOC_R2017b_fixdt:8286", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From29", + "label":"From29", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8272", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"Counter", + "label":"Counter", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8268", "className":"Simulink.Abs", @@ -2865,11 +2881,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8285", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8276", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", + "name":"From12", + "label":"From12", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2877,7 +2893,7 @@ "IconDisplay" ], "values":[ - "z_dirPrev", + "z_counter", "Tag" ], "tabs":[ @@ -2896,43 +2912,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8373", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8293", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"z_maxCntRst", - "label":"z_maxCntRst", + "name":"From7", + "label":"From7", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" + "GotoTag", + "IconDisplay" ], "values":[ - "z_maxCntRst", - "on", - "inf", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "off", - "inf" + "n_motRaw", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 3, - 7 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2940,16 +2938,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8309", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11462", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator1", - "label":"Logical Operator1", + "name":"Logical Operator3", + "label":"Logical Operator3", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -2961,7 +2959,7 @@ "SampleTime" ], "values":[ - "NOT", + "OR", "rectangular", "off", "boolean", @@ -2990,11 +2988,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11462", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8309", "className":"Simulink.Logic", "icon":"WebViewIcon3", - "name":"Logical Operator3", - "label":"Logical Operator3", + "name":"Logical Operator1", + "label":"Logical Operator1", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", "inspector":{ "params":[ @@ -3006,7 +3004,7 @@ "SampleTime" ], "values":[ - "OR", + "NOT", "rectangular", "off", "boolean", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.png new file mode 100644 index 0000000..f800492 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg index e2795b2..9445076 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8263_d.svg @@ -706,6 +706,54 @@ + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + b_motStdStill + + + + + + + + @@ -718,11 +766,11 @@ - + - + 4 @@ -740,11 +788,11 @@ - + - + z_counterRaw @@ -766,11 +814,11 @@ - + - + 3 @@ -788,11 +836,11 @@ - + - + z_counter @@ -802,6 +850,54 @@ + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + @@ -814,11 +910,11 @@ - + - + z_maxCntRst @@ -836,11 +932,11 @@ - + - + int16 @@ -852,63 +948,206 @@ - - + + - + - + - - n_stdStillDet + + z_maxCntRst - + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + b_angleMeasEna + + + + + + - - + + - - + + - - n_stdStillDet + + b_angleMeasEna - + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + sfix16_En4 + + + + + + + + + + + Ini=0 + + + + @@ -917,7 +1156,7 @@ - + @@ -925,51 +1164,51 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -995,11 +1234,11 @@ - + - + n_commDeacv @@ -1010,11 +1249,11 @@ - + - + boolean @@ -1024,548 +1263,11 @@ - - - - - - - - - - - - - - - - - - b_angleMeasEna - - - - - - - - - - - - - - - - - - - - - - b_angleMeasEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [dz_trnsDet] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 ~= 0) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dirPrev] - - - - - - - - - - - - - - - - + @@ -1573,35 +1275,35 @@ - + - + - + - + - + - + - + - + @@ -1627,11 +1329,11 @@ - + - + int16 @@ -1642,11 +1344,11 @@ - + - + Ini=z_maxCntRst @@ -1658,109 +1360,187 @@ - - - + + + - - + + - - + + - - [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - + + - + - - + + - + sfix16_En4 @@ -1772,44 +1552,172 @@ - - - + + + - - + + - + - - + + - - [n_motAbs] + + + + + + + + + + + + + + + + + + - - + + - - + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - sfix16_En4 + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl @@ -1822,7 +1730,7 @@ - + @@ -1836,67 +1744,67 @@ - + - + z_dir - + - + z_dirPrev - + - + z_counterRawPrev - + - + n_motAbsPrev - + - + z_counter - + - + dz_trnsDet - + - + n_motRaw - + - + if { } @@ -1926,11 +1834,11 @@ - + - + Raw_Motor_Speed_Estimation @@ -1943,16 +1851,16 @@ - - + + - - + + - - sfix16_En4 + + boolean @@ -1964,16 +1872,16 @@ - - + + - - + + - - action + + int16 @@ -1985,16 +1893,16 @@ - - + + - - + + - - boolean + + action @@ -2006,16 +1914,16 @@ - - + + - - + + - - int16 + + sfix16_En4 @@ -2026,146 +1934,58 @@ - + - - + + - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - + + - + - - [b_edge] - - - - - - - - - - - - - - + + u1 - + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motRaw] + + if(u1 ~= 0) - - + + - - + + - - + + - - sfix16_En4 + + action @@ -2176,556 +1996,28 @@ - - - - - - - - - - - - - - - - [n_motAbsPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - b_motStdStill - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRawPrev] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - + + - + - + - - [n_motRaw] + + [n_mot] - + @@ -2737,92 +2029,59 @@ - - - + + + - - + + - - + + - - [b_edge] + + n_stdStillDet - - + + + + + + + + + + + + + + + + + n_stdStillDet - - + + - - + + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - int16 + + sfix16_En4 @@ -2843,11 +2102,11 @@ - + - + [n_motAbsPrev] @@ -2864,6 +2123,39 @@ + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + @@ -2876,11 +2168,11 @@ - + - + [b_enaAdvCtrl] @@ -2899,44 +2191,143 @@ - - - + + + - - + + - - + + - + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [dz_trnsDet] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + - - + + - - + + - - int16 + + sfix16_En4 @@ -2957,11 +2348,11 @@ - + - + [dz_trnsDet] @@ -2979,11 +2370,203 @@ - + - + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_edge] + + + + + + + + + + + + + + + + + + + + + boolean @@ -3005,11 +2588,11 @@ - + - + [b_enaAdvCtrl] @@ -3027,11 +2610,11 @@ - + - + boolean @@ -3041,6 +2624,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_edge] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRaw] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbsPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRawPrev] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + @@ -3091,44 +3091,44 @@ - - - + + + - - + + - + - - + + [z_counterRaw] - - + + - - + + - + - - sfix16_En4 + + int16 @@ -3139,44 +3139,44 @@ - - - + + + - - + + - + - - 6 + + 0 - - + + - - - + + + - + - - b_enaAdvCtrl + + sfix16_En4 @@ -3248,11 +3248,188 @@ + + + + + + + + + + + + + + + + + + [n_motRaw] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motRaw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + - + @@ -3260,132 +3437,44 @@ - + - + inc - + - + max - + - + rst - + - + cnt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -3393,7 +3482,7 @@ - + @@ -3401,7 +3490,7 @@ - + @@ -3409,6 +3498,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3426,11 +3603,11 @@ - + - + Counter @@ -3441,11 +3618,11 @@ - + - + Ini=z_maxCntRst @@ -3453,29 +3630,29 @@ - + - + - + - + - + - + @@ -3488,11 +3665,11 @@ - + - + int16 @@ -3502,188 +3679,11 @@ - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motRaw] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - + @@ -3761,44 +3761,44 @@ - - + + - + - + - - [z_dirPrev] + + [z_counter] - + - - + + - + - - int8 + + int16 @@ -3809,44 +3809,108 @@ - - - + + + - - + + - + - - z_maxCntRst + + [n_motRaw] - - + + - - + + - + - - int16 + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean @@ -3867,19 +3931,19 @@ - + - + - + - + @@ -3905,11 +3969,11 @@ - + - + boolean @@ -3919,70 +3983,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - @@ -4017,21 +4017,6 @@ - - - - - - - - - - - boolean - - - - @@ -4043,6 +4028,21 @@ + + + + + + + + + + + boolean + + + + @@ -4809,5 +4809,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.svg index ba13ae8..ff3b2de 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.svg @@ -15,7 +15,7 @@ - + @@ -592,5 +592,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json index 7c5ddff..6e5b3ef 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json @@ -80,61 +80,31 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2416", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon4", + "name":"rst_Delay", + "label":"rst_Delay", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ - "IconShape", - "Inputs", - "InputSameDT", - "AccumDataTypeStr", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" + "initVal" ], "values":[ - "round", - "|++", - "on", - "Inherit: Same as first input", - "[]", - "[]", - "Inherit: Same as first input", - "off", - "Simplest", - "off", - "1", - "All dimensions", - "-1" + "z_cntInit" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" ], "tabs_idx":[ - 0, - 2, - 10 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", + "blocktype":"SubSystem", "masktype":"" } }, @@ -191,73 +161,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2413", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"max", - "label":"max", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", - "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":"BLDCmotor_FOC_R2017b_fixdt:8272:2414", "className":"Simulink.Inport", @@ -326,31 +229,69 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", - "name":"rst_Delay", - "label":"rst_Delay", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2413", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"max", + "label":"max", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", "inspector":{ "params":[ - "initVal" + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" ], "values":[ - "z_cntInit" + "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/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Inport", "masktype":"" } }, @@ -421,6 +362,65 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2416", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum1", + "label":"Sum1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", + "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":"BLDCmotor_FOC_R2017b_fixdt:8272:2515#out:1", "className":"Simulink.Line", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg index 1496572..0e60167 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg @@ -61,72 +61,135 @@ - - - + + + - - + + - + - - + + u - + - - + + rst - + - - + + y - + - - + + 1 + + + + + + + + z + + + + + + + + - - + + - - + + - - + + - + int16 + + + + + + + + + + + Ini=z_cntInit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -135,7 +198,7 @@ - + @@ -143,19 +206,19 @@ - + - + - + - + @@ -181,74 +244,11 @@ - + - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - max - - - - - - - - - - - - - - + int16 @@ -270,11 +270,11 @@ - + - + 3 @@ -292,11 +292,11 @@ - + - + rst @@ -307,11 +307,11 @@ - + - + boolean @@ -323,135 +323,63 @@ - - - + + + - - + + - - - - - - - u - - - - - - - - rst - - - - - - - - y - - - - - - - - 1 - - + - - z - - - - - - - - + + 2 - - + + - - - + + + - - + + - - Ini=z_cntInit + + max - - + + - - + + - + int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -468,11 +396,11 @@ - + - + 1 @@ -490,11 +418,11 @@ - + - + inc @@ -505,11 +433,83 @@ - + - + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 @@ -625,5 +625,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json index 4952f8f..fa6f4d7 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.json @@ -244,86 +244,6 @@ "finder":[ ] }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8360", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"n_motRaw", - "label":"n_motRaw", - "parent":"BLDCmotor_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" - ], - "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":"BLDCmotor_FOC_R2017b_fixdt:8358", "className":"Simulink.Outport", @@ -404,1031 +324,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8354", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay5", - "label":"UnitDelay5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8355", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"cf_speedCoef", - "label":"cf_speedCoef", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Value", - "VectorParams1D", - "SampleTime", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "FramePeriod" - ], - "values":[ - "cf_speedCoef", - "on", - "inf", - "[]", - "[]", - "fixdt(0,16,0)", - "off", - "inf" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3, - 7 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Constant", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8353", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay4", - "label":"UnitDelay4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8351", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay2", - "label":"UnitDelay2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8359", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"dz_trnsDet", - "label":"dz_trnsDet", - "parent":"BLDCmotor_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" - ], - "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":"BLDCmotor_FOC_R2017b_fixdt:8349", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch3", - "label":"Switch3", - "parent":"BLDCmotor_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", - "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":"BLDCmotor_FOC_R2017b_fixdt:8346", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum7", - "label":"Sum7", - "parent":"BLDCmotor_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" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8345", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum13", - "label":"Sum13", - "parent":"BLDCmotor_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" - ], - "tabs_idx":[ - 0, - 2, - 10 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8341", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8340", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_counterRawPrev", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8339", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8337", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_counter", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8347", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch1", - "label":"Switch1", - "parent":"BLDCmotor_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", - "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":"BLDCmotor_FOC_R2017b_fixdt:8336", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8344", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator4", - "label":"Relational Operator4", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8334", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotor_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":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8333", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "n_motAbsPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8332", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8357", - "className":"Simulink.Gain", - "icon":"WebViewIcon3", - "name":"g_Ha", - "label":"g_Ha", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Gain", - "Multiplication", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "ParamMin", - "ParamMax", - "ParamDataTypeStr", - "SampleTime" - ], - "values":[ - "4", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Inherit via back propagation", - "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":"BLDCmotor_FOC_R2017b_fixdt:8331", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "cf_speedCoef", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8328", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8338", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8324", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide14", - "label":"Divide14", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "*/", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,4)", - "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":"BLDCmotor_FOC_R2017b_fixdt:8356", "className":"Simulink.Relay", @@ -1485,506 +380,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8323", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide13", - "label":"Divide13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "Inputs", - "Multiplication", - "InputSameDT", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "CollapseDim", - "CollapseMode", - "SampleTime" - ], - "values":[ - "*/", - "Element-wise(.*)", - "off", - "[]", - "[]", - "fixdt(1,16,4)", - "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":"BLDCmotor_FOC_R2017b_fixdt:8321", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"Constant4", - "label":"Constant4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8319", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8326", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_counterRawPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8330", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8327", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8318", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_motAbsPrev", - "label":"n_motAbsPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8325", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "cf_speedCoef", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8317", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_counterRawPrev", - "label":"z_counterRawPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8342", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8316", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_dirPrev", - "label":"z_dirPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8352", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8354", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay3", - "label":"UnitDelay3", + "name":"UnitDelay5", + "label":"UnitDelay5", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -2030,213 +430,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8322", - "className":"Simulink.Product", - "icon":"WebViewIcon3", - "name":"Divide11", - "label":"Divide11", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8335", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8320", - "className":"Simulink.Abs", - "icon":"WebViewIcon3", - "name":"Abs2", - "label":"Abs2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8315", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_dir", - "label":"z_dir", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", - "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":"BLDCmotor_FOC_R2017b_fixdt:8350", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8353", "className":"Simulink.UnitDelay", "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", + "name":"UnitDelay4", + "label":"UnitDelay4", "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", "inspector":{ "params":[ @@ -2338,6 +536,576 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8347", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch1", + "label":"Switch1", + "parent":"BLDCmotor_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", + "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":"BLDCmotor_FOC_R2017b_fixdt:8357", + "className":"Simulink.Gain", + "icon":"WebViewIcon3", + "name":"g_Ha", + "label":"g_Ha", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" + ], + "values":[ + "4", + "Element-wise(K.*u)", + "[]", + "[]", + "Inherit: Inherit via back propagation", + "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":"BLDCmotor_FOC_R2017b_fixdt:8345", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum13", + "label":"Sum13", + "parent":"BLDCmotor_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" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8342", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8341", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8340", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_counterRawPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8346", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum7", + "label":"Sum7", + "parent":"BLDCmotor_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" + ], + "tabs_idx":[ + 0, + 2, + 10 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8339", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8359", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"dz_trnsDet", + "label":"dz_trnsDet", + "parent":"BLDCmotor_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" + ], + "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":"BLDCmotor_FOC_R2017b_fixdt:8335", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8333", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "n_motAbsPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8332", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8331", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "cf_speedCoef", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8329", "className":"Simulink.From", @@ -2369,6 +1137,1238 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8328", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8350", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay1", + "label":"UnitDelay1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8349", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch3", + "label":"Switch3", + "parent":"BLDCmotor_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", + "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":"BLDCmotor_FOC_R2017b_fixdt:8325", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "cf_speedCoef", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8337", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_counter", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8324", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide14", + "label":"Divide14", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "*/", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(1,16,4)", + "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":"BLDCmotor_FOC_R2017b_fixdt:8323", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide13", + "label":"Divide13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" + ], + "values":[ + "*/", + "Element-wise(.*)", + "off", + "[]", + "[]", + "fixdt(1,16,4)", + "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":"BLDCmotor_FOC_R2017b_fixdt:8352", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay3", + "label":"UnitDelay3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8360", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"n_motRaw", + "label":"n_motRaw", + "parent":"BLDCmotor_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" + ], + "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":"BLDCmotor_FOC_R2017b_fixdt:8327", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8322", + "className":"Simulink.Product", + "icon":"WebViewIcon3", + "name":"Divide11", + "label":"Divide11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8321", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"Constant4", + "label":"Constant4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8355", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"cf_speedCoef", + "label":"cf_speedCoef", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "Value", + "VectorParams1D", + "SampleTime", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "FramePeriod" + ], + "values":[ + "cf_speedCoef", + "on", + "inf", + "[]", + "[]", + "fixdt(0,16,0)", + "off", + "inf" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3, + 7 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Constant", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8334", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_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":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8336", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8320", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs2", + "label":"Abs2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8351", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay2", + "label":"UnitDelay2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8330", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8338", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8316", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_dirPrev", + "label":"z_dirPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8315", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_dir", + "label":"z_dir", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8344", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator4", + "label":"Relational Operator4", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8326", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_counterRawPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8317", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_counterRawPrev", + "label":"z_counterRawPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8318", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_motAbsPrev", + "label":"n_motAbsPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8319", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8314", + "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":"BLDCmotor_FOC_R2017b_fixdt:8343", "className":"Simulink.Logic", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg similarity index 92% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg index 14ffec6..c0d00fa 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8314_d.svg @@ -218,54 +218,6 @@ - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - n_motRaw - - - - - - - - @@ -278,11 +230,11 @@ - + - + 1 @@ -300,11 +252,11 @@ - + - + z_counter @@ -314,6 +266,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dz_cntTrnsDet + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -326,35 +389,35 @@ - + - + - + - + - + - + - + - + @@ -375,95 +438,32 @@ - - - - - - - - - - - int16 - - - - - + - + Ini=0 - - - - - - - - - - - - - - - - - - - - - - cf_speedCoef - - - - - - - - - - - - - - - - - - - - - - cf_speedCoef - - - - - - + + - - + + - - uint16 + + int16 @@ -476,7 +476,7 @@ - + @@ -484,35 +484,35 @@ - + - + - + - + - + - + - + - + @@ -533,126 +533,31 @@ - - - - - - - - - - - int16 - - - - - + - - Ini=0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Ini=0 - + - - + + - + int16 @@ -664,250 +569,202 @@ - - - + + + - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - dz_trnsDet - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + T - + - + F - + - + - - + + - + sfix16_En4 - + - - + + - + threshold=0 Criteria : u2 ~= 0 @@ -920,60 +777,252 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F - - + + + + + + + + + + + + + + + + + threshold=0 + Criteria : u2 ~= 0 - - + + - - + + - - int16 + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + uint16 @@ -994,67 +1043,67 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1072,11 +1121,11 @@ - + - + int16 @@ -1086,6 +1135,39 @@ + + + + + + + + + + + + + + + + + + [cf_speedCoef] + + + + + + + + + + + + + + + @@ -1098,11 +1180,11 @@ - + - + [dz_trnsDet] @@ -1131,11 +1213,11 @@ - + - + [z_counterRawPrev] @@ -1152,6 +1234,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + @@ -1164,11 +1310,11 @@ - + - + [n_motAbsPrev] @@ -1187,382 +1333,92 @@ - - - + + + - - + + - - + + - + + 2 + + + + + + + + + + + + + + + + + + + + + + dz_trnsDet + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - threshold=0 - Criteria : u2 ~= 0 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [dz_trnsDet] - - - - - - + - - + + - - + + - - boolean + + int16 @@ -1583,11 +1439,11 @@ - + - + [n_motAbsPrev] @@ -1605,11 +1461,11 @@ - + - + sfix16_En4 @@ -1631,11 +1487,11 @@ - + - + [z_dir] @@ -1653,11 +1509,11 @@ - + - + int8 @@ -1667,54 +1523,6 @@ - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - @@ -1727,11 +1535,11 @@ - + - + [cf_speedCoef] @@ -1749,11 +1557,11 @@ - + - + uint16 @@ -1763,6 +1571,54 @@ + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + @@ -1775,11 +1631,11 @@ - + - + [z_counter] @@ -1797,11 +1653,11 @@ - + - + int16 @@ -1811,1153 +1667,11 @@ - - - - - - - - - - - - - - - - - - [z_dirPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dz_cntTrnsDet - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRawPrev] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - n_motAbsPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [cf_speedCoef] - - - - - - - - - - - - - - - - - - - - - - uint16 - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - z_counterRawPrev - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - [cf_speedCoef] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_dirPrev - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ini=0 - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - z_dir - - - - - - - - - - - - - - - int8 - - - - - - - - - + @@ -2965,35 +1679,35 @@ - + - + - + - + - + - + - + - + @@ -3019,11 +1733,11 @@ - + - + Ini=0 @@ -3034,11 +1748,11 @@ - + - + boolean @@ -3050,187 +1764,187 @@ - - - + + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + T - + - + F - + - + - - + + - + threshold=0 Criteria : u2 ~= 0 @@ -3238,15 +1952,15 @@ - + - - + + - + sfix16_En4 @@ -3258,43 +1972,884 @@ - - + + - + - + - - [z_dirPrev] + + [cf_speedCoef] - + - + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + n_motRaw + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + cf_speedCoef + + + + + + + + + + + + + + + + + + + + + + cf_speedCoef + + + + + + + + + + + + + + + uint16 + + + + + + + + + + + + + + + + + + + + + + + + + + [dz_trnsDet] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ini=0 + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + - - + + - + int8 @@ -3304,11 +2859,456 @@ + + + + + + + + + + + + + + + + + + [z_dirPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_dirPrev + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + z_dir + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRawPrev] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + z_counterRawPrev + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + n_motAbsPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + - + @@ -4020,5 +4020,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json index aa3b806..fc6877b 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.json @@ -1080,42 +1080,40 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8417", - "className":"Simulink.Sum", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8418", + "className":"Simulink.Switch", "icon":"WebViewIcon3", - "name":"Sum3", - "label":"Sum3", + "name":"Switch2", + "label":"Switch2", "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", "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,12)", + "Inherit: Inherit via back propagation", "off", - "Simplest", + "Zero", "off", - "1", - "All dimensions", - "-1" + "off", + "-1", + "0", + "on" ], "tabs":[ "Main", @@ -1124,8 +1122,8 @@ ], "tabs_idx":[ 0, - 2, - 10 + 1, + 9 ] }, "viewer":{ @@ -1134,40 +1132,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Sum", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11415", - "className":"Simulink.SignalConversion", - "icon":"WebViewIcon3", - "name":"Signal Conversion2", - "label":"Signal Conversion2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", - "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":"Switch", "masktype":"" } }, @@ -1224,134 +1189,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8411", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "z_posHighRes", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8412", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_enaAdvCtrl", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8400", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", - "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":"BLDCmotor_FOC_R2017b_fixdt:8404", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", - "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":"BLDCmotor_FOC_R2017b_fixdt:9660", "className":"Simulink.MinMax", @@ -1405,6 +1242,136 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8412", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8411", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "z_posHighRes", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11415", + "className":"Simulink.SignalConversion", + "icon":"WebViewIcon3", + "name":"Signal Conversion2", + "label":"Signal Conversion2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "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":"BLDCmotor_FOC_R2017b_fixdt:8405", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "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":"BLDCmotor_FOC_R2017b_fixdt:8398", "className":"Simulink.From", @@ -1524,37 +1491,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8405", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", - "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":"BLDCmotor_FOC_R2017b_fixdt:8393", "className":"Simulink.Product", @@ -1612,94 +1548,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8418", - "className":"Simulink.Switch", - "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", - "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":"BLDCmotor_FOC_R2017b_fixdt:8403", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", - "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":"BLDCmotor_FOC_R2017b_fixdt:8392", "className":"Simulink.Product", @@ -1757,6 +1605,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8410", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9665", "className":"Simulink.Constant", @@ -1806,6 +1687,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11459", + "className":"Simulink.ActionPort", + "icon":"WebViewIcon3", + "name":"Action Port", + "label":"Action Port", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "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":"BLDCmotor_FOC_R2017b_fixdt:8389", "className":"Simulink.Inport", @@ -1873,70 +1785,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11459", - "className":"Simulink.ActionPort", - "icon":"WebViewIcon3", - "name":"Action Port", - "label":"Action Port", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", - "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":"BLDCmotor_FOC_R2017b_fixdt:8410", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8396", "className":"Simulink.From", @@ -1999,6 +1847,158 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8404", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "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":"BLDCmotor_FOC_R2017b_fixdt:8400", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "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":"BLDCmotor_FOC_R2017b_fixdt:8403", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "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":"BLDCmotor_FOC_R2017b_fixdt:8417", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum3", + "label":"Sum3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8384", + "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,12)", + "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":"BLDCmotor_FOC_R2017b_fixdt:8385#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.png new file mode 100644 index 0000000..344ac7e Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg index 7fbb589..e05b190 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8384_d.svg @@ -296,7 +296,7 @@ - + @@ -585,7 +585,7 @@ - + @@ -705,7 +705,7 @@ - + @@ -1240,244 +1240,188 @@ - - - + + + - - + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - + - + - - sfix16_En12 + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + T - + - - + + F - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - sfix16_En6 + + sfix16_En12 @@ -1490,7 +1434,7 @@ - + @@ -1498,19 +1442,19 @@ - + - + - + - + @@ -1536,11 +1480,11 @@ - + - + sfix16_En12 @@ -1550,173 +1494,11 @@ - - - - - - - - - - - - - - - - - - [z_posHighRes] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counterRaw] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - + @@ -1724,19 +1506,19 @@ - + - + - + - + @@ -1762,11 +1544,11 @@ - + - + int16 @@ -1776,6 +1558,296 @@ + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_posHighRes] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + @@ -1788,11 +1860,11 @@ - + - + [z_posLowRes] @@ -1810,11 +1882,11 @@ - + - + int8 @@ -1836,11 +1908,11 @@ - + - + [b_enaAdvCtrl] @@ -1858,11 +1930,11 @@ - + - + boolean @@ -1876,7 +1948,7 @@ - + @@ -1884,19 +1956,19 @@ - + - + - + - + @@ -1914,11 +1986,11 @@ - + - + sfix16_En14 @@ -1928,59 +2000,11 @@ - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - + @@ -1988,19 +2012,19 @@ - + - + - + - + @@ -2018,11 +2042,11 @@ - + - + sfix16_En6 @@ -2032,251 +2056,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F - - - - - - - - - - - - - - - - - - - - - - sfix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_counter] - - - - - - - - - - - - - - - - - - - - - - int16 - - - - - - - - - + @@ -2284,35 +2068,35 @@ - + - + - + - + - + - + - + - + @@ -2331,11 +2115,11 @@ - + - + sfix16_En14 @@ -2345,165 +2129,6 @@ - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - sfix16_En12 - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - b_enaAdvCtrl - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - Action Port - - - - - - - - @@ -2516,11 +2141,11 @@ - + - + [z_posLowRes] @@ -2537,6 +2162,165 @@ + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + sfix16_En12 + + + + + + + + + + + + + + + + + + + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + Action Port + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + boolean + + + + + + + + @@ -2549,11 +2333,11 @@ - + - + [b_enaAdvCtrl] @@ -2571,11 +2355,11 @@ - + - + boolean @@ -2597,11 +2381,11 @@ - + - + [z_posHighRes] @@ -2619,11 +2403,227 @@ - + - + + sfix16_En12 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counterRaw] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_counter] + + + + + + + + + + + + + + + + + + + + + + int16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En12 @@ -3149,5 +3149,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json index 5ddb7b1..ef5adab 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.json @@ -383,11 +383,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11021", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11835", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"Goto8", + "label":"Goto8", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -396,7 +396,7 @@ "IconDisplay" ], "values":[ - "b_motEna", + "z_errCode", "local", "Tag" ], @@ -416,11 +416,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8504", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9395", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"Goto27", + "label":"Goto27", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -428,40 +428,9 @@ "TagVisibility", "IconDisplay" ], - "values":[ - "b_errFlag", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11832", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], "values":[ "VqFinPrev", + "local", "Tag" ], "tabs":[ @@ -475,7 +444,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Goto", "masktype":"" } }, @@ -510,39 +479,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9397", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "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":"BLDCmotor_FOC_R2017b_fixdt:11834", "className":"Simulink.From", @@ -606,42 +542,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11833", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "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":"BLDCmotor_FOC_R2017b_fixdt:9395", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11021", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", + "name":"Goto4", + "label":"Goto4", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -650,7 +555,7 @@ "IconDisplay" ], "values":[ - "VqFinPrev", + "b_motEna", "local", "Tag" ], @@ -669,105 +574,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11769", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Diagnostics_Enabled", - "label":"Diagnostics_Enabled", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9396", "className":"Simulink.Inport", @@ -836,11 +642,73 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11835", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11833", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "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":"BLDCmotor_FOC_R2017b_fixdt:11832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "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":"BLDCmotor_FOC_R2017b_fixdt:8504", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", "inspector":{ "params":[ @@ -849,7 +717,7 @@ "IconDisplay" ], "values":[ - "z_errCode", + "b_errFlag", "local", "Tag" ], @@ -868,6 +736,203 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9397", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "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":"BLDCmotor_FOC_R2017b_fixdt:9394", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VqFinPrev", + "label":"VqFinPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", + "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":"BLDCmotor_FOC_R2017b_fixdt:11769", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Diagnostics_Enabled", + "label":"Diagnostics_Enabled", + "parent":"BLDCmotor_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" + ], + "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":"BLDCmotor_FOC_R2017b_fixdt:11836", "className":"Simulink.TriggerPort", @@ -1012,73 +1077,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9394", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"VqFinPrev", - "label":"VqFinPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8469", - "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":"BLDCmotor_FOC_R2017b_fixdt:8497#out:1", "className":"Simulink.Line", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg index 841807c..5af7f06 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8469_d.svg @@ -372,11 +372,11 @@ - - + + - + @@ -386,14 +386,14 @@ - - [b_motEna] + + [z_errCode] - + @@ -405,11 +405,11 @@ - - + + - + @@ -419,63 +419,15 @@ - - [b_errFlag] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + [VqFinPrev] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -496,11 +448,11 @@ - + - + [z_posRaw] @@ -518,11 +470,11 @@ - + - + uint8 @@ -532,39 +484,6 @@ - - - - - - - - - - - - - - - - - - [b_motStdStill] - - - - - - - - - - - - - - - @@ -577,11 +496,11 @@ - + - + [b_motEna] @@ -599,11 +518,11 @@ - + - + boolean @@ -625,11 +544,11 @@ - + - + [b_errFlag] @@ -647,11 +566,107 @@ - + - + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + b_motStdStill + + + + + + + + + + + + + + boolean @@ -673,11 +688,11 @@ - + - + [b_motStdStill] @@ -695,11 +710,11 @@ - + - + boolean @@ -711,28 +726,76 @@ - - - + + + - - + + - - + + - + [VqFinPrev] - + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_errFlag] + + + + + + @@ -742,11 +805,107 @@ + + + + + + + + + + + + + + + + + + [b_motStdStill] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + - + @@ -760,59 +919,59 @@ - + - + b_motEna - + - + z_posRaw - + - + b_motStdStill - + - + VqFinPrev - + - + z_errCode - + - + b_errFlag - + - + if { } @@ -842,11 +1001,11 @@ - + - + Diagnostics_Enabled @@ -859,16 +1018,16 @@ - - + + - - + + - - uint8 + + action @@ -880,16 +1039,16 @@ - - + + - - + + - - action + + boolean @@ -901,118 +1060,16 @@ - - + + - - + + - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - b_motStdStill - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_errCode] - - - - - - - + + uint8 @@ -1024,6 +1081,12 @@ + + + + + + @@ -1033,11 +1096,11 @@ - + - + f() @@ -1055,11 +1118,11 @@ - + - + function @@ -1081,11 +1144,11 @@ - + - + 1 @@ -1103,11 +1166,11 @@ - + - + b_motEna @@ -1118,11 +1181,11 @@ - + - + boolean @@ -1132,69 +1195,6 @@ - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -1393,5 +1393,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json index 929dad5..0ee4815 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.json @@ -552,51 +552,72 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11896", - "className":"Simulink.Gain", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9195", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"toNegative", - "label":"toNegative", + "name":"Vq", + "label":"Vq", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "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":[ + "2", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", "-1", - "Element-wise(K.*u)", - "[]", - "[]", - "Inherit: Same as input", + "Inherit", + "-1", + "auto", "off", - "Zero", "off", - "[]", - "[]", - "Inherit: Same as input", - "-1" + "0", + "off", + "held", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", "Signal Attributes", - "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, 2, - 8, 11 ] }, @@ -606,7 +627,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Gain", + "blocktype":"Outport", "masktype":"" } }, @@ -786,6 +807,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8863", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_enaAdvCtrl", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8862", "className":"Simulink.Goto", @@ -820,54 +874,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11898", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:8861", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10359", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", + "name":"Goto5", + "label":"Goto5", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -876,7 +887,7 @@ "IconDisplay" ], "values":[ - "Vq_max", + "task3", "local", "Tag" ], @@ -928,105 +939,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11517", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto37", - "label":"Goto37", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "b_cruiseCtrlEna", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12156", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto36", - "label":"Goto36", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "V_phaABC_FOC", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8856", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto34", - "label":"Goto34", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9717", "className":"Simulink.Goto", @@ -1061,11 +973,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10728", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8851", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto30", - "label":"Goto30", + "name":"Goto3", + "label":"Goto3", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1074,7 +986,7 @@ "IconDisplay" ], "values":[ - "r_nLimProtMax", + "z_ctrlMod", "local", "Tag" ], @@ -1094,11 +1006,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8848", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11472", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto27", - "label":"Goto27", + "name":"Goto33", + "label":"Goto33", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1107,7 +1019,7 @@ "IconDisplay" ], "values":[ - "r_inpTgtSca", + "VqFinPrev", "local", "Tag" ], @@ -1127,11 +1039,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11928", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8850", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto24", - "label":"Goto24", + "name":"Goto29", + "label":"Goto29", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1140,7 +1052,271 @@ "IconDisplay" ], "values":[ - "r_sin", + "id_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8849", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto28", + "label":"Goto28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10719", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto26", + "label":"Goto26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8846", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto25", + "label":"Goto25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11922", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto23", + "label":"Goto23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iqAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8843", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto22", + "label":"Goto22", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8842", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto21", + "label":"Goto21", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:10703", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto20", + "label":"Goto20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11920", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq", "local", "Tag" ], @@ -1193,11 +1369,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11921", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8837", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", + "name":"Goto17", + "label":"Goto17", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1206,7 +1382,40 @@ "IconDisplay" ], "values":[ - "id", + "Vd_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10448", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VdPrev", "local", "Tag" ], @@ -1258,6 +1467,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10394", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:11484", "className":"Simulink.From", @@ -1289,6 +1531,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8826", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From71", + "label":"From71", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:10428", "className":"Simulink.From", @@ -1321,11 +1594,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10439", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8817", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From64", - "label":"From64", + "name":"From61", + "label":"From61", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1333,7 +1606,38 @@ "IconDisplay" ], "values":[ - "Vq_nLimProtMax", + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8815", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq", "Tag" ], "tabs":[ @@ -1382,37 +1686,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8825", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From69", - "label":"From69", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:10433", "className":"Simulink.From", @@ -1444,6 +1717,134 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8811", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From56", + "label":"From56", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:8913", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Motor_Limitations", + "label":"Motor_Limitations", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10432", "className":"Simulink.From", @@ -1506,103 +1907,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10394", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:8807", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From52", - "label":"From52", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_TgtAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8851", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:10362", "className":"Simulink.From", @@ -1635,77 +1939,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8846", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto25", - "label":"Goto25", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11929", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto35", - "label":"Goto35", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8817", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10743", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From61", - "label":"From61", + "name":"From47", + "label":"From47", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1713,7 +1951,7 @@ "IconDisplay" ], "values":[ - "iq", + "r_inpTgtScaAbs", "Tag" ], "tabs":[ @@ -1732,11 +1970,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8798", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10729", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From43", - "label":"From43", + "name":"From46", + "label":"From46", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1744,7 +1982,7 @@ "IconDisplay" ], "values":[ - "Vd", + "r_nLimProtMax", "Tag" ], "tabs":[ @@ -1763,11 +2001,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8797", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10726", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From42", - "label":"From42", + "name":"From44", + "label":"From44", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1775,7 +2013,7 @@ "IconDisplay" ], "values":[ - "Vq_min", + "r_iqLimProtMax", "Tag" ], "tabs":[ @@ -1794,11 +2032,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8850", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8848", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", + "name":"Goto27", + "label":"Goto27", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1807,7 +2045,7 @@ "IconDisplay" ], "values":[ - "id_min", + "r_inpTgtSca", "local", "Tag" ], @@ -1858,11 +2096,44 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8795", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11517", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto37", + "label":"Goto37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12218", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From40", - "label":"From40", + "name":"From4", + "label":"From4", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -1870,7 +2141,7 @@ "IconDisplay" ], "values":[ - "Vq", + "z_ctrlTypSel", "Tag" ], "tabs":[ @@ -1889,20 +2160,20 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9027", - "className":"Simulink.Mux", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10707", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Mux7", - "label":"Mux7", + "name":"From39", + "label":"From39", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "GotoTag", + "IconDisplay" ], "values":[ - "3", - "bar" + "r_inpTgtScaAbs", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -1915,7 +2186,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"From", "masktype":"" } }, @@ -1950,6 +2221,70 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8839", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto19", + "label":"Goto19", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10445", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From36", + "label":"From36", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8790", "className":"Simulink.From", @@ -1982,91 +2317,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9195", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vq", - "label":"Vq", - "parent":"BLDCmotor_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", - "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":"BLDCmotor_FOC_R2017b_fixdt:10697", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8788", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From34", - "label":"From34", + "name":"From33", + "label":"From33", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2074,7 +2329,7 @@ "IconDisplay" ], "values":[ - "n_motAbs", + "id_TgtAbs", "Tag" ], "tabs":[ @@ -2093,44 +2348,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10719", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto26", - "label":"Goto26", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12155", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10174", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From26", - "label":"From26", + "name":"From3", + "label":"From3", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2138,195 +2360,7 @@ "IconDisplay" ], "values":[ - "Vq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10359", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "task3", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8786", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10446", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From23", - "label":"From23", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:12152", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From22", - "label":"From22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12154", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10437", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From20", - "label":"From20", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "Vq_min", + "r_fieldWeak", "Tag" ], "tabs":[ @@ -2376,11 +2410,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10729", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8807", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From46", - "label":"From46", + "name":"From52", + "label":"From52", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2388,7 +2422,131 @@ "IconDisplay" ], "values":[ - "r_nLimProtMax", + "id_TgtAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10446", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From23", + "label":"From23", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:10441", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From60", + "label":"From60", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11913", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From21", + "label":"From21", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10434", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From58", + "label":"From58", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_min", "Tag" ], "tabs":[ @@ -2438,11 +2596,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11897", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11912", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", + "name":"From19", + "label":"From19", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2450,7 +2608,7 @@ "IconDisplay" ], "values":[ - "z_ctrlTypSel", + "i_phaAB", "Tag" ], "tabs":[ @@ -2469,73 +2627,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8776", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VdPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8772", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:11922", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12156", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto23", - "label":"Goto23", + "name":"Goto36", + "label":"Goto36", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2544,7 +2640,7 @@ "IconDisplay" ], "values":[ - "iqAbs", + "V_phaABC_FOC", "local", "Tag" ], @@ -2594,37 +2690,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10430", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:10429", "className":"Simulink.From", @@ -2657,25 +2722,53 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8768", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11896", + "className":"Simulink.Gain", "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", + "name":"toNegative", + "label":"toNegative", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Gain", + "Multiplication", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "ParamMin", + "ParamMax", + "ParamDataTypeStr", + "SampleTime" ], "values":[ - "iq", - "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" @@ -2683,47 +2776,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"Gain", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11515", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12673", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From10", - "label":"From10", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "b_cruiseCtrlEna", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12218", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From28", + "label":"From28", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2782,6 +2844,101 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8768", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10395", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto10", + "label":"Goto10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11515", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From10", + "label":"From10", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "b_cruiseCtrlEna", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10393", "className":"Simulink.From", @@ -2813,6 +2970,70 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:11929", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto35", + "label":"Goto35", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8795", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From40", + "label":"From40", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:10435", "className":"Simulink.From", @@ -2845,11 +3066,104 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8849", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8787", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From32", + "label":"From32", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:8797", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From42", + "label":"From42", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:10437", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From20", + "label":"From20", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:10728", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto28", - "label":"Goto28", + "name":"Goto30", + "label":"Goto30", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2858,7 +3172,7 @@ "IconDisplay" ], "values":[ - "iq_min", + "r_nLimProtMax", "local", "Tag" ], @@ -2878,11 +3192,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10445", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12154", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From36", - "label":"From36", + "name":"From25", + "label":"From25", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2890,7 +3204,7 @@ "IconDisplay" ], "values":[ - "n_mot", + "Vd", "Tag" ], "tabs":[ @@ -2909,11 +3223,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8815", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12155", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", + "name":"From26", + "label":"From26", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2940,11 +3254,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10707", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10697", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From39", - "label":"From39", + "name":"From34", + "label":"From34", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -2952,7 +3266,197 @@ "IconDisplay" ], "values":[ - "r_inpTgtScaAbs", + "n_motAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8825", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From69", + "label":"From69", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:10438", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From62", + "label":"From62", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_limProtErr", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10364", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"FOC", + "label":"FOC", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8772", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From15", + "label":"From15", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtSca", "Tag" ], "tabs":[ @@ -3002,63 +3506,31 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8787", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From32", - "label":"From32", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:10364", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11930", "className":"Simulink.SubSystem", "icon":"WebViewIcon1", - "name":"FOC", - "label":"FOC", + "name":"Clarke_Park_Transform_Inverse", + "label":"Clarke_Park_Transform_Inverse", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3070,30 +3542,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -3105,19 +3577,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3132,11 +3603,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10448", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10444", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From45", + "label":"From45", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8853", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", + "name":"Goto31", + "label":"Goto31", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3145,7 +3647,7 @@ "IconDisplay" ], "values":[ - "VdPrev", + "iq_limProtErr", "local", "Tag" ], @@ -3165,73 +3667,108 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8811", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From56", - "label":"From56", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11900", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Clarke_Park_Transform_Forward", + "label":"Clarke_Park_Transform_Forward", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "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":[ - "Vd_min", - "Tag" + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", + "", + "Auto", + "", + "Auto", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Auto", + "-1", + "", + "off", + "" ], "tabs":[ - "Parameter Attributes" + "Main", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 6 + ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"From", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10434", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From58", - "label":"From58", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:8863", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8856", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"Goto34", + "label":"Goto34", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3240,7 +3777,7 @@ "IconDisplay" ], "values":[ - "b_enaAdvCtrl", + "Vq_nLimProtMax", "local", "Tag" ], @@ -3260,42 +3797,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10743", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From47", - "label":"From47", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11516", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11471", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"b_cruiseCtrlEna", - "label":"b_cruiseCtrlEna", + "name":"VqFinPrev", + "label":"VqFinPrev", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3318,7 +3824,7 @@ "OutputFunctionCall" ], "values":[ - "16", + "15", "Port number", "[]", "[]", @@ -3358,110 +3864,87 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11930", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clarke_Park_Transform_Inverse", - "label":"Clarke_Park_Transform_Inverse", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8861", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" + "Vq_max", + "local", + "Tag" ], "tabs":[ - "Main", - "Code Generation", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 5, - 6 - ] + "tabs_idx":0 }, "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" + "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"SubSystem", + "blocktype":"Goto", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10438", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11898", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If1", + "label":"If1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:8776", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From62", - "label":"From62", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3469,7 +3952,7 @@ "IconDisplay" ], "values":[ - "iq_limProtErr", + "VdPrev", "Tag" ], "tabs":[ @@ -3488,21 +3971,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8842", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11897", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto21", - "label":"Goto21", + "name":"From17", + "label":"From17", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "a_elecAngle", - "local", + "z_ctrlTypSel", "Tag" ], "tabs":[ @@ -3516,7 +3997,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, @@ -3587,39 +4068,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11472", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto33", - "label":"Goto33", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:8663", "className":"Simulink.Inport", @@ -3688,11 +4136,78 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12673", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8662", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"n_mot", + "label":"n_mot", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:12152", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From28", - "label":"From28", + "name":"From22", + "label":"From22", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -3700,7 +4215,437 @@ "IconDisplay" ], "values":[ - "z_ctrlTypSel", + "r_sin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12216", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:9716", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_motEna", + "label":"b_motEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:11516", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"b_cruiseCtrlEna", + "label":"b_cruiseCtrlEna", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "Port", + "IconDisplay", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "Unit", + "PortDimensions", + "VarSizeSig", + "SampleTime", + "SignalType", + "BusOutputAsStruct", + "InputConnect", + "Interpolate", + "LatchByDelayingOutsideSignal", + "LatchInputForFeedbackSignals", + "OutputFunctionCall" + ], + "values":[ + "16", + "Port number", + "[]", + "[]", + "Inherit: auto", + "off", + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "", + "on", + "off", + "off", + "off" + ], + "tabs":[ + "Main", + "Signal Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 2, + 11 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Inport", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10358", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"task3", + "label":"task3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:10439", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From64", + "label":"From64", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8661", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:11921", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8786", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From31", + "label":"From31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", "Tag" ], "tabs":[ @@ -3786,398 +4731,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8788", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From33", - "label":"From33", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_TgtAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8662", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_mot", - "label":"n_mot", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:12391", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From27", - "label":"From27", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:10441", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From60", - "label":"From60", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8826", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From71", - "label":"From71", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:9716", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"b_motEna", - "label":"b_motEna", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:10444", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From45", - "label":"From45", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8810", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From55", - "label":"From55", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:10358", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"task3", - "label":"task3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:8837", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11928", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", + "name":"Goto24", + "label":"Goto24", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4186,7 +4744,7 @@ "IconDisplay" ], "values":[ - "Vd_max", + "r_sin", "local", "Tag" ], @@ -4206,78 +4764,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10357", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"task2b", - "label":"task2b", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:10726", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8798", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From44", - "label":"From44", + "name":"From43", + "label":"From43", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4285,7 +4776,7 @@ "IconDisplay" ], "values":[ - "r_iqLimProtMax", + "Vd", "Tag" ], "tabs":[ @@ -4303,368 +4794,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8839", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8843", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto22", - "label":"Goto22", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10703", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto20", - "label":"Goto20", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11912", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From19", - "label":"From19", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:11853", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtScaAbs", - "label":"r_inpTgtScaAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "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":"BLDCmotor_FOC_R2017b_fixdt:10360", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "task2b", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8913", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Motor_Limitations", - "label":"Motor_Limitations", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11920", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8660", "className":"Simulink.Inport", @@ -4733,11 +4862,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11471", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11853", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"VqFinPrev", - "label":"VqFinPrev", + "name":"r_inpTgtScaAbs", + "label":"r_inpTgtScaAbs", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4760,7 +4889,7 @@ "OutputFunctionCall" ], "values":[ - "15", + "3", "Port number", "[]", "[]", @@ -4800,11 +4929,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8661", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10357", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", + "name":"task2b", + "label":"task2b", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4827,7 +4956,7 @@ "OutputFunctionCall" ], "values":[ - "4", + "5", "Port number", "[]", "[]", @@ -4867,11 +4996,73 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10395", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12391", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From27", + "label":"From27", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:8810", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From55", + "label":"From55", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", + "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":"BLDCmotor_FOC_R2017b_fixdt:10360", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto10", - "label":"Goto10", + "name":"Goto16", + "label":"Goto16", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ @@ -4880,7 +5071,7 @@ "IconDisplay" ], "values":[ - "Vq", + "task2b", "local", "Tag" ], @@ -4900,61 +5091,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12216", - "className":"Simulink.Inport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10430", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"z_ctrlTypSel", - "label":"z_ctrlTypSel", + "name":"From14", + "label":"From14", "parent":"BLDCmotor_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" + "b_enaAdvCtrl", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -4962,7 +5117,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"From", "masktype":"" } }, @@ -5034,20 +5189,20 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11913", - "className":"Simulink.From", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9027", + "className":"Simulink.Mux", "icon":"WebViewIcon3", - "name":"From21", - "label":"From21", + "name":"Mux7", + "label":"Mux7", "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", "inspector":{ "params":[ - "GotoTag", - "IconDisplay" + "Inputs", + "DisplayOption" ], "values":[ - "i_phaBC", - "Tag" + "3", + "bar" ], "tabs":[ "Parameter Attributes" @@ -5060,170 +5215,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11900", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Clarke_Park_Transform_Forward", - "label":"Clarke_Park_Transform_Forward", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8853", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10174", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8658", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", + "blocktype":"Mux", "masktype":"" } }, diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.png new file mode 100644 index 0000000..95277bc Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg index fea0073..013bdd4 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8658_d.svg @@ -351,7 +351,7 @@ - + @@ -542,44 +542,44 @@ - - - + + + - - + + - + - - -1 + + 2 - - + + - - - + + + - + - - sfix16_En4 + + Vq @@ -592,7 +592,7 @@ - + @@ -687,7 +687,7 @@ - + @@ -869,6 +869,39 @@ + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + @@ -881,11 +914,11 @@ - + - + [Vq_min] @@ -904,84 +937,28 @@ - - - - - - - - - - - - - - - - u1 - - - - - - - - if(u1 == CTRL_FOC) - - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - + + - + - + - - [Vq_max] + + [task3] - + @@ -1003,11 +980,11 @@ - + - + [z_ctrlTypSel] @@ -1024,105 +1001,6 @@ - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [V_phaABC_FOC] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - @@ -1135,11 +1013,11 @@ - + - + [b_motEna] @@ -1156,669 +1034,6 @@ - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -1831,11 +1046,11 @@ - + - + [z_ctrlMod] @@ -1852,2853 +1067,6 @@ - - - - - - - - - - - - - - - - - - [task2b] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - Vq - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [task3] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlMod] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [VdPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [task3] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_mot] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_motEna] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - b_enaAdvCtrl - - - - - - - - z_ctrlMod - - - - - - - - r_inpTgtSca - - - - - - - - r_inpTgtScaAbs - - - - - - - - n_mot - - - - - - - - id_TgtAbs - - - - - - - - id - - - - - - - - iq - - - - - - - - Vd_max - - - - - - - - Vd_min - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - id_max - - - - - - - - id_min - - - - - - - - iq_max - - - - - - - - iq_min - - - - - - - - r_iqLimProtMax - - - - - - - - r_nLimProtMax - - - - - - - - iq_limProtErr - - - - - - - - Vq_nLimProtMax - - - - - - - - VqFinPrev - - - - - - - - b_cruiseCtrlEna - - - - - - - - Vq - - - - - - - - Vd - - - - - - - - function() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FOC - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VdPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtScaAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 16 - - - - - - - - - - - - - - - - - - - - - - b_cruiseCtrlEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Vq - - - - - - - - Vd - - - - - - - - r_sin - - - - - - - - r_cos - - - - - - - - V_phaABC_FOC - - - - - - - - if { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Clarke_Park_Transform_Inverse - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_limProtErr] - - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12 - - - - - - - - - - - - - - - - - - - - - - a_elecAngle - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - @@ -4711,11 +1079,11 @@ - + - + [VqFinPrev] @@ -4734,664 +1102,28 @@ - - - - - - - - - - - - - - - - 11 - - - - - - - - - - - - - - - - - - - - - - r_fieldWeak - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 9 - - - - - - - - - - - - - - - - - - - - - - n_mot - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_min] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - b_motEna - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - task3 - - - - - - - - - - - - + + - + - + - - [Vd_max] + + [id_min] - + @@ -5403,44 +1135,29 @@ - - - + + + - - + + - - + + - - 5 + + [iq_min] - - - - - - - - - - - - - - - - - task2b + + @@ -5451,44 +1168,29 @@ - - - + + + - - + + - - + + - + [r_iqLimProtMax] - - - - - - - - - - - - - - - - - sfix16_En4 + + @@ -5499,28 +1201,61 @@ - - + + - + - + - - [id_max] + + [iq_max] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + @@ -5542,11 +1277,11 @@ - + - + [r_fieldWeak] @@ -5563,6 +1298,39 @@ + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + @@ -5575,11 +1343,11 @@ - + - + [r_inpTgtScaAbs] @@ -5596,6 +1364,2164 @@ + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtScaAbs + + + + + + + + VdPrev + + + + + + + + id_TgtAbs + + + + + + + + iq + + + + + + + + iqAbs + + + + + + + + n_motAbs + + + + + + + + Vd_max + + + + + + + + Vd_min + + + + + + + + Vq_max + + + + + + + + Vq_min + + + + + + + + id_max + + + + + + + + id_min + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + + r_iqLimProtMax + + + + + + + + r_nLimProtMax + + + + + + + + iq_limProtErr + + + + + + + + Vq_nLimProtMax + + + + + + + + function() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Motor_Limitations + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [task2b] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_cruiseCtrlEna] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [n_mot] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_TgtAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_phaBC] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + @@ -5608,11 +3534,11 @@ - + - + [i_phaAB] @@ -5630,11 +3556,11 @@ - + - + sfix16_En4 @@ -5646,91 +3572,28 @@ - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtScaAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + + - + - + - - [task2b] + + [V_phaABC_FOC] - + @@ -5742,473 +3605,43 @@ - - - + + + - - - - - - - - + + - - + + - - z_ctrlTypSel - - - - - - - - z_ctrlMod - - - - - - - - r_inpTgtScaAbs - - - - - - - - VdPrev - - - - - - - - id_TgtAbs - - - - - - - - iq - - - - - - - - iqAbs - - - - - - - - n_motAbs - - - - - - - - Vd_max - - - - - - - - Vd_min - - - - - - - - Vq_max - - - - - - - - Vq_min - - - - - - - - id_max - - - - - - - - id_min - - - - - - - - iq_max - - - - - - - - iq_min - - - - - - - - r_iqLimProtMax - - - - - - - - r_nLimProtMax - - - - - - - - iq_limProtErr - - - - - - - - Vq_nLimProtMax - - - - - - - - function() + + [Vq_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Motor_Limitations + + - - - - - - - + - - + + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -6220,35 +3653,44 @@ - - - - - - - - - + + + - - + + - - + + - - [iq] + + [id_TgtAbs] - - + + + + + + + + + + + + + + + + + sfix16_En4 @@ -6259,58 +3701,91 @@ - - - + + + - - + + - - + + - - 2 + + -1 - - - - - - - - - - - - - - - - - z_ctrlMod + + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + - - + + - + uint8 @@ -6322,59 +3797,29 @@ - - - + + + - - + + - - + + - - 15 + + [n_motAbs] - - - - - - - - - - - - - - - - - VqFinPrev - - - - - - - - - - - - - - - sfix16_En4 + + @@ -6385,58 +3830,43 @@ - - - + + + - - + + - - + + - - 4 + + [iq] - - - - - - - - - - - - - - - - - r_inpTgtSca + + - + - - + + - + sfix16_En4 @@ -6458,11 +3888,11 @@ - + - + [Vq] @@ -6481,121 +3911,43 @@ - - - + + + - - + + - - + + - - 7 + + [b_cruiseCtrlEna] - - - - - - - - - - - - - - - - - z_ctrlTypSel + + - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - b_enaAdvCtrl - - - - - - + - - + + - + boolean @@ -6607,43 +3959,109 @@ - - + + - + - - + + - - [i_phaBC] + + [task3] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + - + - - + + - + sfix16_En4 @@ -6653,11 +4071,1121 @@ + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlMod] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + b_enaAdvCtrl + + + + + + + + z_ctrlMod + + + + + + + + r_inpTgtSca + + + + + + + + r_inpTgtScaAbs + + + + + + + + n_mot + + + + + + + + id_TgtAbs + + + + + + + + id + + + + + + + + iq + + + + + + + + Vd_max + + + + + + + + Vd_min + + + + + + + + Vq_max + + + + + + + + Vq_min + + + + + + + + id_max + + + + + + + + id_min + + + + + + + + iq_max + + + + + + + + iq_min + + + + + + + + r_iqLimProtMax + + + + + + + + r_nLimProtMax + + + + + + + + iq_limProtErr + + + + + + + + Vq_nLimProtMax + + + + + + + + VqFinPrev + + + + + + + + b_cruiseCtrlEna + + + + + + + + Vq + + + + + + + + Vd + + + + + + + + function() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FOC + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_motEna] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vq + + + + + + + + Vd + + + + + + + + r_sin + + + + + + + + r_cos + + + + + + + + V_phaABC_FOC + + + + + + + + if { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Clarke_Park_Transform_Inverse + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_limProtErr] + + + + + + + + + + + + + + + - + @@ -6671,83 +5199,83 @@ - + - + b_motEna - + - + a_elecAngle - + - + i_phaAB - + - + i_phaBC - + - + r_sin - + - + r_cos - + - + iq - + - + id - + - + iqAbs - + - + if { } @@ -6777,11 +5305,11 @@ - + - + Clarke_Park_Transform_Forward @@ -6794,16 +5322,16 @@ - - + + - - + + - - sfix16_En4 + + sfix16_En14 @@ -6815,16 +5343,16 @@ - - + + - - + + - - action + + sfix16_En4 @@ -6836,15 +5364,15 @@ - + - - + + - + sfix16_En14 @@ -6857,16 +5385,16 @@ - - + + - - + + - - sfix16_En14 + + action @@ -6878,15 +5406,15 @@ - + - - + + - + sfix16_En4 @@ -6899,15 +5427,15 @@ - + - - + + - + sfix16_En4 @@ -6919,34 +5447,34 @@ - + - + - + - + - - [iq_limProtErr] + + [Vq_nLimProtMax] - + @@ -6958,43 +5486,1515 @@ - - - + + + - - + + - - + + - - [r_fieldWeak] + + 15 - + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + u1 + + + + + + + + if(u1 == CTRL_FOC) + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + 11 + + + + + + + + + + + + + + + + + + + + + + r_fieldWeak + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + n_mot + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + b_motEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + b_cruiseCtrlEna + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + task3 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + task2b + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [task2b] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + b_enaAdvCtrl + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + sfix16_En4 @@ -8468,5 +8468,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json index 3d13fdf..5342b7a 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json @@ -80,32 +80,63 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8740", - "className":"Simulink.Constant", + "sid":"BLDCmotor_FOC_R2017b_fixdt:11849", + "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"cf_currFilt", - "label":"cf_currFilt", + "name":"iqAbs", + "label":"iqAbs", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "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_currFilt", - "on", - "inf", + "2", + "Port number", "[]", "[]", - "fixdt(0,16,16)", + "Inherit: auto", "off", - "inf" + "inherit", + "-1", + "Inherit", + "-1", + "auto", + "off", + "off", + "0", + "off", + "reset", + "off", + "0", + "", + [ + ], + "Dialog", + "Auto", + "off" ], "tabs":[ "Main", @@ -114,8 +145,8 @@ ], "tabs_idx":[ 0, - 3, - 7 + 2, + 11 ] }, "viewer":{ @@ -124,25 +155,27 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Constant", + "blocktype":"Outport", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8739", - "className":"Simulink.Mux", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8734", + "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Mux2", - "label":"Mux2", + "name":"Goto", + "label":"Goto", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ - "Inputs", - "DisplayOption" + "GotoTag", + "TagVisibility", + "IconDisplay" ], "values":[ - "2", - "bar" + "iq", + "local", + "Tag" ], "tabs":[ "Parameter Attributes" @@ -155,7 +188,182 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Mux", + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8741", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_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":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8733", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_raw", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8736", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8730", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", "masktype":"" } }, @@ -252,119 +460,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8734", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11849", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"iqAbs", - "label":"iqAbs", - "parent":"BLDCmotor_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":[ - "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":"BLDCmotor_FOC_R2017b_fixdt:8732", "className":"Simulink.From", @@ -397,137 +492,42 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8737", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8740", + "className":"Simulink.Constant", "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8731", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", - "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":"BLDCmotor_FOC_R2017b_fixdt:8729", - "className":"Simulink.Demux", - "icon":"WebViewIcon3", - "name":"Demux1", - "label":"Demux1", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10689", - "className":"Simulink.Abs", - "icon":"WebViewIcon3", - "name":"Abs5", - "label":"Abs5", + "name":"cf_currFilt", + "label":"cf_currFilt", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ + "Value", + "VectorParams1D", + "SampleTime", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", - "RndMeth", - "SaturateOnIntegerOverflow", - "SampleTime", - "ZeroCross" + "FramePeriod" ], "values":[ + "cf_currFilt", + "on", + "inf", "[]", "[]", - "Inherit: Inherit via back propagation", + "fixdt(0,16,16)", "off", - "Zero", - "off", - "-1", - "on" + "inf" ], "tabs":[ + "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, - 6 + 3, + 7 ] }, "viewer":{ @@ -536,7 +536,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Abs", + "blocktype":"Constant", "masktype":"" } }, @@ -605,11 +605,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8736", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8737", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ @@ -618,7 +618,7 @@ "IconDisplay" ], "values":[ - "id_raw", + "id", "local", "Tag" ], @@ -637,6 +637,73 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8728", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_raw", + "label":"id_raw", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "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":"BLDCmotor_FOC_R2017b_fixdt:8727", "className":"Simulink.Inport", @@ -705,11 +772,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8733", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8731", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", "inspector":{ "params":[ @@ -717,7 +784,7 @@ "IconDisplay" ], "values":[ - "id_raw", + "id", "Tag" ], "tabs":[ @@ -736,171 +803,104 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8741", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8729", + "className":"Simulink.Demux", "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", + "name":"Demux1", + "label":"Demux1", "parent":"BLDCmotor_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":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8730", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8728", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_raw", - "label":"id_raw", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", - "inspector":{ - "params":[ - "Port", - "IconDisplay", - "OutMin", - "OutMax", - "OutDataTypeStr", - "LockScale", - "Unit", - "PortDimensions", - "VarSizeSig", - "SampleTime", - "SignalType", - "BusOutputAsStruct", - "InputConnect", - "Interpolate", - "LatchByDelayingOutsideSignal", - "LatchInputForFeedbackSignals", - "OutputFunctionCall" + "Outputs", + "DisplayOption", + "BusSelectionMode" ], "values":[ "2", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "", - "on", - "off", - "off", + "bar", "off" ], "tabs":[ - "Main", + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Demux", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8739", + "className":"Simulink.Mux", + "icon":"WebViewIcon3", + "name":"Mux2", + "label":"Mux2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "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":"BLDCmotor_FOC_R2017b_fixdt:10689", + "className":"Simulink.Abs", + "icon":"WebViewIcon3", + "name":"Abs5", + "label":"Abs5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8726", + "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, - 2, - 11 + 6 ] }, "viewer":{ @@ -909,7 +909,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"Abs", "masktype":"" } }, diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg index ad958e9..c6d6eba 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.svg @@ -61,386 +61,44 @@ - - - + + + - - + + - + - - cf_currFilt + + 2 - - + + - - + + - + - - cf_currFilt - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - u - - - - - - - - coef - - - - - - - - y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - coef - - - - - - - - - - - - - - - - - - - - - - Low_Pass_Filter - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + iqAbs @@ -461,11 +119,11 @@ - + - + [iq] @@ -484,44 +142,452 @@ - - + + - + - + - - 2 + + 1 - + - - + + - - + + - - iqAbs + + iq + + + + + + + + + + + + + + + + + + + + + + + + + + [id_raw] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_raw] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [iq] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + u + + + + + + + + coef + + + + + + + + y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + coef + + + + + + + + + + + + + + + + + + + + + + Low_Pass_Filter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -542,11 +608,11 @@ - + - + [iq_raw] @@ -564,11 +630,11 @@ - + - + sfix16_En4 @@ -580,220 +646,59 @@ - - - + + + - - + + - - + + - - [id] + + cf_currFilt - - + + - - - - - - - - - - - - - - - - - - - - - - [id] + + + - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - + + cf_currFilt - - + + - + - - sfix16_En4 - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 + + ufix16_En16 @@ -814,11 +719,11 @@ - + - + [iq_raw] @@ -847,11 +752,11 @@ - + - + if { } @@ -869,11 +774,11 @@ - + - + Action Port @@ -885,28 +790,28 @@ - - + + - + - + - - [id_raw] + + [id] - + @@ -916,213 +821,6 @@ - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - iq_raw - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_raw] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -1135,11 +833,11 @@ - + - + 2 @@ -1157,11 +855,11 @@ - + - + id_raw @@ -1172,11 +870,313 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + iq_raw + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [id] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1376,5 +1376,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json index 7c3fdac..f4df257 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json @@ -1,84 +1,4 @@ [ - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2904", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"y", - "label":"y", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", - "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":"BLDCmotor_FOC_R2017b_fixdt:8738:2902", "className":"Simulink.Sum", @@ -197,6 +117,86 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2904", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"y", + "label":"y", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", + "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":"BLDCmotor_FOC_R2017b_fixdt:8738:2900", "className":"Simulink.Product", @@ -254,6 +254,56 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2903", + "className":"Simulink.UnitDelay", + "icon":"WebViewIcon3", + "name":"UnitDelay1", + "label":"UnitDelay1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", + "inspector":{ + "params":[ + "InitialCondition", + "InputProcessing", + "SampleTime", + "StateName", + "CodeGenStateStorageTypeQualifier", + "StateMustResolveToSignalObject", + "StateSignalObject", + "StateStorageClass" + ], + "values":[ + "0", + "Elements as channels (sample based)", + "-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":"BLDCmotor_FOC_R2017b_fixdt:8738:2899", "className":"Simulink.DataTypeConversion", @@ -368,56 +418,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8738:2903", - "className":"Simulink.UnitDelay", - "icon":"WebViewIcon3", - "name":"UnitDelay1", - "label":"UnitDelay1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8738", - "inspector":{ - "params":[ - "InitialCondition", - "InputProcessing", - "SampleTime", - "StateName", - "CodeGenStateStorageTypeQualifier", - "StateMustResolveToSignalObject", - "StateSignalObject", - "StateStorageClass" - ], - "values":[ - "0", - "Elements as channels (sample based)", - "-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":"BLDCmotor_FOC_R2017b_fixdt:8738:2897", "className":"Simulink.Inport", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg index d846fb5..21dbbb5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.svg @@ -10,54 +10,6 @@ - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - y - - - - - - - @@ -70,36 +22,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - @@ -117,11 +69,11 @@ - + - + sfix32_En20 @@ -143,27 +95,27 @@ - + - + - + - + - + - + @@ -181,11 +133,11 @@ - + - + sfix16_En4 @@ -195,11 +147,59 @@ + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + y + + + + + + + + - + @@ -251,133 +251,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - coef - - - - - - - - - - - - - - - ufix16_En16 - - - - - - - - @@ -390,35 +263,35 @@ - + - + - + - + - + - + - + - + @@ -444,11 +317,11 @@ - + - + sfix32_En20 @@ -458,6 +331,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + coef + + + + + + + + + + + + + + + ufix16_En16 + + + + + + + + @@ -661,5 +661,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json index 4699e2c..08c88f9 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.json @@ -258,85 +258,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8748", - "className":"Simulink.PreLookup", - "icon":"WebViewIcon3", - "name":"a_elecAngle_XA", - "label":"a_elecAngle_XA", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "BreakpointsSpecification", - "BreakpointsDataSource", - "BreakpointsData", - "OutputSelection", - "IndexSearchMethod", - "ExtrapMethod", - "DiagnosticForOutOfRangeInput", - "RemoveProtectionInput", - "BreakpointDataTypeStr", - "BreakpointMin", - "BreakpointMax", - "IndexDataTypeStr", - "LockScale", - "BeginIndexSearchUsingPreviousIndexResult", - "BreakpointObject", - "BreakpointsFirstPoint", - "BreakpointsNumPoints", - "BreakpointsSpacing", - "FractionDataTypeStr", - "OutputBusDataTypeStr", - "RndMeth", - "SampleTime", - "UseLastBreakpoint" - ], - "values":[ - "Explicit values", - "Dialog", - "a_elecAngle_XA", - "Index only", - "Evenly spaced points", - "Clip", - "None", - "off", - "Inherit: Same as input", - "[]", - "[]", - "uint8", - "off", - "on", - "", - "10", - "11", - "10", - "fixdt(0,16,14)", - "Inherit: auto", - "Simplest", - "-1", - "off" - ], - "tabs":[ - "Main", - "Data Types", - "-Other" - ], - "tabs_idx":[ - 0, - 8, - 13 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"PreLookup", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9646", "className":"Simulink.Goto", @@ -370,6 +291,70 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9644", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_sin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9645", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8755", "className":"Simulink.Interpolation_nD", @@ -452,52 +437,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9644", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9643", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ "r_sin", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9645", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_cos", "Tag" ], "tabs":[ @@ -516,27 +468,73 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9639", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8748", + "className":"Simulink.PreLookup", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"a_elecAngle_XA", + "label":"a_elecAngle_XA", "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "BreakpointsSpecification", + "BreakpointsDataSource", + "BreakpointsData", + "OutputSelection", + "IndexSearchMethod", + "ExtrapMethod", + "DiagnosticForOutOfRangeInput", + "RemoveProtectionInput", + "BreakpointDataTypeStr", + "BreakpointMin", + "BreakpointMax", + "IndexDataTypeStr", + "LockScale", + "BeginIndexSearchUsingPreviousIndexResult", + "BreakpointObject", + "BreakpointsFirstPoint", + "BreakpointsNumPoints", + "BreakpointsSpacing", + "FractionDataTypeStr", + "OutputBusDataTypeStr", + "RndMeth", + "SampleTime", + "UseLastBreakpoint" ], "values":[ - "a_elecAngle", - "local", - "Tag" + "Explicit values", + "Dialog", + "a_elecAngle_XA", + "Index only", + "Evenly spaced points", + "Clip", + "None", + "off", + "Inherit: Same as input", + "[]", + "[]", + "uint8", + "off", + "on", + "", + "10", + "11", + "10", + "fixdt(0,16,14)", + "Inherit: auto", + "Simplest", + "-1", + "off" ], "tabs":[ - "Parameter Attributes" + "Main", + "Data Types", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 8, + 13 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -544,38 +542,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9640", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", + "blocktype":"PreLookup", "masktype":"" } }, @@ -628,6 +595,70 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9640", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "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":"BLDCmotor_FOC_R2017b_fixdt:9639", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", + "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":"BLDCmotor_FOC_R2017b_fixdt:8758", "className":"Simulink.Outport", @@ -775,37 +806,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9643", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8743", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:8748#out:1", "className":"Simulink.Line", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.png new file mode 100644 index 0000000..03995fd Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg similarity index 91% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg index 06185ea..6352cda 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8743_d.svg @@ -109,7 +109,7 @@ - + @@ -472,149 +472,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - a_elecAngle_XA - - - - - - - - - - - - - - - uint8 - - - - - - - - @@ -627,11 +484,11 @@ - + - + [r_cos] @@ -648,373 +505,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-D T(k,f) - - - - - - - - k1 - - - - - - - - f1 - - - - - - - - - - - - - - - - - - - - - - r_sin_M1 - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - @@ -1027,11 +517,11 @@ - + - + [r_sin] @@ -1060,11 +550,11 @@ - + - + [r_cos] @@ -1082,11 +572,11 @@ - + - + sfix16_En14 @@ -1098,29 +588,363 @@ - - - + + + - - + + - - + + - - [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1-D T(k,f) + + + + + + + + k1 + + + + + + + + f1 - - + + + + + + + + + + + + + + + + + r_sin_M1 + + + + + + + + + + + + + + + sfix16_En14 @@ -1131,44 +955,187 @@ - - + + - + - + - - [a_elecAngle] + + [r_sin] - + - - + + - - + + - - sfix16_En6 + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a_elecAngle_XA + + + + + + + + + + + + + + + uint8 @@ -1189,11 +1156,11 @@ - + - + 0 @@ -1211,11 +1178,11 @@ - + - + uint8 @@ -1225,6 +1192,87 @@ + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + @@ -1237,11 +1285,11 @@ - + - + 2 @@ -1259,11 +1307,11 @@ - + - + r_cos @@ -1285,11 +1333,11 @@ - + - + 1 @@ -1307,11 +1355,11 @@ - + - + a_elecAngle @@ -1322,11 +1370,11 @@ - + - + sfix16_En6 @@ -1336,54 +1384,6 @@ - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - @@ -1538,5 +1538,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json index 35fd9cb..17f4c97 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.json @@ -160,11 +160,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10711", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9013", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"r_iqLimProtMax", - "label":"r_iqLimProtMax", + "name":"iq_min", + "label":"iq_min", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -193,7 +193,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "9", + "8", "Port number", "[]", "[]", @@ -240,11 +240,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9011", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9012", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"id_min", - "label":"id_min", + "name":"iq_max", + "label":"iq_max", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -273,7 +273,167 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "6", + "7", + "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":"BLDCmotor_FOC_R2017b_fixdt:9009", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vq_min", + "label":"Vq_min", + "parent":"BLDCmotor_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":[ + "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":"BLDCmotor_FOC_R2017b_fixdt:10711", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"r_iqLimProtMax", + "label":"r_iqLimProtMax", + "parent":"BLDCmotor_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":[ + "9", "Port number", "[]", "[]", @@ -399,148 +559,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12219", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"Motor_Limitations_Enabled", - "label":"Motor_Limitations_Enabled", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12388", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If1", - "label":"If1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:10712", "className":"Simulink.Outport", @@ -622,1327 +640,133 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12390", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto9", - "label":"Goto9", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12219", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"Motor_Limitations_Enabled", + "label":"Motor_Limitations_Enabled", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "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":[ - "z_ctrlTypSel", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9013", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"iq_min", - "label":"iq_min", - "parent":"BLDCmotor_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":[ - "8", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", + "FromPortIcon", + "ReadWrite", + "", + "All", + "off", + "on", + "", + "", + "off", + "", + "void_void", + "off", + "off", + "off", + "", + "off", + "", + "off", + "off", "", - [ - ], - "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":"BLDCmotor_FOC_R2017b_fixdt:12384", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto6", - "label":"Goto6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:12376", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto5", - "label":"Goto5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12382", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto31", - "label":"Goto31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12379", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto28", - "label":"Goto28", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12377", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto25", - "label":"Goto25", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq_max", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10705", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto19", - "label":"Goto19", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9008", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vq_max", - "label":"Vq_max", - "parent":"BLDCmotor_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":[ - "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":"BLDCmotor_FOC_R2017b_fixdt:8969", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto16", - "label":"Goto16", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:8953", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:12373", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From69", - "label":"From69", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:12383", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto34", - "label":"Goto34", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "Vq_nLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12372", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From61", - "label":"From61", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12385", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:8954", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From8", - "label":"From8", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:12380", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto29", - "label":"Goto29", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "id_min", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12367", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "VdPrev", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8970", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto2", - "label":"Goto2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:12371", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From52", - "label":"From52", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_TgtAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8951", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "id_max", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8950", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:12370", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From39", - "label":"From39", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_inpTgtScaAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10694", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto17", - "label":"Goto17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:12368", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From34", - "label":"From34", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:9009", - "className":"Simulink.Outport", - "icon":"WebViewIcon3", - "name":"Vq_min", - "label":"Vq_min", - "parent":"BLDCmotor_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":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", + "Inherit from model", "Auto", - "off" - ], - "tabs":[ - "Main", - "Signal Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 2, - 11 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Outport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8946", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:10696", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto18", - "label":"Goto18", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iqAbs", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12369", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From37", - "label":"From37", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iqAbs", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12387", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From17", - "label":"From17", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:8947", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:8916", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"id_TgtAbs", - "label":"id_TgtAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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 + 6 ] }, "viewer":{ - "jshandler":"webview/handlers/ElementHandler" + "jshandler":"webview/handlers/ContainerHandler" }, "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", + "blocktype":"SubSystem", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12378", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12388", + "className":"Simulink.If", "icon":"WebViewIcon3", - "name":"Goto26", - "label":"Goto26", + "name":"If1", + "label":"If1", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10709", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From30", - "label":"From30", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_iqLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8915", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"VdPrev", - "label":"VdPrev", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":[ - "4", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", + "1", + "u1 == CTRL_FOC", "", - "on", "off", - "off", - "off" + "-1", + "on" ], "tabs":[ - "Main", - "Signal Attributes", + "Parameter Attributes", "-Other" ], "tabs_idx":[ 0, - 2, - 11 + 4 ] }, "viewer":{ @@ -1951,305 +775,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Inport", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8976", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "iq", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8917", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"iq", - "label":"iq", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:10710", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From31", - "label":"From31", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_nLimProtMax", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12374", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:10704", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtScaAbs", - "label":"r_inpTgtScaAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:10693", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"n_motAbs", - "label":"n_motAbs", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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", + "blocktype":"If", "masktype":"" } }, @@ -2333,6 +859,860 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12376", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto5", + "label":"Goto5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "id_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12382", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto31", + "label":"Goto31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_limProtErr", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12383", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto34", + "label":"Goto34", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vq_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12381", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto30", + "label":"Goto30", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12374", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:12379", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto28", + "label":"Goto28", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12378", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto26", + "label":"Goto26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12377", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto25", + "label":"Goto25", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq_max", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12375", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "Vd_min", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8970", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto2", + "label":"Goto2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:8976", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iq", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12385", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:8969", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto16", + "label":"Goto16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:8962", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "VdPrev", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12390", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto9", + "label":"Goto9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:8953", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:12373", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From69", + "label":"From69", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:12372", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From61", + "label":"From61", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12371", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From52", + "label":"From52", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_TgtAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12369", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From37", + "label":"From37", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iqAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12370", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From39", + "label":"From39", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_inpTgtScaAbs", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:10710", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From31", + "label":"From31", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_nLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8947", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9007", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vd_min", + "label":"Vd_min", + "parent":"BLDCmotor_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", + "[]", + "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":"BLDCmotor_FOC_R2017b_fixdt:8946", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From2", + "label":"From2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:8944", "className":"Simulink.From", @@ -2365,11 +1745,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12375", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10705", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", + "name":"Goto19", + "label":"Goto19", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2378,7 +1758,275 @@ "IconDisplay" ], "values":[ - "Vd_min", + "r_inpTgtScaAbs", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:12387", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From17", + "label":"From17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:8951", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "id_max", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8939", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From13", + "label":"From13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_limProtErr", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9008", + "className":"Simulink.Outport", + "icon":"WebViewIcon3", + "name":"Vq_max", + "label":"Vq_max", + "parent":"BLDCmotor_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":[ + "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":"BLDCmotor_FOC_R2017b_fixdt:8935", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From1", + "label":"From1", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:8954", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From8", + "label":"From8", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10696", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto18", + "label":"Goto18", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "iqAbs", "local", "Tag" ], @@ -2475,74 +2123,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9012", - "className":"Simulink.Outport", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12368", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"iq_max", - "label":"iq_max", + "name":"From34", + "label":"From34", "parent":"BLDCmotor_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":[ - "7", - "Port number", - "[]", - "[]", - "Inherit: auto", - "off", - "inherit", - "-1", - "Inherit", - "-1", - "auto", - "off", - "off", - "[]", - "off", - "held", - "off", - "0", - "", - [ - ], - "Dialog", - "Auto", - "off" + "n_motAbs", + "Tag" ], "tabs":[ - "Main", - "Signal Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 2, - 11 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -2550,16 +2149,49 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Outport", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8914", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10694", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto17", + "label":"Goto17", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:10693", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_ctrlMod", - "label":"z_ctrlMod", + "name":"n_motAbs", + "label":"n_motAbs", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2582,7 +2214,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "8", "Port number", "[]", "[]", @@ -2622,11 +2254,78 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9007", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8917", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iq", + "label":"iq", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:9011", "className":"Simulink.Outport", "icon":"WebViewIcon3", - "name":"Vd_min", - "label":"Vd_min", + "name":"id_min", + "label":"id_min", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2655,7 +2354,7 @@ "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ - "2", + "6", "Port number", "[]", "[]", @@ -2702,11 +2401,403 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8962", + "sid":"BLDCmotor_FOC_R2017b_fixdt:10709", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From30", + "label":"From30", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_iqLimProtMax", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8916", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"id_TgtAbs", + "label":"id_TgtAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:12367", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "VdPrev", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8915", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"VdPrev", + "label":"VdPrev", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:10695", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"iqAbs", + "label":"iqAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:8955", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From9", + "label":"From9", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "iq_min", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8950", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:10704", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtScaAbs", + "label":"r_inpTgtScaAbs", + "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", + "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":"BLDCmotor_FOC_R2017b_fixdt:12384", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"Goto6", + "label":"Goto6", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2715,7 +2806,7 @@ "IconDisplay" ], "values":[ - "VdPrev", + "Vq_max", "local", "Tag" ], @@ -2802,11 +2893,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:12381", + "sid":"BLDCmotor_FOC_R2017b_fixdt:12380", "className":"Simulink.Goto", "icon":"WebViewIcon3", - "name":"Goto30", - "label":"Goto30", + "name":"Goto29", + "label":"Goto29", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2815,7 +2906,7 @@ "IconDisplay" ], "values":[ - "r_nLimProtMax", + "id_min", "local", "Tag" ], @@ -2835,104 +2926,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8935", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "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":"BLDCmotor_FOC_R2017b_fixdt:8939", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_limProtErr", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8955", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From9", - "label":"From9", - "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "iq_min", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10695", + "sid":"BLDCmotor_FOC_R2017b_fixdt:8914", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"iqAbs", - "label":"iqAbs", + "name":"z_ctrlMod", + "label":"z_ctrlMod", "parent":"BLDCmotor_FOC_R2017b_fixdt:8913", "inspector":{ "params":[ @@ -2955,7 +2953,7 @@ "OutputFunctionCall" ], "values":[ - "7", + "2", "Port number", "[]", "[]", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.png new file mode 100644 index 0000000..07e7e6c Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg similarity index 98% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg index cf6ac48..ad25db5 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8913_d.svg @@ -107,6 +107,150 @@ + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + iq_min + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + iq_max + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + Vq_min + + + + + + + + @@ -119,11 +263,11 @@ - + - + 9 @@ -141,11 +285,11 @@ - + - + r_iqLimProtMax @@ -155,54 +299,6 @@ - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - id_min - - - - - - - - @@ -215,11 +311,11 @@ - + - + 5 @@ -237,11 +333,11 @@ - + - + id_max @@ -251,6 +347,54 @@ + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + r_nLimProtMax + + + + + + + + @@ -269,163 +413,163 @@ - + - + z_ctrlMod - + - + r_inpTgtScaAbs - + - + VdPrev - + - + id_TgtAbs - + - + iq - + - + iqAbs - + - + n_motAbs - + - + Vd_max - + - + Vd_min - + - + Vq_max - + - + Vq_min - + - + id_max - + - + id_min - + - + iq_max - + - + iq_min - + - + r_iqLimProtMax - + - + r_nLimProtMax - + - + iq_limProtErr - + - + Vq_nLimProtMax - + - + if { } @@ -455,11 +599,11 @@ - + - + Motor_Limitations_Enabled @@ -472,15 +616,15 @@ - + - - + + - + sfix16_En4 @@ -493,15 +637,15 @@ - + - - + + - + sfix16_En4 @@ -514,15 +658,15 @@ - + - - + + - + sfix16_En4 @@ -535,195 +679,6 @@ - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - sfix32_En20 - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - @@ -738,6 +693,195 @@ + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix32_En20 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + @@ -760,19 +904,19 @@ - + - + u1 - + - + if(u1 == CTRL_FOC) @@ -790,11 +934,11 @@ - + - + action @@ -806,158 +950,44 @@ - - + + - + - + - - 10 + + 1 - + - - + + - - + + - - r_nLimProtMax - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - iq_min - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_max] - - - - - - - + + Vd_max @@ -978,11 +1008,11 @@ - + - + [id_max] @@ -1011,11 +1041,11 @@ - + - + [iq_limProtErr] @@ -1032,6 +1062,105 @@ + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_max] + + + + + + + + + + + + + + + @@ -1044,11 +1173,11 @@ - + - + [iq_min] @@ -1065,6 +1194,39 @@ + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + @@ -1077,11 +1239,11 @@ - + - + [iq_max] @@ -1100,28 +1262,28 @@ - - + + - + - - + + - - [r_inpTgtScaAbs] + + [Vd_min] - + @@ -1133,44 +1295,95 @@ - - - + + + - - + + - - + + - - 3 + + [id_TgtAbs] - - + + - - - - + + + + + + + + + + + + + + + - - + + - - Vq_max + + [iq] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_min] + + + + + + + @@ -1191,11 +1404,11 @@ - + - + [z_ctrlMod] @@ -1212,6 +1425,72 @@ + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + @@ -1224,11 +1503,11 @@ - + - + [id_min] @@ -1246,11 +1525,11 @@ - + - + sfix16_En4 @@ -1272,11 +1551,11 @@ - + - + [z_ctrlMod] @@ -1294,11 +1573,11 @@ - + - + uint8 @@ -1308,39 +1587,6 @@ - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - @@ -1353,11 +1599,11 @@ - + - + [iq] @@ -1375,11 +1621,11 @@ - + - + sfix16_En4 @@ -1389,201 +1635,6 @@ - - - - - - - - - - - - - - - - - - [Vq_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iq_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VdPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [id_TgtAbs] - - - - - - - - - - - - - - - @@ -1596,11 +1647,11 @@ - + - + [id_TgtAbs] @@ -1618,11 +1669,11 @@ - + - + sfix16_En4 @@ -1634,59 +1685,11 @@ - - + + - - - - - - - - - - - - [id_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - + @@ -1696,29 +1699,29 @@ - - [Vd_min] + + [iqAbs] - + - + - + - + sfix16_En4 @@ -1778,76 +1781,43 @@ - - - + + + - - + + - - - - - [n_motAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [n_motAbs] + + [r_nLimProtMax] - + - + - - + + - + sfix16_En4 @@ -1857,231 +1827,6 @@ - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - Vq_min - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [iqAbs] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - @@ -2094,11 +1839,11 @@ - + - + [Vq_min] @@ -2116,11 +1861,11 @@ - + - + sfix16_En4 @@ -2130,804 +1875,6 @@ - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - id_TgtAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_iqLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - - - - - - - - - - - - - - - - - - - VdPrev - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [iq] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - iq - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_max] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtScaAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - n_motAbs - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - Vd_max - - - - - - - - - - - - - - - - - - - - - - - - - - [Vq_nLimProtMax] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [Vd_min] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - f() - - - - - - - - - - - - - - - - - - - - - - function - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - iq_max - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_ctrlMod - - - - - - - - - - - - - - - uint8 - - - - - - - - @@ -2940,11 +1887,11 @@ - + - + 2 @@ -2962,11 +1909,11 @@ - + - + Vd_min @@ -2978,28 +1925,124 @@ - - - + + + - - + + - - + + - - [VdPrev] + + [Vd_max] - + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_nLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtScaAbs] + + + + + + @@ -3011,58 +2054,43 @@ - - - + + + - - + + - - + + - - 1 + + [z_ctrlTypSel] - - - - - - - - - - - - - - - - - z_ctrlTypSel + + - + - - + + - + uint8 @@ -3074,76 +2102,43 @@ - - - - - - - - - - - - - - - - [r_nLimProtMax] - - - - - - - - - - - - - - - - - - - + + - + - + - - [Vq_max] + + [id_max] - + - + - - + + - + sfix16_En4 @@ -3165,11 +2160,11 @@ - + - + [iq_limProtErr] @@ -3187,11 +2182,11 @@ - + - + sfix32_En20 @@ -3203,43 +2198,697 @@ - - - + + + - - + + - - + + - - [iq_min] + + 3 - + + + + + + + + + + + + + + + + + Vq_max + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + - + - - + + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iq_max] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [iqAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + f() + + + + + + + + + + + + + + + + + + + + + + function + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [n_motAbs] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + n_motAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + iq + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + id_min + + + + + + + + + + + + + + + + + + + + + + + + + + [r_iqLimProtMax] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + + + + + + + + + + + + + + + + + + + + + + id_TgtAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VdPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + VdPrev + + + + + + + + + + + + + + sfix16_En4 @@ -3261,11 +2910,11 @@ - + - + 7 @@ -3283,11 +2932,11 @@ - + - + iqAbs @@ -3298,11 +2947,11 @@ - + - + sfix16_En4 @@ -3312,6 +2961,357 @@ + + + + + + + + + + + + + + + + + + [iq_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vd_min] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtScaAbs + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [Vq_max] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + z_ctrlTypSel + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [id_min] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + z_ctrlMod + + + + + + + + + + + + + + + uint8 + + + + + + + + @@ -3888,5 +3888,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json index 3b82cd6..34234cc 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.json @@ -476,124 +476,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9067", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum6", - "label":"Sum6", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9066", - "className":"Simulink.Sum", - "icon":"WebViewIcon3", - "name":"Sum1", - "label":"Sum1", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9065", "className":"Simulink.Goto", @@ -627,6 +509,70 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9064", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto26", + "label":"Goto26", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_sin", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9060", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9063", "className":"Simulink.Goto", @@ -660,68 +606,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9061", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9060", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9059", "className":"Simulink.From", @@ -754,42 +638,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9057", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9058", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9056", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From2", - "label":"From2", + "name":"From4", + "label":"From4", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -816,11 +669,75 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9052", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9062", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9054", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From", + "label":"From", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_sin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9053", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide3", - "label":"Divide3", + "name":"Divide4", + "label":"Divide4", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -873,27 +790,51 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9064", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9051", + "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Goto26", - "label":"Goto26", + "name":"Divide2", + "label":"Divide2", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "Inputs", + "Multiplication", + "InputSameDT", + "OutMin", + "OutMax", + "OutDataTypeStr", + "LockScale", + "RndMeth", + "SaturateOnIntegerOverflow", + "CollapseDim", + "CollapseMode", + "SampleTime" ], "values":[ - "r_sin", - "local", - "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" @@ -901,47 +842,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"Product", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9054", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9056", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_sin", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9058", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From2", + "label":"From2", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -999,11 +909,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9051", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9052", "className":"Simulink.Product", "icon":"WebViewIcon3", - "name":"Divide2", - "label":"Divide2", + "name":"Divide3", + "label":"Divide3", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ @@ -1113,21 +1023,19 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9062", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9061", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", + "name":"From7", + "label":"From7", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ "GotoTag", - "TagVisibility", "IconDisplay" ], "values":[ - "r_cos", - "local", + "r_sin", "Tag" ], "tabs":[ @@ -1141,22 +1049,23 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9053", - "className":"Simulink.Product", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9066", + "className":"Simulink.Sum", "icon":"WebViewIcon3", - "name":"Divide4", - "label":"Divide4", + "name":"Sum1", + "label":"Sum1", "parent":"BLDCmotor_FOC_R2017b_fixdt:9045", "inspector":{ "params":[ + "IconShape", "Inputs", - "Multiplication", "InputSameDT", + "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", @@ -1168,15 +1077,16 @@ "SampleTime" ], "values":[ - "**", - "Element-wise(.*)", + "rectangular", + "++", "off", + "Inherit: Inherit via internal rule", "[]", "[]", - "Inherit: Same as first input", + "fixdt(1,16,4)", "off", "Simplest", - "off", + "on", "1", "All dimensions", "-1" @@ -1189,7 +1099,7 @@ "tabs_idx":[ 0, 2, - 9 + 10 ] }, "viewer":{ @@ -1198,7 +1108,97 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Product", + "blocktype":"Sum", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9067", + "className":"Simulink.Sum", + "icon":"WebViewIcon3", + "name":"Sum6", + "label":"Sum6", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9057", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_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":"" } }, diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg index a72f676..21114fc 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9045_d.svg @@ -410,142 +410,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -558,11 +422,11 @@ - + - + [i_beta] @@ -579,335 +443,6 @@ - - - - - - - - - - - - - - - - - - [i_apha] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_sin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_beta] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_beta] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [i_apha] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -920,11 +455,11 @@ - + - + [r_sin] @@ -943,43 +478,124 @@ - - + + - + - + - - [r_sin] + + [i_beta] - + - + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_apha] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + - - + + - + sfix16_En14 @@ -1001,11 +617,11 @@ - + - + [i_apha] @@ -1023,171 +639,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_cos] - - - - - - - - - - - - - - - - - - - - - - sfix16_En14 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -1209,11 +665,11 @@ - + - + [r_cos] @@ -1230,11 +686,59 @@ + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + - + @@ -1242,19 +746,19 @@ - + - + - + - + @@ -1272,11 +776,507 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_apha] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_cos] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_sin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En14 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [i_beta] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -1540,5 +1540,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json index c4296d8..e42b546 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.json @@ -946,50 +946,38 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9235", - "className":"Simulink.Switch", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9835", + "className":"Simulink.RelationalOperator", "icon":"WebViewIcon3", - "name":"Switch2", - "label":"Switch2", + "name":"Relational Operator1", + "label":"Relational Operator1", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "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":{ @@ -998,7 +986,485 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Switch", + "blocktype":"RelationalOperator", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9914", + "className":"Simulink.Merge", + "icon":"WebViewIcon3", + "name":"Merge", + "label":"Merge", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "Inputs", + "InitialOutput", + "AllowUnequalInputPortWidths", + "InputPortOffsets" + ], + "values":[ + "3", + "[]", + "off", + "[]" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 3 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Merge", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9833", + "className":"Simulink.If", + "icon":"WebViewIcon3", + "name":"If", + "label":"If", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "NumInputs", + "IfExpression", + "ElseIfExpressions", + "ShowElse", + "SampleTime", + "ZeroCross" + ], + "values":[ + "2", + "u1 ~= 0", + "u2 ~= 0", + "on", + "-1", + "on" + ], + "tabs":[ + "Parameter Attributes", + "-Other" + ], + "tabs_idx":[ + 0, + 4 + ] + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"If", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9840", + "className":"Simulink.RelationalOperator", + "icon":"WebViewIcon3", + "name":"Relational Operator2", + "label":"Relational Operator2", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9925", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9924", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9225", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto3", + "label":"Goto3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "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":"BLDCmotor_FOC_R2017b_fixdt:9926", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto13", + "label":"Goto13", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "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":"BLDCmotor_FOC_R2017b_fixdt:9452", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto12", + "label":"Goto12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "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":"BLDCmotor_FOC_R2017b_fixdt:9454", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From5", + "label":"From5", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "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":"BLDCmotor_FOC_R2017b_fixdt:11470", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9214", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From25", + "label":"From25", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9927", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From7", + "label":"From7", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "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":"BLDCmotor_FOC_R2017b_fixdt:9929", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From16", + "label":"From16", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9928", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From14", + "label":"From14", + "parent":"BLDCmotor_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":"" } }, @@ -1013,22 +1479,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1040,30 +1505,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -1075,19 +1540,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1147,155 +1611,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9924", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9835", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator1", - "label":"Relational Operator1", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9225", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto3", - "label":"Goto3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "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":"BLDCmotor_FOC_R2017b_fixdt:9451", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto11", - "label":"Goto11", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9927", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9908", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From7", - "label":"From7", + "name":"From15", + "label":"From15", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1303,333 +1623,7 @@ "IconDisplay" ], "values":[ - "a_elecAngle", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9840", - "className":"Simulink.RelationalOperator", - "icon":"WebViewIcon3", - "name":"Relational Operator2", - "label":"Relational Operator2", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9454", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From5", - "label":"From5", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "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":"BLDCmotor_FOC_R2017b_fixdt:9215", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9452", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto12", - "label":"Goto12", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "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":"BLDCmotor_FOC_R2017b_fixdt:9928", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From14", - "label":"From14", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9839", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From13", - "label":"From13", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9832", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From12", - "label":"From12", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9831", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From11", - "label":"From11", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9916", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9915", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From", - "label":"From", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "z_pos", + "V_phaABC_FOC", "Tag" ], "tabs":[ @@ -1681,11 +1675,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9929", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9839", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From16", - "label":"From16", + "name":"From13", + "label":"From13", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1693,7 +1687,7 @@ "IconDisplay" ], "values":[ - "r_fieldWeak", + "z_ctrlTypSel", "Tag" ], "tabs":[ @@ -1712,11 +1706,108 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9908", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9842", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"FOC_Method", + "label":"FOC_Method", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9916", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From15", - "label":"From15", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1724,7 +1815,378 @@ "IconDisplay" ], "values":[ - "V_phaABC_FOC", + "VqFin", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:8216", + "className":"Simulink.DataTypeConversion", + "icon":"WebViewIcon3", + "name":"Data Type Conversion6", + "label":"Data Type Conversion6", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "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":"BLDCmotor_FOC_R2017b_fixdt:9831", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From11", + "label":"From11", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9904", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon1", + "name":"COM_Method", + "label":"COM_Method", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9922", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_dir", + "label":"z_dir", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9215", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9206", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"r_inpTgtSca", + "label":"r_inpTgtSca", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9832", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From12", + "label":"From12", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "z_ctrlTypSel", "Tag" ], "tabs":[ @@ -1823,11 +2285,68 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:11470", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9235", + "className":"Simulink.Switch", + "icon":"WebViewIcon3", + "name":"Switch2", + "label":"Switch2", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", + "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":"BLDCmotor_FOC_R2017b_fixdt:9915", "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", + "name":"From", + "label":"From", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ @@ -1835,7 +2354,7 @@ "IconDisplay" ], "values":[ - "VqFin", + "z_pos", "Tag" ], "tabs":[ @@ -1853,6 +2372,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9451", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto11", + "label":"Goto11", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9838", "className":"Simulink.Constant", @@ -1951,6 +2503,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9920", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From6", + "label":"From6", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9207", "className":"Simulink.Constant", @@ -2000,569 +2583,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9925", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9904", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"COM_Method", - "label":"COM_Method", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9923", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_fieldWeak", - "label":"r_fieldWeak", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9926", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto13", - "label":"Goto13", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "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":"BLDCmotor_FOC_R2017b_fixdt:9922", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_dir", - "label":"z_dir", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9842", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon1", - "name":"FOC_Method", - "label":"FOC_Method", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "off", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9206", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"r_inpTgtSca", - "label":"r_inpTgtSca", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9920", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From6", - "label":"From6", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9201", - "className":"Simulink.Inport", - "icon":"WebViewIcon3", - "name":"z_ctrlTypSel", - "label":"z_ctrlTypSel", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9921", "className":"Simulink.Inport", @@ -2631,153 +2651,127 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:8216", - "className":"Simulink.DataTypeConversion", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9923", + "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"Data Type Conversion6", - "label":"Data Type Conversion6", + "name":"r_fieldWeak", + "label":"r_fieldWeak", "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", "inspector":{ "params":[ + "Port", + "IconDisplay", "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":"BLDCmotor_FOC_R2017b_fixdt:9214", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From25", - "label":"From25", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9914", - "className":"Simulink.Merge", - "icon":"WebViewIcon3", - "name":"Merge", - "label":"Merge", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "Inputs", - "InitialOutput", - "AllowUnequalInputPortWidths", - "InputPortOffsets" - ], - "values":[ - "3", - "[]", - "off", - "[]" - ], - "tabs":[ - "Parameter Attributes", - "-Other" - ], - "tabs_idx":[ - 0, - 3 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Merge", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9833", - "className":"Simulink.If", - "icon":"WebViewIcon3", - "name":"If", - "label":"If", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9198", - "inspector":{ - "params":[ - "NumInputs", - "IfExpression", - "ElseIfExpressions", - "ShowElse", + "Unit", + "PortDimensions", + "VarSizeSig", "SampleTime", - "ZeroCross" + "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":"BLDCmotor_FOC_R2017b_fixdt:9201", + "className":"Simulink.Inport", + "icon":"WebViewIcon3", + "name":"z_ctrlTypSel", + "label":"z_ctrlTypSel", + "parent":"BLDCmotor_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", - "u1 ~= 0", - "u2 ~= 0", - "on", + "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":{ @@ -2786,7 +2780,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"If", + "blocktype":"Inport", "masktype":"" } }, diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.png new file mode 100644 index 0000000..5e37bb1 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg similarity index 96% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg index 5c6fbae..4318105 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9198_d.svg @@ -523,31 +523,16 @@ - - - - - - - - - - - int16 - - - - - + - + int16 @@ -558,11 +543,26 @@ - + - + + int16 + + + + + + + + + + + + + + int16 @@ -1005,187 +1005,131 @@ - - - + + + - - + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T - - - - - - - - F + + + + + + + + + + - - + + - + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + sfix16_En4 @@ -1195,6 +1139,641 @@ + + + + + + + + + + + + + + + + + + u1 + + + + + + + + u2 + + + + + + + + if(u1 ~= 0) + + + + + + + + elseif(u2 ~= 0) + + + + + + + + else + + + + + + + + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFinPrev] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFin] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + @@ -1213,51 +1792,51 @@ - + - + VqFin - + - + a_elecAngle - + - + z_dir - + - + r_fieldWeak - + - + V_phaABC_SIN - + - + elseif { } @@ -1287,11 +1866,11 @@ - + - + SIN_Method @@ -1308,11 +1887,11 @@ - + - + action @@ -1329,11 +1908,11 @@ - + - + sfix16_En4 @@ -1361,27 +1940,27 @@ - + - + - + - + - + - + @@ -1407,11 +1986,11 @@ - + - + boolean @@ -1421,795 +2000,6 @@ - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFin] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - sfix16_En6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_inpTgtSca] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFinPrev] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [b_enaAdvCtrl] - - - - - - - - - - - - - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - [VqFin] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_pos] - - - - - - - - - - - - - - - - - - - - - - int8 - - - - - - - - - - - - - - - - - - - - - - - - - - [z_ctrlTypSel] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -2222,11 +2012,11 @@ - + - + [V_phaABC_FOC] @@ -2244,11 +2034,11 @@ - + - + sfix16_En4 @@ -2260,44 +2050,29 @@ - - - + + + - - + + - - + + - - 4 + + [z_ctrlTypSel] - - - - - - - - - - - - - - - - - VqFinPrev + + @@ -2308,91 +2083,43 @@ - - + + - + - + - - [VqFin] + + [z_ctrlTypSel] - + - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - CTRL_SIN - - - - - - - - - - - - - + - - + + - + uint8 @@ -2402,471 +2129,45 @@ - - - - - - - - - - - - - - - - - - CTRL_FOC - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - CTRL_FOC - - - - - - - - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VqFin - - - - - - - - z_pos - - - - - - - - V_phaABC_COM - - - - - - - - else { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - COM_Method - - - - - - - - - - - - - - - - - - - - - action - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9 - - - - - - - - - - - - - - - - - - - - - - r_fieldWeak - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - z_dir - - - - - - - - - - - - - - - int8 - - - - - - - - - + - + - + - + - + V_phaABC_FOC_in - + - + V_phaABC_FOC - + - + if { } @@ -2874,7 +2175,7 @@ - + @@ -2887,7 +2188,7 @@ - + @@ -2896,11 +2197,11 @@ - + - + FOC_Method @@ -2908,7 +2209,7 @@ - + @@ -2917,11 +2218,11 @@ - + - + action @@ -2929,7 +2230,7 @@ - + @@ -2938,11 +2239,11 @@ - + - + sfix16_En4 @@ -2954,239 +2255,50 @@ - + - + - - - - - - - - - - - - - - - 6 - - - - - - - - - - - - - - - - - - - - - - r_inpTgtSca - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - + - + - + - - [b_enaAdvCtrl] + + [VqFin] - + - - - - - - - - - - boolean - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_ctrlTypSel - - - - - - - - - - - - - - - uint8 - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - - - - - - - - - - - - - - - - - - - - - - a_elecAngle - - - - - - + - - + + - - sfix16_En6 + + sfix16_En4 @@ -3207,19 +2319,19 @@ - + - + - + - + @@ -3245,11 +2357,11 @@ - + - + int16 @@ -3261,44 +2373,44 @@ - - + + - + - + - - [z_ctrlTypSel] + + [b_enaAdvCtrl] - + - - + + - - + + - - uint8 + + boolean @@ -3309,59 +2421,127 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + VqFin + + + + + + + + z_pos + + + + + + + + V_phaABC_COM + + + + + + + + else { } + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + COM_Method - + + + + + + + + + + + + + + + + action + + + + + + + + + + + + - - + + - + sfix16_En4 @@ -3373,106 +2553,926 @@ - - - + + + + + + + + + - - + + - - + + - - u1 - - - - - - - - u2 - - - - - - - - if(u1 ~= 0) - - - - - - - - elseif(u2 ~= 0) - - - - - - - - else + + 8 - - + + - - - + + + - - + + - - action + + z_dir - - + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_inpTgtSca] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + + + r_inpTgtSca + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_ctrlTypSel] + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + VqFinPrev + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + + + + + + + F + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_pos] + + + + + + + + + + + + + + + + + + + + + + int8 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFin] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CTRL_SIN + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + CTRL_FOC + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + [b_enaAdvCtrl] + + + + + + + + + + + + + + + + + + + + + + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + CTRL_FOC + + + + + + + + + + + + + + + + + + + + + + uint8 + + + + + + + + + + + + + + + + + + + + + + + + + + 7 + + + + + + + + + + + + + + + + + + + + + + a_elecAngle + + + + + + + + + + + + + + + sfix16_En6 + + + + + + + + + + + + + + + + + + + + + + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + r_fieldWeak + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + - + - - action + + z_ctrlTypSel - - + + - + - - action + + uint8 @@ -4303,5 +4303,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg index f0bc049..6083f7d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9292_d.svg @@ -10,5 +10,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg similarity index 89% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg index d810a7b..917e784 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg @@ -10,5 +10,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json index 102cc74..4521cf8 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.json @@ -492,22 +492,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -519,30 +518,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -554,19 +553,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -644,138 +642,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9801", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto7", - "label":"Goto7", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9800", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto4", - "label":"Goto4", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", - "inspector":{ - "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "local", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"Goto", - "masktype":"" - } - }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9799", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto1", - "label":"Goto1", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9820", - "className":"Simulink.Goto", - "icon":"WebViewIcon3", - "name":"Goto", - "label":"Goto", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9818", "className":"Simulink.From", @@ -807,6 +673,37 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9806", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From3", + "label":"From3", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "GotoTag", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"From", + "masktype":"" + } + }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9805", "className":"Simulink.From", @@ -869,6 +766,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9801", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto7", + "label":"Goto7", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9816", "className":"Simulink.Product", @@ -926,37 +856,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9810", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From4", - "label":"From4", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10677", "className":"Simulink.Constant", @@ -1006,37 +905,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9806", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From3", - "label":"From3", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", - "inspector":{ - "params":[ - "GotoTag", - "IconDisplay" - ], - "values":[ - "r_fieldWeak", - "Tag" - ], - "tabs":[ - "Parameter Attributes" - ], - "tabs_idx":0 - }, - "viewer":{ - "jshandler":"webview/handlers/ElementHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"From", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9798", "className":"Simulink.Inport", @@ -1104,6 +972,70 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9810", + "className":"Simulink.From", + "icon":"WebViewIcon3", + "name":"From4", + "label":"From4", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9799", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto1", + "label":"Goto1", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9795", "className":"Simulink.Inport", @@ -1238,6 +1170,72 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9800", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto4", + "label":"Goto4", + "parent":"BLDCmotor_FOC_R2017b_fixdt:9741", + "inspector":{ + "params":[ + "GotoTag", + "TagVisibility", + "IconDisplay" + ], + "values":[ + "r_fieldWeak", + "local", + "Tag" + ], + "tabs":[ + "Parameter Attributes" + ], + "tabs_idx":0 + }, + "viewer":{ + "jshandler":"webview/handlers/ElementHandler" + }, + "obj_viewer":[ + ], + "finder":{ + "blocktype":"Goto", + "masktype":"" + } + }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9820", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto", + "label":"Goto", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9797", "className":"Simulink.Inport", diff --git a/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.png new file mode 100644 index 0000000..f57d169 Binary files /dev/null and b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.png differ diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg similarity index 97% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg index b6a17d7..a919815 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9741_d.svg @@ -82,7 +82,7 @@ - + @@ -553,7 +553,7 @@ - + @@ -1024,7 +1024,7 @@ - + @@ -1495,7 +1495,7 @@ - + @@ -1638,7 +1638,7 @@ - + @@ -1865,138 +1865,6 @@ - - - - - - - - - - - - - - - - - - [a_elecAngle] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [z_dir] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [V_phaABC_SIN] - - - - - - - - - - - - - - - @@ -2009,11 +1877,11 @@ - + - + [VqFin] @@ -2031,11 +1899,59 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -2057,11 +1973,11 @@ - + - + [z_dir] @@ -2079,11 +1995,11 @@ - + - + int8 @@ -2105,11 +2021,11 @@ - + - + [a_elecAngle] @@ -2127,11 +2043,11 @@ - + - + sfix16_En6 @@ -2141,6 +2057,39 @@ + + + + + + + + + + + + + + + + + + [a_elecAngle] + + + + + + + + + + + + + + + @@ -2153,19 +2102,19 @@ - + - + - + - + @@ -2183,59 +2132,11 @@ - + - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - [V_phaABC_SIN] - - - - - - - - - - - - - - - - - - - - - + sfix16_En4 @@ -2257,11 +2158,11 @@ - + - + 0 @@ -2279,11 +2180,11 @@ - + - + uint8 @@ -2293,54 +2194,6 @@ - - - - - - - - - - - - - - - - - - [r_fieldWeak] - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - @@ -2353,11 +2206,11 @@ - + - + 4 @@ -2375,11 +2228,11 @@ - + - + r_fieldWeak @@ -2390,11 +2243,11 @@ - + - + sfix16_En4 @@ -2404,6 +2257,87 @@ + + + + + + + + + + + + + + + + + + [V_phaABC_SIN] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [z_dir] + + + + + + + + + + + + + + + @@ -2416,11 +2350,11 @@ - + - + 2 @@ -2438,11 +2372,11 @@ - + - + a_elecAngle @@ -2453,11 +2387,11 @@ - + - + sfix16_En6 @@ -2479,11 +2413,11 @@ - + - + 1 @@ -2501,11 +2435,11 @@ - + - + VqFin @@ -2516,11 +2450,11 @@ - + - + sfix16_En4 @@ -2530,6 +2464,72 @@ + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_SIN] + + + + + + + + + + + + + + + @@ -2638,10 +2638,10 @@ - + - + @@ -2913,5 +2913,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json index c48c0fb..bdca10d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.json @@ -752,6 +752,152 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9791", + "className":"Simulink.Constant", + "icon":"WebViewIcon3", + "name":"b_fieldWeakEna", + "label":"b_fieldWeakEna", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:10035", + "className":"Simulink.SubSystem", + "icon":"WebViewIcon7", + "name":"Modulo_fixdt", + "label":"Modulo_fixdt", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9758", "className":"Simulink.Goto", @@ -816,105 +962,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:10035", - "className":"Simulink.SubSystem", - "icon":"WebViewIcon7", - "name":"Modulo_fixdt", - "label":"Modulo_fixdt", - "parent":"BLDCmotor_FOC_R2017b_fixdt:9743", - "inspector":{ - "params":[ - "ShowPortLabels", - "Permissions", - "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", - "ActiveVariant", - "ActiveVariantBlock", - "AllowZeroVariantControls", - "BlockChoice", - "ErrorFcn", - "FunctionInterfaceSpec", - "FunctionWithSeparateData", - "GeneratePreprocessorConditionals", - "IsSubsystemVirtual", - "MemberBlocks", - "OverrideUsingVariant", - "PermitHierarchicalResolution", - "PropExecContextOutsideSubsystem", - "PropagateVariantConditions", - "RTWFcnName", - "RTWFcnNameOpts", - "RTWFileName", - "RTWFileNameOpts", - "RTWMemSecDataConstants", - "RTWMemSecDataInternal", - "RTWMemSecDataParameters", - "RTWMemSecFuncExecute", - "RTWMemSecFuncInitTerm", - "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", - "Variant", - "VariantControl" - ], - "values":[ - "FromPortIcon", - "ReadWrite", - "off", - "off", - "-1", - "Auto", - "", - "", - "off", - "", - "", - "void_void", - "off", - "off", - "on", - "", - "", - "All", - "off", - "off", - "", - "Auto", - "", - "Auto", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "Inherit from model", - "", - "on", - "off", - "" - ], - "tabs":[ - "Main", - "Code Generation", - "-Other" - ], - "tabs_idx":[ - 0, - 5, - 6 - ] - }, - "viewer":{ - "jshandler":"webview/handlers/ContainerHandler" - }, - "obj_viewer":[ - ], - "finder":{ - "blocktype":"SubSystem", - "masktype":"" - } - }, { "sid":"BLDCmotor_FOC_R2017b_fixdt:9794", "className":"Simulink.From", @@ -1013,55 +1060,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9791", - "className":"Simulink.Constant", - "icon":"WebViewIcon3", - "name":"b_fieldWeakEna", - "label":"b_fieldWeakEna", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9747", "className":"Simulink.Inport", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg similarity index 98% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg index f1ae64d..00c271d 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9743_d.svg @@ -226,7 +226,7 @@ - + @@ -995,77 +995,59 @@ - - - + + + - - + + - + - - [r_fieldWeak] + + b_fieldWeakEna - - + + - - - - - - - - - - - - - - - + + + + - - + + - - [r_fieldWeak] - - - - - - - + + b_fieldWeakEna - - + + - - + + - - sfix16_En4 + + boolean @@ -1092,27 +1074,27 @@ - + - + num - + - + div - + - + rem @@ -1131,9 +1113,30 @@ + + + + + + + + + + + + + + + + + sfix16_En6 + + + + - + @@ -1167,23 +1170,89 @@ - + + + + + + + + + + + + + + + + + + + + + - - - - + + + - + + [r_fieldWeak] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [r_fieldWeak] + + + + + + + + + + + + + - - + + - - sfix16_En6 + + sfix16_En4 @@ -1195,12 +1264,6 @@ - - - - - - @@ -1210,11 +1273,11 @@ - + - + [r_fieldWeak] @@ -1232,11 +1295,11 @@ - + - + sfix16_En4 @@ -1258,11 +1321,11 @@ - + - + 3 @@ -1280,11 +1343,11 @@ - + - + r_fieldWeak @@ -1295,11 +1358,11 @@ - + - + sfix16_En4 @@ -1309,69 +1372,6 @@ - - - - - - - - - - - - - - - - - - b_fieldWeakEna - - - - - - - - - - - - - - - - - - - - - - b_fieldWeakEna - - - - - - - - - - - - - - - boolean - - - - - - - - @@ -1689,5 +1689,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.json diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg similarity index 94% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg index c6ad46c..fbeb887 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9842_d.svg @@ -63,7 +63,7 @@ - + @@ -171,5 +171,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json index a1ccb67..755d2ee 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.json @@ -111,27 +111,47 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9912", - "className":"Simulink.Goto", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9236", + "className":"Simulink.LookupNDDirect", "icon":"WebViewIcon3", - "name":"Goto8", - "label":"Goto8", + "name":"z_commutMap_M1", + "label":"z_commutMap_M1", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ - "GotoTag", - "TagVisibility", - "IconDisplay" + "NumberOfTableDimensions", + "InputsSelectThisObjectFromTable", + "TableIsInput", + "Table", + "DiagnosticForOutOfRangeInput", + "TableMin", + "TableMax", + "TableDataTypeStr", + "LockScale", + "SampleTime" ], "values":[ - "VqFin", - "local", - "Tag" + "2", + "Column", + "off", + "z_commutMap_M1", + "None", + "[]", + "[]", + "int8", + "off", + "-1" ], "tabs":[ - "Parameter Attributes" + "Main", + "Table Attributes", + "-Other" ], - "tabs_idx":0 + "tabs_idx":[ + 0, + 5, + 9 + ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -139,7 +159,7 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"Goto", + "blocktype":"LookupNDDirect", "masktype":"" } }, @@ -240,37 +260,6 @@ "masktype":"" } }, - { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9211", - "className":"Simulink.From", - "icon":"WebViewIcon3", - "name":"From1", - "label":"From1", - "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9913", "className":"Simulink.From", @@ -302,6 +291,39 @@ "masktype":"" } }, + { + "sid":"BLDCmotor_FOC_R2017b_fixdt:9912", + "className":"Simulink.Goto", + "icon":"WebViewIcon3", + "name":"Goto8", + "label":"Goto8", + "parent":"BLDCmotor_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":"BLDCmotor_FOC_R2017b_fixdt:9209", "className":"Simulink.Product", @@ -360,47 +382,25 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9236", - "className":"Simulink.LookupNDDirect", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9211", + "className":"Simulink.From", "icon":"WebViewIcon3", - "name":"z_commutMap_M1", - "label":"z_commutMap_M1", + "name":"From1", + "label":"From1", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ - "NumberOfTableDimensions", - "InputsSelectThisObjectFromTable", - "TableIsInput", - "Table", - "DiagnosticForOutOfRangeInput", - "TableMin", - "TableMax", - "TableDataTypeStr", - "LockScale", - "SampleTime" + "GotoTag", + "IconDisplay" ], "values":[ - "2", - "Column", - "off", - "z_commutMap_M1", - "None", - "[]", - "[]", - "int8", - "off", - "-1" + "z_pos", + "Tag" ], "tabs":[ - "Main", - "Table Attributes", - "-Other" + "Parameter Attributes" ], - "tabs_idx":[ - 0, - 5, - 9 - ] + "tabs_idx":0 }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" @@ -408,16 +408,16 @@ "obj_viewer":[ ], "finder":{ - "blocktype":"LookupNDDirect", + "blocktype":"From", "masktype":"" } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9909", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9910", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"VqFin", - "label":"VqFin", + "name":"z_pos", + "label":"z_pos", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ @@ -440,7 +440,7 @@ "OutputFunctionCall" ], "values":[ - "1", + "2", "Port number", "[]", "[]", @@ -480,11 +480,11 @@ } }, { - "sid":"BLDCmotor_FOC_R2017b_fixdt:9910", + "sid":"BLDCmotor_FOC_R2017b_fixdt:9909", "className":"Simulink.Inport", "icon":"WebViewIcon3", - "name":"z_pos", - "label":"z_pos", + "name":"VqFin", + "label":"VqFin", "parent":"BLDCmotor_FOC_R2017b_fixdt:9904", "inspector":{ "params":[ @@ -507,7 +507,7 @@ "OutputFunctionCall" ], "values":[ - "2", + "1", "Port number", "[]", "[]", diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.png b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.png similarity index 100% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.png rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.png diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg similarity index 95% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg index 91a389a..46525e3 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9904_d.svg @@ -94,29 +94,203 @@ - - - + + + - - + + - + - - [VqFin] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2-D T[k] - - + + + + + + + + + + + + + + + + + z_commutMap_M1 + + + + + + + + + + + + + + + int8 @@ -137,11 +311,11 @@ - + - + [V_phaABC_COM] @@ -170,11 +344,11 @@ - + - + [z_pos] @@ -203,11 +377,11 @@ - + - + [VqFin] @@ -225,11 +399,148 @@ - + - + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [V_phaABC_COM] + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 + + + + + + + + + + + + + + + + + + + + + + + + + + [VqFin] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sfix16_En4 @@ -251,11 +562,11 @@ - + - + [z_pos] @@ -273,11 +584,11 @@ - + - + int8 @@ -289,306 +600,58 @@ - - - + + + - - + + - - + + - - [V_phaABC_COM] + + 2 - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sfix16_En4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-D T[k] - - - - - - - + + - - + + - - + + - - z_commutMap_M1 + + z_pos - + - - + + - + int8 @@ -610,11 +673,11 @@ - + - + 1 @@ -632,11 +695,11 @@ - + - + VqFin @@ -647,11 +710,11 @@ - + - + sfix16_En4 @@ -661,69 +724,6 @@ - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - z_pos - - - - - - - - - - - - - - - int8 - - - - - - - - @@ -824,5 +824,5 @@ - + diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json similarity index 99% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json index 9f5041b..fdbc740 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_h_1.json @@ -43,117 +43,117 @@ ":10192", ":9307", ":9305", - ":9303", + ":9304", ":9302", ":9300", ":9299", - ":9298", ":11487", - ":9441", - ":11895", ":10751", ":10749", - ":9293", ":9292", ":9284", - ":10158", - ":11883", - ":9279", - ":9289", - ":9288", - ":9286", - ":11880", - ":11349", - ":9272", - ":11879", - ":9277", - ":9276", - ":9274", - ":9285", - ":9271", - ":9241", - ":9456", - ":9250", - ":11518", ":9301", - ":9306", - ":11019", - ":9278", - ":12677", - ":9418", + ":9282", ":9934", - ":10692", - ":10356", + ":9281", + ":11883", + ":11879", + ":9289", + ":9286", + ":9283", + ":9272", + ":9280", + ":9277", + ":11881", + ":9275", + ":9274", + ":9456", + ":9271", + ":9270", + ":9252", + ":12677", + ":9269", + ":9250", + ":9263", + ":11518", + ":9288", + ":11485", + ":9287", + ":11019", + ":10355", ":10259", ":9268", - ":11882", + ":9267", + ":9266", ":9265", - ":9258", + ":11349", + ":9264", + ":9930", + ":9418", + ":9261", + ":9259", + ":11306", + ":11305", + ":11304", + ":9935", + ":11351", + ":12674", + ":9245", + ":9260", + ":10161", + ":9262", + ":10191", + ":9437", + ":9298", + ":9278", ":10257", ":10160", - ":11306", - ":9269", - ":9253", - ":11304", - ":9283", - ":12674", - ":11351", - ":9249", - ":9287", - ":9931", - ":9245", - ":9244", - ":9304", - ":9259", - ":9240", - ":10191", ":9198", - ":9264", - ":11303", - ":11881", - ":11302", - ":9275", - ":11305", - ":9930", - ":9262", - ":10355", - ":11485", - ":9252", - ":9448", - ":9266", - ":8469", - ":10161", - ":11488", - ":9280", - ":9282", - ":11489", - ":9263", - ":10065", - ":9267", - ":9260", - ":10066", - ":9270", - ":9281", - ":8209", - ":11884", - ":9935", - ":9720", ":8658", - ":8207", - ":8210", - ":8205", - ":8220", + ":9241", + ":11882", + ":8469", + ":9279", + ":11303", + ":9720", + ":9448", + ":11489", + ":10356", + ":9249", ":11700", - ":9437", - ":8203", - ":9261", - ":11348", - ":8206", + ":9441", + ":9240", + ":9303", + ":10065", ":11151", - ":8204", - ":8202", - ":8201", + ":11348", + ":9931", + ":11880", + ":9285", + ":8209", + ":11488", + ":9293", + ":8210", + ":8207", + ":10066", + ":8206", ":8208", + ":9244", + ":11302", + ":9276", + ":11884", + ":8205", + ":10158", + ":8204", + ":9253", + ":8203", + ":10692", + ":9258", + ":8202", + ":8220", + ":11895", + ":8201", + ":9306", ":9268#out:1", ":9260#out:1", ":8220#out:5", @@ -265,13 +265,13 @@ "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11884_d.json", "elements":[ ":11894", - ":11891", ":11893", + ":11891", ":11892", + ":11890", + ":11889", ":11888", ":11887", - ":11889", - ":11890", ":11885", ":11886", ":11886#out:1", @@ -332,41 +332,41 @@ ":8464", ":8426", ":8428", - ":8467", + ":8468", + ":9433", ":8466", ":9933", - ":8463", - ":11413", ":11402", ":8462", ":11355", - ":8460", - ":11353", - ":9432", - ":8450", - ":8446", - ":8449", - ":9932", - ":8434", - ":8429", - ":8451", - ":8427", - ":8432", - ":11414", ":8461", - ":8430", + ":8460", + ":8458", + ":9432", + ":8451", + ":8446", + ":8450", + ":8449", ":8437", + ":8431", + ":8430", + ":8429", + ":11414", + ":11357", + ":8463", ":8384", ":8435", - ":9433", - ":11357", - ":8468", + ":8427", + ":11353", + ":8434", + ":11413", + ":9932", + ":8432", ":8436", - ":8431", - ":11352", - ":8458", ":9431", ":8457", + ":8467", + ":11352", ":8462#out:1", ":8440#out:1", ":8439#out:1", @@ -436,8 +436,8 @@ ":8227", ":8228", ":8234", - ":8232", ":8233", + ":8232", ":8231", ":9634", ":8226#out:1", @@ -566,60 +566,60 @@ ":8290", ":8266", ":8296", + ":9430", ":8378", ":8377", + ":8376", ":8374", - ":9429", - ":8372", + ":8373", ":11461", ":8371", - ":9428", - ":8376", - ":8366", - ":9427", - ":8313", - ":8305", - ":8308", - ":8301", + ":8372", ":8370", - ":8299", - ":8306", - ":9425", - ":8292", + ":8369", + ":9428", + ":8366", + ":8379", ":8314", - ":8286", + ":8308", + ":8306", + ":9429", + ":8303", + ":8301", + ":8300", + ":8299", + ":8305", + ":8297", + ":9425", + ":8294", + ":8292", + ":8285", + ":8313", ":8289", - ":9477", - ":8283", + ":8284", + ":8312", ":8281", ":8311", - ":8282", - ":9430", - ":8280", - ":8369", - ":9426", - ":8298", ":8278", ":8277", - ":8303", - ":8300", - ":8276", - ":8294", - ":8284", + ":8282", + ":8283", + ":8280", + ":9427", ":8275", - ":8312", - ":8379", - ":8267", - ":8272", ":8291", - ":8297", - ":8293", ":8270", + ":8267", + ":9477", + ":8298", + ":9426", + ":8286", + ":8272", ":8268", - ":8285", - ":8373", - ":8309", + ":8276", + ":8293", ":11462", + ":8309", ":8310", ":8293#out:1", ":8312#out:1", @@ -685,18 +685,18 @@ "name":"Counter", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter", "label":"Counter", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_d.json", "elements":[ ":8272:2418", - ":8272:2416", - ":8272:2415", - ":8272:2413", - ":8272:2414", ":8272:2515", + ":8272:2415", + ":8272:2414", + ":8272:2413", ":8272:2412", + ":8272:2416", ":8272:2515#out:1", ":8272:2415#out:1", ":8272:2413#out:1", @@ -716,7 +716,7 @@ "name":"rst_Delay", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter/rst_Delay", "label":"rst_Delay", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8272_2515_d.json", @@ -755,51 +755,51 @@ ":8363", ":8364", ":8365", - ":8360", ":8358", + ":8356", ":8354", - ":8355", ":8353", - ":8351", - ":8359", - ":8349", - ":8346", + ":8348", + ":8347", + ":8357", ":8345", + ":8342", ":8341", ":8340", + ":8346", ":8339", - ":8337", - ":8347", - ":8336", - ":8344", - ":8334", + ":8359", + ":8335", ":8333", ":8332", - ":8357", ":8331", - ":8328", - ":8338", - ":8324", - ":8356", - ":8323", - ":8321", - ":8319", - ":8326", - ":8330", - ":8327", - ":8318", - ":8325", - ":8317", - ":8342", - ":8316", - ":8352", - ":8322", - ":8335", - ":8320", - ":8315", - ":8350", - ":8348", ":8329", + ":8328", + ":8350", + ":8349", + ":8325", + ":8337", + ":8324", + ":8323", + ":8352", + ":8360", + ":8327", + ":8322", + ":8321", + ":8355", + ":8334", + ":8336", + ":8320", + ":8351", + ":8330", + ":8338", + ":8316", + ":8315", + ":8344", + ":8326", + ":8317", + ":8318", + ":8319", ":8343", ":8315#out:1", ":8316#out:1", @@ -877,28 +877,28 @@ ":8391", ":8421", ":8420", - ":8417", - ":11415", + ":8418", ":9664", - ":8411", - ":8412", - ":8400", - ":8404", ":9660", + ":8412", + ":8411", + ":11415", + ":8405", ":8398", ":8397", ":8394", - ":8405", ":8393", - ":8418", - ":8403", ":8392", - ":9665", - ":8389", - ":11459", ":8410", + ":9665", + ":11459", + ":8389", ":8396", ":8395", + ":8404", + ":8400", + ":8403", + ":8417", ":8385#out:1", ":8386#out:1", ":8399#out:1", @@ -954,16 +954,16 @@ ":11358", ":11381", ":11398", - ":11419", ":11410", ":11409", - ":11412", - ":11375", + ":11419", ":11408", - ":11411", + ":11412", ":11438", + ":11375", ":11418", ":11460", + ":11411", ":11406", ":11375#out:1", ":11358#out:1", @@ -1031,21 +1031,21 @@ ":8527", ":9297", ":9291", - ":11021", - ":8504", - ":11832", + ":11835", + ":9395", ":11831", - ":9397", ":11834", ":8492", - ":11833", - ":9395", - ":11769", + ":11021", ":9396", - ":11835", + ":11833", + ":11832", + ":8504", + ":9397", + ":9394", + ":11769", ":11836", ":11020", - ":9394", ":8497#out:1", ":8470#out:1", ":8492#out:1", @@ -1092,52 +1092,52 @@ ":11821", ":11796", ":11795", - ":11815", - ":11813", - ":11811", - ":11812", - ":11808", - ":11807", - ":11806", - ":11801", - ":11799", - ":11798", - ":11797", - ":11817", - ":11818", - ":11816", - ":11791", - ":11789", - ":11794", - ":11784", - ":11783", - ":11779", - ":11785", - ":11777", - ":11786", - ":11776", - ":11788", ":11822", - ":11773", - ":11809", - ":11778", - ":11781", - ":11780", ":11820", + ":11816", + ":11819", + ":11818", + ":11812", + ":11809", + ":11815", + ":11810", + ":11806", + ":11803", + ":11802", + ":11799", + ":11793", ":11792", + ":11791", + ":11800", + ":11789", + ":11797", + ":11786", + ":11811", + ":11785", + ":11794", + ":11813", + ":11790", + ":11817", + ":11798", + ":11780", + ":11808", + ":11779", + ":11778", + ":11777", + ":11783", + ":11782", + ":11788", + ":11776", + ":11787", + ":11774", + ":11773", + ":11801", ":11772", ":11775", - ":11810", - ":11782", - ":11790", - ":11793", - ":11819", - ":11803", - ":11774", + ":11781", + ":11807", + ":11784", ":11770", - ":11800", - ":11802", - ":11787", ":11805", ":11795#out:1", ":11771#out:1", @@ -1196,40 +1196,40 @@ "name":"Debounce_Filter", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter", "label":"Debounce_Filter", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_d.json", "elements":[ ":11784:2496", + ":11784:2473", ":11784:2472", ":11784:2467", - ":11784:2473", - ":11784:2465", + ":11784:2507", + ":11784:2466", ":11784:2464", ":11784:2463", - ":11784:2466", + ":11784:2461", ":11784:2460", + ":11784:2459", ":11784:2458", ":11784:2457", ":11784:2456", - ":11784:2507", - ":11784:2461", - ":11784:2454", - ":11784:2452", - ":11784:2449", - ":11784:2453", - ":11784:2455", - ":11784:2448", ":11784:2509", + ":11784:2451", + ":11784:2455", + ":11784:2449", + ":11784:2448", + ":11784:2453", + ":11784:2454", + ":11784:2462", + ":11784:2465", ":11784:2450", ":11784:2423", ":11784:2422", - ":11784:2451", - ":11784:2421", - ":11784:2459", ":11784:2428", - ":11784:2462", + ":11784:2452", + ":11784:2421", ":11784:2420", ":11784:2471", ":11784:2470", @@ -1284,8 +1284,8 @@ "elements":[ ":11784:2427", ":11784:2426", - ":11784:2424", ":11784:2425", + ":11784:2424", ":11784:2424#out:1" ], "sameAsElement":true @@ -1306,24 +1306,24 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2428_d.json", "elements":[ - ":11784:2445", - ":11784:2444", - ":11784:2443", - ":11784:2441", - ":11784:2436", - ":11784:2434", ":11784:2446", + ":11784:2445", + ":11784:2443", ":11784:2442", - ":11784:2435", - ":11784:2432", - ":11784:2438", ":11784:2440", - ":11784:2431", + ":11784:2438", + ":11784:2444", ":11784:2437", - ":11784:2430", - ":11784:2429", - ":11784:2439", ":11784:2447", + ":11784:2435", + ":11784:2434", + ":11784:2431", + ":11784:2441", + ":11784:2439", + ":11784:2430", + ":11784:2436", + ":11784:2429", + ":11784:2432", ":11784:2433", ":11784:2438#out:1", ":11784:2429#out:1", @@ -1352,18 +1352,18 @@ "name":"Counter", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter", "label":"Counter", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_d.json", "elements":[ + ":11784:2435:2515", ":11784:2435:2418", ":11784:2435:2416", ":11784:2435:2415", ":11784:2435:2414", ":11784:2435:2413", ":11784:2435:2412", - ":11784:2435:2515", ":11784:2435:2515#out:1", ":11784:2435:2415#out:1", ":11784:2435:2413#out:1", @@ -1383,7 +1383,7 @@ "name":"rst_Delay", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter/rst_Delay", "label":"rst_Delay", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2435_2515_d.json", @@ -1418,25 +1418,25 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2473_d.json", "elements":[ + ":11784:2491", ":11784:2492", ":11784:2490", ":11784:2489", - ":11784:2486", - ":11784:2484", - ":11784:2483", - ":11784:2487", - ":11784:2491", - ":11784:2480", - ":11784:2478", - ":11784:2477", - ":11784:2481", - ":11784:2476", ":11784:2488", - ":11784:2479", - ":11784:2475", ":11784:2485", + ":11784:2487", ":11784:2482", + ":11784:2483", + ":11784:2479", + ":11784:2480", + ":11784:2477", + ":11784:2484", + ":11784:2486", + ":11784:2475", + ":11784:2481", ":11784:2474", + ":11784:2478", + ":11784:2476", ":11784:2480#out:1", ":11784:2491#out:1", ":11784:2481#out:1", @@ -1464,17 +1464,17 @@ "name":"Counter", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Counter", "label":"Counter", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_d.json", "elements":[ - ":11784:2480:2416", - ":11784:2480:2515", + ":11784:2480:2418", ":11784:2480:2415", ":11784:2480:2414", + ":11784:2480:2515", + ":11784:2480:2416", ":11784:2480:2413", - ":11784:2480:2418", ":11784:2480:2412", ":11784:2480:2515#out:1", ":11784:2480:2415#out:1", @@ -1495,7 +1495,7 @@ "name":"rst_Delay", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Counter/rst_Delay", "label":"rst_Delay", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2480_2515_d.json", @@ -1524,7 +1524,7 @@ "name":"either_edge", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/either_edge", "label":"either_edge", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11784_2507_d.json", @@ -1549,7 +1549,7 @@ "name":"either_edge", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/either_edge", "label":"either_edge", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11815_d.json", @@ -1585,48 +1585,48 @@ ":11300", ":11283", ":11301", + ":11299", ":11499", ":11297", - ":11295", ":11294", ":11292", - ":11291", - ":11290", - ":11299", ":11850", ":11289", ":11288", ":11287", - ":11285", - ":11498", - ":11282", - ":11851", - ":11279", - ":11280", - ":11278", - ":11277", - ":11276", - ":11274", - ":11201", - ":11200", - ":11159", - ":11296", - ":11852", ":11298", - ":11156", + ":11286", + ":11285", + ":11296", ":11284", - ":11293", - ":11157", - ":10702", - ":11155", - ":11154", + ":11282", + ":11852", + ":11290", + ":11277", + ":11291", ":11281", + ":11276", + ":11295", + ":11279", + ":11851", + ":11201", + ":11275", + ":11280", + ":11159", + ":10702", + ":11200", + ":11157", + ":11293", ":11497", + ":11155", + ":11498", + ":11156", + ":11716", + ":11278", ":11153", ":11152", - ":11286", - ":11275", - ":11716", + ":11274", + ":11154", ":11283#out:1", ":11153#out:1", ":11275#out:1", @@ -1675,53 +1675,53 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11159_d.json", "elements":[ + ":11198", ":11193", + ":11194", ":11190", ":11191", - ":11189", - ":11188", - ":11192", - ":11197", - ":11198", - ":11182", - ":11181", - ":11195", - ":11175", - ":11194", - ":11493", - ":11173", - ":11170", - ":11171", - ":11169", - ":11177", ":11196", - ":11491", - ":11164", + ":11189", + ":11197", + ":11181", ":11180", - ":11163", - ":11162", - ":11165", - ":11160", + ":11188", ":11178", - ":11174", - ":11495", - ":11172", - ":11496", - ":11161", - ":11179", - ":11167", + ":11177", ":11176", - ":11166", + ":11496", + ":11174", + ":11195", + ":11493", + ":11172", + ":11173", + ":11171", + ":11170", ":11168", ":11199", - ":11187", - ":11184", + ":11167", + ":11182", + ":11166", + ":11164", + ":11175", + ":11192", + ":11179", + ":11495", + ":11165", + ":11160", + ":11169", + ":11162", + ":11161", + ":11163", + ":11491", ":11492", - ":11486", + ":11184", + ":11187", ":11183", ":11494", ":11185", ":11186", + ":11486", ":11183#out:1", ":11168#out:1", ":11194#out:1", @@ -1770,7 +1770,7 @@ "name":"F03_02_Control_Mode_Manager", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_02_Control_Mode_Manager", "label":"F03_02_Control_Mode_Manager", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11200_d.json", @@ -1779,19 +1779,19 @@ ":11200:6", ":11200:4", ":11200:28", - ":11200:73", - ":11200:32", - ":11200:12", + ":11200:33", ":11200:30", ":11200:72", - ":11200:31", ":11200:71", + ":11200:32", ":11200:9", - ":11200:33", + ":11200:12", + ":11200:31", + ":11200:73", ":11200:1", - ":11200:14", ":11200:13", - ":11200:2" + ":11200:2", + ":11200:14" ], "sameAsElement":false }, @@ -1816,36 +1816,36 @@ "elements":[ ":11272", ":11273", - ":11270", - ":11253", ":11271", - ":11250", - ":11248", - ":11245", + ":11270", + ":11254", + ":11253", ":11249", ":11246", - ":11242", - ":11241", - ":11251", + ":11248", ":11240", - ":11252", - ":11238", - ":11243", - ":11236", - ":11215", - ":11235", - ":11207", - ":11206", - ":11211", - ":11205", + ":11245", + ":11239", + ":11242", ":11237", + ":11236", + ":11235", + ":11241", + ":11252", + ":11247", + ":11206", + ":11251", + ":11238", + ":11244", + ":11207", + ":11211", ":11204", ":11203", - ":11244", - ":11239", - ":11247", + ":11250", + ":11243", ":11202", - ":11254", + ":11215", + ":11205", ":11215#out:1", ":11241#out:1", ":11238#out:1", @@ -1910,8 +1910,8 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11211_d.json", "elements":[ - ":11214", ":11213", + ":11214", ":11212", ":11212#out:1" ], @@ -1932,24 +1932,24 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11215_d.json", "elements":[ - ":11233", - ":11232", + ":11234", ":11231", ":11230", ":11229", ":11228", - ":11225", - ":11223", - ":11222", ":11226", - ":11221", - ":11220", - ":11219", ":11224", + ":11223", + ":11232", + ":11225", + ":11221", + ":11222", + ":11219", ":11218", - ":11234", + ":11233", ":11227", ":11217", + ":11220", ":11216", ":11216#out:1", ":11221#out:1", @@ -1986,20 +1986,20 @@ "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11254_d.json", "elements":[ ":11269", - ":11268", - ":11265", ":11267", + ":11268", ":11263", ":11262", ":11261", - ":11266", - ":11260", ":11264", ":11259", - ":11256", - ":11257", + ":11260", ":11258", + ":11257", + ":11266", ":11255", + ":11256", + ":11265", ":11255#out:1", ":11257#out:1", ":11267#out:1", @@ -2031,16 +2031,16 @@ "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_d.json", "elements":[ ":11265:2353", - ":11265:2360", ":11265:2343", - ":11265:2346", - ":11265:2395", ":11265:2342", ":11265:2358", - ":11265:2357", + ":11265:2395", ":11265:2356", - ":11265:2355", + ":11265:2346", + ":11265:2360", + ":11265:2357", ":11265:2359", + ":11265:2355", ":11265:2356#out:1", ":11265:2342#out:1", ":11265:2359#out:1", @@ -2063,7 +2063,7 @@ "name":"Delay_Init1", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Delay_Init1", "label":"Delay_Init1", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11265_2342_d.json", @@ -2129,7 +2129,7 @@ "name":"rising_edge_init", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/rising_edge_init", "label":"rising_edge_init", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11267_d.json", @@ -2158,22 +2158,22 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10066_d.json", "elements":[ - ":10064", ":10139", - ":10500", - ":11766", - ":11765", - ":11767", ":11768", - ":11719", - ":10504", - ":10520", - ":10487", - ":10488", - ":10503", - ":11764", - ":12675", ":12676", + ":10504", + ":10503", + ":11767", + ":11766", + ":10064", + ":11719", + ":11764", + ":11765", + ":10500", + ":10488", + ":10487", + ":12675", + ":10520", ":10500#out:1", ":10488#out:1", ":10487#out:1", @@ -2207,41 +2207,44 @@ ":11761", ":11762", ":11763", - ":11760", - ":11757", - ":11756", - ":11752", ":11758", + ":11755", + ":11753", + ":12694", + ":11748", ":11750", - ":11749", + ":12693", ":11746", - ":11751", + ":11744", ":11741", ":11740", - ":11744", ":11739", - ":11748", - ":11753", - ":11738", - ":11736", - ":11734", - ":11731", - ":11729", - ":11733", - ":11727", - ":11732", - ":11724", - ":11723", - ":11759", - ":11722", - ":11726", - ":11721", - ":11728", - ":11755", ":11747", + ":11760", + ":11757", + ":11736", + ":12696", + ":11734", ":11737", + ":11749", + ":11756", + ":11731", + ":11732", ":11730", + ":11751", + ":11728", + ":11727", + ":12695", + ":11726", + ":11724", + ":11752", + ":11723", + ":11722", + ":11738", + ":11759", ":11720", + ":11733", + ":11721", ":11753#out:1", ":11736#out:1", ":11752#out:1", @@ -2250,17 +2253,14 @@ ":11744#out:1", ":11733#out:1", ":11722#out:1", - ":11728#out:1", ":11746#out:1", ":11756#out:1", - ":11727#out:1", ":11751#out:1", ":11731#out:1", ":11750#out:1", ":11755#out:1", ":11734#out:1", ":11747#out:1", - ":11729#out:1", ":11749#out:1", ":11724#out:1", ":11720#out:1", @@ -2269,7 +2269,13 @@ ":11759#out:1", ":11730#out:1", ":11748#out:1", - ":11732#out:1" + ":11732#out:1", + ":12693#out:1", + ":12694#out:1", + ":12695#out:1", + ":12696#out:1", + ":11728#out:1", + ":11727#out:1" ], "sameAsElement":true }, @@ -2373,126 +2379,126 @@ ":9025", ":9197", ":9196", - ":11896", + ":9195", ":10447", ":9072", ":9028", ":12158", ":8864", + ":8863", ":8862", - ":11898", - ":8861", + ":10359", ":12217", - ":11517", - ":12156", - ":8856", ":9717", - ":10728", - ":8848", - ":11928", + ":8851", + ":11472", + ":8850", + ":8849", + ":10719", + ":8846", + ":11922", + ":8843", + ":8842", + ":10703", + ":11920", ":8838", - ":11921", + ":8837", + ":10448", ":10172", + ":10394", ":11484", + ":8826", ":10428", - ":10439", + ":8817", + ":8815", ":10440", - ":8825", ":10433", + ":8811", + ":8913", ":10432", ":10431", - ":10394", - ":8807", - ":8851", ":10362", - ":8846", - ":11929", - ":8817", - ":8798", - ":8797", - ":8850", - ":8796", - ":8795", - ":9027", - ":10698", - ":8790", - ":9195", - ":10697", - ":10719", - ":12155", - ":10359", - ":8786", - ":10446", - ":12152", - ":12154", - ":10437", - ":12153", - ":10729", - ":11911", - ":11897", - ":8776", - ":8772", - ":11922", - ":10436", - ":10430", - ":10429", - ":8768", - ":11515", - ":12218", - ":10687", - ":10393", - ":10435", - ":8849", - ":10445", - ":8815", - ":10707", - ":11909", - ":8787", - ":10364", - ":10448", - ":8811", - ":10434", - ":8863", ":10743", - ":11516", - ":11930", - ":10438", - ":8842", - ":8664", - ":11472", - ":8663", - ":12673", - ":10691", - ":8788", - ":8662", - ":12391", - ":10441", - ":8826", - ":9716", - ":10444", - ":8810", - ":10358", - ":8837", - ":10357", + ":10729", ":10726", + ":8848", + ":8796", + ":11517", + ":12218", + ":10707", + ":10698", ":8839", - ":8843", - ":10703", - ":11912", - ":11853", - ":10360", - ":8913", - ":11920", - ":8660", - ":11471", - ":8661", - ":10395", - ":12216", - ":8659", - ":11913", - ":11900", - ":8853", + ":10445", + ":8790", + ":8788", ":10174", + ":12153", + ":8807", + ":10446", + ":10441", + ":11913", + ":10434", + ":11911", + ":11912", + ":12156", + ":10436", + ":10429", + ":11896", + ":12673", + ":10687", + ":8768", + ":10395", + ":11515", + ":10393", + ":11929", + ":8795", + ":10435", + ":8787", + ":8797", + ":10437", + ":10728", + ":12154", + ":12155", + ":10697", + ":8825", + ":10438", + ":10364", + ":8772", + ":11909", + ":11930", + ":10444", + ":8853", + ":11900", + ":8856", + ":11471", + ":8861", + ":11898", + ":8776", + ":11897", + ":8664", + ":8663", + ":8662", + ":12152", + ":12216", + ":9716", + ":11516", + ":10358", + ":10439", + ":8661", + ":11921", + ":8786", + ":10691", + ":11928", + ":8798", + ":8660", + ":11853", + ":10357", + ":12391", + ":8810", + ":10360", + ":10430", + ":8659", + ":9027", ":8827#out:1", ":8665#out:1", ":8666#out:1", @@ -2622,38 +2628,38 @@ ":8769", ":8778", ":11919", - ":11926", - ":8743", - ":9045", ":11917", - ":11902", - ":8844", - ":11908", - ":10686", - ":11927", - ":11925", - ":8782", - ":9718", + ":9045", ":9713", - ":11924", - ":8775", - ":11914", - ":11915", - ":11906", - ":11918", + ":11902", ":11916", + ":8844", ":8845", - ":8857", + ":11908", ":11907", - ":11904", + ":9718", + ":11924", + ":11925", + ":8781", + ":8775", ":8858", + ":11906", + ":11023", + ":11926", + ":8782", + ":11915", + ":11918", + ":11905", + ":8743", + ":8857", + ":8726", + ":11904", + ":11927", ":11910", ":11903", - ":8781", - ":11023", - ":8726", ":11901", - ":11905", + ":11914", + ":10686", ":8781#out:1", ":8782#out:1", ":9045#out:2", @@ -2700,41 +2706,41 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11023_d.json", "elements":[ + ":11100", + ":11099", ":11097", ":11096", - ":11100", - ":11095", ":11094", - ":11093", - ":11091", - ":11090", - ":11099", - ":11088", - ":11084", - ":11089", - ":11079", - ":11078", - ":11081", - ":11098", - ":11082", - ":11076", + ":11092", ":11087", - ":11074", - ":11072", - ":11056", + ":11085", + ":11084", + ":11081", + ":11080", + ":11088", + ":11079", + ":11095", ":11077", ":11075", - ":11085", + ":11074", + ":11072", ":11101", - ":11080", - ":11026", - ":11025", - ":11083", + ":11056", + ":11078", + ":11091", ":11041", - ":11073", - ":11092", - ":11024", + ":11083", + ":11098", + ":11082", + ":11090", + ":11026", + ":11093", + ":11025", + ":11076", ":11086", + ":11073", + ":11089", + ":11024", ":11056#out:1", ":11079#out:1", ":11078#out:1", @@ -2783,18 +2789,18 @@ "elements":[ ":11040", ":11039", - ":11037", - ":11038", ":11035", - ":11036", - ":11034", ":11031", - ":11032", + ":11034", ":11030", - ":11033", - ":11027", - ":11028", ":11029", + ":11038", + ":11033", + ":11037", + ":11028", + ":11027", + ":11032", + ":11036", ":11028#out:1", ":11027#out:1", ":11030#out:1", @@ -2823,18 +2829,18 @@ "elements":[ ":11055", ":11054", + ":11051", + ":11050", ":11053", ":11052", - ":11051", ":11049", ":11048", - ":11050", - ":11046", - ":11044", + ":11047", ":11045", + ":11044", ":11043", ":11042", - ":11047", + ":11046", ":11051#out:1", ":11052#out:1", ":11048#out:1", @@ -2862,19 +2868,19 @@ "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11056_d.json", "elements":[ ":11071", - ":11069", ":11068", ":11067", - ":11066", - ":11064", + ":11070", ":11063", - ":11065", + ":11062", + ":11066", ":11061", ":11060", - ":11070", ":11059", + ":11069", + ":11064", + ":11065", ":11058", - ":11062", ":11057", ":11061#out:1", ":11060#out:1", @@ -2905,24 +2911,24 @@ "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8726_d.json", "elements":[ ":8742", - ":8740", - ":8739", - ":8738", - ":8734", ":11849", + ":8734", + ":8741", + ":8733", + ":8736", + ":8730", + ":8738", ":8732", - ":8737", - ":8731", - ":8729", - ":10689", + ":8740", ":8735", ":9714", - ":8736", - ":8727", - ":8733", - ":8741", - ":8730", + ":8737", ":8728", + ":8727", + ":8731", + ":8729", + ":8739", + ":10689", ":8739#out:1", ":8729#out:2", ":8740#out:1", @@ -2953,13 +2959,13 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_8738_d.json", "elements":[ - ":8738:2904", ":8738:2902", ":8738:2901", + ":8738:2904", ":8738:2900", + ":8738:2903", ":8738:2899", ":8738:2898", - ":8738:2903", ":8738:2897", ":8738:2898#out:1", ":8738:2900#out:1", @@ -2993,24 +2999,24 @@ ":9069", ":9048", ":9049", - ":9067", - ":9066", ":9065", - ":9063", - ":9061", - ":9060", - ":9059", - ":9057", - ":9056", - ":9052", ":9064", - ":9054", + ":9060", + ":9063", + ":9059", ":9058", - ":9055", - ":9051", - ":9050", ":9062", + ":9054", ":9053", + ":9051", + ":9056", + ":9055", + ":9052", + ":9050", + ":9061", + ":9066", + ":9067", + ":9057", ":9048#out:1", ":9047#out:1", ":9046#out:1", @@ -3051,17 +3057,17 @@ ":8764", ":8757", ":8754", - ":8748", ":9646", - ":8755", ":9644", ":9645", - ":9639", - ":9640", + ":8755", + ":9643", + ":8748", ":10676", + ":9640", + ":9639", ":8758", ":8744", - ":9643", ":8748#out:1", ":10676#out:1", ":8744#out:1", @@ -3090,24 +3096,24 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11930_d.json", "elements":[ - ":12109", - ":12049", + ":12126", + ":12098", + ":12052", ":12048", ":12107", ":12106", - ":12126", - ":12108", - ":12105", ":12044", + ":12105", ":12104", - ":11934", - ":12047", - ":11933", ":11935", - ":12052", + ":12109", + ":11934", + ":11933", + ":12049", ":11932", - ":12098", ":11931", + ":12047", + ":12108", ":12044#out:1", ":11932#out:1", ":11934#out:1", @@ -3143,17 +3149,17 @@ ":12111", ":12110", ":12123", - ":12118", - ":12117", + ":12122", + ":12119", ":12120", ":12116", + ":12118", ":12115", ":12114", - ":12119", - ":12113", - ":12112", - ":12122", ":12121", + ":12117", + ":12112", + ":12113", ":12122#out:1", ":12121#out:1", ":12114#out:1", @@ -3192,24 +3198,24 @@ ":12149", ":12129", ":12130", - ":12148", ":12147", ":12146", - ":12145", - ":12142", + ":12143", ":12141", - ":12139", - ":12138", + ":12142", + ":12137", + ":12136", ":12144", - ":12134", - ":12133", + ":12138", ":12135", ":12140", + ":12145", ":12131", - ":12136", - ":12137", ":12132", - ":12143", + ":12139", + ":12134", + ":12133", + ":12148", ":12129#out:1", ":12128#out:1", ":12127#out:1", @@ -3248,83 +3254,83 @@ "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_10364_d.json", "elements":[ ":10370", - ":10368", - ":10425", ":10391", - ":10424", ":10419", - ":10388", - ":10413", - ":11514", ":10421", - ":10410", + ":10425", + ":10388", + ":11514", + ":10412", + ":10411", + ":10409", + ":10368", ":10723", + ":12668", + ":10722", + ":10427", ":12672", - ":11477", - ":12671", - ":10420", - ":12670", - ":10408", - ":12665", ":12664", ":12662", - ":10387", - ":10367", ":12660", - ":12659", - ":12658", - ":12653", - ":12661", + ":10420", + ":10410", + ":12656", ":12652", - ":12668", - ":10427", + ":10387", ":12650", - ":12649", - ":12651", + ":11477", ":12648", - ":12655", ":12647", - ":10722", ":12646", ":12645", - ":10418", - ":10369", - ":10735", - ":10411", + ":12649", ":12644", - ":11718", - ":11513", - ":10423", - ":10407", - ":11476", - ":12667", - ":10414", - ":10422", - ":10404", - ":10721", - ":10402", - ":10417", ":12654", - ":10426", - ":10415", - ":10405", - ":10406", - ":10412", - ":10734", - ":12392", - ":10373", + ":12670", ":12663", - ":10409", + ":12659", + ":10418", + ":12392", + ":11718", ":10416", - ":10372", - ":10720", - ":12657", - ":10403", - ":10397", ":10398", + ":10424", + ":10721", + ":12655", + ":10367", + ":12671", + ":10423", + ":10413", + ":10408", + ":10415", + ":10414", + ":11513", + ":11476", + ":10407", + ":10422", + ":10397", + ":10369", + ":10405", + ":10403", + ":10373", + ":10406", + ":10372", + ":12653", + ":12651", + ":10734", ":10371", + ":12657", + ":10426", + ":10404", + ":12661", + ":12658", + ":10402", + ":10735", + ":12665", + ":10417", ":12669", - ":12656", + ":10720", + ":12667", ":10367#out:1", ":10369#out:1", ":10373#out:1", @@ -3399,103 +3405,103 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12392_d.json", "elements":[ - ":12616", - ":12546", - ":12481", - ":12479", - ":12477", - ":12474", - ":12473", + ":12643", + ":12642", + ":12487", ":12482", - ":12471", - ":12470", - ":12469", ":12587", - ":12468", + ":12480", + ":12479", + ":12478", + ":12477", + ":12476", + ":12473", + ":12472", + ":12471", + ":12469", + ":12467", + ":12546", ":12466", - ":12465", - ":12464", - ":12547", + ":12463", ":12462", ":12461", - ":12460", - ":12480", - ":12463", + ":12459", + ":12458", + ":12456", + ":12464", ":12455", ":12454", ":12453", - ":12452", - ":12456", + ":12465", ":12450", - ":12449", - ":12487", ":12447", - ":12476", - ":12442", - ":12439", - ":12438", - ":12472", - ":12446", - ":12459", - ":12431", - ":12458", - ":12430", - ":12428", - ":12427", - ":12448", - ":12443", - ":12467", - ":12425", - ":12424", - ":12444", - ":12422", - ":12419", - ":12417", - ":12418", - ":12416", - ":12666", - ":12414", - ":12433", - ":12413", - ":12435", - ":12410", - ":12434", - ":12409", - ":12426", - ":12407", - ":12403", ":12445", - ":12420", - ":12478", - ":12402", - ":12406", - ":12400", - ":12411", - ":12441", - ":12412", - ":12408", - ":12398", - ":12432", - ":12405", + ":12442", + ":12438", ":12436", - ":12396", - ":12401", - ":12457", - ":12440", - ":12642", - ":12395", - ":12397", - ":12394", - ":12643", - ":12404", - ":12437", + ":12616", + ":12435", + ":12441", ":12451", - ":12421", - ":12393", - ":12429", - ":12399", - ":12475", + ":12432", + ":12439", + ":12431", + ":12457", + ":12427", + ":12425", + ":12430", ":12423", + ":12434", + ":12424", + ":12475", + ":12422", + ":12420", + ":12446", + ":12426", + ":12419", + ":12416", + ":12414", + ":12449", + ":12428", + ":12413", + ":12411", + ":12418", + ":12448", + ":12470", + ":12474", + ":12406", + ":12405", + ":12417", + ":12412", + ":12401", + ":12399", + ":12444", + ":12398", + ":12410", + ":12433", + ":12460", + ":12408", + ":12452", + ":12468", + ":12400", + ":12403", + ":12666", + ":12397", + ":12443", + ":12429", + ":12409", + ":12407", + ":12396", + ":12440", + ":12402", + ":12421", + ":12437", + ":12481", + ":12404", + ":12394", + ":12547", + ":12395", + ":12393", ":12419#out:1", ":12425#out:1", ":12480#out:1", @@ -3609,59 +3615,59 @@ "elements":[ ":12544", ":12545", - ":12543", - ":12542", ":12541", - ":12540", + ":12539", ":12538", ":12536", - ":12534", - ":12533", - ":12531", + ":12532", ":12530", - ":12528", - ":12526", - ":12537", ":12525", ":12524", + ":12523", ":12522", ":12521", + ":12519", ":12518", + ":12529", ":12516", ":12515", ":12514", - ":12513", - ":12532", - ":12523", - ":12529", + ":12537", + ":12543", + ":12534", + ":12512", ":12511", - ":12509", + ":12535", ":12510", - ":12506", + ":12509", + ":12507", + ":12531", ":12505", - ":12504", - ":12520", - ":12517", - ":12502", - ":12501", - ":12496", - ":12539", - ":12495", - ":12499", - ":12494", ":12500", ":12498", - ":12519", - ":12493", - ":12507", - ":12503", - ":12492", + ":12542", + ":12533", + ":12528", + ":12504", + ":12496", + ":12520", + ":12495", + ":12526", ":12497", - ":12491", - ":12490", + ":12501", + ":12499", + ":12493", + ":12492", + ":12540", ":12508", - ":12512", - ":12535", + ":12490", + ":12502", + ":12513", + ":12517", + ":12494", + ":12506", + ":12491", + ":12503", ":12489", ":12488", ":12527", @@ -3731,30 +3737,30 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_d.json", "elements":[ - ":12533:2785", - ":12533:2814", - ":12533:2781", - ":12533:2783", - ":12533:2779", - ":12533:2846", - ":12533:2833", ":12533:2817", - ":12533:2832", + ":12533:2781", ":12533:2791", - ":12533:2815", - ":12533:2816", - ":12533:2778", - ":12533:2733", - ":12533:2732", - ":12533:2795", ":12533:2794", - ":12533:2776", - ":12533:2910", - ":12533:2771", - ":12533:2770", - ":12533:2773", ":12533:2845", + ":12533:2783", + ":12533:2832", + ":12533:2776", + ":12533:2779", + ":12533:2785", + ":12533:2815", + ":12533:2795", + ":12533:2733", + ":12533:2814", + ":12533:2846", + ":12533:2910", + ":12533:2732", + ":12533:2773", + ":12533:2778", + ":12533:2833", + ":12533:2771", + ":12533:2816", ":12533:2769", + ":12533:2770", ":12533:2844", ":12533:2910#out:1", ":12533:2791#out:2", @@ -3803,9 +3809,9 @@ ":12533:2839", ":12533:2837", ":12533:2841", + ":12533:2840", ":12533:2836", ":12533:2843", - ":12533:2840", ":12533:2838", ":12533:2843#out:1", ":12533:2838#out:1", @@ -3834,12 +3840,12 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2779_d.json", "elements":[ - ":12533:2790", ":12533:2788", - ":12533:2908", ":12533:2787", ":12533:2909", + ":12533:2790", ":12533:2786", + ":12533:2908", ":12533:2909#out:1", ":12533:2787#out:1", ":12533:2908#out:1", @@ -3863,16 +3869,16 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12533_2791_d.json", "elements":[ - ":12533:2791:2710", - ":12533:2791:2377", ":12533:2791:2709", - ":12533:2791:2707", ":12533:2791:2849", - ":12533:2791:2704", - ":12533:2791:2701", - ":12533:2791:2700", ":12533:2791:2848", + ":12533:2791:2377", + ":12533:2791:2704", + ":12533:2791:2710", + ":12533:2791:2700", + ":12533:2791:2701", ":12533:2791:2699", + ":12533:2791:2707", ":12533:2791:2849#out:1", ":12533:2791:2701#out:1", ":12533:2791:2704#out:1", @@ -3901,45 +3907,45 @@ "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12547_d.json", "elements":[ ":12586", - ":12585", + ":12583", + ":12584", ":12582", - ":12689", - ":12580", ":12581", - ":12577", + ":12580", + ":12579", ":12576", ":12575", - ":12574", - ":12573", ":12572", ":12571", - ":12583", - ":12567", - ":12566", - ":12565", - ":12564", - ":12584", - ":12561", - ":12560", - ":12559", - ":12570", - ":12558", - ":12556", - ":12555", ":12569", - ":12579", ":12578", - ":12551", - ":12554", - ":12552", - ":12550", - ":12562", - ":12557", - ":12549", - ":12553", - ":12563", ":12568", + ":12564", + ":12563", + ":12561", + ":12562", + ":12559", + ":12554", + ":12574", + ":12570", + ":12577", + ":12566", + ":12552", + ":12567", + ":12553", + ":12565", + ":12551", + ":12550", + ":12689", + ":12573", + ":12558", + ":12585", + ":12555", + ":12549", ":12548", + ":12557", + ":12556", + ":12560", ":12549#out:1", ":12548#out:1", ":12550#out:1", @@ -3989,30 +3995,30 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_d.json", "elements":[ - ":12580:2785", ":12580:2817", - ":12580:2781", - ":12580:2783", - ":12580:2779", ":12580:2794", + ":12580:2785", ":12580:2845", - ":12580:2846", ":12580:2833", ":12580:2832", - ":12580:2815", - ":12580:2778", - ":12580:2773", - ":12580:2733", - ":12580:2816", - ":12580:2791", - ":12580:2770", - ":12580:2910", + ":12580:2783", + ":12580:2779", ":12580:2795", - ":12580:2732", - ":12580:2769", + ":12580:2816", + ":12580:2733", + ":12580:2778", + ":12580:2910", + ":12580:2771", ":12580:2814", ":12580:2776", - ":12580:2771", + ":12580:2773", + ":12580:2815", + ":12580:2791", + ":12580:2770", + ":12580:2732", + ":12580:2781", + ":12580:2769", + ":12580:2846", ":12580:2844", ":12580:2910#out:1", ":12580:2791#out:2", @@ -4058,12 +4064,12 @@ ":12580:2819", ":12580:2818", ":12580:2831", - ":12580:2839", ":12580:2837", ":12580:2841", + ":12580:2839", ":12580:2836", - ":12580:2840", ":12580:2843", + ":12580:2840", ":12580:2838", ":12580:2843#out:1", ":12580:2838#out:1", @@ -4092,12 +4098,12 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2779_d.json", "elements":[ - ":12580:2790", ":12580:2788", - ":12580:2908", + ":12580:2790", ":12580:2787", ":12580:2909", ":12580:2786", + ":12580:2908", ":12580:2909#out:1", ":12580:2787#out:1", ":12580:2908#out:1", @@ -4122,12 +4128,12 @@ "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12580_2791_d.json", "elements":[ ":12580:2791:2377", - ":12580:2791:2709", ":12580:2791:2707", - ":12580:2791:2704", - ":12580:2791:2849", - ":12580:2791:2701", ":12580:2791:2710", + ":12580:2791:2849", + ":12580:2791:2709", + ":12580:2791:2704", + ":12580:2791:2701", ":12580:2791:2700", ":12580:2791:2699", ":12580:2791:2848", @@ -4194,33 +4200,33 @@ "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12587_d.json", "elements":[ ":12609", + ":12615", ":12614", - ":12612", + ":12608", + ":12606", ":12611", ":12607", - ":12604", - ":12613", ":12605", - ":12603", - ":12615", + ":12604", ":12602", ":12600", ":12599", ":12598", - ":12601", - ":12594", + ":12613", ":12597", - ":12595", - ":12606", - ":12592", - ":12591", ":12596", - ":12590", - ":12610", - ":12608", - ":12589", - ":12588", + ":12603", ":12593", + ":12591", + ":12601", + ":12590", + ":12612", + ":12610", + ":12594", + ":12588", + ":12595", + ":12592", + ":12589", ":12596#out:1", ":12595#out:1", ":12588#out:1", @@ -4262,30 +4268,30 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_d.json", "elements":[ - ":12607:2783", ":12607:2817", - ":12607:2845", - ":12607:2779", - ":12607:2846", - ":12607:2785", - ":12607:2832", - ":12607:2794", - ":12607:2778", - ":12607:2815", - ":12607:2816", ":12607:2781", + ":12607:2794", + ":12607:2845", + ":12607:2833", + ":12607:2832", + ":12607:2791", + ":12607:2776", ":12607:2795", ":12607:2773", - ":12607:2833", - ":12607:2814", ":12607:2733", - ":12607:2791", ":12607:2732", ":12607:2910", + ":12607:2779", + ":12607:2815", ":12607:2771", - ":12607:2776", + ":12607:2785", ":12607:2770", ":12607:2769", + ":12607:2783", + ":12607:2816", + ":12607:2814", + ":12607:2778", + ":12607:2846", ":12607:2844", ":12607:2910#out:1", ":12607:2791#out:2", @@ -4332,11 +4338,11 @@ ":12607:2818", ":12607:2831", ":12607:2839", + ":12607:2837", + ":12607:2836", ":12607:2841", ":12607:2843", ":12607:2840", - ":12607:2837", - ":12607:2836", ":12607:2838", ":12607:2843#out:1", ":12607:2838#out:1", @@ -4365,12 +4371,12 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12607_2779_d.json", "elements":[ + ":12607:2790", ":12607:2788", ":12607:2908", - ":12607:2787", ":12607:2909", ":12607:2786", - ":12607:2790", + ":12607:2787", ":12607:2909#out:1", ":12607:2787#out:1", ":12607:2908#out:1", @@ -4397,11 +4403,11 @@ ":12607:2791:2377", ":12607:2791:2710", ":12607:2791:2707", - ":12607:2791:2849", - ":12607:2791:2709", ":12607:2791:2704", - ":12607:2791:2701", ":12607:2791:2700", + ":12607:2791:2709", + ":12607:2791:2849", + ":12607:2791:2701", ":12607:2791:2848", ":12607:2791:2699", ":12607:2791:2849#out:1", @@ -4465,31 +4471,31 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12616_d.json", "elements":[ - ":12639", - ":12638", - ":12634", - ":12637", - ":12633", - ":12632", ":12641", - ":12630", - ":12629", - ":12627", - ":12635", - ":12625", - ":12636", - ":12628", - ":12624", - ":12620", - ":12623", - ":12626", - ":12619", - ":12618", - ":12622", - ":12617", - ":12621", + ":12638", ":12640", + ":12637", + ":12636", + ":12634", + ":12632", + ":12639", + ":12629", + ":12628", ":12631", + ":12624", + ":12630", + ":12625", + ":12621", + ":12622", + ":12633", + ":12635", + ":12626", + ":12618", + ":12619", + ":12627", + ":12623", + ":12617", + ":12620", ":12617#out:1", ":12627#out:1", ":12626#out:1", @@ -4563,67 +4569,67 @@ "elements":[ ":9017", ":9014", + ":9013", + ":9012", + ":9009", ":10711", - ":9011", ":9010", + ":10712", ":12219", ":12388", - ":10712", - ":12390", - ":9013", - ":12384", + ":9006", ":12376", ":12382", + ":12383", + ":12381", + ":12374", ":12379", + ":12378", ":12377", - ":10705", - ":9008", + ":12375", + ":8970", + ":8976", + ":12385", ":8969", + ":8962", + ":12390", ":8953", ":12373", - ":12383", ":12372", - ":12385", - ":8954", - ":12380", - ":12367", - ":8970", ":12371", - ":8951", - ":8950", - ":12370", - ":10694", - ":12368", - ":9009", - ":8946", - ":10696", ":12369", - ":12387", - ":8947", - ":8916", - ":12378", - ":10709", - ":8915", - ":8976", - ":8917", + ":12370", ":10710", - ":12374", - ":10704", - ":10693", - ":9006", - ":8944", - ":12375", - ":11717", - ":9012", - ":8914", + ":8947", ":9007", - ":8962", - ":12389", - ":12381", - ":8935", + ":8946", + ":8944", + ":10705", + ":12387", + ":8951", ":8939", - ":8955", + ":9008", + ":8935", + ":8954", + ":10696", + ":11717", + ":12368", + ":10694", + ":10693", + ":8917", + ":9011", + ":10709", + ":8916", + ":12367", + ":8915", ":10695", + ":8955", + ":8950", + ":10704", + ":12384", + ":12389", + ":12380", + ":8914", ":8947#out:1", ":8935#out:1", ":8915#out:1", @@ -4691,92 +4697,92 @@ ":12364", ":12365", ":12366", - ":12361", ":12360", - ":12358", + ":12359", + ":12357", ":12356", + ":12358", + ":12353", ":12351", ":12350", - ":12346", - ":12353", - ":12345", + ":12348", ":12344", - ":12312", - ":12359", - ":12294", - ":12347", - ":12293", - ":12354", - ":12282", - ":12281", - ":12280", - ":12278", - ":12277", - ":12266", - ":12276", - ":12268", - ":12265", - ":12272", - ":12263", - ":12262", - ":12273", - ":12355", - ":12260", - ":12275", - ":12259", - ":12256", - ":12258", - ":12255", - ":12254", - ":12269", - ":12253", - ":12279", - ":12251", ":12349", - ":12357", - ":12248", + ":12281", + ":12279", + ":12278", + ":12276", + ":12275", + ":12273", + ":12282", + ":12271", ":12270", + ":12264", + ":12265", + ":12261", + ":12256", + ":12262", + ":12255", + ":12293", + ":12253", + ":12345", + ":12258", + ":12266", ":12247", ":12246", - ":12244", - ":12242", - ":12352", - ":12241", - ":12271", + ":12249", ":12245", + ":12352", + ":12243", + ":12272", + ":12240", + ":12250", ":12239", ":12238", + ":12237", + ":12244", + ":12268", ":12236", - ":12240", ":12235", ":12234", - ":12252", - ":12267", - ":12249", - ":12232", - ":12243", - ":12230", - ":12229", - ":12264", - ":12311", - ":12274", + ":12280", + ":12354", + ":12312", ":12233", - ":12237", - ":12226", - ":12261", - ":12224", + ":12355", + ":12311", + ":12252", + ":12248", ":12231", - ":12223", - ":12250", - ":12283", + ":12269", + ":12230", + ":12254", + ":12259", + ":12267", + ":12251", ":12228", - ":12225", + ":12263", + ":12274", + ":12223", + ":12361", + ":12226", ":12222", - ":12348", - ":12220", - ":12257", + ":12232", + ":12229", + ":12260", ":12386", + ":12347", + ":12283", + ":12346", + ":12225", + ":12224", + ":12257", ":12221", + ":12294", + ":12242", + ":12220", + ":12241", + ":12277", ":12345#out:1", ":12250#out:1", ":12234#out:1", @@ -4852,14 +4858,14 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12283_d.json", "elements":[ - ":12291", - ":12290", ":12292", - ":12289", + ":12290", ":12288", - ":12286", - ":12285", ":12287", + ":12291", + ":12286", + ":12289", + ":12285", ":12284", ":12284#out:1", ":12289#out:1", @@ -4922,22 +4928,22 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12294_d.json", "elements":[ - ":12305", - ":12304", - ":12307", - ":12303", - ":12308", - ":12310", - ":12300", ":12309", - ":12301", + ":12308", + ":12307", + ":12304", ":12306", + ":12305", ":12302", + ":12301", + ":12303", + ":12300", + ":12310", + ":12299", ":12298", ":12297", ":12296", ":12295", - ":12299", ":12295#out:1", ":12296#out:1", ":12307#out:1", @@ -4964,24 +4970,24 @@ "name":"I_backCalc_fixdt", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt", "label":"I_backCalc_fixdt", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12306_d.json", "elements":[ - ":12306:2894", - ":12306:2892", - ":12306:2877", - ":12306:2869", - ":12306:2895", - ":12306:2893", ":12306:2889", - ":12306:2855", - ":12306:2890", - ":12306:2853", + ":12306:2895", + ":12306:2892", + ":12306:2869", + ":12306:2893", ":12306:2891", + ":12306:2890", + ":12306:2894", + ":12306:2877", ":12306:2854", + ":12306:2853", ":12306:2851", + ":12306:2855", ":12306:2892#out:1", ":12306:2869#out:1", ":12306:2890#out:1", @@ -5079,34 +5085,34 @@ ":12343", ":12342", ":12341", - ":12340", ":12339", ":12338", - ":12333", - ":12331", - ":12332", - ":12329", - ":12328", - ":12326", - ":12323", - ":12322", - ":12320", - ":12325", ":12337", - ":12319", - ":12318", ":12335", - ":12317", - ":12327", - ":12330", ":12334", - ":12316", + ":12333", + ":12332", + ":12328", + ":12325", + ":12329", + ":12336", + ":12322", + ":12321", + ":12320", + ":12318", + ":12326", ":12324", + ":12317", + ":12340", + ":12316", + ":12319", + ":12323", + ":12331", ":12315", ":12314", - ":12336", + ":12330", + ":12327", ":12313", - ":12321", ":12315#out:1", ":12314#out:1", ":12317#out:1", @@ -5143,23 +5149,23 @@ "name":"I_backCalc_fixdt", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt", "label":"I_backCalc_fixdt", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12335_d.json", "elements":[ ":12335:2889", + ":12335:2894", ":12335:2892", ":12335:2895", - ":12335:2894", - ":12335:2891", - ":12335:2855", + ":12335:2893", + ":12335:2877", ":12335:2854", ":12335:2890", - ":12335:2853", - ":12335:2877", ":12335:2869", - ":12335:2893", + ":12335:2853", + ":12335:2891", + ":12335:2855", ":12335:2851", ":12335:2892#out:1", ":12335:2869#out:1", @@ -5193,8 +5199,8 @@ "elements":[ ":12335:2882", ":12335:2896", - ":12335:2879", ":12335:2880", + ":12335:2879", ":12335:2878", ":12335:2878#out:1", ":12335:2880#out:1", @@ -5250,24 +5256,24 @@ "name":"I_backCalc_fixdt1", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1", "label":"I_backCalc_fixdt1", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_d.json", "elements":[ ":12336:2894", ":12336:2889", - ":12336:2892", ":12336:2895", + ":12336:2892", ":12336:2877", - ":12336:2891", - ":12336:2893", ":12336:2855", - ":12336:2854", - ":12336:2890", + ":12336:2893", ":12336:2869", - ":12336:2851", + ":12336:2890", + ":12336:2891", ":12336:2853", + ":12336:2851", + ":12336:2854", ":12336:2892#out:1", ":12336:2869#out:1", ":12336:2890#out:1", @@ -5298,10 +5304,10 @@ "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_12336_2877_d.json", "elements":[ - ":12336:2896", - ":12336:2880", - ":12336:2879", ":12336:2882", + ":12336:2896", + ":12336:2879", + ":12336:2880", ":12336:2878", ":12336:2878#out:1", ":12336:2880#out:1", @@ -5383,46 +5389,46 @@ ":9199", ":9223", ":9449", - ":9235", - ":9741", - ":9233", - ":9924", ":9835", - ":9225", - ":9451", - ":9927", - ":9840", - ":9454", - ":9215", - ":9452", - ":9928", - ":9839", - ":9832", - ":9831", - ":9916", - ":9915", - ":9227", - ":9929", - ":9908", - ":9455", - ":11470", - ":9838", - ":9834", - ":9207", - ":9925", - ":9904", - ":9923", - ":9926", - ":9922", - ":9842", - ":9206", - ":9920", - ":9201", - ":9921", - ":8216", - ":9214", ":9914", ":9833", + ":9840", + ":9925", + ":9924", + ":9225", + ":9926", + ":9452", + ":9454", + ":11470", + ":9214", + ":9927", + ":9929", + ":9928", + ":9741", + ":9233", + ":9908", + ":9227", + ":9839", + ":9842", + ":9916", + ":8216", + ":9831", + ":9904", + ":9922", + ":9215", + ":9206", + ":9832", + ":9455", + ":9235", + ":9915", + ":9451", + ":9838", + ":9834", + ":9920", + ":9207", + ":9921", + ":9923", + ":9201", ":9919", ":9836", ":9208#out:3", @@ -5493,16 +5499,16 @@ "elements":[ ":9907", ":9906", - ":9912", + ":9236", ":9823", ":9911", ":9453", - ":9211", ":9913", + ":9912", ":9209", - ":9236", - ":9909", + ":9211", ":9910", + ":9909", ":9209#out:1", ":9211#out:1", ":9236#out:1", @@ -5561,20 +5567,20 @@ ":9743", ":9819", ":9802", - ":9801", - ":9800", - ":9799", - ":9820", ":9818", + ":9806", ":9805", ":9803", + ":9801", ":9816", - ":9810", ":10677", - ":9806", ":9798", + ":9810", + ":9799", ":9795", ":9796", + ":9800", + ":9820", ":9797", ":9779#out:1", ":10677#out:1", @@ -5630,12 +5636,12 @@ ":9766", ":9756", ":9760", + ":9791", + ":10035", ":9758", ":10175", - ":10035", ":9794", ":9746", - ":9791", ":9747", ":9756#out:1", ":9745#out:1", @@ -5716,7 +5722,7 @@ "name":"Model_Info", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Model_Info", "label":"Model_Info", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_9293_d.json", @@ -5734,17 +5740,17 @@ "name":"Task_Scheduler", "fullname":"BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Task_Scheduler", "label":"Task_Scheduler", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "svg":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.svg", "thumbnail":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.png", "backingUrl":"support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_11895_d.json", "elements":[ - ":11895:20", ":11895:16", - ":11895:12", ":11895:14", + ":11895:18", + ":11895:12", ":11895:10", - ":11895:18" + ":11895:20" ], "sameAsElement":false } diff --git a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json similarity index 98% rename from BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json rename to support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json index 6451e9f..e5abeaa 100644 --- a/BLDC_controller_ert_rtw/html/webview/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json +++ b/support/slwebview_files/BLDCmotor_FOC_R2017b_fixdt_m.json @@ -10,22 +10,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -37,30 +36,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", + "on", "on", - "off", - "Ts_ctrl", - "Auto", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -72,19 +71,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "Ts_ctrl", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -109,22 +107,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -136,30 +133,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -171,19 +168,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -208,22 +204,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -235,30 +230,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -270,19 +265,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -307,22 +301,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -334,30 +327,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -369,19 +362,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -406,22 +398,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -433,30 +424,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -468,19 +459,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -505,22 +495,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -532,30 +521,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -567,19 +556,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -604,22 +592,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -631,30 +618,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -666,19 +653,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -695,7 +681,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"Counter", "label":"Counter", "parent":"BLDCmotor_FOC_R2017b_fixdt:8263", @@ -724,7 +710,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:8272:2515", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"rst_Delay", "label":"rst_Delay", "parent":"BLDCmotor_FOC_R2017b_fixdt:8272", @@ -761,22 +747,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -788,30 +773,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -823,19 +808,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -860,22 +844,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -887,30 +870,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -922,19 +905,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -959,22 +941,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -986,30 +967,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -1021,19 +1002,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1058,22 +1038,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1085,30 +1064,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -1120,19 +1099,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1157,22 +1135,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1184,30 +1161,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -1219,19 +1196,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1256,22 +1232,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1283,30 +1258,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -1318,19 +1293,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1347,7 +1321,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"Debounce_Filter", "label":"Debounce_Filter", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", @@ -1355,22 +1329,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1382,30 +1355,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", + "on", "on", - "off", - "-1", - "Reusable function", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -1417,19 +1390,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Reusable function", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1454,22 +1426,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1481,30 +1452,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -1516,19 +1487,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1553,22 +1523,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1580,30 +1549,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -1615,19 +1584,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1644,7 +1612,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"Counter", "label":"Counter", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2428", @@ -1673,7 +1641,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2435:2515", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"rst_Delay", "label":"rst_Delay", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2435", @@ -1710,22 +1678,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1737,30 +1704,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -1772,19 +1739,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1801,7 +1767,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"Counter", "label":"Counter", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2473", @@ -1830,7 +1796,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2480:2515", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"rst_Delay", "label":"rst_Delay", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784:2480", @@ -1859,7 +1825,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11784:2507", "className":"Either edge detection", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"either_edge", "label":"either_edge", "parent":"BLDCmotor_FOC_R2017b_fixdt:11784", @@ -1867,22 +1833,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1894,30 +1859,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", + "on", "on", - "off", - "-1", - "Auto", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -1929,19 +1894,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -1958,7 +1922,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11815", "className":"Either edge detection", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"either_edge", "label":"either_edge", "parent":"BLDCmotor_FOC_R2017b_fixdt:11769", @@ -1966,22 +1930,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -1993,30 +1956,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", + "on", "on", - "off", - "-1", - "Auto", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -2028,19 +1991,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2065,22 +2027,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2092,30 +2053,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -2127,19 +2088,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2164,22 +2124,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2191,30 +2150,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -2226,19 +2185,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2255,7 +2213,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11200", "className":"Stateflow.Chart", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"F03_02_Control_Mode_Manager", "label":"F03_02_Control_Mode_Manager", "parent":"BLDCmotor_FOC_R2017b_fixdt:11151", @@ -2322,22 +2280,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2349,30 +2306,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -2384,19 +2341,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2421,22 +2377,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2448,30 +2403,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -2483,19 +2438,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2520,22 +2474,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2547,30 +2500,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -2582,19 +2535,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2619,22 +2571,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2646,30 +2597,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -2681,19 +2632,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2718,22 +2668,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -2745,30 +2694,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -2780,19 +2729,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -2902,7 +2850,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11265:2342", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"Delay_Init1", "label":"Delay_Init1", "parent":"BLDCmotor_FOC_R2017b_fixdt:11265", @@ -2970,7 +2918,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11267", "className":"Rising edge init", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"rising_edge_init", "label":"rising_edge_init", "parent":"BLDCmotor_FOC_R2017b_fixdt:11254", @@ -2978,22 +2926,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3005,30 +2952,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", + "on", "on", - "off", - "-1", - "Auto", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -3040,19 +2987,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3077,22 +3023,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3104,30 +3049,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -3139,19 +3084,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3176,22 +3120,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3203,30 +3146,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -3238,19 +3181,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3353,22 +3295,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3380,30 +3321,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -3415,19 +3356,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3452,22 +3392,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3479,30 +3418,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -3514,19 +3453,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3551,22 +3489,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3578,30 +3515,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -3613,19 +3550,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3650,22 +3586,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3677,30 +3612,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -3712,19 +3647,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3749,22 +3683,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3776,30 +3709,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -3811,19 +3744,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3848,22 +3780,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3875,30 +3806,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -3910,19 +3841,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -3947,22 +3877,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -3974,30 +3903,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -4009,19 +3938,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4139,22 +4067,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4166,30 +4093,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -4201,19 +4128,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4238,22 +4164,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4265,30 +4190,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -4300,19 +4225,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4337,22 +4261,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4364,30 +4287,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -4399,19 +4322,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4436,22 +4358,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4463,30 +4384,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -4498,19 +4419,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4535,22 +4455,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4562,30 +4481,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -4597,19 +4516,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4634,22 +4552,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4661,30 +4578,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -4696,19 +4613,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4733,22 +4649,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4760,30 +4675,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -4795,19 +4710,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4832,22 +4746,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4859,30 +4772,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -4894,19 +4807,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -4931,22 +4843,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -4958,30 +4869,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -4993,19 +4904,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5123,22 +5033,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5150,30 +5059,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -5185,19 +5094,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5222,22 +5130,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5249,30 +5156,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -5284,19 +5191,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5414,22 +5320,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5441,30 +5346,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -5476,19 +5381,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5606,22 +5510,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5633,30 +5536,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -5668,19 +5571,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5705,22 +5607,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5732,30 +5633,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -5767,19 +5668,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -5936,22 +5836,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -5963,30 +5862,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -5998,19 +5897,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6128,22 +6026,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6155,30 +6052,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -6190,19 +6087,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6227,22 +6123,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6254,30 +6149,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -6289,19 +6184,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6458,22 +6352,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6485,30 +6378,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -6520,19 +6413,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6596,22 +6488,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6623,30 +6514,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -6658,19 +6549,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6695,22 +6585,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6722,30 +6611,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -6757,19 +6646,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6794,22 +6682,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6821,30 +6708,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -6856,19 +6743,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -6932,22 +6818,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -6959,30 +6844,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -6994,19 +6879,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7023,7 +6907,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:12306", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"I_backCalc_fixdt", "label":"I_backCalc_fixdt", "parent":"BLDCmotor_FOC_R2017b_fixdt:12294", @@ -7060,22 +6944,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7087,30 +6970,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -7122,19 +7005,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7198,22 +7080,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7225,30 +7106,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -7260,19 +7141,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7289,7 +7169,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:12335", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"I_backCalc_fixdt", "label":"I_backCalc_fixdt", "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", @@ -7326,22 +7206,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7353,30 +7232,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -7388,19 +7267,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7456,7 +7334,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:12336", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"I_backCalc_fixdt1", "label":"I_backCalc_fixdt1", "parent":"BLDCmotor_FOC_R2017b_fixdt:12312", @@ -7493,22 +7371,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7520,30 +7397,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -7555,19 +7432,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7631,22 +7507,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7658,30 +7533,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -7693,19 +7568,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7730,22 +7604,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7757,30 +7630,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -7792,19 +7665,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7829,22 +7701,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7856,30 +7727,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -7891,19 +7762,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -7928,22 +7798,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -7955,30 +7824,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "off", "", + "off", "", - "All", "off", "off", "", @@ -7990,19 +7859,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -8027,22 +7895,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -8054,30 +7921,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -8089,19 +7956,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -8126,22 +7992,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -8153,30 +8018,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -8188,19 +8053,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -8310,7 +8174,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:9293", "className":"Simulink.SubSystem", - "icon":"WebViewIcon5", + "icon":"WebViewIcon4", "name":"Model_Info", "label":"Model_Info", "parent":"BLDCmotor_FOC_R2017b_fixdt:29", @@ -8318,22 +8182,21 @@ "params":[ "ShowPortLabels", "Permissions", + "ErrorFcn", + "PermitHierarchicalResolution", "TreatAsAtomicUnit", - "MinAlgLoopOccurrences", - "SystemSampleTime", - "RTWSystemCode", + "TreatAsGroupedWhenPropagatingVariantConditions", "ActiveVariant", "ActiveVariantBlock", "AllowZeroVariantControls", "BlockChoice", - "ErrorFcn", "FunctionInterfaceSpec", "FunctionWithSeparateData", "GeneratePreprocessorConditionals", "IsSubsystemVirtual", "MemberBlocks", + "MinAlgLoopOccurrences", "OverrideUsingVariant", - "PermitHierarchicalResolution", "PropExecContextOutsideSubsystem", "PropagateVariantConditions", "RTWFcnName", @@ -8345,30 +8208,30 @@ "RTWMemSecDataParameters", "RTWMemSecFuncExecute", "RTWMemSecFuncInitTerm", + "RTWSystemCode", + "SystemSampleTime", "TemplateBlock", - "TreatAsGroupedWhenPropagatingVariantConditions", "Variant", "VariantControl" ], "values":[ "FromPortIcon", "ReadWrite", + "", + "All", "off", - "off", - "-1", - "Auto", + "on", "", "", "off", "", - "", "void_void", "off", "off", "on", "", + "off", "", - "All", "off", "off", "", @@ -8380,19 +8243,18 @@ "Inherit from model", "Inherit from model", "Inherit from model", + "Auto", + "-1", "", - "on", "off", "" ], "tabs":[ "Main", - "Code Generation", "-Other" ], "tabs_idx":[ 0, - 5, 6 ] }, @@ -8409,7 +8271,7 @@ { "sid":"BLDCmotor_FOC_R2017b_fixdt:11895", "className":"Stateflow.Chart", - "icon":"WebViewIcon4", + "icon":"WebViewIcon5", "name":"Task_Scheduler", "label":"Task_Scheduler", "parent":"BLDCmotor_FOC_R2017b_fixdt:29",