U2C is a square wave oscillator. U2A uses R3 and R4 and RP3 to monitor the battery voltage if its too high it shunts out the square wave with VD1. U2B and RP1 sets the current limit by comparinng the voltage drop across R6. the square wave goes through U2B and switches the FET on and off.
Frank