A precise voltage difference detection method and system

By performing timing integration and reverse integration of the signal to be measured of the battery or capacitor, combined with the margin detection ADC, the existing problem of insufficient detection accuracy is solved, and high-precision voltage difference detection is achieved.

CN115494423BActive Publication Date: 2025-07-04WUHAN LIXING TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110673940.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-17
Publication Date
2025-07-04
Estimated Expiration
2041-06-17

AI Technical Summary

Technical Problem

In existing battery or capacitor leakage detection solutions, the comparator's differential detection accuracy is insufficient and cannot meet the high-precision detection needs.

Method used

The precision voltage difference detection method is adopted, and the signals A and B to be measured are integrated in timing at the time T, and then the signal size relationship is determined by the margin detection ADC, and the weak difference is repeatedly integrated alternately.

Benefits of technology

High-precision detection of battery or capacitor leakage is achieved, extremely small voltage differences can be identified, and no theoretical limit is available, and obvious differences are enriched through multiple integrations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115494423B_ABST
    Figure CN115494423B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of battery leakage detection, and provides a precise voltage difference detection method and system, including the following steps: S1, performing a timed integration of the signal A to be measured for a time T; S2, reversing the signal B to be measured and then performing a timed integration for a time T; S3, subtracting the two signals after the timed integration and then performing a margin detection to obtain a margin value signal; S4, repeating the periodic steps S1 to S3, and obtaining a margin value signal after each period. By judging and comparing the change trend of the margin value signal, the magnitude relationship between the signal A to be measured and the signal B to be measured can be obtained. At the same time, through multiple repeated integrations, the weak difference between the two input signals can be enriched and amplified to facilitate the judgment of the magnitude relationship between the two signals. This solution can precisely distinguish the voltage difference between the two signals and output the magnitude relationship of the voltage of the signal to be measured. Moreover, there is no theoretical upper limit; even the smallest difference can be enriched into an obvious difference by increasing the time, that is, by repeatedly integrating multiple times.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery leakage detection, and particularly to a precise voltage difference detection method and system. Background Art

[0002] In the solutions for detecting the leakage current of batteries or capacitors, an ultra-high-precision differential voltage detection module is required, but the existing comparators on the market do not meet the requirements. In the existing comparator solutions, the accuracy of differential detection is seriously insufficient, and the best level is only an offset voltage of 100 uV. It cannot meet the efficient and rapid detection of the natural leakage of batteries or capacitors in actual engineering.

[0003] The invention patent with the application number CN201710595238.7 and the name of battery unit discloses a detection circuit structure capable of detecting the differences in battery current and voltage. However, the accuracy of this detection circuit structure is very low, and it only detects and alarms when the voltage difference is too large to a certain value, without high-precision detection requirements. The utility model patent with the application number CN201220153997.0 and the name of an electric energy transfer type battery equalizer discloses a voltage difference detection control circuit, which consists of resistors R5 to R8, comparators U14, and U15. One ends of resistors R5, R7, and R8 are connected to the positive electrode of battery B25. The other end of resistor R5 is connected to one end of resistor R6 and the non-inverting input terminals of comparators U14 and U15. The other end of resistor R6 is connected to the common ground. The inverting input terminal of comparator U14 is connected to the positive electrode of battery B26. The output terminal of comparator U14 is connected to the other end of resistor R7, the inverting input terminal of comparator U15, and the control terminal C of switch U16. The output terminal of comparator U15 is connected to the other end of resistor R8 and the control terminal C of switch U17. The voltage difference is judged by the comparator to realize the linkage control of the switch. The accuracy of this differential detection is also very low and cannot be used to detect the tiny signals of battery leakage current. Summary of the Invention

[0004] The present invention provides a precise voltage difference detection method and system, which solves the technical problem that the existing detection circuits cannot meet the efficient and rapid detection of the natural leakage of batteries or capacitors in actual engineering.

[0005] The present invention provides a precise voltage difference detection method for solving the above technical problem, including the following steps:

[0006] S1, performing a timed integration of the signal A to be measured for a time T;

