The invention discloses a rail-to-rail input bias
current compensation circuit, which is characterized in that an input pair
transistor module is formed by a PNP input differential pair and an NPN input differential pair which are connected in parallel, and can be switched to work or work simultaneously in a full common-mode
voltage range to adapt to different input
voltage conditions; secondly, the current sensing module samples the change of the bias current to generate a sensing current, so that the change of the bias current can be dynamically monitored and compensated; the
current mirror module copies the sensing current, the input geminate
transistor matching module serves as a matching
transistor circuit of the input geminate transistor module, and after the sensing current is reduced, the sensing current is injected into the differential input end of the rail
operational amplifier through the high-impedance
current mirror module. The technical problems that in an existing PNP and NPN combined compensation method, the input bias current is large, the
amplification factor difference of NPN and PNP tubes in a full-temperature region is large, and in a
mirror image compensation method, only linear
copying can be conducted on a direct-current working point, the nonlinear component of the input bias current Ib changing along with differential mode
voltage Vdm cannot be tracked, and consequently
nonlinear distortion is serious are solved.