<?xml 
version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
>

<channel xml:lang="fr">
	<title>SIC^2 : Logiciel de Simulation Int&#233;gr&#233;e des Canaux et de leur Contr&#244;le</title>
	<link>http://sic.g-eau.fr/</link>
	
	<language>fr</language>
	<generator>SPIP - www.spip.net (Sarka-SPIP)</generator>

	<image>
		<title>SIC^2 : Logiciel de Simulation Int&#233;gr&#233;e des Canaux et de leur Contr&#244;le</title>
		<url>https://sic.g-eau.fr/local/cache-vignettes/L32xH32/siteon0-e5814.png?1519033774</url>
		<link>http://sic.g-eau.fr/</link>
		<height>32</height>
		<width>32</width>
	</image>



 
	<item xml:lang="fr">
		<title>Exemple de routine de calcul CPID</title>
		<link>https://sic.g-eau.fr/exemple-de-routine-de-calcul-cpid</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/exemple-de-routine-de-calcul-cpid</guid>
		<dc:date>2009-10-22T15:06:47Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>David Dorchies</dc:creator>



		<description>
&lt;p&gt;La m&#233;thode PID correspond &#224; un PID classique, avec filtre &#233;ventuel sur le terme d&#233;riv&#233;, antiwindup et bande morte. Il est programm&#233; de la mani&#232;re suivante : &lt;br class='autobr' /&gt; SUBROUTINE CPID(Reg) USE SIRENE_parametres, ONLY : LONG USE TEMPS , ONLY : T USE D_REGULATION, ONLY : Regulateur_t &lt;br class='autobr' /&gt; IMPLICIT NONE &lt;br class='autobr' /&gt; TYPE(Regulateur_t), INTENT(INOUT) : : Reg &lt;br class='autobr' /&gt; REAL(KIND=LONG), POINTER : : KP,N,TI,TD,AWU,EOLD,SE,DE REAL(KIND=LONG) : : E,STI,A1,A2,U2 &lt;br class='autobr' /&gt; LOGICAL SATURE !&lt; D&#233;tection de l'anti wind-up (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-la-methode-pid-" rel="directory"&gt;La m&#233;thode PID&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;La m&#233;thode PID correspond &#224; un PID classique, avec filtre &#233;ventuel sur le terme d&#233;riv&#233;, antiwindup et bande morte. Il est programm&#233; de la mani&#232;re suivante :&lt;/p&gt;
&lt;div class=&#034;coloration_code code&#034;&gt;&lt;div class=&#034;spip_fortran code&#034;&gt;&lt;pre class=&#034;fortran&#034;&gt;&lt;ol&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #b1b100;&#034;&gt;SUBROUTINE&lt;/span&gt; CPID&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;Reg&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;USE&lt;/span&gt; SIRENE_parametres, &lt;span style=&#034;color: #b1b100;&#034;&gt;ONLY&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; LONG&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;USE&lt;/span&gt; TEMPS , &lt;span style=&#034;color: #b1b100;&#034;&gt;ONLY&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; T&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;USE&lt;/span&gt; D_REGULATION, &lt;span style=&#034;color: #b1b100;&#034;&gt;ONLY&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; Regulateur_t&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;IMPLICIT&lt;/span&gt; &lt;span style=&#034;color: #000066;&#034;&gt;NONE&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;TYPE&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;Regulateur_t&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;, &lt;span style=&#034;color: #000066;&#034;&gt;INTENT&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000066;&#034;&gt;INOUT&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;::&lt;/span&gt; &lt;span style=&#034;color: #202020;&#034;&gt;Reg&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;REAL&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000066;&#034;&gt;KIND&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;LONG&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;, &lt;span style=&#034;color: #000066;&#034;&gt;POINTER&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;::&lt;/span&gt; &lt;span style=&#034;color: #202020;&#034;&gt;KP&lt;/span&gt;,N,TI,TD,AWU,EOLD,SE,DE&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;REAL&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000066;&#034;&gt;KIND&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;LONG&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;::&lt;/span&gt; &lt;span style=&#034;color: #202020;&#034;&gt;E&lt;/span&gt;,STI,A1,A2,U2&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;LOGICAL&lt;/span&gt; SATURE &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!&lt; D&#233;tection de l'anti wind-up&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;INTEGER&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;::&lt;/span&gt; &lt;span style=&#034;color: #202020;&#034;&gt;iU&lt;/span&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!&lt; Compteur pour les commandes U&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Pointeurs pour faciliter la lecture du code&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; KP&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tPara&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; TI&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tPara&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;2&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; TD&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tPara&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;3&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; N&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tPara&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;4&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; AWU&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tPara&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;5&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; EOLD&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tPara&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;6&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; SE&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tPara&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;7&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; DE&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tPara&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;8&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Calcul pour cette methode&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Nouvel ecart (e = y* - y)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; E&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tY&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;YTVal&lt;span style=&#034;color: #339933;&#034;&gt;-&lt;/span&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tY&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;VarY&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;V&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! On g&#232;re une bande morte (POM 21/07/04)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;IF&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #993333;&#034;&gt;ABS&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;E&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&#034;color: #202020;&#034;&gt;LT&lt;/span&gt;.&lt;span style=&#034;color: #202020;&#034;&gt;Reg&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tY&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;IY&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;DYMax&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;THEN&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; E&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;0&lt;/span&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;ENDIF&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Terme integral (approximation de Tustin)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;IF&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;TI.&lt;span style=&#034;color: #202020;&#034;&gt;NE&lt;/span&gt;.0.&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;THEN&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; STI&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;KP&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tU&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;VarU&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;DT&lt;span style=&#034;color: #339933;&#034;&gt;/&lt;/span&gt;TI&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;EOLD&lt;span style=&#034;color: #339933;&#034;&gt;+&lt;/span&gt;E&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;/&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;2&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;ELSE&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; STI&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;0&lt;/span&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;ENDIF&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! On g&#232;re l'antiwindup en utilisant le code de blocage du filtre de la commande :&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!&gt; 0 = Fonctionnement libre normal&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!&gt; 1 = Caract&#233;ristique volontairement bloqu&#233;e (Valeur cal&#233;e par Umin&gt;=Umax &#224; la lecture du XML)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!&gt; 2 = Caract&#233;ristique bloqu&#233;e par probl&#232;me de r&#233;gulation (Umin, Umax, surverse, hors-loi vanne mixte)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!&gt; 3 = FiltreU =&gt; Umin atteint&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!&gt; 4 = FiltreU =&gt; Umax atteint&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!&gt; 5 = FiltreU =&gt; DUmin atteint&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!&gt; 6 = FiltreU =&gt; DUmav atteint&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; SATURE&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tU&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;FiltreU&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;iFlagBloc&gt;&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;3&lt;/span&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;.&lt;span style=&#034;color: #202020;&#034;&gt;AND&lt;/span&gt;.&lt;/span&gt; Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tU&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;FiltreU&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;iFlagBloc&lt;span style=&#034;color: #339933;&#034;&gt;/=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;5&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;IF&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;AWU &lt;span style=&#034;color: #339933;&#034;&gt;==&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;0&lt;/span&gt;. &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;.&lt;span style=&#034;color: #202020;&#034;&gt;OR&lt;/span&gt;.&lt;/span&gt; .&lt;span style=&#034;color: #993333;&#034;&gt;NOT&lt;/span&gt;.&lt;span style=&#034;color: #202020;&#034;&gt;SATURE&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;THEN&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; SE&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;SE&lt;span style=&#034;color: #339933;&#034;&gt;+&lt;/span&gt;STI&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;ENDIF&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Terme derive&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;IF&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;TD.&lt;span style=&#034;color: #202020;&#034;&gt;NE&lt;/span&gt;.0.&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;THEN&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;IF&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;N.&lt;span style=&#034;color: #202020;&#034;&gt;EQ&lt;/span&gt;.0.&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;THEN&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Terme derive sans filtre (backward difference)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Avec une consigne y* constante&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; DE&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;KP&lt;span style=&#034;color: #339933;&#034;&gt;/&lt;/span&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tU&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;VarU&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;DT&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;TD&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;E&lt;span style=&#034;color: #339933;&#034;&gt;-&lt;/span&gt;EOLD&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;ELSE&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Terme derive avec filtre (backward difference)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Avec une consigne y* constante&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; A1&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;/&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;+&lt;/span&gt;N&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tU&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;VarU&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;DT&lt;span style=&#034;color: #339933;&#034;&gt;/&lt;/span&gt;TD&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; A2&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;KP&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;N&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;A1&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; DE&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;A1&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;DE&lt;span style=&#034;color: #339933;&#034;&gt;+&lt;/span&gt;A2&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;E&lt;span style=&#034;color: #339933;&#034;&gt;-&lt;/span&gt;EOLD&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;ENDIF&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;ENDIF&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Calcul de la commande&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tU&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;VarU&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;V&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;KP&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;E&lt;span style=&#034;color: #339933;&#034;&gt;+&lt;/span&gt;SE&lt;span style=&#034;color: #339933;&#034;&gt;+&lt;/span&gt;DE&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Ancien ecart&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; EOLD&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;E&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! Si plusieurs U (SIMO) on duplique la meme ouverture&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;! (interessant dans le cas de plusieurs vannes identiques en parallele, en mode V par exemple)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;DO&lt;/span&gt; iU&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;, Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;nbrU&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tU&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;iU&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;VarU&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;V &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; Reg&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;tU&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;VarU&lt;span style=&#034;color: #339933;&#034;&gt;%&lt;/span&gt;V&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;ENDDO&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #b1b100;&#034;&gt;END&lt;/span&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;SUBROUTINE&lt;/span&gt; CPID&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p class='download code_download'&gt;&lt;a href='https://sic.g-eau.fr/local/cache-code/edfb09738e3707cce9f197697815c0cd.txt'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Si vous voulez un PID diff&#233;rent vous pouvez toujours copier cette routine dans un module &lt;a href='https://sic.g-eau.fr/les-methodes-user1-a-user9' class='spip_in'&gt;USER&lt;/a&gt; et la modifier comme bon vous semble (dans ce cas faire aussi cela pour la routine &lt;a href='https://sic.g-eau.fr/exemple-de-routine-de-lecture-lpid' class='spip_in'&gt;LPID&lt;/a&gt; -&gt; LUSER pour la lecture des param&#232;tres)&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
	<item xml:lang="fr">
		<title>La m&#233;thode PID</title>
		<link>https://sic.g-eau.fr/la-methode-pid-644</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/la-methode-pid-644</guid>
		<dc:date>2009-10-22T15:06:46Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>David Dorchies</dc:creator>



		<description>