[0007] S2, reversing the signal B to be measured and then performing a timed integration for a time T;

[0008] S3. After subtracting the two signals after timing integration, perform margin detection to obtain a margin value signal;

[0009] S4. Repeat the periodic steps S1 - S3. After each period, obtain a margin value signal. By judging and comparing the change trend of the margin value signal, the magnitude relationship between the signal under test A and the signal under test B can be obtained.

[0010] Preferably, the input selector alternately selects the signal under test A and the signal under test B, and alternately inputs them into the timing integrator to perform timing integration separately.

[0011] Preferably, before starting the detection, clear the timing integrator.

[0012] Preferably, S4 specifically includes: The CPU obtains the margin value signal after each period and records it.

[0013] Preferably, S4 specifically includes:

[0014] If the change trend of the margin value signal is increasing, it indicates that the signal under test A is greater than the signal under test B;

[0015] If the change trend of the margin value signal is decreasing, it indicates that the signal under test A is less than the signal under test B;

[0016] Otherwise, repeat the periodic steps S1 - S3, increase the enrichment times of timing integration, and continue to judge and compare the change trend of the margin value signal.

[0017] Preferably, S3 specifically includes: Converting the signal under test into a digital signal through a margin detection ADC to obtain a margin value signal.

[0018] Preferably, both the signal under test A and the signal under test B are voltage signals.

[0019] The present invention provides a precision voltage difference detection system, including an input selector, a timing integrator, a CPU, and a margin detection ADC;

[0020] The input selector is used to single - select the signal under test A or the signal under test B to the timing integrator;

[0021] The timing integrator is used to perform timing integration on the signal under test A or the signal under test B;

[0022] The margin detection ADC is used to perform margin detection after subtracting the two signals after timing integration;

[0023] The CPU controls the coordinated work of the selector, the timing integrator, and the margin detection ADC, and obtains the magnitude relationship between the signal under test A and the signal under test B by judging and comparing the change trend of the margin value signal.

[0024] Beneficial effects: The present invention provides a precise voltage difference detection method and system, including the following steps: S1, performing a timed integration of the signal to be measured A for a time T; S2, reversing the signal to be measured B and then performing a timed integration for a time T; S3, subtracting the two signals after the timed integration and then performing a margin detection to obtain a margin value signal; S4, repeating the periodic steps S1 to S3, obtaining a margin value signal after each period, and by judging and comparing the change trend of the margin value signal, the magnitude relationship between the signal to be measured A and the signal to be measured B can be obtained. When repeatedly performing alternating integrations on the signals, the temperature characteristics of the device cancel each other out because they uniformly affect the two input signals; at the same time, multiple repeated integrations can enrich and amplify the weak difference between the two input signals. Through the judgment of the margin detection ADC, the change trend of the margin signal output by the integrator can quickly distinguish the magnitude relationship between signals A / B. This solution can precisely distinguish the voltage difference between the two signals and output the voltage magnitude relationship of the signal to be measured. And there is no theoretical upper limit; no matter how small the difference is, it can be enriched into an obvious difference by lengthening the time, that is, repeatedly performing multiple integrations.

[0025] The above description is only an overview of the technical solution of the present invention. In order to be able to more clearly understand the technical means of the present invention and implement it in accordance with the content of the description, the following takes the preferred embodiments of the present invention and combines with the accompanying drawings to describe in detail as follows. The specific implementation manner of the present invention is given in detail by the following embodiments and their accompanying drawings. Description of the Drawings

[0026] The drawings described herein are used to provide a further understanding of the present invention, form a part of this application, and the schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation to the present invention. In the drawings:

[0027] Figure 1 is a schematic flowchart of the precise voltage difference detection method of the present invention;

[0028] Figure 2 is a functional block diagram of the precise voltage difference detection system of the present invention. Specific Embodiments

[0029] The principles and features of the present invention are described below with reference to the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention. In the following paragraphs, the present invention is described more specifically by way of example with reference to the accompanying drawings. According to the following description and the claims, the advantages and features of the present invention will be clearer. It should be noted that the drawings are all in a very simplified form and use non-precise scales, only for the purpose of facilitating and clearly assisting in explaining the embodiments of the present invention.

