Charging test method and test system
Through the integrated charging test system, it supports switching of multiple charging modes, solving the problems of high testing costs and inability to comprehensively test in the existing technology, and achieving efficient and reliable charging tests.
Patent Information
- Application Number
- CN202210760276.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2042-06-30
AI Technical Summary
The existing charging test solution requires multiple independent charging devices, which leads to high testing costs and cumbersome operation, and the inability to comprehensively test the charging reliability in abnormal charging mode.
It adopts a charging test system, including a main control module, a charger module and a power supply module, which can switch to multiple working states, support standard and abnormal charging modes, integrate current acquisition and display modules, and realize multi-mode charging test of the terminal under test.
It reduces testing costs, simplifies operations, improves testing efficiency, and can detect potential problems of the terminal in abnormal charging mode in advance, improves charging reliability, and avoids adverse effects when the product flows into the user side.
Smart Images

Figure CN115032919B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of terminal technology, and in particular to a charging test method and a test system. Background Art
[0002] In existing charging test processes, a standard charger, USB charging, or HUB charging method is usually used to perform charging tests on the device under test. This charging test solution has the following drawbacks:
[0003] On the one hand, testers need to find multiple charging devices that support various different protocols to perform charging tests on the devices under test separately. Multiple charging devices are independent of each other, which not only increases the testing cost, but also makes the operation more cumbersome and the testing efficiency low.
[0004] On the other hand, ordinary chargers, USB charging methods or HUB charging methods all use normal charging modes that comply with standard charging protocols. They can only perform routine tests on the terminal under test, but cannot test the charging reliability of the device under test in abnormal charging modes that do not comply with standard charging protocols. As a result, the test results of the terminal under test are not comprehensive, and it is impossible to provide users with more comprehensive instructions for use. Summary of the Invention
[0005] The purpose of the present invention is to provide a charging test method and a test system to overcome the above problems existing in the prior art.
[0006] To achieve this object, the present invention adopts the following technical solutions:
[0007] A charging test system includes: a main control module, a charger module and a power supply module;
[0008] The power supply module is electrically connected to the charger module and is used to provide power;
[0009] The main control module is electrically connected to the charger module and is configured to determine a current target charging mode from a plurality of preset charging modes and send a corresponding switching control instruction to the charger module; wherein the plurality of charging modes include at least one normal charging mode that complies with a standard charging protocol and at least one abnormal charging mode that does not comply with the standard charging protocol;
[0010] The charger module is electrically connected to the terminal under test and has multiple working states. It is used to switch to the target working state according to the switching control instruction, so that the power module performs a charging test on the terminal under test according to the target charging mode.
[0011] Optionally, the charger module is electrically connected to the terminal under test via a USB interface, and the USB interface includes a power pin, a ground pin, a positive data pin, a negative data pin, and an identification pin;
[0012] The charger module is specifically configured to regulate and control the states of the positive data pin, the negative data pin, and the identification pin according to the switching control instruction, so as to achieve switching to a target working state.
[0013] Optionally, the main control module is further configured to set test priorities for various abnormal charging modes, and determine a current target charging mode according to the test priorities when charging tests are performed on the terminal under test in sequence according to different abnormal charging modes.
[0014] Optionally, it also includes: a current acquisition module and a display module;
[0015] The current acquisition module is used to collect the current actual charging current of the device under test in real time during each charging test;
[0016] The display module is used to display the charging test results;
[0017] The charger module is further configured to determine a charging test result of the device under test in the current abnormal charging mode according to the current actual charging current, record the charging test result, and display it through the display module.
[0018] Optionally, the main control module is further used to obtain historical charging test results, count the cumulative number of times the tested terminal was damaged by various abnormal charging modes during the historical test process according to the historical charging test results, and dynamically refresh the test priority accordingly.
[0019] A charging test method implemented using the above-mentioned charging test system includes:
[0020] Determine the current target charging mode from a plurality of preset charging modes and send a corresponding switching control instruction to the charger module;
[0021] The charger module switches to the target working state according to the switching control instruction, so that the power supply module performs a charging test on the terminal under test according to the target charging mode.
[0022] Optionally, the charging test method further includes:
[0023] Set test priorities for various abnormal charging modes in advance;
[0024] When charging tests are performed on the terminal under test in sequence according to different abnormal charging modes, the current target charging mode is determined according to the test priority.
[0025] Optionally, the charging test method further includes:
[0026] During each charging test, the actual charging current of the device under test is collected in real time;
[0027] According to the current actual charging current, the charging test result of the device under test in the current abnormal charging mode is judged, and the charging test result is recorded and displayed.
[0028] Optionally, the charging test method further includes:
[0029] When the charging test result of the device under test in the current abnormal charging mode is determined to be charging failure, a re-judgment operation is performed;
[0030] If the re-test result is still charging failure, the current device under test is deemed to be damaged, and the device under test is replaced and the charging test is performed on the replaced device under the next target charging mode;
[0031] If the re-judgment result is that charging is successful, it is determined that the current device under test is actually not damaged, and the charging test of the current device under test continues according to the next target charging mode.
[0032] Optionally, the charging test method further includes:
[0033] Obtain historical charging test results, count the cumulative number of times the tested terminal was damaged by various abnormal charging modes during the historical test process according to the historical charging test results, and dynamically refresh the test priority accordingly.
[0034] Compared with the prior art, the present invention has the following beneficial effects:
[0035] 1) The charger module in the embodiment of the present invention has multiple operating states that can be switched between each other. In different operating states, the power supply module can be controlled to perform charging tests on the device under test according to different charging modes. Compared with the traditional method of using multiple charging devices that provide different charging modes to perform charging tests separately, the embodiment of the present invention can effectively reduce the number of charging devices and reduce testing costs, while also simplifying test operations and improving test efficiency.
[0036] 2) The charging mode provided by the charger module in the embodiment of the present invention is not limited to the normal charging mode that complies with the standard charging protocol, but covers the abnormal charging mode that does not comply with the standard charging protocol. In this way, unconventional charging tests can be performed on the device under test to obtain the charging reliability of the device under test in the unconventional charging mode, so as to be able to discover problems with terminal charging in advance and obtain charging methods that are likely to damage the terminal during the terminal charging process, so as to further improve the reliability of terminal charging and prevent adverse effects and accidents caused by charging when the product flows into the user end. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0038] The structures, proportions, sizes, etc. depicted in the drawings of this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not intended to limit the conditions under which the present invention can be implemented and therefore have no substantive technical significance. Any structural modifications, changes in proportional relationships, or adjustments in size should still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and objectives that can be achieved by the present invention.
[0039] Figure 1 This is a schematic diagram of the charging test system provided by an embodiment of the present invention.
[0040] Figure 2 This is a circuit diagram of the pin state switching of the USB interface of the charger module provided by an embodiment of the present invention.
[0041] Figure 3 This is a circuit diagram of the connection between the charger module and the device under test provided by an embodiment of the present invention.
[0042] Figure 4 This is a flow chart of a charging test method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, features, and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0044] In the description of the present invention, it should be understood that the terms "upper," "lower," "top," "bottom," "inner," "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate the description of the present invention and simplify the description. They are not intended to indicate or imply that the devices or elements referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limitations on the present invention. It should be noted that when a component is considered to be "connected" to another component, it may be directly connected to the other component or there may be a centrally located component.
[0045] The technical solution of the present invention will be further described below with reference to the accompanying drawings and through specific implementation methods.
[0046] See also Figure 1 , an embodiment of the present invention provides a charging test system, comprising: a main control module, a charger module and a power supply module;
[0047] The power supply module is electrically connected to the charger module and is used to provide power;
[0048] The main control module is electrically connected to the charger module and is configured to determine a current target charging mode from a plurality of preset charging modes and send a corresponding switching control instruction to the charger module; wherein the plurality of charging modes include at least one normal charging mode that complies with a standard charging protocol and at least one abnormal charging mode that does not comply with the standard charging protocol;
[0049] The charger module is electrically connected to the terminal under test and has multiple working states. It is used to switch to the target working state according to the switching control instruction, so that the power module performs a charging test on the terminal under test according to the target charging mode.
[0050] On the one hand, the charger module in the embodiment of the present invention integrates multiple working states that can be flexibly switched with each other. In different working states, the power supply module can be controlled to perform charging tests on the device under test according to different charging modes. Compared with the traditional method of using multiple charging devices that provide different charging modes to perform charging tests separately, the embodiment of the present invention can not only effectively reduce the number of charging devices and reduce testing costs, but also simplify test operations and improve test efficiency.
[0051] On the other hand, the charging mode provided by the charger module in the embodiment of the present invention is not limited to the normal charging mode that complies with the standard charging protocol, but covers the abnormal charging mode that does not comply with the standard charging protocol. In this way, unconventional charging tests can be performed on the device under test to obtain the charging reliability of the device under test in the unconventional charging mode, so as to be able to discover problems with terminal charging early and obtain charging methods that are likely to damage the terminal during the terminal charging process, so as to further improve the reliability of terminal charging and prevent adverse effects and accidents caused by charging when the product flows into the user end.
[0052] Furthermore, the charger module is electrically connected to the terminal under test through a USB interface, which includes a power pin (VBUS), a ground pin (GND), a positive data pin (D+), a negative data pin (D-) and an identification pin (ID).
[0053] The charger module is specifically used to adjust and control the states of the positive data pin, the negative data pin and the identification pin according to the switching control instruction to achieve switching to the target working state.
[0054] For example, as shown in the table below, the USB interface of the charger module in this example has 12 combination states, representing 12 operating states of the charger module to implement 12 charging modes. The first combination state corresponds to the conventional USB charging mode; the second combination state corresponds to the conventional charger charging mode; the third and fourth combination states correspond to the conventional hub charging mode; and the fifth through twelfth combination states correspond to various abnormal charging modes that do not comply with standard charging protocols.
[0055] Serial number 1 2 3 4 5 6 7 8 9 10 11 12 VBUS V V V V V V V V V G V V D- F R3 R1 F F F H H F F F F D+ F R3 R2 F F F F H H F F F GND G G G G G G G G G G G G ID F F F RID_A H F F F F F RID_B RID_C
[0056] Where, V=5V, F=floating, G=Ground, H=3V, RID_A=124KΩ, RID_B=68KΩ, RID_C=36.5KΩ, R1=R2=15KΩ, R3=100Ω.
[0057] For these 12 combination states, you can use Figure 2 The switching control circuit shown uses a multi-channel controller to achieve automatic switching control.
[0058] In an optional embodiment, the main control module is further configured to set test priorities for various abnormal charging modes, and to determine a current target charging mode according to the test priorities when charging the terminal under test in sequence according to different abnormal charging modes.
[0059] By configuring test priority information, in actual applications, you can control the device under test to perform charging tests in various abnormal charging modes in sequence based on test requirements or test focus. This can improve terminal testing efficiency and facilitate subsequent targeted improvements to the terminal based on abnormal charging modes.
[0060] The charging test system further includes: a current acquisition module and a display module; the current acquisition module is used to collect the current actual charging current of the device under test in real time during each charging test; the display module is used to display the charging test results;
[0061] Based on this, the charger module is also used to determine the charging test result of the device under test in the current abnormal charging mode according to the current actual charging current, record the charging test result and display it through the display module.
[0062] For example, Figure 3As shown, the current actual charging current of the device under test can be acquired by using an operational amplifier chip to acquire the voltage drop across resistor R8 on the GND line. The main control module calculates the current on the line according to Ohm's law I = U / R. Here, R8 = 5mΩ.
[0063] It should be noted that in the embodiment of the present invention, the charging test results specifically include charging success / failure. Among them, charging failure may reflect that the terminal under test is damaged due to charging and cannot be successfully charged. In actual application, the current actual charging current collected can be compared with a preset charging current threshold (such as an empirical value of 50mA) to determine whether the device under test is successfully charged under the current target charging mode.
[0064] The main control module also obtains historical charging test results and calculates the cumulative number of times abnormal charging modes have damaged the terminal under test during the test. Based on these historical test results, the module dynamically updates the test priority for each abnormal charging mode. This dynamic update function ensures that the entire charging test process traverses various charging modes in a more reasonable and efficient order.
[0065] See also Figure 4 , applying the above charging test system, an embodiment of the present invention further provides a charging test method, comprising:
[0066] Step 101: Determine a current target charging mode from a plurality of preset charging modes, and send a corresponding switching control instruction to a charger module.
[0067] Step 102: The charger module switches to the target working state according to the switching control instruction, so that the power module performs a charging test on the terminal under test according to the target charging mode.
[0068] According to the above basic process, the terminal under test can be controlled to perform charging tests in various charging modes in sequence according to the preset test priority.
[0069] During each charging test, the current actual charging current of the device under test is collected in real time; based on the current actual charging current, the charging test result of the device under test in the current abnormal charging mode is determined, and the charging test result is recorded and displayed.
[0070] In addition, the charging test method of the embodiment of the present invention further includes:
[0071] When the charging test result of the device under test in the current abnormal charging mode is determined to be charging failure, a re-judgment operation is performed;
[0072] If the re-test result is still charging failure, the current device under test is deemed to be damaged, and the device under test is replaced and the charging test is performed on the replaced device under the next target charging mode;
[0073] If the re-judgment result is that charging is successful, it is determined that the current device under test is actually not damaged, and the charging test of the current device under test continues according to the next target charging mode.
[0074] Exemplarily, the re-judgment operation method may be: performing a charging test on the device under test in a normal charging mode, and collecting the current actual charging current of the device under test, thereby determining whether the charging of the device under test is successful or unsuccessful.
[0075] In summary, the charger module in the embodiment of the present invention can simulate various abnormal charging conditions that users encounter during actual use, and traverse these conditions to perform charging tests to determine the charging reliability of the device under test in abnormal charging modes. Based on this, it is possible to detect problems with terminal charging early and identify charging methods that are likely to damage the terminal during the charging process, thereby further improving the reliability of terminal charging and eliminating adverse effects and accidents caused by charging when the product flows to the user end.
[0076] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A charging test system, characterized in that: include: Main control module, charger module and power module; The power supply module is electrically connected to the charger module and is used to provide power; The main control module is electrically connected to the charger module and is configured to determine a current target charging mode from a plurality of preset charging modes and send a corresponding switching control instruction to the charger module; wherein the plurality of charging modes include at least one normal charging mode that complies with a standard charging protocol and at least one abnormal charging mode that does not comply with the standard charging protocol; The charger module is electrically connected to the terminal under test and has multiple working states, and is used to switch to a target working state according to the switching control instruction, so that the power module performs a charging test on the terminal under test according to the target charging mode; The main control module is also used for: Set test priorities for various abnormal charging modes. When charging the terminal under test in sequence according to different abnormal charging modes, determine the current target charging mode according to the test priority. Obtain historical charging test results, count the cumulative number of times the tested terminal was damaged by various abnormal charging modes during the historical test process according to the historical charging test results, and dynamically refresh the test priority accordingly.
2. The charging test system according to claim 1, characterized in that: The charger module is electrically connected to the terminal under test via a USB interface, wherein the USB interface includes a power pin, a ground pin, a positive data pin, a negative data pin, and an identification pin; The charger module is specifically configured to regulate and control the states of the positive data pin, the negative data pin, and the identification pin according to the switching control instruction, so as to achieve switching to a target working state.
3. The charging test system according to claim 1, characterized in that: Also includes: Current acquisition module and display module; The current acquisition module is used to collect the current actual charging current of the device under test in real time during each charging test; The display module is used to display the charging test results; The charger module is further configured to determine a charging test result of the device under test in the current abnormal charging mode according to the current actual charging current, record the charging test result, and display it through the display module.
4. A charging test method implemented by the charging test system according to claim 1, characterized in that: include: Determine the current target charging mode from a plurality of preset charging modes and send a corresponding switching control instruction to the charger module; The charger module switches to the target working state according to the switching control instruction, so that the power module performs a charging test on the terminal under test according to the target charging mode; The charging test method further includes: Set test priorities for various abnormal charging modes in advance; When charging the terminal under test in sequence according to different abnormal charging modes, the current target charging mode is determined according to the test priority; Obtain historical charging test results, count the cumulative number of times the tested terminal was damaged by various abnormal charging modes during the historical test process according to the historical charging test results, and dynamically refresh the test priority accordingly.
5. The charging test method according to claim 4, characterized in that: The charging test method further includes: During each charging test, the actual charging current of the device under test is collected in real time; According to the current actual charging current, the charging test result of the device under test in the current abnormal charging mode is judged, and the charging test result is recorded and displayed.
6. The charging test method according to claim 5, characterized in that: The charging test method further includes: When the charging test result of the device under test in the current abnormal charging mode is determined to be charging failure, a re-judgment operation is performed; If the re-test result is still charging failure, the current device under test is deemed to be damaged, and the device under test is replaced and the charging test is performed on the replaced device under the next target charging mode; If the re-judgment result is that charging is successful, it is determined that the current device under test is actually not damaged, and the charging test of the current device under test continues according to the next target charging mode.
Citation Information
Patent Citations
Charging test system and method
CN114222018A