Charging and discharging detection equipment

By arranging a current detection device and a current amplification device in the lithium battery charging and discharging circuit to generate and amplify the voltage to determine the battery status, the ability of a single current amplifying device to detect the charging and discharging status of the lithium battery is realized, which solves the need to set up separate current amplifying devices in the existing technology. The problem of charge and discharge current amplification device has the advantages of high cost performance and clear logic.

CN221595208UActive Publication Date: 2024-08-23DE POWER TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323227585.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-28
Publication Date
2024-08-23
Estimated Expiration
2033-11-28

AI Technical Summary

Technical Problem

The existing technology cannot detect the charging and discharging status of a lithium battery through a single current amplification device, and requires separately setting a charge current amplification device and a discharge current amplification device.

Method used

Design a charge and discharge detection equipment, including a battery device, a current detection device, a current amplification device and a voltage detection and processing device. The current detection device is installed on the charge and discharge circuit of the battery device to generate voltage and current that match the direction and magnitude of the current. The amplification device amplifies the voltage, and the voltage detection and processing device determines the charge and discharge status of the battery based on the amplified voltage value.

Benefits of technology

The charge and discharge status of the battery can be accurately determined through a single current amplification device, which solves the problem of being unable to detect the charge and discharge status independently. It has simple logic, simple circuits and high cost performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221595208U
    Figure CN221595208U
Patent Text Reader

Abstract

The utility model relates to charging and discharging detection equipment, which comprises a battery device, a current detection device, a current amplification device and a voltage detection and processing device, and is characterized in that the current detection device is arranged on a charging and discharging loop of the battery device and is used for detecting current flowing through the charging and discharging loop and generating first voltage matched with the current direction and the current magnitude; the current amplification device is connected with the two ends of the current detection device and used for amplifying first voltage generated on the current detection device to obtain second voltage, and the voltage detection and processing device is connected with the current amplification device and used for determining whether the battery device is in a charging state or a discharging state according to the second voltage. The current detection device is arranged on the charging and discharging loop of the battery to detect the loop current and generate the voltage, then the voltage is amplified through the current amplification device, and finally the working state of the battery is determined according to the amplified voltage value, so that the problem that the charging and discharging state of the battery cannot be detected through a single current amplification device is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of batteries, in particular to a charging and discharging detection device. Background Art

[0002] After decades of development and innovation, my country's lithium battery industry has made great breakthroughs in both quantity and quality. Electronic devices with batteries need to control the charge / discharge current when charging / discharging the battery, and then display the charge / discharge status.

[0003] In the prior art, for electronic devices with the same charging and discharging ports, a charging current amplifying device and a discharging current amplifying device are required to detect the charging current and the discharging current respectively, so as to determine the charging and discharging status of the battery. In other words, it is currently impossible to detect the charging and discharging status of the battery by a single current amplifying device.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Utility Model Content

[0005] The present application provides a charge and discharge detection device to solve the above-mentioned technical problem of "it is impossible to detect the charge and discharge state of a battery through a single current amplification device".

[0006] According to one aspect of an embodiment of the present application, the present application provides a charge and discharge detection device, including: a battery device, a current detection device, a current amplifying device, and a voltage detection and processing device. The current detection device is arranged on the charge and discharge circuit of the battery device, and is used to detect the current flowing through the charge and discharge circuit, and generate a first voltage that matches both the current direction and the current magnitude. The current amplifying device is connected to both ends of the current detection device, and is used to amplify the first voltage generated on the current detection device to obtain a second voltage. The voltage detection and processing device is connected to the current amplifying device, and is used to determine whether the battery device is in a charging state or a discharging state according to the second voltage, wherein the charging state and the discharging state are associated with the current direction and the current magnitude.

[0007] Optionally, the current amplifying device is also used to amplify the first voltage into a second voltage less than a second voltage threshold when it is detected that a first voltage with a voltage direction in a first direction and a voltage magnitude less than a first voltage threshold is generated on the current detecting device. The voltage detecting and processing device is also used to determine that the battery device is in a charging state when it is detected that the second voltage is less than the second voltage threshold.

[0008] Optionally, the current amplifying device is also used to amplify the first voltage into a second voltage greater than a second voltage threshold when it is detected that a first voltage with a voltage direction in a second direction and a voltage magnitude greater than a first voltage threshold is generated on the current detecting device. The voltage detecting and processing device is also used to determine that the battery device is in a discharging state when it is detected that the second voltage is greater than the second voltage threshold.

