4/19/2012 5:43 PM | |
Joined: 1/5/2007 Last visit: 4/7/2023 Posts: 1690 Rating: (580)
|
Hello, the LOGO!-0BA7 has a function "PI-Controller", I have programmed a circuit witch build a "PID-Controller" for a LOGO!-0BA6 with an analoge output and with a PWM-output. Link to the German contribution (look my answers): Best regards AttachmentFORUM_en_PID_Regler_V2.zip (2616 Downloads) |
==> Meine TAG-Listen: "deut." |
|
This contribution was helpful to1 thankful Users |
4/21/2012 11:24 AM | |
Joined: 1/5/2007 Last visit: 4/7/2023 Posts: 1690 Rating: (580)
|
Hello hdhosseini, please remember the properties of the LOGO! module. it is a relais controller with analog functions! a) of cause the circuit for a PID-controller needs more blocks as one PI-controller b) The block PI-controller of the LOGO! has a cyclic refresh time of the output of 0,5 s (slow in relation to a real SPS, I know) - my circuit of a PID-Controller has the same cyclic refresh time! c) The smalest time periode the LOGO! can handle is 0,01s (big in relation to a real SPS, I know). The consequence for this is, that PWM signals have a low resolution or a high cycle duration! Means: 1) If PWM cycle durationset to 0,5 s we get only 50 different steps and a resolution of 20 digits (in relation to the 1000 digits of the analog PID-controller output. 2) If PWM cycle durationset to10 s we get the hole1000 stepsand a resolution of1 digit (in relation to the 1000 digits of the analog PID-controller output. So we can´t have the relations you ask me, but on the other side this PWM signalsas output can used for some applications (e. g. for 230 VAC pumps in heating applications..). At last please look that i try to get solutions of aims byprogam the LOGO!. Some user ask me and i search for a solution with a LOGO!... Best regards Betel |
==> Meine TAG-Listen: "deut." |
|
This contribution was helpful to4 thankful Users |
Follow us on