&lt;p&gt;La m&#233;thode PID correspondant &#224; un contr&#244;leur PID classique est programm&#233;e selon la routine CPID pr&#233;sent&#233;e ci-dessous. Vous pouvez vous inspirer de cette routine pour &#233;crire une routine de calcul CUSER si vous voulez tester une variante de PID. &lt;br class='autobr' /&gt; Pour la m&#233;thode PID ce sont les coefficients K, Ti, Td, N et Antiwindup au format (4(F8.2,1X),F8.2) * Param&#232;tres sp&#233;cifiques
&lt;br class='autobr' /&gt; * K Ti Td N AntiWup
&lt;br class='autobr' /&gt; PS= -0.23 1245.20 0.00 5.00 0.00 &lt;br class='autobr' /&gt;
La routine de lecture LPID de ces (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-la-methode-pid-" rel="directory"&gt;La m&#233;thode PID&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;La m&#233;thode PID correspondant &#224; un contr&#244;leur PID classique est programm&#233;e selon la routine &lt;a href='https://sic.g-eau.fr/exemple-de-routine-de-calcul-cpid' class='spip_in'&gt;CPID&lt;/a&gt; pr&#233;sent&#233;e ci-dessous. Vous pouvez vous inspirer de cette routine pour &#233;crire une routine de calcul &lt;a href='https://sic.g-eau.fr/les-methodes-user1-a-user9' class='spip_in'&gt;CUSER&lt;/a&gt; si vous voulez tester une variante de PID.&lt;/p&gt;
&lt;p&gt;&lt;img src='https://sic.g-eau.fr/squelettes/screenshots/editregv5_pid_fr.jpg?1519033927' width='500' height='400' /&gt;&lt;/p&gt;
&lt;p&gt;Pour la m&#233;thode PID ce sont les coefficients K, Ti, Td, N et Antiwindup au format &lt;code class='spip_code' dir='ltr'&gt;(4(F8.2,1X),F8.2)&lt;/code&gt;&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code style=&#034;font-family: monospace&#034;&gt;* Param&#232;tres sp&#233;cifiques&lt;br /&gt; * K Ti Td N AntiWup&lt;br /&gt; PS= -0.23 1245.20 0.00 5.00 0.00&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;La routine de lecture &lt;a href='https://sic.g-eau.fr/exemple-de-routine-de-lecture-lpid' class='spip_in'&gt;LPID&lt;/a&gt; de ces param&#232;tres est donn&#233; ci-dessous. Vous pouvez vous inspirer de cette routine pour &#233;crire une routine de lecture LUSER pour un module de r&#233;gulation USER (USER1 &#224; USER9).&lt;/p&gt;
&lt;p&gt;Le but de l'antiwindup est d'arr&#234;ter d'int&#233;grer les &#233;carts sur les variables contr&#244;l&#233;es par rapport aux consignes, lorsque l'actionneur est en saturation. Cela sert &#224; &#233;viter d'avoir un terme int&#233;gral trop important &#224; rattraper lorsque la saturation est termin&#233;e.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
	<item xml:lang="fr">
		<title>Exemple de routine de lecture LPID</title>
		<link>https://sic.g-eau.fr/exemple-de-routine-de-lecture-lpid</link>
		<guid isPermaLink="true">https://sic.g-eau.fr/exemple-de-routine-de-lecture-lpid</guid>
		<dc:date>2009-10-22T15:06:45Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>David Dorchies</dc:creator>



		<description>
&lt;p&gt;Routine de lecture des param&#232;tres sp&#233;cifiques du PID : !=============================================================================== !&gt; Lecture des parametres specifiques pour la methode PID !===============================================================================SUBROUTINE LPID&amp;#40;U,PARA&amp;#41; USE SIRENE_parametres, ONLY : LONG USE F1 , ONLY : IERROR,IWARN,CWARN IMPLICIT NONE CHARACTER, INTENT&amp;#40;IN&amp;#41; : : U*&amp;#40;*&amp;#41; REAL&amp;#40;KIND=LONG&amp;#41;, (...)&lt;/p&gt;


-
&lt;a href="https://sic.g-eau.fr/-la-methode-pid-" rel="directory"&gt;La m&#233;thode PID&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Routine de lecture des &lt;a href='https://sic.g-eau.fr/parametres-specifiques' class='spip_in'&gt;param&#232;tres sp&#233;cifiques&lt;/a&gt; du PID :&lt;/p&gt;
&lt;div class=&#034;coloration_code code&#034;&gt;&lt;div class=&#034;spip_fortran code&#034;&gt;&lt;pre class=&#034;fortran&#034;&gt;&lt;ol&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!===============================================================================&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!&gt; Lecture des parametres specifiques pour la methode PID&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!===============================================================================&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #b1b100;&#034;&gt;SUBROUTINE&lt;/span&gt; LPID&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;U,PARA&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;USE&lt;/span&gt; SIRENE_parametres, &lt;span style=&#034;color: #b1b100;&#034;&gt;ONLY&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; LONG&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;USE&lt;/span&gt; F1 , &lt;span style=&#034;color: #b1b100;&#034;&gt;ONLY&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; IERROR,IWARN,CWARN&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;IMPLICIT&lt;/span&gt; &lt;span style=&#034;color: #000066;&#034;&gt;NONE&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;CHARACTER&lt;/span&gt;, &lt;span style=&#034;color: #000066;&#034;&gt;INTENT&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000066;&#034;&gt;IN&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;::&lt;/span&gt; &lt;span style=&#034;color: #202020;&#034;&gt;U&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;REAL&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000066;&#034;&gt;KIND&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;LONG&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;, &lt;span style=&#034;color: #000066;&#034;&gt;DIMENSION&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;*&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;, &lt;span style=&#034;color: #000066;&#034;&gt;INTENT&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #000066;&#034;&gt;OUT&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;::&lt;/span&gt; &lt;span style=&#034;color: #202020;&#034;&gt;PARA&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000066;&#034;&gt;INTEGER&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;::&lt;/span&gt; &lt;span style=&#034;color: #202020;&#034;&gt;I&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!-----Debut de la routine&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!-----Lecture des parametres specifiques pour cette methode&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #666666; font-style: italic;&#034;&gt;!-----Debut de la routine&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; READ&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;U,&lt;span style=&#034;color: #ff0000;&#034;&gt;'(4(F8.2,1X),F8.2)'&lt;/span&gt;,&lt;span style=&#034;color: #b1b100;&#034;&gt;ERR&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;10&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;PARA&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;I&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;,I&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;,&lt;span style=&#034;color: #cc66cc;&#034;&gt;5&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; PARA&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;6&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;0&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; PARA&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;7&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;0&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; PARA&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;8&lt;/span&gt;&lt;span style=&#034;color: #009900;&#034;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;0&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;RETURN&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;10&lt;/span&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;CONTINUE&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; IERROR&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt;&lt;span style=&#034;color: #cc66cc;&#034;&gt;2&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;/div&gt;&lt;/li&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #b1b100;&#034;&gt;END&lt;/span&gt; &lt;span style=&#034;color: #b1b100;&#034;&gt;SUBROUTINE&lt;/span&gt; LPID&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p class='download code_download'&gt;&lt;a href='https://sic.g-eau.fr/local/cache-code/aefaece7070f6dd8747f144a24ac13a0.txt'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>


 
	


 
	

</channel>
</rss>