[0030] It should be noted that when a component is referred to as "fixed to" another component, it can be directly on the other component or there may be an intermediate component. When a component is considered to be "connected to" another component, it can be directly connected to the other component or there may be an intermediate component at the same time. When a component is considered to be "disposed on" another component, it can be directly disposed on the other component or there may be an intermediate component at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used in this article are for illustrative purposes only.

[0031] Unless otherwise defined, all technical and scientific terms used in this article have the same meaning as commonly understood by those skilled in the technical field to which this invention belongs. The terms used in the description of this invention in this article are only for the purpose of describing specific embodiments and are not intended to limit this invention. The term "and / or" used in this article includes any and all combinations of one or more of the related listed items.

[0032] As Figure 1 and Figure 2 shown, the present invention provides a precise voltage difference detection method, including the following steps:

[0033] S1, perform a timed integration of the signal A to be measured for a time T;

[0034] S2, reverse the signal B to be measured and then perform a timed integration for a time T;

[0035] S3, subtract the two signals after timed integration and then perform a margin detection to obtain a margin value signal;

[0036] S4, repeat the periodic steps S1 to S3, and obtain a margin value signal after each period. By judging and comparing the change trend of the margin value signal, the magnitude relationship between the signal A to be measured and the signal B to be measured can be obtained.

[0037] Timing integration is performed separately on each signal each time, and then the difference between the two signals after timing integration is taken to obtain the residual value signal, hereinafter referred to as the residual. Generally, the above-mentioned timing integration operation is repeated multiple times. The residual is detected in each cycle, and then the CPU detects the change trend of the residual to judge the magnitude relationship between the two signals. When alternately integrating the signals repeatedly, the device temperature characteristics cancel each other out because they uniformly affect the two input signals; at the same time, through multiple repeated integrations, the weak differences between the two input signals can be enriched and amplified. By judging through the residual detection ADC, the change trend of the residual signal output by the integrator can quickly distinguish the magnitude relationship between signal A / B. This scheme can precisely distinguish the voltage difference between the two signals and output the magnitude relationship of the voltage of the signal to be measured. And there is no theoretical upper limit; no matter how small the difference is, an obvious difference can be enriched by increasing the time, that is, by repeatedly integrating multiple times.

[0038] Under the control of the CPU, timing integration is repeatedly performed on the signal to be measured A and the signal to be measured B. Here, the signal to be measured B is reversely input and then integrated. Since the signals of the signal to be measured A and the signal to be measured B are reversed, they will cancel each other out during repeated integration. The value taken by the residual detection circuit will shift because the signal with the larger absolute value in the signal to be measured A and the signal to be measured B accumulates more during integration. The reverse shift of the residual can reflect the magnitude relationship between the absolute values of the signal to be measured A and the signal to be measured B.

[0039] In a preferred scheme, the signal to be measured A and the signal to be measured B are alternately selected through an input selector and alternately input into the timing integrator to perform timing integration separately. The CPU controls the input selector to separately select the signal to be measured A or the signal to be measured B. After selecting one signal, timing integration is performed, and then the same operation is performed to select the other signal for the same timing integration. Then the CPU obtains the residual value signal after each cycle and records it. By judging the change trend of the residual each time, the magnitude relationship between the two signals can be known.

[0040] In a preferred scheme, the timing integrator is cleared before starting the detection. Because it can be judged through the change trend of the residual, to prevent the residual inherent information of the timing integrator from affecting subsequent judgments.

[0041] In a preferred solution, if the remaining amount value signal shows an increasing trend of change, it indicates that the signal A to be measured is greater than the signal B to be measured; if the remaining amount value signal shows a decreasing trend of change, it indicates that the signal A to be measured is less than the signal B to be measured; otherwise, repeat the periodic steps S1 to S3, increase the enrichment times of the timing integration, and continue to judge and compare the change trend of the remaining amount value signal. First, a set of remaining amounts can be obtained through steps S1 to S3, and repeating the periodic steps S1 to S3 once again can obtain another set of remaining amounts. It should be noted here that the object of the timing integration each time is the same signal. That is, in the first cycle, the signal A to be measured is subjected to timing integration for time T, and then in the second cycle, the signal A to be measured that has already been integrated is subjected to timing integration for time T again. The same applies to signal B. This will not be elaborated here.

