Search

CN-121995126-A - Testing device and testing method

CN121995126ACN 121995126 ACN121995126 ACN 121995126ACN-121995126-A

Abstract

The invention relates to the technical field of charging, and discloses a testing device and a testing method. The test device may include a power port module, a charging port module, a control module, and a switch module. The switch module is respectively connected with the power supply port module, the charging port module and the control module. And, the power supply port module may include ports for connecting the cable and the power supply device, the charging port module may include ports for connecting the cable and the charging device, and the switching module may include a switching unit. When the charging compatibility test is performed, the control module controls the switching-off or switching-on of the switching unit in the switching module, so that the test path is switched off or switched on, and the charging compatibility test is completed. The whole charging compatibility test process is simpler and more automatic, and the charging compatibility test effect is better.

Inventors

  • GAO WEIQIANG
  • JI HUANXIA
  • YANG GANG
  • CHEN YING
  • CAO LEI

Assignees

  • 荣耀终端股份有限公司

Dates

Publication Date
20260508
Application Date
20241101

Claims (20)

  1. 1. A test apparatus, the test apparatus comprising: the device comprises a power supply port module, a charging port module, a control module and a switch module; wherein the control module is connected with the switch module and is used for controlling the on/off of each switch in the switch module, and The power supply port module comprises a first power supply port, the charging port module comprises a first charging port, the switch module comprises a first switch unit, wherein the first power supply port, the first switch unit and the first charging port are sequentially connected, and The first power supply port is used for being connected with a first cable, wherein the first cable is used for connecting the first power supply port and a power supply port of first power supply equipment; The first charging port is used for being connected with a second cable, wherein the second cable is used for being connected with the first charging port and a charging port of the first charging device.
  2. 2. The test device of claim 1, wherein the first switching unit comprises a first set of switches, and Forming a path between the first power supply port, the first switch set, and the first charging port with each switch in the first switch set in a closed state, and And when each switch in the first switch set is in an off state, an open circuit is formed among the first power supply port, the first switch set and the first charging port.
  3. 3. The test device of claim 1, wherein the test device comprises a plurality of test elements, The first end of the first power supply port is connected with the second interface of the first cable, and the second end of the first power supply port is connected with the first end of the first switch set; The first end of the first charging port is connected with the second end of the first switch set, and the second end of the first charging port is connected with the first interface of the second cable; And a third end of the first switch set is connected with the control module.
  4. 4. The test device according to claim 1, wherein the first cable and/or the second cable is a cable to be tested and comprises at least one of the following: the first cable and the second cable are cables to be tested; The first cable is a straight-through cable, and the second cable is a cable to be tested; the first cable is a cable to be tested, and the second cable is a straight-through cable.
  5. 5. The test device of claim 4, further comprising the first cable and the second cable, and The first interface of the first cable is used for connecting with a power supply port of the power supply equipment; The second interface of the second cable is used for connecting with a charging port of the charging device.
  6. 6. The test device of claim 1, wherein the first and second cables are not cables to be tested and the first and second cables are pass-through cables, and Each switch set included in each switch unit in the switch module includes a VBUS switch.
  7. 7. The test device of claim 6, further comprising a third cable, the third cable being a cable to be tested, and The first switch unit includes a first switch set, a second switch set, and a third switch set, and The switch module also comprises a second switch unit, wherein the second switch unit comprises a fourth switch set and a fifth switch set, and the switch module comprises a first switch unit, a second switch unit and a third switch unit, wherein The first ends of the switches in the first switch set are respectively connected with the second ends of the switches in the second switch set and the first ends of the switches in the fourth switch set, the second ends of the switches in the first switch set are respectively connected with the first ends of the switches in the third switch set and the second ends of the switches in the fifth switch set, and the third ends of the switches in the first switch set are connected with the control module; the first end of each switch in the second switch set is connected with the first power supply port, the second end of each switch in the second switch set is also connected with the first end of each switch in the fourth switch set, and the third end of each switch in the second switch set is connected with the control module; The first end of each switch in the third switch set is also connected with the second end of each switch in the fifth switch set, the second end of each switch in the third switch set is connected with the first charging port, and the third end of each switch in the third switch set is connected with the control module; the second end of each switch in the fourth switch set is connected with the first interface of the third cable, and the third end of each switch in the fourth switch set is connected with the control module; and the first end of each switch in the fifth switch set is connected with the second interface of the third cable, and the third end of each switch in the fifth switch set is connected with the control module.
  8. 8. The test device of claim 7, wherein the test device comprises a plurality of test elements, In the case where the VBUS switch in the first switch set, the switches in the second switch set, the switches in the third switch set, the switches in the fourth switch set, and the switches in the fifth switch set are all in a closed state, the first power supply port, the second switch set, the fourth switch set, the third cable, the fifth switch set, the third switch set, and the first charging port form a path therebetween, and A passage is formed among VBUS in the first power supply port, VBUS in the second switch set, VBUS in the first switch set, VBUS in the third switch set and VBUS in the first charging port; At least one of each switch in the first switch set, each switch in the second switch set and each switch in the third switch set is in an off state, and an open circuit is formed among the first power supply port, the second switch set, the first switch set, the third switch set and the first charging port; and corresponding to at least one of each switch in the second switch set, each switch in the fourth switch set, each switch in the fifth switch set and each switch in the third switch set being in an off state, an open circuit is formed among the first power supply port, the second switch set, the fourth switch set, the third cable, the fifth switch set, the third switch set and the first charging port.
  9. 9. The test device of claim 8, further comprising a second power supply port and a second charge port, the first switching unit further comprising a sixth set of switches and a seventh set of switches; And The second power supply port is used for being connected with a fourth cable, wherein the fourth cable is used for connecting the second power supply port and a power supply port of a second power supply device; The second charging port is used for being connected with a fifth cable, wherein the fifth cable is used for connecting the second charging port and a charging port of a second charging device; The first end of each switch in the first switch set, the second end of each switch in the second switch set and the first end of each switch in the fourth switch set are respectively connected with the second power supply port, and the third end of each switch in the sixth switch set is connected with the control module; The second ends of the switches in the seventh switch set are respectively connected with the second end of the switches in the first switch set, the first end of the switches in the third switch set and the second end of the switches in the fifth switch set, and the third end of the switches in the seventh switch set is connected with the control module.
  10. 10. The test device of claim 9, wherein the test device comprises a plurality of test elements, Corresponding to each switch in the first switch set, each switch in the sixth switch set, each switch in the seventh switch set, each switch in the fourth switch set, and each switch in the fifth switch set being in a closed state, a path is formed between the second power supply port, the sixth switch set, the fourth switch set, the third cable, the fifth switch set, the seventh switch set, and the second charging port, and a path is formed between VBUS in the second power supply port, VBUS in the sixth switch set, VBUS in the first switch set, VBUS in the seventh switch set, VBUS in the second charging port; At least one of each switch in the first switch set, each switch in the sixth switch set and each switch in the seventh switch set is in an off state, and an open circuit is formed among the second power supply port, the sixth switch set, the first switch set, the seventh switch set and the second charging port; And an open circuit is formed among the second power supply port, the sixth switch set, the fourth switch set, the third cable, the fifth switch set, the seventh switch set and the second charging port corresponding to at least one of the switches in the sixth switch set, the fourth switch set, the fifth switch set and the seventh switch set being in an open state.
  11. 11. The test device of claim 9, further comprising a sixth cable, the sixth cable being a cable to be tested, and The second switching unit further includes eighth and ninth switch sets, and The first end of each switch in the eighth switch set is connected with the first end of each switch in the fourth switch set, the second end of each switch in the eighth switch set is connected with the first interface of the sixth cable, and the third end of each switch in the eighth switch set is connected with the control module; the first end of each switch in the ninth switch set is connected with the second interface of the sixth cable, the second end of each switch in the ninth switch set is connected with the second end of each switch in the fifth switch set, and the third end of each switch in the ninth switch set is connected with the control module.
  12. 12. The test device of claim 11, wherein the test device comprises a plurality of test elements, Corresponding to each switch in the first switch set, each switch in the second switch set, each switch in the third switch set, each switch in the eighth switch set, and each switch in the ninth switch set being in a closed state, a path is formed between the first power supply port, the second switch set, the eighth switch set, the sixth cable, the ninth switch set, the third switch set, and the first charging port, and a path is formed between VBUS in the first power supply port, VBUS in the second switch set, VBUS in the first switch set, VBUS in the third switch set, and VBUS in the first charging port; And an open circuit is formed among the first power supply port, the second switch set, the eighth switch set, the sixth cable, the ninth switch set, the third switch set and the first charging port corresponding to at least one of the switches in the second switch set, the eighth switch set, the ninth switch set and the third switch set being in an open state.
  13. 13. The test device of claim 11, wherein the Type of the first interface of the third cable, the second interface of the third cable, the first interface of the sixth cable, the second interface of the sixth cable comprises a Type-A interface or a Type-C interface, and In the case where the type of the first interface of the third cable is the same as the type of the first interface of the sixth cable, the type of the second interface of the third cable is different from the type of the second interface of the sixth cable, and In the case that the type of the second interface of the third cable is the same as the type of the second interface of the sixth cable, the type of the first interface of the third cable is different from the type of the first interface of the sixth cable.
  14. 14. The test device of claim 11, wherein the first cable includes a first interface, a second interface, and a third interface, wherein the first interface of the first cable and the second interface of the first cable are therebetween a first branch cable of the first cable, wherein the first interface of the first cable and the third interface of the first cable are therebetween a second branch cable of the first cable, wherein the second cable includes a fourth interface, a fifth interface, and a sixth interface, wherein the fourth interface of the second cable and the fifth interface of the second cable are therebetween a first branch cable of the second cable, wherein the fourth interface of the second cable and the sixth interface of the second cable are therebetween a second branch cable of the second cable, and wherein the first cable and the second cable are straight-through cables The first interface of the first cable is connected with the power supply port of the first power supply device, the second interface of the first cable is connected with the first power supply port, the third interface of the first cable is connected with the second power supply port, the fourth interface of the second cable is connected with the charging port of the first charging device, the fifth interface of the second cable is connected with the first charging port, and the sixth interface of the second cable is connected with the second charging port.
  15. 15. The test device of claim 14, wherein the second interface of the first cable comprises VBUS, d+, D-, and GND pins, the third interface of the first cable comprises VBUS, and GND pins, the fifth interface of the second cable comprises VBUS, d+, D-, CC1, CC2, and GND pins, and the sixth interface of the second cable comprises VBUS, and GND pins, and Corresponding to each switch in the second switch set being in a closed state, the VBUS switch and the GND switch in the sixth switch set being in a closed state, the first power supply device and the testing device being turned on; Corresponding to each switch in the third switch set being in a closed state, the VBUS switch and the GND switch in the seventh switch set being in a closed state, the first charging device and the testing device being turned on; Corresponding to each switch in the second set of switches and each switch in the sixth set of switches being in an off state, the first power supply device and the testing device being off; the first charging device and the testing apparatus are disconnected corresponding to each switch in the third set of switches and each switch in the seventh set of switches being in an off state.
  16. 16. The test device of claim 15, further comprising a first sampling interface, a second sampling interface, a third sampling interface, a fourth sampling interface, a fifth sampling interface, a sixth sampling interface, a seventh sampling interface, an eighth sampling interface, a ninth sampling interface, and a resistive unit, and wherein the first power supply port, the second power supply port, the first charge port, and the second charge port comprise a VBUS pin and a GND pin, respectively; Wherein the method comprises the steps of The first end of the first sampling interface is respectively connected with the VBUS pin of the first power supply port and the first end of the VBUS switch in the second switch set, the first end of the second sampling interface is respectively connected with the first end of the GND switch in the second switch set and the GND pin of the first power supply port, and the second end of the first sampling interface and the second end of the second sampling interface are respectively connected with voltage detection equipment; The first end of the third sampling interface is respectively connected with the first end of the VBUS switch in the sixth switch set and the VBUS pin of the second power supply port, the first end of the fourth sampling interface is respectively connected with the GND pin of the second power supply port and the first end of the GND switch in the sixth switch set, and the second end of the third sampling interface and the second end of the fourth sampling interface are respectively connected with voltage detection equipment; The first end of the fifth sampling interface is respectively connected with the first end of a first resistor in the resistor unit and the second end of the first switch concentrated VBUS switch, the second end of the first resistor in the resistor unit is respectively connected with the first end of the seventh sampling interface, the first end of the third switch concentrated VBUS switch and the first end of the seventh switch concentrated VBUS switch, the first end of the sixth sampling interface is connected with the first end of the third switch concentrated GND switch, the second end of the fifth sampling interface and the second end of the sixth sampling interface are respectively connected with voltage detection equipment, and the third end of the sixth sampling interface and the second end of the seventh sampling interface are respectively connected with the voltage detection equipment; The first end of the eighth sampling interface is respectively connected with the second end of the VBUS switch in the seventh switch set and the VBUS pin of the second charging port, the first end of the ninth sampling interface is respectively connected with the second end of the GND switch in the seventh switch set and the GND pin of the second charging port, and the second end of the eighth sampling interface and the second end of the ninth sampling interface are respectively connected with voltage detection equipment.
  17. 17. The testing method is applied to a testing device and is characterized by comprising a power supply port module, a charging port module, a control module and a switch module, wherein the control module is connected with the switch module, the power supply port module comprises a first power supply port, the charging port module comprises a first charging port, the switch module comprises a first switch unit, and the first power supply port, the first switch unit and the first charging port are sequentially connected; The method comprises the following steps: The control module receives a first test signal, wherein the first test signal is used for indicating to conduct a passage between a first power supply device connected with the first power supply port and a first charging device connected with the first charging port; The control module is used for controlling the on-off state of each switch in the first switch unit in response to the first test signal so as to conduct a passage between the first power supply equipment and the first charging equipment, wherein the passage comprises the first power supply port, the first switch unit and the first charging port; the control module receives a second test signal, wherein the second test signal is used for indicating a path between a first power supply device connected with the first power supply port and a first charging device connected with the first charging port; and responding to the second test signal, the control module controls the on-off state of each switch in the first switch unit so that a passage between the first power supply equipment and the first charging equipment, comprising the first power supply port, the first switch unit and the first charging port, is disconnected.
  18. 18. The method of claim 17, the first switching unit comprising a first set of switches, and The control module controls the on-off state of each switch in the first switch unit so that a passage between the first power supply device and the first charging device, including the first power supply port, the first switch unit and the first charging port, is conducted, and the control module comprises: controlling each switch in the first switch set to be in a closed state so as to form a passage among the first power supply port, the first switch set and the first charging port, and The control module controls the on-off state of each switch in the first switch unit so that a path between the first power supply device and the first charging device, including the first power supply port, the first switch unit and the first charging port, is disconnected, and the control module comprises: And controlling each switch in the first switch set to be in an off state so as to form an open circuit among the first power supply port, the first switch set and the first charging port.
  19. 19. The method of claim 17, the first power port for connecting a first cable, wherein the first cable is for connecting the first power port and a power port of the first power device; The first charging port is used for being connected with a second cable, wherein the second cable is used for being connected with the first charging port and the charging port of the first charging device.
  20. 20. The method of claim 19, wherein the first cable and the second cable are not cables to be tested and the first cable and the second cable are pass-through cables, and Each switch set included in each switch unit in the switch module includes a VBUS switch.

