A battery management function detection system and method for a converged terminal

CN122815239APending Publication Date: 2026-09-25QINGDAO ITECHENE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610960090.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-30
Publication Date
2026-09-25

AI Technical Summary

Technical Problem

[0005]本发明的目的在于提供一种用于融合终端的电池管理功能检测系统及方法,以解决上述背景技术中现有检测系统和方法存在的人工操作繁琐、效率低以及一致性差的问题

Benefits of technology

本申请中提供的一种用于融合终端的电池管理功能检测系统及方法,具有以下技术效果:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122815239A_ABST
    Figure CN122815239A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of smart grid battery management, and particularly relates to a battery management function detection system for a fusion terminal, which constructs an automatic detection system including an upper computer, battery management detection software and a test bench body, wherein the test bench body further integrates a program-controlled power supply, a battery tester and a battery simulation device, supports terminal testing and battery testing to be carried out independently in parallel, and solves the problems of complicated manual operation, low efficiency and poor consistency in the prior art. In particular, the battery simulation device can simulate the scenarios of battery connection, disconnection, under-voltage, over-voltage, charging failure and programmable dynamic voltage curve with high precision, and can monitor the charging current in real time and count the charging capacity, thereby solving the problem that complex battery working conditions are difficult to simulate. The present application further provides a battery management function detection method for a fusion terminal, which has high automation detection degree and more perfect and comprehensive detection items, and completes the automatic processing and determination of detection data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart grid battery management technology, and specifically to a battery management function detection system and method for converged terminals. Background Technology

[0002] With the continuous development of smart grid construction, various power information collection terminals, such as smart converged terminals, concentrators, and dedicated transformer terminals, play a crucial role in power grid operation monitoring, load management, and power outage event detection. To ensure that these power information collection terminals can maintain normal operation and guarantee data integrity in the event of a main power outage or other emergencies, they are typically equipped with backup batteries. Therefore, the backup battery management function and its reliability directly affect the accuracy and even the survivability of the terminal's data reporting.

[0003] Currently, testing of terminal battery management functions mainly relies on manual setup of temporary test environments using general-purpose instruments. This method is not only cumbersome and time-consuming, but also suffers from poor consistency in the testing process. More importantly, traditional manual testing methods struggle to comprehensively and efficiently simulate complex operating conditions such as battery connection / disconnection, undervoltage, failure, and dynamic charging / discharging, and cannot automate the verification of advanced functions like terminal event reporting and protocol consistency. While some automated testing solutions have emerged, their comprehensiveness in testing items is insufficient, especially regarding the latest technical specifications, such as battery failure detection, accurate charging capacity statistics, battery insertion / removal status detection, and event reporting. Existing solutions lack systematic integration and efficient testing methods. Furthermore, they are deficient in simulating dynamic battery characteristics, achieving parallel and non-interfering battery and terminal testing, and the automatic processing and judgment of test data.

[0004] Therefore, researching a high-precision, high-efficiency, and highly automated method and system for detecting terminal battery management functions is of great practical significance. Summary of the Invention

[0005] The purpose of this invention is to provide a battery management function testing system and method for integrated terminals, so as to solve the problems of cumbersome manual operation, low efficiency and poor consistency of existing testing systems and methods in the background art.

[0006] To solve the above-mentioned technical problems, the technical solution provided by the present invention is as follows: On one hand, this application provides a battery management function testing system for a converged terminal, including a host computer, battery management testing software, and a test bench. The host computer runs the battery management testing software, which is connected to the test bench via a communication protocol to control the test bench and receive feedback data from the terminal under test. The test bench includes a programmable power supply and a testing module. The testing module includes at least one terminal testing station, and the programmable power supply is electrically connected to the terminal testing station. The terminal testing station includes a terminal station connection unit, a battery simulation device, a terminal station control unit, and a terminal station communication unit. The terminal station connection unit is electrically connected to the terminal under test. The battery simulation device is used to simulate battery connection, disconnection, undervoltage, overvoltage, charging faults, and programmable dynamic voltage curves. The terminal station control unit is electrically connected to the battery simulation device and the terminal station connection unit to control command issuance and data feedback. The terminal station communication unit is electrically connected to the terminal under test to parameter reading, event monitoring, and command issuance.