[0009] Optionally, the current amplifying device is also used to amplify the first voltage to a third voltage equal to a second voltage threshold when the current detecting device generates a first voltage whose voltage magnitude is equal to the first voltage threshold, and the voltage detecting and processing device is also used to configure the current battery state to a static state when it is detected that the third voltage is equal to the second voltage threshold.

[0010] Optionally, the device also includes a power supply device, and the battery device provides power to the power supply device when it is in a static state. The power supply device is used to supply power to the current amplification device and the voltage detection and processing device when receiving power.

[0011] Optionally, the device further comprises an indicating device connected to the current amplifying device, and configured to display a charging state or a discharging state corresponding to the indicating signal when receiving an indicating signal sent by the current amplifying device.

[0012] Optionally, the current amplifying device includes a first operational amplifier, configured to amplify the first voltage by a preset multiple.

[0013] Optionally, the current amplifying device also includes a first capacitor and a second capacitor, one end of the first capacitor is connected to the positive input terminal of the first operational amplifier, and the other end is connected to the reverse input terminal of the first operational amplifier, one end of the second capacitor is connected to the positive input terminal of the first operational amplifier, and the other end is connected to the reverse input terminal of the first operational amplifier, the first capacitor and the second capacitor are connected in parallel, and both are used to suppress interference signals.

[0014] Optionally, the current amplifying device also includes a first resistor and a second resistor, one end of the first resistor is connected to the first capacitor, and the other end is connected to the negative electrode of the battery, one end of the second resistor is connected to the first capacitor, and the other end is grounded, and the first resistor and the second resistor are used to keep the voltage across the first capacitor consistent.

[0015] Optionally, the current amplifying device further includes a third resistor, one end of the third resistor is connected to the inverting input end of the first operational amplifier, and the other end is connected to the output end of the first operational amplifier, and the third resistor and the first operational amplifier form a negative feedback amplifier.

[0016] Optionally, the current amplifying device further includes a filtering circuit, which is composed of a fourth resistor and a third capacitor connected in series, the fourth resistor is connected to the output end of the first operational amplifier, the third capacitor is grounded, and the filtering circuit is used to filter out high-frequency clutter.

[0017] Optionally, the current amplifying device also includes a fifth resistor, one end of the fifth resistor is connected to the positive input terminal of the first operational amplifier, and the other end is connected to the voltage detection and processing device, and the fifth resistor is used to absorb instantaneous voltage and current fluctuations in the circuit.

[0018] Optionally, the voltage detection and processing device includes a second operational amplifier, which is used to compare the value of the second voltage with a second voltage threshold to determine whether the battery device is in a charging state or a discharging state.

[0019] Optionally, the voltage detection and processing device also includes a fourth capacitor and a fifth capacitor, one end of the fourth capacitor is connected to the positive power supply terminal of the second operational amplifier, and the other end is grounded, one end of the fifth capacitor is connected to the positive power supply terminal of the second operational amplifier, and the other end is grounded, the fourth capacitor and the fifth capacitor are connected in parallel, and are both used to filter out noise generated by the power supply.

[0020] Optionally, the voltage detection and processing device also includes a sixth resistor and a seventh resistor, the sixth resistor and the seventh resistor are connected in series for voltage division, wherein one end of the sixth resistor is connected to the positive input terminal of the second operational amplifier, and the other end is connected to the power supply terminal, and one end of the seventh resistor is connected to the positive input terminal of the second operational amplifier, and the other end is grounded.

[0021] Optionally, the current detection device includes a current detection resistor, which is used to generate a first voltage that matches both the direction and magnitude of the current when the current flows through.

[0022] The above technical solution provided by the embodiment of the present application has the following advantages compared with the related art:

