A charging and discharging test device
By designing an automatically switching charge and discharge test device, the safety risks and high costs associated with manual operation in Type-C port charge and discharge testing have been resolved, achieving automation and cost savings.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-07
- Publication Date
- 2026-06-23
AI Technical Summary
Current Type-C port charging and discharging tests require manual operation to connect and disconnect the power adapter and crystal resistor, which poses safety risks and high costs.
Design a charge/discharge testing device that includes an interface switching module and a data acquisition module. It automatically switches between the power adapter and load resistor interfaces to reduce manual operation and integrates the data acquisition module to replace a third-party power meter.
It eliminates the need for manual plugging and unplugging of power adapters and load resistors, reducing safety risks and costs, increasing automation, and saving space.
Smart Images

Figure CN224399564U_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of battery charge and discharge testing technology, and in particular to a charge and discharge testing device. Background Technology
[0002] Safety testing is essential during the development of laptops. The purpose is to reduce harm and loss to users under normal working conditions, faulty working conditions, and foreseeable misuse conditions. The main emphasis is on the safety protection of users. The main test items include adapter testing, battery charge and discharge testing, etc.
[0003] Currently, in Type-C port charging and discharging tests, charging is tested first, followed by discharging. During charging, the power adapter is connected to the Type-C port, and a power meter is connected by stripping the wires on the power adapter. When switching to discharging mode, a crystal resistor is inserted into the Type-C port to add a load. All of these actions currently require manual operation, which presents the following problems: 1. Connecting the power meter to the power adapter requires wire stripping, posing a certain safety risk; 2. The power meter itself is expensive, resulting in high costs, and its large size occupies laboratory space; 3. Manually plugging and unplugging the Type-C port is required to switch between the power adapter and the crystal resistor. Summary of the Invention
[0004] This disclosure provides a charge-discharge testing device to at least solve the above-mentioned technical problems existing in the prior art.
[0005] A first aspect of this disclosure provides a charge-discharge testing apparatus, the charge-discharge testing apparatus comprising:
[0006] The device has a first interface, a second interface, and a third interface. The first interface is connected to the power adapter, the second interface is connected to the load resistor, and the third interface is connected to the device under test.
[0007] An interface switching module is used to control the charging and discharging test equipment to switch between the first interface and the second interface. When the device under test is being charged, the charging and discharging test equipment is switched to the first interface; when the device under test is being discharged, the charging and discharging test equipment is switched to the second interface.
[0008] The data acquisition module is used to collect test data of the device under test during charging or discharging tests, and the test data is used to determine whether the device under test is normal.
[0009] In one possible implementation, it further includes: a control module connected to the interface switching module, used to send an interface switching command to the interface switching module;
[0010] The interface switching module is used to control the charge / discharge test equipment to switch between the first interface and the second interface according to the interface switching instruction.
[0011] In one embodiment, the control module is connected to the data acquisition module and is used to receive test data acquired by the data acquisition module and transmit the test data to an external device.
[0012] In one possible implementation, it further includes: a fourth interface, connected to the control module;
[0013] The control module is also used to transmit the received test data to an external device through the fourth interface, so that the external device can process and save the test data.
[0014] In one embodiment, it further includes: a clamp contact for connecting the device under test (DUT) and an external data acquisition device, wherein the external data acquisition device is used to acquire test data of the DUT during the testing process.
[0015] In one possible implementation, the system further includes a comparison module, configured to compare the test data acquired by the data acquisition module with the test data acquired by the external data acquisition device to obtain a comparison result, wherein the comparison result is used to determine the accuracy of the test data acquired by the data acquisition module.
[0016] In one possible implementation, it further includes a display module connected to the control module for displaying the test data.
[0017] In one embodiment, the data acquisition module includes an analog-to-digital converter (ADC) sampling chip and a first resistor. The first resistor is used to adjust the amplitude of the test data so that the amplitude of the test data is less than the input range of the input terminal of the ADC sampling chip. The ADC sampling chip is used to convert the test data from an analog signal to a digital signal so that an external device can process the test data according to the digital signal.
[0018] In one possible implementation, it further includes: a detection module, used to detect the power level of the device under test during the testing process; wherein,
[0019] During the discharge test, the discharge test ends when the detection module detects that the power of the device under test is less than or equal to the first preset power.
[0020] During the charging test, the charging test ends when the detection module detects that the power of the device under test is greater than or equal to the second preset power.
[0021] In one embodiment, the test data includes the current, voltage, and power of the device under test during the test.
[0022] The disclosed charge / discharge testing equipment features two interfaces: a first interface connected to a power adapter and a second interface connected to a load resistor. An interface switching module allows switching between the two interfaces. When charging is required, the device switches to the first interface; when discharging is required, it switches to the second interface. This eliminates the need to unplug the power adapter and plug in the load resistor after charging, effectively solving the problem of manual plugging and unplugging of the power adapter and load resistor during charging and discharging. Furthermore, this embodiment includes a data acquisition module for data collection. This eliminates the need to connect a third-party power meter to the power adapter, effectively resolving the issue of connecting a third-party power meter to the power adapter, reducing wire stripping, lowering safety risks, saving space occupied by the third-party power meter, and reducing costs.
[0023] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0024] The above and other objects, features, and advantages of this disclosure will become readily apparent from the following detailed description of exemplary embodiments, taken in conjunction with the accompanying drawings. Several embodiments of this disclosure are illustrated in the drawings by way of example and not limitation, in which:
[0025] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
[0026] Figure 1 This is a schematic diagram of the charge-discharge testing equipment provided in the embodiments of this disclosure;
[0027] Figure 2a A graph of sampled data from the data acquisition module;
[0028] Figure 2b A graph showing the sampled data from an external data acquisition device;
[0029] Figure 3 This is a flowchart illustrating the operation of a charge / discharge testing device. Detailed Implementation
[0030] To make the objectives, features, and advantages of this disclosure more apparent and understandable, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0031] This disclosure provides a charge-discharge testing device. Figure 1 This is a schematic diagram of the charge-discharge testing equipment provided in the embodiments of this disclosure, as shown below. Figure 1 As shown, the charge / discharge test equipment includes:
[0032] The device has a first interface 11, a second interface 12, and a third interface 13. The first interface 11 is connected to the power adapter, the second interface 12 is connected to the load resistor, and the third interface 13 is connected to the device under test.
[0033] The interface switching module 20 is used to control the charging and discharging test equipment to switch between the first interface 11 and the second interface 12. When the device under test is being charged, the charging and discharging test equipment is switched to the first interface 11; when the device under test is being discharged, the charging and discharging test equipment is switched to the second interface 12.
[0034] The data acquisition module 30 is used to collect test data of the device under test during charging or discharging tests. The test data is used to determine whether the device under test is functioning properly.
[0035] In one embodiment, a first interface 11, a second interface 12, and a third interface 13 can be provided on the development board. The first interface 11, the second interface 12, and the third interface 13 can be Type-C interfaces. Type-C is a new type of USB interface that features reversible insertion, fast transmission speed, and support for multiple functions (such as data transmission, video signal transmission, power supply, etc.).
[0036] The device under test is connected to the charge / discharge test equipment via the third interface 13, which allows the battery of the device under test to be charged and discharged.
[0037] The first interface 11 is connected to the power adapter, so that charging tests can be performed through the first interface 11 line. The second interface 12 is connected to the load resistor, so that discharging tests can be performed through the second interface 12 line.
[0038] In one specific embodiment, the load resistor can be a crystal resistor.
[0039] In some other embodiments, the device connected to the second interface 12 may be other than a load resistor, but a device capable of discharging.
[0040] The charge / discharge test equipment also includes a PDFW (Power Delivery Firmware) module, with the first interface 11 and the second interface 12 each connected to a PDFW module.
[0041] The PDFW module is a firmware program used to manage the power transfer function in the Type-C interface. The PDFW module is the core program for implementing the power transfer function of the Type-C interface, ensuring that the device can safely and efficiently transfer and manage power.
[0042] The first interface 11 and the second interface 12 can communicate with the PDFW module via an I2C (Inter-Integrated Circuit) bus or a USB bus. The I2C bus includes I2C SDA (Serial Data) signal lines and I2C SCL (Serial Clock) signal lines, while the USB bus includes USBPDP1 signal lines, USBPDN1 signal lines, and USBC0CC1 signal lines.
[0043] In one embodiment, the charge-discharge test equipment further includes: a control module 40, connected to the interface switching module 20, for sending an interface switching command to the interface switching module 20;
[0044] The interface switching module 20 is used to control the charge and discharge test equipment to switch between the first interface 11 and the second interface 12 according to the interface switching command.
[0045] The control module 40 can be a microcontroller unit (MCU).
[0046] The control module 40 communicates with the interface switching module 20 via the I2C communication protocol. The control module 40 sends interface switching commands to the interface switching module 20. For example, when performing a charging test on the device under test, the interface switching command is to switch to the first interface 11; when performing a discharging test on the device under test, the interface switching command is to switch to the second interface 12. The interface switching module 20 then performs the interface switching according to the commands. The control module 40 controls the switching between the first interface 11 and the second interface 12, ensuring that the testing process requires no manual intervention.
[0047] In one embodiment, the data acquisition module 30 includes an analog-to-digital converter (ADC) sampling chip and a first resistor. The first resistor is used to adjust the amplitude of the test data so that the amplitude of the test data is less than the input range of the input terminal of the ADC sampling chip. The ADC sampling chip is used to convert the test data from an analog signal to a digital signal so that an external device can process the test data according to the digital signal.
[0048] The test data includes the current, voltage, and power of the device under test during the test.
[0049] The first resistor can be a precision resistor, which can be used as a voltage divider or current limiter to help adjust the amplitude of the acquired current and voltage signals, making them suitable for the input range of the ADC (Analog to Digital Converter) sampling chip, thus preventing the signal from exceeding the input range and damaging the ADC sampling chip. The stability and accuracy of the precision resistor can ensure the accuracy of the acquired current, voltage, and power data, avoiding measurement deviations caused by resistor errors.
[0050] The ADC sampling chip is responsible for converting the input analog current and voltage signals into digital form so that external devices can process and analyze them. The accuracy and resolution of the ADC sampling chip determine the accuracy of the acquired data. A high-quality ADC sampling chip can ensure accurate acquisition of current, voltage, and power. Through the ADC sampling chip, the system can monitor changes in current, voltage, and power in real time and control and adjust them as needed.
[0051] In one embodiment, the control module 40 is connected to the data acquisition module 30 and is used to receive the test data acquired by the data acquisition module 30 and transmit the test data to an external device.
[0052] The control module 40 communicates with the data acquisition module 30 via the I2C communication protocol.
[0053] In one embodiment, the charge / discharge testing equipment further includes: a fourth interface 14, connected to the control module 40;
[0054] The control module 40 is also used to transmit the received test data to an external device through the fourth interface 14 so that the external device can process and save the test data.
[0055] The fourth interface 14 can be an RJ45 interface.
[0056] The control module 40 communicates with the fourth interface 14 via the TCP / IP communication protocol.
[0057] After receiving the test data, the control module 40 sends the test data to the external device through the fourth interface 14. The external device organizes the test data and generates a report for easy storage. At the same time, the external device can also analyze the test data to determine whether the device under test is normal.
[0058] In one embodiment, the charge / discharge testing device further includes a display module 60, connected to the control module 40, for displaying test data.
[0059] After receiving the test data, the control module 40 can also transmit the test data to the display module 60. The display module 60 can be a display screen to display the collected current, voltage, and power data in real time so that the test results can be viewed immediately.
[0060] In one embodiment, the charge / discharge test equipment further includes: a clamp contact 50 for connecting the device under test (DUT) and an external data acquisition device, wherein the external data acquisition device is used to acquire test data of the DUT during the test process.
[0061] The charge / discharge test equipment also includes: a comparison module ( Figure 1 (Not shown in the image) is used to compare the test data collected by the data acquisition module 30 with the test data collected by the external data acquisition device to obtain a comparison result. The comparison result is used to determine the accuracy of the test data collected by the data acquisition module.
[0062] Add a sampling contact point for an external data acquisition device to the development board to facilitate the connection of an external third-party power meter, so as to compare the data collected by the data acquisition module with the data collected by the external data acquisition device.
[0063] Figure 2a Sample data curves for the data acquisition module. Figure 2b A graph showing the data sampled by an external data acquisition device.
[0064] like Figure 2a and Figure 2b As shown, in the case of a test task, the data collected by the data acquisition module and the external data acquisition device are compared. From the test data, it can be seen that when using the charge and discharge test equipment in this embodiment of the present disclosure to collect data, the error is extremely small, which basically meets the test requirements and conforms to the design requirements.
[0065] In one embodiment, the charge / discharge testing equipment further includes: a detection module ( Figure 1 (Not shown in the image), used to detect the electrical charge of the device under test during the testing process; wherein,
[0066] During the discharge test, the discharge test ends when the detection module detects that the power of the device under test is less than or equal to the first preset power.
[0067] During the charging test, the charging test ends when the detection module detects that the battery level of the device under test is greater than or equal to the second preset battery level.
[0068] The first preset battery level can be 1%, and the second preset battery level can be 99%. That is, during the discharge test, when the battery level is less than or equal to 1%, the discharge test is considered complete; during the charging test, when the battery level is greater than or equal to 99%, the charging test is considered complete. It should be noted that the first and second preset battery levels can be adjusted according to actual needs.
[0069] Figure 3 This is a flowchart illustrating the operation of a charge / discharge testing device. The following section combines... Figure 3 The working process of the charge and discharge test equipment is described in detail.
[0070] like Figure 3 As shown, the entire process is divided into three parts: preparation, discharge test, and charge test. First, preparation is carried out by physically connecting the charge / discharge test equipment to the power adapter, load resistor, device under test, and other external devices that need to be connected. The device under test includes multiple batteries, and each battery needs to be tested. Next, the task is issued, which includes charging test and / or discharge test. Then, the Burnin (aging test) 10 software is installed, and the volume, brightness, and power mode are set. Then, the power distribution unit (PDU) is powered on. The PDU is like a switch; once the PDU is powered on, it is equivalent to the battery starting to charge.
[0071] Next, we proceed to the discharge test. First, we switch the charge / discharge test equipment to the second interface, i.e., connect the load resistor, thus initiating the discharge. Then, we switch the battery of the device under test to the first battery channel and perform the test on the first battery channel first. It's important to explain here that... Figure 3 The system only shows the discharge and charge tests for the first battery, but in reality, after the first battery test is completed, the second and third batteries can be tested, until all batteries are tested. After the first battery discharge test begins, the PDU needs to be powered off, i.e., the battery stops charging. During the test, the charge / discharge test equipment sends test data to the external device. Inside the device under test, Burnin is fully loaded, making the CPU run at 100%. The charge / discharge test equipment informs the external device of the first battery model so that the external device can match the test data with the battery model. The detection module detects the battery level. If the battery level is less than or equal to the first preset level, the discharge test ends. The external device organizes the test data and generates a report for easy saving. Finally, the PDU is powered on to perform the charge test.
[0072] In the charging test phase, the charging and discharging test equipment is first switched to the first interface, i.e., the power adapter is connected, so as to start charging the first battery. During the charging test of the first battery, the charging and discharging test equipment sends test data to the external device. Inside the device under test, Burnin is fully loaded, making the CPU run at 100%. The detection module detects the battery level. If the battery level is greater than or equal to the second preset level, the charging test ends. The external device organizes the test data and generates a report for easy storage.
[0073] The disclosed charge / discharge testing equipment features two interfaces: a first interface connected to a power adapter and a second interface connected to a load resistor. An interface switching module allows switching between the two interfaces. When charging is required, the device switches to the first interface; when discharging is required, it switches to the second interface. This eliminates the need to unplug the power adapter and plug in the load resistor after charging, effectively solving the problem of manual plugging and unplugging of the power adapter and load resistor during charging and discharging. Furthermore, this embodiment includes a data acquisition module for data collection. This eliminates the need to connect a third-party power meter to the power adapter, effectively resolving the issue of connecting a third-party power meter to the power adapter, reducing wire stripping, lowering safety risks, saving space occupied by the third-party power meter, and reducing costs.
[0074] When conducting safety tests on laptops, the charging and discharging testing equipment disclosed herein increases the automation rate to 100% and significantly reduces labor costs.
[0075] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0076] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means two or more, unless otherwise explicitly specified.
[0077] The above description is merely a specific embodiment of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.
Claims
1. A charge / discharge testing device, characterized in that, The charge / discharge testing equipment includes: The device has a first interface, a second interface, and a third interface. The first interface is connected to the power adapter, the second interface is connected to the load resistor, and the third interface is connected to the device under test. An interface switching module is used to control the charging and discharging test equipment to switch between the first interface and the second interface. When the device under test is being charged, the charging and discharging test equipment is switched to the first interface; when the device under test is being discharged, the charging and discharging test equipment is switched to the second interface. The data acquisition module is used to collect test data of the device under test during charging or discharging tests, and the test data is used to determine whether the device under test is normal.
2. The charge / discharge testing equipment according to claim 1, characterized in that, Also includes: A control module, connected to the interface switching module, is used to send interface switching commands to the interface switching module; The interface switching module is used to control the charge / discharge test equipment to switch between the first interface and the second interface according to the interface switching instruction.
3. The charge / discharge testing equipment according to claim 2, characterized in that, The control module is connected to the data acquisition module and is used to receive the test data acquired by the data acquisition module and transmit the test data to an external device.
4. The charge / discharge testing equipment according to claim 3, characterized in that, Also includes: The fourth interface is connected to the control module; The control module is also used to transmit the received test data to an external device through the fourth interface, so that the external device can process and save the test data.
5. The charge / discharge testing equipment according to claim 1, characterized in that, Also includes: The clamp contacts are used to connect the device under test (DUT) to an external data acquisition device, which is used to acquire test data of the DUT during the testing process.
6. The charge / discharge testing equipment according to claim 5, characterized in that, Also includes: The comparison module is used to compare the test data collected by the data acquisition module with the test data collected by the external data acquisition device to obtain a comparison result, which is used to determine the accuracy of the test data collected by the data acquisition module.
7. The charge / discharge testing equipment according to claim 2, characterized in that, Also includes: The display module, connected to the control module, is used to display the test data.
8. The charge / discharge testing equipment according to claim 3, characterized in that, The data acquisition module includes an analog-to-digital converter (ADC) sampling chip and a first resistor. The first resistor is used to adjust the amplitude of the test data so that the amplitude of the test data is less than the input range of the input terminal of the ADC sampling chip. The ADC sampling chip is used to convert the test data from an analog signal to a digital signal so that external devices can process the test data according to the digital signal.
9. The charge / discharge testing equipment according to claim 1, characterized in that, Also includes: The detection module is used to detect the power level of the device under test during the testing process; wherein, During the discharge test, the discharge test ends when the detection module detects that the power of the device under test is less than or equal to the first preset power. During the charging test, the charging test ends when the detection module detects that the battery level of the device under test is greater than or equal to the second preset battery level.
10. The charge / discharge testing equipment according to claim 1, characterized in that, The test data includes the current, voltage, and power of the device under test during the test.