[0007] Based on the above technical solution, the battery simulation device includes a main control MCU module, a digital-to-analog converter (DAC) module, an analog-to-digital converter (ADC) module, a constant voltage source / constant current source circuit, an electronic load circuit, a relay switching module, and an isolation communication module; The main control MCU module is connected to the digital-to-analog converter (DAC) module via the SPI bus. The DAC module outputs an analog reference voltage to the constant voltage / constant current source circuit for controlling the output voltage or current. The analog-to-digital converter (ADC) module collects the voltage and current at the output of the battery simulation device in real time through a differential sampling circuit and feeds them back to the main control MCU module to form a closed-loop control. The electronic load circuit is used to absorb the charging current from the terminal to the battery in constant voltage load mode. The relay switching module is connected to the main control MCU module and is used to simulate the battery connection / disconnection state; The isolated communication module is used to communicate with the terminal workstation control unit.

[0008] Based on the above technical solution, the voltage output range of the battery simulation device is 0~10V with an accuracy of ±0.1%; the current detection range is 1mA~2A with an accuracy of ±0.05%. The battery simulation device has the following operating modes: constant voltage load mode, which is used to simulate the state of the battery being charged, and constant voltage source mode, which is used to simulate the state of the battery supplying power to the terminal.

[0009] Based on the above technical solution, the test bench also includes a battery tester, and the test module also includes a battery test station. The battery tester is electrically connected to the battery test station. The battery test station includes a battery safety compartment, a battery station connection unit, a battery station control unit, and a battery station communication unit. The battery safety compartment is used to store the battery under test. The battery station connection unit is electrically connected to the battery under test. The battery station control unit is electrically connected to the battery connection unit and is used for issuing control commands and transmitting data. The battery station communication unit is electrically connected to the battery under test and is used for reading test parameter data and issuing commands.

[0010] On the other hand, this application also provides a method for detecting battery management functions in a converged terminal, which employs the aforementioned battery management function detection system and includes the following steps: S1: Install the terminal under test at the terminal test station, start the battery management test software, and establish a communication connection with the test bench and the terminal under test; S2: The battery management testing software controls the battery simulation device and the programmable power supply to perform terminal battery management function tests sequentially or in parallel according to the preset test sequence. The terminal battery management function tests include: terminal battery voltage reading test; terminal battery overcharge judgment test; terminal battery over-discharge judgment test; terminal battery charging fault event reporting test; terminal battery insertion / removal status detection / event reporting test; and terminal battery failure detection test. S3: The battery management testing software automatically compares the measured data with the preset standard data, determines the test results of each test item, and automatically generates a structured battery management function test report.

[0011] Based on the above technical solution, the terminal battery voltage reading test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to enter the constant voltage load working mode, and outputs six calibration voltage points in sequence: 4.0V, 4.5V, 4.8V, 5.2V, 5.5V, and 5.8V. The stable output time for each voltage point is ≥30 seconds. After each voltage point stabilizes, the battery management testing software sends a command to the terminal under test to read the battery voltage through the terminal workstation communication unit. Record the voltage value reported by the tested terminal and calculate the relative error between this voltage value and the actual output voltage value of the battery simulation device: Relative error = |voltage value - actual output voltage value| / actual output voltage value × 100%; If the relative error of all test points is ≤2%, the terminal battery voltage reading test is deemed to be qualified.

[0012] Based on the above technical solution, the terminal battery overcharge judgment test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to output 4.4V in a constant voltage load working mode to simulate the initial state of the battery. The battery simulation device enters a linear voltage rise mode: starting voltage 4.4V, ending voltage 5.95V, rising slope 2mV / min; The battery simulation device records the charging current and cumulative charging capacity in real time, and uploads the data to the host computer. If the voltage is ≥5.8V and the charging current is <1mA, the overcharge protection is deemed effective; if the maximum charging current is ≤600mA during the entire charging process, the charging current limit is deemed effective; if the total capacity of the first charge is ≤600mAh, the charging capacity statistics are deemed accurate. The battery simulation device then controls the voltage to decrease linearly to 5.55V at a rate of 20mV / min to simulate a self-holding state, during which the charging current is always <1mA.

[0013] Based on the above technical solution, the terminal battery over-discharge judgment test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to output 4.8V in constant voltage load mode, while simultaneously controlling the programmable power supply to provide normal power to the terminal. After the terminal initialization is completed, the battery management detection software controls the programmable power supply to stop outputting, simulating a main power outage; Switch the battery simulation device to constant voltage source mode, set the output voltage to 3.5V, and limit the maximum load current to 500mA; The battery management detection software reads the terminal's battery voltage. Since the voltage is below the shutdown threshold, the terminal cannot respond. After waiting for a preset time, read the actual output current of the battery simulator; If the actual output current is less than 1mA, it is determined that the terminal has completely cut off the discharge circuit and the over-discharge protection is effective.

