Test fixture and test system
By integrating the signal input interface, voltage detection module and UART conversion USB chip test fixture, it solves the problem of difficulty in quickly locating the cause of abnormalities in solid-state drive testing, achieves efficient analysis of abnormal causes, and improves testing efficiency.
Patent Information
- Application Number
- CN202420342864.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-23
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2034-02-23
AI Technical Summary
In the current solid-state drive test, it is difficult to quickly locate the cause of the abnormality through the UART interface, the test efficiency is low, and additional operations may damage the test environment.
A test fixture is designed that integrates the signal input interface, voltage detection module and UART conversion USB chip. It can output the UART signal and voltage signal of the solid-state drive at the same time. The cause of the abnormality is determined through analysis by the data processing equipment to avoid additional operations that damage the test environment.
It improves testing efficiency, facilitates installation, and eliminates the need to destroy the original testing environment. It can quickly locate the cause of SSD anomalies and determine whether the software is running abnormally or the hardware power supply is unstable.
Smart Images

Figure CN221782676U
Abstract
Description
Technical Field
[0001] The utility model relates to the field of testing, in particular to a testing fixture and a testing system. Background Art
[0002] In the test scenario of a solid state disk (SSD), the relevant technology generally prints logs through the Universal Asynchronous Receiver / Transmitter (UART) interface to confirm the software running status of the SSD. For example, Figure 1 As shown, the solid state drive is connected to the working computer via a UART to USB interface circuit board, the UART signal of the solid state drive is converted into a USB signal via the UART to USB interface circuit board, and the USB signal is analyzed by the working computer to analyze the UART information of the solid state drive to determine whether there is an abnormality in the solid state drive.
[0003] In actual test scenarios, UART information cannot fully reflect the cause of SSD abnormalities. In order to fully determine the cause of SSD abnormalities, when UART information indicates that the SSD is abnormal, relevant technologies need to further test whether the voltage signal of the SSD is abnormal, so as to determine whether the cause of the SSD abnormality is abnormal software operation or unstable hardware power supply.
[0004] However, using Figure 1 The related technologies cannot quickly locate the cause of the abnormality of the solid state drive and have the problem of low testing efficiency. Figure 1 When the scheme shown tests the UART information of the solid-state drive, once it is found that the UART information shows that the test solid-state drive software is running abnormally, it is necessary to further determine whether the voltage signal of the solid-state drive at the time of the abnormality is normal. Therefore, in order to test the voltage signal of the solid-state drive, it is necessary to perform additional operations such as flying wires and adding solder to the circuit board of the solid-state drive. These additional operations may destroy the original test environment. For example, some pads that were originally poorly soldered are re-soldered, and the soldering will cause the circuit board of the solid-state drive to be contaminated. The test operation is inconvenient, and it is difficult to quickly locate the cause of the abnormality of the solid-state drive. Utility Model Content
[0005] In order to solve the problem that it is difficult to quickly locate the cause of the abnormality of the solid-state hard disk and the test efficiency is low in the related art, the present application provides a test fixture and a test system, which can output the UART signal (test software operation status) and voltage signal (test hardware power supply working status) of the solid-state hard disk through the test fixture, and can quickly determine that the cause of the abnormality of the solid-state hard disk is the software operation abnormality prompted by the UART information or the unstable hardware power supply, thereby improving the test efficiency.
[0006] In a first aspect, an embodiment of the present application provides a test fixture, comprising:
[0007] Signal input interface, voltage detection module, UART to USB chip and signal output interface;
[0008] The signal input interface is connected to the voltage detection module and the UART conversion USB chip respectively, and the voltage detection module and the UART conversion USB chip are connected to the signal output interface respectively;
[0009] The signal input interface is used to receive serial port signals from the solid state drive. The serial port signals include UART signals and voltage signals.
[0010] The voltage detection module is used to detect the voltage signal and output the voltage signal to the signal output interface in USB format;
[0011] The UART-to-USB chip is used to convert the UART signal into a UART signal in USB format, and output the UART signal in USB format to the signal output interface;
[0012] The signal output interface is used to output voltage signals in USB format and UART signals in USB format.
[0013] In a second aspect, an embodiment of the present application provides a test system, comprising: a solid-state hard disk, the test fixture described in the first aspect, and a data processing device; the signal input interface of the test fixture is connected to the tail interface of the solid-state hard disk through an adapter cable, and the signal output interface of the test fixture is connected to the data processing device through an adapter cable; the data processing device is used to determine the cause of the abnormality of the solid-state hard disk based on the USB format voltage signal and USB format UART signal output by the signal output interface of the test fixture.
[0014] In the utility model, the test fixture includes a signal input interface, a voltage detection module, a UART conversion USB chip and a signal output interface; the signal input interface is connected to the voltage detection module and the UART conversion USB chip respectively, and the voltage detection module and the UART conversion USB chip are connected to the signal output interface respectively; the signal input interface is used to receive a serial port signal from a solid state drive, and the serial port signal includes a UART signal and a voltage signal; the voltage detection module is used to detect the voltage signal, and output the voltage signal to the signal output interface in USB format; the UART conversion USB chip is used to convert the UART signal into a UART signal in USB format, and output the UART signal in USB format to the signal output interface; the signal output interface is used to output a voltage signal in USB format and a UART signal in USB format. In this way, the UART signal and the voltage signal of the solid state drive under test can be output together through the test fixture, and the software running status and the hardware power supply working status of the solid state drive under test can be determined at the same time, so as to determine whether the abnormality of the solid state drive is caused by abnormal software running or unstable hardware power supply, and the test fixture is easy to install, and there is no need to destroy the original test environment, and the problem can be quickly located, thereby improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the embodiments of the present invention and do not constitute an improper limitation on the present invention. In the drawings:
[0016] Figure 1 A schematic diagram of using a UART to USB interface circuit board to test a solid state drive for related technology;
[0017] Figure 2 A schematic diagram of using a test fixture to test a solid state drive according to an embodiment of the present application;
[0018] Figure 3 A structural schematic diagram of a test fixture provided in an embodiment of the present application;
[0019] Figure 4 A structural schematic diagram of another test fixture provided in an embodiment of the present application;
[0020] Figure 5 A schematic flow chart of voltage detection performed by a voltage detection module in a test fixture provided in an embodiment of the present application;
[0021] Figure 6 A structural schematic diagram of another test fixture provided in an embodiment of the present application;
[0022] Figure 7 for Figure 6A structural schematic diagram of a voltage follower circuit in a test fixture shown;
[0023] Figure 8 A structural schematic diagram of another test fixture provided in an embodiment of the present application;
[0024] Fig. 9 A structural schematic diagram of another test fixture provided in an embodiment of the present application;
[0025] Fig.10 A structural schematic diagram of another test fixture provided in an embodiment of the present application;
[0026] Fig.11 A structural schematic diagram of another test fixture provided in an embodiment of the present application;
[0027] Fig.12 A structural schematic diagram of a signal input interface in a test fixture provided in an embodiment of the present application;
[0028] Fig.13 A schematic diagram of using a test fixture to test a solid-state drive in an actual application provided by an embodiment of the present application;
[0029] Fig.14 A structural schematic diagram of a test system provided in an embodiment of the present application.
[0030] Description of reference numerals:
[0031] 10-test system; 100-test fixture; 110-signal input interface; 120-voltage detection module; 1201-analog-to-digital conversion circuit; 1202-microprocessor; 1203-digital-to-analog conversion circuit; 1204-voltage follower circuit; R1-first resistor, R2-second resistor; R3-third resistor; R4-fourth resistor; R5-fifth resistor; U1-operational amplifier; VCC5V-power supply; C1-capacitor; 130-UART conversion USB chip; 140-signal output interface; 150-level conversion circuit; 160-JTAG standard interface; 170-USB hub; 200-solid state drive; 300-data processing equipment; 400-JTAG debugging board. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly described below in conjunction with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0033] The term "first" or "second" in the specification and claims of this application may include one or more of the features explicitly or implicitly. In the description of this application, unless otherwise specified, "plurality" means two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects connected before and after are in an "or" relationship.
[0034] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0035] As described in the background technology, in the test scenario of the solid-state drive, the related technology generally prints logs through the UART interface to confirm the software running status of the solid-state drive. Figure 1 As shown, the UART to USB solution is currently used more frequently. The solid state drive is connected to the working computer through the UART to USB interface circuit board, and the UART to USB interface circuit board converts the UART signal of the solid state drive into a USB signal. The working computer analyzes the USB signal to analyze the running information of the test software of the solid state drive to determine whether there is any abnormality in the solid state drive test.
[0036] However, in actual test scenarios, the related technology only has the UART information of the SSD under test, and it is difficult to fully determine the cause of the abnormality of the SSD under test. For example, when the UART information shows that the SSD under test has a software operation abnormality, it is also necessary to determine whether one or more voltage signals of the SSD under test are unstable at the abnormal moment, so as to determine whether the cause of the abnormality of the SSD is the software operation abnormality or the hardware power supply instability.
[0037] In actual applications, for some test scenarios that are difficult to reproduce, in order to test the voltage signal of the SSD (i.e., to test whether the hardware power supply is unstable), the relevant technology generally requires additional operations such as flying wires and adding solder to the SSD circuit board. These additional operations may destroy the original test environment. For example, some pads that were originally poorly soldered may be re-soldered, and soldering may cause contamination of the SSD circuit board, etc. Therefore, Figure 1 The related technologies shown have the disadvantages of inconvenient test operation and low test efficiency, and it is difficult to quickly locate the cause of the abnormality of the solid state drive.
[0038] Based on this, a test fixture provided in an embodiment of the present application is as follows: Figure 2 As shown, the SSD voltage detection function and the SSD test UART signal are integrated into the test fixture, and the test interface at the rear end of the circuit board of the solid-state drive is connected to the working computer through the test fixture. The test fixture can receive the UART signal and voltage signal from the solid-state drive at the same time, and output the UART signal and voltage signal to the working computer in USB format. The UART information and voltage signal of the solid-state drive are analyzed by the working computer, and it is determined that the cause of the abnormality of the solid-state drive is the abnormal software operation prompted by the UART information, or the unstable hardware power supply reflected by the abnormal voltage signal. The test fixture is easy to install without destroying the original test environment, and the problem can be quickly located, thereby improving the test efficiency.
[0039] The technical solution provided by the utility model is described in detail below in conjunction with the accompanying drawings.
[0040] Figure 3 A structural schematic diagram of a test fixture provided in an embodiment of the present application.
[0041] like Figure 3 As shown, the test fixture 100 provided in the embodiment of the present application may include:
[0042] Signal input interface 110, voltage detection module 120, UART to USB chip 130 and signal output interface 140;
[0043] The signal input interface 110 is connected to the voltage detection module 120 and the UART conversion USB chip 130 respectively, and the voltage detection module 120 and the UART conversion USB chip 130 are connected to the signal output interface 140 respectively;
[0044] The signal input interface 110 is used to receive serial port signals from the solid state drive, and the serial port signals include UART signals and voltage signals;
[0045] The voltage detection module 120 is used to detect the voltage signal and output the voltage signal to the signal output interface 140 in USB format;
[0046] The UART-to-USB chip 130 is used to convert the UART signal into a UART signal in USB format, and output the UART signal in USB format to the signal output interface 140;
[0047] The signal output interface 140 is used to output a voltage signal in a USB format and a UART signal in a USB format.
[0048] In the embodiment of the present application, the circuit board of the test fixture 100 may be a soft flat cable or a flexible circuit board, and the present application does not limit this.
[0049] In the embodiment of the present application, the signal input interface 110 can be connected to the test interface at the rear end of the solid state drive to be tested, and is used to receive multiple serial port signals from the solid state drive, wherein the multiple serial port signals can include at least one UART signal and at least one voltage signal.
[0050] For example, in actual applications, in a specific model of solid-state drive, multiple serial port signals may include two UART signals: UART_RX signal and UART_TX signal, and five voltage signals: Vcore signal, M2_3V3 signal, FVDD signal, FVCC signal and VIO signal.
[0051] Of course, in other embodiments, the specific number of UART signals and the specific number of voltage signals can be set according to actual needs, and this application does not impose any specific restrictions on this.
[0052] In the embodiment of the present application, the voltage detection module 120 can detect the voltage signal and output the voltage signal in USB format to the signal output interface 140. The UART conversion USB chip 130 can convert the UART signal into a UART signal in USB format and output the UART signal in USB format to the signal output interface 14.
[0053] The signal output interface 14 can be connected to a data processing device such as a personal computer, a work computer, etc., and output a voltage signal in a USB format and a UART signal in a USB format to the data processing device.
[0054] The signal output interface 140 includes a USB interface, such as a USB Type C interface, or other USB type interfaces, which are not specifically limited in the present application.
[0055] It should be pointed out that the test fixture integrates the UART interface and voltage detection function, and can output the UART signal and voltage signal of the test solid-state drive at the same time, so as to determine whether the cause of the abnormality of the solid-state drive is the abnormal software operation prompted by the UART information, or the unstable hardware power supply reflected by the voltage signal. The test fixture is easy to install without destroying the original test environment, and can quickly locate the problem, thereby improving the test efficiency.
[0056] It is understandable that the abnormal UART information of the solid state drive (i.e., the UART information indicates / displays that the test software is running abnormally) can reflect that the abnormal SSD is caused by the abnormal software running of the solid state drive. The abnormality of at least one voltage signal of the solid state drive can reflect that the abnormal SSD is caused by the unstable hardware power supply of the solid state drive.
[0057] Based on this, in actual applications, when the voltage of the SSD is abnormal, it can be understood that the abnormality of the SSD is caused by hardware abnormality (such as unstable hardware power supply). When the voltage of the SSD is normal and the UART information of the SSD is abnormal, it can be understood that the abnormality of the SSD is caused by abnormal software operation.
[0058] According to the test fixture provided by the embodiment of the present application, it includes a signal input interface, a voltage detection module, a UART conversion USB chip and a signal output interface; the signal input interface is connected to the voltage detection module and the UART conversion USB chip respectively, and the voltage detection module and the UART conversion USB chip are connected to the signal output interface respectively; the signal input interface is used to receive a serial port signal from a solid state drive, and the serial port signal includes a UART signal and a voltage signal; the voltage detection module is used to detect the voltage signal and output the voltage signal to the signal output interface in USB format; the UART conversion USB chip is used to convert the UART signal into a UART signal in USB format, and output the UART signal in USB format to the signal output interface; the signal output interface is used to output a voltage signal in USB format and a UART signal in USB format. In this way, the UART signal and the voltage signal of the solid state drive under test can be output together through the test fixture, and the software running status and the hardware power supply working status of the solid state drive under test can be determined at the same time, so as to determine whether the abnormality of the solid state drive is caused by abnormal software operation or unstable hardware power supply, and the test fixture is easy to install, without destroying the original test environment, and the problem can be quickly located, thereby improving the test efficiency.
[0059] In a specific embodiment, in order to accurately test whether the voltage signal of the solid state drive is abnormal, such as Figure 4 As shown, in the test fixture provided in the embodiment of the present application, the voltage detection module 120 may include: an analog-to-digital conversion circuit 1201, a microprocessor 1202 and a digital-to-analog conversion circuit 1203;
[0060] The signal input interface 110 is connected to the analog-to-digital conversion circuit 1201, the analog-to-digital conversion circuit 1201 is connected to the microprocessor 1202, the microprocessor 1202 is connected to the digital-to-analog conversion circuit 1203, and the digital-to-analog conversion circuit 1203 is connected to the signal output interface 140;
[0061] The analog-to-digital conversion circuit 1201 is used to sample the voltage signal to obtain a sampled voltage value;
[0062] The microprocessor 1202 is used to compare and calculate the sampled voltage value obtained by sampling with the preset voltage value, and output the sampled voltage value to the digital-to-analog conversion circuit 1203 when the difference between the sampled voltage value and the preset voltage value is within a preset range;
[0063] The digital-to-analog conversion circuit 1203 is used to convert the sampled voltage value into an analog voltage signal, and output the analog voltage signal to the signal output interface 140 in a USB format.
[0064] In addition, when the voltage signal of the solid-state hard disk is abnormal, the microprocessor 1202 can also be used to generate a voltage abnormality signal when the difference between the sampled voltage value and the preset voltage value is outside the preset range, output the sampled voltage value to the digital-to-analog conversion circuit 1203, and output the voltage abnormality signal in USB format to the signal output interface 140.
[0065] For example, in practical applications, a single-chip microcomputer can be used as the voltage detection module 120, and the single-chip microcomputer can integrate modules such as an analog-to-digital conversion circuit 1201, a microprocessor 1202, and a digital-to-analog conversion circuit 1203 to improve the integration of the test fixture.
[0066] Among them, the 12-bit analog / digital conversion circuit inside the microcontroller samples and identifies the input voltage signal, and the analog / digital conversion circuit detects whether the sampled voltage value fluctuates, and the detection result is output in real time in the format of a USB signal.
[0067] Among them, the analog / digital conversion circuit of the single-chip microcomputer samples and processes the voltage. This process mainly includes two steps: sampling and holding and quantization encoding. The voltage signal of this solution can include five channels, which enter the five analog / digital conversion channels of the analog / digital conversion circuit respectively, and are transmitted to the internal microprocessor through the bus for the next step of calculation and processing.
[0068] Among them, the microprocessor inside the single-chip computer implements the voltage comparison process, compares and calculates the identified sampled voltage value with the preset voltage value, and judges the calculation result: if the difference between the two is within the preset range, the sampled voltage value is considered normal, and the single-chip computer outputs the detected voltage value; if the calculated difference is outside the preset range, the voltage signal is considered abnormal, and the voltage abnormality signal "PWR ERR" is output, and the detected abnormal voltage value is output. This solution can set the preset range to ±5% of the preset voltage value (i.e., the normal voltage value) according to actual needs.
[0069] Among them, for the MCU output information, the data compared in the previous process is a digital value, the analog / digital conversion circuit output is a 12-bit digital value, and the judgment standard set inside the MCU is also a digital value. After the comparison is completed, the digital value can be converted into an analog voltage value that is easy to view and then output through the digital / analog conversion circuit.
[0070] The voltage information output by the single-chip microcomputer (which may include the sampled voltage value and the voltage abnormality signal) is output as an analog voltage signal in USB format through the USB interface of the single-chip microcomputer, and finally passes through the signal output interface 140 of the test fixture.
[0071] For example, Figure 5 As shown, when a single-chip microcomputer is used as the voltage detection module 120, the working steps of the voltage detection module 120 include: initializing the GPIO (General-Purpose IO ports) of the ADC (Analog-to-Digital Converter) circuit; initializing the parameters of the ADC; collecting the voltage signal from the signal input interface through the ADC; determining through the microprocessor whether the voltage signal is within a preset range, and when the voltage signal is within the preset range, outputting the voltage value in USB format; and when the voltage signal is outside the preset range, outputting a voltage abnormality signal "PWR ERR" and outputting the abnormal voltage value in USB format.
[0072] In this way, the analog-to-digital conversion circuit 1201, the microprocessor 1202 and the digital-to-analog conversion circuit 1203 can be used to detect whether the voltage signal is abnormal. When the voltage signal is abnormal, the abnormal voltage signal and the abnormal voltage value are output to determine whether the hardware power supply working condition of the solid state drive is abnormal.
[0073] In another specific embodiment, in order to avoid the influence on the original circuit of the circuit board of the solid state drive under test when collecting the voltage signal, Figure 6 As shown, in the test fixture provided in the embodiment of the present application, the voltage detection module 120 further includes: a voltage follower circuit 1204; the signal input interface 110 is connected to the analog-to-digital conversion circuit 1201 via the voltage follower circuit 1204;
[0074] The voltage follower circuit 1204 includes an operational amplifier circuit with a voltage gain of 1.
[0075] In the embodiment of the present application, the voltage follower circuit 1204 may be an operational amplifier with a voltage gain of 1 constructed using an operational amplifier U1.
[0076] For example, Figure 7 As shown, the input terminal A of the voltage follower circuit 1204 can be connected to the signal input interface 110, and the output terminal B of the voltage follower circuit 1204 can be connected to the input terminal of the analog-to-digital conversion circuit 1201. The voltage follower circuit 1204 may include a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, an operational amplifier U1, a power supply VCC5V and a capacitor C1.
[0077] Among them, the input terminal A of the voltage follower circuit 1204 is grounded through the first resistor R1 and the second resistor R2, the first input terminal of the operational amplifier U1 is connected to the input terminal A of the voltage follower circuit 1204 through the third resistor R3 and the first resistor R1, the second input terminal of the operational amplifier U1 is connected to the output terminal of the operational amplifier U1 through the fourth resistor R4, and the output terminal of the operational amplifier U1 is grounded through the fifth resistor R5; the output terminal of the operational amplifier U1 is connected to the output terminal B of the voltage follower circuit 1204, and the power supply VCC5V is grounded through the capacitor C1 and supplies power to the operational amplifier U1.
[0078] In this way, since the voltage follower circuit 1204 has a high input impedance and consumes very little current, it will not affect the original circuit of the circuit board of the solid state drive being tested.
[0079] In another specific embodiment, Figure 8 As shown, in order to match the input level in the working mode of the UART conversion USB chip 130, the test fixture provided by the embodiment of the present application may also include a level conversion circuit 150;
[0080] The signal input interface 110 is connected to the UART-to-USB chip 130 via the level conversion circuit 150;
[0081] The level conversion circuit 150 is used to perform level conversion processing on the UART signal to obtain a UART signal after level conversion;
[0082] The UART-to-USB chip 130 is specifically used to perform format conversion processing on the UART signal after level conversion to obtain a UART signal in USB format, and output the UART signal in USB format to the signal output interface 140 .
[0083] For example, in actual applications, the level of the URAT signal input by the signal input interface 110 is 1.8 V, while the level of the standard URAT signal is 3.3 V. The test fixture first uses the level conversion circuit 150 to convert the level of the URAT signal of the signal input interface 110 from 1.8 V to 3.3 V;
[0084] The UART signal after level conversion is converted into a UART signal in USB format through the UART conversion USB chip 130 .
[0085] In another specific embodiment, the test fixture provided in the embodiment of the present application may also include a JTAG (Joint Test Action Group) function. Fig. 9 or Fig.10As shown, the test fixture provided in the embodiment of the present application further includes a JTAG standard interface 160 , and the serial port signal input by the signal input interface 110 further includes at least one JTAG signal.
[0086] Among them, Fig. 9 As shown, in order to improve the JTAG debugging effect, the signal input interface 110 can be connected to the JTAG standard interface 160 via the level conversion circuit 150;
[0087] The level conversion circuit 150 is further used to perform level conversion processing on the JTAG signal to obtain the JTAG signal after level conversion, and output the JTAG signal after level conversion to the JTAG standard interface.
[0088] For example, in actual applications, the level of the JTAG signal input by the signal input interface 110 is 1.8V, while the level of the standard JTAG signal is 3.3V. The test fixture first uses the level conversion circuit 150 to convert the JTAG signal of the signal input interface 110 from 1.8V to 3.3V; the JTAG signal after the level conversion can be directly connected to the JTAG debugging board through the JTAG standard interface to perform JTAG function debugging.
[0089] Of course, in other embodiments, since the JTAG signal may include multiple channels, at least one JTAG signal may not be level-converted, such as Fig.10 As shown, the signal input interface 110 is directly connected to the JTAG standard interface 160 ; the signal input interface 110 is also used to output the JTAG signal to the JTAG standard interface.
[0090] For example, in an actual application, in a certain model of a solid state drive, the serial port signal may include five JTAG signals: a JTAG_TDI signal, a JTAG_TDO signal, a JTAG_TMS signal, a JTAG_TCK signal, and a JTAG_TRSTN signal.
[0091] Of course, in other embodiments, the specific number of JTAG signals can be set according to actual needs, and this application does not impose any specific limitation on this.
[0092] In this case, the JTAG signal input by the signal input interface 110 can be directly connected to the JTAG debugging board through the JTAG standard interface to perform JTAG function debugging.
[0093] In a specific embodiment, the signal output interface 140 may include a first signal output interface and a second signal output interface (not shown), the voltage detection module is connected to the first signal output interface, and the UART-to-USB chip is connected to the second signal output interface. The voltage signal in USB format and the UART signal in USB format are outputted through the first signal output interface and the second signal output interface, respectively.
[0094] In another specific embodiment, in order to avoid additionally occupying multiple USB interfaces of a data processing device, such as Fig.11 As shown, the test fixture provided in the embodiment of the present application may also include a USB hub 170;
[0095] The voltage detection module 120 is connected to the signal output interface 140 via the USB hub 170 , and the UART conversion USB chip 130 is connected to the signal output interface 140 via the USB hub 170 ;
[0096] The USB hub 170 is used to transfer the voltage signal in USB format and the UART signal in USB format to the same USB signal.
[0097] For example, the two USB signals, the processed UART signal and the voltage detection result, can be transferred to the same USB signal through a USB hub, and finally connected to a USB interface of an external data processing device through a USB interface.
[0098] In this way, the UART signal and the voltage signal of the solid state hard disk during operation are checked simultaneously through one USB interface, thereby improving the integration of the signal output interface 140 and avoiding the additional occupation of multiple USB interfaces of the data processing device.
[0099] In a specific embodiment, the signal input interface 110 includes a plurality of pins, and the plurality of pins are arranged in an asymmetrical double row. Fig.12 As shown, in the test fixture provided in the embodiment of the present application, the signal input interface 110 includes two rows of 13 pins. Among them, the input UART signal includes: UART_RX signal and UART_TX signal, the input JTAG signal includes: JTAG_TDI signal, JTAG_TDO signal, JTAG_TMS signal, JTAG_TCK signal and JTAG_TRSTN signal, and the input voltage signal includes Vcore signal, M2_3V3 signal, FVDD signal, FVCC signal and VIO signal. The 8th pin represents the power ground.
[0100] The signal input interface 110 of the test fixture can be connected to the test interface at the end of the solid-state drive through an adapter cable. The UART signal, JTAG signal and voltage signal to be tested by the solid-state drive are pulled to the test interface at the end of the solid-state drive. The test interface at the end of the solid-state drive can also be in a double-row asymmetric manner. Fig.12 The configuration method of the signal input interface 110 is shown in FIG.
[0101] Among them, the test interface at the end of the solid-state drive can be connected in a snap-on manner, eliminating the welding process. While ensuring a stable signal connection, it avoids board contamination caused by welding.
[0102] Among them, the test interface at the rear end of the solid-state drive can also be connected by other methods such as welding or ejection pins, and this application does not impose any restrictions on this.
[0103] In this way, the two rows of pins on the signal input interface 110 are designed to prevent reverse connection in an asymmetric manner. In addition, one signal input interface 110 can simultaneously input at least one UART signal, at least one JTAG signal, and at least one voltage signal without increasing the number of debugging interfaces and debugging lines of the solid state drive.
[0104] Of course, in other embodiments, the signal input interface 110 may also be connected in the form of pin headers, test points, or other forms, and the present application does not limit this.
[0105] In practical applications, such as Fig.13 As shown, the rear end interface of the solid state drive 200 is connected to the signal input interface of the test fixture 100 through an adapter cable.
[0106] The level of the URAT signal and JTAG signal of the signal input interface is 1.8V, and the standard URAT signal and JTAG signal level is 3.3V;
[0107] The level conversion circuit first converts the URAT signal and JTAG signal of the input interface from 1.8V to 3.3V;
[0108] The UART signal after level conversion is converted into USB signal through the UART to USB converter chip;
[0109] The JTAG signal after level conversion is directly connected to the JTAG debugging board 400 through a standard JTAG interface set on the test fixture. The JTAG debugging board is outside the test fixture.
[0110] The test fixture passes the voltage signal input from the input interface through the voltage follower circuit and then connects it to the single-chip microcomputer for processing; the voltage signal after the voltage follower circuit is input to the single-chip microcomputer, and the 12-bit analog / digital conversion circuit inside the single-chip microcomputer samples and identifies the input voltage signal. The analog / digital conversion circuit detects whether the voltage value fluctuates, and the detection result is output in real time in the format of a USB signal;
[0111] The processed UART signal and the detection voltage result are output as two USB signals and transferred to the same USB signal through the USB hub of the test fixture;
[0112] The USB signal is output through the USB output interface of the test fixture and the USB interface of the external data processing device 300, and the UART signal and voltage signal of the solid state drive when it is running can be checked at the same time.
[0113] The test fixture provided by the embodiment of the present application has the following advantages:
[0114] The test fixture provided in the embodiment of the present application realizes the simultaneous output of the test software running status and the hardware power supply voltage working status of the solid-state hard disk. Once an abnormality occurs in the solid-state hard disk test, the cause of the abnormality can be determined from the output information of the test fixture, whether it is caused by abnormal software operation or unstable hardware power supply voltage.
[0115] The test fixture provided in the embodiment of the present application integrates both UART interface and JTAG interface functions to meet more extensive software testing requirements.
[0116] In the related art, when an abnormal situation occurs during the SSD test, it is necessary to use a multimeter to confirm the power supply voltage value on site; or to monitor with an oscilloscope, and then retest to see if there is any abnormality in the power supply when the abnormal situation reappears. The test fixture provided in the embodiment of the present application is easy to install and operate, and can quickly locate problems, thereby improving test efficiency.
[0117] Based on the same concept as the test fixture provided in the above embodiment, the embodiment of the present application can also provide a test system.
[0118] like Fig.14 As shown, the test system 10 provided in the embodiment of the present application may include: the test fixture 100, the solid state drive 200 and the data processing device 300 provided in any of the above embodiments;
[0119] The signal input interface 110 of the test fixture 100 is connected to the tail end interface of the solid state drive 200 through an adapter cable, and the signal output interface 140 of the test fixture 100 is connected to the data processing device 300 through an adapter cable;
[0120] The data processing device 300 is used to determine the cause of the abnormality of the solid state drive 200 according to the voltage signal in USB format and the UART signal in USB format output by the signal output interface 140 of the test fixture 100 .
[0121] In addition, if Fig.14 As shown, the test system 10 provided in the embodiment of the present application may also include: a JTAG debugging board 400;
[0122] In the case where the test fixture 100 includes a JTAG standard interface, the JTAG standard interface of the test fixture 100 is connected to the JTAG debugging board 400 via a transfer line;
[0123] The JTAG debugging board 400 is used to debug the JTAG function of the solid state drive 200 according to the JTAG signal output by the JTAG standard interface of the test fixture 100 .
[0124] It should be pointed out that the test system provided in the embodiment of the present application can realize all the functions of the test fixture provided in any of the above embodiments and achieve the same effect, which will not be repeated here.
[0125] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the utility model, rather than to limit it. Although the utility model has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solution described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solution from the spirit and scope of the technical solution of the utility model.
Claims
1. A test fixture, characterized in that: include: Signal input interface, voltage detection module, universal asynchronous receiver and transmitter UART conversion USB chip and signal output interface; The signal input interface is connected to the voltage detection module and the UART conversion USB chip respectively, and the voltage detection module and the UART conversion USB chip are connected to the signal output interface respectively; The signal input interface is used to receive a serial port signal from the solid state drive, and the serial port signal includes a UART signal and a voltage signal; The voltage detection module is used to detect the voltage signal and output the voltage signal to the signal output interface in a universal serial bus USB format; The UART-to-USB chip is used to convert the UART signal into a UART signal in USB format, and output the UART signal in USB format to the signal output interface; The signal output interface is used to output a voltage signal in USB format and a UART signal in USB format.
2. The test fixture according to claim 1, characterized in that: The voltage detection module includes: an analog-to-digital conversion circuit, a microprocessor and a digital-to-analog conversion circuit; The signal input interface is connected to the analog-to-digital conversion circuit, the analog-to-digital conversion circuit is connected to the microprocessor, the microprocessor is connected to the digital-to-analog conversion circuit, and the digital-to-analog conversion circuit is connected to the signal output interface; The analog-to-digital conversion circuit is used to sample the voltage signal to obtain a sampled voltage value; The microprocessor is used to compare and calculate the sampled voltage value obtained by sampling with a preset voltage value, and output the sampled voltage value to the digital-to-analog conversion circuit when the difference between the sampled voltage value and the preset voltage value is within a preset range; The digital-to-analog conversion circuit is used to convert the sampled voltage value into an analog voltage signal, and output the analog voltage signal to the signal output interface in a USB format.
3. The test fixture according to claim 2, characterized in that: The microprocessor is also used to generate a voltage abnormality signal when the difference between the sampled voltage value and the preset voltage value is outside a preset range, output the sampled voltage value to the digital-to-analog conversion circuit, and output the voltage abnormality signal in USB format to the signal output interface.
4. The test fixture according to claim 2, characterized in that: The voltage detection module further includes: a voltage follower circuit; the signal input interface is connected to the analog-to-digital conversion circuit via the voltage follower circuit; The voltage follower circuit includes an operational amplifier circuit with a voltage gain of 1.
5. The test fixture according to any one of claims 1 to 4, characterized in that: Also includes: Level conversion circuit; The signal input interface is connected to the UART conversion USB chip via the level conversion circuit; The level conversion circuit is used to perform level conversion processing on the UART signal to obtain a UART signal after level conversion; The UART-to-USB chip is specifically used to perform format conversion processing on the UART signal after the level conversion to obtain a UART signal in USB format, and output the UART signal in USB format to the signal output interface.
6. The test fixture according to claim 5, characterized in that: It also includes a Joint Test Action Group JTAG standard interface; the signal input interface is connected to the JTAG standard interface via the level conversion circuit; The serial port signal also includes a JTAG signal, and the level conversion circuit is further used to perform level conversion processing on the JTAG signal to obtain the JTAG signal after level conversion, and output the JTAG signal after level conversion to the JTAG standard interface.
7. The test fixture according to claim 1, characterized in that: A USB hub is also included; The voltage detection module is connected to the signal output interface via the USB hub, and the UART conversion USB chip is connected to the signal output interface via the USB hub; The USB hub is used to transfer the voltage signal in USB format and the UART signal in USB format to the same USB signal.
8. The test fixture according to claim 1, characterized in that: The signal input interface includes a plurality of pins, and the plurality of pins are arranged in an asymmetrical double row; The signal output interface includes a USB interface.
9. A testing system, characterized in that: include: A solid state drive, a test fixture and a data processing device as claimed in any one of claims 1 to 8; The signal input interface of the test fixture is connected to the tail end interface of the solid state drive through an adapter cable, and the signal output interface of the test fixture is connected to the data processing device through an adapter cable; The data processing device is used to determine the cause of the abnormality of the solid-state hard disk according to the voltage signal in USB format and the UART signal in USB format output by the signal output interface of the test fixture.
10. The test system according to claim 9, characterized in that: Also includes: JTAG debug board; In the case where the test fixture includes a JTAG standard interface, the JTAG standard interface of the test fixture is connected to the JTAG debugging board through a transfer line; The JTAG debugging board is used to debug the JTAG function of the solid state drive according to the JTAG signal output by the JTAG standard interface of the test fixture.
