A test system and method for battery chargers

By simulating the power receiving end for charging protocol pairing and test path identification, combined with a dynamic time warping algorithm, the problem of the single detection method in traditional methods is solved, achieving efficient and accurate detection of chargers and reducing time and power costs.

CN119064694BActive Publication Date: 2026-02-24GUIZHOU BESTONE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411213138.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2026-02-24
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

Traditional technologies do not take into account the impact of different charging protocols when testing mobile phone battery chargers, and the testing methods are limited, which increases testing time and power costs.

Method used

The charging protocol is paired using a simulated power receiving end. After identifying the charger type, electrical safety performance and electromagnetic interference capability are tested through different test paths. The charging performance score is calculated by combining the dynamic time warping algorithm.

Benefits of technology

It accurately tests the electrical safety performance and electromagnetic interference capability of chargers, reduces testing time and power costs, and adapts to the differences between smart and non-smart charging protocols.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119064694B_ABST
    Figure CN119064694B_ABST
Patent Text Reader

Abstract

The application discloses a test system and method for a battery charger, and relates to the technical field of charger testing, and specifically comprises the following steps: identifying the charging protocol type of a to-be-tested charger based on a preset charging protocol library; performing electrical safety performance detection based on the charging protocol type identification result; determining a test path based on the charging protocol type identification result; in the first test path, calculating the maximum power, the maximum power maintenance time and the output current waveform deviation degree based on a third charging state data packet sequence and a second output data set; in the second test path, calculating the constant-current charging stage feature and the constant-voltage charging stage feature based on the power node in the non-intelligent charging protocol; sending a fifth charging state data packet sequence to the to-be-tested charger, and calculating the external electromagnetic interference intensity of the to-be-tested charger at a preset distance radius through an electromagnetic radiation analyzer; and completing the detection of the charger based on a preset charger test score model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of charger testing, and more particularly to a testing system and method for battery chargers. Background Technology

[0002] In recent years, as the smartphone market has matured, new smartphone models have seen continuous innovation and breakthroughs in various functions, along with constant improvements in hardware and software. Consequently, smartphone penetration and actual usage time have continued to grow, leading to a surge in demand for high-quality mobile phone battery chargers. Currently, mainstream mobile phone manufacturers have widely adopted fast charging technology, with high-power SuperVOOC Flash Charge gradually becoming a standard feature in flagship models. Some major mobile phone manufacturers have also developed their own fast charging protocols and corresponding charging adapters to improve charging efficiency and smart features. This new market demand has led to a gradual increase in sales of high-performance chargers that support multiple charging protocols.

[0003] Currently, Chinese invention patent application number 202310227085.6 discloses a charger testing system and method. This invention specifically includes: a charger testing system and method comprising a host computer, a DC power supply, and an electronic load; the host computer is connected to the electronic load, the DC power supply, and the charger under test (DUT), and the DUT is connected to both the electronic load and the DC power supply. The DC power supply is used to wake up the DUT according to a test start command issued by the host computer. The host computer is used to issue the test start command, wake up the DUT through the DC power supply, and perform electrical parameter testing on the DUT based on the electronic load. The electronic load is used to change its load state according to control signals sent by the host computer and to obtain the output electrical parameters of the DUT. This invention can more conveniently test chargers, thereby improving the efficiency of charger testing. However, during mobile phone charging, the current and voltage performance varies at different stages. This invention uses a single method to test charger performance and does not consider different testing methods for different charging protocols. Furthermore, the scheme has limited testing capabilities for mobile phone chargers, neglecting to examine the most basic electrical safety performance aspects of chargers. Summary of the Invention

[0004] The technical problem solved by this invention is that traditional technologies for testing mobile phone battery chargers do not consider the impact of different charging protocols. Data acquisition and processing rely solely on current or voltage values, failing to assess the charger from multiple perspectives. Furthermore, traditional technologies typically require a full charge of the battery during testing, increasing both time and power costs.

[0005] To solve the above-mentioned technical problems, the present invention provides the following technical solution:

[0006] Step S1: Connect the charger to be tested to the simulated power receiving end, and perform charging protocol pairing on the charger to be tested based on the preset charging protocol library to complete the identification of the charging protocol type of the charger to be tested.

[0007] Step S2: Based on the charging protocol type identification result, perform electrical safety performance testing on the charger under test. The electrical safety performance testing includes overvoltage protection capability, overcurrent protection capability, and overtemperature protection capability.

[0008] Step S3, determine the test path based on the charging protocol type identification result, including:

[0009] If the identification result of the charging protocol type of the charger to be tested is smart charging protocol, then the first test path is determined;

[0010] If the identification result of the charging protocol type of the charger to be tested is a non-smart charging protocol, then the second test path is determined;

