Skip to content

Commit

Permalink
in-line math bug to be fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Praneethsvch committed Oct 5, 2021
1 parent 1c6d65b commit c1a1f04
Show file tree
Hide file tree
Showing 8 changed files with 408 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
I"@<h1 id="sensor-quality-control-qc">Sensor Quality Control (QC)</h1>

<p>After the production/assembly stage, quality control (QC) tests are performed on every sensor to validate the data quality. QAP is a quality management procedure followed during the sensor build/assembly process, whereas QC procedures are performed after the complete build procedure and before the deployment.</p>

<p><strong>Table of Contents:</strong></p>

<ul>
<li><a href="#10-general">1.0 General</a>
<ul>
<li><a href="#11-purpose">1.1 Purpose</a></li>
</ul>
</li>
<li><a href="#20-quality-control">2.0 Quality Control</a>
<ul>
<li><a href="#21-sensor-calibration-and-data-validation-testing">2.1 Sensor Calibration and Data Validation Testing</a>
<ul>
<li><a href="#objective">Objective</a></li>
<li><a href="#procedure">Procedure</a></li>
<li><a href="#calibration">Calibration</a></li>
<li><a href="#records">Records</a></li>
</ul>
</li>
<li><a href="#22-noise-floor-testing">2.2 Noise floor Testing</a>
<ul>
<li><a href="#objective-1">Objective</a></li>
<li><a href="#procedure-1">Procedure</a></li>
<li><a href="#records-1">Records</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#references">References</a></li>
</ul>

<h2 id="10-general">1.0 General</h2>

<h3 id="11-purpose">1.1 Purpose</h3>

<p>The purpose of this document is to provide Quality Control (QC) guidelines for</p>

<ol>
<li>
<p>Sensor Calibration and Data Validation Testing</p>
</li>
<li>
<p>Noise Floor Testing</p>
</li>
</ol>

<h2 id="20-quality-control">2.0 Quality Control</h2>

<h3 id="21-sensor-calibration-and-data-validation-testing">2.1 Sensor Calibration and Data Validation Testing</h3>

<h4 id="objective">Objective</h4>

<p>To perform initial calibration and validation of the sensor depth calculations at different heights in laboratory conditions.</p>

<h4 id="procedure">Procedure</h4>

<ol>
<li>Using measuring tape, fix mount locations at heights at a known height from the ground. While fixing the mount, using a spirit leveler, make sure the mount is vertical to the mounting surface and horizontal to the ground plane.</li>
<li>Start sensor operation and collect data for at least 120 minutes, with a duty cycle of 60 seconds, totaling at least 120 measurements.</li>
<li>After the second step is complete, place an object of known height on the surface, beneath the sensor for the next 120 minutes and record the measurements.</li>
<li>Stop the sensor and removing the object.</li>
</ol>

<h4 id="calibration">Calibration</h4>

<p>To calculate the offset value, take median of all the measurements without the object. To convert distances to depth, invert the distance values and add this calculated offset.</p>

<h4 id="depth-data-validation">Depth Data Validation</h4>

<p>Since measurement of depth is relative to another vertical elevation from a known reference point, the height of a known object is used to simulate validation of depth level captured by the sensor.</p>

<p>At a known height, the average of the observed height of the object calculated from the depth values shall be <math>**&amp;‌plusmn**</math>$Object’s: height\; \overline{+}\; noise: floor$.</p>

<h4 id="records">Records</h4>

<p>Calibration offsets and depth averages are recorded for every sensor along with the sensor unique identifiers shall be recorded on <a href="https://docs.google.com/spreadsheets/d/1FdsjeI8EHIygVHqMOj_p9l_yOaDbCCXwaQY8SxioX9Q/edit?usp=sharing">this</a> google sheets for reference.</p>

<h3 id="22-noise-floor-testing">2.2 Noise floor Testing</h3>

<h4 id="objective-1">Objective</h4>

<p>The objective of this test is to perform noise floor testing of the ultrasonic sensor.</p>

<h4 id="procedure-1">Procedure</h4>

<p>Data collected from 2.1 is passed through a <a href="https://github.com/floodsense/testing/blob/main/scripts/qc_test.py">python test script</a> to test the noise floor of the sensor.</p>

<h4 id="records-1">Records</h4>

<p>Noise floor for every sensor along with the sensor unique identifiers shall be recorded on <a href="https://docs.google.com/spreadsheets/d/1FdsjeI8EHIygVHqMOj_p9l_yOaDbCCXwaQY8SxioX9Q/edit?usp=sharing">this</a> google sheets for reference.</p>