[0042] In a preferred solution, step S3 specifically includes: converting the signal to be measured into a digital signal through the remaining amount detection ADC to obtain the remaining amount value signal. After data conversion through the analog-to-digital converter, it is convenient to obtain discrete remaining amounts, which is convenient for further comparison and analysis of the change trend of the remaining amounts.

[0043] In a preferred solution, both the signal A to be measured and the signal B to be measured are voltage signals. This detection method is mainly applied to the detection of battery leakage. Therefore, the signal to be measured is the voltage of the battery, and the leakage law and magnitude of the battery can be known by detecting the voltage signal.

[0044] In a specific implementation scenario, the specific process of the precise voltage difference detection method is as follows:

[0045] 1. Clear the timing integrator before starting the detection. Because it can be judged by the change trend of the remaining amount;

[0046] 2. Control the input selector through the CPU to select and pass signal A into the timing integrator;

[0047] 3. Perform timing integration on signal A for time T;

[0048] 4. Control the input selector through the CPU to select and pass signal B into the timing integrator;

[0049] 5. Perform timing integration on signal B for time T;

[0050] 6. The CPU records the current remaining amount state through the remaining amount detection ADC;

[0051] 7. Repeat steps 2 to 6 until the remaining amount detection ADC value (hereinafter referred to as the remaining amount value) can judge the change trend, and then end.

[0052] 8. According to the change trend of the margin, the magnitude relationship between signals A and B can be obtained. That is, if the margin shows an increasing trend, signal A is greater than signal B; if the margin shows a decreasing trend, signal A is less than signal B; if the change trend is not obvious, steps 2 to 6 are repeated to increase the number of times of integral enrichment.

[0053] The present invention also provides a precise voltage difference detection system, including an input selector, a timing integrator, a CPU, and a margin detection ADC. The input selector is used to select the signal A to be measured or the signal B to be measured to the timing integrator once. The timing integrator is used to perform timing integration on the signal A to be measured or the signal B to be measured. The margin detection ADC is used to detect the margin after subtracting the two signals after timing integration. The CPU controls the coordinated work of the selector, the timing integrator, and the margin detection ADC, and obtains the magnitude relationship between the signal A to be measured and the signal B to be measured by judging and comparing the change trend of the margin value signal.

[0054] This circuit structure is designed based on the double-slope integration principle. When repeatedly integrating the signals alternately, the temperature characteristics of the device cancel each other out because they affect the two input signals evenly. At the same time, through multiple repeated integrations, the weak difference between the two input signals can be enriched and amplified. By judging with the margin detection ADC, the change trend of the margin signal output by the integrator can quickly distinguish the magnitude relationship between signals A and B.

[0055] Specifically, under the control of the CPU, the signal A to be measured and the signal B to be measured are repeatedly subjected to timing integration, and here the signal B to be measured is integrated after being input in reverse. Since the signals of the signal A to be measured and the signal B to be measured are in reverse, they will cancel each other out during repeated integration. The value of the margin detection circuit will shift because the signal with the larger absolute value in the signal A to be measured and the signal B to be measured accumulates more during integration. The reverse shift of the margin can reflect the magnitude relationship between the absolute values of the signal A to be measured and the signal B to be measured.