[0014] Based on the above technical solution, the terminal battery charging fault event reporting test in step S2 includes the following process: The battery management and testing software controls the programmable power supply to provide normal power to the terminal and controls the battery simulation device to output 4.8V in constant voltage load mode; The simulated terminal runs continuously for a preset time or more; The output voltage of the control battery simulation device drops to 3.8V, simulating a battery malfunction causing low voltage for 3 minutes; The battery management testing software receives an event reported by the terminal that the source of the event is a backup battery failure and records the time of occurrence. Then, it controls the voltage of the battery simulation device to be restored to 4.8V. The terminal should report the corresponding recovery event after the fault is restored. If so, the terminal battery charging fault event reporting test is considered successful.

[0015] Based on the above technical solution, the terminal battery insertion / removal status detection / event reporting test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to output 4.8V in constant voltage load mode to provide normal power to the terminal. The battery is pulled out by controlling the relay switching matrix inside the battery simulation device with commands. After a short delay, the battery management detection software reads the status of the terminal's backup battery to see if it is displayed as unplugged, and at the same time receives whether the terminal reports an event source of abnormal backup battery insertion / removal; then it controls the battery simulation device to simulate battery insertion, reads the status of the terminal's backup battery again to see if it is inserted, and receives the corresponding recovery event. If the terminal can correctly identify the changes in insertion and removal status and report the corresponding events, then the terminal battery insertion and removal status detection / event reporting test is deemed qualified.

[0016] Based on the above technical solution, the terminal battery failure detection test in step S2 includes the following process: The battery management testing software starts up and controls the programmable power supply to provide normal power to the tested terminal for more than 1 hour. The battery simulation device is controlled to enter the constant voltage source working mode, the output voltage is set to 5.0V, and its maximum output current capability is limited to 50mA, in order to simulate a failed battery with increased internal resistance and extremely poor load-carrying capacity. The battery management detection software sends a battery failure detection command to the terminal. After receiving the command, the terminal's internal circuitry applies a short-term 50Ω load for a preset time and detects the battery voltage. If the terminal detects that the voltage is lower than 4.0V after the load is connected, it determines that the battery is faulty and updates the internal battery status. The battery management detection software then reads the battery status and fault records reported by the terminal, verifies whether the terminal has successfully received and judged the battery failure status, and reports the backup battery failure event.

[0017] The beneficial effects of the technical solution provided by this invention are as follows: The battery management function detection system and method for fusion terminals provided in this application have the following technical advantages: The testing items are more comprehensive, specifically including voltage sampling, overcharge / over-discharge protection, charging capacity management, battery status detection, failure judgment, and event reporting functions. It fully covers all requirements for terminal battery management functions in the latest technical specifications, achieving integrated verification of functionality, performance, and protocols. It automates the entire process from device initialization, test procedure execution, data acquisition, logical judgment to report generation. Terminal testing and battery testing can be performed in parallel and independently, greatly improving the efficiency of batch testing and reducing human error and labor costs.

[0018] The core battery simulation device can simulate dynamic processes such as the linear voltage rise during battery charging and the slow voltage drop during self-holding, as well as various complex operating conditions such as battery undervoltage and failure. This provides a reliable environment for verifying the terminal's management logic under real, dynamic battery behavior. Using the battery simulation device to replace physical batteries for most terminal function tests avoids the damage and safety risks of repeated charging and discharging to physical batteries. All test steps and judgment conditions are strictly defined and executed by the program, eliminating human interference and ensuring the objectivity, consistency, and traceability of the test results.

[0019] Meanwhile, the battery management function testing method has been specifically optimized, particularly the failure detection mechanism. This involves clarifying the specific implementation path for battery failure detection, accurately simulating a failed battery using a constant voltage source and low current limit mode, and optimizing the detection logic to apply a 50Ω load for 5 seconds and determine if the voltage is below 4.0V, making the detection more accurate and compliant with specifications. It can also accurately reproduce and verify the terminal's charging management logic, ensuring that the terminal stops charging when the voltage is ≥5.8V, charges with an appropriate current when the voltage is low, and accurately calculates the initial charging capacity, achieving precise verification of the charging management process. Correlation testing between real-time battery status monitoring and corresponding event reporting verifies the correctness of the terminal's hardware and software collaboration and protocol implementation. Attached Figure Description

