<?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: encoder position to velocity in Counter/Timer</title>
    <link>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/106472#M960</link>
    <description>I would suggest using the buffered postion measurment.  This allows you to use your other counter or an external device to generate a known pulse train and wire it to the gate of the counter that you are using for the postion measurment.  The count will be sampled on every rising edge of the gate.  In LabVIEW you can take these values and use the Derivative x(t).vi to calculate the velocity.  Use it a second time on the velocity to calculate the acceleration.  Make sure you wire the speed of your gate signal into the dt.  The reason this works is because you are sampling at a fixed rate and the sampling rate does not depend on the software loop time.&lt;BR /&gt;&lt;BR /&gt;I hope this helps out.&lt;BR /&gt;&lt;BR /&gt;Joshua &lt;BR /&gt;</description>
    <pubDate>Thu, 30 Oct 2003 23:54:42 GMT</pubDate>
    <dc:creator>JoshuaP</dc:creator>
    <dc:date>2003-10-30T23:54:42Z</dc:date>
    <item>
      <title>encoder position to velocity</title>
      <link>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/106471#M959</link>
      <description>I am a beginner DAQ user and am trying to use a PCI-6110S to measure the velocity of rotation of a quadrature encoder. i am able to monitor the position change, but do not know what time component i can use to convert the position to velocity and acceleration. pls advise. &lt;BR /&gt;</description>
      <pubDate>Thu, 30 Oct 2003 08:03:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/106471#M959</guid>
      <dc:creator>viper_morgan</dc:creator>
      <dc:date>2003-10-30T08:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: encoder position to velocity</title>
      <link>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/106472#M960</link>
      <description>I would suggest using the buffered postion measurment.  This allows you to use your other counter or an external device to generate a known pulse train and wire it to the gate of the counter that you are using for the postion measurment.  The count will be sampled on every rising edge of the gate.  In LabVIEW you can take these values and use the Derivative x(t).vi to calculate the velocity.  Use it a second time on the velocity to calculate the acceleration.  Make sure you wire the speed of your gate signal into the dt.  The reason this works is because you are sampling at a fixed rate and the sampling rate does not depend on the software loop time.&lt;BR /&gt;&lt;BR /&gt;I hope this helps out.&lt;BR /&gt;&lt;BR /&gt;Joshua &lt;BR /&gt;</description>
      <pubDate>Thu, 30 Oct 2003 23:54:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/106472#M960</guid>
      <dc:creator>JoshuaP</dc:creator>
      <dc:date>2003-10-30T23:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: encoder position to velocity</title>
      <link>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1055691#M8166</link>
      <description>&lt;P&gt;Hello, i think my problem is same too.. but i use another methid to measure position..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i use Count Edges to measure Pulses and i convert this into Degree..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i've a problem too with convert the degree or position to velocity(rpm)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can i just wire this value(degree) by using Derivative.vi? and i hope i get velocity as soon as possible..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and How to get this value(rpm) precisely?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank before...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any answer would be appreciated..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ariawan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2010 05:01:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1055691#M8166</guid>
      <dc:creator>ariawan</dc:creator>
      <dc:date>2010-01-19T05:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: encoder position to velocity</title>
      <link>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1056147#M8167</link>
      <description>&lt;P&gt;If you are able to measure the postion in degrees, you will be able to use the same method as above.&amp;nbsp; Use a known gate signal, as mentioned, to generate a constant time interval for your derivation.&amp;nbsp; You will plug the known period of your gated signal into the &lt;SPAN style="font-weight: bold"&gt;dt&lt;/SPAN&gt; input terminal, and plug your angular postion signal into the &lt;SPAN style="font-weight: bold"&gt;X&lt;/SPAN&gt; input terminal of the &lt;SPAN style="font-weight: bold"&gt;derivative x(t).vi.&lt;/SPAN&gt;&amp;nbsp; The conversion to RPMs can be found by dividing your position in degrees by 360 degrees to represent this value as a revolution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ie: 90 deg = 90deg/(360deg/rev) =&amp;nbsp; 0.25 rev&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;AdamF &lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2010 16:48:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1056147#M8167</guid>
      <dc:creator>enderWiggin10</dc:creator>
      <dc:date>2010-01-19T16:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: encoder position to velocity</title>
      <link>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1056791#M8170</link>
      <description>&lt;P&gt;I don't exactly know about generate constant time..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just using optocoupler sensor..and my output sensor just two is TTL signal(1 and 0) and ground..And i connect it to Ctr0 in my USB 6251 DAQ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i've measured Edge Count and calculate this into degree..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but what i confuse is to get fixed time interval..(as u said that we have to generate constant time by other counter..?how can?? i don't have any Gate signal..or Z index..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so how easily can i measure rpm with my simple device like that??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope u can give the answer...and be appreciate of this..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ariawan &lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2010 15:05:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1056791#M8170</guid>
      <dc:creator>ariawan</dc:creator>
      <dc:date>2010-01-20T15:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: encoder position to velocity</title>
      <link>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1057023#M8171</link>
      <description>It looks like you are posting this issue in two places.&amp;nbsp; Please continue on this thread: &lt;A href="http://forums.ni.com/ni/board/message?board.id=40&amp;amp;message.id=8138&amp;amp;requireLogin=False" target="_blank"&gt;http://forums.ni.com/ni/board/message?board.id=40&amp;amp;message.id=8138&amp;amp;requireLogin=False&lt;/A&gt;</description>
      <pubDate>Wed, 20 Jan 2010 19:25:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1057023#M8171</guid>
      <dc:creator>cyclone09</dc:creator>
      <dc:date>2010-01-20T19:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: encoder position to velocity</title>
      <link>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1058826#M8181</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi ALL,,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i've seen the link that u give to me..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As my picture below..&lt;/P&gt;&lt;P&gt;I've gotten a position value in single sample..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When
i use your advice(it's a N sample method that is formed in array and of
course it uses sample clock method by ither counter)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how can i easily develop RPM(velocity) value by its position? and even i get fixed time interval i can't..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~my optocoupler just has 2 output:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TTL signal and ground&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any comment would be appreciated..Thank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ariawan.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/9634i7B5DD79B1EEE8433/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="buat ni.jpg" title="buat ni.jpg" align="middle" /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jan 2010 13:18:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1058826#M8181</guid>
      <dc:creator>ariawan</dc:creator>
      <dc:date>2010-01-23T13:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: encoder position to velocity</title>
      <link>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1059247#M8183</link>
      <description>&lt;P&gt;Hi ariawan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have posted a new response to your question &lt;A href="http://forums.ni.com/ni/board/message?board.id=40&amp;amp;view=by_date_ascending&amp;amp;message.id=8182#M8182" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp; In the future we would appreciate it if you refrain from opening multiple threads for the same issue (it is difficult for people to tell which questions have/haven't been answered and difficult for others to follow along in general).&amp;nbsp; If you have any follow up questions about this issue please don't hesitate to post back to the &lt;A href="http://forums.ni.com/ni/board/message?board.id=40&amp;amp;message.id=8180" target="_self"&gt;other thread&lt;/A&gt;.&amp;nbsp; Thanks and welcome to the NI forums! &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2010 11:50:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Counter-Timer/encoder-position-to-velocity/m-p/1059247#M8183</guid>
      <dc:creator>John_P1</dc:creator>
      <dc:date>2010-01-25T11:50:02Z</dc:date>
    </item>
  </channel>
</rss>