<h2 id="references">References</h2>

<ol>
<li></li>
</ol>

:ET
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
I"<h1 id="sensor-quality-control-qc">Sensor Quality Control (QC)</h1>

<p>After the production/assembly stage, quality control (QC) tests are performed on every sensor to validate the data quality. QAP is a quality management procedure followed during the sensor build/assembly process, whereas QC procedures are performed after the complete build procedure and before the deployment.</p>

<p><strong>Table of Contents:</strong></p>

<ul>
<li><a href="#10-general">1.0 General</a>
<ul>
<li><a href="#11-purpose">1.1 Purpose</a></li>
</ul>
</li>
<li><a href="#20-quality-control">2.0 Quality Control</a>
<ul>
<li><a href="#21-sensor-calibration-and-data-validation-testing">2.1 Sensor Calibration and Data Validation Testing</a>
<ul>
<li><a href="#objective">Objective</a></li>
<li><a href="#procedure">Procedure</a></li>
<li><a href="#calibration">Calibration</a></li>
<li><a href="#records">Records</a></li>
</ul>
</li>
<li><a href="#22-noise-floor-testing">2.2 Noise floor Testing</a>
<ul>
<li><a href="#objective-1">Objective</a></li>
<li><a href="#procedure-1">Procedure</a></li>
<li><a href="#records-1">Records</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#references">References</a></li>
</ul>

<h2 id="10-general">1.0 General</h2>

<h3 id="11-purpose">1.1 Purpose</h3>

<p>The purpose of this document is to provide Quality Control (QC) guidelines for</p>

<ol>
<li>
<p>Sensor Calibration and Data Validation Testing</p>
</li>
<li>
<p>Noise Floor Testing</p>
</li>
</ol>

<h2 id="20-quality-control">2.0 Quality Control</h2>

<h3 id="21-sensor-calibration-and-data-validation-testing">2.1 Sensor Calibration and Data Validation Testing</h3>

<h4 id="objective">Objective</h4>

<p>To perform initial calibration and validation of the sensor depth calculations at different heights in laboratory conditions.</p>

<h4 id="procedure">Procedure</h4>

<ol>
<li>Using measuring tape, fix mount locations at heights at a known height from the ground. While fixing the mount, using a spirit leveler, make sure the mount is vertical to the mounting surface and horizontal to the ground plane.</li>
<li>Start sensor operation and collect data for at least 120 minutes, with a duty cycle of 60 seconds, totaling at least 120 measurements.</li>
<li>After the second step is complete, place an object of known height on the surface, beneath the sensor for the next 120 minutes and record the measurements.</li>
<li>Stop the sensor and removing the object.</li>
</ol>

<h4 id="calibration">Calibration</h4>

<p>To calculate the offset value, take median of all the measurements without the object. To convert distances to depth, invert the distance values and add this calculated offset.</p>

<h4 id="depth-data-validation">Depth Data Validation</h4>

<p>Since measurement of depth is relative to another vertical elevation from a known reference point, the height of a known object is used to simulate validation of depth level captured by the sensor.</p>

<p>At a known height, the average of the observed height of the object calculated from the depth values shall be Object’s height +- noise floor.</p>

<h4 id="records">Records</h4>

<p>Calibration offsets and depth averages are recorded for every sensor along with the sensor unique identifiers shall be recorded on <a href="https://docs.google.com/spreadsheets/d/1FdsjeI8EHIygVHqMOj_p9l_yOaDbCCXwaQY8SxioX9Q/edit?usp=sharing">this</a> google sheets for reference.</p>

<h3 id="22-noise-floor-testing">2.2 Noise floor Testing</h3>

<h4 id="objective-1">Objective</h4>

<p>The objective of this test is to perform noise floor testing of the ultrasonic sensor.</p>

<h4 id="procedure-1">Procedure</h4>

<p>Data collected from 2.1 is passed through a <a href="https://github.com/floodsense/testing/blob/main/scripts/qc_test.py">python test script</a> to test the noise floor of the sensor.</p>

<h4 id="records-1">Records</h4>

<p>Noise floor for every sensor along with the sensor unique identifiers shall be recorded on <a href="https://docs.google.com/spreadsheets/d/1FdsjeI8EHIygVHqMOj_p9l_yOaDbCCXwaQY8SxioX9Q/edit?usp=sharing">this</a> google sheets for reference.</p>

<h2 id="references">References</h2>

<ol>
<li></li>
</ol>

