Power supply internal resistance detection circuit and power supply internal resistance detection equipment

By using a digital power supply internal resistance detection circuit, and by automatically controlling the digital power supply to charge and discharge using a control module and a data sampling module, the problem of low efficiency in battery internal resistance detection in existing technologies is solved, and efficient and stable battery DC internal resistance testing is achieved.

CN223955776UActive Publication Date: 2026-02-27ZHUHAI TITANS NEW POWER ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202520447544.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2026-02-27
Estimated Expiration
2035-03-13

AI Technical Summary

Technical Problem

Existing battery internal resistance testing equipment suffers from low measurement efficiency and instability when performing DCIR tests based on analog power supplies, and it cannot test multiple power supplies simultaneously.

Method used

A digital power supply internal resistance detection circuit is adopted. The control module automatically controls the digital power supply to charge and discharge according to the target operating parameters. Combined with the data sampling module to collect battery voltage and current, the DC internal resistance is calculated, which simplifies the operation process and improves the detection efficiency.

Benefits of technology

It enables rapid and convenient detection of battery DC internal resistance, improves the response speed and stability of the testing equipment, and is suitable for efficient testing of mass-produced batteries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223955776U_ABST
    Figure CN223955776U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model discloses a power supply internal resistance detection circuit and a power supply internal resistance detection device. Relates to the technical field of batteries. The power supply internal resistance detection circuit comprises a control module, a data sampling module, a driving circuit module and a power supply interface, the power interface is used for accessing a digital power supply; the control module is used for sending a target control signal to the driving circuit module, so that the digital power supply connected to the power supply interface performs charging and discharging according to the target working parameters; the data sampling module is used for collecting battery voltage and battery current of the digital power supply in the charging and discharging process according to the target working parameters and sending the battery voltage and the battery current to the control module; and the control module is also used for calculating the direct-current internal resistance of the digital power supply according to the battery voltage and the battery current. The device can improve the efficiency of overall detection of the DC internal resistance of the power supply.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model embodiment relates to battery technical field, especially relates to a power supply internal resistance detection circuit and power supply internal resistance detection equipment. BACKGROUND

[0002] With the development of science and technology, battery as the most common power supply in electronic equipment, its performance directly affects the endurance, power consumption and other aspects of electronic equipment.

[0003] Among them, in the production and manufacturing process of battery, it is very important to test the direct current internal resistance (DCIR) of battery, and the direct current internal resistance of battery needs to be accurately tested. At present, in the battery internal resistance detection equipment which is more common, the DCIR process is often based on analog power supply. In this process, a DCIR test device can usually only establish one channel for an analog power supply, and the accuracy of current and voltage control in the whole process is low, the stability of measurement is not high, and there is the problem of low efficiency of measuring direct current internal resistance. UTILITY MODEL CONTENT

[0004] In order to solve the problems in the related art and improve the efficiency of measuring direct current internal resistance of power supply internal resistance detection equipment, the utility model embodiment provides a power supply internal resistance detection circuit and a power supply internal resistance detection equipment. The technical solution is as follows:

[0005] In one aspect, the utility model embodiment provides a power supply internal resistance detection circuit, which comprises: a control module, a data sampling module, a driving circuit module and a power supply interface.

[0006] The data sampling module and the driving circuit module are electrically connected, the control module and the driving circuit module are electrically connected, and the control module is also electrically connected with the data sampling module; the driving circuit module is also electrically connected with the power supply interface, and the data sampling module is also electrically connected with the power supply interface, and the power supply interface is used for connecting digital power supply;

[0007] The control module is used for sending target control signal to the driving circuit module, so that the digital power supply connected to the power supply interface charges and discharges according to the target working parameter;

[0008] The data sampling module is used for collecting battery voltage and battery current of the digital power supply in the process of charging and discharging according to the target working parameter, and sending to the control module;

[0009] The control module is also used for calculating the direct current internal resistance of the digital power supply according to the battery voltage and the battery current.

[0010] Optionally, the data sampling module is further configured to collect a current working parameter of the digital power supply in a conducting state and send the current working parameter to the control module.

[0011] The control module sends a target control signal to the drive circuit module, and specifically for:

[0012] acquiring a set target working parameter;

[0013] generating the target control signal according to the current working parameter and the target working parameter and sending the target control signal to the drive circuit module.

[0014] Optionally, if the current working parameter meets a discharge requirement of the digital power supply according to the target working parameter, the target control signal is used to control the digital power supply connected to the power supply interface to discharge according to the target working parameter.

[0015] If the current working parameter does not meet the discharge requirement of the digital power supply according to the target working parameter, the target control signal is used to control the digital power supply connected to the power supply interface to charge according to the target working parameter.

[0016] Optionally, the control module is further configured to acquire a set working step time.

[0017] The data sampling module is further configured to collect an initial battery voltage of the digital power supply before charging and discharging according to the target working parameter.

[0018] The control module calculates a direct current internal resistance of the digital power supply according to the battery voltage and the battery current, and specifically for: calculating the direct current internal resistance of the digital power supply according to the initial battery voltage and the battery voltage and the battery current collected by the data sampling module at the working step time.

[0019] Optionally, the drive circuit module includes a first drive unit and a second drive unit; and the target control signal includes a first control signal and a second control signal.

[0020] The first drive unit is electrically connected to the data sampling module, and the second drive unit is also electrically connected to the data sampling module and further electrically connected to the power supply interface.

[0021] The second drive unit is specifically configured to, after receiving the second control signal, turn on a circuit connection between the data sampling module and the power supply interface according to the second control signal, so that the digital power supply is connected to the power supply internal resistance detection circuit.

[0022] The first driving unit is specifically configured to, after receiving the first control signal, control the power supply internal resistance detection circuit to work in a boost mode or a buck mode according to the first control signal, so that the digital power supply discharges in the boost mode according to the target working parameter, or the digital power supply charges in the buck mode according to the target working parameter.

[0023] Optionally, the first driving unit includes at least two switching tubes.

