Signal test equipment
By designing a signal testing device containing switching circuits and selection modules, automatic switching of U.2 interface solid-state drive signals is realized, solving the problems of low testing efficiency and high risk of manual errors in the prior art, and improving testing efficiency and accuracy.
Patent Information
- Application Number
- CN202311532115.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-16
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2043-11-16
AI Technical Summary
The existing U.2 interface solid-state drive signal testing method is inefficient and requires manual connection and switching of signal lines, resulting in a long test time and prone to manual errors.
A signal testing device is designed, including a switching circuit and a selection module. Through the switching circuit control selection module, the automatic switching of different signals is realized, reducing the dependence on the signal line.
It improves the efficiency of signal testing, reduces the risk of errors in manual operations, and simplifies the testing steps, reducing dependence on external devices.
Smart Images

Figure CN117672332B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of signal testing, and in particular to a signal testing device. Background Art
[0002] U.2 interface solid-state drives are chosen by more and more users due to their advantages such as low latency, low power consumption, hot-swap support, easy management and fast transmission speed. In order to provide users with a better experience, it is necessary to test the integrity and accuracy of the U.2 interface solid-state drive signal.
[0003] At present, the existing testing method is to first set up a signal lead-out fixture for the U.2 interface, and use external testing equipment to test the signal led out by the signal lead-out fixture. In the process of testing different signals in the U.2 interface, the operator is required to manually connect the test equipment to the different signal lines led out of the fixture in turn for testing.
[0004] However, the above signal testing method has the problem of low testing efficiency. Summary of the invention
[0005] Based on this, it is necessary to provide a signal testing device that can improve testing efficiency in response to the above technical problems.
[0006] In a first aspect, the present application provides a signal testing device, characterized in that the signal testing device comprises: a switching circuit and a selection module;
[0007] A switching circuit, used for outputting a switching signal according to test requirements;
[0008] The selection module is used to select and output a target signal from multiple signals output by the device under test according to a switching signal.
[0009] The signal testing device realizes automatic switching of different signals by controlling the selection module through the switching circuit. The process does not need to reconnect different signal lines when testing different signals, which greatly improves the signal testing efficiency and reduces the risk of errors caused by manual line cutting.
[0010] In one of the embodiments, the above-mentioned signal testing device also includes: a pulse generating module; a pulse generating module, used to generate a pulse signal when the switching signal indicates switching the sending signal; a selection module, used to select and output the target signal from the multi-channel sending signals output by the device under test according to the switching signal and the pulse signal.
[0011] The above-mentioned signal testing device integrates the pulse generating module, the switching circuit and the selection module into one device, so that when the above-mentioned signal testing device tests the transmission signal output by the device under test, it does not need an external pulse generator, which simplifies the test steps of the transmission signal and reduces the connection lines with other devices. In addition, the pulse generating module is integrated into the test device and used in conjunction with the switching circuit and the selection module to improve the accuracy of the transmission signal output by the test device, thereby improving the test accuracy.
[0012] In one embodiment, the selection module includes a plurality of switch branches and a control unit; each switch branch is connected to the device to be tested and the detection device;
[0013] The control unit is used to control the switch branch indicated by the conduction switching signal to output the target signal among the multiple signals.
[0014] The above-mentioned signal testing device controls multiple switch branches to close or open through a control unit, so as to switch any signal line for testing according to the test requirements, without manually switching different signal lines for testing, thereby improving the test efficiency.
[0015] In one of the embodiments, the signal testing device further includes a clock generator; the clock generator is connected to the device under test; the clock generator is used to generate a reference clock signal and transmit the reference clock signal to the device under test.
[0016] The signal testing device described in the embodiment of the present application integrates a clock generator, a switching circuit and a selection module into one device, so that the above-mentioned signal testing device does not need an external clock generator when testing the signal output by the device to be tested, simplifies the test steps of testing the transmitted signal, and reduces the connection lines with other devices. In addition, the clock generator is integrated into the test device and used in conjunction with the switching circuit and the selection module to improve the accuracy of the output transmission signal of the test device, thereby improving the test accuracy.
[0017] In one of the embodiments, the signal testing device further includes a housing; the pulse generating module, the switching circuit, the selection module and the clock generator are integrated in the housing.
[0018] The above-mentioned signal testing device integrates the pulse generating module, the switching circuit and the selection module together by using a shell, so that when the above-mentioned signal testing device is used to test the multi-channel signals output by the device to be tested, no external pulse generator, switching circuit, selection module and other equipment are required. The operation is simple, the test steps can be simplified, and the test efficiency can be improved.
[0019] In one embodiment, the pulse generation module includes a trigger and a pulse generator; the pulse generator is connected to the trigger and the selection module respectively;
[0020] A trigger is used to enable the pulse generator to generate a pulse signal.
[0021] The above-mentioned signal testing device generates a pulse signal by driving a pulse generator through a trigger. Based on the number of triggering times of the trigger, the pulse generator can generate multiple pulse signals of different code types, providing a basis for subsequent pulse signal generation test equipment based on different code types to test the sending signal.
[0022] In one embodiment, the signal testing device further comprises a display; the display is connected to the trigger;
[0023] Display, used to show the number of times the trigger is enabled.
[0024] The signal testing device also includes a display for displaying the number of times the trigger is enabled, so that the operator can understand the test conditions under different code types of the transmitted signal in real time.
[0025] In one embodiment, the signal testing device further comprises a signal input interface and a high-speed signal testing interface, the signal input interface is respectively connected to the device under test and the selection module, and the high-speed signal testing interface is respectively connected to the selection module and the detection device.
[0026] The signal input interface and high-speed signal test interface provided by the above device enable the signal test device to quickly and conveniently connect the device to be tested and the test device, making it convenient for operators to install the signal test device when performing signal detection on the hard disk. In addition, the above signal test device has a high-speed signal test function.
[0027] In one of the embodiments, the signal testing device further comprises a low-speed signal testing interface; the low-speed signal testing interface is respectively connected to the signal input interface and the detection device.
[0028] The signal input interface and low-speed signal test interface provided by the above device enable the signal test device to quickly and conveniently connect the device to be tested and the low-speed signal detection device, making it convenient for operators to install the signal test device when performing signal detection on the hard disk. In addition, the above signal test device has a low-speed signal test function.
[0029] In one embodiment, the signal testing device further includes a jammer, which is connected to the device under test and the signal input interface respectively.
[0030] The jammer provided by the above-mentioned signal testing device can filter interference signals of multi-channel signals output by the device under test, thereby improving the accuracy of the signal receiving device and further improving the test accuracy.
[0031] The signal testing device includes: a switching circuit and a selection module, wherein the switching circuit is used to output a switching signal according to the test requirements, and the selection module is used to select and output a target signal from multiple signals output by the device under test according to the switching signal. The signal testing device realizes automatic switching of different signals by controlling the selection module through the switching circuit, and the process does not require reconnecting different signal lines when testing different signals, which greatly improves the signal testing efficiency and reduces the risk of errors caused by manual line cutting. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are 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 creative work.
[0033] Figure 1 is a schematic structural diagram of a signal testing device in one embodiment;
[0034] Figure 2 is a structural schematic diagram of a signal testing device in another embodiment;
[0035] Figure 3 is a structural schematic diagram of a signal testing device in another embodiment;
[0036] Figure 4 is a structural schematic diagram of a signal testing device in another embodiment;
[0037] Figure 5 is a structural schematic diagram of a signal testing device in another embodiment;
[0038] Figure 6 is a structural schematic diagram of a signal testing device in another embodiment;
[0039] Figure 7 is a structural schematic diagram of a signal testing device in another embodiment;
[0040] Figure 8 is a structural schematic diagram of a signal testing device in another embodiment;
[0041] Fig. 9 is a structural schematic diagram of a signal testing device in another embodiment;
[0042] Fig.10 is a structural schematic diagram of a signal testing device in another embodiment;
[0043] Fig.11 is a structural schematic diagram of a signal testing device in another embodiment;
[0044] Fig.12 is a structural schematic diagram of a signal testing device in another embodiment;
[0045] Fig.13 FIG. 4 is a flow chart of a signal transmission method in an embodiment. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0048] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0049] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0050] With the development of the bus and interface (PCI-Express, PCIe) bus proposed by Intel, the U.2 interface hard disk based on the NVME protocol has also been driven. U.2 interface solid-state drives are chosen by more and more users due to their low latency, low power consumption, support for hot plugging, easy management and fast transmission speed. In order to provide users with a better experience, it is necessary to test the integrity and accuracy of the U.2 interface solid-state drive signal.
[0051] At present, the existing testing method is to first set a signal lead-out fixture for the U.2 interface, and use an external test device to test the signal led out by the signal lead-out fixture, and in the process of testing different signals in the U.2 interface, the operator is required to manually connect the test equipment to the different signal lines led out of the fixture in turn for testing. For example, the signal lead-out fixture of the U.2 solid-state hard disk includes 4 groups of signal transmitting ends (Tx) and signal receiving ends (Rx), which need to be connected to other devices through cables to assist in signal testing during testing, and when testing the signals of other signal ends to be tested, the operator is required to remove the cable connected to the current signal end and connect it to other signal ends to be tested to test the signals of other signal ends to be tested. However, the existing signal testing method has the problem of low testing efficiency. The present application aims to solve this problem.
[0052] After introducing the background technology of the signal measuring device provided in the embodiments of the present application, the signal measuring device proposed in the present application will be introduced in detail below through embodiments.
[0053] In one embodiment, Figure 1 As shown, a signal testing device 10 is provided, including: a switching circuit 102 and a selection module 103; the output end of the switching circuit 102 is connected to the input end of the selection module 103; the selection module 103 is used to output a switching signal according to the test requirements; the selection module 103 is used to select and output a target signal from the multi-channel signals output by the device under test 20 according to the switching signal.
[0054] The test requirement indicates the signal that needs to be tested. For example, when the device under test 20 outputs 8 signals, the test requirement indicates which signal among the 8 signals needs to be tested. The switching signal can be used to indicate the type of the switching signal. For example, the switching signal can be used to indicate the switching of the sending signal or the switching of the receiving signal. The device under test 20 can be a mobile hard disk with a U.2 interface.
[0055] Optionally, the switching circuit 102 may be implemented by a DIP switch, that is, the switching circuit generates a switching signal by switching a code pattern to instruct the selection module 103 to perform signal switching output.
[0056] The above-mentioned selection module 103 is specifically used to receive the multi-channel transmission signals output by the device under test 20 when the switching signal output by the switching circuit 102 indicates switching the transmission signal, and select and output the target signal from the multi-channel transmission signals according to the switching signal; optionally, it is also specifically used to receive the multi-channel reception signals output by the device under test 20 when the switching signal indicates switching the reception signal, and select and output the second target signal from the multi-channel reception signals according to the switching signal.
[0057] In the embodiment of the present application, the switching circuit 102 can generate a switching signal according to the test requirements by receiving instructions. Optionally, the tester can also manually operate the switching circuit 102 to generate a switching signal according to the test requirements. For example, when the switching circuit 102 is a dial switch, the operator can perform a dial operation, and each dial operation generates a corresponding switching signal. After the switching circuit 102 generates the switching signal, the switching signal can be transmitted to the selection module 103; when the selection module 103 receives the multi-channel signal output by the device under test 20, it can select the target signal indicated by the multi-channel signal according to the indication of the switching signal and output it to the detection device 30 for detection.
[0058] Optionally, when the multi-channel signal output by the device under test 20 includes a multi-channel transmission signal Tx and a multi-channel reception signal Rx, the switching signal output by the switching circuit 102 may indicate the switching of the transmission signal, or may indicate the switching of the reception signal, and the target signal may be the target transmission signal, or may be the target reception signal. When the switching signal indicates the switching of the transmission signal, correspondingly, the selection module 103 receives the multi-channel transmission signal output by the device under test 20, selects the target transmission signal from the multi-channel transmission signal according to the switching signal, and outputs the target transmission signal to the detection device 30; when the switching signal indicates the switching of the reception signal, correspondingly, the selection module 103 receives the multi-channel reception signal output by the device under test 20, selects the target reception signal from the multi-channel reception signal according to the switching signal, and outputs the target reception signal to the detection device 30.
[0059] The signal testing device provided in the embodiment of the present application includes a switching circuit and a selection module, wherein the switching circuit is used to output a switching signal according to the test requirements; and the selection module is used to select and output a target signal from the multi-channel signals output by the device under test according to the switching signal. The above-mentioned signal testing device realizes automatic switching of different signals by controlling the selection module through the switching circuit, and the process does not require reconnecting different signal lines when testing different signals, which greatly improves the signal testing efficiency and also reduces the risk of errors caused by manual line cutting.
[0060] In one embodiment, Figure 2 As shown, a signal measuring device 10 is provided. Figure 1 The device shown also includes: a pulse generating module 101, which is used to generate a pulse signal when the switching signal indicates switching the sending signal; a selection module 103, which is used to select and output the target signal from the multi-channel sending signals output by the device under test 20 according to the switching signal and the pulse signal.
[0061] The pulse generating module 101 is used to generate pulse signals of various code types. The pulse generating module 101 can be a pulse generating chip (IC1) or a pulse generator. The target signal is a target transmission signal.
[0062] In an embodiment of the present application, when the switching signal output by the switching circuit 102 indicates the switching of the sending signal, the pulse sending module 101 can generate a pulse signal of the corresponding code type by receiving instructions or other triggering methods, and transmit the pulse signal of the code type to the selection module 103. The selection module 103 can transmit the pulse signal of the code type to the device under test 20, and the device under test 20 generates a multi-channel sending signal to be tested based on the pulse signal of the code type. The selection module 103 can receive the multi-channel sending signal. After that, the selection module 103 can select the target sending signal from the multi-channel sending signal according to the indication of the switching signal, and output it to the detection device 30.
[0063] The signal testing device described in the embodiment of the present application integrates a pulse generating module, a switching circuit and a selection module into one device, so that when the above-mentioned signal testing device tests the transmission signal output by the device to be tested, it does not need an external pulse generator, which simplifies the test steps of the transmission signal and reduces the connection lines with other devices. In addition, the pulse generating module is integrated into the test device and used in conjunction with the switching circuit and the selection module to improve the accuracy of the transmission signal output by the test device, thereby improving the test accuracy.
[0064] In one embodiment, Figure 3 As shown, Figure 1 The selection module 103 in the device includes multiple switch branches 1031 and a control unit 1032; each switch branch connects the device under test 20 and the detection device 30; the control unit 1032 is used to control the switch branch indicated by the switching signal to output the target signal in the multiple signals.
[0065] A switch may be provided on each switch branch 1031. The control unit 1032 may be connected to the switch on each switch branch 1031 to control the switch to be closed or opened. The detection device 30 may be an oscilloscope, a signal detector, or other equipment.
[0066] In an embodiment of the present application, the control unit 1032 in the selection module 103 can receive a switching signal output by the switching circuit 1032, and determine that the switching signal indicates a switching signal, that is, a switched switch branch. Thereafter, the control unit 1032 can control the switch on the switch branch to close, and control the switches on other switch branches to open, so that the switch branch to be switched connects the line between the device to be tested and the detection device, and then outputs the target signal corresponding to the connected switch branch.
[0067] Optionally, the switch branch 1031 may include a plurality of transmission switch branches and a plurality of receiving switch circuits, wherein the transmission switch branch is used to receive the transmission signal output by the device under test 20 and transmit the transmission signal to the detection device 30 for detection; and the receiving switch branch is used to receive the reception signal output by the device under test 20 and transmit the reception signal to the detection device 30 for detection. For example, a first switch is provided on each transmission switch branch, and a second switch is provided on each reception switch branch; when it is necessary to transmit a transmission signal of one channel from the device under test 20 to the detection device 30, it is only necessary to control the closing of the first switch on the transmission switch branch corresponding to the transmission signal and the disconnection of the switches on the other switch branches; when it is necessary to transmit a reception signal of one channel from the device under test 20 to the detection device 30, it is only necessary to control the closing of the second switch on the reception switch branch corresponding to the reception signal and the disconnection of the switches on the other switch branches.
[0068] In an embodiment of the present application, after the control unit 1032 obtains the switching signal output by the switching circuit 102, if the switching signal indicates switching the sending signal, the control unit 1032 can determine the target sending switch branch from multiple sending switch branches according to the indication of the switching signal, and control the first switch in the target sending switch branch to close, and control the switches in other switch branches to open, so that one sending signal output from the device under test 20 is transmitted to the detection device 30 through the target sending switch branch; or, if the switching signal indicates switching the receiving signal, the control unit 1032 determines the target receiving switch branch from multiple receiving switch branches according to the indication of the switching signal, and controls the second switch in the target receiving switch branch to close, and controls the switches in other switch branches to open, so that one receiving signal output from the device under test 20 is transmitted to the detection device 30 through the target receiving switch branch.
[0069] Optionally, the control unit 1032 may include a sending control unit and a receiving control unit. The sending control unit is used to control the first switch on any of the sending switch branches to open or close; the receiving control unit is used to control the second switch on any of the receiving switch branches to open or close.
[0070] In the embodiment of the present application, when receiving the switching signal output by the switching circuit 102, the sending control unit can close the first target switch on the first sending switch branch according to the instruction of the switching signal, and instruct the other first switches on the first sending switch branch to be disconnected, so that the transmission signal to be tested on the device under test 20 passes through the first target switch, and at the same time receives the pulse signal of different code types output by the pulse generating module 101, so that the selection module 103 outputs the first target signal to the test device for testing according to the pulse signal of different code types and the signal to be tested that is turned on by the first target switch. The receiving control unit is used to receive the receiving signal sent by the switching circuit 102, and close the second target switch on the second receiving switch branch according to the instruction of the switching signal, and instruct the other second switches on the second sending switch branch to be disconnected, so that the transmission signal to be tested on the device under test 20 passes through the second target switch, and output the signal passed on the second target switch to the test device for testing.
[0071] In an embodiment of the present application, after the sending control unit obtains the switching signal output by the switching circuit 102, it can directly determine the target sending switch branch from multiple sending switch branches according to the indication of the switching signal, and control the first switch in the target sending switch branch to be closed, and control the switches in other switch branches to be disconnected, so that one sending signal output from the device under test 20 is transmitted to the detection device 30 through the target sending switch branch; or, after the receiving control unit obtains the switching signal output by the switching circuit 102, it can directly determine the target receiving switch branch from multiple receiving switch branches according to the indication of the switching signal, and control the second switch in the target receiving switch branch to be closed, and control the switches in other switch branches to be disconnected, so that one receiving signal output from the device under test 20 is transmitted to the detection device 30 through the target receiving switch branch.
[0072] Optionally, the switching circuit 102 may further include a sending switching unit and a receiving switching unit; the sending switching unit is connected to the sending control unit, and the receiving switching unit is connected to the receiving control unit.
[0073] Among them, the sending switching unit and the receiving switching unit are both used to output switching signals, and the signal types indicated by each output switching signal are different. For example, the switching signal output by the sending switching unit is used to indicate the switching of the sending signal; the switching signal output by the receiving switching unit is used to indicate the switching of the receiving signal.
[0074] In an embodiment of the present application, after the sending control unit obtains the switching signal output by the sending switching unit, it can directly determine the target sending switch branch from multiple sending switch branches according to the indication of the switching signal, and control the first switch in the target sending switch branch to be closed, and control the switches in other switch branches to be disconnected, so that one sending signal output from the device under test 20 is transmitted to the detection device 30 through the target sending switch branch; or, after the receiving control unit obtains the switching signal output by the receiving switching unit, it can directly determine the target receiving switch branch from multiple receiving switch branches according to the indication of the switching signal, and control the second switch in the target receiving switch branch to be closed, and control the switches in other switch branches to be disconnected, so that one receiving signal output from the device under test 20 is transmitted to the detection device 30 through the target receiving switch branch.
[0075] The above-mentioned signal testing device controls multiple switch branches to close or open through a control unit, so as to switch any signal line for testing according to the test requirements, without manually switching different signal lines for testing, thereby improving the test efficiency.
[0076] In one embodiment, Figure 4 As shown, a signal measuring device 10 is provided, and the above-mentioned signal testing device 10 also includes a clock generator 104; the clock generator 104 is connected to the device under test 20; the clock generator 104 is used to generate a reference clock signal and transmit the reference clock signal to the device under test 20.
[0077] The clock generator 104 is used to continuously provide a 100M reference clock signal to the device under test 20 . The reference clock signal may be a periodic signal, and its period may be determined in advance according to the test requirements.
[0078] In an embodiment of the present application, when the signal testing device is started, the clock generator 104 in the signal testing device is started to generate a reference clock signal, and the reference clock signal is transmitted to the device under test 20. When the device under test receives the reference clock signal, multiple test signals are generated according to the reference clock signal, for example, 4-channel transmission signals Tx and 4-channel receiving signals Rx to be tested, and the multiple test signals are transmitted to the selection module 103 through the signal input interface. When the selection module 103 receives the multiple test signals, the switching circuit 102 outputs a switching signal. At this time, the selection module 103 can control the corresponding switch branch to connect the path between the device under test 20 and the detection device 30 according to the indication of the switching signal, so that the target signal indicated by the switching signal is selected and output from the multiple test signals.
[0079] The signal testing device described in the embodiment of the present application integrates a clock generator, a switching circuit and a selection module into one device, so that the above-mentioned signal testing device does not need an external clock generator when testing the signal output by the device to be tested, simplifies the test steps of testing the transmitted signal, and reduces the connection lines with other devices. In addition, the clock generator is integrated into the test device and used in conjunction with the switching circuit and the selection module to improve the accuracy of the output transmission signal of the test device, thereby improving the test accuracy.
[0080] In one embodiment, Figure 5 As shown, a signal measuring device 10 is provided. The signal measuring device 10 further includes a housing 105 , in which a pulse generating module 101 , a switching circuit 102 , a selecting module 103 and a clock generator 104 are integrated.
[0081] The housing 105 is used to integrate the pulse generating module 101, the switching circuit 102, the selecting module 103 and the clock generator 104. The shape and material of the housing 105 can be designed according to the test requirements.
[0082] In an embodiment of the present application, a corresponding input plug interface can be set on the shell 105, so that the signal testing device 10 can be conveniently connected to the device under test 20; optionally, a corresponding output plug interface can be set on the shell 105, so that the signal testing device 10 can be conveniently connected to the detection device 30.
[0083] The above-mentioned signal testing device integrates the pulse generating module, the switching circuit and the selection module together by using a shell, so that when the above-mentioned signal testing device is used to test the multi-channel signals output by the device to be tested, no external pulse generator, switching circuit, selection module and other equipment are required. The operation is simple, the test steps can be simplified, and the test efficiency can be improved.
[0084] In one embodiment, Figure 6 As shown, a signal measuring device 10 is provided, wherein the pulse generating module 101 comprises a trigger 1011 and a pulse generator 1012; the pulse generator 1012 is respectively connected to the trigger 1011 and the selecting module 1012;
[0085] The trigger 1011 is used to enable the pulse generator 1012 to generate a pulse signal. Optionally, the trigger 1011 may include a button trigger, such as a code cutting button; the pulse generator 1012 may be an integrated circuit chip, which is used to generate pulse signals of various code types. Optionally, when the trigger 1011 is a button trigger, the trigger 1011 may be disposed outside the housing 105 to facilitate operation by an operator.
[0086] In the embodiment of the present application, after the trigger 1011 is triggered once, the trigger 1011 can transmit the trigger signal to the pulse generator 1012. After receiving the trigger signal of the trigger 1011, the pulse generator 1012 generates a pulse signal of a code type and sends the pulse signal of a code type to the selection module 103. When the selection module 103 receives the switching signal output by the switching circuit 102, if the switching signal indicates the switching transmission signal, the selection module 103 transmits the pulse signal generated by the pulse generator 1012 back to the device under test 20, so that the device under test 20 generates the transmission signal to be tested based on the pulse signal. At this time, the selection module 103 can receive the multi-channel transmission signal output by the device under test 20, and then select and output the corresponding target transmission signal according to the instruction of the switching signal. For example, the switching circuit 102 outputs a switching signal of the #1 code type, which is used to switch the #1 sending signal. The trigger 1011 performs the first trigger to generate a first pulse signal. Correspondingly, the selection module 103 transmits the first pulse signal back to the device under test. The device under test generates #1 sending signal T1, #2 sending signal T2, #3 sending signal T3, and #4 sending signal T4 based on the first pulse signal. When the selection module 103 receives these four sending signals, it selects to switch the #1 sending signal T1 and outputs it to the detection device 30 according to the indication of the switching signal (indicating switching the #1 sending signal).
[0087] Correspondingly, if the switching signal indicates switching the receiving signal, the trigger 1011 is not triggered to drive the pulse generator 1012 to generate a pulse signal, and the selection module 103 can receive the multi-channel receiving signals output by the device under test 20, and then select and output the corresponding target receiving signal according to the instruction of the switching signal. For example, the switching circuit 102 outputs a switching signal for switching the receiving signal of the second channel, and the selection module 103 receives the first receiving signal R1, the second receiving signal R2, the third receiving signal R3, and the fourth receiving signal R4 sent by the device under test. The selection module 103 selects to switch the receiving signal of the second channel to output to the detection device 30 according to the instruction of the switching signal.
[0088] The above-mentioned signal testing device generates a pulse signal by driving a pulse generator through a trigger. Based on the number of triggering times of the trigger, the pulse generator can generate multiple pulse signals of different code types, providing a basis for subsequent pulse signal generation test equipment based on different code types to test the sending signal.
[0089] In one embodiment, Figure 7 As shown, a signal measuring device 10 is provided. The signal measuring device 10 further includes a display 106 . The display 106 is connected to the trigger 1011 . The display 106 is used to display the number of times the trigger 1011 is enabled.
[0090] The display 106 is used to form a visually visible picture, and can be a display screen, a projection device, or a virtual reality imaging device, and the display screen can be a liquid crystal display screen, an electronic ink display screen, an LED display screen, etc., which is not limited in this application. The display 106 can be set at any position on the surface of the housing 105, or can be set independently.
[0091] In the embodiment of the present application, a display 106 is also provided in the signal measuring device 10. The display 106 is connected to the trigger 1011 and is used to display the number of times the trigger 1011 is enabled in real time. When the operator operates the trigger 1011 to enable, the display 106 updates the current display interface to display the cumulative number of times. Optionally, while displaying the number of times enabled, the display 106 can also display the code type of the current pulse signal. For example, when the operator operates the trigger 1011 to enable for the first time, the display 106 displays a value of 1 and displays a pulse signal of the corresponding code type. When the operator operates the trigger 1011 to enable for the second time, the display 106 displays a value of 2 and displays a pulse signal of the corresponding code type, ..., according to the above steps until the test of the 1-way signal output by the device to be tested is completed, the display 106 displays the number of code types corresponding to the 1-way signal and the pulse signal of the corresponding code type. The test of other road signals is also consistent with the above method.
[0092] The signal testing device also includes a display for displaying the number of times the trigger is enabled, so that the operator can understand the test conditions under different code types of the transmitted signal in real time.
[0093] In one embodiment, Figure 8 As shown, a signal measuring device 10 is provided. The signal testing device 10 further includes a signal input interface 107 and a high-speed signal testing interface 108. The signal input interface 107 is respectively connected to the device under test 20 and the selection module 103, and the high-speed signal testing interface 108 is respectively connected to the selection module 103 and the detection device 30.
[0094] Among them, the signal input interface 107 is responsible for transmitting the signal output by the device under test 20 to the selection module 103 for selection and output. The high-speed signal test interface 108 is responsible for transmitting the target signal selected and output by the selection module 103 to the detection device 30, so that the detection device 30 detects the target signal output by the signal testing device 10. Optionally, the signal input interface 107 and the high-speed signal test interface 108 can be respectively arranged on opposite sides of the housing 105, so that the device under test can be conveniently connected to the signal testing device 10 through the signal input interface 107, and the detection device 30 can be connected to the signal testing device 10 through the high-speed signal test interface 108.
[0095] In the embodiment of the present application, the device under test 20 outputs multiple signals and transmits them to the selection module 103 through the signal input interface 107 for selection and output; the target signal output by the selection module 103 is transmitted to the detection device 30 through the high-speed signal test interface 108 for detection.
[0096] The signal input interface and high-speed signal test interface provided by the above device enable the signal test device to quickly and conveniently connect the device to be tested and the test device, making it convenient for operators to install the signal test device when performing signal detection on the hard disk. In addition, the above signal test device has a high-speed signal test function.
[0097] In one embodiment, Fig. 9 As shown, the signal measuring device 10 further includes a low-speed signal test interface 109 ; the low-speed signal test interface 109 is connected to the signal input interface 107 and the detection device 30 respectively.
[0098] Among them, the low-speed signal test interface 109 is responsible for transmitting the signal output by the device under test 20 to the external low-speed signal detection device, so that the low-speed signal detection device detects the low-speed signal output by the signal testing device 10. Optionally, the signal input interface 107 and the low-speed signal test interface 109 can be respectively arranged at different positions of the housing 105, so that the device under test can be conveniently connected to the signal testing device 10 through the signal input interface 107, and the low-speed signal detection device can be connected to the signal testing device 10 through the low-speed signal test interface 109.
[0099] In the embodiment of the present application, the device under test 20 outputs multiple low-speed signals and transmits them to the low-speed signal test interface 109 through the signal input interface 107. The low-speed signal test interface 109 then transmits the low-speed signals to an external low-speed signal detection device for detection.
[0100] The signal input interface and low-speed signal test interface provided by the above device enable the signal test device to quickly and conveniently connect the device to be tested and the low-speed signal detection device, making it convenient for operators to install the signal test device when performing signal detection on the hard disk. In addition, the above signal test device has a low-speed signal test function.
[0101] In one embodiment, Fig.10 As shown, the signal testing device 10 further includes a jammer 110 , which is connected to the device under test 20 and the signal input interface 107 respectively.
[0102] The jammer 110 is used to filter interference signals in the multi-channel signals output by the device under test.
[0103] In the embodiment of the present application, when the device under test 20 outputs multiple signals, interference signals may exist in the multiple signals due to external noise, interference, etc. Therefore, a jammer 110 is provided to filter the multiple signals output by the device under test to output the filtered multiple signals, and transmit the filtered multiple signals to the selection module 103 in the signal testing device 10 through the signal input interface 107 to switch the signal output.
[0104] The jammer provided by the above-mentioned signal testing device can filter interference signals of multi-channel signals output by the device under test, thereby improving the accuracy of the signal receiving device and further improving the test accuracy.
[0105] In one embodiment, Fig.11 As shown, the signal testing device 10 further includes a power module 111, and the power module 111 is used to provide electrical energy to the signal testing device.
[0106] In the embodiment of the present application, the power module 111 can be pre-charged and, when the signal testing device 10 is in use, continuously provide power to the components in the signal testing device 10 after startup, so that the signal testing device can be used independently without an external power supply.
[0107] Combining the devices described in all the above embodiments, Fig.12 As shown, a signal testing device 11 is also provided, which includes: a trigger 1011, a pulse generator 1012, a switching circuit 102, a selection module 103, a clock generator 104, a housing 105, a display 106, a signal input interface 107, a high-speed signal test interface 108, a low-speed signal test interface 109, a jammer 110 and a power supply module 111.
[0108] In the embodiment of the present application, when the signal testing device 11 is used to test the signal (for example, a high-speed signal and a low-speed signal) output by the device under test 20, the power supply module 111 can be used to continuously provide power to each component in the signal testing device 11, and then the clock generator 104 in the signal testing device 11 is started to generate a reference clock signal, and the reference clock signal is transmitted to the device under test 20. When the device under test receives the reference clock signal, a plurality of test signals are generated according to the reference clock signal, and the plurality of test signals are transmitted to the selection module 103 through the jammer 110 and the signal input interface 107. When the selection module 103 receives the plurality of test signals, the switching circuit 102 outputs a switching signal, and when the switching circuit 102 outputs the switching signal, the switching circuit 102 outputs the switching signal. When the switching signal indicates the switching of the transmission signal, the trigger 1011 triggers the driving pulse generator 1012 to generate a pulse signal of the corresponding code type, and displays the code type and the triggering times of the trigger 1011 through the display 106 connected to the trigger 1011, and then transmits the pulse signal of the code type to the selection module 103, and the selection module 103 can transmit the pulse signal of the code type to the device under test 20, and the device under test 20 generates a multi-channel transmission signal to be tested based on the pulse signal of the code type, and the selection module 103 can receive the multi-channel transmission signal, and then the selection module 103 can select the target transmission signal from the multi-channel transmission signal according to the instruction of the switching signal, and output it to the detection device 30, so as to test the target transmission signal through the detection device 30. In addition, the device under test 20 outputs a multi-channel low-speed signal, and transmits it to the low-speed signal test interface 109 through the signal input interface 107, and then the low-speed signal test interface 109 transmits the low-speed signal to the external low-speed signal detection device for detection.
[0109] In one embodiment, the present application further provides a method for testing a transmitted signal and a received signal, wherein the method for testing a transmitted signal includes:
[0110] Step 1: Build the above Figure 1 The signal test device shown in the figure is powered by a power module;
[0111] Step 2: When the switching circuit indicates that the selection module has selected one transmission signal to be connected, Figure 7 The trigger shown switches the code pattern of the pulse generator, and transmits the test signal corresponding to the switched code pattern to the external oscilloscope through the high-speed output signal interface and saves it;
[0112] Step 3: After the signal test of all code types in the transmission signal of the path in the above step 2 is completed, the selection module can be instructed to select other transmission signals to be connected according to the switching instruction of the switching circuit, and the test signals of all code types in other transmission signals are tested one by one;
[0113] Step 4: Repeat the above steps 2 and 3 until all the transmission signals of all code types are tested. Then the test is finished.
[0114] The method for testing the received signal includes:
[0115] Step 1: Build the above Figure 1 The signal test device shown in the figure is powered by a Power module;
[0116] Step 2: when the switching circuit indicates that the selection module has selected one receiving signal to be connected, the receiving signal is transmitted to an external bit error detector through a high-speed output signal interface for detection, and the detection result is saved;
[0117] Step 3: After the test of the received signal in the above step 2 is completed, the selection module can be instructed to select other received signals to be connected according to the switching instruction of the switching circuit, and the other received signals can be tested one by one;
[0118] Step 4: Repeat steps 2 and 3 until all received signals are tested.
[0119] Optionally, based on the above method, a method for selecting signal output is also provided, such as Fig.13 As shown, the execution subject of this method is Figure 1-Figure 9 In the control unit of the embodiment, the method comprises:
[0120] S1, receiving a switching signal output by a switching circuit;
[0121] S2, determine the switching type indicated by the switching signal, if the switching signal indicates switching the sending signal, execute steps S3-S5, if the switching signal indicates switching the receiving signal, execute steps S6-S7;
[0122] S3, receiving the pulse signal generated by the pulse generating module, and transmitting the pulse signal to the device under test;
[0123] S4, receiving multiple transmission signals sent by the device under test, and determining a first target signal according to an instruction of the switching signal;
[0124] S5, controlling the switch on the switch branch where the first target signal is located to close, and controlling the switches on other switch branches to open, so that the selection module outputs the first target signal;
[0125] S6. Determine a second target signal according to an instruction of the switching signal;
[0126] S7, controlling the switch on the switch branch where the second target signal is located to close, and controlling the switches on other switch branches to open, so that the selection module outputs the second target signal.
[0127] The above signal output method realizes automatic switching of different signals by controlling the selection module through the switching circuit. The process does not need to reconnect different signal lines when testing different signals, which greatly improves the signal testing efficiency and reduces the risk of errors caused by manual cutting.
[0128] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0129] Based on the same inventive concept, the embodiment of the present application also provides a device for implementing the signal output of the signal output method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations of the one or more signal output device embodiments provided below can refer to the limitations of the signal output method above, and will not be repeated here.
[0130] In an exemplary embodiment, a signal output device is provided, comprising: a receiving module, a first determining module, a transmission module, a second determining module, a control module, a third determining module and an output module, wherein:
[0131] A receiving module, used for receiving a switching signal output by a switching circuit;
[0132] A first determination module is used to determine the switching type indicated by the switching signal, and if the switching signal indicates switching the sending signal, execute steps S3-S5; if the switching signal indicates switching the receiving signal, execute steps S6-S7;
[0133] A transmission module, used for receiving the pulse signal generated by the pulse generation module and transmitting the pulse signal to the device under test;
[0134] The second determination module is used to receive multiple transmission signals sent by the device under test, and determine the first target signal according to the instruction of the switching signal.
[0135] A control module, used for controlling the switch on the switch branch where the first target signal is located to close, and controlling the switches on other switch branches to open, so that the selection module outputs the first target signal;
[0136] The third determination module is used to determine the second target signal according to the instruction of the switching signal.
[0137] The output module is used to control the switch on the switch branch where the second target signal is located to close, and control the switches on other switch branches to open, so that the selection module outputs the second target signal.
[0138] Each module in the above signal testing device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0139] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0140] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0141] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A signal testing device, characterized in that: The signal testing device comprises: a switching circuit and a selection module, a clock generator and a pulse generation module; The switching circuit is used to output a switching signal according to a test requirement; the switching signal is used to indicate a type of the switching signal; the type of the switching signal includes a sending signal and a receiving signal; the test requirement indicates a signal that needs to be tested; The clock generator is connected to the device under test, and is used to generate a reference clock signal, and transmit the reference clock signal to the device under test; The selection module is used to receive the multi-channel transmission signals output by the device under test when the switching signal output by the switching circuit indicates switching the transmission signal, and select and output the target transmission signal from the multi-channel transmission signals according to the switching signal, or to receive the multi-channel reception signals output by the device under test when the switching signal output by the switching circuit indicates switching the reception signal, and select and output the target reception signal from the multi-channel reception signals according to the switching signal; A pulse generating module, used for generating a pulse signal when the switching signal indicates switching the sending signal; The selection module is further configured to transmit the pulse signal to the device under test, receive multiple transmission signals sent by the device under test, and select and output a target transmission signal from the multiple transmission signals according to the switching signal.
2. The device according to claim 1, characterized in that The selection module includes a plurality of switch branches and a control unit; each of the switch branches is connected to the device to be tested and the detection device; The control unit is used to control the switch branch indicated by the switching signal to conduct, so as to output the target transmission signal among the multiple transmission signals, and to output the target reception signal among the multiple reception signals.
3. The device according to claim 1 or 2, characterized in that: The device under test is a mobile hard disk with a U.2 interface.
4. The device according to claim 1 or 2, characterized in that: The pulse generation module adopts a pulse generation chip.
5. The device according to claim 1, characterized in that The signal testing device further comprises a housing; the pulse generating module, the switching circuit, the selecting module and the clock generator are integrated in the housing.
6. The device according to claim 1, characterized in that The pulse generation module includes a trigger and a pulse generator; the pulse generator is connected to the trigger and the selection module respectively; The trigger is used to enable the pulse generator to generate a pulse signal.
7. The device according to claim 6, characterized in that The signal testing device further comprises a display; the display is connected to the trigger; The display is used to display the number of times the trigger is enabled.
8. The device according to claim 1 or 2, characterized in that: The signal testing device further comprises a signal input interface and a high-speed signal testing interface, wherein the signal input interface is respectively connected to the device to be tested and the selection module, and the high-speed signal testing interface is respectively connected to the selection module and the detection device.
9. The device according to claim 8, characterized in that The signal testing device further comprises a low-speed signal testing interface; the low-speed signal testing interface is respectively connected to the signal input interface and the detection device.
10. The device according to claim 8, characterized in that The signal testing device further comprises a jammer, which is connected to the device under test and the signal input interface respectively.
Citation Information
Patent Citations
PCIe test fixture Lane automatic switching method and device
CN113300906A
Signal test system
CN113868050A
Circuit tester with input channels
KR1020030086088A
Apparatus for Testing Solid State Drive based on PCIe Interface
KR1020230065067A