Detection method of vehicle-mounted USB module
By testing the data transmission speed and charging protocol on the vehicle-mounted USB module, the problem of rapid detection of the vehicle-mounted USB module is solved, and the effect of quickly judging eligibility and improving test efficiency is achieved.
Patent Information
- Application Number
- CN202411085815.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-10-01
AI Technical Summary
How to quickly detect the qualification of vehicle-mounted USB modules, especially in terms of data transmission speed and charging protocol, it is difficult to effectively conduct rapid testing with existing technology.
Using the methods of data transmission speed test and charging protocol test, the MCU controls the slave port of the on-board USB module to connect the U disk and simulate the powered load, conduct reading and writing speed tests and voltage and current tests respectively, and compare with the preset standards. Determine whether the module is qualified.
It realizes the rapid judgment of the qualification of the vehicle USB module, improves the test efficiency, and realizes the stable positioning and quick plug-in of the module through the design of inspection tooling, ensuring the smooth progress of the test process.
Smart Images

Figure CN118731562A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of USB module detection, and in particular relates to a method for detecting a vehicle-mounted USB module. Background Art
[0002] With the rapid development of automobiles towards intelligence, the functions of electronic devices in vehicles are becoming increasingly powerful. Vehicles not only play audio and video through the vehicle's own entertainment system, but also need external data (such as music, video, film and television data) to be played through the vehicle's entertainment system. There are generally two ways to transmit data: wireless and wired. Data transmission through the traditional USB interface is a relatively stable transmission method.
[0003] On the other hand, most mobile devices such as mobile phones, tablet computers and laptops on the market currently have fast charging functions. In order to facilitate fast charging of the above mobile devices, the car USB module is also designed with a fast charging function.
[0004] How to quickly detect the vehicle-mounted USB module to determine whether the module is qualified is a technical problem that needs to be solved in the vehicle-mounted USB module. Summary of the invention
[0005] The problem to be solved by the present invention is to provide a detection method for a vehicle-mounted USB module. With the cooperation of a detection tool, a data transmission speed test and a charging protocol test are performed in sequence, so as to quickly test the vehicle-mounted USB module and determine whether it is qualified.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: a detection method for a vehicle-mounted USB module, comprising a data transmission speed test and a charging protocol test performed in sequence, The data transmission test comprises the following steps: Step 11, MCU controls all slave ports of the vehicle-mounted USB module to connect to the corresponding U disks respectively; Step 12, read the specified files in each USB flash drive through the main port of the vehicle-mounted USB module at the same time and time them respectively; Step 13: After the reading is completed, write the same file to each USB flash drive through the main port of the vehicle-mounted USB module and time them respectively; The charging protocol test includes the following steps: Step 21, the MCU controls all slave ports of the vehicle-mounted USB module to connect to corresponding simulated power loads; Step 22, the MCU simultaneously completes the deception of various charging protocols of each slave port and the switching of the powered load. Each time a protocol is switched, the sampling circuit records the corresponding voltage and current test values until all protocol tests are completed; Step 23, comparing the voltage and current test values with a preset charging range; If the test values of the read and write speeds of all slave ports of the vehicle-mounted USB module are greater than the preset read and write speed standard values and the voltage and current test values under all charging protocols of all slave ports are within the preset charging range, the current vehicle-mounted USB module is judged to be qualified, otherwise it is unqualified.
[0007] Furthermore, the vehicle-mounted USB module includes a master port and three slave ports, the master port is connected to the industrial computer, and the three slave ports include a USB-C interface, a USB-A interface, and a USB-DVR interface for connecting a recorder, all of which are connected to the test tooling circuit.
[0008] Furthermore, when conducting a data transmission speed test, the USB-C interface is connected to two USB flash drives, namely a C positive-U disk and a C reverse-U disk, and the USB-A interface and USB-DVR interface are connected to an AU disk and a DVR-U disk respectively.
[0009] Furthermore, when testing the data transmission speed, Switch to C-positive speed test mode under MCU control, read the specified files in C-positive U disk, DVR-U disk and AU disk through the main port of the vehicle USB module at the same time and time them respectively; after reading, write the same file to C-positive U disk, DVR-U disk and AU disk through the main port of the vehicle USB module and time them respectively; Switch to C-reverse speed test mode under MCU control, read the specified files in C-reverse-U disk, DVR-U disk and AU disk through the main port of the vehicle USB module at the same time and time them respectively; after reading, write the same file to C-reverse-U disk, DVR-U disk and AU disk through the main port of the vehicle USB module and time them respectively.
[0010] Furthermore, when testing the charging protocol, Switch to C positive charging protocol test mode under MCU control. MCU completes the deception of various charging protocols of each slave port and the switching of the powered load at the same time. Each time a protocol is switched, the sampling circuit records the corresponding voltage and current test values until all protocol tests are completed. Under the control of MCU, it switches to C reverse charging protocol test mode. MCU completes the deception of various charging protocols of each slave port and the switching of the powered load at the same time. Each time a protocol is switched, the sampling circuit records the corresponding voltage and current test values until all protocol tests are completed.
[0011] Furthermore, before the data transmission speed test is performed, a connection step between the detection tool and the vehicle-mounted USB module is also included, and the connection step includes: Step 31, placing the vehicle-mounted USB module to be tested into the positioning seat of the testing tool; Step 32, clamp the vehicle-mounted USB module on the positioning seat; Step 33, electrically connecting the power supply module to the vehicle-mounted USB module; Step 34: Plug the test line and adapter line into the master port and slave port of the vehicle-mounted USB module respectively.
[0012] Furthermore, the detection tooling includes a chassis, a positioning seat arranged on the chassis for limiting the USB module, a rotating clamping device for pressing the USB module on the positioning seat, and a plug-in device for plugging the power supply module, test line and adapter line into the vehicle-mounted USB module.
[0013] Furthermore, the plug-in device includes a first driving component that drives the test line, DVR adapter cable and power supply module to move horizontally and are respectively electrically connected to the main port, USB-DVR interface and power supply interface at the inner end of the USB module, and a second driving component that drives the USB-C adapter cable and USB-A adapter cable to be electrically connected to the USB-C interface and USB-A interface at the outer end of the USB module.
[0014] Further, the first driving assembly includes a first clamping assembly for fixing the test line and the DVR adapter line, a first guide assembly arranged between the first clamping assembly and the connecting plate in the chassis, and a first driving cylinder for driving the first clamping assembly to move along the guide direction of the first guide assembly; The first clamping assembly includes a first lower pressing plate connected to the execution end of the first driving cylinder, a first upper pressing plate and a connecting bolt for connecting the first lower pressing plate and the first upper pressing plate, a test line positioning groove for limiting the test line and a transfer line positioning groove for limiting the DVR transfer line are provided on the first lower pressing plate, and a test line clamping groove and a transfer line clamping groove matching the test line positioning groove and the transfer line positioning groove are provided on the first upper pressing plate; The power supply module is fixed on the first lower pressing plate.
[0015] Further, the second driving assembly includes a patch cord clamping assembly for fixing the USB-C patch cord and the USB-A patch cord, a patch cord guide assembly arranged between the patch cord clamping assembly and the connecting plate in the chassis, and a second driving cylinder for driving the patch cord clamping assembly to move along the guiding direction of the patch cord guide assembly, wherein the second driving cylinder is located below the connecting plate and is connected to the patch cord clamping assembly by means of a driving plate passing through a strip hole on the connecting plate; The adapter cable clamping assembly includes an adapter cable lower pressure plate connected to the driving board, an adapter cable upper pressure plate and connecting bolts used to connect the adapter cable lower pressure plate and the adapter cable upper pressure plate. The adapter cable lower pressure plate is provided with a first positioning groove for positioning the USB-C adapter cable connection end and a second positioning groove for positioning the USB-A adapter cable. The adapter cable upper pressure plate is provided with a first clamping groove and a second clamping groove respectively matching the first positioning groove and the second positioning groove.
[0016] The beneficial effects of the present invention are: 1. By performing a transmission speed test and a charging protocol test, and then comparing the test result with a preset range, it is possible to quickly determine whether the vehicle-mounted USB module is qualified; 2. Multiple vehicle-mounted USB modules can be tested at the same time, thereby improving the test efficiency; 3. By designing a testing tooling, the vehicle-mounted USB module can be stably positioned and quickly plugged in during testing, thereby ensuring that the test process proceeds smoothly.
[0017] The present invention is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a structural schematic diagram of the detection tooling of the present invention; Figure 2 yes Figure 1 Schematic diagram of the structure after removing the detection platform; Figure 3 It is a structural schematic diagram of the plug-in device in the detection tooling of the present invention; Figure 4 It is another structural schematic diagram of the plug-in device in the detection tooling of the present invention; Figure 5 yes Figure 3 A schematic diagram of the structure after removing the first upper pressing plate and the upper pressing plate of the adapter cable; Figure 6 It is a structural schematic diagram of the first lower pressing plate in the detection tooling of the present invention; Figure 7 It is a structural schematic diagram of the first upper pressing plate in the detection tooling of the present invention; Figure 8 It is a structural schematic diagram of the lower pressure plate of the transfer wiring in the detection tooling of the present invention; Fig. 9 It is a structural schematic diagram of a pressure plate on a transfer line in a detection tooling of the present invention; Fig.10 It is a schematic diagram of the principle of the detection tooling of the present invention.
[0019] In the attached drawings: 1, chassis, 1-1, box body, 1-2, detection platform, 1-3, button, 1-4, connecting plate, 1-5, bar hole, 2, vehicle-mounted USB module, 3, positioning seat, 4, rotating clamping device, 5, test line, 6, DVR adapter cable, 7, USB-C adapter cable, 8, USB-A adapter cable, 9, first driving cylinder, 10, first lower pressure plate, 10-1, test line positioning groove, 10-2, adapter cable positioning groove, 11, first upper pressure plate, 11 -1, test line clamping groove, 11-2, adapter line clamping groove, 12, first slide rail, 13, first slider, 14, second drive cylinder, 15, drive plate, 16, adapter line lower pressure plate, 16-1, first positioning groove, 16-2, second positioning groove, 17, adapter line upper pressure plate, 17-1, first clamping groove, 17-2, second clamping groove, 18, second slide rail, 19, second slider, 20, second adapter line, 21, power supply module, 22, display, 23, air pump. DETAILED DESCRIPTION
[0020] See attached Figure 1-10 The detection method of the vehicle-mounted USB module of the present invention is implemented based on a detection tool, which includes a chassis 1 and a positioning seat 3 arranged on the chassis 1 for limiting the vehicle-mounted USB module 2, a rotating clamping device 4 for pressing the vehicle-mounted USB module 2 on the positioning seat 3, and a plug-in device.
[0021] See attached Figure 1 and 2 The case 1 includes a case 1-1, a display 22 tilted on the case 1-1, a detection platform 1-2 horizontally disposed on the case 1-1, an air pump 23 fixed outside the case 1-1 for providing a power source to the driving component, a button 1-3 disposed on the case 1-1, a control circuit disposed inside the case 1-1, and a connecting plate 1-4 located below the detection platform 1-2 and used to connect a positioning seat 3, a rotating clamping device 4, and a plug-in device. The connecting plate 1-4 and the devices thereon are arranged in multiple groups along the length direction of the case 1-1, so as to facilitate simultaneous testing of multiple vehicle-mounted USB modules 2.
[0022] An opening is provided on the detection platform 1-2, the positioning seat 3 is located at the opening, and the execution end of the rotary clamping device 4 is located above the opening. The plug-in devices are all located below the detection platform 1-2, making the device as a whole beautiful and neat. In this embodiment, the rotary clamping device 4 adopts a rotary clamping cylinder.
[0023] The vehicle-mounted USB module 2 in this embodiment includes a master port and three slave ports. The master port is a USB-C interface, which is connected to the industrial computer through a test line. The three slave ports include a USB-C interface, a USB-A interface, and a USB-DVR interface for connecting a recorder. Therefore, during testing, a test line 5 and three adapter cables are required. The three adapter cables are a DVR adapter cable 6, a USB-C adapter cable 7, and a USB-A adapter cable 8, and the other ends of the three adapter cables are connected to the test fixture circuit.
[0024] Among them, the main port (USB-C interface) and the USB-DVR interface are located at the inner end of the vehicle-mounted USB module 2 , and the other two are located at the outer end of the vehicle-mounted USB module 2 .
[0025] See attached Figure 1-9 The above-mentioned plug-in device includes a first driving component that drives the test line 5, the DVR adapter line 6 and the power supply module 21 to move horizontally and are respectively electrically connected to the main port, the USB-DVR interface and the power supply interface at the inner end of the USB module 2, and a second driving component that drives the USB-C adapter line 7 and the USB-A adapter line 8 to be electrically connected to the USB-C interface and the USB-A interface at the outer end of the USB module 2.
[0026] See attached Figure 3-5 , 6 and 7, the first driving assembly includes a first clamping assembly for fixing the test line 5 and the DVR adapter line 6, a first guide assembly arranged between the first clamping assembly and the connecting plates 1-4 in the chassis 1, and a first driving cylinder 9 for driving the first clamping assembly to move along the guide direction of the first guide assembly.
[0027] The first clamping assembly includes a first lower pressing plate 10 connected to the execution end of the first driving cylinder 9, a first upper pressing plate 11 and connecting bolts for connecting the first lower pressing plate 10 and the first upper pressing plate 11. The first lower pressing plate 10 is provided with a test line positioning groove 10-1 for limiting the test line 5 and a transfer line positioning groove 10-2 for limiting the DVR transfer line 6. The first upper pressing plate 11 is provided with a test line clamping groove 11-1 and a transfer line clamping groove 11-2 which cooperate with the test line positioning groove 10-1 and the transfer line positioning groove 10-2.
[0028] The power supply module 21 is fixed on the first lower pressing plate 10. When the first driving component drives the test line 5, the DVR adapter line 6 and the power supply module 21 to be electrically connected, the power supply module 21 is first electrically connected to the power supply interface at the inner end of the vehicle-mounted USB module 2, and after the vehicle-mounted USB module 2 is powered, the test line 5 and the DVR adapter line 6 are electrically connected to the corresponding USB interface.
[0029] The first guide assembly includes a first slide rail 12 fixed on the connecting plate 1-4 and a first slider 13 fixed on the first lower pressing plate 10 and matched with the first slide rail 12. The first driving cylinder 9 is located below the display 22. The test line positioning groove 10-1 and the adapter line positioning groove 10-2 are arc-shaped and symmetrically arranged to facilitate the layout of the test line and the adapter line.
[0030] See attached Figure 3-5 , 8 and 9, the second driving assembly includes a patch cord clamping assembly for fixing the USB-C patch cord 7 and the USB-A patch cord 8, a patch cord guide assembly disposed between the patch cord clamping assembly and the connecting plate 1-4 in the chassis 1, and a second driving cylinder 14 for driving the patch cord clamping assembly to move along the guiding direction of the patch cord guide assembly. The second driving cylinder 14 is located below the connecting plate 1-4 and is connected to the patch cord clamping assembly by means of a driving plate 15 passing through the strip hole 1-5 on the connecting plate 1-4. Such a design can reduce the occupancy in the horizontal direction and reduce the horizontal occupied area of the device.
[0031] The adapter cable clamping assembly includes an adapter cable lower pressure plate 16 connected to the driving plate 15, an adapter cable upper pressure plate 17 and connecting bolts used to connect the adapter cable lower pressure plate 16 and the adapter cable upper pressure plate 17. The adapter cable lower pressure plate 16 is provided with a first positioning groove 16-1 for positioning the connecting end of the USB-C adapter cable 7 and a second positioning groove 16-2 for positioning the USB-A adapter cable 8. The adapter cable upper pressure plate 17 is provided with a first clamping groove 17-1 and a second clamping groove 17-2 respectively matching the first positioning groove 16-1 and the second positioning groove 16-2.
[0032] The adapter wire guide assembly includes a second slide rail 18 fixed on the connecting plate 1 - 4 and a second slide block 19 fixed on the adapter wire lower pressing plate 16 and matched with the second slide rail 18 .
[0033] See attached Fig.10 The control principle of the present invention is as follows: the vehicle-mounted USB module 2 to be tested is connected to the interface of the industrial computer through the test line 5 connected to its main port, and three adapter lines respectively connected to the slave ports in the vehicle-mounted USB module 2 are connected to the conversion switch circuit in the test tooling circuit.
[0034] In the conversion switch circuit, the DVR adapter cable 6 and the USB-A adapter cable 8 are each equipped with a set of conversion switches to realize the switching between the data transmission speed test and the charging protocol test; while the USB-C adapter cable 7 is provided with two sets of conversion switches to respectively switch the data transmission speed test and the charging protocol test on the front and back sides.
[0035] When performing a data transmission test, the MCU controls the switch in the conversion switch circuit to connect to the speed measurement synchronization circuit, and then reads and writes the USB flash drive through the USB control circuit to implement the data transmission test. The USB-C adapter cable 7 is equipped with two USB flash drives to test the data transmission speed of the front and back sides respectively.
[0036] When the charging protocol test is performed, the MCU controls the conversion switch in the conversion switch circuit to switch to connect with the protocol deception circuit. The MCU simulates the force load devices corresponding to the three slave ports. The MCU controls the protocol deception circuit to handshake with the fast charging protocol of the vehicle-mounted USB module 2, thereby inducing different voltages and currents, and collecting them through the sampling circuit.
[0037] Before performing the data transmission speed test, it is necessary to perform the connection steps between the detection tooling and the vehicle-mounted USB module 2. The connection steps include: Step 31, placing the vehicle-mounted USB module 2 to be tested into the positioning seat 3 of the testing tool; Step 32, clamp the vehicle-mounted USB module 2 on the positioning seat 3; Step 33, electrically connecting the power supply module 21 to the vehicle-mounted USB module 2; Step 34: Plug the test line 5 and the adapter line into the master port and slave port of the vehicle-mounted USB module 2 respectively.
[0038] After the test is completed, reverse the above steps to release the connection and limit to the vehicle USB module.
[0039] See attached Fig.10 The detection method of the vehicle-mounted USB module of the present invention includes two steps of data transmission speed test and charging protocol test performed sequentially.
[0040] The data transfer test includes the following steps: Step 11, MCU controls all slave ports of the vehicle-mounted USB module 2 to connect to corresponding U disks respectively; Step 12, reading the designated files in each USB flash drive simultaneously through the main port of the vehicle-mounted USB module (2) and timing them respectively; Step 13: After the reading is completed, the same file is written to each USB flash drive through the main port of the vehicle-mounted USB module (2) and the timing is respectively performed.
[0041] The charging protocol test includes the following steps: Step 21, the MCU controls all slave ports of the vehicle-mounted USB module 2 to connect to corresponding simulated power loads; Step 22, the MCU simultaneously completes the deception of various charging protocols of each slave port and the switching of the powered load. Each time a protocol is switched, the sampling circuit records the corresponding voltage and current test values until all protocol tests are completed.
[0042] If the test values of the read and write speeds of all slave ports of the vehicle-mounted USB module 2 are greater than the preset read and write speed standard values and the voltage and current test values under all charging protocols of all slave ports are within the preset charging range, the current vehicle-mounted USB module 2 is judged to be qualified, otherwise it is unqualified.
[0043] Since the USB-C interface located on the outside of the vehicle-mounted USB module is testing the transmission speed and charging protocol on both sides, it is connected to two USB flash drives and they are C positive-U flash drive and C reverse-U flash drive respectively. The remaining USB-A interface and USB-DVR interface are connected to AU flash drive and DVR-U flash drive respectively.
[0044] Therefore, when testing the data transmission speed, Switch to C-positive speed test mode under MCU control, read the specified files in C-positive U disk, DVR-U disk and AU disk through the main port of vehicle USB module 2 at the same time and time them respectively; after reading, write the same file to C-positive U disk, DVR-U disk and AU disk through the main port of vehicle USB module 2 and time them respectively; Switch to C-reverse speed test mode under MCU control, read the specified files in C-reverse-U disk, DVR-U disk and AU disk through the main port of vehicle USB module 2 at the same time and time them respectively; after reading, write the same file to C-reverse-U disk, DVR-U disk and AU disk through the main port of vehicle USB module 2 and time them respectively; The switching between the C positive speed test mode and the C reverse speed test mode is achieved by the action of the conversion switch.
[0045] When testing the charging protocol, Switch to C positive charging protocol test mode under MCU control. MCU completes the deception of various charging protocols of each slave port and the switching of the powered load at the same time. Each time a protocol is switched, the sampling circuit records the corresponding voltage and current test values until all protocol tests are completed. Switch to C reverse charging protocol test mode under MCU control. MCU completes the deception of various charging protocols of each slave port and the switching of the powered load at the same time. Each time a protocol is switched, the sampling circuit records the corresponding voltage and current test values until all protocol tests are completed. The switching between the C positive charging protocol test mode and the C reverse charging protocol test mode is achieved by the action of the conversion switch.
[0046] During the above test, the transmission speed, the current and voltage values under each charging protocol and the final result will be displayed on the display 22.
[0047] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or some technical features can be replaced by equivalents without departing from the spirit of the technical solution of the present invention, which should be included in the scope of the technical solution for protection of the present invention.
Claims
1. A method for detecting a vehicle-mounted USB module, characterized in that: Including data transmission speed test and charging protocol test, The data transmission test comprises the following steps: Step 11, the MCU controls all slave ports of the vehicle-mounted USB module (2) to connect to the corresponding USB flash drives; Step 12, reading the designated files in each USB flash drive simultaneously through the main port of the vehicle-mounted USB module (2) and timing them respectively; Step 13: After the reading is completed, the same file is written to each USB flash drive through the main port of the vehicle-mounted USB module (2) and the timing is respectively performed; The charging protocol test includes the following steps: Step 21, the MCU controls all slave ports of the vehicle-mounted USB module (2) to connect to corresponding simulated power loads; Step 22, the MCU simultaneously completes the deception of various charging protocols of each slave port and the switching of the powered load. Each time a protocol is switched, the sampling circuit records the corresponding voltage and current test values until all protocol tests are completed; If the test values of the read and write speeds of all slave ports of the vehicle-mounted USB module (2) are greater than preset read and write speed standard values and the voltage and current test values of all charging protocols of all slave ports are within a preset charging range, then the current vehicle-mounted USB module (2) is determined to be qualified; otherwise, it is determined to be unqualified.
2. The detection method of the vehicle-mounted USB module according to claim 1, characterized in that: The vehicle-mounted USB module (2) comprises a master port and three slave ports, the master port being connected to an industrial computer, and the three slave ports comprising a USB-C port, a USB-A port, and a USB-DVR port, all of which are connected to a test fixture circuit.
3. The detection method of the vehicle-mounted USB module according to claim 2, characterized in that: When testing the data transmission speed, the USB-C interface is connected to two USB flash drives, namely C positive-U disk and C reverse-U disk, and the USB-A interface and USB-DVR interface are connected to AU disk and DVR-U disk respectively.
4. The method for detecting a vehicle-mounted USB module according to claim 3, characterized in that: When testing data transfer speed, Switching to the C-positive speed test mode under the control of the MCU, the specified files in the C-positive U disk, the DVR-U disk and the AU disk are read simultaneously through the main port of the vehicle-mounted USB module (2) and the timing is respectively calculated; after the reading is completed, the same file is written to the C-positive U disk, the DVR-U disk and the AU disk through the main port of the vehicle-mounted USB module (2) and the timing is respectively calculated; The MCU is controlled to switch to the C-type speed test mode, and the designated files in the C-type-U disk, the DVR-U disk and the AU disk are read simultaneously through the main port of the vehicle-mounted USB module (2) and the timing is respectively performed; after the reading is completed, the same file is written to the C-type-U disk, the DVR-U disk and the AU disk through the main port of the vehicle-mounted USB module (2) and the timing is respectively performed.
5. The method for detecting a vehicle-mounted USB module according to claim 3, characterized in that: When testing the charging protocol, Switch to C positive charging protocol test mode under MCU control. MCU completes the deception of various charging protocols of each slave port and the switching of the powered load at the same time. Each time a protocol is switched, the sampling circuit records the corresponding voltage and current test values until all protocol tests are completed. Under the control of MCU, it switches to C reverse charging protocol test mode. MCU completes the deception of various charging protocols of each slave port and the switching of the powered load at the same time. Each time a protocol is switched, the sampling circuit records the corresponding voltage and current test values until all protocol tests are completed.
6. The method for detecting a vehicle-mounted USB module according to any one of claims 1 to 5, characterized in that: Before performing the data transmission speed test, a connection step between the detection tool and the vehicle-mounted USB module (2) is also included, and the connection step includes: Step 31, placing the vehicle-mounted USB module (2) to be tested into the positioning seat (3) of the testing tool; Step 32: Clamp the vehicle-mounted USB module (2) onto the positioning seat (3); Step 33, electrically connecting the power supply module (21) to the vehicle-mounted USB module (2); Step 34: Plug the test line (5) and the adapter line into the master port and slave port of the vehicle-mounted USB module (2) respectively.
7. The method for detecting a vehicle-mounted USB module according to claim 6, characterized in that: The detection tool comprises a chassis (1), a positioning seat (3) arranged on the chassis (1) for limiting the position of the USB module (2), a rotating clamping device (4) for pressing the USB module (2) onto the positioning seat (3), and a plug-in device for plugging the power supply module (21), the test line (5) and the adapter line onto the vehicle-mounted USB module (2).
8. The method for detecting a vehicle-mounted USB module according to claim 7, characterized in that: The plug-in device comprises a first driving component that drives the test line (5), the DVR adapter line (6) and the power supply module (21) to move horizontally and are respectively electrically connected to the main port, the USB-DVR interface and the power supply interface at the inner end of the USB module (2); and a second driving component that drives the USB-C adapter line (7) and the USB-A adapter line (8) to be respectively electrically connected to the USB-C interface and the USB-A interface at the outer end of the USB module (2).
9. The method for detecting a vehicle-mounted USB module according to claim 8, characterized in that: The first driving assembly comprises a first clamping assembly for fixing the test line (5) and the DVR adapter line (6), a first guide assembly arranged between the first clamping assembly and the connecting plate (1-4) in the chassis (1), and a first driving cylinder (9) for driving the first clamping assembly to move along the guide direction of the first guide assembly; The first clamping assembly comprises a first lower pressing plate (10) connected to the execution end of the first driving cylinder (9), a first upper pressing plate (11) and a connecting bolt for connecting the first lower pressing plate (10) and the first upper pressing plate (11); the first lower pressing plate (10) is provided with a test line positioning groove (10-1) for limiting the test line (5) and a transfer line positioning groove (10-2) for limiting the DVR transfer line (6); the first upper pressing plate (11) is provided with a test line clamping groove (11-1) and a transfer line clamping groove (11-2) that match the test line positioning groove (10-1) and the transfer line positioning groove (10-2); The power supply module (21) is fixed on the first lower pressing plate (10).
10. The detection tool for the vehicle-mounted USB module according to claim 7, characterized in that: The second driving assembly comprises a patch cord clamping assembly for fixing the USB-C patch cord (7) and the USB-A patch cord (8), a patch cord guide assembly arranged between the patch cord clamping assembly and the connecting plate (1-4) in the chassis (1), and a second driving cylinder (14) for driving the patch cord clamping assembly to move along the guiding direction of the patch cord guide assembly, wherein the second driving cylinder (14) is located below the connecting plate (1-4) and is connected to the patch cord clamping assembly by means of a driving plate (15) passing through a strip hole (1-5) on the connecting plate (1-4); The adapter cable clamping assembly comprises an adapter cable lower pressure plate (16) connected to the drive plate (15), an adapter cable upper pressure plate (17) and a connecting bolt for connecting the adapter cable lower pressure plate (16) and the adapter cable upper pressure plate (17); the adapter cable lower pressure plate (16) is provided with a first positioning groove (16-1) for positioning the connecting end of the USB-C adapter cable (7) and a second positioning groove (16-2) for positioning the USB-A adapter cable (8); and the adapter cable upper pressure plate (17) is provided with a first clamping groove (17-1) and a second clamping groove (17-2) respectively matching the first positioning groove (16-1) and the second positioning groove (16-2).