Description

Testing device and testing method Technical Field The invention relates to the technical field of charging, in particular to a testing device and a testing method. Background Electronic devices with a rechargeable battery, also known as charging devices, can be charged by connecting an external power supply device. Different models of charging equipment and power supply equipment are matched, and different charging effects are often achieved. Charging compatibility testing is often used to test whether the charging effect of a charging device and power supply device match is expected, such as whether maximum charging power is matched. Existing test schemes for charge compatibility testing are often not satisfactory. For example, mechanical charging compatibility test solutions often require the use of a mechanical arm or other mechanical device to physically plug and unplug a charging interface and a charging cable of a charging device, and a charging interface and a charging cable of a power supply device. However, the motion accuracy of the existing mechanical arm or other mechanical devices is not enough to complete each accurate physical plug, which affects the smooth performance of the charging compatibility test. Disclosure of Invention The embodiment of the invention provides a testing device and a testing method. The first aspect of the application provides a testing device which is applied to electronic equipment and comprises a power supply port module, a charging port module, a control module and a switch module, wherein the control module is connected with the switch module and used for controlling the on and off of each switch in the switch module, the power supply port module comprises a first power supply port, the charging port module comprises a first charging port, the switch module comprises a first switch unit, the first power supply port, the first switch unit and the first charging port are sequentially connected, the first power supply port is used for being connected with a first cable, the first cable is used for being connected with the first power supply port and the power supply port of the first power supply equipment, the first charging port is used for being connected with a second cable, and the second cable is used for being connected with the first charging port and the charging port of the first charging equipment. It can be understood that the first power supply equipment can be electrically connected with the first charging equipment through the first cable, the testing device and the second cable, and the control module on the testing device can conduct and disconnect the testing passage for a plurality of times through the control switch module, so that the process of the charging compatibility test is simpler and automatic, the charging compatibility test can be smoothly implemented, and the effect of the charging compatibility test is better. It may be understood that the first power supply port may be any one of the power supply port modules for connecting with a power supply device, the first charging port may be any one of the charging port modules for connecting with a charging device, and the first switch unit may be any one of the control modules for switching on and off a test path. In some possible implementations, the power supply port module may include a plurality of ports for connecting to a power supply device, the charging port module may include a plurality of ports for connecting to a charging device, and the control module may include a plurality of switch units for switching on and off a test path. The first power supply device may be any one of power supply devices to be tested in a charging compatibility test, the first charging device may be any one of charging devices to be tested in the charging compatibility test, the first cable may be any one of cables to be tested in the charging compatibility test, the second cable may be any one of cables to be tested in the charging compatibility test, and in the charging compatibility test, a plurality of same or different power supply devices to be tested, charging devices to be tested, and cables to be tested may be used for testing. In a possible implementation of the first aspect, the first switch unit includes a first switch set, and a path is formed between the first power supply port, the first switch set, and the first charging port when each switch in the first switch set is in a closed state, and an open circuit is formed between the first power supply port, the first switch set, and the first charging port when each switch in the first switch set is in an open state. It is understood that the first switch set may be any switch set including at least one switch in the first switch unit, and the first switch unit may include at least one switch set. When the charging compatibility test is carried out, the control module on the testing device can conduct and disconnect the test channels among th