sensor analysis results softpot membrane potentiometer and ams rotary sensor v:1.0

10
Sensor Analysis Results SOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR V:1.0

Upload: sheryl-lynch

Post on 05-Jan-2016

218 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Sensor Analysis Results SOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR V:1.0

Sensor Analysis ResultsSOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR

V:1.0

Page 2: Sensor Analysis Results SOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR V:1.0

2

Reading this document This document contains information about the result of testing the Softpot Membrane potentiometer and AMS rotary sensors with the objective on using them in the 2014-2015 Omincoor project.

• The procedure we used to test them

• The results

• Conclusion

Page 3: Sensor Analysis Results SOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR V:1.0

3

Softpot Membrane Potentiometer

Test 1

Used a protractor and a multimeter to measure the resistance for different angles of pressure application.

Test 2

The second time, I used the camera system to record the angle precisely while simultaneously recording the voltage drop across the potentiometer using MATLAB and an Arduino.

Page 4: Sensor Analysis Results SOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR V:1.0

4

Test 1 Results and DataAs for the linearity of the potentiometer, It is fairly good. But it simply isn’t practical when we put it in a time sensitive test.

Page 5: Sensor Analysis Results SOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR V:1.0

5

Test 2 Results and DataThese are the BEST results I got with the second test. The top plots are the potentiometer readings, the second ones are the camera system angle reading. As you can see, The readings are extremely unreliable.

Page 6: Sensor Analysis Results SOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR V:1.0

6

AMS Rotary Sensor (AS50489) We tested this sensor with the help of the Tracking tools camera system and the chipKIT uC32 board.

The communication between the sensor and the board was through SPI interface (Sketch include in GIT 9-Data Section). Then to been able to log the value on the PC we used a Matlab script to communicate with the uC32 via serial(Script include in GIT 9-Data Section).

The digital angle calculation value of the rotary sensor was compared V.S the logs of the camera system, allowing us to test its resolution.

Page 7: Sensor Analysis Results SOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR V:1.0

7

Results and Data

Noise test – As seen to the right (sensor is red, camera is blue), the noise is comparable to the camera system noise.

Testing was done in a similar way to Test 2 for the membrane potentiometer. Using the camera system to measure precise angle while recording the corresponding reading from the sensor.

Page 8: Sensor Analysis Results SOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR V:1.0

8

Results and Data This is just one of many tests of tracking the angle reading of the sensor along with the camera reading data. As you can see, the curves are not exactly lined up ( I did my best to try and normalize them). This is due to the fact we had to start the camera recording and the matlab recording manually and therefore might not have started and stopped them at exactly the same time. But you can see that the reading from the sensor(in red) is fairly consistent with the changes in the camera readings. More plots on the next page..

Page 9: Sensor Analysis Results SOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR V:1.0

9

Results and Data

10 degree decrements (camera sys. Glitching most likely lost view of trackable)

1 degree incraments

Page 10: Sensor Analysis Results SOFTPOT MEMBRANE POTENTIOMETER AND AMS ROTARY SENSOR V:1.0

10

Conclusion• The SoftPot Rotary Potentiometer is not a good sensor for our application.

• The AS5048A rotary sensor seems to have an acceptable resolution. The logs showed that it has a persistent noise close to +- 50 units (Error of ~ 0.3%) of its digital value output in steady state. If we are able to develop a digital filter, its utilization on the project could be considered.