From 577cd7a75dd7e44b6c97eaf208ceabb7b7356f99 Mon Sep 17 00:00:00 2001 From: Rampagy Date: Sun, 19 Feb 2023 19:54:56 -0600 Subject: [PATCH 1/2] Adding commutation method option --- res/config/6.02/parameters_mcconf.xml | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/res/config/6.02/parameters_mcconf.xml b/res/config/6.02/parameters_mcconf.xml index 6ef7031cf..536a3b3b3 100644 --- a/res/config/6.02/parameters_mcconf.xml +++ b/res/config/6.02/parameters_mcconf.xml @@ -16,6 +16,42 @@ p, li { white-space: pre-wrap; } Synchronous Bipolar + + SVM Method + 4 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Roboto'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">ALT_REV_SEQ</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Most stable and common commutation method.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">NULL_V0</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Also referred to as &quot;flat bottom&quot; commutation. Reduces switching losses and potentially stability. It may cause the low side transistors to heat up faster.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">NULL_V7</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Also referred to as &quot;flat top&quot; commutation. Reduce switching losses and potentially stability. It may cause the low side transistors to heat up faster.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">V7_ODD_V0_EVEN</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Alternates between Null V0 and Null V7 to help spread the heat out between the transistors while still reducing switching losses. Uses NULL_V0 in sectors [2, 4, 6], and NULL_V7 in sectors [1, 3, 5]. Stability may be reduced.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">V0_ODD_V7_EVEN</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Alternates between Null V0 and Null V7 to help spread the heat out between the transistors while still reducing switching losses. Uses NULL_V0 in sectors [1, 3, 5], and NULL_V7 in sectors [2, 4, 6]. Stability may be reduced.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Additional Info:</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">https://github.com/vedderb/bldc/pull/590</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">https://youtu.be/5eQyoVMz1dY</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">https://link.gale.com/apps/doc/A18320578/AONE</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + MCCONF_FOC_COMMUTATION_TYPE + 0 + ALT_REV_SEQ + NULL_V0 + NULL_V7 + V7_ODD_V0_EVEN + V0_ODD_V7_EVEN + Commutation Mode 4 From 2834368fc76413697515144d5426693cec1764ae Mon Sep 17 00:00:00 2001 From: Rampagy Date: Sun, 19 Feb 2023 20:07:10 -0600 Subject: [PATCH 2/2] Updating commutation method parameter --- res/config/6.02/parameters_mcconf.xml | 74 ++++++++++++++------------- 1 file changed, 38 insertions(+), 36 deletions(-) diff --git a/res/config/6.02/parameters_mcconf.xml b/res/config/6.02/parameters_mcconf.xml index 536a3b3b3..be538afbf 100644 --- a/res/config/6.02/parameters_mcconf.xml +++ b/res/config/6.02/parameters_mcconf.xml @@ -16,42 +16,6 @@ p, li { white-space: pre-wrap; } Synchronous Bipolar - - SVM Method - 4 - 1 - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Roboto'; ; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">ALT_REV_SEQ</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Most stable and common commutation method.</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">NULL_V0</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Also referred to as &quot;flat bottom&quot; commutation. Reduces switching losses and potentially stability. It may cause the low side transistors to heat up faster.</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">NULL_V7</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Also referred to as &quot;flat top&quot; commutation. Reduce switching losses and potentially stability. It may cause the low side transistors to heat up faster.</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">V7_ODD_V0_EVEN</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Alternates between Null V0 and Null V7 to help spread the heat out between the transistors while still reducing switching losses. Uses NULL_V0 in sectors [2, 4, 6], and NULL_V7 in sectors [1, 3, 5]. Stability may be reduced.</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">V0_ODD_V7_EVEN</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Alternates between Null V0 and Null V7 to help spread the heat out between the transistors while still reducing switching losses. Uses NULL_V0 in sectors [1, 3, 5], and NULL_V7 in sectors [2, 4, 6]. Stability may be reduced.</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Additional Info:</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">https://github.com/vedderb/bldc/pull/590</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">https://youtu.be/5eQyoVMz1dY</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">https://link.gale.com/apps/doc/A18320578/AONE</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> - MCCONF_FOC_COMMUTATION_TYPE - 0 - ALT_REV_SEQ - NULL_V0 - NULL_V7 - V7_ODD_V0_EVEN - V0_ODD_V7_EVEN - Commutation Mode 4 @@ -2766,6 +2730,42 @@ p, li { white-space: pre-wrap; } Corrected Position Observer + + SVM Method + 4 + 1 + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Roboto'; ; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">ALT_REV_SEQ</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Most stable and common commutation method.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">NULL_V0</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Also referred to as &quot;flat bottom&quot; commutation. Reduces switching losses and potentially stability. It may cause the low side transistors to heat up faster.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">NULL_V7</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Also referred to as &quot;flat top&quot; commutation. Reduce switching losses and potentially stability. It may cause the low side transistors to heat up faster.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">V7_ODD_V0_EVEN</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Alternates between Null V0 and Null V7 to help spread the heat out between the transistors while still reducing switching losses. Uses NULL_V0 in sectors [2, 4, 6], and NULL_V7 in sectors [1, 3, 5]. Stability may be reduced.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ; font-weight:600;">V0_ODD_V7_EVEN</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Alternates between Null V0 and Null V7 to help spread the heat out between the transistors while still reducing switching losses. Uses NULL_V0 in sectors [1, 3, 5], and NULL_V7 in sectors [2, 4, 6]. Stability may be reduced.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Additional Info:</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">https://github.com/vedderb/bldc/pull/590</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">https://youtu.be/5eQyoVMz1dY</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">https://link.gale.com/apps/doc/A18320578/AONE</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + MCCONF_FOC_COMMUTATION_TYPE + 0 + ALT_REV_SEQ + NULL_V0 + NULL_V7 + V7_ODD_V0_EVEN + V0_ODD_V7_EVEN + Buffer Notification Length 2 @@ -4488,6 +4488,7 @@ p, li { white-space: pre-wrap; } foc_fw_ramp_time foc_fw_q_current_factor foc_speed_soure + foc_commutation_type gpd_buffer_notify_left gpd_buffer_interpol gpd_current_filter_const @@ -4863,6 +4864,7 @@ p, li { white-space: pre-wrap; } foc_mtpa_mode foc_observer_offset foc_speed_soure + foc_commutation_type