[0011] Step S4: Perform performance testing on the charger under test through the first test path. Send a third charging status data packet sequence to the charger under test through the simulated power receiving end. Calculate the maximum power, maximum power maintenance time, and output current waveform deviation of the charger under test based on the second output dataset.

[0012] The performance of the charger under test is tested through the second test path. The fourth charging state data packet sequence is obtained based on the power node in the non-smart charging protocol. The fourth charging state data packet sequence is sent to the charger under test by simulating the power receiving end. The third output dataset of the charger under test is collected to calculate the constant current charging stage characteristics and constant voltage charging stage characteristics.

[0013] Step S5: Test the electromagnetic interference capability of the charger by sending the fifth charging status data packet sequence to the charger under test, measuring the electromagnetic radiation at a preset distance radius using an electromagnetic radiation analyzer, and calculating the external electromagnetic interference intensity of the charger under test through extreme value removal and averaging.

[0014] Step S6: Calculate the score based on the obtained electrical safety performance data, electromagnetic interference intensity, and charging performance data, and complete the test of the charger based on the preset charger test score model.

[0015] In a preferred embodiment of the testing method for a battery charger described in this invention, wherein:

[0016] Connect the charger to be tested to the simulated power receiving end, and perform charging protocol pairing on the charger to be tested based on the preset charging protocol library in the simulated power receiving end to determine the charging protocol type of the charger to be tested;

[0017] The charging protocol pairing logic is as follows: the first data packet sent by the charger under test is received by the simulated power receiving end and decoded once, the initial frame is detected, the second decoding is performed and the cyclic redundancy check is performed to obtain the first charging handshake data. Based on the first charging handshake data, the charging handshake data corresponding to each protocol in the preset charging protocol library is matched one by one. A successful match indicates that the charging protocol type of the charger under test is obtained.

[0018] As a preferred embodiment of the testing method for a battery charger described in this invention, the overvoltage protection capability, overcurrent protection capability and overtemperature protection capability of the charger under test are tested, and the overtemperature protection capability includes active overtemperature protection capability and passive overtemperature protection capability.

[0019] The preset cutoff current, preset cutoff voltage, and preset cutoff temperature are determined based on the charging protocol type of the charger under test.

[0020] The first charging status data packet sequence is sent from the simulated power receiving end to the charger under test, and the output current value of the charger under test is collected. When the output current value of the charger under test returns to zero, the collection stops and the first output dataset is obtained. The actual cut-off current is calculated based on the current data of the first output dataset.

[0021] The second charging status data packet sequence is sent from the simulated power receiving end to the charger under test, and the output voltage value of the charger under test is collected. When the output voltage value of the charger under test returns to zero, the collection stops and the second output dataset is obtained. The actual cut-off voltage is calculated based on the current data of the second output dataset.

[0022] By simulating the power receiving end to send a third charging status data packet sequence to the charger under test, the output current value of the charger under test is collected. The collection stops when the output current value of the charger under test returns to zero, and the actual passive cutoff temperature is obtained.

[0023] The first mobile phone status data packet sequence includes simulated cutoff current model values, the second mobile phone status data packet sequence includes simulated cutoff voltage model values, and the third mobile phone status data packet sequence includes simulated passive cutoff temperature model values. Their calculation expressions are as follows:

[0024]

[0025]

[0026]

[0027] in, Represents the value of the analog current signal. Indicates the preset cutoff current. Indicates the buffer current range. Indicates the analog current growth rate. This indicates the analog current output time. Represents the analog voltage signal value. Indicates the preset cutoff voltage. Indicates the buffer voltage range. Indicates the analog voltage growth rate. Indicates the analog voltage output time. Represents the analog temperature signal value. Indicates the preset cutoff temperature. Indicates the buffer temperature range. Indicates the simulated temperature growth rate. This indicates the time it takes for the simulated temperature to be output.

[0028] As a preferred embodiment of the testing method for a battery charger described in this invention, the active over-temperature protection capability of the charger under test is tested by heating the charger using a constant temperature heating platform, monitoring the temperature of the charger under test using an infrared thermometer, recording the temperature value when the voltage returns to zero to obtain the actual active cut-off temperature, and judging it as unqualified if the actual active cut-off temperature is greater than the preset cut-off temperature.

[0029] As a preferred embodiment of the test method for a battery charger described in this invention, the following steps are performed: a charging test is conducted on the charger under test based on a first test path; a third charging status data packet sequence is sent to the charger under test by simulating the power receiving end; and the maximum power, the maximum power maintenance time, and the output current waveform deviation of the charger under test are calculated based on a second output dataset.

[0030] The third charging state data packet sequence includes the maximum current request and M simulated power node data;

