Triggering jig plate, consistency testing system and consistency testing method
By designing a trigger fixture board, using clock sources, complex programmable logic devices and level conversion modules to process signals, the complex problem of test code transmission in USB3.0 consistency test is solved, and a simple and convenient test process is realized. Efficient testing operations.
Patent Information
- Application Number
- CN202411161611.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-12-17
AI Technical Summary
In USB3.0 consistency testing, the transmission of test patterns is complicated and inconvenient to operate. Especially for system-level users and junior testers, it is difficult to set DUT parameters, resulting in low testing efficiency and complex operation.
A trigger fixture board is designed, including a clock source, complex programmable logic devices, trigger switches and level conversion modules, through these components, processing clock signals and switch signals, generating trigger signals with frequency and level targets for Control the consistency test fixture to realize automatic switching of test pattern.
It greatly reduces the manufacturing cost of test fixtures, simplifies the testing process, reduces the knowledge requirements of operators, realizes simple, effective and convenient consistency testing, and improves testing efficiency.
Smart Images

Figure CN119147851A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of consistency testing, and in particular to a trigger fixture board, a consistency testing system and a consistency testing method. Background Art
[0002] In the USB3.0 physical layer consistency test, in order to obtain better test results, the USB3.0 specification stipulates that different consistency test code types need to be used for different test items. For example, the eye diagram / Tj / Dj measurement needs to use the CP0 consistency test code, the SSC (spread spectrum clock) / Rj measurement needs to use the CP1 test code, the de-emphasis measurement needs the CP7 code, and the differential signal swing test needs the CP8 code type.
[0003] Therefore, when performing different test projects, users are required to set the DUT under test to output the required test pattern, which not only reduces the test efficiency, but also makes it difficult for many system-level users and junior testers to set the DUT parameters.
[0004] In order to make the transmission of test pattern signals during USB 3.0 consistency test simpler and more convenient, the present invention proposes a USB 3.0 consistency test method and implementation scheme to solve the problems of complex transmission of USB 3.0 consistency test pattern and inconvenient operation. Summary of the invention
[0005] In view of the above problems, an embodiment of the present application provides a trigger fixture plate, a consistency test system and a consistency test method to overcome the above problems or at least partially solve the above problems.
[0006] In a first aspect of an embodiment of the present application, a trigger fixture plate is disclosed, comprising:
[0007] Clock sources, complex programmable logic devices, trigger switches, and level conversion modules;
[0008] The clock source is connected to the complex programmable logic device, and the clock source is used to provide a clock signal for the complex programmable logic device;
[0009] A trigger switch connected to the complex programmable logic device, the trigger switch is used to provide a switch signal for the complex programmable logic device;
[0010] The complex programmable logic device is used to process the clock signal provided by the clock source and the switch signal provided by the trigger switch, and output a differential signal with a frequency of a target frequency and a duration of a target time;
[0011] The level conversion module is connected to the output end of the complex programmable logic device, and is used to process the level of the differential signal and output a trigger signal with a target level, a target frequency and a target duration. The trigger signal is used to provide a test control signal for a consistency test fixture of the target interface.
[0012] Optionally, the complex programmable logic device includes: a phase-locked loop module, a differential module and a switch logic module, the differential module is connected to the phase-locked loop module, and the switch logic module is connected to the differential module;
[0013] The phase-locked loop module is used to process the clock signal provided by the clock source and output a clock signal with a target frequency;
[0014] The differential module is used to perform differential processing on the clock signal with a frequency equal to the target frequency, and output a differential signal with a frequency equal to the target frequency;
[0015] The switch logic module is used to process the differential signal with a target frequency according to the switch signal provided to the trigger switch, and output a differential signal with a target frequency and a duration of a target time.
[0016] Optionally, the phase-locked loop module includes: a phase detector, a low-pass filter, a voltage-controlled oscillator and a frequency divider;
[0017] The phase detector is used to compare the phase of the clock signal provided by the clock source with the clock signal outputted from the output end of the phase-locked loop module after passing through the frequency divider, and output a control signal with a phase difference;
[0018] The low-pass filter is used to filter the control signal and output a filtered signal;
[0019] The voltage-controlled oscillator uses the filtered signal output by the low-pass filter as a control voltage. The voltage-controlled oscillator aims to reduce the phase difference between the input signal and the output signal, processes the filtered signal, and outputs a clock signal with a target frequency.
[0020] Optionally, the switch logic module includes: a trigger, a timer, and an input-output logic module;
[0021] A trigger, which outputs a low level to the timer when the trigger switch is popped up, and outputs a high level to the timer when the trigger switch is pressed;
[0022] A timer, after receiving the high level output by the trigger, outputs a high level control signal to the input-output logic module and starts timing, ends timing after the target time, and outputs a low level control signal to the input-output logic module;
[0023] The input-output logic module opens the output channel during the period of receiving the high-level control signal output by the timer, so that the differential signal with the target frequency is continuously output for the target time, and closes the output channel when receiving the low-level control signal output by the timer to stop outputting the differential signal with the target frequency;
[0024] The input-output logic module includes: an AND gate;
[0025] When the differential signal with the target frequency and the control signal output by the timer are both at a high level, a high level is output to open the output channel;
[0026] When at least one of the differential signal having the target frequency and the control signal output by the timer is at a low level, a low level is output to close the output channel.
[0027] Optionally, the level conversion module includes: a plurality of voltage-dividing resistors;
[0028] It is used to process the level of the differential signal, and output a trigger signal with a target level, a target frequency and a target duration by adjusting the resistance value of the voltage divider resistor.
[0029] A second aspect of the embodiments of the present application discloses a consistency testing system, including:
[0030] Trigger fixture board, consistency test fixture and test equipment;
[0031] The trigger fixture board is connected to the input end of the consistency test fixture through a cable, and the trigger fixture board is the trigger fixture board described in the first aspect;
[0032] A consistency test fixture is connected to the target interface of the device under test through a cable, a receiving end of the consistency test fixture is connected to the trigger fixture board through a cable, and a transmitting end output end of the consistency test fixture is connected to the test device through a cable;
[0033] Test equipment, used to display test results.
[0034] Optionally, the consistency testing system further includes:
[0035] The cable between the trigger fixture board and the consistency test fixture is used to transmit a trigger signal output by the trigger fixture board with a target level, a target frequency and a target duration;
[0036] The cable between the consistency test fixture and the test equipment is used to transmit consistency test patterns.
[0037] A third aspect of the embodiments of the present application discloses a consistency test method, which is applied to the consistency test system described in the second aspect of the embodiments of the present application, and the method includes:
[0038] Connect the trigger fixture board to the receiving port of the consistency test fixture through a cable;
[0039] In response to a trigger operation in which the trigger switch is pressed, a trigger signal having a target level, a target frequency and a target duration is generated through the trigger fixture board, and outputted to a receiving port of the consistency test fixture;
[0040] The target interface of the device under test switches the test pattern on the transmission link after receiving the trigger signal, and maintains the test pattern signal until it receives a new trigger signal next time and then switches to the next pattern.
[0041] Optionally, the consistency testing method includes:
[0042] When the device under test does not receive the trigger signal, the sending port will continue to send the initial code type CP0;
[0043] After receiving the trigger signal, the target interface of the device under test switches the test pattern on the transmission link from CP0 to CP1, and continues to send the pattern CP1 until a new trigger signal is received next time;
[0044] After receiving the trigger signal, the target interface of the device under test will switch from CP0 to CPn in sequence according to the defined code pattern sequence to ensure that all test conditions are covered.
[0045] Optionally, the consistency testing method further includes:
[0046] Connect the test equipment to the sending port of the consistency test fixture through a cable;
[0047] The test pattern on the transmission link is displayed by a test device, and the consistency test item is measured according to the test pattern.
[0048] The embodiments of the present application include the following advantages:
[0049] The trigger fixture board provided in the embodiment of the present application includes a clock source, a complex programmable logic device, a trigger switch and a level conversion module; the clock source is connected to the complex programmable logic device, and the clock source is used to provide a clock signal for the complex programmable logic device; the trigger switch is connected to the complex programmable logic device, and the trigger switch is used to provide a switch signal for the complex programmable logic device; the complex programmable logic device is used to process the clock signal provided by the clock source and the switch signal provided by the trigger switch, and output a differential signal with a frequency of a target frequency and a duration of a target time; the level conversion module is connected to the output end of the complex programmable logic device, and is used to process the level of the differential signal, and output a trigger signal with a level of a target level, a frequency of a target frequency and a duration of a target time, and the trigger signal is used to provide a test control signal for a consistency test fixture of a target interface.
[0050] Thus, in this application, the trigger fixture board provides an initial clock signal through the clock source, and then performs frequency modulation, filtering, differentiation, and timing operations through the complex programmable logic device, and finally adjusts the level through the level conversion module, and finally obtains a trigger signal with the target level, target frequency, and target duration. Compared with the existing technical means, the core component in the trigger fixture board is only a complex programmable logic device, and only one trigger button is required to press the control of the code type switching in the consistency test, which not only greatly reduces the manufacturing cost of the test fixture, but also greatly simplifies the test process, and greatly reduces the relevant knowledge requirements of the operator, so as to realize the simple, effective and convenient consistency test. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0052] Figure 1 It is a structural schematic diagram of a trigger fixture plate provided in an embodiment of the present application;
[0053] Figure 2 It is a schematic diagram of a phase-locked loop module processing provided by an embodiment of the present application;
[0054] Figure 3 is a schematic diagram of a switch logic module provided in an embodiment of the present application;
[0055] Figure 4This is a schematic diagram of a level conversion module provided in an embodiment of the present application;
[0056] Figure 5 is a connection diagram of a consistency test system provided in an embodiment of the present application;
[0057] Figure 6 This is a flow chart of a device under test entering a consistency test mode provided by an embodiment of the present application;
[0058] Figure 7 It is a schematic diagram of a low-frequency periodic signal waveform provided in an embodiment of the present application;
[0059] Figure 8 It is a step flow chart of a consistency testing method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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 creative work are within the scope of protection of this application.
[0061] Since there are many test items in the consistency test, different test items require the device under test to send different code types. In the prior art, this test process requires testers to switch in the system of the device under test according to the commands given by the USB chip manufacturer, or to use the relevant functions in large-scale dedicated test instruments for testing. Both methods have problems such as complex conditions, high operating difficulty or high cost, which are not convenient for system-level users and junior testers to use.
[0062] Therefore, an embodiment of the present application provides a trigger fixture board, a consistency test system, and a consistency test method. The trigger fixture board responds to the trigger operation of pressing the trigger switch, generates a trigger signal for switching the code type and sends it to the device under test. The device under test can switch the test code type on the sending link upon receiving the trigger signal.
[0063] The trigger fixture board, consistency test system and consistency test method provided in the embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0064] Reference Figure 1 As shown, Figure 1 Schematic diagram of the structure of a trigger fixture plate provided in an embodiment of the present application. Figure 1 As shown, the trigger fixture plate includes:
[0065] Clock sources, complex programmable logic devices, trigger switches, and level conversion modules;
[0066] The clock source is connected to the complex programmable logic device, and the clock source is used to provide a clock signal for the complex programmable logic device;
[0067] A trigger switch connected to the complex programmable logic device, the trigger switch is used to provide a switch signal for the complex programmable logic device;
[0068] The complex programmable logic device is used to process the clock signal provided by the clock source and the switch signal provided by the trigger switch, and output a differential signal with a frequency of a target frequency and a duration of a target time;
[0069] The level conversion module is connected to the output end of the complex programmable logic device, and is used to process the level of the differential signal and output a trigger signal with a target level, a target frequency and a target duration. The trigger signal is used to provide a test control signal for a consistency test fixture of the target interface.
[0070] In an embodiment of the present application, a clock source is used to provide a clock signal for the complex programmable logic device. Optionally, an external crystal is used as the clock source, and the clock signal generated by the external crystal oscillation is provided as input to the complex programmable logic device.
[0071] The trigger switch is used by testers to achieve human-computer interaction. By pressing and releasing the trigger switch, different instructions are input into the trigger fixture board. Each time the trigger switch is pressed and released, it indicates that an instruction to switch the code type is input into the trigger fixture board. The trigger fixture board also outputs different trigger signals according to the instructions.
[0072] The complex programmable logic device receives the clock signal provided by the clock source and the switch signal provided by the trigger switch, and then performs frequency modulation, filtering, differentiation, timing and other operations to output a differential signal whose frequency is consistent with the target frequency and whose duration is the target time, which serves as the input signal of the subsequent level conversion module.
[0073] Specifically, the complex programmable logic device includes a phase-locked loop module, a differential module and a switch logic module, wherein the differential module is connected to the phase-locked loop module, and the switch logic module is connected to the differential module. The phase-locked loop module is used to receive the clock signal generated by the clock source, and perform frequency modulation and filtering on it, so as to convert the clock signal generated by the clock source into a clock signal with a frequency consistent with the target frequency; since it is necessary to distinguish between positive and negative input and output when receiving and sending signals in the consistency test, the clock signal generated by the phase-locked loop module is differentially processed through the differential module to obtain a differential signal with a frequency of the target frequency; the switch logic module is used to specifically respond to the tester's operating instructions for the trigger switch, and after obtaining the switch signal provided by the trigger switch, the differential signal with a frequency of the target frequency is processed to obtain a differential signal with a frequency of the target frequency and a duration of the target time.
[0074] After the level conversion module receives the input signal of the complex programmable logic device, it adjusts the resistance value of the voltage divider resistor in the module according to the level requirement of the target trigger signal to obtain a trigger signal with the target level, target frequency and target duration, which is used to output as the control signal in subsequent consistency testing.
[0075] By triggering a series of clock signal processing in the fixture board, the control signal required for consistency testing is finally obtained. Compared with the existing technical means, the core component in the trigger fixture board is only a complex programmable logic device, and to realize the control of code type switching in consistency testing, only one trigger button needs to be pressed. This not only greatly reduces the manufacturing cost of the test fixture, but also greatly simplifies the test process, and greatly reduces the relevant knowledge requirements for operators, realizing simple, effective and convenient consistency testing.
[0076] For example, Figure 2 1 is a schematic diagram of a phase-locked loop module processing provided in an embodiment of the present application, wherein the phase-locked loop module comprises: a phase detector, a low-pass filter, a voltage-controlled oscillator and a frequency divider.
[0077] The phase detector is used to compare the phase of the clock signal provided by the clock source with the clock signal outputted from the output end of the phase-locked loop module after passing through the frequency divider, and output a control signal with a phase difference;
[0078] In an embodiment of the present application, after entering the complex programmable logic device, the clock signal output by the clock source is compared with the clock signal at the output end of the phase detector and the phase-locked loop module after being divided by a 1 / N divider to obtain a clock signal containing phase information, and the clock signal with phase information is input into a subsequent low-pass filter.
[0079] The low-pass filter is used to filter the control signal and output a filtered signal.
[0080] The low-pass filter is used to filter out high-frequency interference to make the clock signal with phase information cleaner, which is used to accurately control the subsequent voltage-controlled oscillator.
[0081] The voltage-controlled oscillator uses the filtered signal output by the low-pass filter as a control voltage. The voltage-controlled oscillator aims to reduce the phase difference between the input signal and the output signal, processes the filtered signal, and outputs a clock signal with a target frequency.
[0082] After receiving the clock signal with phase information output by the low-pass filter, the voltage-controlled oscillator outputs a clock signal with the target frequency. Moreover, since the control voltage received in the voltage-controlled oscillator carries phase information, the phase error between the input signal and the output signal of the phase-locked loop module can be reduced.
[0083] The clock signal with the target frequency output by the voltage-controlled oscillator is not only used as the input of the subsequent differential module, but also as the input of the 1 / N divider. After the frequency division processing of the 1 / N divider, it is input into the phase detector together with the clock signal of the clock source to achieve the feedback effect of the phase-locked loop module itself. In this way, the clock signal processed by the phase-locked loop module always maintains the phase deviation within the ideal state range, and finally achieves the output frequency of the target frequency and has high precision and low jitter characteristics.
[0084] For example, Figure 3 1 is a schematic diagram of a switch logic module provided in an embodiment of the present application, wherein the switch logic module includes: a trigger, a timer, and an input-output logic module.
[0085] The trigger outputs a low level to the timer when the trigger switch is popped up, and outputs a high level to the timer when the trigger switch is pressed.
[0086] In the embodiment of the present application, human-computer interaction is performed through a trigger switch, and the trigger switch serves as the input of the trigger. When the trigger switch pops up, the S and R terminals of the trigger remain in the initial state, the S terminal is low level, and the R terminal is high level. At this time, the output terminal Q of the trigger is low level; when the trigger switch is pressed, the S terminal of the trigger is high level, and the R terminal is low level. At this time, the output terminal Q of the trigger is high level. Among them, the output terminal Q of the trigger is connected to the input terminal of the timer.
[0087] When the timer is in the initial state, upon receiving a low level signal from the trigger, the output remains at a low level and no action is taken. After receiving a high level signal from the trigger, the timer outputs a high level control signal to the input / output logic module and starts timing. The timing time is the target time. After the target time, the timing ends, the timer returns to the initial state, and outputs a low level control signal to the input / output logic module.
[0088] In the present application, since the USB3.0 chip identifies different signal instructions through the cycle number of low-frequency periodic signals, the clock signal output time is controlled by a timer to ensure that the cycle number of the trigger signal emitted by the trigger fixture board is the target cycle number, so as to achieve the purpose of accurate control and avoid confusion with other control signals.
[0089] The input-output logic module opens the output channel during the period of receiving the high-level control signal output by the timer, so that the differential signal with the target frequency is continuously output for the target time, and closes the output channel when receiving the low-level control signal output by the timer to stop outputting the differential signal with the target frequency. The input-output logic module includes: an AND gate.
[0090] When the differential signal with the target frequency and the control signal output by the timer are both at high levels, a high level is output to open the output channel; when at least one of the differential signal with the target frequency and the control signal output by the timer is at a low level, a low level is output to close the output channel.
[0091] In the embodiment of the present application, the input-output logic module is composed of two AND gates, and the truth table of the AND gate is shown in the following table. The inputs of the AND gate are the control signal given by the timer and the clock signal processed by the differential module output. Due to the control logic of the AND gate, the output is high when the inputs are both high, and the output is low when any of the inputs is low. In the case where the clock signal with a frequency of the target frequency generated by the differential module always exists, only when the switch signal output by the timer is high, the input-output logic module will open the output channel and output the clock signal with a frequency of the target frequency. Moreover, because of the existence of the timer, the high level of the control signal can only maintain the target time. After the target time, it will turn into a low level, and the output channel of the subsequent input-output logic module will also be closed. In this way, the switch logic module ensures that each time the tester presses the trigger switch, only a clock signal with a duration of the target time and a frequency of the target frequency will be output.
[0092] Table 1 AND gate truth table
[0093] Input A Input B Output 0 0 0 0 1 0 1 0 0 1 1 1
[0094] For example, Figure 4 This is a schematic diagram of a level conversion module provided in an embodiment of the present application, and the switching logic module includes: multiple voltage-dividing resistors; used to process the level of the differential signal, and output a trigger signal with a target level, a target frequency and a duration of a target time by adjusting the resistance value of the voltage-dividing resistor.
[0095] Since the USB3.0 chip communication protocol also has requirements for the level value of the identified low-frequency periodic signal, after obtaining a clock signal with a duration of the target time and a frequency of the target frequency through the switch logic module, the level value of this clock signal needs to be adjusted to meet the target level value range requirements.
[0096] In the embodiment of the present application, the level value of the clock signal is adjusted by selecting multiple voltage-dividing resistors. Since the clock signal is a differential signal, two voltage-dividing resistors are provided in series on each path of the differential signal, and the voltage distribution is achieved by different voltage-dividing ratios of the series resistors. The total voltage produces different voltage drops on the two voltage-dividing resistors. According to Ohm's law and Kirchhoff's voltage law, the voltage drop on each resistor can be calculated, and the resistance value of the voltage-dividing resistor is adjusted to make the final output level a trigger signal with a target level, a target frequency, and a duration of a target time.
[0097] In summary, the trigger fixture board provided in the embodiment of the present application provides an initial clock signal through a clock source, and then performs frequency modulation, filtering, differentiation, and timing operations through a complex programmable logic device, and finally adjusts the level through a level conversion module, and finally obtains a trigger signal with a target level, a target frequency, and a target duration. In the actual operation process, the tester only needs to press the trigger switch to send a trigger signal through the trigger fixture board. Compared with the existing technology, it is simple to operate and easy to use. Even beginners who are new to this industry can complete the test independently; moreover, most of the modulation work of the clock signal is completed by the complex programmable logic device in the trigger fixture board, the manufacturing cost is low, and it is easy to use and promote, which greatly improves the efficiency of consistency testing.
[0098] This application also proposes a consistency test system, such as Figure 5 As shown, Figure 5 It is a connection diagram of a consistency test system provided in an embodiment of the present application, which includes: a trigger fixture board, a consistency test fixture and a test device.
[0099] The trigger fixture board is connected to the input end of the consistency test fixture through a cable, and the trigger fixture board is the trigger fixture board described above;
[0100] A consistency test fixture is connected to the target interface of the device under test through a cable, a receiving end of the consistency test fixture is connected to the trigger fixture board through a cable, and a transmitting end output end of the consistency test fixture is connected to the test device through a cable;
[0101] Test equipment, used to display test results.
[0102] The consistency test fixture is connected to the target interface of the device under test through a cable to facilitate the interconnection between the target interface and other devices, wherein the trigger fixture board is connected to the receiving end of the consistency test fixture through a cable, and the test device is connected to the transmitting end of the consistency test fixture through a cable.
[0103] Specifically, Figure 6 For example, Figure 6 This is a flow chart of a device under test entering a consistency test mode provided by an embodiment of the present application. After the device under test is connected to the test fixture, it detects whether there is other device termination on the opposite side of the receiving end. If there is no other device connected, the process ends directly; if there is other device termination and maintains a termination state of low resistance Rrx_dc, the chip under test of the device under test will enter a polling state (polling state) and try to establish a handshake state with the opposite device. If the handshake state is successfully established, it will enter the link training link to make the transmission link between the devices reach the optimal data transmission state, and then enter the normal working state; if the handshake state is not successfully established, it will enter the consistency test mode, and the device under test will continue to send the initial code type CP0 at the sending end. As described in the claim, the consistency test code type is transmitted between the consistency test fixture and the test device through a cable.
[0104] In the field of consistency testing, in order to achieve better testing results, different test items require the use of different consistency test code types CP0-CPn. Based on the inconvenience of switching the test code types in the prior art, this application proposes a trigger fixture board for switching the test code types in the consistency test. Specifically, the cable between the trigger fixture board and the consistency test fixture is used to transmit a trigger signal output by the trigger fixture board with a target level, a target frequency and a target duration.
[0105] The trigger signal is Figure 7 As shown, Figure 7It is a schematic diagram of a low-frequency periodic signal waveform provided in an embodiment of the present application, which is determined according to the requirements of the device under test. In this application, only the USB3.0 consistency test is taken as an example. According to the provisions of the USB3.0 protocol, the trigger signal needs to be a low-frequency periodic signal, and the length of a cycle (tPeriod) needs to be between 20ns and 100ns, and it needs to be maintained for two cycles, and the signal level is required to be between 0.8V and 1.2V. According to the above requirements, in this application, each time the trigger switch is pressed, the trigger fixture board will send out a trigger signal with a target level, a target frequency and a duration of a target time, and transmit it to the receiving end of the consistency test fixture through a cable. After receiving a trigger signal, the device under test will switch the consistency test pattern sent, so as to achieve the purpose of switching the test pattern.
[0106] The present application also provides a consistency test method, referring to Figure 8 As shown, Figure 8 801 to 803:
[0107] Step S801: Connect the trigger fixture board to the receiving port of the consistency test fixture through a cable;
[0108] Step S802: In response to the trigger operation of pressing the trigger switch, a trigger signal having a target level, a target frequency and a target duration is generated by the trigger fixture board, and outputted to the receiving port of the consistency test fixture;
[0109] Step S803: after receiving the trigger signal, the target interface of the device under test switches the test pattern on the transmission link and maintains the test pattern signal until it receives a new trigger signal next time and then switches to the next pattern.
[0110] In this application, the device under test, the trigger fixture board, the test equipment and the consistency test fixture are first connected by cables. Figure 5 The systems shown are connected. Since the test equipment fails to successfully establish a handshake state, it enters the consistency test mode and continuously sends the consistency test initial code pattern CP0 to the test equipment. In the test equipment, consistency tests are performed on the test items corresponding to the initial code pattern.
[0111] After the test items corresponding to the initial code pattern are tested, the trigger fixture board generates a clock signal and responds to the tester's pressing of the trigger switch. The trigger fixture board sends a trigger signal with a target level, a target frequency and a target duration, and transmits it to the receiving end of the consistency test fixture through a cable. After receiving the trigger signal, the device under test switches the test code pattern on the sending link from the initial code pattern CP0 to CP1, and continuously sends the test code pattern CP1. After receiving the test code pattern CP1, the test device performs consistency testing on the test items corresponding to the code pattern.
[0112] In this way, testers only need to connect each device correctly and press the trigger switch to complete all consistency test items. The operation is simple and easy to understand, and the test efficiency is greatly improved.
[0113] Specifically, the above step S803 also includes:
[0114] When the device under test does not receive the trigger signal, the sending port will continue to send the initial code type CP0;
[0115] After receiving the trigger signal, the target interface of the device under test switches the test pattern on the transmission link from CP0 to CP1, and continues to send the pattern CP1 until a new trigger signal is received next time;
[0116] After receiving the trigger signal, the target interface of the device under test will switch from CP0 to CPn in sequence according to the defined code pattern sequence to ensure that all test conditions are covered.
[0117] In an embodiment of the present application, after entering the consistency test mode, the test device continuously sends the initial code type CP0 through the transmission link, and performs related tests in the test device connected to the transmitting end. After completing the test items related to the initial code type, the trigger switch is pressed to send a trigger signal. After receiving the trigger signal, the device under test switches the test code type to the next test code type CP1 and continues to send it until the test items related to CP1 are completed in the test device, and then the code type is switched again.
[0118] After receiving the trigger signal, the device under test will switch cyclically according to the preset code pattern sequence. In the embodiment of the present application, taking the USB3.0 consistency test as an example, the USB3.0 chip will switch according to the defined code pattern sequence: CP0→CP1→CP2→CP3→CP4→CP5→CP6→CP7→CP8. When the code pattern is CP8, the trigger switch is pressed again, and the test code pattern will switch back to the initial code pattern CP0. In this way, the test code pattern of the device under test can traverse all the test code patterns specified by the protocol, so as to ensure that all consistency test items are fully covered and the integrity of the test is guaranteed.
[0119] Specifically, a consistency test method in the present application also includes:
[0120] Connect the test equipment to the sending port of the consistency test fixture through a cable;
[0121] The test pattern on the transmission link is displayed by a test device, and the consistency test item is measured according to the test pattern.
[0122] In the present application embodiment, Figure 5 The consistency test system shown connects the test equipment and the transmitting end of the consistency test fixture through a cable to establish a transmission link. The test pattern of the device under test is transmitted to the test equipment through the transmission link, and the test equipment completes the corresponding test according to the test pattern.
[0123] For example, taking USB3.0 consistency test as an example, an oscilloscope is selected as the test equipment. After receiving the test code pattern in the transmission link, the signal waveform is captured by the oscilloscope to determine which of CP0-CP8 the test code pattern sent at this time is. After determining the test code pattern, the USB3.0 test software integrated in the oscilloscope is used to perform consistency tests on various test items according to the standard parameters of the protocol, and the test report is output through the oscilloscope.
[0124] In the embodiment of the present application, a consistency test method is implemented based on the consistency test system. The method is based on the trigger fixture board proposed in the present application, which sends a trigger signal with a target level, a target frequency and a target duration to the device to be tested, so as to control the switching of the consistency test pattern of the device to be tested, and transmit the test pattern to the test device through the sending link, so as to complete the test of the corresponding consistency test items. Since the tester only needs to press the trigger switch on the trigger fixture board to switch the test pattern, the purpose of convenient and quick consistency testing is achieved, and the operation is simple and easy to use. Testers with less operating experience in related fields can also complete the consistency test independently, which improves work efficiency; and the switching of test patterns is achieved through a trigger fixture board, which greatly saves the test cost compared with the existing technology and is conducive to promotion.
[0125] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the trigger fixture board, consistency test system and consistency test method according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0126] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0127] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0128] The above is a detailed introduction to a trigger fixture plate, a consistency test system and a consistency test method provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A trigger fixture plate, characterized in that: include: Clock sources, complex programmable logic devices, trigger switches, and level conversion modules; The clock source is connected to the complex programmable logic device, and the clock source is used to provide a clock signal for the complex programmable logic device; A trigger switch connected to the complex programmable logic device, the trigger switch is used to provide a switch signal for the complex programmable logic device; The complex programmable logic device is used to process the clock signal provided by the clock source and the switch signal provided by the trigger switch, and output a differential signal with a frequency of a target frequency and a duration of a target time; The level conversion module is connected to the output end of the complex programmable logic device, and is used to process the level of the differential signal and output a trigger signal with a target level, a target frequency and a target duration. The trigger signal is used to provide a test control signal for a consistency test fixture of the target interface.
2. The trigger fixture plate according to claim 1, characterized in that: The complex programmable logic device comprises: a phase-locked loop module, a differential module and a switch logic module, wherein the differential module is connected to the phase-locked loop module, and the switch logic module is connected to the differential module; The phase-locked loop module is used to process the clock signal provided by the clock source and output a clock signal with a target frequency; The differential module is used to perform differential processing on the clock signal with a frequency equal to the target frequency, and output a differential signal with a frequency equal to the target frequency; The switch logic module is used to process the differential signal with a target frequency according to the switch signal provided to the trigger switch, and output a differential signal with a target frequency and a duration of a target time.
3. The trigger fixture plate according to claim 2, characterized in that: The phase-locked loop module includes: a phase detector, a low-pass filter, a voltage-controlled oscillator and a frequency divider; The phase detector is used to compare the phase of the clock signal provided by the clock source with the clock signal outputted from the output end of the phase-locked loop module after passing through the frequency divider, and output a control signal with a phase difference; The low-pass filter is used to filter the control signal and output a filtered signal; The voltage-controlled oscillator uses the filtered signal output by the low-pass filter as a control voltage. The voltage-controlled oscillator aims to reduce the phase difference between the input signal and the output signal, processes the filtered signal, and outputs a clock signal with a target frequency.
4. The trigger fixture plate according to claim 2, characterized in that: The switch logic module includes: a trigger, a timer and an input-output logic module; A trigger, which outputs a low level to the timer when the trigger switch is popped up, and outputs a high level to the timer when the trigger switch is pressed; A timer, after receiving the high level output by the trigger, outputs a high level control signal to the input-output logic module and starts timing, ends timing after the target time, and outputs a low level control signal to the input-output logic module; The input-output logic module opens the output channel during the period of receiving the high-level control signal output by the timer, so that the differential signal with the target frequency is continuously output for the target time, and closes the output channel when receiving the low-level control signal output by the timer to stop outputting the differential signal with the target frequency; The input-output logic module includes: an AND gate; When the differential signal with the target frequency and the control signal output by the timer are both at a high level, a high level is output to open the output channel; When at least one of the differential signal having the target frequency and the control signal output by the timer is at a low level, a low level is output to close the output channel.
5. The trigger fixture plate according to claim 1, characterized in that: The level conversion module includes: a plurality of voltage dividing resistors; It is used to process the level of the differential signal, and output a trigger signal with a target level, a target frequency and a target duration by adjusting the resistance value of the voltage divider resistor.
6. A consistency testing system, characterized in that: include: Trigger fixture board, consistency test fixture and test equipment; The trigger fixture board is connected to the input end of the consistency test fixture through a cable, and the trigger fixture board is the trigger fixture board according to any one of claims 1 to 5; A consistency test fixture is connected to the target interface of the device under test through a cable, a receiving end of the consistency test fixture is connected to the trigger fixture board through a cable, and a transmitting end output end of the consistency test fixture is connected to the test device through a cable; Test equipment, used to display test results.
7. The consistency test system according to claim 6, characterized in that: include: The cable between the trigger fixture board and the consistency test fixture is used to transmit a trigger signal output by the trigger fixture board with a target level, a target frequency and a target duration; The cable between the consistency test fixture and the test equipment is used to transmit consistency test patterns.
8. A consistency testing method, characterized in that: Applied to the consistency test system of claim 6 or 7, the method comprises: Connect the trigger fixture board to the receiving port of the consistency test fixture through a cable; In response to a trigger operation in which the trigger switch is pressed, a trigger signal having a target level, a target frequency and a target duration is generated through the trigger fixture board, and outputted to a receiving port of the consistency test fixture; The target interface of the device under test switches the test pattern on the transmission link after receiving the trigger signal, and maintains the test pattern signal until it receives a new trigger signal next time and then switches to the next pattern.
9. The consistency testing method according to claim 8, characterized in that: include: When the device under test does not receive the trigger signal, the sending port will continue to send the initial code type CP0; After receiving the trigger signal, the target interface of the device under test switches the test pattern on the transmission link from CP0 to CP1, and continues to send the pattern CP1 until a new trigger signal is received next time; After receiving the trigger signal, the target interface of the device under test will switch from CP0 to CPn in sequence according to the defined code pattern sequence to ensure that all test conditions are covered.
10. The consistency testing method according to claim 8 or 9, characterized in that: include: Connect the test equipment to the sending port of the consistency test fixture through a cable; The test pattern on the transmission link is displayed by a test device, and the consistency test item is measured according to the test pattern.
Citation Information
Cited By
High-speed on-off switch switching action time measuring device and method
CN119395537A
A high-speed on-off switch switching action timing device and method
CN119395537B
