Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Who have example code for PID Control ?

Status
Not open for further replies.

SPATAN

Full Member level 2
Joined
Aug 17, 2004
Messages
135
Helped
8
Reputation
16
Reaction score
3
Trophy points
1,298
Activity points
1,021
PID Control

Who have example code for PID Control ?
Please help me. MCS51 or PIC
 

Re: PID Control

Hello,
In what application your using PID Algorithm. Give details of your Quary. I already worked in this Algorithm in Temperature Controllers.
 
Re: PID Control

Hi

Hi search for PID AND code, I hope there are anything usefull.
Here are some suggestions that might point you in the right direction.





/Cl
 

    SPATAN

    Points: 2
    Helpful Answer Positive Rating
Re: PID Control

I use for Temperature control.
my sensor is thermocouple.
 
PID Control

It deponds on the acceptable tolerance, needed response time, temprature range and consequences of failing.
 

Re: PID Control

For Temp. calculations using PID , U must have 5 i/p values,i.e expexted temp, absorbed temp form TC, P constant(PC), I constant(IC), D constant(DC)

then
1. error(praportional)=temp. diff
2. abs(error) * PC >100 goto line6
3. reset(integration)=reset+(error*IC) intial reset is 0
4. reset*PC >100 reset = PC/100
5. reset is -ve put zero
6. rate(Differential)=error-prv.error
7. add P+I+D
 

Re: PID Control

hi

also look at that topic may help full for you
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top