An RC oscillator circuit, comprising a first current source unit, a second current source unit, an oscillation resistor, a first oscillation capacitor, a second oscillation capacitor, two oscillation MOS transistors, two comparators, and an RS latch,
- wherein an input terminal of the first current source unit and an input terminal of the second current source unit are connected to an external power supply, the first current source unit is configured to generate a first current, an output terminal of the first current source unit is connected to one end of the oscillation resistor and non-inverting inputs of the two comparators, and the other end of the oscillation resistor is grounded;
- the second current source unit is configured to generate a second current and provided with two output terminals, one of the output terminals is connected to one end of the first oscillation capacitor and an inverting input of one of the two comparators, with the other end of the first oscillation capacitor grounded, and the other of the output terminals is connected to one end of the second oscillation capacitor and an inverting input of the other of the two comparators, with the other end of the second oscillation capacitor grounded;
- sources of the two oscillation MOS transistors are grounded, drains of the two oscillation MOS transistors are connected to one end of a corresponding oscillation capacitor, and gates of the two oscillation MOS transistors are both connected to an output of the RS latch;
- output terminals of the two comparators are connected to an input terminal of the RS latch, and the RS latch is configured to output a clock signal;
- wherein the first current source unit comprises a first MOS transistor, a second MOS transistor, a third MOS transistor, a fourth MOS transistor, and a first resistor;
- sources of the first and second MOS transistors are grounded, a drain of the first MOS transistor and a gate of the second MOS transistor are connected together to one end of the first resistor, the other end of the first resistor is connected to a gate of the first MOS transistor and a drain of the third MOS transistor, drains of the third and fourth MOS transistors are connected to the external power supply, and the drain and gate of the fourth MOS transistor are connected together to a gate of the third MOS transistor and a drain of the second MOS transistor;
- wherein the second current source unit comprises a fifth MOS transistor, a sixth MOS transistor, a seventh MOS transistor, an eighth MOS transistor, and a second resistor;
- sources of the fifth and sixth MOS transistors are grounded, drains of the fifth and seventh MOS transistors are connected together to gates of the seventh and eighth MOS transistors, a source of the seventh MOS transistor and one end of the second resistor are connected to the external power supply, with the other end of the second resistor connected to a source of the eighth MOS transistor;
- and the drain and gate of the sixth MOS transistor are connected together to a gate of the fifth MOS transistor and a drain of the eighth MOS transistor.