[0031] The calculation logic for the maximum power and the maximum power duration is as follows: the charger under test outputs the actual maximum current by requesting the maximum current in the third charging state data packet sequence, the maximum power is calculated based on the actual maximum current and the corresponding voltage, and the maximum power duration is recorded.

[0032] As a preferred embodiment of the test method for a battery charger described in this invention, the output current waveform deviation is calculated by using a segment sampling method and a dynamic time warping algorithm. The processing logic of the segment sampling method is as follows: based on M simulated power node data in the third charging state data packet sequence, M current function segment images of the output current with respect to time are obtained by sampling for a fixed duration.

[0033] The deviation between each function segment and the corresponding reference waveform of the charging protocol is calculated using a dynamic time warping algorithm. The calculation logic for the current waveform deviation is as follows:

[0034] The current waveform segment and the corresponding reference waveform are vectorized. A deviation matrix is ​​established by calculating the normal distance between the vectors. Taking the initial corner element position of the deviation matrix as the starting point, the cumulative normal distance from the initial corner element to each element is recursively calculated. The cumulative normal distances of each path are sorted to obtain the minimum cumulative normal distance. The cumulative distance is normalized to obtain a similarity value. The current waveform deviation is calculated based on the similarity value. The calculation expression is as follows:

[0035]

[0036] in, Indicates the deviation of the current waveform. This represents the similarity value.

[0037] As a preferred embodiment of the testing method for a battery charger described in this invention, the following steps are performed: The performance of the charger under test is tested via a second test path; a fourth charging state data packet sequence is obtained based on the pre-charge energy node, constant current charging energy node, and constant voltage charging energy node in the non-smart charging protocol; the fourth charging state data packet sequence is sent to the charger under test via a simulated power receiving end; a third output dataset of the charger under test is collected; and the average value and standard deviation of the current during the constant current charging stage and the average value and standard deviation of the voltage during the constant voltage charging stage are calculated based on the third output dataset.

[0038] As a preferred embodiment of the testing method for a battery charger described in this invention, the electromagnetic interference capability of the charger is tested by sending a fifth charging state data packet sequence to the charger under test to make the charger output the maximum current value, measuring L times at a preset distance radius using an electromagnetic radiation analyzer, and performing extreme value removal and averaging on the L measured electromagnetic interference intensity values ​​to obtain the external electromagnetic interference intensity of the charger under test.

[0039] As a preferred embodiment of the testing method for battery chargers described in this invention, the charger is tested by establishing a charger test scoring model based on measured and calculated electrical safety performance data, electromagnetic interference intensity, and charging performance data.

[0040]

[0041]

[0042] Where i represents the charging protocol index, and FS represents the charger test score. This indicates the electrical safety performance test score. Indicates current waveform deviation. Indicates the current waveform deviation threshold. Indicates the weighting of the current waveform deviation. This indicates the standard deviation of the current during the constant current charging phase. This indicates the threshold value of the standard deviation of the current during the constant current charging phase. This represents the weight of the standard deviation of the current during the constant current charging phase. This indicates the standard deviation of the voltage during the constant voltage charging phase. This indicates the threshold value of the voltage standard deviation during the constant voltage charging phase. This represents the weight of the voltage standard deviation during the constant voltage charging phase. Indicates the intensity of external electromagnetic interference. Indicates the threshold of external electromagnetic interference intensity. This represents the weighting of external electromagnetic interference intensity. Indicates the actual interrupted current. Indicates the minimum breaking current. Indicates the preset cutoff current. Indicates the actual cutoff voltage. Indicates the minimum cutoff voltage. Indicates the preset cutoff voltage. Indicates the actual passive cutoff temperature. Indicates the actual active cutoff temperature. Indicates the minimum cutoff temperature. This indicates the preset cutoff temperature.

[0043] A testing system for a battery charger includes: a power supply module, a simulated power receiving terminal module, a charging data acquisition module, a data processing module, an over-protection capability detection module, an electromagnetic detection module, and an interactive terminal module;

[0044] The power module is used to provide a regulated power supply for the test system;

[0045] The simulated power receiving module is used to receive the first data packet sent by the charger under test, decode it to obtain the first charging handshake data, and complete the charging protocol matching.

[0046] Used to communicate with the charger under test, receive instructions sent by the interactive terminal module and encode them to obtain a charging status data packet sequence, and send the charging status data packet sequence to the charger under test;

[0047] Used to provide a load, build a current loop, and receive the current output from the charger under test;

[0048] The charging data acquisition module is used to measure the voltage and current values ​​output by the charger under test, obtain the output dataset, and send the output dataset to the data processing module.

[0049] The over-protection capability detection module is used to measure the actual cutting-off current, the first actual cutting-off temperature, and the second actual cutting-off temperature. It completes the protection capability judgment by setting the cutting-off current, the cutting-off voltage, and the cutting-off temperature, and sends the judgment result to the data processing module.

