--BawA--
Advanced Member level 1
- Joined
- Nov 28, 2012
- Messages
- 479
- Helped
- 43
- Reputation
- 86
- Reaction score
- 42
- Trophy points
- 1,318
- Location
- Noida, INDIA
- Activity points
- 4,931
hey, i want to implement PID algorithm to keep the output of DC DC converter stable, i am using PIC mcu . i use mikroc for coding. i know the fundamentals of PID algo ,but didn't know how to code the PID in C language. my refrence voltage is 3v and the dynamic voltage may vary from 1 to 4 v. according to the the dynamic voltage , i have to set a dutycycle such that the dynamic voltage should be equal to 3v, an anyone tell me a sample code or algo to proceed?