[0023] The present application provides a charge and discharge detection device, including: a battery device, a current detection device, a current amplifying device, and a voltage detection and processing device. The current detection device is arranged on the charge and discharge circuit of the battery device, and is used to detect the current flowing through the charge and discharge circuit, and generate a first voltage that matches the current direction and current magnitude. The current amplifying device is connected to both ends of the current detection device, and is used to amplify the first voltage generated on the current detection device to obtain a second voltage. The voltage detection and processing device is connected to the current amplifying device, and is used to determine whether the battery device is in a charging state or a discharging state according to the second voltage, wherein the charging state and the discharging state are associated with the current direction and current magnitude. By arranging the current detection device on the charge and discharge circuit of the battery device to detect the circuit current and generate a voltage, and then amplifying the voltage by the current amplifying device, and finally determining the charge and discharge state of the battery device according to the amplified voltage value, the problem that the charge and discharge state of the battery cannot be detected by a single current amplifying device is solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0026] Figure 1 A schematic diagram of the structure of an optional charge and discharge detection device provided according to an embodiment of the present application;

[0027] Figure 2 A charging schematic diagram of an optional charge and discharge detection device provided in this application;

[0028] Figure 3 A discharge schematic diagram of an optional charge and discharge detection device provided in this application;

[0029] Figure 4 A partial circuit diagram of an optional charge and discharge detection device provided in this application. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0031] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application and have no specific meaning. Therefore, "module" and "component" can be used interchangeably.

[0032] After decades of development and innovation, my country's lithium battery industry has made great breakthroughs in both quantity and quality. Electronic devices with batteries need to control the charge / discharge current when charging / discharging the battery, and then display the charge / discharge status.

[0033] After decades of development and innovation, my country's lithium battery industry has made great breakthroughs in both quantity and quality. Electronic devices with batteries need to control the charge / discharge current when charging / discharging the battery, and then display the charge / discharge status.

[0034] In the prior art, for electronic devices with the same charging and discharging ports, a charging current amplifying device and a discharging current amplifying device are required to detect the charging current and the discharging current respectively, so as to determine the charging and discharging status of the battery. In other words, it is currently impossible to detect the charging and discharging status of the battery by a single current amplifying device.

[0035] In order to solve the problems mentioned in the background technology, according to one aspect of the embodiments of the present application, a charge and discharge detection device is provided, such as Figure 1 As shown, it includes: a battery device 102, a current detection device 104, a current amplification device 106 and a voltage detection and processing device 108,

[0036] The current detection device 104 is arranged on the charge and discharge circuit of the battery device 102, and is used to detect the current flowing through the charge and discharge circuit and generate a first voltage that matches both the current direction and the current magnitude. The current amplification device 106 is connected to both ends of the current detection device 104, and is used to amplify the first voltage generated on the current detection device 104 to obtain a second voltage. The voltage detection and processing device 108 is connected to the current amplification device 106, and is used to determine whether the battery device 102 is in a charging state or a discharging state according to the second voltage, wherein the charging state and the discharging state are associated with the current direction and the current magnitude.

[0037] The battery device consists of a single battery or multiple batteries connected in series.

[0038] The current detection device includes a current detection resistor, which is arranged in the charging and discharging circuit of the battery device. Regardless of whether the battery device is in a charging state or a discharging state, as long as current passes through, a first voltage will be generated at both ends of the current detection resistor. The voltage value of the first voltage is proportional to the current size, and the direction of the first voltage corresponds to the direction of the current.

[0039] The voltage detection and processing device includes an MCU (Micro Controller Unit) and peripheral devices, wherein the MCU includes a second operational amplifier, and the peripheral devices include capacitors and current-sense resistors. It should be noted that only one I / O pin is used between the MCU and the peripheral circuit.

[0040] Since there is voltage at both ends of the circuit even if there is no power, the present application must ensure that the charging and discharging circuit of the battery device is normally powered before performing the charging and discharging detection. Therefore, the present application sets a first voltage threshold to ensure that the detection is started only when the voltage reaches the first voltage threshold. The first voltage threshold can be set according to actual conditions, and the present application does not limit this.

[0041] The second voltage threshold in the embodiment of the present application is a reference voltage generated by the voltage detection and processing device, which is approximately half of the power supply voltage (3.3V) and can be set to 1.5V. In fact, the second voltage threshold can be adjusted according to actual conditions.

[0042] The first direction is from the positive pole of the power supply to the battery device to the negative pole of the power supply, and the second direction is from the negative pole of the power supply to the battery device to the positive pole of the power supply.

[0043] Since the charging state and the discharging state in the present application are associated with the current direction and the current magnitude, and the first voltage is generated by the current flowing through the current-sensing resistor, the magnitude and direction of the first voltage depend on the magnitude and direction of the current. Therefore, the first voltage can be amplified by the same set of current amplification devices, and then the voltage value of the amplified second voltage can be used to determine whether the current flowing through the loop is a charging current or a discharging current, thereby solving the problem of being unable to perform charging and discharging detection through a single current amplification device.

