I need a embedded c program for switching the MOSFET of the buck converter.By comparing the values of Vref and Vo, duty ratio of the pwm pulse to the MOSFET should vary.im using souce boost c compiler & pic 16f877. do any one help me..pl!!!!:?:
Re: need a program for the closed loop operation of dc conve
Hi
The 16F877 controller loop is to slow to handle the DC2DC loop - use a SMPS controller and add the micro to the outer loop - measure the DC output ,Input and change the output by adding or subtracting voltag from the feddback loop using PWM from the 16F877 converted to voltage
Re: need a program for the closed loop operation of dc conve
Although 18F877 is too slow to act as a fast DC/DC controller, it could perform at up to 50 kHz PWM frequency with one Vo measurement per cycle. So if you just want to demonstrate a processor controlled SMPS, it can be done. A well thought-out software design would be necessary anyway.