Thread: Algorithm for constant signal determination

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    3

    Algorithm for constant signal determination

    Hi all,

    I am looking for an algorithm which assesses the stability of a noisy signal over time. To be more specific letīs say a program sets a new setpoint in a temperature controller and the algorithm inside the program now should decide if the setpoint has been reached and - more important - if the temperature can be considered as constant.

    Couldn't find anything useful on the internet.
    Of course I have some ideas how to tackle this, like linear regression in a moving window and slope checking and so on, but I assume since this is a fairly basic and general problem, there should be many tried-and-tested solutions for this.

    Some useful keywords would be fine to have a starting point for further search in the internet.

    Thanks in advance

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    What about using some statistical analysis? Something along the lines "if standard deviation is lower than some_constant for some time t then temperature is considered to be constant at mean <mean_of_all_measured_temps>"

  3. #3
    Registered User
    Join Date
    Nov 2010
    Posts
    3
    Yes, thatīs what we will try if we have to invent an algorithm ourselves. Linear regression inside a user-defined time window and evaluating the slope and its standard error. But since it's such an elementary problem there have to be plenty of algorithms out there.
    We have to implement the algorithm in LabView, which comes with tons of predefined functions but so far we couldn't find anything useful for our purpose.

    Best regards

  4. #4
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    If you want to find more literature on the subject, search for "stream query processing" and "stream data mining".

  5. #5
    Registered User
    Join Date
    Nov 2010
    Posts
    3
    Great. Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Signal and exception handling
    By nts in forum C++ Programming
    Replies: 23
    Last Post: 11-15-2007, 02:36 PM
  2. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  3. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  4. signal handling
    By trekker in forum C Programming
    Replies: 2
    Last Post: 07-05-2002, 02:52 AM