<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to stabilise analog Signal ?</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/6d91160262/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/6d91160262/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/6d91160262/</id><updated>2020-02-27T22:18:45.774000Z</updated><subtitle>Recent posts to How to stabilise analog Signal ?</subtitle><entry><title>How to stabilise analog Signal ?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/6d91160262/?limit=25#0deb" rel="alternate"/><published>2020-02-27T22:18:45.774000Z</published><updated>2020-02-27T22:18:45.774000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com3964d6eeb3a2f9de91a414fe23b4f77e6df5bd12</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;when using filter it is impossible to get exact angle value due to the nature of the filter and if it runs this high speed it wil be impossible to react on it in time, use a optosensor with a disc on the shaft to get exact positions, use an interrupt in the software when sensor is on.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to stabilise analog Signal ?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/6d91160262/?limit=25#f439" rel="alternate"/><published>2020-02-27T22:18:41.446000Z</published><updated>2020-02-27T22:18:41.446000Z</updated><author><name>spfeif</name><uri>https://forge.codesys.com/u/spfeif/</uri></author><id>https://forge.codesys.comf643a58a1b9a30b09753df2b5e018b7d10e48972</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Of course it does that is because it's moving. Just use a low pass filter.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;sLopass&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;int&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="o"&gt;(*&lt;/span&gt; &lt;span class="n"&gt;from&lt;/span&gt; &lt;span class="mi"&gt;1024&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1024&lt;/span&gt; &lt;span class="n"&gt;means&lt;/span&gt; &lt;span class="n"&gt;no&lt;/span&gt; &lt;span class="n"&gt;filter&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;means&lt;/span&gt; &lt;span class="n"&gt;very&lt;/span&gt; &lt;span class="n"&gt;heavy&lt;/span&gt; &lt;span class="n"&gt;filter&lt;/span&gt; &lt;span class="n"&gt;Try&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt; &lt;span class="n"&gt;at&lt;/span&gt; &lt;span class="mi"&gt;700&lt;/span&gt;&lt;span class="o"&gt;*)&lt;/span&gt;
&lt;span class="n"&gt;lInput&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="n"&gt;lInput&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;SHR&lt;/span&gt;&lt;span class="o"&gt;(((&lt;/span&gt;&lt;span class="n"&gt;i_lFeedback&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;lInput&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;sLopass&lt;/span&gt;&lt;span class="o"&gt;),&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>How to stabilise analog Signal ?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/6d91160262/?limit=25#b060" rel="alternate"/><published>2020-02-27T22:18:39.900000Z</published><updated>2020-02-27T22:18:39.900000Z</updated><author><name>hatgine-amit</name><uri>https://forge.codesys.com/u/hatgine-amit/</uri></author><id>https://forge.codesys.com5c875409b6bf17ccba560114d2749e472826d3ee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Friends,&lt;/p&gt;
&lt;p&gt;I am taking feedback from a Hollow shaft Potentiometer which is mouted on shaft of motor to take angle feedback.&lt;/p&gt;
&lt;p&gt;Voltage level in 0 to 5 VDC. PLC is of 10 bit resolution.So values varies from 0 to 1024.&lt;/p&gt;
&lt;p&gt;I have to perform different task with base of varous angle position of Motor shaft.&lt;/p&gt;
&lt;p&gt;Motor speed is around 70 rpm.&lt;/p&gt;
&lt;p&gt;Now How to stabilise the signal so as to get exact Angle valur.Because feedback value varies dynamically as motor rotates.&lt;/p&gt;
&lt;p&gt;Awaiting for your valuable replay.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Amit&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>