:ET
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
I".<h1 id="sensor-quality-control-qc">Sensor Quality Control (QC)</h1>

<p>After the production/assembly stage, quality control (QC) tests are performed on every sensor to validate the data quality. QAP is a quality management procedure followed during the sensor build/assembly process, whereas QC procedures are performed after the complete build procedure and before the deployment.</p>

<p><strong>Table of Contents:</strong></p>

<ul>
<li><a href="#10-general">1.0 General</a>
<ul>
<li><a href="#11-purpose">1.1 Purpose</a></li>
</ul>
</li>
<li><a href="#20-quality-control">2.0 Quality Control</a>
<ul>
<li><a href="#21-sensor-calibration-and-data-validation-testing">2.1 Sensor Calibration and Data Validation Testing</a>
<ul>
<li><a href="#objective">Objective</a></li>
<li><a href="#procedure">Procedure</a></li>
<li><a href="#calibration">Calibration</a></li>
<li><a href="#records">Records</a></li>
</ul>
</li>
<li><a href="#22-noise-floor-testing">2.2 Noise floor Testing</a>
<ul>
<li><a href="#objective-1">Objective</a></li>
<li><a href="#procedure-1">Procedure</a></li>
<li><a href="#records-1">Records</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#references">References</a></li>
</ul>

<h2 id="10-general">1.0 General</h2>

<h3 id="11-purpose">1.1 Purpose</h3>

<p>The purpose of this document is to provide Quality Control (QC) guidelines for</p>

<ol>
<li>
<p>Sensor Calibration and Data Validation Testing</p>
</li>
<li>
<p>Noise Floor Testing</p>
</li>
</ol>

<h2 id="20-quality-control">2.0 Quality Control</h2>

<h3 id="21-sensor-calibration-and-data-validation-testing">2.1 Sensor Calibration and Data Validation Testing</h3>

<h4 id="objective">Objective</h4>

<p>To perform initial calibration and validation of the sensor depth calculations at different heights in laboratory conditions.</p>

<h4 id="procedure">Procedure</h4>

<ol>
<li>Using measuring tape, fix mount locations at heights at a known height from the ground. While fixing the mount, using a spirit leveler, make sure the mount is vertical to the mounting surface and horizontal to the ground plane.</li>
<li>Start sensor operation and collect data for at least 120 minutes, with a duty cycle of 60 seconds, totaling at least 120 measurements.</li>
<li>After the second step is complete, place an object of known height on the surface, beneath the sensor for the next 120 minutes and record the measurements.</li>
<li>Stop the sensor and removing the object.</li>
</ol>

<h4 id="calibration">Calibration</h4>

<p>To calculate the offset value, take median of all the measurements without the object. To convert distances to depth, invert the distance values and add this calculated offset.</p>

<h4 id="depth-data-validation">Depth Data Validation</h4>

<p>Since measurement of depth is relative to another vertical elevation from a known reference point, the height of a known object is used to simulate validation of depth level captured by the sensor.</p>

<p>At a known height, the average of the observed height of the object calculated from the depth values shall be <math>**&amp;‌plusmn**</math>Object’s height +- noise floor.</p>

<h4 id="records">Records</h4>

<p>Calibration offsets and depth averages are recorded for every sensor along with the sensor unique identifiers shall be recorded on <a href="https://docs.google.com/spreadsheets/d/1FdsjeI8EHIygVHqMOj_p9l_yOaDbCCXwaQY8SxioX9Q/edit?usp=sharing">this</a> google sheets for reference.</p>

<h3 id="22-noise-floor-testing">2.2 Noise floor Testing</h3>

<h4 id="objective-1">Objective</h4>

<p>The objective of this test is to perform noise floor testing of the ultrasonic sensor.</p>

<h4 id="procedure-1">Procedure</h4>

<p>Data collected from 2.1 is passed through a <a href="https://github.com/floodsense/testing/blob/main/scripts/qc_test.py">python test script</a> to test the noise floor of the sensor.</p>

<h4 id="records-1">Records</h4>

<p>Noise floor for every sensor along with the sensor unique identifiers shall be recorded on <a href="https://docs.google.com/spreadsheets/d/1FdsjeI8EHIygVHqMOj_p9l_yOaDbCCXwaQY8SxioX9Q/edit?usp=sharing">this</a> google sheets for reference.</p>

<h2 id="references">References</h2>

<ol>
<li></li>
</ol>

:ET
Loading

0 comments on commit c1a1f04

Please sign in to comment.