<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Wertstabilisierung</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/e74c759091/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/e74c759091/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/e74c759091/</id><updated>2020-02-28T04:42:51.674000Z</updated><subtitle>Recent posts to Wertstabilisierung</subtitle><entry><title>Wertstabilisierung</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/e74c759091/?limit=25#d478" rel="alternate"/><published>2020-02-28T04:42:51.674000Z</published><updated>2020-02-28T04:42:51.674000Z</updated><author><name>hugo</name><uri>https://forge.codesys.com/u/hugo/</uri></author><id>https://forge.codesys.comb4e7a719f9a8d27a88ca315e70847c36f136cd3b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;für einen regler würde ich von einem avg filter abraten weil es oberhalb der grenzfrequenz deutliche anteile durchlässt und bei periodischen störgrößen schell die filtereigenschaften verlieren kann.&lt;/p&gt;
&lt;p&gt;störungen allgemeiner art filtert man üblicherweise mit einem tiefpass (in der oscat lib der ft_pt1)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Wertstabilisierung</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/e74c759091/?limit=25#2a42" rel="alternate"/><published>2020-02-28T04:42:45.966000Z</published><updated>2020-02-28T04:42:45.966000Z</updated><author><name>J Schohaus</name><uri>https://forge.codesys.com/u/j-schohaus/</uri></author><id>https://forge.codesys.comfe4beefcbafe02ad35eb36bfbbe6919ffd49e593</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo&lt;/p&gt;
&lt;p&gt;In der Oscat lib gibt es ein Baustein der dir helfen kann.&lt;/p&gt;
&lt;p&gt;Meine lösung zur Glättung des Istwert über 30 Zyklen mit dem Baustein FT_avg &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;Durchschnit&lt;/span&gt; &lt;span class="n"&gt;berechnen&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;FT_avg&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt;  &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;Eingang_Analog&lt;/span&gt; &lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt;  &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;en&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;TRUE&lt;/span&gt; &lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;Freigabe&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt;  &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;N&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt; &lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;Zyklen&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt;  &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;rst&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;FALSE&lt;/span&gt; &lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;Reset&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt;  &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="n"&gt;EingangAnalogGeglaette&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;FT_avg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;avg&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;mfG Jochen&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Wertstabilisierung</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/e74c759091/?limit=25#841a" rel="alternate"/><published>2020-02-28T04:42:43.933000Z</published><updated>2020-02-28T04:42:43.933000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com221881f82db1d50b2009722c94f2df30a2d0c9fd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; mg&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;guynougouapi hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
hallo,&lt;br/&gt;
ich lese einen Wert von einem Sensor in CodeSys ein. Der eingelesene Wert ist als Istwert für den Regler. &lt;br/&gt;
Problem: Der eingelesene Wert hat eine ziemlich grosse Schwankungen, d.h bleibt nicht stabil. DIese Schwankungen tun dem Regler nicht gut bei der Berechnung der Regelabweichung. &lt;br/&gt;
. &lt;br/&gt;
mfg&lt;br/&gt;
Guy&lt;/p&gt;
&lt;/blockquote&gt;&lt;/div&gt;</summary></entry><entry><title>Wertstabilisierung</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/e74c759091/?limit=25#2de2" rel="alternate"/><published>2020-02-28T04:42:38.304000Z</published><updated>2020-02-28T04:42:38.304000Z</updated><author><name>guynougouapi</name><uri>https://forge.codesys.com/u/guynougouapi/</uri></author><id>https://forge.codesys.com7b27cc9022fc92fc8b6d8eb4d5f21b555c702c00</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hallo,&lt;/p&gt;
&lt;p&gt;ich lese einen Wert von einem Sensor in CodeSys ein. Der eingelesene Wert ist als Istwert für den Regler. &lt;/p&gt;
&lt;p&gt;Problem: Der eingelesene Wert hat eine ziemlich grosse Schwankungen, d.h bleibt nicht stabil. DIese Schwankungen tun dem Regler nicht gut bei der Berechnung der Regelabweichung. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Frage: Wie kann ich diese Schwankungen in CodeSys stark unterdrücken, so dass der Wert einigermassen stabil bleibt?. Gibst in OSCAT einen Baustein dafür?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;mfg&lt;/p&gt;
&lt;p&gt;Guy&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>