[0020] Figure 1 This is a schematic diagram of the battery management function detection system in this invention; Figure 2 This is a schematic diagram of the detection principle of the battery management function detection system in this invention; Figure 3 This is a flowchart of the terminal battery overcharge judgment test in this invention; Figure 4 This is a flowchart of the terminal battery charging fault event reporting test in this invention; Figure 5 This is a flowchart of the terminal battery insertion / removal status detection / event reporting test in this invention; Figure 6 This is a flowchart of the terminal battery failure detection test in this invention. Detailed Implementation

[0021] The present invention will be further described below with reference to the accompanying drawings and embodiments: In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0022] In the description of this invention, it should be understood that the terms "left", "right", "front", "rear", "top", "bottom", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0023] like Figures 1 to 6 As shown, a battery management function testing system for a converged terminal includes a host computer, battery management testing software, and a test bench. The host computer runs the battery management testing software, which is connected to the test bench via a communication protocol to control the test bench and receive feedback data from the terminal under test. The test bench includes a programmable power supply and a testing module. The testing module includes at least one terminal testing station, and the programmable power supply is electrically connected to the terminal testing station. The terminal testing station includes a terminal station connection unit, a battery simulation device, a terminal station control unit, and a terminal station communication unit. The terminal station connection unit is electrically connected to the terminal under test. The battery simulation device is used to simulate battery connection, disconnection, undervoltage, overvoltage, charging faults, and programmable dynamic voltage curves. The terminal station control unit is electrically connected to the battery simulation device and the terminal station connection unit for control command issuance and data feedback. The terminal station communication unit is electrically connected to the terminal under test for parameter reading, event monitoring, and command issuance.

[0024] The host computer runs battery management and testing software, communicating with various devices within the test bench via a unified interface communication protocol. It coordinates and controls the programmable power supply, battery tester, and battery simulation device, and receives feedback data from the terminal under test and the battery tester, enabling parallel and independent testing of the terminal and battery. Specifically, the host computer is connected to the terminal station control unit and the battery station control unit via a local area network. The terminal station connection unit in the terminal testing station is connected to the power input terminal of the terminal under test via a high-voltage connector and to the battery interface of the terminal under test via a low-voltage connector. The terminal station control unit is connected to the battery simulation device and the terminal station connection unit via an RS-485 bus for control command issuance and data feedback. The terminal station communication unit is connected to the application layer signal of the terminal under test for establishing application layer communication, including parameter reading, event monitoring, and command issuance.

[0025] At the start of the test, the host computer sends the operating mode command (constant voltage load mode or constant voltage source mode) and the target voltage / current value to the battery simulation device through the terminal station control unit. The battery simulation device adjusts its output according to the command, while simultaneously acquiring and transmitting voltage and current data in real time. The battery management testing software interacts with the terminal under test through the terminal station communication unit, reads the battery status parameters or events reported by the terminal, and compares them with the actual output of the battery simulation device to complete the verification of various functions.

[0026] Preferably, the terminal workstation communication unit is an RJ45 interface, which communicates with the terminal under test via protocols such as DL / T 698.45.

[0027] Based on the above technical solution, the battery simulation device includes a main control MCU module, a digital-to-analog converter (DAC) module, an analog-to-digital converter (ADC) module, a constant voltage source / constant current source circuit, an electronic load circuit, a relay switching module, and an isolation communication module; The main control MCU module is connected to the digital-to-analog converter (DAC) module via the SPI bus. The DAC module outputs an analog reference voltage to the constant voltage / constant current source circuit for controlling the output voltage or current. The analog-to-digital converter (ADC) module collects the voltage and current at the output of the battery simulation device in real time through a differential sampling circuit and feeds them back to the main control MCU module to form a closed-loop control. The electronic load circuit is used to absorb the charging current from the terminal to the battery in constant voltage load mode. The relay switching module is connected to the main control MCU module and is used to simulate the battery connection / disconnection state; The isolated communication module is used to communicate with the terminal workstation control unit.

[0028] Preferably, the isolated communication module uses RS-485 or Ethernet, etc.

[0029] Based on the above technical solution, the voltage output range of the battery simulation device is 0~10V with an accuracy of ±0.1%; the current detection range is 1mA~2A with an accuracy of ±0.05%. The battery simulation device has the following operating modes: constant voltage load mode, which is used to simulate the state of the battery being charged, and constant voltage source mode, which is used to simulate the state of the battery supplying power to the terminal.

[0030] The battery simulation device is used to simulate battery connection, disconnection, undervoltage, overvoltage, charging faults, and programmable dynamic voltage curves. It also has the function of real-time monitoring of terminal charging current and statistical analysis of charging capacity. Its working modes include constant voltage load mode and constant voltage source mode.

