wind_sensor:getting_angle_orientation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wind_sensor:getting_angle_orientation [2015/12/18 03:37]
jeremygg
wind_sensor:getting_angle_orientation [2021/09/19 21:59] (current)
Line 12: Line 12:
 {{:​wind_sensor:​rtvctt.jpg|}} {{:​wind_sensor:​rtvctt.jpg|}}
  
-To our surprise, the microphone that had the direct impact was not the highest mic. Right off the bat we remembered numerous previous data that also showed that the best angle would be a very slight amount of degree off from directly. As we modeled our old program by using the input and different trig functions, we treated these extra peaks and nulls as random noise. The naivety became our downfall because through multiple trials, these peaks and nulls from different speeds, fans and distances kept re-occurring. This brings even more troubles because we fit the actual wind speed to the output of the mic when the wind speed is directly facing a mic. If the wind came at an  small angle that deviates from a direct hit, it would output a speed slightly larger which was not calibrated correctly. The actual closest mic to the angle of the fan doesn'​t actually overtake the next mic in amplitude until 15 degrees, and then it'll cross the 45 degree mark and then the same problem would happen except reflected on to the next incoming mic.+To our surprise, the microphone that had the direct impact was not the highest mic. Right off the bat we remembered numerous previous data that also showed that the best angle would be a very slight amount of degree off from directly. As we modeled our old program by using the input and different trig functions, we treated these extra peaks and nulls as random noise. The naivety became our downfall because through multiple trials, these peaks and nulls from different speeds, fans and distances kept reoccurring. This brings even more troubles because we fit the actual wind speed to the output of the mic when the wind speed is directly facing a mic. If the wind came at an  small angle that deviates from a direct hit, it would output a speed slightly larger which was not calibrated correctly. The actual closest mic to the angle of the fan doesn'​t actually overtake the next mic in amplitude until 15 degrees, and then it'll cross the 45 degree mark and then the same problem would happen except reflected on to the next incoming mic.
  
 ====Mic Predicament Fix==== ====Mic Predicament Fix====
Line 21: Line 21:
 The most basic thing would be to find the angle in between would be the ratio of the 2 amplitudes. After fitting a couple of models, we chose to fit the angle with the arctan(lowest_mic/​2nd_lowest_mic). Since the minimum switches off right between the half way marks of the mic, the actual range should be from 0 to 45 degrees (A->B 0 to 45 degrees, B->A 45 to 90 degrees). With this data we fitted a general line to arctan(mic4/​mic3) to the degree of the fan hitting in respect to mic 2. The most basic thing would be to find the angle in between would be the ratio of the 2 amplitudes. After fitting a couple of models, we chose to fit the angle with the arctan(lowest_mic/​2nd_lowest_mic). Since the minimum switches off right between the half way marks of the mic, the actual range should be from 0 to 45 degrees (A->B 0 to 45 degrees, B->A 45 to 90 degrees). With this data we fitted a general line to arctan(mic4/​mic3) to the degree of the fan hitting in respect to mic 2.
  
-{{:​wind_sensor:​4angpred.jpg|}}+{{:​wind_sensor:​4angpred2.jpg|}}
  
 Using this model we predicted the angle. (Note at this point 12/17/2015 the accuracy of this prediction is questionable). Now that we got the angle, we can fix the gain problem. We want to fix the fact that we calibrated the wind speed with the reading from our sensors with the wind heading dead on. Since we can calculate for the angle, we can simply divide by the gain of the output that the angle created. We took our data of our outputs at multiple degrees and divided it by the output at 0 degrees which will equal the gain that the degree has created.  ​ Using this model we predicted the angle. (Note at this point 12/17/2015 the accuracy of this prediction is questionable). Now that we got the angle, we can fix the gain problem. We want to fix the fact that we calibrated the wind speed with the reading from our sensors with the wind heading dead on. Since we can calculate for the angle, we can simply divide by the gain of the output that the angle created. We took our data of our outputs at multiple degrees and divided it by the output at 0 degrees which will equal the gain that the degree has created.  ​
Line 30: Line 30:
  
 Our most recent current block diagram is shown below. Our most recent current block diagram is shown below.
 +
 +{{:​wind_sensor:​windsensor.png|}}
  • wind_sensor/getting_angle_orientation.1450409838.txt.gz
  • Last modified: 2021/09/19 21:59
  • (external edit)