[0056] Beneficial effects: The present invention provides a precise voltage difference detection method and system, including the following steps: S1, performing a timed integration of the signal A to be measured for a time T; S2, reversing the signal B to be measured and then performing a timed integration for a time T; S3, subtracting the two signals after the timed integration and then performing a margin detection to obtain a margin value signal; S4, repeating the periodic steps S1 to S3, and obtaining a margin value signal after each period. By judging and comparing the change trend of the margin value signal, the magnitude relationship between the signal A to be measured and the signal B to be measured can be obtained. When repeatedly and alternately integrating the signals, the temperature characteristics of the device cancel each other out because they uniformly affect the two input signals; at the same time, multiple repeated integrations can enrich and amplify the weak difference between the two input signals. Through the judgment of the margin detection ADC, the change trend of the margin signal output by the integrator can quickly distinguish the magnitude relationship between the signals A / B. This solution can precisely distinguish the voltage difference between the two signals and output the magnitude relationship of the voltages of the signals to be measured. And there is no theoretical upper limit; no matter how small the difference is, an obvious difference can be enriched by increasing the time, that is, repeatedly integrating multiple times.

[0057] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0058] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the processes and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0059] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1The functions specified in one or more boxes.

[0060] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide for implementing the steps of the functions specified in Figure 1 one process or more processes and / or boxes Figure 1 the functions specified in one box or more boxes.

[0061] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications or equivalent replacements can still be made to the specific implementation manners of the present invention. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention shall be covered by the protection scope of the claims of the present invention.

Claims

1. A precise voltage difference detection method, characterized in that It includes the following steps: S1, perform a timed integration on the signal A to be measured for a time T; S2, reverse the signal B to be measured and then perform a timed integration for a time T; S3, subtract the two signals after the timed integration and then perform a margin detection to obtain a margin value signal; S4, repeat the periodic steps S1 - S3. After each period, a margin value signal is obtained. By judging and comparing the change trend of the margin value signal, the magnitude relationship between the signal A to be measured and the signal B to be measured can be obtained; The specific content of S4 includes: If the change trend of the margin value signal is increasing, it indicates that the signal A to be measured is greater than the signal B to be measured; If the change trend of the margin value signal is decreasing, it indicates that the signal A to be measured is less than the signal B to be measured; Otherwise, repeat the periodic steps S1 - S3, increase the enrichment times of the timed integration, and continue to judge and compare the change trend of the margin value signal; Both the signal A to be measured and the signal B to be measured are voltage signals.

2. The precise voltage difference detection method according to claim 1, wherein The signal A to be measured and the signal B to be measured are alternately selected by an input selector and alternately input into a timed integrator to perform timed integration separately.

3. The precision voltage difference detection method according to claim 2, characterized in that Before starting the detection, clear the timed integrator.

4. The precise voltage difference detection method according to claim 1, wherein The specific content of S4 includes: The CPU obtains the margin value signal after each period and records it.

5. The precision voltage difference detection method according to claim 1, wherein The specific content of S3 includes: Convert the signal to be measured into a digital signal through a margin detection ADC to obtain a margin value signal.

6. A system for the precise voltage difference detection method according to any one of claims 1 to 5, characterized in that, It includes an input selector, a timed integrator, a CPU, and a margin detection ADC; The input selector is used to single - select the signal A to be measured or the signal B to be measured to the timed integrator; The timed integrator is used to perform timed integration on the signal A to be measured or the signal B to be measured; The margin detection ADC is used to subtract the two signals after the timed integration and then perform a margin detection; The CPU controls the coordinated work of the selector, the timed integrator, and the margin detection ADC, and judges and compares the change trend of the margin value signal to obtain the magnitude relationship between the signal A to be measured and the signal B to be measured; Judging and comparing the change trend of the margin value signal to obtain the magnitude relationship between the signal A to be measured and the signal B to be measured includes: If the change trend of the margin value signal is increasing, it indicates that the signal A to be measured is greater than the signal B to be measured; If the change trend of the margin value signal is decreasing, it indicates that the signal A to be measured is less than the signal B to be measured; Otherwise, repeat the periodic steps S1 - S3, increase the enrichment times of the timed integration, and continue to judge and compare the change trend of the margin value signal; Both the signal A to be measured and the signal B to be measured are voltage signals.

Citation Information

Patent Citations

  • Battery cell

    CN107240727A

  • A battery equalizer capable of transferring electric energy

    CN202817797U

  • Instantaneous value comparison and detection method

    CN101650402A

  • Hot runner touch screen temperature control system

    CN106032048A