[0024] The control module is connected with the first driving unit through a pulse width modulation (PWM) port, and the first control signal is a PWM pulse signal.

[0025] The first driving unit is specifically configured to control the power supply internal resistance detection circuit to work in the boost mode or the buck mode by controlling the on-off of the at least two switching tubes according to the first control signal.

[0026] Optionally, the second driving unit includes at least two switching tubes.

[0027] The control module is connected with the first driving unit through a general input / output (GPIO) interface, and the second control signal is a high-level signal.

[0028] The second driving unit is specifically configured to turn on the circuit connection between the data sampling module and the power supply interface by controlling the on-off of the at least two switching tubes according to the second control signal.

[0029] Optionally, the power supply internal resistance detection circuit further includes a first capacitor and a second capacitor, and the first capacitor is connected with the second capacitor in parallel. In the case that the digital power supply is connected to the power supply interface, the second capacitor is further connected with the digital power supply in parallel.

[0030] The control module is further configured to, before sending the target control signal to the driving circuit module, control the driving circuit module to turn on the first capacitor to pre-charge the second capacitor, so that the capacitor voltage of the second capacitor is close to the battery voltage of the digital power supply.

[0031] Optionally, the control module is a dual-core structure, including a first core and a second core.

[0032] The first core is configured to control the start and stop of resistance detection logic, and the second core is configured to data acquisition and data processing to calculate the power supply internal resistance of the digital power supply.

[0033] In another aspect, the utility model embodiment provides a kind of power supply internal resistance detection equipment, the power supply internal resistance detection equipment includes multiple as described in one aspect above power supply internal resistance detection circuit, wherein, each power supply internal resistance detection circuit is provided with a power interface, and each power supply internal resistance detection circuit shares a control module.

[0034] The technical scheme provided by the utility model embodiment has at least the following beneficial effects:

[0035] The power supply internal resistance detection circuit includes a control module, a data sampling module, a driving circuit module and a power interface. The data sampling module is electrically connected to the driving circuit module. The control module is electrically connected to the driving circuit module. The control module is also electrically connected to the data sampling module. The driving circuit module is also electrically connected to the power interface. The data sampling module is also electrically connected to the power interface. The power interface is used to connect a digital power supply. The control module is used to send a target control signal to the driving circuit module, so that the digital power supply connected to the power interface charges and discharges according to target working parameters. The data sampling module is used to collect the battery voltage and the battery current of the digital power supply during the charging and discharging process according to the target working parameters and send them to the control module. The control module is also used to calculate the DC internal resistance of the digital power supply according to the battery voltage and the battery current. In the utility model, the power interface is connected to a digital power supply. During the DC internal resistance detection process, the control module sends a target control signal to the driving circuit module, so that the connected digital power supply charges and discharges according to target working parameters. The DC internal resistance of the digital power supply is calculated by combining the battery voltage and the battery current collected by the data sampling module during the charging and discharging process according to the target working parameters. The whole process is simple to control. The use of the digital power supply can achieve a high switching frequency. The control module can more accurately control the working condition of the digital power supply. The response speed of the power supply internal resistance detection circuit is faster, and the stability is higher. The efficiency of detecting the DC internal resistance of the whole power supply is improved. BRIEF DESCRIPTION OF DRAWINGS

[0036] In order to more clearly illustrate the technical scheme in the utility model embodiment, the drawings needed in the embodiment will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. Those skilled in the art can obtain other drawings according to these drawings without creating any creative labor.

[0037] Figure 1 A traditional architecture diagram for detecting the internal resistance of a power supply is provided for an exemplary embodiment of the utility model.

[0038] Figure 2 A structure diagram of a power supply internal resistance detection circuit is provided for an exemplary embodiment of the utility model.

[0039] Figure 3 A structure schematic diagram of a power supply internal resistance detection circuit provided for an exemplary embodiment of the utility model;

[0040] Figure 4 A structure schematic diagram of another power supply internal resistance detection circuit related to an exemplary embodiment of the utility model;

[0041] Figure 5 A structure schematic diagram of a control module related to an exemplary embodiment of the utility model;

[0042] Figure 6 A structure schematic diagram of another power supply internal resistance detection circuit related to an exemplary embodiment of the utility model;

[0043] Figure 7 A structure schematic diagram of a power supply internal resistance detection device related to an exemplary embodiment of the utility model;

[0044] Figure 8 A voltage variation curve of a digital battery before and after a DCIR process of a power supply internal resistance detection device related to an exemplary embodiment of the utility model. DETAILED DESCRIPTION

[0045] The exemplary embodiments will be described in detail herein with reference to the drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the utility model. Instead, they are merely examples consistent with some aspects of the utility model as detailed in the appended claims.

[0046] As used herein, "a", "an" and "the" are defined as one or more unless indicated otherwise. The term "and / or" means that the associated objects are both individually present and / or in combination. The character " / " generally means that the associated objects are in an "or" relationship.

[0047] It should be noted that the terms "first", "second", and "third" used in the utility model embodiments are used to distinguish similar or different objects, and do not represent a specific order of the objects. Understandably, "first", "second", and "third" can be interchanged in specific order or sequence as allowed, so that the utility model embodiments described herein can be implemented in an order other than that illustrated or described herein.

[0048] The scheme provided by the utility model can be used in the practical scenario of direct current internal resistance detection of a battery by using a power supply internal resistance detection device in the process of battery production in daily life, in order to facilitate understanding, some terms and application scenarios related to the utility model embodiment are introduced briefly.

[0049] Direct current internal resistance (DCIR): it shows the direct reaction of a battery under direct current, by executing a DCIR process, all resistances in the battery can be measured, and the actual impedance of the battery under actual working conditions is reflected.

[0050] Digital power supply: there are various specific definitions of digital power supply, for example: from the angle of communication function, a digital power supply is a switching power supply controlled through a digital interface; from the angle of numerical control function, a digital power supply is a switching power supply with digital control function; from the angle of monitoring function, a digital power supply is a switching power supply with digital monitoring function; the common feature of the above three definitions is "upgrading of analog switching power supply", and the emphasis is "power supply control", and the control object is mainly the external characteristics of the switching power supply.

