<?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>topic Re: How to Read DC Bus voltage with Simulink in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Read-DC-Bus-voltage-with-Simulink/m-p/706593#M1216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why do you think it is Index 12 ?&lt;/P&gt;&lt;P&gt;I am using the KV46F150M Controller. The Pins you can see in the following picture.&lt;/P&gt;&lt;P&gt;U_dcb is connected to Pin 11 and ADCA_CH1, so i would configure Index 1 in the ADC Read Block...&lt;/P&gt;&lt;P&gt;Is that correct ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="U_dcb am Controller KV46.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29761i7AFD21E438B381F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="U_dcb am Controller KV46.PNG" alt="U_dcb am Controller KV46.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think about this solution ?&lt;/P&gt;&lt;P&gt;The step Block has a step time&amp;nbsp;of 3 seconds.&lt;/P&gt;&lt;P&gt;If the step time is reached or the value from the dc bus voltage is higher or equal than 3.3V *&amp;nbsp;80% = 2.64&amp;nbsp;(which is read&amp;nbsp;by the adc read block index 1 ??) the digital Output will be set to high. Pin PTC13 is connected to the relay, you can see here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Relay am Controller KV46.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29837i796C9E0A9941277C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Relay am Controller KV46.PNG" alt="Relay am Controller KV46.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Simulink DC Bus Spannung einlesen und RT1 überbrücken.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29716i3D38F3915DE9718E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Simulink DC Bus Spannung einlesen und RT1 überbrücken.PNG" alt="Simulink DC Bus Spannung einlesen und RT1 überbrücken.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Sep 2017 06:57:51 GMT</pubDate>
    <dc:creator>lethuer</dc:creator>
    <dc:date>2017-09-19T06:57:51Z</dc:date>
    <item>
      <title>How to Read DC Bus voltage with Simulink</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Read-DC-Bus-voltage-with-Simulink/m-p/706591#M1214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;In the User Guide for the HVP-MC3PH board I found the following;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;EM&gt;4.6 Current inrush circuit&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;The inrush circuit is used during the powering of highvoltage circuits. It is based on the (NTC) Thermistor RT1 and the shorting relay K1. Before powering the power circuits, the DCbus capacitors are usually discharged. To avoid a huge current pulse when the power is connected, the RT1 limits the current to a reasonable value. This protects from melting the fuse, input filter, rectifier and the output capacitors from current shock. Immediately after the output capacitors are charged, the relay must short RT1 to avoid overheating. This should be done by the user once the DCbus voltage achieves 80% of nominal value, usually in the time range 0.3 – 3 seconds after power is applied.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Now I would like to measure the DC bus voltage and switch the relay output at 80%, whereby RT1 is bridged.&lt;/P&gt;&lt;P style="border: 0px;"&gt;For that&amp;nbsp;the voltage&amp;nbsp;could read with an analog input&amp;nbsp;in a Simulink&amp;nbsp;model and if 80% are reached the&amp;nbsp;digital output PTC13&amp;nbsp;(where the relay is connected) would switch on.&lt;/P&gt;&lt;P style="border: 0px;"&gt;Unfortunately, I could not figure out where the DC bus voltage is measured.&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Which sample index I have to configure in the Simulink ADC Block ?&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN lang="en" style="border: 0px; font-weight: inherit;"&gt;Which value&amp;nbsp;I have to configure in a compare block, so that it matches 80% DC Bus voltage ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN lang="en" style="border: 0px; font-weight: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Or should I connect a switch&amp;nbsp;externally at J2 (e.g. RxD_EXT), read it&amp;nbsp;by a digital input block&amp;nbsp;and manually operate it&amp;nbsp;after 0.3-3 seconds?&lt;/P&gt;&lt;P style="border: 0px;"&gt;A software-controlled solution would be more elegant ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 15:43:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Read-DC-Bus-voltage-with-Simulink/m-p/706591#M1214</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-09-18T15:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read DC Bus voltage with Simulink</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Read-DC-Bus-voltage-with-Simulink/m-p/706592#M1215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lethuer"&gt;lethuer&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;I do not have the board in my possession - but from the &lt;A href="https://cache.nxp.com/docs/en/user-guide/HVPMC3PHUG.pdf"&gt;board user manual&lt;/A&gt; the VDC should be connected on pin B4 which in turns should be ADC index/result 12&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29139i2FE3D0EE2DD92FE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if that works.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 16:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Read-DC-Bus-voltage-with-Simulink/m-p/706592#M1215</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-09-18T16:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read DC Bus voltage with Simulink</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Read-DC-Bus-voltage-with-Simulink/m-p/706593#M1216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why do you think it is Index 12 ?&lt;/P&gt;&lt;P&gt;I am using the KV46F150M Controller. The Pins you can see in the following picture.&lt;/P&gt;&lt;P&gt;U_dcb is connected to Pin 11 and ADCA_CH1, so i would configure Index 1 in the ADC Read Block...&lt;/P&gt;&lt;P&gt;Is that correct ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="U_dcb am Controller KV46.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29761i7AFD21E438B381F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="U_dcb am Controller KV46.PNG" alt="U_dcb am Controller KV46.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think about this solution ?&lt;/P&gt;&lt;P&gt;The step Block has a step time&amp;nbsp;of 3 seconds.&lt;/P&gt;&lt;P&gt;If the step time is reached or the value from the dc bus voltage is higher or equal than 3.3V *&amp;nbsp;80% = 2.64&amp;nbsp;(which is read&amp;nbsp;by the adc read block index 1 ??) the digital Output will be set to high. Pin PTC13 is connected to the relay, you can see here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Relay am Controller KV46.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29837i796C9E0A9941277C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Relay am Controller KV46.PNG" alt="Relay am Controller KV46.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Simulink DC Bus Spannung einlesen und RT1 überbrücken.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29716i3D38F3915DE9718E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Simulink DC Bus Spannung einlesen und RT1 überbrücken.PNG" alt="Simulink DC Bus Spannung einlesen und RT1 überbrücken.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 06:57:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-Read-DC-Bus-voltage-with-Simulink/m-p/706593#M1216</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-09-19T06:57:51Z</dc:date>
    </item>
  </channel>
</rss>

