Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solar influence on distance data #2

Open
Praneethsvch opened this issue Oct 21, 2020 · 5 comments
Open

Solar influence on distance data #2

Praneethsvch opened this issue Oct 21, 2020 · 5 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request testing Issue raised when a testing procedure is carried out/due

Comments

@Praneethsvch
Copy link
Collaborator

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 Praneethsvch added bug Something isn't working enhancement New feature or request testing Issue raised when a testing procedure is carried out/due labels Oct 21, 2020
@Praneethsvch
Copy link
Collaborator Author

Praneethsvch commented Nov 4, 2020

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
Copy link
Collaborator Author

Praneethsvch commented Nov 6, 2020

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:

  • The solar influence has been reduced slightly due to the addition of MaxTemp(right peak is smaller compared to the left), however the sensor data on the right with HR-MaxTemp has more unwanted noise and under-compensation.
  • The suspicion of solar panel causing the noise is ruled out

@Praneethsvch
Copy link
Collaborator Author

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:

  • The noise range due to solar is almost the same compared to when the shield is not used.

@Praneethsvch
Copy link
Collaborator Author

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
Copy link
Collaborator Author

#22 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request testing Issue raised when a testing procedure is carried out/due
Projects
None yet
Development

No branches or pull requests

2 participants