[0031] Based on the above technical solution, the test bench also includes a battery tester, and the test module also includes a battery test station. The battery tester is electrically connected to the battery test station. The battery test station includes a battery safety compartment, a battery station connection unit, a battery station control unit, and a battery station communication unit. The battery safety compartment is used to store the battery under test. The battery station connection unit is electrically connected to the battery under test. The battery station control unit is electrically connected to the battery connection unit and is used for issuing control commands and transmitting data. The battery station communication unit is electrically connected to the battery under test and is used for reading test parameter data and issuing commands.

[0032] This invention provides a battery management function testing system for integrated terminals. It comprises a host computer, battery management testing software, and a test bench. The test bench also integrates a dedicated automated testing system consisting of a programmable power supply, a battery tester, and a battery simulation device. This system supports parallel and independent testing of the terminal and battery, solving the problems of cumbersome manual operation, low efficiency, and poor consistency in existing technologies. In particular, the battery simulation device can accurately simulate battery connection, disconnection, undervoltage, overvoltage, charging faults, and programmable dynamic voltage curves, and can monitor charging current and calculate charging capacity in real time, solving the problem of simulating complex battery operating conditions.

[0033] This application also provides a method for detecting battery management function in a converged terminal, which employs the aforementioned battery management function detection system and includes the following steps: S1: Install the terminal under test at the terminal test station, start the battery management test software, and establish a communication connection with the test bench and the terminal under test; S2: The battery management testing software controls the battery simulation device and the programmable power supply to perform terminal battery management function tests sequentially or in parallel according to the preset test sequence. The terminal battery management function tests include: terminal battery voltage reading test; terminal battery overcharge judgment test; terminal battery over-discharge judgment test; terminal battery charging fault event reporting test; terminal battery insertion / removal status detection / event reporting test; and terminal battery failure detection test. S3: The battery management testing software automatically compares the measured data with the preset standard data, determines the test results of each test item, and automatically generates a structured battery management function test report.

[0034] In a preferred embodiment, in step S1, the battery under test is installed at the battery testing station and a communication connection is established with the battery management and testing software; while step S2 is being performed, the battery under test is subjected to rechargeable battery performance testing, and the battery testing station is used to conduct internal resistance and capacity experiments and rate current discharge experiments on the physical battery under test.

[0035] Based on the above technical solution, the terminal battery voltage reading test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to enter the constant voltage load working mode, and outputs six calibration voltage points in sequence: 4.0V, 4.5V, 4.8V, 5.2V, 5.5V, and 5.8V. The stable output time for each voltage point is ≥30 seconds. After each voltage point stabilizes, the battery management testing software sends a command to the terminal under test to read the battery voltage through the terminal workstation communication unit. Record the voltage value reported by the tested terminal and calculate the relative error between this voltage value and the actual output voltage value of the battery simulation device: Relative error = |voltage value - actual output voltage value| / actual output voltage value × 100%; If the relative error of all test points is ≤2%, the terminal battery voltage reading test is deemed to be qualified.

[0036] The purpose of the terminal battery voltage reading test in step S2 is to verify whether the terminal's sampling accuracy of the battery voltage meets the specification requirements (relative error ≤ 2%).

[0037] Based on the above technical solution, the terminal battery overcharge judgment test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to output 4.4V in a constant voltage load working mode to simulate the initial state of the battery. The battery simulation device enters a linear voltage rise mode: starting voltage 4.4V, ending voltage 5.95V, rising slope 2mV / min; The battery simulation device records the charging current and cumulative charging capacity in real time, and uploads the data to the host computer. If the voltage is ≥5.8V and the charging current is <1mA, the overcharge protection is deemed effective; if the maximum charging current is ≤600mA during the entire charging process, the charging current limit is deemed effective; if the total capacity of the first charge is ≤600mAh, the charging capacity statistics are deemed accurate. The battery simulation device then controls the voltage to decrease linearly to 5.55V at a rate of 20mV / min to simulate a self-holding state, during which the charging current is always <1mA.

[0038] The purpose of the terminal battery overcharge judgment test in step S2 is to verify the terminal's overcharge protection, current limiting, and capacity statistics functions during battery charging.

[0039] Based on the above technical solution, the terminal battery over-discharge judgment test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to output 4.8V in constant voltage load mode, while simultaneously controlling the programmable power supply to provide normal power to the terminal. After the terminal initialization is completed, the battery management detection software controls the programmable power supply to stop outputting, simulating a main power outage; Switch the battery simulation device to constant voltage source mode, set the output voltage to 3.5V, and limit the maximum load current to 500mA; The battery management detection software reads the terminal's battery voltage. Since the voltage is below the shutdown threshold, the terminal cannot respond. After waiting for a preset time, read the actual output current of the battery simulator; Preferably, the preset time is set to 300 seconds.

