5/22/2006 10:41 PM | |
Posts: 2 Rating:
|
Hi experts! How can I smooth an analog input? The flow is very fluctating, so I want to make the changes more soft. Anybody with a hint? Thanks, Anderson |
5/26/2006 7:39 PM | |
Joined: 1/7/2006 Last visit: 11/17/2023 Posts: 2705 Rating:
|
Hi Anderson, The smoothing is like Jacek says the best. [:)] I have made a block that is working with that formula. [;)] The block have to be called every 100mS and is using no variabele so that it would not inteferer on your variabele. Filtout := Filtout * e^Rate + RawValue * (1 - e^Rate) where e^Rate := (-0.1 / F_tau) [8)] AttachmentFilter.zip (4134 Downloads) |
I hope that the answer will help, if you have still questions, don't hesitate to ask me. |
|
This contribution was helpful to
3 thankful Users |
6/8/2006 12:43 PM | |
Posts: 2 Rating:
|
I used this one. Anderson Attachmentsmooth.zip (3804 Downloads) |
Follow us on