USB test function module

By designing the USB test function module, the USB conversion chip is used to realize automatic adaptation and switching of the USB interface of the TV motherboard, solving the cost and efficiency of manual testing and improving the stability and efficiency of the automatic testing system.

CN222053189UActive Publication Date: 2024-11-22QINGDAO ZHIDONG SEIKO INSTR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323601076.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2024-11-22
Estimated Expiration
2033-12-27

AI Technical Summary

Technical Problem

In the prior art, the functional test of the USB interface of the TV motherboard requires manual switching, resulting in increased staff burden and increased production costs. The automatic test system may cause system crashes when the plug-in and unplug timing is not required, affecting efficiency.

Method used

A USB test function module is designed, including peripheral input interface module, peripheral output interface module, USB conversion module and control module, and automatic peripherals are realized through USB conversion chips (such as USB2.0 and USB3.0 conversion chips). Adapt and switch, reduce manual intervention, and transmit commands with the upper computer through the communication module to ensure testing efficiency.

Benefits of technology

Automatic switching and testing of USB interfaces is realized, reducing labor costs and production costs, improving the efficiency of functional testing, and avoiding the risk of system crashes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222053189U_ABST
    Figure CN222053189U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides a USB (Universal Serial Bus) test function module, which is used for testing a USB interface integrated on a television mainboard, and comprises a peripheral input interface module used for connecting a plurality of peripheral devices; the peripheral output interface module is used for being connected with a USB interface integrated on the television mainboard; the USB conversion module is electrically connected between the peripheral input interface module and the peripheral output interface module and is used for realizing adaptation between the peripheral input interface module and the peripheral output interface module; and the control module is electrically connected between the external input interface module and the external output interface module and is used for controlling and switching external equipment communicated with the USB interface integrated on the television mainboard. The test waiting time can be prolonged, so that the production efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of hardware testing, and in particular to a USB testing function module. Background Art

[0002] The TV motherboard USB interface related tests usually include reading USB flash drives, hard disk inspection, serial port communication, USB short-circuit function, etc. Through the corresponding remote control commands, the TV motherboard can feedback the corresponding display status, so as to judge whether the TV motherboard meets the corresponding quality requirements through manual visual inspection or software image comparison.

[0003] In the past, many factories in the industry used manual switching to perform functional testing. However, manually switching USB interface peripherals will bring additional burdens to the staff, and multiple plugging and unplugging of the interface will also cause damage to the wires, which will increase production costs.

[0004] In recent years, with the development of factory technology, manual switching tests have gradually been replaced by automatic testing systems. However, the use of automatic testing systems has additional requirements for the timing of plugging and unplugging peripherals. If the connected peripherals are not updated in time, it will affect the operation of the test software, resulting in no feedback from the host computer after the command is issued, which can easily cause the system to crash and affect efficiency. Utility Model Content

[0005] In order to solve the above technical problems, an embodiment of the present application provides a USB test function module.

[0006] According to one aspect of an embodiment of the present application, the USB test function module provided in the embodiment of the present application is used to test the USB interface integrated on a TV mainboard, including: a peripheral input interface module, used to connect multiple external devices; a peripheral output interface module, used to connect the USB interface integrated on the TV mainboard; a USB conversion module, electrically connected between the peripheral input interface module and the peripheral output interface module, used to achieve adaptation between the peripheral input interface module and the peripheral output interface module; a control module, electrically connected between the peripheral input interface module and the peripheral output interface module, used to control switching of external devices connected to the USB interface integrated on the TV mainboard.

[0007] In the above embodiment, by setting up a USB conversion module and electrically connecting the USB conversion module between the peripheral input interface module and the peripheral output interface, the USB conversion module can autonomously adapt the peripheral input interface module to the peripheral output interface module, thereby replacing the manual switching adaptation method, which not only reduces labor costs and production costs, but also reduces the waiting time of functional testing and improves the efficiency of functional testing.

[0008] In one embodiment of the present application, based on the aforementioned scheme, the peripheral input interface module includes a first type input interface and a second type input interface, the peripheral output interface module includes a first type output interface and a second type output interface, and the USB conversion module includes a first USB conversion unit and a second USB conversion unit; wherein, the first USB conversion unit is electrically connected between the first type input interface and the first type output interface, and the second USB conversion unit is electrically connected between the second type input interface and the second type output interface.

