Oscillator circuit and integrated circuit incorporating the same
View Patent ↗The oscillator circuit comprises a capacitor and first to fourth constant current supplies and switches are connected to the capacitor. Both terminals of the capacitor are used for charges and discharges. One period comprises four steps; charging the first terminal of the capacitor, discharging the second terminal, charging the first terminal, and discharging the second terminal.
1. A controller for controlling a power MOSFET in response to an output of a microcomputer, comprising:
a driver which responds to an input signal to output a driving signal for driving said power MOSFET;
a diagnostic logic including:
an oscillation circuit outputting an oscillation signal;
a first cycle signal generator generating a first cycle signal based on said oscillation signal;
a second cycle signal generator generating a second cycle signal based on said oscillation signal;
a mask circuit producing a masked signal by masking an output signal corresponding to the output of said power MOSFET in response to said first cycle signal and said input signal; and
a diagnostic circuit generating a diagnostic signal based on said masked signal to be applied to said microcomputer; and
an input logic producing said input signal based on the output of said microcomputer, said diagnostic signal and said second cycle signal.
2. The controller according to claim 1 , wherein the control circuit generates a control signal for masking a current on the load during a predetermined time period based on the oscillation signal and controls the driver circuit by the control signal.