[0050] The electromagnetic detection module is used to measure the electromagnetic interference intensity at a preset distance when the charger under test has the maximum output power, and send the measured electromagnetic interference intensity to the data processing module.

[0051] The data processing module is used to process and analyze the received overprotection capability detection data, electromagnetic interference intensity data, and output dataset to calculate the charger test score.

[0052] The beneficial effects of this invention are as follows: A simulated power receiving terminal is used to establish a current path between the phone and the charger under test. The charging protocol is identified by receiving the charger's handshake data packets. The charger's output is controlled and detected by sending simulated charging signals to the charger, avoiding the need for a complete charging process using a phone, thus reducing testing time and power costs. Passive cutoff temperature is obtained by sending phone temperature data to the charger under test via the simulated power receiving terminal, and active cutoff temperature is obtained by detecting the charger's own power-off capability at high temperatures. This facilitates accurate detection of over-temperature protection, the most important aspect of electrical safety performance. Because the intelligent charging protocol adopts a complex charging architecture design, it can dynamically adjust the charging current and voltage based on the phone's battery level and temperature information. Therefore, the threshold discrimination method used for chargers with non-intelligent charging protocols cannot be directly used for detection. The dynamic time warping algorithm helps measure the similarity between current waveform segments with similar fluctuation ranges and their corresponding reference waveforms. The smaller the similarity, the more similar the two time series are, enabling effective indirect detection of the charging performance of chargers equipped with intelligent charging protocols. Attached Figure Description

[0053] Figure 1 This is a schematic diagram of the basic process of a testing method for a battery charger provided in one embodiment of the present invention;

[0054] Figure 2 A schematic diagram of the framework of a test system for a battery charger provided in one embodiment of the present invention;

[0055] Figure 3 This is a basic flowchart of the first detection path in a testing method for a battery charger provided in an embodiment of the present invention. Detailed Implementation

[0056] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0057] Example 1, referring to Figure 1 and Figure 3 As one embodiment of the present invention, a testing method for a battery charger is provided, comprising:

[0058] Step S1: Connect the charger to be tested to the simulated power receiving end, and perform charging protocol pairing on the charger to be tested based on the preset charging protocol library to complete the identification of the charging protocol type of the charger to be tested.

[0059] Step S2: Based on the charging protocol type identification result, perform electrical safety performance testing on the charger under test. The electrical safety performance testing includes overvoltage protection capability, overcurrent protection capability, and overtemperature protection capability.

[0060] Step S3, determine the test path based on the charging protocol type identification result, including:

[0061] If the identification result of the charging protocol type of the charger to be tested is smart charging protocol, then the first test path is determined;

[0062] If the identification result of the charging protocol type of the charger to be tested is a non-smart charging protocol, then the second test path is determined;

[0063] Step S4: Perform performance testing on the charger under test through the first test path. Send a third charging status data packet sequence to the charger under test through the simulated power receiving end. Calculate the maximum power, maximum power maintenance time, and output current waveform deviation of the charger under test based on the second output dataset.

[0064] The performance of the charger under test is tested through the second test path. The fourth charging state data packet sequence is obtained based on the power node in the non-smart charging protocol. The fourth charging state data packet sequence is sent to the charger under test by simulating the power receiving end. The third output dataset of the charger under test is collected to calculate the constant current charging stage characteristics and constant voltage charging stage characteristics.

[0065] Step S5: Test the electromagnetic interference capability of the charger by sending the fifth charging status data packet sequence to the charger under test, measuring the electromagnetic radiation at a preset distance radius using an electromagnetic radiation analyzer, and calculating the external electromagnetic interference intensity of the charger under test through extreme value removal and averaging.

[0066] Step S6: Calculate the score based on the obtained electrical safety performance data, electromagnetic interference intensity, and charging performance data, and complete the test of the charger based on the preset charger test score model.

[0067] In this embodiment, the charger to be tested is connected to a simulated power receiving end, and the charger to be tested is matched with the charging protocol based on the preset charging protocol library in the simulated power receiving end to determine the charging protocol type of the charger to be tested.

[0068] The charging protocol pairing logic is as follows: the first data packet sent by the charger under test is received by the simulated power receiving end and decoded once, the initial frame is detected, the second decoding is performed and the cyclic redundancy check is performed to obtain the first charging handshake data. Based on the first charging handshake data, the charging handshake data corresponding to each protocol in the preset charging protocol library is matched one by one. A successful match indicates that the charging protocol type of the charger under test is obtained.

[0069] In this embodiment, the overvoltage protection capability, overcurrent protection capability, and overtemperature protection capability of the charger under test are tested. The overtemperature protection capability includes active overtemperature protection capability and passive overtemperature protection capability.