[0009] In one embodiment of the present application, based on the aforementioned scheme, the number of the first type of input interface is at least one, and the interface type of the first type of input interface includes at least one of a serial port and a USB flash drive; the number of the second type of input interface is at least one, and the interface type of the second type of input interface includes a hard disk.

[0010] In one embodiment of the present application, based on the aforementioned solution, the first USB conversion unit includes a USB2.0 conversion chip, the input pin of the USB2.0 conversion chip is connected to the first type input interface, and the output pin of the USB2.0 conversion chip is connected to the first type output interface.

[0011] In the above embodiment, by using a USB2.0 conversion chip and connecting the input pin of the USB2.0 conversion chip to the first type input interface, and connecting the output pin of the USB2.0 conversion chip to the first type output interface, the first type input interface can be automatically switched, thereby improving the switching efficiency.

[0012] In one embodiment of the present application, based on the aforementioned solution, the second USB conversion unit includes a USB3.0 conversion chip, the input pin of the USB3.0 conversion chip is connected to the second type input interface, and the output pin of the USB3.0 conversion chip is connected to the second type output interface.

[0013] In the above embodiment, by adopting a USB3.0 conversion chip and connecting the input pin of the USB3.0 conversion chip to the second type input interface, and connecting the output pin of the USB3.0 conversion chip to the second type output interface, the second type input interface can be automatically switched, thereby improving the switching efficiency.

[0014] In one embodiment of the present application, based on the above-mentioned solution, the USB test function module also includes a communication module, which is electrically connected to the control module and is used to transmit the control instructions sent by the host computer to the control module.

[0015] In the above embodiment, a communication module is developed for communicating with a host computer, which can realize control instructions sent by the host computer so that the control module controls the switching of external devices connected to the USB interface integrated on the TV mainboard, thereby reducing the waiting time of functional testing and improving the efficiency of functional testing.

[0016] In one embodiment of the present application, based on the aforementioned scheme, the USB test function module also includes a voltage distribution circuit, and the voltage distribution circuit includes: a first step-down module, electrically connected to the USB conversion module, and used to reduce the power supply voltage to a first voltage and then output it to the USB conversion module; a second step-down module, electrically connected between the first step-down module and the control module, and used to reduce the first voltage to a second voltage and then output it to the control module.

[0017] In one embodiment of the present application, based on the above-mentioned solution, the USB test function module also includes a power supply circuit, which is electrically connected to the first step-down module and is used to provide the power supply voltage to the first step-down module.

[0018] In one embodiment of the present application, based on the aforementioned scheme, the power supply circuit includes: a fuse, a resistor and a light-emitting diode connected in series in sequence; a voltage-stabilizing diode connected in parallel with the resistor and the light-emitting diode; a first capacitor and a second capacitor connected in parallel with the voltage-stabilizing diode, and the first capacitor and the second capacitor are connected in parallel.

[0019] In the above embodiment, a voltage stabilizing diode is provided to ensure that the voltage of the resistor and the light-emitting diode does not change when the current changes, and a first capacitor and a second capacitor are provided in parallel with the voltage stabilizing diode, which can effectively stabilize the voltage and filter out clutter, eliminate voltage spikes and glitches, and turn the externally connected pulsating DC power supply into a relatively stable DC power supply.

[0020] In one embodiment of the present application, based on the aforementioned scheme, the USB test function module also includes a short circuit function module, which is connected between the peripheral input interface module and the peripheral output interface module and is used for short circuit testing between the peripheral input interface module and the peripheral output interface module.

[0021] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0023] Figure 1 is a schematic diagram of the architecture of a USB test function module provided by an exemplary embodiment of the present application;

[0024] Figure 2 is a structural block diagram of a lower computer control system provided by an exemplary embodiment of the present application;

[0025] Figure 3 is a structural schematic diagram of a power supply circuit provided by an exemplary embodiment of the present application;

[0026] Figure 4 is a schematic structural diagram of a step-down circuit provided by an exemplary embodiment of the present application;

[0027] Figure 5 is a structural schematic diagram of a step-down circuit provided by another exemplary embodiment of the present application;

[0028] Figure 6 is a schematic diagram of the structure of a USB2.0 conversion chip provided by an exemplary embodiment of the present application;

[0029] Figure 7 It is a structural schematic diagram of a mainboard side and a USB disk side provided by an exemplary embodiment of the present application;