[0040] If the actual output current is less than 1mA, it is determined that the terminal has completely cut off the discharge circuit and the over-discharge protection is effective.

[0041] The purpose of the terminal battery over-discharge judgment test in step S2 is to verify whether the terminal can cut off the discharge circuit in time when the battery voltage is too low, so as to prevent the battery from being damaged by over-discharge.

[0042] Based on the above technical solution, the terminal battery charging fault event reporting test in step S2 includes the following process: The battery management and testing software controls the programmable power supply to provide normal power to the terminal and controls the battery simulation device to output 4.8V in constant voltage load mode; The simulated terminal runs continuously for a preset time or more; Preferably, the preset time is 2 hours or more, but it can also be accelerated by software or by actually waiting; The output voltage of the control battery simulation device drops to 3.8V, simulating a battery malfunction causing low voltage for 3 minutes; The battery management testing software receives an event reported by the terminal that the source of the event is a backup battery failure and records the time of occurrence. Then, it controls the voltage of the battery simulation device to be restored to 4.8V. The terminal should report the corresponding recovery event after the fault is restored. If so, the terminal battery charging fault event reporting test is considered successful.

[0043] The purpose of the terminal battery charging fault event reporting test in step S2 is to verify whether the terminal can detect abnormal battery charging and actively report the fault event.

[0044] Based on the above technical solution, the terminal battery insertion / removal status detection / event reporting test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to output 4.8V in constant voltage load mode to provide normal power to the terminal. The battery is pulled out by controlling the relay switching matrix inside the battery simulation device with commands. After a short delay, the battery management detection software reads the status of the terminal's backup battery to see if it is displayed as unplugged, and at the same time receives whether the terminal reports an event source of abnormal backup battery insertion / removal; then it controls the battery simulation device to simulate battery insertion, reads the status of the terminal's backup battery again to see if it is inserted, and receives the corresponding recovery event. If the terminal can correctly identify the changes in insertion and removal status and report the corresponding events, then the terminal battery insertion and removal status detection / event reporting test is deemed qualified.

[0045] The aforementioned unplugging disconnects the connection to the terminal, while the opposite, plugging in restores the connection. The purpose of the terminal battery insertion / removal status detection / event reporting test in step S2 is to verify whether the terminal can accurately identify the battery insertion / removal status and report the corresponding events.

[0046] Based on the above technical solution, the terminal battery failure detection test in step S2 includes the following process: The battery management testing software starts up and controls the programmable power supply to provide normal power to the tested terminal for more than 1 hour. The battery simulation device is controlled to enter the constant voltage source working mode, the output voltage is set to 5.0V, and its maximum output current capability is limited to 50mA, in order to simulate a failed battery with increased internal resistance and extremely poor load-carrying capacity. The battery management detection software sends a battery failure detection command to the terminal. After receiving the command, the terminal's internal circuitry applies a short-term 50Ω load for a preset time and detects the battery voltage. Preferably, the preset time is 5 seconds, during which the battery voltage is detected. Since the current output capability of the battery simulator is limited to 50mA, the voltage will be pulled down; If the terminal detects that the voltage is lower than 4.0V after the load is connected, it determines that the battery is faulty and updates the internal battery status. The battery management detection software then reads the battery status and fault records reported by the terminal, verifies whether the terminal has successfully received and judged the battery failure status, and reports the backup battery failure event.

[0047] The purpose of the terminal battery failure detection test in step S2 is to verify whether the terminal can accurately determine the battery failure status and report the corresponding event.

[0048] This invention also provides a battery management function detection method for integrated terminals, featuring a high degree of automation and more comprehensive and complete detection items, achieving automated processing and judgment of detection data. In particular, it optimizes the battery failure detection method by simulating a failed battery using a battery simulation device with a "constant voltage source + low current limit" mode. The terminal detection logic is defined as "after power-on > 1 hour, apply a 50Ω-80Ω load for 5 seconds and determine if the voltage is below 4.0V," ensuring accuracy and standardization of the detection. A complete automated testing process is also designed, forcibly associating the terminal's internal state perceptions, such as voltage, insertion / removal, and failure states, with standard event reporting protocols to ensure the integrity of the terminal's "perception-judgment-reporting" link. Utilizing the voltage programming modes of the battery simulation device, such as linear rise / fall, the dynamic characteristics of battery charging and self-holding processes are accurately simulated, enabling quantitative verification of complex functions such as overcharge protection points, charging current curves, and charging capacity statistics.