[0070] The preset cutoff current, preset cutoff voltage, and preset cutoff temperature are determined based on the charging protocol type of the charger under test.

[0071] The first charging status data packet sequence is sent from the simulated power receiving end to the charger under test, and the output current value of the charger under test is collected. When the output current value of the charger under test returns to zero, the collection stops and the first output dataset is obtained. The actual cut-off current is calculated based on the current data of the first output dataset.

[0072] The second charging status data packet sequence is sent from the simulated power receiving end to the charger under test, and the output voltage value of the charger under test is collected. When the output voltage value of the charger under test returns to zero, the collection stops and the second output dataset is obtained. The actual cut-off voltage is calculated based on the current data of the second output dataset.

[0073] By simulating the power receiving end to send a third charging status data packet sequence to the charger under test, the output current value of the charger under test is collected. The collection stops when the output current value of the charger under test returns to zero, and the actual passive cutoff temperature is obtained.

[0074] The first mobile phone status data packet sequence includes simulated cutoff current model values, the second mobile phone status data packet sequence includes simulated cutoff voltage model values, and the third mobile phone status data packet sequence includes simulated passive cutoff temperature model values. Their calculation expressions are as follows:

[0075]

[0076]

[0077]

[0078] in, Represents the value of the analog current signal. Indicates the preset cutoff current. Indicates the buffer current range. Indicates the analog current growth rate. This indicates the analog current output time. Represents the analog voltage signal value. Indicates the preset cutoff voltage. Indicates the buffer voltage range. Indicates the analog voltage growth rate. Indicates the analog voltage output time. Represents the analog temperature signal value. Indicates the preset cutoff temperature. Indicates the buffer temperature range. Indicates the simulated temperature growth rate. This indicates the time it takes for the simulated temperature to be output.

[0079] In this embodiment, whether the charger cuts off its circuit when the over-protection function is activated is based on the current, voltage, and temperature values ​​received from the mobile phone. The actual cut-off current, actual cut-off voltage, and first actual cut-off temperature represent the simulated signals output by the simulated power receiving end when the charger cuts off its circuit. Furthermore, since there are deviations between the actual cut-off current and preset cut-off current, actual cut-off voltage and preset cut-off voltage, and actual cut-off temperature, a simulated power receiving end is used to communicate with the charger under test instead of the mobile phone, and to feed back simulated signals to the charger. This avoids using the mobile phone for a full charge, which is beneficial for accurately controlling the parameters received by the charger and reducing the time and power costs required for testing.

[0080] In this embodiment, the active over-temperature protection capability of the charger under test is tested. The charger is heated by a constant temperature heating platform, and the temperature of the charger under test is monitored by an infrared thermometer. The actual active cut-off temperature is obtained by recording the temperature value when the voltage returns to zero. If the actual active cut-off temperature is greater than the preset cut-off temperature, it is judged as unqualified.

[0081] In this embodiment, a charging test is performed on the charger under test based on the first test path. The third charging status data packet sequence is sent from the simulated power receiving end to the charger under test. The highest power, the highest power maintenance time and the output current waveform deviation of the charger under test are calculated based on the second output dataset.

[0082] The third charging state data packet sequence includes the maximum current request and M simulated power node data;

[0083] The calculation logic for the maximum power and the maximum power duration is as follows: the charger under test outputs the actual maximum current by requesting the maximum current in the third charging state data packet sequence, the maximum power is calculated based on the actual maximum current and the corresponding voltage, and the maximum power duration is recorded.

[0084] In this embodiment, the output current waveform deviation is calculated by the segment sampling method and the dynamic time warping algorithm. The processing logic of the segment sampling method is as follows: based on the M analog power node data in the third charging state data packet sequence, M current function segment images of the output current with respect to time are obtained by sampling for a fixed duration.

[0085] The deviation between each function segment and the corresponding reference waveform of the charging protocol is calculated using a dynamic time warping algorithm. The calculation logic for the current waveform deviation is as follows:

[0086] The current waveform segment and the corresponding reference waveform are vectorized. A deviation matrix is ​​established by calculating the normal distance between the vectors. Taking the initial corner element position of the deviation matrix as the starting point, the cumulative normal distance from the initial corner element to each element is recursively calculated. The cumulative normal distances of each path are sorted to obtain the minimum cumulative normal distance. The cumulative distance is normalized to obtain a similarity value. The current waveform deviation is calculated based on the similarity value. The calculation expression is as follows:

[0087]

[0088] in, Indicates the deviation of the current waveform. This represents the similarity value.