[0030] Figure 8 is a schematic structural diagram of a power supply relay and a short-circuit relay provided by an exemplary embodiment of the present application;

[0031] Fig. 9 is a control flow chart of peripheral switching provided by an exemplary embodiment of the present application;

[0032] Fig.10 It is a structural schematic diagram of a USB 3.0 conversion chip provided by an exemplary embodiment of the present application;

[0033] Fig.11 It is a structural schematic diagram of a mainboard side and a hard disk side provided by an exemplary embodiment of the present application;

[0034] Fig.12 is a structural schematic diagram of a power supply relay and a short-circuit relay provided by another exemplary embodiment of the present application;

[0035] Fig.13It is a control flow chart of a short circuit test provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0036] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0037] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0038] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0039] It should also be noted that the "multiple" mentioned in this application refers to two or more than two. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship.

[0040] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. The terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0041] In the past, many factories in the industry used manual switching to perform functional testing. However, manually switching USB interface peripherals will bring additional burdens to the staff, and multiple plugging and unplugging of the interface will also cause damage to the wires, which will increase production costs.

[0042] In recent years, with the development of factory technology, manual switching tests have gradually been replaced by automatic testing systems. However, the use of automatic testing systems has additional requirements for the timing of plugging and unplugging peripherals. If the connected peripherals are not updated in time, it will affect the operation of the test software, resulting in no feedback from the host computer after the command is issued, which can easily cause the system to crash and affect efficiency.

[0043] Therefore, in order to solve the above technical problems, the present application proposes a USB test function module. Figure 1 FIG. 1 is a schematic diagram of the architecture of a USB test function module provided by an exemplary embodiment of the present application. Figure 1 As shown, the USB test function module includes a peripheral input interface module and a peripheral output interface module, wherein the peripheral input interface module includes a first type input interface and a second type input interface, and the peripheral input interface module is used to connect multiple external devices; the external output interface module includes a first type output interface and a second type output interface, and the peripheral output interface module is used to connect the USB interface integrated on the TV mainboard. The number of the first type input interface is at least one, and the interface type of the first type input interface includes at least one of a serial port and a U disk, which can be used to receive data input from a U disk or a serial port, and can input the U disk or serial port data to the TV mainboard through the first type output interface and the USB1 interface of the TV mainboard; the number of the second type input interface is also at least one, and the interface type of the second type input interface includes a hard disk, which can be used to receive data input from a hard disk, and can input the hard disk data to the TV mainboard through the second type output interface and the USB2 interface of the TV mainboard.

[0044] See also Figure 2 , Figure 2 : is a structural block diagram of a lower computer control system provided by an exemplary embodiment of the present application. Figure 2 As shown, the USB test function module also includes a USB conversion module and a control module, wherein the USB conversion module includes a first USB conversion unit and a second USB conversion unit, the first USB conversion unit is electrically connected between the first type input interface and the first type output interface, and the second USB conversion unit is electrically connected between the second type input interface and the second type output interface; and the control module is electrically connected between the peripheral input interface module and the peripheral output interface module, and the control module can switch the external device connected to the USB interface integrated on the TV mainboard. Preferably, the STM32F103RBT6 model microcontroller can be selected as the control module.

[0045] In one embodiment of the present application, the first USB conversion unit includes a USB2.0 conversion chip, the input pin of the USB2.0 conversion chip is connected to the first type input interface, and the output pin of the USB2.0 conversion chip is connected to the first type output interface.

[0046] Likewise, the second USB conversion unit includes a USB 3.0 conversion chip, an input pin of the USB 3.0 conversion chip is connected to the second type input interface, and an output pin of the USB 3.0 conversion chip is connected to the second type output interface.

[0047] In one embodiment of the present application, the USB test function module further includes a power supply circuit. Figure 3 , Figure 3 is a schematic diagram of a power supply circuit provided by an exemplary embodiment of the present application. Figure 3 As shown, the power supply circuit includes a fuse, a resistor and a light-emitting diode connected in series, a voltage-stabilizing diode connected in parallel with the resistor and the light-emitting diode, and a first capacitor and a second capacitor connected in parallel with the voltage-stabilizing diode, and the first capacitor is connected in parallel with the second capacitor. The resistor may be a thermistor, a photoresistor, a varistor, etc.