[0051] Another definition is: a digital power supply refers to a power supply product with a digital signal processor (DSP) or microcontroller unit (MCU) as a core, a digital power supply driver, a pulse width modulation (PWM) controller and the like as control objects, and capable of realizing control, management and monitoring functions. In general, the above several definitions can be used, however, the management (such as power supply sequencing) of the digital power supply under any definition must be completely realized by digital technology.

[0052] Please refer to Figure 1 which shows a traditional architecture schematic diagram for detecting internal resistance of a power supply related to an example embodiment of the utility model, as shown in Figure 1 The internal resistance detection architecture can include: an analog battery 101, a multimeter 102, a test fixture 103.

[0053] Optionally, a test personnel can connect the analog battery 101 to the multimeter 102 and the test fixture 103 by a manual mode, set the output current value required by the analog battery, provide a direct current constant current through the test fixture 103, and measure the total voltage drop of the analog battery by using the multimeter 102, and based on Ohm's law, calculate the direct current internal resistance of the analog battery.

[0054] In the above process, since the power supply is usually an analog battery in actual life, the developer needs to manually connect various electronic devices and calculate / set the output current value required by the analog battery by himself, the whole process is not only cumbersome, but also needs manual testing in the process of measuring the DC resistance, cannot quickly control the current and voltage in the working process, resulting in low accuracy of current and voltage control and low stability of measurement. Moreover, usually, an analog battery needs to establish only one test channel, and cannot test multiple power supplies at the same time. For large battery manufacturers producing batteries in batches, if they want to quickly complete the DC resistance test of these batteries, the above-mentioned scheme based on the traditional analog battery needs to spend a lot of time, and there is a problem of low efficiency of measuring the DC resistance.

[0055] In order to solve the problems in the related art and improve the efficiency of the power supply resistance detection device in measuring the DC resistance, the utility model embodiment provides a power supply resistance detection circuit, which is based on a power supply interface to access a digital power supply, and automatically controls the digital power supply to charge and discharge according to target working parameters through a control module, calculates the DC resistance of the digital power supply in combination with the measured battery voltage and battery current, and the whole circuit structure combines the use of the digital power supply, and the control module has fast real-time reaction speed, so that the DC resistance of the battery can be quickly and conveniently tested.

[0056] Please refer to Figure 2 which shows a structure schematic diagram of a power supply resistance detection circuit according to an example embodiment of the utility model. As Figure 2 shown, the power supply resistance detection circuit comprises a control module 201, a data sampling module 202, a driving circuit module 203 and a power supply interface 204.

[0057] The data sampling module 202 and the driving circuit module 203 are electrically connected, the control module 201 and the driving circuit module 203 are electrically connected, and the control module 201 is also electrically connected with the data sampling module 202; the driving circuit module 203 is also electrically connected with the power supply interface 204, and the data sampling module 202 is also electrically connected with the power supply interface 204.

[0058] Optionally, the power supply interface 204 in the power supply resistance detection circuit is used to access a digital power supply; the control module 201 is used to send a target control signal to the driving circuit module 203, so that the digital power supply accessed to the power supply interface 204 charges and discharges according to the target working parameters; the data sampling module 202 is used to collect the battery voltage and battery current of the digital power supply in the process of charging and discharging according to the target working parameters, and send them to the control module 201; the control module 201 is also used to calculate the DC resistance of the digital power supply according to the battery voltage and the battery current.

[0059] Through the above process, when the DC internal resistance of the digital power supply needs to be tested, the digital power supply can be connected to the power interface in the power internal resistance detection circuit provided by the scheme, and the control module can automatically send a target control signal to the driving circuit module, so that the digital power supply connected to the power interface can charge and discharge according to the target working parameter, the DC internal resistance test can be realized in a digital control manner, the cumbersome manual steps in the traditional scheme are not needed, the DC internal resistance test operation is simplified, the whole test time is saved, and the efficiency of testing the DC internal resistance of the power supply is improved.

[0060] In summary, the power internal resistance detection circuit includes: a control module, a data sampling module, a driving circuit module and a power interface; the data sampling module and the driving circuit module are electrically connected, the control module and the driving circuit module are electrically connected, and the control module is also electrically connected with the data sampling module; the driving circuit module is also electrically connected with the power interface, and the data sampling module is also electrically connected with the power interface; the power interface is used for connecting the digital power supply; the control module is used for sending a target control signal to the driving circuit module, so that the digital power supply connected to the power interface can charge and discharge according to the target working parameter; the data sampling module is used for collecting the battery voltage and the battery current of the digital power supply during the charging and discharging process according to the target working parameter, and sending the battery voltage and the battery current to the control module; and the control module is also used for calculating the DC internal resistance of the digital power supply according to the battery voltage and the battery current. In the utility model, the power interface is connected with the digital power supply, during the DC internal resistance detection process, the control module sends a target control signal to the driving circuit module, so that the connected digital power supply can charge and discharge according to the target working parameter, and the DC internal resistance of the digital power supply is calculated by combining the battery voltage and the battery current collected by the data sampling module during the charging and discharging process of the digital power supply according to the target working parameter, the whole process is simple to control, the use of the digital power supply can achieve a higher switching frequency, the control module can more accurately control the working condition of the digital power supply, the reaction speed of the power internal resistance detection circuit is faster, the stability is higher, and the efficiency of testing the DC internal resistance of the whole power supply is improved.

[0061] In a possible implementation manner, the control module in the power internal resistance detection circuit generates the target control signal sent to the driving circuit module based on the set target working parameter and the current working parameter of the digital power supply in the on state, so that the power internal resistance detection circuit can automatically control the charging and discharging process of the digital power supply and more quickly and conveniently complete the DC internal resistance test.

