PID control routines

This is a discussion on PID control routines within the C Programming forums, part of the General Programming Boards category; Has any got help on code for PID control using C...

  1. #1
    Unregistered
    Guest

    PID control routines

    Has any got help on code for PID control using C

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Potentially Interesting Device?
    Possibly Illegal Domain?
    Peruvian Inca Dam?
    Practically Irrelevent Data?

    Which was it you meant?!
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    PID controller -> Proportional Integration Differentiation controller. I assume you have the block-scheme of the controller you want to implement.

    I've once implemented a PI controller. Remember that integration can be done by taking the sum. I don't know how differentiation should be done.

  4. #4
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    Found an implementation of PID-control.

    May I ask you where you need it for? Have you considered using fuzzy logic?
    Attached Files Attached Files
    • File Type: c pid.c (2.4 KB, 377 views)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. crazy pipe/fork
    By fortune2k in forum C Programming
    Replies: 8
    Last Post: 03-13-2009, 11:28 AM
  2. (Multiline) Edit Control Limit
    By P4R4N01D in forum Windows Programming
    Replies: 9
    Last Post: 05-17-2008, 11:56 AM
  3. Getting other processes class names
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2008, 04:02 PM
  4. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 05:23 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21