Detection circuit and electronic terminal
First Claim
1. A detection circuit, used in an electronic terminal and configured to:
- detect a real-time working current of the electronic terminal, wherein the circuit comprises;
a resistor, configured to;
comprise a first end and a second end, wherein a resistance value of the resistor is variable;
a sampling unit, configured to;
be connected to both ends of the resistor, and collect voltages at the both ends of the resistor;
a first memory, configured to;
store a current calculating algorithm and an electric quantity calculating algorithm;
a data processing control unit, configured to;
be connected with the sampling unit and the first memory, calculate a voltage difference between the both ends of the resistor based on the voltages at the both ends of the resistor, and call the current calculating algorithm and the electric quantity calculating algorithm, according to the voltage difference and the resistance value of the resistor, acquire a current value and an electric quantity value; and
a power supply device, configured to;
provide a stable power supply for the detection circuit.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are a detection circuit and an electronic terminal. The detection circuit is applied in the electronic terminal and configured to detect a real-time working current of the electronic terminal. The circuit comprises: a resistor, having two ends and with variable resistance values; a sampling unit, configured to be connected with both ends of the resistor and collect voltages at both ends of the resistor; a first memory, configured to store a current calculating method and an electric quantity calculating method; a data processing control unit, configured to be connected with the sampling unit and the first memory, calculate a voltage difference across the resistor according to the voltages, and call above calculating methods to acquire a current value and an electric quantity value according to the voltage difference and the resistance value; and a power supply device, configured to provide a stable power supply for the detection circuit.
9 Citations
14 Claims
-
1. A detection circuit, used in an electronic terminal and configured to:
- detect a real-time working current of the electronic terminal, wherein the circuit comprises;
a resistor, configured to;
comprise a first end and a second end, wherein a resistance value of the resistor is variable;a sampling unit, configured to;
be connected to both ends of the resistor, and collect voltages at the both ends of the resistor;a first memory, configured to;
store a current calculating algorithm and an electric quantity calculating algorithm;a data processing control unit, configured to;
be connected with the sampling unit and the first memory, calculate a voltage difference between the both ends of the resistor based on the voltages at the both ends of the resistor, and call the current calculating algorithm and the electric quantity calculating algorithm, according to the voltage difference and the resistance value of the resistor, acquire a current value and an electric quantity value; anda power supply device, configured to;
provide a stable power supply for the detection circuit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
- detect a real-time working current of the electronic terminal, wherein the circuit comprises;
Specification