floodnet-nyc / flood-sensor

This repo contains source code, manuals, and additional information needed to build, deploy, and maintain a Flood Sensor
https://www.floodnet.nyc
Other
45 stars 12 forks source link

Solar influence on distance data #2

Open Praneethsvch opened 4 years ago

Praneethsvch commented 4 years ago

The solar influence on the Maxbotix ultrasonic sensor results in larger distance readings.

Screen Shot 2020-10-21 at 6 30 33 PM

A flood captured using distance sensor is a decrease in readings when flooding followed by an increase in the readings due to evaporation. In a post-flood scenario, due to the solar influence ultrasonic might read larger distances indicating flood leaving, which is not true.

Possible solution: Using additional external Temperature compensation to negate the solar effects: HR-Maxtemp

Praneethsvch commented 4 years ago

The following is a graph which compares the solar influence on the ultrasonic readings of two sensors: The one on the left uses internal compensation only and the one on the right uses HR-Maxtemp, an additional temperature compensation which is installed outside the housing in addition to the internal compensation.

Screen Shot 2020-11-04 at 1 41 49 PM

Observation:

The standard deviation of the sensor readings is larger when the HR-Maxtemp is used. Also under-compensation has been observed during the day which was not an issue when HR-Maxtemp was not used.

Further we suspect that the solar board or the wind could be contributing to the sensor's noise. Thus, the solar board has been disconnected and and a new test has been running on the battery power only, comparing the effectiveness of HR-Maxtemp.

Praneethsvch commented 4 years ago

Solar board has been disconnected and the two sensors are run on battery for 2 days and here below is the data:

Screen Shot 2020-11-06 at 11 13 07 AM

Observations:

Praneethsvch commented 3 years ago

A new experiment is carried out using a solar shield around the Maxbotix sensor in quest of stable readings and here below is the setup: 20201109_150146 Inside view: 20201111_135538 The shield has been mounter carefully over the ultrasonic sensor symmetrically and sealed using liquid tape. The following is the sensor data comparing with and without HR-Maxtemp (left is without and right is with MaxTemp):

Screen Shot 2020-11-11 at 2 01 21 PM

Observation:

Praneethsvch commented 3 years ago

Currently, the input to the Maxbotix sensor is from Feather m0's 3.3V VCC. According to the datasheet, this VCC is regulated by the AK2112 voltage regulator on the board and has an output accuracy of +-1.5%. This is equivalent to a +-49.5mV difference in the Maxbotix's VCC input. Wondering if an additional Cap and a Resistor circuit can be designed to smooth this noise further.

Praneethsvch commented 3 years ago

https://github.com/floodsense/floodsense_sensor/issues/22#issue-926592059