[0048] Setting a fuse at the voltage input end of the power supply circuit can effectively avoid overcurrent in the power supply circuit. When overcurrent occurs, the fuse will quickly blow to cut off the current, thereby helping to prevent components in the power supply circuit from being damaged by excessive current, and protecting equipment and systems from potential fire hazards. In addition, a voltage regulator diode is also set in parallel with the resistor and the light-emitting diode in the power supply circuit, which can effectively ensure that the voltage of the resistor and the light-emitting diode will not change when the current changes. In addition, a first capacitor and a second capacitor are also set in the power supply circuit. The first capacitor and the second capacitor are both connected in parallel with the voltage regulator diode, and the first capacitor is connected in parallel with the second capacitor. By setting the first capacitor and the second capacitor, the voltage can be effectively stabilized and clutter can be filtered out, and voltage spikes and glitches can be eliminated, so that the externally connected pulsating DC power supply becomes a relatively stable DC power supply.

[0049] Exemplarily, the resistor in the power supply circuit can be a 4700 ohm thermistor, the power supply voltage in the power supply circuit can be 12 volts, the first capacitor in the power supply circuit can be a capacitor with a capacitance of 100uf and a maximum operating voltage of 35 volts, and the second capacitor in the power supply circuit can also be a capacitor with a capacitance of 100uf and a maximum operating voltage of 35 volts.

[0050] From the above, it can be seen that this embodiment sets a voltage-stabilizing diode to ensure that the voltage of the resistor and the light-emitting diode will not change when the current changes, and sets a first capacitor and a second capacitor in parallel with the voltage-stabilizing diode, which can effectively stabilize the voltage and filter out noise, eliminate voltage spikes and glitches, and turn the externally connected pulsating DC power supply into a relatively stable DC power supply.

[0051] In addition, the USB test function module also includes a voltage distribution circuit, which includes a first step-down module and a second step-down module. The power supply circuit is electrically connected to the first step-down module for providing a power supply voltage to the first step-down module. The first step-down module is also electrically connected to the USB conversion module for reducing the power supply voltage to a first voltage and then outputting it to the USB conversion module; the second step-down module is electrically connected between the first step-down module and the control module for reducing the first voltage to a second voltage and then outputting it to the control module.

[0052] The voltage distribution circuit adopts a multi-stage step-down method, please refer to Figure 4 , Figure 4 is a schematic diagram of a buck circuit provided by an exemplary embodiment of the present application. Figure 4 As shown, a first step-down module is set to first reduce the supply voltage to a first voltage, and the first voltage output by the first step-down module is output to the USB conversion module after passing through a voltage regulator diode, thereby providing a stable first voltage for the USB conversion module. Figure 5 , Figure 5 FIG. 1 is a schematic diagram of a buck circuit provided by another exemplary embodiment of the present application. Figure 5 As shown, the second buck module is arranged between the first buck module and the control module, and the second buck module steps down the first voltage output by the first buck module to obtain a second voltage and outputs it to the control module, providing a stable second voltage for the control module. The control module and the second buck module are both outputted by voltage stabilization diodes.

[0053] For example, the supply voltage may be 12 volts, the first voltage may be 5 volts, and the second voltage may be 3.5 volts. The first step-down module may be a TPS54331 chip, the second step-down module may be an AMS1117 regulator, and the control module may also be a STM32F103RBT6 microcontroller.

[0054] In an exemplary embodiment, the first USB conversion unit includes a USB 2.0 conversion chip, an input pin of the USB 2.0 conversion chip is connected to the first type input interface, and an output pin of the USB 2.0 conversion chip is connected to the first type output interface.

[0055] Specifically, the first USB conversion unit can be a USB2.0 conversion chip, an HDMI conversion chip, an Ethernet conversion chip, etc. The USB2.0 conversion chip can be a HD3SS6126 USB chip, such as Figure 6 As shown, Figure 6 is a schematic diagram of the structure of a USB2.0 conversion chip provided by an exemplary embodiment of the present application. In addition, the first type of input interface can be a USB flash drive, and the first type of output interface can be a TV motherboard, such as Figure 7 As shown, Figure 7 This is a schematic diagram of the structure of the motherboard side and the USB disk side provided by an exemplary embodiment of the present application. The input pins of the HD3SS6126USB chip can be connected to the HSC(N) pin and HSC(P) pin of the USB disk side, or to the HSB(N) pin and HSB(P) pin of the USB disk side, or to the HSC(N) pin, HSC(P) pin, HSB(N) pin and HSB(P) pin of the USB disk side; the output pins of the HD3SS6126USB chip can be connected to the HSA(N) pin and HSA(P) pin of the TV motherboard side.