[0089] In this embodiment, the performance of the charger under test is tested through the second test path. The fourth charging state data packet sequence is obtained based on the pre-charge power node, constant current charging power node and constant voltage charging power node in the non-smart charging protocol. The fourth charging state data packet sequence is sent to the charger under test by the simulated power receiving end. The third output dataset of the charger under test is collected. The average value and standard deviation of the current in the constant current charging stage and the average value and standard deviation of the voltage in the constant voltage charging stage are calculated based on the third output dataset.

[0090] In this embodiment, the electromagnetic interference capability of the charger is tested. A fifth charging state data packet sequence is sent to the charger under test to make the charger output the maximum current value. The electromagnetic radiation is measured L times at a preset distance radius using an electromagnetic radiation analyzer. The L electromagnetic interference intensity values ​​obtained are then processed by removing extreme values ​​and averaging to obtain the external electromagnetic interference intensity of the charger under test.

[0091] In this embodiment, based on the electrical safety performance data, electromagnetic interference intensity, and charging performance data obtained through measurement and calculation, a charger test scoring model is established to calculate the score and complete the charger testing.

[0092]

[0093]

[0094] Where i represents the charging protocol index, and FS represents the charger test score. This indicates the electrical safety performance test score. Indicates current waveform deviation. Indicates the current waveform deviation threshold. Indicates the weighting of the current waveform deviation. This indicates the standard deviation of the current during the constant current charging phase. This indicates the threshold value of the standard deviation of the current during the constant current charging phase. This represents the weight of the standard deviation of the current during the constant current charging phase. This indicates the standard deviation of the voltage during the constant voltage charging phase. This indicates the threshold value of the voltage standard deviation during the constant voltage charging phase. This represents the weight of the voltage standard deviation during the constant voltage charging phase. Indicates the intensity of external electromagnetic interference. Indicates the threshold of external electromagnetic interference intensity. This represents the weighting of external electromagnetic interference intensity. Indicates the actual interrupted current. Indicates the minimum breaking current. Indicates the preset cutoff current. Indicates the actual cutoff voltage. Indicates the minimum cutoff voltage. Indicates the preset cutoff voltage. Indicates the actual passive cutoff temperature. Indicates the actual active cutoff temperature. Indicates the minimum cutoff temperature. This indicates the preset cutoff temperature.

[0095] Example 2, refer to Figure 2 In another embodiment of the present invention, a testing system for a battery charger is provided, comprising:

[0096] The system includes a power supply module, an analog power receiving module, a charging data acquisition module, a data processing module, an over-protection capability detection module, an electromagnetic detection module, and an interactive terminal module.

[0097] The power module is used to provide a regulated power supply for the test system;

[0098] The simulated power receiving module is used to receive the first data packet sent by the charger under test, decode it to obtain the first charging handshake data, and complete the charging protocol matching.

[0099] Used to communicate with the charger under test, receive instructions sent by the interactive terminal module and encode them to obtain a charging status data packet sequence, and send the charging status data packet sequence to the charger under test;

[0100] Used to provide a load, build a current loop, and receive the current output from the charger under test;

[0101] The charging data acquisition module is used to measure the voltage and current values ​​output by the charger under test, obtain the output dataset, and send the output dataset to the data processing module.

[0102] The over-protection capability detection module is used to measure the actual cutting-off current, the first actual cutting-off temperature, and the second actual cutting-off temperature. It completes the protection capability judgment by setting the cutting-off current, the cutting-off voltage, and the cutting-off temperature, and sends the judgment result to the data processing module.

[0103] The electromagnetic detection module is used to measure the electromagnetic interference intensity at a preset distance when the charger under test has the maximum output power, and send the measured electromagnetic interference intensity to the data processing module.

[0104] The data processing module is used to process and analyze the received overprotection capability detection data, electromagnetic interference intensity data, and output dataset to calculate the charger test score.

[0105] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0106] 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 it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A testing method for a battery charger, characterized in that, include: Step S1: Connect the charger to be tested to the simulated power receiving end, and perform charging protocol pairing on the charger to be tested based on the preset charging protocol library to complete the identification of the charging protocol type of the charger to be tested. Step S2: Based on the charging protocol type identification result, perform electrical safety performance testing on the charger under test. The electrical safety performance testing includes overvoltage protection capability, overcurrent protection capability, and overtemperature protection capability. Step S3, determine the test path based on the charging protocol type identification result, including: If the identification result of the charging protocol type of the charger to be tested is smart charging protocol, then the first test path is determined; If the identification result of the charging protocol type of the charger to be tested is a non-smart charging protocol, then the second test path is determined; Step S4: Perform performance testing on the charger under test through the first test path. Send a third charging status data packet sequence to the charger under test through the simulated power receiving end. Calculate the maximum power, maximum power maintenance time, and output current waveform deviation of the charger under test based on the second output dataset. The performance of the charger under test is tested through the second test path. The fourth charging state data packet sequence is obtained based on the power node in the non-smart charging protocol. The fourth charging state data packet sequence is sent to the charger under test by simulating the power receiving end. The third output dataset of the charger under test is collected to calculate the constant current charging stage characteristics and constant voltage charging stage characteristics. Step S5: Test the electromagnetic interference capability of the charger by sending the fifth charging status data packet sequence to the charger under test, measuring the electromagnetic radiation at a preset distance radius using an electromagnetic radiation analyzer, and calculating the external electromagnetic interference intensity of the charger under test through extreme value removal and averaging. Step S6: Calculate the score based on the obtained electrical safety performance data, electromagnetic interference intensity, and charging performance data, and complete the test of the charger based on the preset charger test score model.