[0049] The foregoing has shown and described the basic principles and main features of the present invention. It will be apparent to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments. Therefore, the embodiments should be considered as exemplary and not restrictive. The scope of the present invention is defined by the appended claims rather than the foregoing description. Therefore, it is intended that all variations falling within the meaning and scope of the equivalents of the claims be included within the present invention.

[0050] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

Claims

1. A battery management function detection system for a converged terminal, characterized in that, The system includes a host computer, battery management testing software, and a test bench. The host computer runs the battery management testing software, which is connected to the test bench via a communication protocol to control the test bench and receive feedback data from the terminal under test. The test bench includes a programmable power supply and a test module. The test module includes at least one terminal test station, and the programmable power supply is electrically connected to the terminal test station. The terminal test station includes a terminal station connection unit, a battery simulation device, a terminal station control unit, and a terminal station communication unit. The terminal station connection unit is electrically connected to the terminal under test. The battery simulation device is used to simulate battery connection, disconnection, undervoltage, overvoltage, charging faults, and programmable dynamic voltage curves. The terminal station control unit is electrically connected to the battery simulation device and the terminal station connection unit for issuing control commands and transmitting data. The terminal station communication unit is electrically connected to the terminal under test for parameter reading, event monitoring, and command issuance.

2. The battery management function detection system for a converged terminal according to claim 1, characterized in that, The battery simulation device includes a main control MCU module, a digital-to-analog converter (DAC) module, an analog-to-digital converter (ADC) module, a constant voltage / constant current source circuit, an electronic load circuit, a relay switching module, and an isolated communication module; The main control MCU module is connected to the digital-to-analog converter (DAC) module via the SPI bus. The DAC module outputs an analog reference voltage to the constant voltage / constant current source circuit for controlling the output voltage or current. The analog-to-digital converter (ADC) module collects the voltage and current at the output of the battery simulation device in real time through a differential sampling circuit and feeds them back to the main control MCU module to form a closed-loop control. The electronic load circuit is used to absorb the charging current from the terminal to the battery in constant voltage load mode. The relay switching module is connected to the main control MCU module and is used to simulate the battery connection / disconnection state; The isolated communication module is used to communicate with the terminal workstation control unit.

3. A battery management function detection system for a converged terminal according to claim 1 or 2, characterized in that, The battery simulation device has a voltage output range of 0~10V with an accuracy of ±0.1%; and a current detection range of 1mA~2A with an accuracy of ±0.05%. The battery simulation device has the following operating modes: constant voltage load mode, which is used to simulate the state of the battery being charged, and constant voltage source mode, which is used to simulate the state of the battery supplying power to the terminal.

4. The battery management function detection system for a converged terminal according to claim 1, characterized in that, The test bench also includes a battery tester, and the test module also includes a battery test station. The battery tester is electrically connected to the battery test station. The battery test station includes a battery safety compartment, a battery station connection unit, a battery station control unit, and a battery station communication unit. The battery safety compartment is used to store the battery under test. The battery station connection unit is electrically connected to the battery under test. The battery station control unit is electrically connected to the battery connection unit and is used for issuing control commands and transmitting data. The battery station communication unit is electrically connected to the battery under test and is used for reading test parameter data and issuing commands.

5. A method for detecting battery management function in a converged terminal, employing the battery management function detection system according to any one of claims 1-4, characterized in that, Includes the following steps: S1: Install the terminal under test at the terminal test station, start the battery management test software, and establish a communication connection with the test bench and the terminal under test; S2: The battery management testing software controls the battery simulation device and the programmable power supply to perform terminal battery management function tests sequentially or in parallel according to the preset test sequence. The terminal battery management function tests include: terminal battery voltage reading test; terminal battery overcharge judgment test; terminal battery over-discharge judgment test; terminal battery charging fault event reporting test; terminal battery insertion / removal status detection / event reporting test; and terminal battery failure detection test. S3: The battery management testing software automatically compares the measured data with the preset standard data, determines the test results of each test item, and automatically generates a structured battery management function test report.