[0056] The power supply relay, short-circuit relay and USB2.0 conversion chip can realize the automatic switching of peripherals. The power supply relay is connected to the first type output interface and the first type input interface respectively. The power supply relay can control the first type output interface to be connected to the first type input interface; the short-circuit relay is connected to the USB2.0 conversion chip. The short-circuit relay can control the USB2.0 conversion chip to perform a short-circuit test. Figure 8 As shown, Figure 8 It is a schematic diagram of the structure of a power supply relay and a short-circuit relay provided by an exemplary embodiment of the present application. Specifically, the power supply relay can be a relay of model RY703, and the short-circuit relay can be a relay of model RY704.

[0057] Among them, the first type of output interface selects the TV mainboard end, and the first type of input interface selects the U disk end, and the power supply relay can control the interface of the TV mainboard end and the U disk end to be connected.

[0058] See also Fig. 9 , Fig. 9 FIG. 1 is a control flow chart of peripheral switching provided by an exemplary embodiment of the present application. Fig. 9 As shown, the control process of peripheral switching includes the following steps:

[0059] S910, control the short-circuit relay to disconnect;

[0060] S920, control the power supply relay to close;

[0061] S930, pull up the USB2.0 converter chip enable pin;

[0062] S940, configure the SEL pin high and low level;

[0063] S950, turn on the USB2.0 conversion chip enable pin.

[0064] These five steps are described in detail below.

[0065] The TV motherboard and the USB flash drive need to be powered on at the same time through a power supply relay, and the control module is used to control the channel selection to achieve the switching of peripherals. In terms of program design, first pull down the short-circuit relay power supply end to prevent the USB2.0 conversion chip interface from short-circuiting, and then control the power supply relay to be attracted; then pull up the USB2.0 conversion chip enable pin to make the USB2.0 conversion chip uncontrolled, and then control the SEL pin on the USB2.0 conversion chip to output a high or low level, and finally open the enable pin to allow the USB2.0 conversion chip to work normally, and then switch the peripheral to the required channel.

[0066] As can be seen from the above, this embodiment adopts a USB2.0 conversion chip and connects the input pin of the USB2.0 conversion chip to the first type input interface, and connects the output pin of the USB2.0 conversion chip to the first type output interface, so that the first type input interface can be automatically switched, thereby improving the switching efficiency.

[0067] In another exemplary embodiment, the second USB conversion unit includes a USB 3.0 conversion chip, an input pin of the USB 3.0 conversion chip is connected to the second type input interface, and an output pin of the USB 3.0 conversion chip is connected to the second type output interface.

[0068] Specifically, the second USB conversion unit can be a USB3.0 conversion chip, an HDMI conversion chip, an Ethernet conversion chip, etc. Among them, the USB3.0 conversion chip can be the same as the USB2.0 conversion chip, and both use the HD3SS6126USB chip, such as Fig.10 As shown, Fig.10 is a schematic diagram of the structure of a USB 3.0 conversion chip provided by an exemplary embodiment of the present application. In addition, the second type of input interface can be a hard disk, and the second type of output interface can be a TV motherboard, such as Fig.11 As shown, Fig.11 This is a schematic diagram of the structure of the motherboard side and the hard disk side provided by an exemplary embodiment of the present application. The HD3SS6126USB chip can be used to realize the conversion of the hard disk end interface and the TV motherboard end interface.

[0069] The hard disk interface includes TX channel and RX channel. The TX channel corresponds to the SSB0(n) pin and SSB0(p) pin of the HD3SS6126USB chip. The RX channel corresponds to the SSB1(n) pin and SSB1(p) pin of the HD3SS6126USB chip. The D+ and D- signals are connected to the HSB(N) pin and HSB(P) pin of the HD3SS6126USB chip respectively.

[0070] The TV motherboard interface also includes TX channel and RX channel. The TX channel corresponds to the SSA0(n) pin and SSA0(p) pin of the HD3SS6126USB chip, and the RX channel corresponds to the SSA1(n) pin and SSA1(p) pin of the HD3SS6126USB chip. The D+ and D- signals are connected to the HSA(N) pin and HSA(P) pin of the HD3SS6126USB chip respectively.

