<?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>8-bit MicrocontrollersのトピックRe: elevator displacement</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/elevator-displacement/m-p/178326#M12664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;first of all - thanks for replying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;first i'm trying it on a 4 floor building.&lt;/P&gt;&lt;P&gt;i've managed to get everything done. i calculate the displacement correctly and pretty accurately (but then again, it's only 4 floors), but i do have one problem - the distance measured upwards isn't equal to the distance measured downwards.&lt;/P&gt;&lt;P&gt;a distance of one floor journey&amp;nbsp;&amp;nbsp;is 3 meters when going up, but 2.7 meters when going down.&lt;/P&gt;&lt;P&gt;i must say all the measures are fairly constant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm pretty sure it's gravity related, just not sure what. anyone got an idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Feb 2011 03:17:08 GMT</pubDate>
    <dc:creator>dimor</dc:creator>
    <dc:date>2011-02-08T03:17:08Z</dc:date>
    <item>
      <title>elevator displacement</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/elevator-displacement/m-p/178324#M12662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;i've been given a task to measure elevator displacement with an accelerometer (Olimex mod-mma7260 - mma7260+at91sam7s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i've been reading this application note&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fsensors%2Fdoc%2Fapp_note%2FAN3397.pdf" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/sensors/doc/app_note/AN3397.pdf&lt;/A&gt;&amp;nbsp;regarding implementing positioning algorithms using low end accelerometers. it's been stated several times that these algorithms are useful only for situations where the displacement precision is not extremely critical.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what's extremely critical? i want to calculate the displacement to figure out the current floor while the elevator is moving, is it possible to do it with the mma7260 and these algorithms?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-tongue.gif"&gt;&lt;IMG alt=":smileytongue:" class="emoticon emoticon-smileytongue" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-tongue.gif" title="Smiley Tongue" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 20:14:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/elevator-displacement/m-p/178324#M12662</guid>
      <dc:creator>dimor</dc:creator>
      <dc:date>2011-01-24T20:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: elevator displacement</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/elevator-displacement/m-p/178325#M12663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think that this concept will work.&amp;nbsp; Let's assume that you have a building with say, 50 floors.&amp;nbsp; You would therefore require a distance resolution of better than 2 percent for a journey from bottom to top, or vice versa.&amp;nbsp; My gut feels that this requirement is at least an order of magnitude better than might be achieved with an accelerometer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem with deriving&amp;nbsp;an absolute position using acceleration measurements is that a double integration process is required, firstly&amp;nbsp;to derive the velocity from the&amp;nbsp;many acceleration samples, and then to derive the position from the velocity characteristic.&amp;nbsp; This is subject to many cumulative errors.&amp;nbsp; You would also need to start from a known reference position, and frequently recalibrate whenever located at this position.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A further consideration for this application is that only z-axis readings are relevant, but this axis will be subject to an offset of 1g, which may reduce measurement resolution.&amp;nbsp; The delta-g about this offset will represent the acceleration of the lift/elevator.&amp;nbsp; I presume that mid-journey, there will be constant velocity, resulting in zero delta-g.&amp;nbsp; Therefore position must be estimated from the derived velocity and elapsed time.&amp;nbsp; Maybe the velocity error could be in the region of 10 percent, but I am guessing.&amp;nbsp; However, since there is a tendency for the velocity to become zero after a&amp;nbsp;deceleration, this does allow for&amp;nbsp;the velocity to be recalibrated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 02:19:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/elevator-displacement/m-p/178325#M12663</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-01-25T02:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: elevator displacement</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/elevator-displacement/m-p/178326#M12664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;first of all - thanks for replying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;first i'm trying it on a 4 floor building.&lt;/P&gt;&lt;P&gt;i've managed to get everything done. i calculate the displacement correctly and pretty accurately (but then again, it's only 4 floors), but i do have one problem - the distance measured upwards isn't equal to the distance measured downwards.&lt;/P&gt;&lt;P&gt;a distance of one floor journey&amp;nbsp;&amp;nbsp;is 3 meters when going up, but 2.7 meters when going down.&lt;/P&gt;&lt;P&gt;i must say all the measures are fairly constant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm pretty sure it's gravity related, just not sure what. anyone got an idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 03:17:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/elevator-displacement/m-p/178326#M12664</guid>
      <dc:creator>dimor</dc:creator>
      <dc:date>2011-02-08T03:17:08Z</dc:date>
    </item>
  </channel>
</rss>

