<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Simple Automatic Threshold Generation for Embedded Systems</title><link>/members-area/personalblogs/b/blog/posts/simple-automatic-threshold-generation-for-embedded-systems</link><description>Very often it so happens in sensing-actuation based projects that an embedded system must take a certain action when the value of a sensed parameter is above a certain threshold. The most basic method of handling such a contr...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Simple Automatic Threshold Generation for Embedded Systems</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/simple-automatic-threshold-generation-for-embedded-systems</link><pubDate>Wed, 22 Mar 2017 14:37:43 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cc7c5309-3c7e-4d72-bae2-4a4611ebeb07</guid><dc:creator>satyavrat</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;[mention:b0bc65b9ecdc4307bd967592f00e340a:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;&lt;span&gt;[mention:4966e6ad97f64dac9ea8919abb220e1d:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Thank you for your suggestions! I&amp;#39;m actually working on a project which will require a dynamic thresholding method. This was my attempt at designing an algorithm that would serve the purpose! I&amp;#39;ll surely look into both your suggested algorithms and see what I can learn!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2705&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Simple Automatic Threshold Generation for Embedded Systems</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/simple-automatic-threshold-generation-for-embedded-systems</link><pubDate>Tue, 21 Mar 2017 02:07:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cc7c5309-3c7e-4d72-bae2-4a4611ebeb07</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Interesting post : )&lt;/p&gt;&lt;p&gt;In the analog world this is a common task, for example when trying to decode a bitstream with out-of-band noise especially a low frequency offset or DC offset.&lt;/p&gt;&lt;p&gt;There sometimes they use a &amp;#39;slicer&amp;#39; which is basically comparing the input signal with an averaged (low-pass) signal derived from the input signal, e.g. just a RC filter.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2705&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Simple Automatic Threshold Generation for Embedded Systems</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/simple-automatic-threshold-generation-for-embedded-systems</link><pubDate>Mon, 20 Mar 2017 20:27:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cc7c5309-3c7e-4d72-bae2-4a4611ebeb07</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Setting thresholds is always an issue.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I found that the simplest method is a running filter, usually eight samples, which you average.&lt;/p&gt;&lt;p&gt;You then set the threshold at some value above the average so as the noise gets worse, you detect less.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now if you really need a good dynamic filter, you use an adaptive algorithm.&amp;nbsp; Look for work by Dr. Peter Raeth.&amp;nbsp; He and I wrote a number of papers on this technique a while back.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2705&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>