[0062] Please refer to Figure 3 which shows a structure schematic diagram of a power internal resistance detection circuit according to an example embodiment of the utility model. As Figure 3 shown, the power internal resistance detection circuit includes: a control module 301, a data sampling module 302, a driving circuit module 303 and a power interface 304.

[0063] The data sampling module 302 is electrically connected with the driving circuit module 303, the control module 301 is electrically connected with the driving circuit module 303, and the control module 301 is also electrically connected with the data sampling module 302; the driving circuit module 303 is also electrically connected with the power interface 304, and the data sampling module 302 is also electrically connected with the power interface 304.

[0064] Optionally, the power interface 304 in the power supply internal resistance detection circuit is used for connecting a digital power supply; the control module 301 is used for sending a target control signal to the driving circuit module 303, so that the digital power supply connected to the power interface 304 charges and discharges according to target working parameters; the data sampling module 302 is used for collecting the battery voltage and the battery current of the digital power supply during the charging and discharging according to the target working parameters and sending the battery voltage and the battery current to the control module 301; and the control module 301 is also used for calculating the direct-current internal resistance of the digital power supply according to the battery voltage and the battery current.

[0065] Optionally, in the embodiment, the driving circuit module 303 includes a first driving unit 303a and a second driving unit 303b, the first driving unit 303a is electrically connected with the data sampling module 302, the second driving unit 303b is also electrically connected with the data sampling module 302, and the second driving unit 303b is also electrically connected with the power interface.

[0066] Correspondingly, the target control signal sent by the control module 301 to the driving circuit module 303 includes a first control signal sent to the first driving unit 303a and a second control signal sent to the second driving unit 303b. The working principle is as follows: the first driving unit 303a is specifically used for controlling the power supply internal resistance detection circuit to work in a boost mode or a buck mode according to the first control signal after receiving the first control signal, wherein the digital power supply discharges according to the target working parameters in the boost mode, and the digital power supply charges according to the target working parameters in the buck mode. The second driving unit 303b is specifically used for turning on the circuit connection between the data sampling module 302 and the power interface 304 according to the second control signal after receiving the second control signal, so that the digital power supply is connected to the power supply internal resistance detection circuit.

[0067] That is, the control module 301 can send the control signals required by different units in the driving circuit module 303 to the different units respectively, and each unit controls the entire circuit to be turned on and work after receiving the corresponding control signal.

[0068] In a possible implementation, the data sampling module 302 is also divided into a current sampling unit 302a and a voltage sampling unit 302b. The current sampling unit 302a is electrically connected to the power supply interface 304 through the second driving unit 303b, and the voltage sampling unit 302b is directly connected to both ends of the power supply interface 304. The voltage sampling unit 302b can collect the battery voltage of the accessed digital power supply, and the current sampling unit 302a needs to collect the working current of the accessed digital power supply in the circuit under the condition that the second driving unit 303b turns on the circuit connection between the current sampling unit 302a and the power supply interface 304. That is, the second driving unit 303b is specifically configured to, after receiving the second control signal, turn on the circuit connection between the current sampling unit 302a and the power supply interface 304 according to the second control signal, so that the digital power supply accesses the power supply resistance detection circuit.

[0069] Optionally, the data sampling module 302 is also configured to collect the current working parameter of the digital power supply under the on state and send the current working parameter to the control module 301. The control module 301 sends a target control signal to the driving circuit module 303, and the target control signal is specifically used for: obtaining a set target working parameter; generating and sending the target control signal to the driving circuit module 303 according to the current working parameter and the target working parameter. The current working parameter includes a current working current and / or a current working voltage.

[0070] That is, the control module 301 needs to generate the target control signal to be sent to the driving circuit module 303 based on the current working parameter of the digital power supply under the on state collected by the data sampling module 302 and the set target working parameter. The set target working parameter can be set by the detection personnel in advance, for example, a corresponding setting interface can be provided by the upper computer, the detection personnel sets the required target working parameter in advance, and the control module 301 generates the target control signal based on the set target working parameter and the collected current working parameter.

[0071] Optionally, in the present scheme, the digital power supply under the on state can refer to the case that the circuit connection between the current sampling unit 302a and the power supply interface 304 is in the on state in the above-mentioned Figure 3 For example, in the present scheme, the control module can send a second control signal to the second driving unit before sending the target control signal to the driving circuit module, so that the circuit connection between the current sampling unit 302a and the power supply interface 304 is in the on state. The current working parameter in the current loop of the digital power supply under the on state can be collected by the current sampling unit 302a and the voltage sampling unit 302b, and compared with the set target working parameter, so as to determine the target control signal to be generated.

[0072] If the current working parameter meets the discharge requirement of the digital power supply according to the target working parameter, the target control signal is used to control the digital power supply connected to the power supply interface to discharge according to the target working parameter. If the current working parameter does not meet the discharge requirement of the digital power supply according to the target working parameter, the target control signal is used to control the digital power supply connected to the power supply interface to charge according to the target working parameter. That is, if the current working parameter meets the discharge requirement of the digital power supply according to the target working parameter, the generated target control signal is used to control the digital power supply connected to the power supply interface to discharge according to the target working parameter. If the current working parameter does not meet the discharge requirement of the digital power supply according to the target working parameter, the generated target control signal is used to control the digital power supply connected to the power supply interface to charge according to the target working parameter.

[0073] Optionally, taking the target working parameter as a constant current value under constant current charging and discharging as an example, the current working parameter collected by the data sampling module 302 is a current working current. If the current working current is greater than or equal to the constant current value, it is considered that the current working current meets the discharge requirement of the digital power supply according to the target working parameter, and the generated target control signal is used to control the digital power supply connected to the power supply interface to discharge according to the target working parameter. If the current working current is less than the constant current value, it is considered that the current working current does not meet the discharge requirement of the digital power supply according to the target working parameter, and the generated target control signal is used to control the digital power supply connected to the power supply interface to charge according to the target working parameter.

