Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Library with filters for analog signals.

camferti
2017-01-11
2017-02-04
  • camferti - 2017-01-11

    Hello

    Does anyone know of any library that provides functions to apply to load cell entries?

     
  • josepmariarams - 2017-02-04

    Make an FB LowPass filter by yourself:

    vi= input
    vo_i = Actual cycle output
    vo_i-1 =Output of anterior cycle

    vo:=vi/(1+Ts)=> vo(1+Ts)=vi =>
    vo_cycle_i + T (vo_cycle_i-vo_cycle_i-1)/tCycle =vi =>

    vo_i(1+T/t_cycle)=vi+vo_i-1 *T/t_cycle =>

    vo_i= (vi x t_cycle + vo_i-1 x T)/(T+t_cycle)

    Be carefull with:

    T>>t_cycle

     

Log in to post a comment.