2. The testing method for a battery charger as described in claim 1, characterized in that: Connect the charger to be tested to the simulated power receiving end, and perform charging protocol pairing on the charger to be tested based on the preset charging protocol library in the simulated power receiving end to determine the charging protocol type of the charger to be tested; The charging protocol pairing logic is as follows: the first data packet sent by the charger under test is received by the simulated power receiving end and decoded once, the initial frame is detected, the second decoding is performed and the cyclic redundancy check is performed to obtain the first charging handshake data. Based on the first charging handshake data, the charging handshake data corresponding to each protocol in the preset charging protocol library is matched one by one. A successful match indicates that the charging protocol type of the charger under test is obtained.

3. The testing method for a battery charger as described in claim 1, characterized in that: The overvoltage protection capability, overcurrent protection capability, and overtemperature protection capability of the charger under test are tested. The overtemperature protection capability includes active overtemperature protection capability and passive overtemperature protection capability. The preset cutoff current, preset cutoff voltage, and preset cutoff temperature are determined based on the charging protocol type of the charger under test. The first charging status data packet sequence is sent from the simulated power receiving end to the charger under test, and the output current value of the charger under test is collected. When the output current value of the charger under test returns to zero, the collection stops and the first output dataset is obtained. The actual cut-off current is calculated based on the current data of the first output dataset. The second charging status data packet sequence is sent from the simulated power receiving end to the charger under test, and the output voltage value of the charger under test is collected. When the output voltage value of the charger under test returns to zero, the collection stops and the second output dataset is obtained. The actual cut-off voltage is calculated based on the current data of the second output dataset. By simulating the power receiving end to send a third charging status data packet sequence to the charger under test, the output current value of the charger under test is collected. The collection stops when the output current value of the charger under test returns to zero, and the actual passive cutoff temperature is obtained. The first mobile phone status data packet sequence includes simulated cutoff current model values, the second mobile phone status data packet sequence includes simulated cutoff voltage model values, and the third mobile phone status data packet sequence includes simulated passive cutoff temperature model values. Their calculation expressions are as follows: in, Represents the value of the analog current signal. Indicates the preset cutoff current. Indicates the buffer current range. Indicates the analog current growth rate. This indicates the analog current output time. Represents the analog voltage signal value. Indicates the preset cutoff voltage. Indicates the buffer voltage range. Indicates the analog voltage growth rate. Indicates the analog voltage output time. Represents the analog temperature signal value. Indicates the preset cutoff temperature. Indicates the buffer temperature range. Indicates the simulated temperature growth rate. This indicates the time it takes for the simulated temperature to be output.

4. The testing method for a battery charger as described in claim 3, characterized in that: The active over-temperature protection capability of the charger under test is tested by heating the charger on a constant temperature heating platform and monitoring the temperature of the charger under test with an infrared thermometer. The temperature value when the voltage returns to zero is recorded to obtain the actual active cut-off temperature. If the actual active cut-off temperature is greater than the preset cut-off temperature, it is judged as unqualified.

5. A testing method for a battery charger as described in claim 1, characterized in that: Based on the first test path, a charging test is performed on the charger under test. The third charging status data packet sequence is sent from the simulated power receiving end to the charger under test. Based on the second output dataset, the maximum power, the maximum power maintenance time and the output current waveform deviation of the charger under test are calculated. The third charging state data packet sequence includes the maximum current request and M simulated power node data; The calculation logic for the maximum power and the maximum power duration is as follows: the charger under test outputs the actual maximum current by requesting the maximum current in the third charging state data packet sequence, the maximum power is calculated based on the actual maximum current and the corresponding voltage, and the maximum power duration is recorded.