[0074] Optionally, taking the target working parameter as a constant voltage value under constant voltage charging and discharging as an example, the current working parameter collected by the data sampling module 302 is a current working voltage. If the current working voltage is greater than or equal to the constant voltage value, it is considered that the current working voltage meets the discharge requirement of the digital power supply according to the target working parameter, and the generated target control signal is used to control the digital power supply connected to the power supply interface to discharge according to the target working parameter. If the current working voltage is less than the constant voltage value, it is considered that the current working voltage does not meet the discharge requirement of the digital power supply according to the target working parameter, and the generated target control signal is used to control the digital power supply connected to the power supply interface to charge according to the target working parameter.

[0075] The target working parameter can also be a constant voltage value or a constant current value at the same time. The control module of the present scheme can determine the current working parameter collected by the data sampling module based on the corresponding target working parameter, thereby generating the corresponding target control signal.

[0076] Optionally, in this embodiment, since the control module has sent the second control signal to the second driving unit alone to make the second driving unit turn on the circuit connection between the data sampling module and the power supply interface, in the subsequently generated target control signal, the second control signal does not need to be sent to the second driving unit again, and only the first control signal needs to be sent to the first driving unit. That is, the generated target control signal is mainly different from the first control signal, and the first driving unit controls the power supply internal resistance detection circuit to work in the boost mode or the buck mode based on the first control signal.

[0077] In some embodiments, the control module can be provided with multiple interfaces, and for the above-mentioned data sampling module and driving circuit module, corresponding signals can be transmitted according to different interfaces to provide control, and for the first driving unit and the second driving unit, corresponding signals can also be transmitted based on different interfaces to provide corresponding control.

[0078] For example, in a possible implementation manner, the first driving unit includes at least two switching tubes; the control module is connected with the first driving unit through a pulse width modulation (PWM) port, and the first control signal is a PWM pulse signal; the first driving unit is specifically configured to control the power supply internal resistance detection circuit to work in the boost mode or the buck mode by controlling the on-off of the at least two switching tubes according to the first control signal. The second driving unit includes at least two switching tubes; the control module is connected with the second driving unit through a general input / output (GPIO) interface, and the second control signal is a high-level signal; the second driving unit is specifically configured to turn on the circuit connection between the data sampling module and the power supply interface by controlling the on-off of the at least two switching tubes according to the second control signal.

[0079] That is, the first driving unit can respond to the first control signal to control the entire power supply internal resistance detection circuit to work in the boost mode (Buck mode) or the buck mode (Boost mode) by controlling the on-off of the switching tubes contained in the first driving unit, and the second driving unit can respond to the case that the second control signal is a high-level signal to turn on the circuit connection between the data sampling module and the power supply interface by controlling the on-off of the switching tubes contained in the second driving unit. Optionally, if the second control signal is a low-level signal, the second driving unit can respond to the case that the second control signal is a low-level signal to interrupt the circuit connection between the data sampling module and the power supply interface, that is, to disconnect the two.

[0080] For example, the first driving unit includes two switching tubes Q1 and Q2, and the second driving unit includes two switching tubes Q3 and Q4, please refer to Figure 4 which shows a structure schematic diagram of another power supply internal resistance detection circuit according to an example embodiment of the present application. As shown in Figure 4As shown, the power supply internal resistance detection circuit comprises a control module 401, a current sampling unit 402, a voltage sampling unit 403, a first driving unit 404, a second driving unit 405, a first capacitor 406, a second capacitor 407, and a power supply interface 408. The connection mode between various circuit devices is as shown in the figure. As shown in the figure, Figure 4 As shown, the control module 401 is electrically connected to the data sampling module (including the current sampling unit 402 and the voltage sampling unit 403), the first driving unit 404, and the second driving unit 405 through different interfaces respectively. The control module 401 sends a PWM signal to the second driving unit 405 through a PWM port and sends a high-level signal or a low-level signal to the first driving unit 404 through a general-purpose input / output (GPIO) port, thereby controlling the on-off between the current sampling unit 402 and the power supply interface 408.

[0081] In the above Figure 4 , the first driving unit 404 comprises a first MOS driving circuit and two switching tubes Q1 and Q2. After the control module generates the PWM signal (i.e., the first control signal) to be sent to the first driving unit 404 based on the current working parameter and the target working parameter, the first MOS driving circuit can control Q1 as the main switching tube and Q2 as the synchronous rectifier to charge the digital battery, or control Q1 as the synchronous rectifier and Q2 as the main switching tube to discharge the digital battery based on the PWM signal. As shown in the above Figure 4 As shown, the control mode of the control module for the first driving unit can also be based on high-precision PWM (i.e., HRPWM).

[0082] For example, after the control module compares the current working parameter and the target working parameter and determines that the generated target control signal is used to control the digital power supply connected to the power supply interface to discharge according to the target working parameter, after the first PWM signal is sent to the first driving unit, Q1 is the synchronous rectifier and Q2 is the main switching tube, which makes the power supply internal resistance detection circuit work in the step-down mode, i.e., the circuit starts the Boost mode, and the digital battery is discharged. Or, after the control module compares the current working parameter and the target working parameter and determines that the generated target control signal is used to control the digital power supply connected to the power supply interface to charge according to the target working parameter, after the second PWM signal is sent to the first driving unit, Q2 is the synchronous rectifier and Q1 is the main switching tube, which makes the power supply internal resistance detection circuit work in the step-up mode, i.e., the circuit starts the Buck mode, and the digital battery is charged.

[0083] In the above Figure 4In the second driving unit 405, a second MOS driving circuit and two switch tubes Q3 and Q4 are included, and the switch tubes Q3 and Q4 constitute a reverse connection switch, and the connection relationship is as shown in Figure 4 In the second driving unit 405, a second MOS driving circuit and two switch tubes Q3 and Q4 are included, and the switch tubes Q3 and Q4 constitute a reverse connection switch, and the connection relationship is as shown in

[0084] Optionally, as shown in the above Figure 4 The control module and the data sampling module (including the current sampling unit 402 and the voltage sampling unit 403) can be connected through a self-serial peripheral interface (SPI) interface and an external analog-to-digital converter (ADC).

