<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S12 / MagniV MicrocontrollersのトピックGDU delay in gate signal application</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/GDU-delay-in-gate-signal-application/m-p/436559#M11439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to implement a control for a DC motor using PFM and GDU modules of S12ZVM. I programmed PMF to use channel A base time for all the three legs and I set up other PMF registers to ensure proper symmetrical modulation with dead times.&lt;/P&gt;&lt;P&gt;I monitored PWM signals on PWM pins to check for proper modulation and dead time application. Everithing was as I expected to be a part dead time duration. It seemed to me that dead time value set in PMFDTMA is the total time, the sum of low side and high side dead times.&lt;/P&gt;&lt;P&gt;Anyway, this is a minor problem, probably related to my comprehension of S12ZVM handbooks.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual problem I am experiencing is that gate signals are delayed in the respect of PWM singals and the delays of high and low side are different. Moreover, high side gate signal is completely unrelated to PWM signal: gate signal is longer. This can be seen form attached scope screenshots. The ground for all the measurement is the same. For both the pictures, the signal are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Yellow: low side gate signal.&lt;/LI&gt;&lt;LI&gt;Light blue: high side gate signal (referred to GND).&lt;/LI&gt;&lt;LI&gt;Green: leg output.&lt;/LI&gt;&lt;LI&gt;Violet: difference between signal 2 and 3 (high side Vgs).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Red signal depends on the picture: In Low.BMP file it is low side PWM signal caugth at PWM pin, for High.BMP it is high side PWM signal. Both images have been triggered at the same equivalent time in the period. Duty cycle is fixed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can be seen comparing the pictures is that PWM signals are correctly generated. High side PWM is perfectly centered in the respect of low side signal. Unfortunately there is a slight delay between low side PWM and gate signals (red and yellow in Low.BMP).&lt;/P&gt;&lt;P&gt;What is even worse is the behaviour of hig side signals. Gate signal is strongly delayed and the pulse stands high a lot before PWM falls.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moreover, there is a very huge noise at every commutation which affects the signals.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I check or correct to fix the situation?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2015 15:28:27 GMT</pubDate>
    <dc:creator>albertolega</dc:creator>
    <dc:date>2015-07-22T15:28:27Z</dc:date>
    <item>
      <title>GDU delay in gate signal application</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/GDU-delay-in-gate-signal-application/m-p/436559#M11439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to implement a control for a DC motor using PFM and GDU modules of S12ZVM. I programmed PMF to use channel A base time for all the three legs and I set up other PMF registers to ensure proper symmetrical modulation with dead times.&lt;/P&gt;&lt;P&gt;I monitored PWM signals on PWM pins to check for proper modulation and dead time application. Everithing was as I expected to be a part dead time duration. It seemed to me that dead time value set in PMFDTMA is the total time, the sum of low side and high side dead times.&lt;/P&gt;&lt;P&gt;Anyway, this is a minor problem, probably related to my comprehension of S12ZVM handbooks.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual problem I am experiencing is that gate signals are delayed in the respect of PWM singals and the delays of high and low side are different. Moreover, high side gate signal is completely unrelated to PWM signal: gate signal is longer. This can be seen form attached scope screenshots. The ground for all the measurement is the same. For both the pictures, the signal are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Yellow: low side gate signal.&lt;/LI&gt;&lt;LI&gt;Light blue: high side gate signal (referred to GND).&lt;/LI&gt;&lt;LI&gt;Green: leg output.&lt;/LI&gt;&lt;LI&gt;Violet: difference between signal 2 and 3 (high side Vgs).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Red signal depends on the picture: In Low.BMP file it is low side PWM signal caugth at PWM pin, for High.BMP it is high side PWM signal. Both images have been triggered at the same equivalent time in the period. Duty cycle is fixed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can be seen comparing the pictures is that PWM signals are correctly generated. High side PWM is perfectly centered in the respect of low side signal. Unfortunately there is a slight delay between low side PWM and gate signals (red and yellow in Low.BMP).&lt;/P&gt;&lt;P&gt;What is even worse is the behaviour of hig side signals. Gate signal is strongly delayed and the pulse stands high a lot before PWM falls.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moreover, there is a very huge noise at every commutation which affects the signals.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I check or correct to fix the situation?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 15:28:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/GDU-delay-in-gate-signal-application/m-p/436559#M11439</guid>
      <dc:creator>albertolega</dc:creator>
      <dc:date>2015-07-22T15:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: GDU delay in gate signal application</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/GDU-delay-in-gate-signal-application/m-p/436560#M11440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check these application notes with related example codes:&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4704.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;AN4704 3-phase Sensorless BLDC Motor Control Kit with the S12 MagniV MC9S12ZVM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4704.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4704.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4704.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=F…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sensorless example can be found in &lt;/P&gt;&lt;H3 style="font-size: 14px; text-indent: 0px; font-weight: 600; color: #51626f; font-family: arial, sans-serif; font-style: normal; text-align: left;"&gt;&lt;A class="dtmAssetClick" data-dtmassettype="Download" data-dtmname="Complete motor control application software package for MTRCKTSBNZVM128" href="http://cache.freescale.com/files/32bit/software/app_software/MTRCKTSBNZVM128_SW.exe" style="color: #017bba; font-family: arial, sans-serif;" target="_blank"&gt;Complete motor control application software package for MTRCKTSBNZVM128&lt;/A&gt;&lt;/H3&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/software/app_software/MTRCKTSBNZVM128_SW.exe" title="http://cache.freescale.com/files/32bit/software/app_software/MTRCKTSBNZVM128_SW.exe"&gt;http://cache.freescale.com/files/32bit/software/app_software/MTRCKTSBNZVM128_SW.exe&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4718.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;AN4718 3-Phase BLDC Hall Sensor Application Using S12ZVM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4718.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4718.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4718.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=F…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4718SW.zip" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4718SW.zip"&gt;http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4718SW.zip&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've did some measures of the high and low gates running &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MTRCKTSBNZVM128&amp;amp;cof=0&amp;amp;am=0&amp;amp;tab=Buy_Parametric_Tab" style="color: #017bba; font-family: arial, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;" target="_blank"&gt;MTRCKTSBNZVM128&lt;/A&gt;​ 3-phase Sensorless BLDC Development Kit with S12 MagniV S12ZVM&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MTRCKTSBNZVM128" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MTRCKTSBNZVM128"&gt;3-phase Sensorless BLDC Development Kit with |Freescale&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MTRCKTSBNZVM128&amp;amp;cof=0&amp;amp;am=0&amp;amp;tab=Buy_Parametric_Tab" style="color: #017bba; font-family: arial, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;" target="_blank"&gt; &lt;/A&gt;&lt;/P&gt;&lt;P&gt;And below are capture data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56535iF5156A4B6B8F0EB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 09:40:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/GDU-delay-in-gate-signal-application/m-p/436560#M11440</guid>
      <dc:creator>Martin35804</dc:creator>
      <dc:date>2015-07-27T09:40:43Z</dc:date>
    </item>
  </channel>
</rss>

