Abstract:
A linear regulator and a current sensing circuit are provided. The linear regulator comprises a pass transistor, a compensation capacitor, a variable resistor, an error amplifier and a current sensing circuit comprising a sense transistor controlled by the error amplifier and a voltage follower coupled with the second terminal of the pass transistor and the second terminal of the sense transistor. The sense transistor receives an input voltage, and generates a sense current proportional to a pass current. The voltage follower controls the voltage at the second terminal of the sense transistor to be the same as that at the second terminal of the pass transistor, and adjusts the resistance of the variable resistor according to the voltages at the second terminal of the pass transistor, the voltage at the second terminal of the sense transistor, and the sense current flowing through the sense transistor.