Disclosure of Invention
The invention aims to solve the technical problem that in the prior art, in a wireless communication device powered by a single battery, the output of a battery end generates large ripple at the moment of transmitting a signal by the wireless communication device so as to cause the power failure of a device chip directly powered by the battery to cause the shutdown of the device, and provides a compensation device based on a differential amplifier and a compensation circuit thereof during high-power transmission.
The invention solves the technical problems by the following technical scheme:
The first aspect of the present invention provides a compensation circuit, which, in addition to an external power supply, further includes: the differential amplifier, the first diode, the triode, the MOS tube and the low-dropout linear voltage regulator;
The positive electrode of the first diode is respectively and electrically connected with the output end of the external power supply and the negative input end of the differential amplifier, and the negative electrode of the first diode is respectively and electrically connected with the positive input end of the differential amplifier and the communication module; the output end of the differential amplifier is electrically connected with the base electrode of the triode; the collector of the triode is electrically connected with the grid electrode of the MOS tube, and the emitter of the triode is grounded; the source electrode of the MOS tube is electrically connected with the output end of the external power supply, and the drain electrode of the MOS tube is electrically connected with the input end of the low-dropout linear voltage regulator; the output end of the low dropout linear voltage regulator is electrically connected with the equipment chip;
The first diode is used for monitoring the working state of the compensation circuit;
the differential amplifier is used for judging whether the compensation circuit is in a high-power working state according to the differential pressure of the two ends of the first diode, and outputting voltage to the triode according to the judging result, wherein the voltage is larger than or equal to a set threshold value;
the triode is used for controlling the on-off state of the MOS tube according to the received voltage;
The MOS tube is used for controlling the external power supply to output voltage to be compensated to the low dropout linear voltage regulator;
the low dropout linear voltage regulator is used for carrying out step-down processing on the voltage to be compensated and outputting the step-down compensation voltage to the equipment chip.
Preferably, the compensation circuit further comprises: a first resistor, a second resistor, a third resistor and a fourth resistor;
The negative input end of the differential amplifier is respectively and electrically connected with one end of the first resistor and one end of the second resistor, the positive input end of the differential amplifier is respectively and electrically connected with one end of the third resistor and one end of the fourth resistor, and the output end of the differential amplifier is respectively and electrically connected with the other end of the second resistor and the base electrode of the triode; the other end of the first resistor is electrically connected with the anode of the first diode; the other end of the third resistor is electrically connected with the negative electrode of the first diode; the other end of the fourth resistor is grounded;
the first resistor, the third resistor and the fourth resistor are used for dividing voltage;
the second resistor is used for performing feedback control on the differential amplifier.
Preferably, the resistance values of the first resistor and the third resistor are both 100kΩ, and the resistance values of the second resistor and the fourth resistor are both 200kΩ.
Preferably, the compensation circuit further comprises: a fifth resistor;
The grid electrode of the MOS tube is respectively and electrically connected with one end of the fifth resistor and the collector electrode of the triode; the other end of the fifth resistor is electrically connected with the output end of the external power supply;
the fifth resistor is used for protecting the MOS tube.
Preferably, the resistance value of the fifth resistor is 100kΩ.
Preferably, the compensation circuit further comprises: a second diode;
The output end of the external power supply is connected with the equipment chip through the second diode;
and the second diode is used for preventing the compensating current output by the low dropout linear voltage regulator to the equipment chip from flowing back to the output end of the external power supply.
Preferably, the external power supply comprises a battery and a booster chip;
The output end of the battery is electrically connected with the input end of the equipment chip through the second diode; the output end of the battery is electrically connected with the input end of the booster chip; the output end of the booster chip is electrically connected with the anode of the first diode and the source electrode of the MOS tube respectively; the output end of the booster chip is electrically connected with the grid electrode of the MOS tube through the fifth resistor;
The battery is used for supplying power to the equipment chip;
The boosting chip is used for boosting the output voltage of the battery and transmitting the boosted voltage to the communication module through the first diode, and the boosted voltage provides the voltage to be compensated for the equipment chip through the MOS tube.
Preferably, the MOS tube is a PMOS tube.
Preferably, the triode is an NPN tube.
A second aspect of the invention provides a compensation device comprising the compensation circuit described above.
On the basis of conforming to the common knowledge in the field, the above preferred conditions can be arbitrarily combined to obtain the preferred examples of the invention.
The invention has the positive progress effects that: in the wireless communication equipment powered by a single cell, the problem that equipment is shut down due to power failure of an equipment chip caused when the wireless communication equipment transmits signals is solved through the compensating device based on the differential amplifier and the compensating circuit thereof.
Detailed Description
The invention is further illustrated by means of the following examples, which are not intended to limit the scope of the invention.
The embodiment provides a compensation circuit, as shown in fig. 1, which includes an external power supply 1, a first diode 2, a differential amplifier 3, a triode 4, a MOS transistor 5 and a low dropout linear regulator 6 (i.e. LDO in the figure).
As shown in fig. 1, the positive electrode of the first diode 2 is electrically connected with the output end of the external power supply 1 and the negative input end of the differential amplifier 3 respectively, and the negative electrode of the first diode 2 is electrically connected with the positive input end of the differential amplifier 3 and the input end of the communication module 7 respectively; the output end of the differential amplifier 3 is electrically connected with the base b of the triode 4, and the positive input end of the differential amplifier 3 is grounded; the collector e of the triode 4 is electrically connected with the grid G of the MOS tube 5, and the emitter c of the triode 4 is grounded; the source electrode S of the MOS tube 5 is electrically connected with the output end of the external power supply 1, and the drain electrode D of the MOS tube 5 is electrically connected with the input end of the low dropout linear voltage regulator 6; the output terminal of the low dropout linear regulator 6 is electrically connected to the input terminal of the device chip 8.
As an alternative embodiment, as shown in fig. 1, the compensation circuit further includes: a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5 and a second diode 9.
In this embodiment, the first resistor R1, the third resistor R3, and the fourth resistor R4 are used for voltage division; the second resistor R2 is used for performing feedback control on the differential amplifier 3; the fifth resistor R5 is used for protecting the PMOS tube 5.
As an alternative embodiment, as shown in fig. 1, the resistance values of the first resistor R1, the third resistor R3, and the fifth resistor R5 are all 100kΩ, and the resistance values of the second resistor R2 and the fourth resistor R4 are all 200kΩ.
In this embodiment, the second diode 9 is used to prevent the compensation current output from the low dropout linear regulator 6 to the device chip 8 from flowing back to the output terminal of the battery 101.
As an alternative embodiment, as shown in fig. 1, the external power source 1 includes a battery 101 (i.e., BAT in the figure) and a booster chip 102 (e.g., the booster chip 102 is a BOOST chip 102).
In this embodiment, as shown in fig. 1, the output terminal of the battery 101 is electrically connected to the input terminal of the BOOST chip 102; the output end of the battery 101 is electrically connected with the input end of the device chip 8 through the second diode 9; the output of the BOOST chip 102 is electrically connected to the input of the communication device 7 via the first diode 2.
In this embodiment, the voltage bat+ output by the battery 101 is boosted by the BOOST chip 102 to obtain VBAT, where bat+ is the supply voltage of the device chip 8, and VBAT is the supply voltage of the communication device 7 and provides the voltage to be compensated for the device chip 8.
As an alternative embodiment, as shown in fig. 1, the triode 4 is an NPN tube 4, and the mos tube 5 is a PMOS tube 5.
In this embodiment, as shown in fig. 1, the negative input end of the differential amplifier 3 is electrically connected to one end of the first resistor R1 and one end of the second resistor R2, the positive input end of the differential amplifier 3 is electrically connected to one end of the third resistor R3 and one end of the fourth resistor R4, and the output end of the differential amplifier 3 is electrically connected to the other end of the second resistor R2 and the base b of the NPN tube 4; the other end of the first resistor R1 is electrically connected with the anode of the first diode 2; the other end of the third resistor R3 is electrically connected with the cathode of the first diode 2; the other end of the fourth resistor R4 is grounded; the output end of the BOOST chip 102 is electrically connected with the grid G of the PMOS tube 5 through a fifth resistor R5; the gate G of the PMOS transistor 5 is electrically connected to the collector e of the NPN transistor 4.
In this embodiment, specifically, the working principle of the compensation circuit is:
(1) As shown in fig. 2, when the communication device 7 does not transmit a signal, the circuit is not in a high power operation state, and the compensation circuit is not operated, and the device chip 8 directly takes power from the battery 101.
(2) As shown in fig. 3, when the communication device 7 sends a signal, the circuit is in a high-power working state, the differential amplifier 3 reads the voltage drop change on the first diode 2, the NPN tube 4 is opened by a voltage greater than or equal to a set threshold value output by the differential amplifier 3, the PMOS tube 5 is opened by the NPN tube 4, and after the PMOS tube 5 is turned on, the VBAT provides a compensation voltage to the device chip 8 through the low dropout linear voltage regulator 6, so as to prevent the device chip 8 from powering down.
In this embodiment, as shown in fig. 1, the first diode 2 is used to monitor the operation state of the compensation circuit.
In this embodiment, as shown in fig. 1, the differential amplifier 3 is configured to determine whether the compensation circuit is in a high-power working state according to a voltage difference between two ends of the first diode 2, and output a voltage to the NPN tube 4 according to a determination result, where the voltage is greater than or equal to a set threshold.
In the present embodiment, specifically, the operation principle of the differential amplifier 3 is:
(1) When the differential amplifier 3 detects that the voltage difference across the first diode 2 is greater than or equal to the set threshold, the differential amplifier 3 outputs a voltage greater than or equal to the set threshold to the NPN tube 4, so that the NPN tube 4 is in an "on" state. For example, the set threshold may be set to 0.7V, or may be set to another value according to the actual situation, which is not particularly limited herein.
(2) When the differential amplifier 3 detects that the voltage difference across the first diode 2 is smaller than the set threshold, the differential amplifier 3 outputs a voltage smaller than 0.7V to the NPN tube 4, so that the NPN tube 4 is in an "off" state.
In this embodiment, as shown in fig. 1, the NPN tube 4 is configured to control the on-off state of the PMOS tube 5 according to the received voltage.
In this embodiment, specifically, the working principle of the NPN tube 4 is:
(1) When the NPN tube 4 is in the "off" state and the PMOS tube 5 is also in the "off" state, VBAT cannot provide the low dropout linear regulator 6 with the voltage to be compensated.
(2) When NPN tube 4 is in the "on" state, emitter c is on with collector e, and the voltage at collector e is equal to emitter c voltage, which is 0V because emitter c is grounded. As can be seen from fig. 2, the voltage at the collector e of the NPN tube 4 is equal to the voltage at the gate G of the PMOS tube 5, the voltage of the gate G is 0V, the voltage difference between the gate G and the source S is greater than the turn-on voltage of the PMOS tube 5, and the source S and the drain D of the PMOS tube 5 are turned on, so VBAT provides the voltage to be compensated to the low dropout linear regulator 6 through the PMOS tube 5.
In this embodiment, as shown in fig. 1, the low dropout linear regulator 6 is configured to provide a compensation voltage to the device chip 8 after performing a step-down process on VBAT.
In the wireless communication equipment powered by a single cell, the problem that equipment is shut down due to power failure of an equipment chip caused when the wireless communication equipment transmits signals is solved by the compensation device based on the differential amplifier 3 and the compensation circuit thereof.
The invention also provides a compensation device comprising a compensation circuit as in embodiment 1.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the principles and spirit of the invention, but such changes and modifications fall within the scope of the invention.