[0085] Optionally, in the power supply resistance detection circuit shown in the above Figure 4 The control module further controls the driving circuit module to pre-charge the first capacitor to the second capacitor before sending the target control signal to the driving circuit module, so that the capacitor voltage of the second capacitor is close to the battery voltage of the digital power supply.

[0086] For example, before the control module sends the target control signal to the driving circuit module, the pre-charging of the second capacitor is started, and the target control signal is sent to the driving circuit module when the capacitor voltage of the second capacitor is equal to the battery voltage of the digital voltage. Among them, Figure 3 If the target control signal includes the first control signal and the second control signal, the control module can send the second control signal to the second driving unit after pre-charging the second capacitor to the battery voltage of the digital power supply, and the second driving unit controls the reverse connection switch Q3 and Q4 to be closed first, and outputs the PWM signal to the first driving unit through the PWM interface to control Q1 and Q2, and starts the Buck mode or the Boost mode of the circuit.

[0087] That is, before the control module sends the target control signal to the driving circuit module, the control module can also be used to obtain the capacitor voltage of the second capacitor and the battery voltage of the digital power supply, and if the capacitor voltage of the second capacitor is lower than the battery voltage of the digital power supply, the second capacitor is pre-charged first, and then the subsequent power supply resistance detection process is performed. The capacitor voltage of the second capacitor can also be collected by another voltage collection unit and transmitted to the control module.

[0088] Optionally, the control module of the present solution can adopt a single step algorithm or a double step algorithm when calculating the DC resistance of the digital power supply. Taking the single step algorithm as an example, the control module is configured to calculate the DC resistance of the digital power supply according to the initial battery voltage and the battery voltage and the battery current collected by the data sampling module at the step time. Figure 4 Or Figure 4 The control module is further configured to obtain the set step time; the data sampling module is further configured to collect the initial battery voltage of the digital power supply before the charging and discharging according to the target working parameter; and the control module is configured to calculate the DC resistance of the digital power supply according to the battery voltage and the battery current, specifically by calculating the DC resistance of the digital power supply according to the initial battery voltage and the battery voltage and the battery current collected by the data sampling module at the step time.

[0089] For example, the step time can be set by the tester through the host computer, and after the set step time is reached, the control module can calculate the DC resistance of the digital power supply according to the current collected battery voltage and battery current and the initial battery voltage of the digital battery. For example, in the above Figure 4 , the control module can collect the initial battery voltage of the digital power supply before charging and discharging through the voltage collection unit before sending the target control signal to the drive circuit module, and record the initial battery voltage V1. After the set step time is reached, V2 represents the current collected battery voltage, and I2 represents the current collected battery current I2. Then, the DC resistance of the digital power supply can be calculated according to the following formula:

[0090] R dcir = fabs(V2-V1) / I2.

[0091] Wherein, R dcir is the DC resistance of the digital power supply, and fabs represents the absolute value operation.

[0092] Optionally, if the double step algorithm is used for calculation, then after the control module obtains the set step time, it obtains the battery voltage V 工1 and the battery current I 工1 collected at the first step time in the case of reaching the first step time, and obtains the battery voltage V 工2 and the battery current I 工2 collected at the second step time in the case of reaching the second step time. Then, the DC resistance of the digital power supply can be calculated according to the following formula:

[0093] R dcir = fabs(V 工2 -V 工1 ) / fabs(I 工2 -I 工1 ).

[0094] Optionally, no matter which calculation method is adopted, the control module will calculate in time according to the collected battery voltage and battery current after the digital power supply charges and discharges according to the target working parameter for a set step time, and the control module can also send a shutdown control signal to the drive circuit module to make the digital battery stop the charging and discharging process after the test is completed. For example, in the above Figure 5 , the shutdown control signal includes a third PWM signal sent to the first drive unit, so that the first drive unit controls Q1 and Q2 to shut down in response to the third PWM signal, and the shutdown control signal also includes a low-level signal sent to the second drive unit, so that the second drive unit controls Q3 and Q4 to shut down in response to the low-level signal, so that the digital battery stops charging and discharging.

[0095] In one possible implementation, the control module described above is a dual-core structure, including a first core and a second core; the first core is used to control the start and stop of the resistance detection logic, and the second core is used for data acquisition and data processing to calculate the power supply internal resistance of the digital power supply. Please refer to Figure 5 , which shows a structure diagram of a control module according to an example embodiment of the present application. As shown in Figure 3 , it contains a first core 501 and a second core 502. Among them, the first core 501 can be a CM (Cortex-M) core, which is implemented based on ARM architecture. The CM core is used to control the start and stop of the resistance detection logic. The second core 502 can be a central processing unit (CPU) core, which is mainly used for data acquisition and data processing in the detection process, and then calculates the process of power supply internal resistance.

[0096] For example, in the above embodiment, before the DCIR process of the digital power supply is performed, the CM core can receive the step instruction issued by the mid-machine. Before the resistance detection logic is executed, fault detection is performed first to detect whether each module in the power supply internal resistance detection circuit can work normally. If no fault is detected, the CPU core is sent an instruction to execute the resistance detection logic through the inter-process communication (IPC) method of the digital signal processing (DSP) core, so that the CPU core can start the process of generating a target control signal to calculating the power supply internal resistance. After the test is completed, the CM core uploads the test result and issues an instruction to close the resistance detection logic, so that the CPU core controls Q1 to Q4 to shut down, the whole channel is closed, and the whole test process is completed.

[0097] In one possible implementation, a single control module can simultaneously test the DC internal resistance of multiple digital batteries. For example, in this solution, the control module can be configured as described above. Figure 4 or Figure 6 The structure provides a power supply internal resistance detection circuit consisting of multiple data sampling modules, a drive circuit module, and a power interface on a control module. A power interface, a data sampling module, a drive circuit module, and a control module constitute a power supply internal resistance detection circuit, thereby enabling the control module to detect multiple digital power supplies.