[0044] As an optional embodiment, the current amplifying device is also used to amplify the first voltage into a second voltage less than a second voltage threshold when it is detected that a first voltage with a voltage direction in a first direction and a voltage magnitude less than a first voltage threshold is generated on the current detecting device. The voltage detecting and processing device is also used to determine that the battery device is in a charging state when it is detected that the second voltage is less than the second voltage threshold.

[0045] As an optional embodiment, the current amplifying device is also used to amplify the first voltage into a second voltage greater than a second voltage threshold when it is detected that a first voltage with a voltage direction in a second direction and a voltage magnitude greater than a first voltage threshold is generated on the current detecting device. The voltage detecting and processing device is also used to determine that the battery device is in a discharging state when it is detected that the second voltage is greater than the second voltage threshold.

[0046] As an optional embodiment, the current amplifying device is also used to amplify the first voltage to a third voltage equal to the second voltage threshold when the current detecting device generates a first voltage whose voltage magnitude is equal to the first voltage threshold, and the voltage detecting and processing device is also used to configure the current battery state to a static state when it is detected that the third voltage is equal to the second voltage threshold.

[0047] For example, when it is detected that the voltage output by the current amplifying device is 1.5V, the voltage detecting and processing device performs internal calculation processing and memorizes the static state, and the indicating device will not display anything at this time.

[0048] As an optional embodiment, the device also includes a power supply device, and the battery device provides power to the power supply device when it is in a static state. The power supply device is used to supply power to the current amplification device and the voltage detection and processing device when receiving power.

[0049] In the present application, the power supply voltage of the power supply device is 3.3V.

[0050] The power supply device includes a low dropout regulator (LDO) and peripheral devices (eg, capacitors).

[0051] As an optional embodiment, the device also includes an indication device connected to the current amplifying device, and is used to display the charging state or discharging state corresponding to the indication signal when receiving the indication signal sent by the current amplifying device.

[0052] The voltage detection and processing device is used to compare the second voltage with the second voltage threshold. The current amplification device generates a control signal (generally a voltage signal) according to the comparison result, and transmits the control signal to the indicating device. After receiving the control signal, the indicating device displays the battery status corresponding to the control signal.

[0053] Optionally, the indicating device may be a display screen or a display light or other device that can accurately display different information to indicate the charging state and the discharging state.

[0054] Optionally, when the indicating device is a display light, the corresponding charging and discharging status can be displayed by different colors of the display light, for example, a red light indicates charging, and a yellow light indicates discharging.

[0055] Optionally, when the indicating device is a display screen, the working status of the battery can be directly displayed on the screen, as well as information such as the current working current.

[0056] Figure 2 The charging schematic diagram of the charging and discharging detection device provided in the present application includes: a battery device 1, a current detection device 2, a current amplifying device 3, a power supply device 4, a voltage detection and processing device 5 and an indicating device 6. The current detection device 2 is arranged on the charging and discharging circuit between the battery device 1 and the positive and negative poles of the power supply. The current amplifying device 3 is connected in parallel with the current detection device. The current amplifying device 3 is also connected to the voltage detection and processing device 5 and the indicating device 6 respectively. The voltage detection and processing device 5 is connected to one end of the power supply device 4, and the power supply device 4 is connected to the positive pole of the power supply. Figure 2 As shown, when the battery device is in a charging state, the current flows in from the P+ terminal, along the positive electrode to the negative electrode of the battery device 1, and then flows through the current detection device 2 and flows out from the P- terminal.

[0057] For example, when the power supply terminal (P+ / P-) has power to charge the battery device, when the charging current flows through the current detection device, a left + / right - voltage is generated on the current detection device. After this voltage is amplified by the current amplifier, a voltage lower than 1.5V is output. The level of the output voltage depends on the size of the charging current. When the voltage detection and processing device detects a voltage lower than 1.5V, the current amplifier outputs a control signal corresponding to the charging status to the indication module, and the indication module indicates the charging status.