6. The method for detecting battery management function in a converged terminal according to claim 5, characterized in that, The terminal battery voltage reading test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to enter the constant voltage load working mode, and outputs six calibration voltage points in sequence: 4.0V, 4.5V, 4.8V, 5.2V, 5.5V, and 5.8V. The stable output time for each voltage point is ≥30 seconds. After each voltage point stabilizes, the battery management testing software sends a command to the terminal under test to read the battery voltage through the terminal workstation communication unit. Record the voltage value reported by the tested terminal and calculate the relative error between this voltage value and the actual output voltage value of the battery simulation device: Relative error = |voltage value - actual output voltage value| / actual output voltage value × 100%; If the relative error of all test points is ≤2%, the terminal battery voltage reading test is deemed to be qualified.

7. The method for detecting battery management function in a converged terminal according to claim 5, characterized in that, The terminal battery overcharge judgment test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to output 4.4V in a constant voltage load working mode to simulate the initial state of the battery. The battery simulation device enters a linear voltage rise mode: starting voltage 4.4V, ending voltage 5.95V, rising slope 2mV / min; The battery simulation device records the charging current and cumulative charging capacity in real time, and uploads the data to the host computer. When the voltage is ≥5.8V and the charging current is <1mA, the overcharge protection is deemed effective. If the maximum charging current is ≤600mA throughout the entire charging process, the charging current limit is deemed effective. If the total capacity of the first charge is ≤600mAh, then the charging capacity statistics are considered accurate. The battery simulation device then controls the voltage to decrease linearly to 5.55V at a rate of 20mV / min to simulate a self-holding state, during which the charging current is always <1mA.

8. A method for detecting battery management function in a converged terminal according to claim 5, characterized in that, The terminal battery over-discharge judgment test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to output 4.8V in constant voltage load mode, while simultaneously controlling the programmable power supply to provide normal power to the terminal. After the terminal initialization is completed, the battery management detection software controls the programmable power supply to stop outputting, simulating a main power outage; Switch the battery simulation device to constant voltage source mode, set the output voltage to 3.5V, and limit the maximum load current to 500mA; The battery management detection software reads the terminal's battery voltage. Since the voltage is below the shutdown threshold, the terminal cannot respond. After waiting for a preset time, read the actual output current of the battery simulator; If the actual output current is less than 1mA, it is determined that the terminal has completely cut off the discharge circuit and the over-discharge protection is effective.

9. A method for detecting battery management function in a converged terminal according to claim 5, characterized in that, The terminal battery charging fault event reporting test in step S2 Includes the following processes: The battery management and testing software controls the programmable power supply to provide normal power to the terminal and controls the battery simulation device to output 4.8V in constant voltage load mode; The simulated terminal runs continuously for a preset time or more; The output voltage of the control battery simulation device drops to 3.8V, simulating a battery malfunction causing low voltage for 3 minutes; The battery management testing software receives an event reported by the terminal that the source of the event is a backup battery failure and records the time of occurrence. Then, it controls the voltage of the battery simulation device to be restored to 4.8V. The terminal should report the corresponding recovery event after the fault is restored. If so, the terminal battery charging fault event reporting test is considered successful.

10. A method for detecting battery management function in a converged terminal according to claim 5, characterized in that, The terminal battery insertion / removal status detection / event reporting test in step S2 includes the following process: The battery management and testing software controls the battery simulation device to output 4.8V in constant voltage load mode to provide normal power to the terminal. The battery is pulled out by controlling the relay switching matrix inside the battery simulation device with commands. After a short delay, the battery management detection software reads the status of the terminal's backup battery to see if it is displayed as unplugged, and at the same time receives whether the terminal reports an event source of abnormal backup battery insertion / removal; then it controls the battery simulation device to simulate battery insertion, reads the status of the terminal's backup battery again to see if it is inserted, and receives the corresponding recovery event. If the terminal can correctly identify the changes in insertion and removal status and report the corresponding events, then the terminal battery insertion and removal status detection / event reporting test is deemed qualified.

11. A method for detecting battery management function in a converged terminal according to claim 5, characterized in that, The terminal battery failure detection test in step S2 includes the following process: The battery management testing software starts up and controls the programmable power supply to provide normal power to the tested terminal for more than 1 hour. The battery simulation device is controlled to enter the constant voltage source working mode, the output voltage is set to 5.0V, and its maximum output current capability is limited to 50mA, in order to simulate a failed battery with increased internal resistance and extremely poor load-carrying capacity. The battery management detection software sends a battery failure detection command to the terminal. After receiving the command, the terminal's internal circuitry applies a short-term 50Ω load for a preset time and detects the battery voltage. If the terminal detects that the voltage is lower than 4.0V after the load is connected, it determines that the battery is faulty and updates the internal battery status. The battery management detection software then reads the battery status and fault records reported by the terminal, verifies whether the terminal has successfully received and judged the battery failure status, and reports the backup battery failure event.