[0098] Please refer to Figure 6 This illustrates a schematic diagram of the architecture of another power supply internal resistance detection circuit according to an exemplary embodiment of the present invention. Figure 5 As shown, the system includes a control module 601, multiple channels 602, and multiple digital power supplies 603. The specific structure of the control module 601 can be referred to the above description. Figure 6 The content, the control module 601 combined with its various channels 602, constitutes the power supply internal resistance detection circuit shown in this utility model. Through each channel being directly connected to a digital power supply 603, the control module 601 can calculate the corresponding DC internal resistance of multiple digital power supplies at once. Among them, Figure 7 N is an integer, for example, N=8. In this scheme, the corresponding DC internal resistance of 8 digital batteries can be calculated at once.

[0099] In summary, the power supply internal resistance detection circuit of the utility model includes: control module, data sampling module, drive circuit module and power interface;The data sampling module and the drive circuit module are electrically connected, the control module and the drive circuit module are electrically connected, and the control module is also electrically connected with the data sampling module;The drive circuit module is also electrically connected with the power interface, and the data sampling module is also electrically connected with the power interface, and the power interface is used for connecting the digital power supply;The control module is used for sending target control signals to the drive circuit module, so that the digital power supply connected to the power interface charges and discharges according to the target working parameters;The data sampling module is used for collecting the battery voltage and the battery current during the charging and discharging process of the digital power supply according to the target working parameters, and sending to the control module;The control module is also used for calculating the DC internal resistance of the digital power supply according to the battery voltage and the battery current.

[0100] In addition, the DCIR detection circuit based on the digital power supply provided in the scheme adopts the DSP dual-core control technology, the CPU core is responsible for collecting data and controlling the output voltage and current of the channel, the CM core is responsible for processing the main logic and various customized protections, the dual-core independently runs in the working mode through the IPC shared RAM mode, and the dual-core structure of one DSP chip replaces the two chip processing of the commonly used ARM+DSP in the market, so that the unstable and offline problems of the communication path between the dual-core are avoided. The resolution of the power supply pulse width modulation (PWM) of the DSP can reach 150ps (10-12s), which greatly improves the accuracy of the control output voltage and current, and meets the needs of customers.

[0101] Optionally, the utility model also provides a kind of power supply internal resistance detection equipment, and the power supply internal resistance detection equipment includes multiple as shown in each embodiment above power supply internal resistance detection circuit, wherein, each power supply internal resistance detection circuit is provided with a power interface, and each power supply internal resistance detection circuit shares a control module.

[0102] Please refer to Figure 7 , which shows the architecture schematic diagram of a kind of power supply internal resistance detection equipment related to an exemplary embodiment of the utility model. As Figure 5As shown, wherein contains the host computer 701, the middle machine 702, the control chip 703, a plurality of channels 704, a plurality of digital power supplies 705. Among them, the host computer 701 can provide the interface for human-computer interaction with the tester, the tester can set the required process time, calculation method and programming processing of the control chip through the host computer, the middle machine as a signal instruction forwarding, can generate or produce corresponding process instructions based on the trigger of the user in the host computer, so that the control chip starts to execute the process of current resistance detection. The control chip 703 is equivalent to the control module in the above embodiment, and its specific structure can refer to the content of the above Figure 4 The control chip 703 and each channel 704 provided thereby combined together is the power supply internal resistance detection circuit shown in the utility model, which is directly connected with each digital power supply through each channel, and the control chip 703 can calculate the corresponding DC internal resistance of the plurality of digital power supplies at one time.

[0103] Optionally, when any one of the channels is connected to the digital battery, the host computer can issue a DC internal resistance test process to the DCIR power supply control board DSP through the middle machine. The ARM core of the DSP receives the process instruction forwarded by the middle machine, detects whether the device has a fault based on the fault signal before starting the DC internal resistance test, and if there is no fault, sends a start DC internal resistance test instruction to the CPU core through the IPC communication of the DSP core, and records the power supply voltage value V1 of the digital power supply before starting. After the CPU core of the DSP receives the start DC internal resistance test instruction, the structure as shown in the figure controls the second driving unit to close the reverse connection switch Q3, Q4 through the GPIO signal, and the current signal and voltage signal obtained by the current sampling unit and the voltage sampling unit, respectively, compares the CPU core with the target working parameter, and carries out double-loop software adjustment of the voltage outer loop and the current inner loop, and finally outputs the PWM signal to the first driving circuit, so that the first driving circuit controls the switch tube Q1, Q2 based on the PWM signal, thereby starting to charge and discharge the digital battery. Figure 8

[0104] In the process of starting constant current discharge, the ARM core starts to count the process, and uploads all the real-time data of the channels to the host computer through the middle machine every 100ms, and the host computer records the process data. When the set process time is reached, the ARM core records the current battery voltage V2 and current I, and calculates the DC internal resistance value dcir=fabs(V2-V1) / I. After the test is completed, the ARM core transmits the test output result to the host computer in the real-time data through the middle machine, and issues the close channel instruction to the CPU core, controls Q1-Q4 to be turned off, the channel is closed, and the digital battery stops charging and discharging.

[0105] Please refer to Figure 8 ​It shows a voltage change curve of a digital battery before and after a DCIR process of a power supply internal resistance detection device according to an exemplary embodiment of the present application. ​ As shown, before the DCIR, the battery voltage of the digital battery is V1, during the charging and discharging process (i.e., during the DCIR process), the battery voltage of the digital battery drops to V2, and after the completion of the DCIR, the voltage of the digital battery is restored to the previous V1.

[0106] In summary, the power interface of the power supply internal resistance detection device is connected to a digital power supply, during the DCIR detection process, the control module sends a target control signal to the corresponding driving circuit module, so that the corresponding digital power supply charges and discharges according to the target working parameters, and in combination with the battery voltage and battery current collected by the data sampling module during the charging and discharging process of the digital power supply according to the target working parameters, the DC resistance of the digital power supply is calculated, the whole process control is simple, the use of the digital power supply can achieve a higher switching frequency, so that the control module can more accurately control the working condition of the digital power supply, the reaction speed of the power supply internal resistance detection circuit is faster, the stability is higher, and the multiple channels provided can measure the DC resistance of multiple digital power supplies at one time, improving the efficiency of the whole detection power supply DC resistance.