6. A testing method for a battery charger as described in claim 5, characterized in that: The deviation of the output current waveform is calculated by the segment sampling method and the dynamic time warping algorithm. The processing logic of the segment sampling method is as follows: based on the M analog power node data in the third charging state data packet sequence, M current function segment images of the output current with respect to time are obtained by sampling for a fixed time. The deviation between each function segment and the corresponding reference waveform of the charging protocol is calculated using a dynamic time warping algorithm. The calculation logic for the current waveform deviation is as follows: The current waveform segment and the corresponding reference waveform are vectorized. A deviation matrix is ​​established by calculating the normal distance between the vectors. Taking the initial corner element position of the deviation matrix as the starting point, the cumulative normal distance from the initial corner element to each element is recursively calculated. The cumulative normal distances of each path are sorted to obtain the minimum cumulative normal distance. The cumulative distance is normalized to obtain a similarity value. The current waveform deviation is calculated based on the similarity value. The calculation expression is as follows: in, Indicates the deviation of the current waveform. This represents the similarity value.

7. A testing method for a battery charger as described in claim 1, characterized in that: The performance of the charger under test is tested through the second test path. The fourth charging state data packet sequence is obtained based on the pre-charge power node, constant current charging power node and constant voltage charging power node in the non-smart charging protocol. The fourth charging state data packet sequence is sent to the charger under test by the simulated power receiving end. The third output dataset of the charger under test is collected. The average value and standard deviation of the current in the constant current charging stage and the average value and standard deviation of the voltage in the constant voltage charging stage are calculated based on the third output dataset.

8. A testing method for a battery charger as described in claim 1, characterized in that: The electromagnetic interference capability of the charger is tested by sending a fifth charging state data packet sequence to the charger under test to make the charger output the maximum current value. The electromagnetic radiation is measured L times at a preset distance radius using an electromagnetic radiation analyzer. The L electromagnetic interference intensity values ​​obtained are then processed by removing extreme values ​​and averaging to obtain the external electromagnetic interference intensity of the charger under test.

9. A testing method for a battery charger as described in claim 1, characterized in that: Based on the measured and calculated electrical safety performance data, electromagnetic interference intensity, and charging performance data, a charger test scoring model is established to calculate the score and complete the charger's testing. Where i represents the charging protocol index, and FS represents the charger test score. This indicates the electrical safety performance test score. Indicates current waveform deviation. Indicates the current waveform deviation threshold. Indicates the weighting of the current waveform deviation. This indicates the standard deviation of the current during the constant current charging phase. This indicates the threshold value of the standard deviation of the current during the constant current charging phase. This represents the weight of the standard deviation of the current during the constant current charging phase. This indicates the standard deviation of the voltage during the constant voltage charging phase. This indicates the threshold value of the voltage standard deviation during the constant voltage charging phase. This represents the weight of the voltage standard deviation during the constant voltage charging phase. Indicates the intensity of external electromagnetic interference. Indicates the threshold of external electromagnetic interference intensity. This represents the weighting of external electromagnetic interference intensity. Indicates the actual interrupted current. Indicates the minimum breaking current. Indicates the preset cutoff current. Indicates the actual cutoff voltage. Indicates the minimum cutoff voltage. Indicates the preset cutoff voltage. Indicates the actual passive cutoff temperature. Indicates the actual active cutoff temperature. Indicates the minimum cutoff temperature. This indicates the preset cutoff temperature.

10. A testing system for a battery charger, comprising: The system includes a power supply module, an analog power receiving module, a charging data acquisition module, a data processing module, an over-protection capability detection module, an electromagnetic detection module, and an interactive terminal module. The power module is used to provide a regulated power supply for the test system; The simulated power receiving module is used to receive the first data packet sent by the charger under test, decode it to obtain the first charging handshake data, and complete the charging protocol matching. Used to communicate with the charger under test, receive instructions sent by the interactive terminal module and encode them to obtain a charging status data packet sequence, and send the charging status data packet sequence to the charger under test; Used to provide a load, build a current loop, and receive the current output from the charger under test; The charging data acquisition module is used to measure the voltage and current values ​​output by the charger under test, obtain the output dataset, and send the output dataset to the data processing module. The over-protection capability detection module is used to measure the actual cutting-off current, the first actual cutting-off temperature, and the second actual cutting-off temperature. It completes the protection capability judgment by setting the cutting-off current, the cutting-off voltage, and the cutting-off temperature, and sends the judgment result to the data processing module. The electromagnetic detection module is used to measure the electromagnetic interference intensity at a preset distance when the charger under test has the maximum output power, and send the measured electromagnetic interference intensity to the data processing module. The data processing module is used to process and analyze the received overprotection capability detection data, electromagnetic interference intensity data, and output dataset to calculate the charger test score.

Citation Information

Patent Citations

  • Charger test system and method

    CN116500485A

  • Auxiliary test equipment, test method, test system, storage medium and product

    CN115934570A

  • Test system of on -vehicle wireless charger

    CN206773106U