[0071] In addition, an additional USB 3.0 interface is provided on the HD3SS6126USB chip for function expansion.

[0072] As can be seen from the above, this embodiment adopts a USB3.0 conversion chip and connects the input pin of the USB3.0 conversion chip to the second type input interface, and connects the output pin of the USB3.0 conversion chip to the second type output interface, so that the second type input interface can be automatically switched, thereby improving the switching efficiency.

[0073] In an exemplary embodiment, the USB test function module further includes a short circuit function module, which is connected between the peripheral input interface module and the peripheral output interface module and is used for short circuit testing between the peripheral input interface module and the peripheral output interface module.

[0074] Specifically, the short-circuit function module can perform short-circuit function tests on USB2.0 conversion chips and USB3.0 conversion chips. For the short-circuit function test on USB2.0 conversion chips, the RY704 relay can be selected as the short-circuit relay, and the RY703 relay can be selected as the power supply relay. Figure 8 As shown in the figure; the short-circuit function test of the USB3.0 conversion chip can select the RY705 model relay as the short-circuit relay; select the RY502 model relay as the power supply relay, as shown in the figure. Fig.12 As shown, Fig.12 This is a schematic diagram of the structure of a power supply relay and a short-circuit relay provided by another exemplary embodiment of the present application. The RY704 model relay is used to control the USB2.0 conversion chip to short-circuit the positive and negative poles, thereby realizing the short-circuit function test of the USB2.0 conversion chip; the RY705 model relay is used to control the USB3.0 conversion chip to short-circuit the positive and negative poles, thereby realizing the short-circuit function test of the USB3.0 conversion chip.

[0075] See also Fig.13 , Fig.13 : is a control flow chart of a short circuit test provided by an exemplary embodiment of the present application. Fig.13 As shown in the figure, the control process of the short circuit test includes the following steps:

[0076] S1310, pull high the USB conversion module enable pin;

[0077] S1320, control power supply relay disconnection;

[0078] S1330, controls the short-circuit relay to close.

[0079] These three steps are described in detail below.

[0080] Specifically, the USB conversion module includes a USB2.0 conversion chip and a USB2.0 conversion chip. When the control performs a short-circuit function test on the USB2.0 conversion chip, the enable pin of the USB2.0 conversion chip is pulled high. When the control performs a short-circuit function test on the USB3.0 conversion chip, the enable pin of the USB3.0 conversion chip is pulled high. By pulling up the enable pin of the USB conversion module, the connection between the TV mainboard end and the peripheral end can be disconnected.

[0081] When the control performs a short-circuit function test on the USB2.0 conversion chip, the power supply relay of the RY703 model is subsequently controlled to be disconnected, so that the interface on the TV mainboard end is disconnected from the interface on the USB disk end, to prevent damage to the USB disk at the interface end due to the short-circuit function being turned on, and finally the short-circuit relay of the RY704 model is controlled to be energized, thereby realizing the short-circuit function test of the USB2.0 conversion chip.

[0082] When the control performs a short-circuit function test on the USB3.0 conversion chip, the power supply relay of the RY502 model is subsequently controlled to be disconnected, so that the interface on the TV mainboard end is disconnected from the interface on the hard disk end, to prevent damage to the hard disk at the interface end due to the short-circuit function being turned on, and finally the short-circuit relay of the RY705 model is controlled to be energized, thereby realizing the short-circuit function test of the USB3.0 conversion chip.

[0083] In an exemplary embodiment, the USB test function module further includes a communication module, which is electrically connected to the control module and is used to transmit the control instructions sent by the host computer to the control module.

[0084] Specifically, the URAT protocol can be selected in the communication design, and the RS-232 interface can be used for communication. The communication between the upper computer and the lower computer can be realized by programming the STM32F103RBT6 microcontroller, thereby completing the transmission of control instructions. The control instructions of the module can be shown in Table 1:

[0085]

[0086] Table 1