[0107] It should be noted that: the power supply internal resistance detection circuit provided in the above embodiment is only used as an example to illustrate the division of the above functional modules, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process is described in detail in the method embodiments, which will not be described here.

[0108] The above-mentioned embodiment serial numbers of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0109] Those skilled in the art can understand that all or part of the above-mentioned embodiments can be completed by hardware, or by program to instruct related hardware to complete, and the program can be stored in a computer readable storage medium, and the above-mentioned storage medium can be read-only memory, disk or optical disk, etc.

[0110] The above-mentioned only for optional embodiments of the present application, and does not limit the present application, any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A power supply internal resistance detection circuit, characterized by comprising: The power supply internal resistance detection circuit comprises a control module (201), a data sampling module (202), a driving circuit module (203) and a power supply interface (204); The data sampling module (202) is electrically connected with the driving circuit module (203), the control module (201) is electrically connected with the driving circuit module (203), and the control module (201) is also electrically connected with the data sampling module (202); the driving circuit module (203) is also electrically connected with the power supply interface (204), and the data sampling module (202) is also electrically connected with the power supply interface (204); and the power supply interface (204) is used for accessing a digital power supply; The control module (201) is configured to send a target control signal to the driving circuit module (203) so that the digital power supply accessed by the power supply interface (204) charges and discharges according to target working parameters. The data sampling module (202) is configured to collect battery voltage and battery current of the digital power supply during charging and discharging according to the target working parameters and send the battery voltage and the battery current to the control module (201). The control module (201) is further configured to calculate the DC internal resistance of the digital power supply according to the battery voltage and the battery current.

2. The internal resistance detection circuit according to claim 1, wherein The data sampling module (202) is further configured to collect current working parameters of the digital power supply in a conduction state and send the current working parameters to the control module (201). The control module (201) sends a target control signal to the driving circuit module (203), and specifically for: obtaining set target working parameters; generating the target control signal according to the current working parameters and the target working parameters and sending the target control signal to the driving circuit module (203).

3. The internal resistance detection circuit according to claim 2, wherein If the current working parameters meet the discharge requirements of the digital power supply according to the target working parameters, the target control signal is used to control the digital power supply accessed by the power supply interface (204) to discharge according to the target working parameters. If the current working parameters do not meet the discharge requirements of the digital power supply according to the target working parameters, the target control signal is used to control the digital power supply accessed by the power supply interface (204) to charge according to the target working parameters.

4. The internal resistance detection circuit according to claim 2, wherein The control module (201) is further configured to obtain a set working step time. The data sampling module (202) is further configured to collect an initial battery voltage of the digital power supply before charging and discharging according to the target working parameters. The control module (201) calculates the DC internal resistance of the digital power supply according to the battery voltage and the battery current, and specifically for: calculating the DC internal resistance of the digital power supply according to the initial battery voltage and the battery voltage and the battery current collected by the data sampling module (202) in the working step time.

5. The internal resistance detection circuit according to claim 1, wherein The driving circuit module (203) comprises a first driving unit and a second driving unit; and the target control signal comprises a first control signal and a second control signal. The first driving unit is electrically connected with the data sampling module (202), the second driving unit is also electrically connected with the data sampling module (202), and the second driving unit is also electrically connected with the power supply interface (204); The second driving unit is specifically configured to, after receiving the second control signal, according to the second control signal, turn on the circuit connection between the data sampling module (202) and the power supply interface (204), so that the digital power supply accesses the power supply internal resistance detection circuit; The first driving unit is specifically configured to, after receiving the first control signal, according to the first control signal, control the power supply internal resistance detection circuit to work in a boost mode or a buck mode, wherein the digital power supply discharges in the boost mode according to the target working parameter, and the digital power supply charges in the buck mode according to the target working parameter.

6. The internal resistance detection circuit according to claim 5, wherein The first driving unit includes at least two switching tubes; The control module (201) is connected with the first driving unit through a pulse width modulation (PWM) port, and the first control signal is a PWM pulse signal; The first driving unit is specifically configured to, according to the first control signal, control the power supply internal resistance detection circuit to work in a boost mode or a buck mode by controlling the on-off of the at least two switching tubes.

7. The internal resistance detection circuit according to claim 5, wherein The second driving unit includes at least two switching tubes; The control module (201) is connected with the second driving unit through a general input / output (GPIO) interface, and the second control signal is a high-level signal; The second driving unit is specifically configured to, according to the second control signal, turn on the circuit connection between the data sampling module (202) and the power supply interface (204) by controlling the on-off of the at least two switching tubes.

8. The internal resistance detection circuit according to claim 1, wherein The power supply internal resistance detection circuit further includes a first capacitor and a second capacitor, the first capacitor is connected with the second capacitor in parallel, and in the case that the digital power supply accesses the power supply interface (204), the second capacitor is also connected with the digital power supply in parallel; The control module (201) is also used for controlling the driving circuit module (203) to pre-charge the first capacitor to the second capacitor before sending a target control signal to the driving circuit module (203), so that the capacitor voltage of the second capacitor is close to the battery voltage of the digital power supply.

9. The internal resistance detecting circuit according to any one of claims 1 to 8, characterized by, The control module (201) is a dual-core structure, including a first core and a second core; The first core is used for controlling the start and stop of resistance detection logic, and the second core is used for data acquisition and data processing to calculate the power supply internal resistance of the digital power supply.

10. A power supply internal resistance detection device characterized by comprising: The power supply internal resistance detection device includes a plurality of power supply internal resistance detection circuits as claimed in any one of claims 1 to 9, wherein each power supply internal resistance detection circuit is provided with a power supply interface, and the power supply internal resistance detection circuits share one control module.