[0058] Figure 3 The discharge schematic diagram of the charge and discharge detection device provided in this application includes: a battery device 1, a current detection device 2, a current amplifying device 3, a power supply device 4, a voltage detection and processing device 5 and an indicating device 6. The current detection device 2 is arranged on the charge and discharge circuit between the battery device 1 and the positive and negative poles of the power supply. The current amplifying device 3 is connected in parallel with the current detection device. The current amplifying device 3 is also connected to the voltage detection and processing device 5 and the indicating device 6 respectively. The voltage detection and processing device 5 is connected to one end of the power supply device 4, and the power supply device 4 is connected to the positive pole of the power supply. Figure 3 As shown, when the battery device is in a discharge state, the current flows in from the P-terminal, along the negative electrode to the positive electrode of the battery device 1, and then flows through the current detection device 2 and flows out from the P+ terminal.

[0059] For example, when the battery module is discharging, the power supply end (P+ / P-) will be connected to the load. When the discharge current flows through the current detection device, a left- / right+ voltage is generated on the current detection device. After this voltage is amplified by the current amplifier, a voltage higher than 1.5V is output. The output voltage depends on the size of the discharge current. The voltage detection and processing device detects a voltage higher than 1.5V, and the current amplifier outputs a control signal corresponding to the discharge state to the indication module, and the indication module indicates the discharge state.

[0060] As an optional embodiment, the current amplifying device includes a first operational amplifier, which is used to amplify the first voltage according to a preset multiple.

[0061] The current amplifying device includes a first operational amplifier and peripheral devices (eg, capacitors and resistors outside the chip).

[0062] The voltage amplification factor of the first operational amplifier can be preset and adjusted according to actual conditions. The amplification factor provided in this application is 20 times.

[0063] For example, the operational amplifier output in the present application defaults to 1.5V. In the charging state, the operational amplifier output is lower than 1.5V and increases linearly. In the discharging state, the operational amplifier output is higher than 1.5V and increases linearly.

[0064] This application uses a current amplification device that can detect both the charging state and the discharging state. The control logic is simple and clear, the circuit is simple, and the cost performance is high.

[0065] As an optional embodiment, the current amplifying device also includes a first capacitor and a second capacitor, one end of the first capacitor is connected to the positive input terminal of the first operational amplifier, and the other end is connected to the reverse input terminal of the first operational amplifier, one end of the second capacitor is connected to the positive input terminal of the first operational amplifier, and the other end is connected to the reverse input terminal of the first operational amplifier, the first capacitor and the second capacitor are connected in parallel, and both are used to suppress interference signals.

[0066] Connecting the first capacitor and the second capacitor in parallel to the positive and negative input terminals of the first operational amplifier can absorb the clutter of the load input, suppress high-frequency noise, make signal transmission more stable, and improve power supply quality.

[0067] As an optional embodiment, the current amplifying device also includes a first resistor and a second resistor, one end of the first resistor is connected to the first capacitor, and the other end is connected to the negative electrode of the battery, one end of the second resistor is connected to the first capacitor, and the other end is grounded, and the first resistor and the second resistor are used to keep the voltage across the first capacitor consistent.

[0068] Specifically, the first resistor and the second resistor are both differential resistors, which can compensate for the error caused by the uneven length of the PCB (printed circuit board) line to maintain the stability and accuracy of the circuit. In static state, the two differential resistors are connected across the first capacitor to maintain the consistency of the voltage across the first capacitor, thereby ensuring the normal operation of the circuit.

[0069] As an optional embodiment, the current amplifying device also includes a third resistor, one end of the third resistor is connected to the inverting input terminal of the first operational amplifier, and the other end is connected to the output terminal of the first operational amplifier, and the third resistor and the first operational amplifier form a negative feedback amplifier.

[0070] Specifically, the third resistor and the first operational amplifier can form a negative feedback amplifier. In the negative feedback amplifier, the third resistor can be used as a feedback resistor, and a feedback network is formed between the third resistor and the output terminal and the reverse input terminal of the first operational amplifier. The feedback network can feed back a part of the output signal to the input terminal, thereby changing the amplitude and phase of the input signal, so as to achieve the purpose of adjusting the circuit gain and stability.

[0071] As an optional embodiment, the current amplifying device also includes a filtering circuit, which is composed of a fourth resistor and a third capacitor connected in series, the fourth resistor is connected to the output end of the first operational amplifier, and the third capacitor is grounded. The filtering circuit is used to filter out high-frequency noise.

