I am using Pic18f452. I have to compare two reading of voltage. i used the op-amp 741 in such a configuration. I am obtaining the feedback voltage form boost converter output capacitor.
The schematic is attached here. I am using this in hardware. just suppose the voltage 4.5v and 4.1V that will be compared to the Boost capacitor output voltage which varies form 0v to 5v.
Now the problem is that when the Boost capacitor output voltage goes just above
to 4.1V the output of op-amp 2 goes to 0v which is right . similarly , when the boost capacitor output voltage goes above to 4.5v OPAMP1 is turn on. Boost PWM is turn off bu PIc18f452 and the converter start in buck mode.
the output voltage of boost capacitor goes down but now the PIC didnt start the boost when the op-amp agian goes to zero.. it must have to start the Boost PWM.
can you tell me what will the problem with PIC or Op-amp in compared mode.