[0087] Please refer to Table 1. When the operator sends the command "AA A8 01 01AA BB" on the upper computer, the lower computer replies with the command "AA A8 01 01'O'AX BB", thereby realizing the U disk switching function; when the operator sends the command "AA A8 01 02AB BB" on the upper computer, the lower computer replies with the command "AA A8 01 02'O'AX BB", thereby realizing the U disk recovery function; when the operator sends the command "AA A8 02 01AB BB" on the upper computer, the lower computer replies with the command "AA A8 0201'O'AX BB", thereby realizing the USB2.0 short circuit function; when the operator sends the command "AA A8 02 02ACBB" on the upper computer, the lower computer replies with the command "AA A8 02 02'O'AX BB", thereby realizing the USB2.0 short circuit recovery function; when the operator sends the command "AA A8 02 02ACBB" on the upper computer, the lower computer replies with the command "AA A8 02 02'O'AX BB", thereby realizing the USB2.0 short circuit recovery function. A8 03 01AC BB", the lower computer replies with the command "AA A8 03 01'O'AXBB", thereby realizing the USB3.0 short-circuit function; when the operator sends the command "AA A8 03 02AD BB" on the upper computer, the lower computer replies with the command "AA A8 03 02'O'AX BB", thereby realizing the USB3.0 short-circuit recovery function.

[0088] From the above, it can be seen that this embodiment develops a communication module for communicating with the host computer, which can realize the control instructions sent by the host computer so that the control module controls the switching of external devices connected to the USB interface integrated on the TV motherboard, thereby reducing the waiting time of functional testing and improving the efficiency of functional testing.

[0089] Those skilled in the art will readily come up with other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0090] It should be understood that the above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.

Claims

1. A USB test function module, It is characterized in that Used to test the USB interface integrated on the TV motherboard, including: Peripheral input interface module, used to connect multiple external devices; A peripheral output interface module, used for connecting to the USB interface integrated on the TV mainboard; A USB conversion module, electrically connected between the peripheral input interface module and the peripheral output interface module, for implementing the adaptation between the peripheral input interface module and the peripheral output interface module; The control module is electrically connected between the peripheral input interface module and the peripheral output interface module, and is used for controlling the switching of external devices connected to the USB interface integrated on the TV mainboard.

2. The USB test function module according to claim 1, It is characterized in that The peripheral input interface module includes a first type input interface and a second type input interface, the peripheral output interface module includes a first type output interface and a second type output interface, and the USB conversion module includes a first USB conversion unit and a second USB conversion unit; The first USB conversion unit is electrically connected between the first type input interface and the first type output interface, and the second USB conversion unit is electrically connected between the second type input interface and the second type output interface.

3. The USB test function module according to claim 2, It is characterized in that The number of the first type input interface is at least one, and the interface type of the first type input interface includes at least one of a serial port and a USB flash drive; The number of the second type input interface is at least one, and the interface type of the second type input interface includes a hard disk.

4. The USB test function module according to claim 2, It is characterized in that The first USB conversion unit comprises a USB2.0 conversion chip, an input pin of the USB2.0 conversion chip is connected to the first type input interface, and an output pin of the USB2.0 conversion chip is connected to the first type output interface.

5. The USB test function module according to claim 2, It is characterized in that The second USB conversion unit comprises a USB 3.0 conversion chip, an input pin of the USB 3.0 conversion chip is connected to the second type input interface, and an output pin of the USB 3.0 conversion chip is connected to the second type output interface.

6. The USB test function module according to claim 1, It is characterized in that The USB test function module also includes a communication module, which is electrically connected to the control module and is used to transmit the control instructions sent by the host computer to the control module.

7. The USB test function module according to claim 1, It is characterized in that The USB test function module further includes a voltage distribution circuit, and the voltage distribution circuit includes: A first step-down module, electrically connected to the USB conversion module, for reducing the supply voltage to a first voltage and then outputting it to the USB conversion module; The second step-down module is electrically connected between the first step-down module and the control module, and is used for reducing the first voltage to a second voltage and then outputting it to the control module.

8. The USB test function module according to claim 7, It is characterized in that The USB test function module further includes a power supply circuit, which is electrically connected to the first step-down module and is used to provide the power supply voltage to the first step-down module.

9. The USB test function module according to claim 8, It is characterized in that The power supply circuit comprises: A fuse, a resistor and a light emitting diode connected in series in sequence; A voltage stabilizing diode connected in parallel with the resistor and the light emitting diode; A first capacitor and a second capacitor are connected in parallel with the voltage stabilizing diode, and the first capacitor is connected in parallel with the second capacitor.

10. The USB test function module according to claim 1, It is characterized in that The USB test function module also includes a short circuit function module, which is connected between the peripheral input interface module and the peripheral output interface module and is used for short circuit testing between the peripheral input interface module and the peripheral output interface module.