mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-09 04:56:57 +03:00
Deployed 0cd98c6 with MkDocs version: 1.6.1
This commit is contained in:
@@ -360,7 +360,7 @@
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix="">
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#terms-and-definitions">1.0.1
|
||||
<a class="md-nav__link" href="#terms-and-definitions">1.1
|
||||
<span class="md-ellipsis">
|
||||
Terms and definitions
|
||||
</span>
|
||||
@@ -368,35 +368,37 @@
|
||||
<nav aria-label="Terms and definitions" class="md-nav">
|
||||
<ul class="md-nav__list">
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#prevalue">1.0.1.0.1
|
||||
<a class="md-nav__link" href="#prevalue">1.1.1
|
||||
<span class="md-ellipsis">
|
||||
PreValue
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<nav aria-label="PreValue" class="md-nav">
|
||||
<ul class="md-nav__list">
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#digits">1.0.1.0.2
|
||||
<a class="md-nav__link" href="#digits">1.1.1.1
|
||||
<span class="md-ellipsis">
|
||||
Digits
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<nav aria-label="Digits" class="md-nav">
|
||||
<ul class="md-nav__list">
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#analogs">1.0.1.0.3
|
||||
<a class="md-nav__link" href="#analogs">1.1.1.1.1
|
||||
<span class="md-ellipsis">
|
||||
Analogs
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#checkdigitincreaseconsistency">1.0.1.0.4
|
||||
<a class="md-nav__link" href="#checkdigitincreaseconsistency">1.1.1.1.2
|
||||
<span class="md-ellipsis">
|
||||
CheckDigitIncreaseConsistency
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#allownegativerates">1.0.1.0.5
|
||||
<a class="md-nav__link" href="#allownegativerates">1.1.1.1.3
|
||||
<span class="md-ellipsis">
|
||||
AllowNegativeRates
|
||||
</span>
|
||||
@@ -404,35 +406,35 @@
|
||||
<nav aria-label="AllowNegativeRates" class="md-nav">
|
||||
<ul class="md-nav__list">
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#decimalshift">1.0.1.0.5.1
|
||||
<a class="md-nav__link" href="#decimalshift">1.1.1.1.3.1
|
||||
<span class="md-ellipsis">
|
||||
DecimalShift
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#analogtodigittransitionstart">1.0.1.0.5.2
|
||||
<a class="md-nav__link" href="#analogtodigittransitionstart">1.1.1.1.3.2
|
||||
<span class="md-ellipsis">
|
||||
AnalogToDigitTransitionStart
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#maxratevalue-and-maxratetype">1.0.1.0.5.3
|
||||
<a class="md-nav__link" href="#maxratevalue-and-maxratetype">1.1.1.1.3.3
|
||||
<span class="md-ellipsis">
|
||||
MaxRateValue and MaxRateType
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#extendedresolution">1.0.1.0.5.4
|
||||
<a class="md-nav__link" href="#extendedresolution">1.1.1.1.3.4
|
||||
<span class="md-ellipsis">
|
||||
ExtendedResolution
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#ignoreleadingnan">1.0.1.0.5.5
|
||||
<a class="md-nav__link" href="#ignoreleadingnan">1.1.1.1.3.5
|
||||
<span class="md-ellipsis">
|
||||
IgnoreLeadingNaN
|
||||
</span>
|
||||
@@ -441,8 +443,11 @@
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#flow-chart">1.0.1.1
|
||||
<a class="md-nav__link" href="#flow-chart">1.1.1.2
|
||||
<span class="md-ellipsis">
|
||||
Flow Chart
|
||||
</span>
|
||||
@@ -451,8 +456,11 @@
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#checkdigitincreaseconsistency-algorithm">1.1
|
||||
<a class="md-nav__link" href="#checkdigitincreaseconsistency-algorithm">1.2
|
||||
<span class="md-ellipsis">
|
||||
CheckDigitIncreaseConsistency Algorithm
|
||||
</span>
|
||||
@@ -761,7 +769,7 @@
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix="">
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#terms-and-definitions">1.0.1
|
||||
<a class="md-nav__link" href="#terms-and-definitions">1.1
|
||||
<span class="md-ellipsis">
|
||||
Terms and definitions
|
||||
</span>
|
||||
@@ -769,35 +777,37 @@
|
||||
<nav aria-label="Terms and definitions" class="md-nav">
|
||||
<ul class="md-nav__list">
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#prevalue">1.0.1.0.1
|
||||
<a class="md-nav__link" href="#prevalue">1.1.1
|
||||
<span class="md-ellipsis">
|
||||
PreValue
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<nav aria-label="PreValue" class="md-nav">
|
||||
<ul class="md-nav__list">
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#digits">1.0.1.0.2
|
||||
<a class="md-nav__link" href="#digits">1.1.1.1
|
||||
<span class="md-ellipsis">
|
||||
Digits
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<nav aria-label="Digits" class="md-nav">
|
||||
<ul class="md-nav__list">
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#analogs">1.0.1.0.3
|
||||
<a class="md-nav__link" href="#analogs">1.1.1.1.1
|
||||
<span class="md-ellipsis">
|
||||
Analogs
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#checkdigitincreaseconsistency">1.0.1.0.4
|
||||
<a class="md-nav__link" href="#checkdigitincreaseconsistency">1.1.1.1.2
|
||||
<span class="md-ellipsis">
|
||||
CheckDigitIncreaseConsistency
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#allownegativerates">1.0.1.0.5
|
||||
<a class="md-nav__link" href="#allownegativerates">1.1.1.1.3
|
||||
<span class="md-ellipsis">
|
||||
AllowNegativeRates
|
||||
</span>
|
||||
@@ -805,35 +815,35 @@
|
||||
<nav aria-label="AllowNegativeRates" class="md-nav">
|
||||
<ul class="md-nav__list">
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#decimalshift">1.0.1.0.5.1
|
||||
<a class="md-nav__link" href="#decimalshift">1.1.1.1.3.1
|
||||
<span class="md-ellipsis">
|
||||
DecimalShift
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#analogtodigittransitionstart">1.0.1.0.5.2
|
||||
<a class="md-nav__link" href="#analogtodigittransitionstart">1.1.1.1.3.2
|
||||
<span class="md-ellipsis">
|
||||
AnalogToDigitTransitionStart
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#maxratevalue-and-maxratetype">1.0.1.0.5.3
|
||||
<a class="md-nav__link" href="#maxratevalue-and-maxratetype">1.1.1.1.3.3
|
||||
<span class="md-ellipsis">
|
||||
MaxRateValue and MaxRateType
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#extendedresolution">1.0.1.0.5.4
|
||||
<a class="md-nav__link" href="#extendedresolution">1.1.1.1.3.4
|
||||
<span class="md-ellipsis">
|
||||
ExtendedResolution
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#ignoreleadingnan">1.0.1.0.5.5
|
||||
<a class="md-nav__link" href="#ignoreleadingnan">1.1.1.1.3.5
|
||||
<span class="md-ellipsis">
|
||||
IgnoreLeadingNaN
|
||||
</span>
|
||||
@@ -842,8 +852,11 @@
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#flow-chart">1.0.1.1
|
||||
<a class="md-nav__link" href="#flow-chart">1.1.1.2
|
||||
<span class="md-ellipsis">
|
||||
Flow Chart
|
||||
</span>
|
||||
@@ -852,8 +865,11 @@
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
<li class="md-nav__item">
|
||||
<a class="md-nav__link" href="#checkdigitincreaseconsistency-algorithm">1.1
|
||||
<a class="md-nav__link" href="#checkdigitincreaseconsistency-algorithm">1.2
|
||||
<span class="md-ellipsis">
|
||||
CheckDigitIncreaseConsistency Algorithm
|
||||
</span>
|
||||
@@ -874,51 +890,51 @@
|
||||
<li>The replacement of the "N" with a previous value could be not sufficient, due to the fact, that it might have changed.</li>
|
||||
<li>There is a misreading of one one of the numbers. This can always happen in case of neural network processing.</li>
|
||||
</ol>
|
||||
<h3 id="terms-and-definitions"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1</span> Terms and definitions</h3>
|
||||
<h5 id="prevalue"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1.0.1</span> PreValue</h5>
|
||||
<h2 id="terms-and-definitions"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1</span> Terms and definitions</h2>
|
||||
<h3 id="prevalue"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1</span> PreValue</h3>
|
||||
<p>The last correct read value. PreValue is here a bit missleading, because normally it is the same as the last value. In the next round of reading it will be used to check negative rates, high rates (MaxRateValue / MaxRateType) and CCheckDigitIncreaseConsistency (dig-class11 only). Either from a previous correctly identified value or manual setting by the user.</p>
|
||||
<h5 id="digits"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1.0.2</span> Digits</h5>
|
||||
<p>Value that are digitized from a digit number. There are 11 allowed values for this: </p>
|
||||
<h4 id="digits"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1.1</span> Digits</h4>
|
||||
<p>Value that are digitized from a digit number. There are 11 allowed values for this:</p>
|
||||
<ol>
|
||||
<li>Digits: 0, 1, 2, ... 9</li>
|
||||
<li>N = Not-a-Number - representing a not unique state between two numbers</li>
|
||||
</ol>
|
||||
<h5 id="analogs"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1.0.3</span> Analogs</h5>
|
||||
<h5 id="analogs"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1.1.1</span> Analogs</h5>
|
||||
<p>This are value derived from a pointer like meter. This never has the state "N".</p>
|
||||
<h5 id="checkdigitincreaseconsistency"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1.0.4</span> CheckDigitIncreaseConsistency</h5>
|
||||
<h5 id="checkdigitincreaseconsistency"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1.1.2</span> CheckDigitIncreaseConsistency</h5>
|
||||
<p>If this is enabled an "intelligent" algorithm is used to derive from zero-crossing of discrete digit positions, if the number should have been increased. This is relevant because in some of the digit meters, the increase of a digit to the next number can be seen, before the sub-digit has gone through zero.</p>
|
||||
<p>For example: 16.6 --> 16.7 --> 1N.8 --> <strong>17.9</strong> corrected to 16.9 --> 17.0 --> 17.1 </p>
|
||||
<p>For example: 16.6 --> 16.7 --> 1N.8 --> <strong>17.9</strong> corrected to 16.9 --> 17.0 --> 17.1</p>
|
||||
<p>As you can see, the 17.9 is a false reading as the 7 is assumed to be already readable, although the sub-digit has not crossed the zero. In this case the CheckDigitIncreaseConsistency algorithm will correct this to 16.9</p>
|
||||
<p>A detailed description of the algorithm can be found below (not yet ready!)</p>
|
||||
<h5 id="allownegativerates"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1.0.5</span> <code>AllowNegativeRates</code></h5>
|
||||
<h5 id="allownegativerates"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1.1.3</span> <code>AllowNegativeRates</code></h5>
|
||||
<p>Most of the meters only have increasing numbers and do not count backwards. Therefore a negative rate (= negative change compared to the PreValue) is surely a false value. This can be checked an flagged as false reading</p>
|
||||
<p>The <code>AllowNegativeRates</code> property ensures that the result does not become negative in the event of incorrect readings. This can happen, for example, if the alignment of the image did not work properly. But also the neural networks sometimes flip between two states for similar images.</p>
|
||||
<p>If <code>AllowNegativeRates = true</code>, the result is discarded if it is smaller than the pre-value of the last readout and the output shows an error "Negative rate.."</p>
|
||||
<p>If the <code>ExtendedResolution</code> setting is true, there is an exception where the value does not become smaller, but no error is output. This only applies if the value +/- 0.2 of the last digit is inaccurate.</p>
|
||||
<h6 id="decimalshift"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1.0.5.1</span> <code>DecimalShift</code></h6>
|
||||
<h6 id="decimalshift"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1.1.3.1</span> <code>DecimalShift</code></h6>
|
||||
<p>The <code>DecimalShift</code> setting puts the decimal point in the right place. It acts like a shift. Negative values shift the decimal point to the left. Positive values move the decimal point to the right, filling with zero.</p>
|
||||
<h6 id="analogtodigittransitionstart"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1.0.5.2</span> <code>AnalogToDigitTransitionStart</code></h6>
|
||||
<h6 id="analogtodigittransitionstart"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1.1.3.2</span> <code>AnalogToDigitTransitionStart</code></h6>
|
||||
<p>For detailed description see <a href="../Watermeter-specific-analog---digit-transition/">Analog-digit-transition</a>.</p>
|
||||
<h6 id="maxratevalue-and-maxratetype"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1.0.5.3</span> <code>MaxRateValue</code> and <code>MaxRateType</code></h6>
|
||||
<h6 id="maxratevalue-and-maxratetype"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1.1.3.3</span> <code>MaxRateValue</code> and <code>MaxRateType</code></h6>
|
||||
<p>Here the maximum change from one to the next reading can be limited. If a false reading of the neural network results in a change larger than this, the reading is flagged as false. There a two types of comparisons possible</p>
|
||||
<p>1) <strong>AbsolutChange</strong>: Here the difference between the PreValue and the current reading is compared directly, independent how much time has passed since the last reading.
|
||||
2) <strong>RelativeRate</strong>: in this case a change rate in the unit of change/minute is calculated, taking the time between the last and the current reading into account. Be careful, that with increasing time, the absolute allowed change increases.
|
||||
Example: relative rate of 0.05 m³/minute --> after 20 minutes a maximum change of 20 minutes * 0.05 m³/minute = 1 m³ is possible. That means that a false reading of 1 m³ cannot be detected false after about 20 minutes in this case
|
||||
Assume, that there might be no change in the meter for hours (e.g. during the night) a much bigger change could also be accepted. </p>
|
||||
<h6 id="extendedresolution"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1.0.5.4</span> <code>ExtendedResolution</code></h6>
|
||||
<p>Newer models such as dig-cont and dig-class100 have a high resolution of the values and can thus represent another digit by using the value of the last digit or pointer (ex. 7.8 in the last digit). </p>
|
||||
<p>If the value is set to true, the result of the last digit is used completely. </p>
|
||||
Assume, that there might be no change in the meter for hours (e.g. during the night) a much bigger change could also be accepted.</p>
|
||||
<h6 id="extendedresolution"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1.1.3.4</span> <code>ExtendedResolution</code></h6>
|
||||
<p>Newer models such as dig-cont and dig-class100 have a high resolution of the values and can thus represent another digit by using the value of the last digit or pointer (ex. 7.8 in the last digit).</p>
|
||||
<p>If the value is set to true, the result of the last digit is used completely.</p>
|
||||
<p>When using dig-class11 models, the setting is ignored.</p>
|
||||
<p>Due to inaccuracies of the neural networks, it sometimes happens that the results jump back and forth between two decimal places. Therefore, when using <code>ÀllowNegatives</code>= false, no error is output if the value is only off by 0.2. Nevertheless, the value then remains at the higher determined value.</p>
|
||||
<h6 id="ignoreleadingnan"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1.0.5.5</span> <code>IgnoreLeadingNaN</code></h6>
|
||||
<h6 id="ignoreleadingnan"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1.1.3.5</span> <code>IgnoreLeadingNaN</code></h6>
|
||||
<p>The parameter is only be used, if a dig-class11 model is selected. <code>ÌgnoreLeadingNaN</code> removes in the CheckDigitIncreaseConsistency process the leading <code>N</code> values.</p>
|
||||
<h4 id="flow-chart"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.0.1.1</span> Flow Chart</h4>
|
||||
<p><img alt="" src="../img/correct_algo_1.jpg"/></p>
|
||||
<p><img alt="" src="../img/correct_algo_2.jpg"/></p>
|
||||
<p><img alt="" src="../img/correct_algo_3.jpg"/></p>
|
||||
<h2 id="checkdigitincreaseconsistency-algorithm"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1</span> CheckDigitIncreaseConsistency Algorithm</h2>
|
||||
<h4 id="flow-chart"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1.2</span> Flow Chart</h4>
|
||||
<p><img alt="Correction Algorithm 1" src="../img/correct_algo_1.jpg"/></p>
|
||||
<p><img alt="Correction Algorithm 2" src="../img/correct_algo_2.jpg"/></p>
|
||||
<p><img alt="Correction Algorithm 3" src="../img/correct_algo_3.jpg"/></p>
|
||||
<h2 id="checkdigitincreaseconsistency-algorithm"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.2</span> CheckDigitIncreaseConsistency Algorithm</h2>
|
||||
<p>The check digit increase consistency algorithm is functional for the digits only. Due to the fact, that the rotation might be a little bit earlier or later compared to the zero crossing of the digit before, errors during the reading before and after a zero crossing can be wrong. Therefore a simple algorithm can be applied, checking the consistency of zero crossing and changes in the following digit. This is applied to one after the other digit, starting with the lowest priority digits.</p>
|
||||
<p><img alt="" src="../img/correct_algo_zero_crossing.jpg"/></p>
|
||||
<p><img alt="Correction Algorithm Zero Crossing" src="../img/correct_algo_zero_crossing.jpg"/></p>
|
||||
</article>
|
||||
</div>
|
||||
<script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
|
||||
|
||||
Reference in New Issue
Block a user