[0072] Specifically, the fourth resistor and the third capacitor are connected in series to form a filter circuit (low-pass filter), which allows low-frequency signals to pass through while suppressing or filtering out high-frequency signals.

[0073] As an optional embodiment, the current amplifying device also includes a fifth resistor, one end of the fifth resistor is connected to the positive input terminal of the first operational amplifier, and the other end is connected to the voltage detection and processing device, and the fifth resistor is used to absorb instantaneous voltage and current fluctuations in the circuit.

[0074] Specifically, the fifth resistor is connected to the positive input terminal of the first operational amplifier, and the fifth resistor can be used as a buffer to reduce the amplitude of the input signal, thereby preventing the excessive signal from affecting subsequent circuits.

[0075] Optionally, the resistance of the fifth resistor is usually below 1K.

[0076] As an optional embodiment, the voltage detection and processing device includes a second operational amplifier, which is used to compare the value of the second voltage with the second voltage threshold to determine whether the battery device is in a charging state or a discharging state.

[0077] Specifically, the second operational amplifier is further used to compare the value of the first voltage with the second voltage threshold to determine whether the battery device is in a charging state or a discharging state.

[0078] As an optional embodiment, the voltage detection and processing device also includes a fourth capacitor and a fifth capacitor, one end of the fourth capacitor is connected to the positive power supply terminal of the second operational amplifier, and the other end is grounded, one end of the fifth capacitor is connected to the positive power supply terminal of the second operational amplifier, and the other end is grounded, the fourth capacitor and the fifth capacitor are connected in parallel, and are both used to filter out noise generated by the power supply.

[0079] Specifically, the fourth capacitor and the fifth capacitor are filter capacitors, which can absorb and store the clutter energy generated by the power supply, thereby reducing the impact of the clutter on the circuit.

[0080] The power supply is one of the main sources of noise in the circuit, which may introduce adverse effects such as noise and interference. By configuring the fourth capacitor and the fifth capacitor at the positive end of the power supply, these noises can be effectively suppressed and the signal quality and working stability of the circuit can be improved.

[0081] As an optional embodiment, the voltage detection and processing device also includes a sixth resistor and a seventh resistor, the sixth resistor and the seventh resistor are connected in series for voltage division, wherein one end of the sixth resistor is connected to the positive input terminal of the second operational amplifier, and the other end is connected to the power supply terminal, and one end of the seventh resistor is connected to the positive input terminal of the second operational amplifier, and the other end is grounded.

[0082] Specifically, the sixth resistor and the seventh resistor are connected in series to form a voltage divider circuit for dividing the input voltage into two output voltages.

[0083] By selecting an appropriate resistance value, the input voltage can be divided into the required output voltage. The resistance value in this application can be above 10K.

[0084] As an optional embodiment, the current detection device includes a current detection resistor, which is used to generate a first voltage that matches both the direction and magnitude of the current when the current flows through.

[0085] Regardless of whether the battery device is in a charging state or a discharging state, as long as current passes through the current sensing resistor, a first voltage will be generated across the current sensing resistor. The voltage value of the first voltage is proportional to the current magnitude, and the direction of the first voltage corresponds to the direction of the current.

[0086] Figure 4 This is a partial circuit diagram of the charge and discharge detection device provided in this application, which includes a current amplification device and a voltage detection and processing device. Figure 4 The circuit structures of the two devices are described in:

[0087] (1) The current amplifying device includes: a first operational amplifier U1-B, used for amplifying voltage; a first capacitor C1 and a second capacitor C2, used for resisting interference static electricity, high-frequency clutter and clutter of load input; a first resistor R1 and a second resistor R2 are both differential resistors, used for compensating for the uneven length of PCB traces, and the static state is to keep the voltage across the first capacitor C1 consistent; a third resistor R3, used for cooperating with the operational amplifier U1-B to form amplification; a third capacitor C3, used for filtering out clutter generated after current amplification; a fourth resistor R4, used for forming an RC filter in combination with the third capacitor C3 to filter out high-frequency clutter; a fifth resistor R5, which plays the role of buffering and current limiting, and the resistance value is generally selected between 1K and 100K; the current amplifying device is connected to the indicating device through I_DET, connected to the current detection device through B- (battery negative pole) and then grounded.

