- Sat Jun 04, 2011 3:29 pm
#128290
well, i know there're plenty of threads about this subject, and i've read most of them, but mine is a bit different.
for several months i've been trying to build a device that can predict an elevator's floor level using an accelerometer (tried with an altimeter too). currently i'm using a development board from olimex (mod-mma7260) which features an at91sam7s64 microcontroller and freescale's mma7260 accelerometer.
when trying to calculate the distance the elevator is going i managed to get a decent distance value for 10 floors only (with a mistake of 50cm max). when trying it in a 50 floors tower, going on a 39-50 floors travel i got a 2.5m mistake.
so i tried a different method - i'm keeping profiles (samples) of each possible travel of the elevator, and when the elevator stops - i just find the profile that is the closest to the current one (square difference). it 100% works, at least in all of my tests. the thing with this method is that i cannot calculate the current floor while the elevator is moving. only when it stops.
the last thing i tried was to combine the both. while the elevator moves - i'm calculating the distance and finding the current floor using this value, and when the elevator stops, i calculate the floor using the second method, which i know that works better.
i need this project to work on a 50 floors tower. a travel from the lobby to the 50th floor takes about 40 seconds. what do you suggest? should i use a better sensor? i've been recommanded of the ADIS16209.
reading the specifications, how can i calculate what is the error i am supposed to get with the mma7260 and what will it be using the ADIS16209 sensor?
is it worth mentioning that my knowledge in electronics is tiny, almost zero. it's my first project involving electronics and sensors whatsoever, so please be gentle
for several months i've been trying to build a device that can predict an elevator's floor level using an accelerometer (tried with an altimeter too). currently i'm using a development board from olimex (mod-mma7260) which features an at91sam7s64 microcontroller and freescale's mma7260 accelerometer.
when trying to calculate the distance the elevator is going i managed to get a decent distance value for 10 floors only (with a mistake of 50cm max). when trying it in a 50 floors tower, going on a 39-50 floors travel i got a 2.5m mistake.
so i tried a different method - i'm keeping profiles (samples) of each possible travel of the elevator, and when the elevator stops - i just find the profile that is the closest to the current one (square difference). it 100% works, at least in all of my tests. the thing with this method is that i cannot calculate the current floor while the elevator is moving. only when it stops.
the last thing i tried was to combine the both. while the elevator moves - i'm calculating the distance and finding the current floor using this value, and when the elevator stops, i calculate the floor using the second method, which i know that works better.
i need this project to work on a 50 floors tower. a travel from the lobby to the 50th floor takes about 40 seconds. what do you suggest? should i use a better sensor? i've been recommanded of the ADIS16209.
reading the specifications, how can i calculate what is the error i am supposed to get with the mma7260 and what will it be using the ADIS16209 sensor?
is it worth mentioning that my knowledge in electronics is tiny, almost zero. it's my first project involving electronics and sensors whatsoever, so please be gentle