<?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>Model-Based Design Toolbox (MBDT)のトピックRe: How to change the Numerator coefficients parameter of Transfer Fcn module in simulink dynamiclly?</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676307#M580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I can not allocate&amp;nbsp;parameter of pid module ,making the partA equal to PartB?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18874iDA53A09500C1B6CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;PID module show as below:&lt;/P&gt;&lt;P&gt;&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/18785i6BD4C6A8BD1BB1FD/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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 May 2017 14:21:44 GMT</pubDate>
    <dc:creator>edenli</dc:creator>
    <dc:date>2017-05-11T14:21:44Z</dc:date>
    <item>
      <title>How to change the Numerator coefficients parameter of Transfer Fcn module in simulink dynamiclly?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676305#M578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I met a question when built the simulink model.&lt;/P&gt;&lt;P&gt;I wanna change the munerator coefficients parameter of Transfer Fcn dynamiclly,but pop up&amp;nbsp;an error,i don't know how to deal with it .&lt;/P&gt;&lt;P&gt;the modle is below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="183566_183566.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122995i1D8F344C6E8FF5BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="183566_183566.png" alt="183566_183566.png" /&gt;&lt;/span&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/17927i65162AB6776FC8E2/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;pop up the error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="183567_183567.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122996i50541B45200C7F22/image-size/large?v=v2&amp;amp;px=999" role="button" title="183567_183567.png" alt="183567_183567.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18000i4EDBA806DE2BA436/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The attachment is the model.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338867"&gt;Model_1.slx.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 10:55:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676305#M578</guid>
      <dc:creator>edenli</dc:creator>
      <dc:date>2017-05-11T10:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Numerator coefficients parameter of Transfer Fcn module in simulink dynamiclly?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676306#M579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eden Li,&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is a Matlab limitation for standard transfer function block that can be easily workaround via:&lt;/P&gt;&lt;P&gt;#1: &lt;STRONG&gt;mathematical approach&lt;/STRONG&gt;, to create the transfer function representation via Simulink basic ADD/MULTIPLY/INTEGRATOR/DERIVATIVE blocks in which we can add DATA STORE READ inputs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18146i99AF70345C1C2350/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;#2: &lt;STRONG&gt;mimic&lt;/STRONG&gt; - reuse other blocks that allows DATA READ to mimic the functionality of standard transfer function block. One example might be PID controller block that can be easily transformed in a 1st or 2nd order transfer function, depending on the options highlighted below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18178i1F4FE0AA147028CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that these 2 approaches works for both S and Z domains&lt;/P&gt;&lt;P&gt;Perhaps others might know better ways. Please leave a comment below for any other approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 11:27:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676306#M579</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-05-11T11:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Numerator coefficients parameter of Transfer Fcn module in simulink dynamiclly?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676307#M580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I can not allocate&amp;nbsp;parameter of pid module ,making the partA equal to PartB?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18874iDA53A09500C1B6CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;PID module show as below:&lt;/P&gt;&lt;P&gt;&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/18785i6BD4C6A8BD1BB1FD/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 14:21:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676307#M580</guid>
      <dc:creator>edenli</dc:creator>
      <dc:date>2017-05-11T14:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Numerator coefficients parameter of Transfer Fcn module in simulink dynamiclly?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676308#M581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For digital transfer function we can add the DATA READ directly because it is supported in the UI&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19153i9F5630E377BAF735/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And you'll have something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19190i67D42D2A41DC4849/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the suggestion with "mimic" you need to play a bit with the maths - since it is not straightforward like using a single block.&lt;/P&gt;&lt;P&gt;Here is a glace of what you can do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19242i63AA9226AF4E9F54/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 15:24:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676308#M581</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-05-11T15:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Numerator coefficients parameter of Transfer Fcn module in simulink dynamiclly?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676309#M582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;The two ways above to solve the &amp;nbsp;theme is valid,but i&amp;nbsp;come across another question,the constant 8 inputs the Discrete Transfer Fcn and the &amp;nbsp;continuous&amp;nbsp;&lt;SPAN&gt;Transfer Fcn at same time,but the result is great defference.i changed a lot of parameter about the&amp;nbsp;Discrete Transfer Fcn ,but result is not improment.&lt;/SPAN&gt;&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/18046iDE7B68855F10DF2B/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 07:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676309#M582</guid>
      <dc:creator>edenli</dc:creator>
      <dc:date>2017-05-12T07:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Numerator coefficients parameter of Transfer Fcn module in simulink dynamiclly?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676310#M583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eden Li,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has nothing to do with the modelling - it is pure math, especially control system theory :-) What are you trying to do is not accurate - you can't swap the coefficient from Laplace domain to Z-domain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all the H(s) is a continuous function and before calculating the Z-transform of H(s) you need to sample . What you want is to convert the H(s) -&amp;gt; H(z) by calculating the Z-transform of h(t) sampled of different intervals T and is know as inverse Laplace transform of H(s)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My recommendation is to read these Mathworks articles about &lt;A href="https://www.mathworks.com/help/control/ref/c2d.html?searchHighlight=c2d&amp;amp;s_tid=doc_srchtitle"&gt;continuous2discrete&lt;/A&gt; and &lt;A href="https://www.mathworks.com/help/control/ref/d2c.html?searchHighlight=d2c&amp;amp;s_tid=doc_srchtitle"&gt;discrete2continuous&lt;/A&gt; transformations.&lt;/P&gt;&lt;P&gt;After that you should get similar waveforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 09:02:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676310#M583</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-05-12T09:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Numerator coefficients parameter of Transfer Fcn module in simulink dynamiclly?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676311#M584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thank you very much! you give me a hint!Now i solved the question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;P&gt;Eden Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 14:43:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-change-the-Numerator-coefficients-parameter-of-Transfer/m-p/676311#M584</guid>
      <dc:creator>edenli</dc:creator>
      <dc:date>2017-05-12T14:43:39Z</dc:date>
    </item>
  </channel>
</rss>