[0088] The specific connection relationship is: the output terminal 7 of the first operational amplifier U1-B is connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is connected to the ground through the third capacitor C3 and to the indicating device through the I_DET terminal. One end of the third resistor R3 is connected to the output terminal 7, and the other end is connected to the inverting input terminal 6 of the first operational amplifier U1-B. The inverting input terminal 6 of the first operational amplifier U1-B is also connected to one end of the first resistor R1, and the other end of the first resistor R1 is connected to the B-terminal. The positive input terminal 5 of the first operational amplifier U1-B is connected to a ground terminal through the second resistor R2, and a current detection device is connected between the ground terminal and the B-terminal. The positive input terminal 5 of the first operational amplifier U1-B is connected to one end of the fifth resistor R5, and the other end of the fifth resistor R5 is connected to the voltage detection and processing device. The positive and negative input terminals of the first operational amplifier are connected in parallel with two capacitors (the first capacitor C1 and the second capacitor C2).

[0089] (2) The voltage detection and processing device includes: a second operational amplifier U1-A, used for comparing voltages; a fourth capacitor C4 and a fifth capacitor C5, used for filtering out noise generated by a power supply; a sixth resistor R6 and a seventh resistor R7, used for voltage division; the power supply terminal (3.3V) indicates that the power supply voltage connected to the power supply device is 3.3V.

[0090] The specific connection relationship is: the second operational amplifier U1-A has an output terminal 1, a positive input terminal 3, an inverting input terminal 2, a positive power supply terminal 8 and a negative power supply terminal 4, the output terminal 1 is connected to the fifth resistor R5 of the current amplifying device, the output terminal 1 is also connected to the inverting input terminal 2, the positive input terminal 3 is grounded through the seventh resistor R7 and connected to the power supply terminal (3.3V) through the sixth resistor R6, the power supply terminal (3.3V) is connected to the power supply device, the positive power supply terminal 8 is grounded through the fourth capacitor C4 and the fifth capacitor C5 (the fourth capacitor C4 and the fifth capacitor C5 are connected in parallel), the positive power supply terminal 8 is also connected to the power supply terminal (3.3V), and the negative power supply terminal 4 is directly grounded.

[0091] The present application provides a charge and discharge detection device, including: a battery device, a current detection device, a current amplifying device, and a voltage detection and processing device. The current detection device is arranged on the charge and discharge circuit of the battery device, and is used to detect the current flowing through the charge and discharge circuit, and generate a first voltage that matches the current direction and current magnitude. The current amplifying device is connected to both ends of the current detection device, and is used to amplify the first voltage generated on the current detection device to obtain a second voltage. The voltage detection and processing device is connected to the current amplifying device, and is used to determine whether the battery device is in a charging state or a discharging state according to the second voltage, wherein the charging state and the discharging state are associated with the current direction and current magnitude. By arranging the current detection device on the charge and discharge circuit of the battery device to detect the circuit current and generate a voltage, and then amplifying the voltage by the current amplifying device, and finally determining the charge and discharge state of the battery device according to the amplified voltage value, the problem that the charge and discharge state of the battery cannot be detected by a single current amplifying device is solved.

[0092] In the description of the present application, it should be noted that the terms "upper", "lower", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying importance; the words "bottom surface" and "top surface", "inside" and "outside" refer to the geometric direction toward or away from a specific component, respectively.

[0093] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances. In addition, in the description of the present application, unless otherwise specified, "plurality" means two or more.

[0094] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A charging and discharging detection device, It is characterized in that include: Battery device, current detection device, current amplification device and voltage detection and processing device, The current detection device is arranged on the charge and discharge circuit of the battery device, and is used to detect the current flowing through the charge and discharge circuit, and generate a first voltage matching both the current direction and the current magnitude. The current amplifying device is connected to both ends of the current detecting device and is used to amplify the first voltage generated on the current detecting device to obtain a second voltage. The voltage detection and processing device is connected to the current amplification device, and is used to determine whether the battery device is in a charging state or a discharging state according to the second voltage, wherein the charging state and the discharging state are associated with the current direction and the current magnitude.

2. The device according to claim 1, It is characterized in that The current amplifying device is further used to amplify the first voltage to a second voltage less than a second voltage threshold when detecting that the first voltage with a voltage direction in a first direction and a voltage magnitude less than the first voltage threshold is generated on the current detecting device, The voltage detection and processing device is further configured to determine that the battery device is in the charging state when it is detected that the second voltage is less than the second voltage threshold.

