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.
sir i have the code, but when i am compiling it in MP lab ,it is showing some errors. please help me to solve it.
float adc;
float set_ref=3;
float err_val=0,I_err=0;
float current_duty_2=50;
float Kp=1,Ki=2;
float P_term=0,I_term=0;
float Sum_err=0;
void main() {
ADCON1=0x80;
TRISA=0xFF...
sir, i need the pic 16f877a code for pi or pid control. i have to do both controllers for the academic purpose. if you have the code for pi controller please help me sir....
i am using a sepic converter. ac to dc converter. my input is 75 volt and output is 12 volt. my requirement is to control the output voltage . if i give 10 volt as reference in pid controller, i should get 10 volt as output.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.