


{"id":382702,"date":"2024-09-15T02:51:30","date_gmt":"2024-09-15T02:51:30","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/180-degree-phase-shift-when-measuring-s21\/"},"modified":"2024-09-15T02:51:30","modified_gmt":"2024-09-15T02:51:30","slug":"180-degree-phase-shift-when-measuring-s21","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/180-degree-phase-shift-when-measuring-s21\/","title":{"rendered":"180 Degree Phase Shift When Measuring S21"},"content":{"rendered":"<p>&lt;p&gt;Hi,&lt;\/p&gt;&lt;p&gt;I&#8217;m running a parametric sweep by rotating a probe around a central horn antenna. I&#8217;m showing a few images below for illustration.&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/15-09-2024-1726367016-mceclip0.png\" \/>&lt;\/p&gt;&lt;p&gt;Fig 1: At Theta = 0 degrees.&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/15-09-2024-1726367219-mceclip1.png\" \/>&lt;\/p&gt;&lt;p&gt;Fig 2: At Theta = 10 degrees&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/09\/15-09-2024-1726367258-mceclip2.png\" \/>&lt;\/p&gt;&lt;p&gt;Fig 3: Theta = 20 degrees&lt;\/p&gt;&lt;p&gt;&#8230;And so on&#8230;&lt;\/p&gt;&lt;p&gt;When I measure the phase of the S21 results, I see random 180 degree shifts in the measurements. I am not able to see any pattern in these shifts either.&lt;\/p&gt;&lt;p&gt;I thought perhaps it was because I was initially using 2 FE-BI boundaries and that might be causing an issue. So I tried a single Radiation boundary instead, but that also didn&#8217;t help.&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;table style=&#8221;border-collapse: collapse; width: 186pt;&#8221; border=&#8221;0&#8243; width=&#8221;248&#8243; cellspacing=&#8221;0&#8243; cellpadding=&#8221;0&#8243;&gt;&lt;colgroup&gt;&lt;col style=&#8221;mso-width-source: userset; mso-width-alt: 3474; width: 71pt;&#8221; width=&#8221;95&#8243;&gt; &lt;col style=&#8221;mso-width-source: userset; mso-width-alt: 5595; width: 115pt;&#8221; width=&#8221;153&#8243;&gt; &lt;\/colgroup&gt;&lt;tbody&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt; width: 71pt;&#8221; width=&#8221;95&#8243; height=&#8221;20&#8243;&gt;theta_rotation [deg]&lt;\/td&gt;&lt;td style=&#8221;width: 115pt;&#8221; width=&#8221;153&#8243;&gt;S21 Phase Results [deg]&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;-10&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;101.2924367&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;-9&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;103.7009139&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;-8&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;105.601412&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;-7&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;107.5837877&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;-6&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;109.0814497&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;-5&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;110.6225511&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;-4&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;-68.19983945&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;-3&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;112.7819268&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;-2&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;-66.46548137&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;-1&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;-65.96723292&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;0&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;114.1349591&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;1&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;114.08219&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;2&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;113.6846084&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;3&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;-66.93414481&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;4&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;112.1847997&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;5&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;111.1811682&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;6&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;109.7736687&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;7&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;-71.78552943&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;8&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;106.3168243&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;9&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;104.558732&lt;\/td&gt;&lt;\/tr&gt;&lt;tr style=&#8221;height: 15.0pt;&#8221;&gt;&lt;td style=&#8221;height: 15.0pt;&#8221; align=&#8221;right&#8221; height=&#8221;20&#8243;&gt;10&lt;\/td&gt;&lt;td align=&#8221;right&#8221;&gt;102.4050767&lt;\/td&gt;&lt;\/tr&gt;&lt;\/tbody&gt;&lt;\/table&gt;&lt;p&gt;As you can see from these results, at random points the phase shifts down by ~180 degrees.&lt;\/p&gt;&lt;p&gt;For example at Theta = -4, the phase measurement is -68.2 degrees, whereas at Theta = -5 it is 110.6 degrees, and at Theta = -3 it is 112.8 degrees. The -68.2 measurement seems to be shifted down by 180 degrees (-68.2 + 180 = 111.8). 111.8 degrees seems like a more reasonable measurement. This occurs again at random points with no discernible pattern.&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;Can I please get some feedback on why this issue might be occuring and how I can fix it?&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;Thank you,&lt;\/p&gt;&lt;p&gt;Shyam&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-382702","topic","type-topic","status-publish","hentry","topic-tag-ansys-hfss","topic-tag-hfss"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["449801","39445"],"_bbp_author_ip":["137.122.64.52"],"_btv_view_count":["690"],"_bbp_topic_status":["unanswered"],"_edit_lock":["1726368789:449801"],"_bbp_topic_id":["382702"],"_bbp_forum_id":["27793"],"_bbp_engagement":["39445","449801"],"_bbp_voice_count":["2"],"_bbp_reply_count":["7"],"_bbp_last_reply_id":["388272"],"_bbp_last_active_id":["388272"],"_bbp_last_active_time":["2024-10-05 20:05:30"]},"test":"spate035uottawa-ca"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/382702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/382702\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=382702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}