3. The device according to claim 1, It is characterized in that The current amplifying device is further used to amplify the first voltage to a second voltage greater than the second voltage threshold when detecting that the first voltage with a voltage direction in a second direction and a voltage magnitude greater than the first voltage threshold is generated on the current detecting device, The voltage detection and processing device is further configured to determine that the battery device is in the discharge state when it is detected that the second voltage is greater than the second voltage threshold.

4. The device according to claim 1, It is characterized in that The current amplifying device is also used to amplify the first voltage to a third voltage equal to the second voltage threshold when the current detecting device generates the first voltage whose voltage magnitude is equal to the first voltage threshold. The voltage detecting and processing device is also used to configure the current battery state to a static state when it is detected that the third voltage is equal to the second voltage threshold.

5. The device according to claim 4, It is characterized in that The device also includes a power supply device, and the battery device provides power to the power supply device when in the static state. The power supply device is used to supply power to the current amplifying device and the voltage detecting and processing device when receiving power.

6. The device according to claim 1, It is characterized in that The device also includes an indication device connected to the current amplifying device, and is used to display the charging state or the discharging state corresponding to the indication signal when receiving the indication signal sent by the current amplifying device.

7. The device according to claim 1, It is characterized in that The current amplifying device includes a first operational amplifier, which is used to amplify the first voltage according to a preset multiple.

8. The device according to claim 7, It is characterized in that The current amplifying device also includes a first capacitor and a second capacitor, one end of the first capacitor is connected to the positive input terminal of the first operational amplifier, and the other end is connected to the reverse input terminal of the first operational amplifier, one end of the second capacitor is connected to the positive input terminal of the first operational amplifier, and the other end is connected to the reverse input terminal of the first operational amplifier, the first capacitor and the second capacitor are connected in parallel, and both are used to suppress interference signals.

9. The device according to claim 8, It is characterized in that The current amplifying device also includes a first resistor and a second resistor, one end of the first resistor is connected to the first capacitor, and the other end is connected to the negative electrode of the battery, one end of the second resistor is connected to the first capacitor, and the other end is grounded, and the first resistor and the second resistor are used to keep the voltage across the first capacitor consistent.

10. The device according to claim 7, It is characterized in that The current amplifying device further includes a third resistor, one end of the third resistor is connected to the inverting input end of the first operational amplifier, and the other end is connected to the output end of the first operational amplifier. The third resistor and the first operational amplifier form a negative feedback amplifier.

11. The device according to claim 7, It is characterized in that The current amplifying device also includes a filtering circuit, which is composed of a fourth resistor and a third capacitor connected in series. The fourth resistor is connected to the output end of the first operational amplifier, and the third capacitor is grounded. The filtering circuit is used to filter out high-frequency clutter.

12. The device according to claim 7, It is characterized in that The current amplifying device also includes a fifth resistor, one end of which is connected to the positive input terminal of the first operational amplifier, and the other end is connected to the voltage detection and processing device. The fifth resistor is used to absorb instantaneous voltage and current fluctuations in the circuit.

13. The device according to claim 1, It is characterized in that The voltage detection and processing device includes a second operational amplifier, which is used to compare the value of the second voltage with the second voltage threshold to determine whether the battery device is in the charging state or the discharging state.

14. The device according to claim 13, It is characterized in that The voltage detection and processing device also includes a fourth capacitor and a fifth capacitor, one end of the fourth capacitor is connected to the positive power supply terminal of the second operational amplifier, and the other end is grounded, one end of the fifth capacitor is connected to the positive power supply terminal of the second operational amplifier, and the other end is grounded, the fourth capacitor and the fifth capacitor are connected in parallel, and are both used to filter out noise generated by the power supply.

15. The device according to claim 13, It is characterized in that The voltage detection and processing device also includes a sixth resistor and a seventh resistor, the sixth resistor and the seventh resistor are connected in series for voltage division, wherein one end of the sixth resistor is connected to the positive input terminal of the second operational amplifier, and the other end is connected to the power supply terminal, and one end of the seventh resistor is connected to the positive input terminal of the second operational amplifier, and the other end is grounded.

16. The device according to claim 1, It is characterized in that The current detection device includes a current detection resistor, which is used to generate the first voltage matching both the current direction and the current magnitude when current flows through the resistor.