Signal monitoring device and signal monitoring system
By using signal monitoring equipment in SSD testing, the test environment is simplified, the testing efficiency is improved, the problem of low testing efficiency in the prior art is solved, and fast and accurate signal monitoring is achieved.
Patent Information
- Application Number
- CN202420586820.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-25
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2034-03-25
AI Technical Summary
The prior art has low testing efficiency during solid-state drive (SSD) testing, which is prone to prolonging the test cycle due to damage and reproduction problems of the test environment, and occupies a lot of manpower and resources.
A signal monitoring device is designed, including an offline test board, a solid-state drive, an offline powered battery, a signal monitoring module and a microcontroller unit (MCU). The signal monitoring module and MCU are set on the offline test board and connected through the M.2 seat. SSD, enables voltage and signal monitoring, avoids additional welding or wire pulling, and simplifies the test environment.
It improves testing efficiency, shortens the time for recurring and troubleshooting of problems, reduces manpower and resource usage, simplifies the test environment, and avoids test site damage caused by lead interference.
Smart Images

Figure CN222071553U_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computers, and specifically relates to a signal monitoring device and a signal monitoring system. Background Art
[0002] Before a solid state drive (SSD) leaves the factory, it is usually necessary to test the SSD, including monitoring the voltage and key signals of the SSD. By testing the SSD, problems with the SSD can be identified and solved, thus ensuring that the performance and parameters of the SSD meet industry standards before leaving the factory.
[0003] The related technology mainly monitors the voltage and key signals of the SSD by connecting a multimeter, an oscilloscope or other external test equipment, but this has high requirements on the test environment of the SSD, the test site is easily damaged during the test, and there is a problem of low test efficiency. Utility Model Content
[0004] The embodiments of the present application provide a signal monitoring device and a signal monitoring system, which can solve the problem of low testing efficiency in related technologies.
[0005] In a first aspect, an embodiment of the present application provides a signal monitoring device, including: an offline test board, a solid state drive, an offline power supply battery, a signal monitoring module and a microcontroller unit (MCU); the offline power supply battery, the signal monitoring module and the MCU are arranged on the offline test board;
[0006] The offline test board is provided with an M.2 seat, and the solid state drive is connected to the M.2 seat;
[0007] One end of the signal monitoring module is connected to the M.2 socket, and the other end of the signal monitoring module is connected to the MCU;
[0008] The offline power supply battery is coupled to the MCU.
[0009] In a second aspect, an embodiment of the present application provides a signal monitoring system, comprising a host and the signal monitoring device described in the first aspect, wherein the host is connected to the signal monitoring device.
[0010] At least one of the above technical solutions provided in the embodiments of the present application can achieve the following technical effects:
[0011] In an embodiment of the present application, the signal monitoring device includes: an offline test board, an SSD, an offline power supply battery, a signal monitoring module and a microcontroller unit MCU; the offline power supply battery, the signal monitoring module and the MCU are arranged on the offline test board; an M.2 socket is arranged on the offline test board, and the SSD and the M.2 socket are connected; one end of the signal monitoring module is connected to the M.2 socket, and the other end of the signal monitoring module is connected to the MCU; the offline power supply battery is coupled to the MCU. In this way, in the signal monitoring device, the offline power supply battery, the signal monitoring module and the MCU required for signal monitoring are all arranged on the offline test board, and the SSD to be tested is directly connected to the M.2 socket arranged on the offline test board to complete the test of the solid state drive, without the need for additional welding or wiring, and the test environment is relatively simple, which can avoid the damage to the test site due to factors such as lead interference, further improve the test efficiency, and thus solve the problem of low test efficiency existing in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions of the embodiments of the utility model, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the utility model and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying creative work.
[0013] Figure 1 A schematic diagram of a signal monitoring device provided in an embodiment of the present application;
[0014] Figure 2 An overall conceptual diagram of signal monitoring by a signal monitoring device provided in an embodiment of the present application;
[0015] Figure 3 A schematic diagram of a signal monitoring device provided in an embodiment of the present application;
[0016] Figure 4 A schematic diagram of a signal monitoring device provided in an embodiment of the present application;
[0017] Figure 5 A schematic diagram of a signal monitoring device provided in an embodiment of the present application;
[0018] Figure 6 A schematic diagram of a signal monitoring device provided in an embodiment of the present application;
[0019] Figure 7 A schematic diagram of a signal monitoring device provided in an embodiment of the present application;
[0020] Figure 8A schematic diagram of a signal monitoring device provided in an embodiment of the present application;
[0021] Fig. 9 A schematic diagram of a signal monitoring device provided in an embodiment of the present application;
[0022] Fig.10 is a complete schematic diagram of a signal monitoring device provided in an embodiment of the present application;
[0023] Fig.11 It is a structural block diagram of a signal monitoring system provided in an embodiment of the present application.
[0024] Description of reference numerals:
[0025] 100-offline test board; 200-solid state hard disk; 300-offline power supply battery; 400-signal monitoring module; 500-microcontroller unit MCU; 600-M.2 socket; 700-serial port recording module; 800: power consumption test module; 900: voltage monitoring module; 410-clock request signal monitoring module; 411-first operational amplifier; 412-diode parallel circuit; 413-second operational amplifier; 414-first comparator; 415-third operational amplifier; 416-RC filter circuit; 417-second comparator; 418-NO gate; 419-OR gate; 420-high-speed peripheral component interconnect express (Peripheral Component Interconnect express, PCIe) reset signal waveform recording module; 421-fourth operational amplifier; 422-third comparator; 430-reference clock signal monitoring implementation module; 431-fourth comparator; 710-Universal Asynchronous Receiver Transmitter (Universal Asynchronous Receiver Transmitter) Receiver / Transmitter, UART); 720-UART level converter; 730-UART-USB conversion element; 740-Universal Serial Bus Hub (USB HUB) element; 810-power switch; 820-E-KEY power board interface; 910-two-way comparator; 920-AND gate. DETAILED DESCRIPTION
[0026] The embodiments of the present application will be described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0027] The term "first" or "second" in the specification and claims of this application may include one or more of the features explicitly or implicitly. In the description of this application, unless otherwise specified, "plurality" means two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects connected before and after are in an "or" relationship.
[0028] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal connection of two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0029] The signal monitoring device method provided in the embodiment of the present application is applied in the SSD testing process, and specifically, can be used to monitor the voltage, signal waveform and serial port information of the SSD.
[0030] The related technologies for SSD testing usually adopt the following process: testing, exposing problems, analyzing the possibility of the problem, reproducing the problem, confirming the possibility through secondary reproducing the problem, rectifying the problem, retesting, and solving the problem. However, the above process will prolong the entire testing and problem solving cycle due to reproduction and retesting. In addition, when encountering test items with long test cycles or difficult reproduction, more time is required and a large amount of manpower and testing resources are occupied.
[0031] The signal monitoring device provided in this application can monitor and record during the test process, and can promptly obtain hardware voltage signals and serial port information when problems occur, thereby effectively shortening the time for problem reproduction and troubleshooting, and can solve the problems existing in the above-mentioned related technologies.
[0032] The signal monitoring device provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0033] See also Figure 1 and Figure 2 , Figure 1 A schematic diagram of a signal monitoring device provided in an embodiment of the present application. Figure 1As shown, the signal monitoring device includes: an offline test board 100, a solid state drive 200, an offline power supply battery 300, a signal monitoring module 400 and a micro control unit 500; the offline power supply battery 300, the signal monitoring module 400 and the micro control unit 500 are arranged on the offline test board 100; an M.2 socket 600 is arranged on the offline test board 100, and the solid state drive 200 is connected to the M.2 socket 600; one end of the signal monitoring module 400 is connected to the M.2 socket 600, and the other end of the signal monitoring module 400 is connected to the micro control unit 500; the offline power supply battery 300 is coupled to the micro control unit 500.
[0034] like Figure 2 As shown, Figure 2 The overall concept diagram of signal monitoring through a signal monitoring device provided in the embodiment of the present application. In the embodiment of the present application, the signal monitoring device can be connected to the host end through the M.2 interface, and the SSD can be connected to the signal monitoring device through the M.2 socket set on the signal monitoring device. In this way, the interaction between the host end and the SSD is realized, and the signal monitoring device monitors the voltage and signal of the SSD.
[0035] In an embodiment of the present application, the signal monitoring module 400 can be used to monitor key signals of the solid-state hard disk 200, and the key signals may include a PCIe clock request signal (CLKREQ signal), a PCIe reset signal (PERST signal), and a PCIe reference clock signal (REFCLK signal). The microcontroller unit 500 can be used to control the signal monitoring device to perform voltage monitoring, signal monitoring, etc. The offline power supply battery 300 is arranged on the offline test board 100, and when the signal monitoring device is in a power-off environment, the offline power supply battery 300 can be used to power the signal monitoring device, so that the signal monitoring device can still work offline for a period of time. At the same time, by setting the offline power supply battery, a relatively stable power supply environment can be provided for the signal monitoring device, which can be widely used in scenarios where the external power supply environment may change, such as power-on and power-off testing or low-power consumption testing environments.
[0036] In the embodiments of the present application, Figure 1 As shown, an M.2 socket 600 is provided on the offline test board 100, and the M.2 socket 600 can be used to connect the solid state drive 200. Therefore, after the solid state drive is connected, the solid state drive can be monitored through the M.2 socket.
[0037] In an embodiment of the present application, the signal monitoring device includes: an offline test board, an SSD, an offline power supply battery, a signal monitoring module and a microcontroller unit MCU; the offline power supply battery, the signal monitoring module and the MCU are arranged on the offline test board; an M.2 socket is arranged on the offline test board, and the SSD and the M.2 socket are connected; one end of the signal monitoring module is connected to the M.2 socket, and the other end of the signal monitoring module is connected to the MCU; the offline power supply battery is coupled to the MCU. In this way, in the signal monitoring device, the offline power supply battery, the signal monitoring module and the MCU required for signal monitoring are all arranged on the offline test board, and the SSD to be tested is directly connected to the M.2 socket arranged on the offline test board to complete the test of the solid state drive, without the need for additional welding or wiring, and the test environment is relatively simple, which can avoid the damage to the test site due to factors such as lead interference, further improve the test efficiency, and thus solve the problem of low test efficiency existing in the related technology.
[0038] In one embodiment of the present application, the signal monitoring device may include a boost power supply and a Universal Serial Bus (USB) interface. One end of the boost power supply is connected to the M.2 socket, and the other end is connected to the USB interface, and the offline power supply battery is connected to the USB interface. After the signal monitoring device is powered on, the boost power supply can charge the offline power supply battery via the USB interface.
[0039] In an embodiment of the present application, the signal monitoring device may further include a low dropout regulator (LDO). The USB interface may be connected to the LDO interface, and the LDO interface may be connected to the MCU. The LDO interface may be used to convert a higher input voltage into a stable output voltage to meet the input voltage requirement of the MCU. If the signal monitoring device is in an offline state, the offline power supply battery may supply power to the MCU via the USB interface and the LDO interface, and further supply power to the signal monitoring device.
[0040] In one embodiment of the present application, the signal monitoring device may include an access detection pin. The access detection pin may be located on an offline test board of the signal monitoring device, and the M.2 socket may be connected to the MCU via the access detection pin. At the same time, a ground pin may be provided on the SSD, and whether the SSD is connected to the signal monitoring device may be detected by connecting the ground pin on the SSD with the access detection pin on the signal monitoring device. Specifically, whether the SSD is connected to the signal monitoring device may be specifically determined by the detection signal of the access detection pin on the signal monitoring device. Since the detection signal defaults to a high potential, after the SSD is connected to the signal monitoring device, the detection signal is a low potential. Therefore, when the detection signal of the access detection pin is a low potential, it can be determined that the signal monitoring device and the SSD are in a connected state.
[0041] In one embodiment of the present application, the signal monitoring device may include a button battery. A real-time clock (RTC) module is present in the MCU, and a continuous counting counter is provided in the RTC module. The button battery is used to power the counter to ensure that the MCU and the clock are consistent with the clock of the host end.
[0042] In one embodiment of the present application, the signal monitoring module includes: a clock request signal monitoring module; the clock request signal monitoring module includes a clock request signal current direction detection branch, the clock request signal current direction detection branch includes a first operational amplifier and a diode parallel circuit, one end of the first operational amplifier is connected to the M.2 socket, the other end of the first operational amplifier is connected to one end of the diode parallel circuit, and the other end of the diode parallel circuit is connected to the MCU.
[0043] See also Figure 3 , Figure 3 A schematic diagram of a signal monitoring device provided in an embodiment of the present application, such as Figure 3 As shown, the signal monitoring device includes: an offline test board 100, a clock request signal monitoring module 410, a first operational amplifier 411, a diode parallel circuit 412, a micro control unit 500, an M.2 socket 600, an offline power supply battery 300 and a solid state drive 200. It should be noted that Figure 3 What is described in the figure is that the clock request signal monitoring module includes a clock request signal current direction detection branch, which is only an example. The signal monitoring module may also include a pulse width trigger detection branch.
[0044] In the embodiment of the present application, the clock request signal current direction detection branch is used to detect the current direction of the clock request signal (CLKREQ signal). Specifically, Figure 3 As shown, a diode parallel circuit 412 is set in the clock request signal current direction detection branch. The CLKREQ signal is set to a high level by default, and due to the characteristics of the diode, if one end of the two ends of the diode parallel circuit has a low level action, the diode will be unidirectionally conductive. Therefore, the conduction direction of the diode parallel circuit can be determined by sampling the voltage values at both ends of the diode parallel circuit and further comparing the voltage values to determine the current direction of the CLKREQ signal.
[0045] At the same time, by sampling the voltage values at both ends of the parallel circuit of the diodes, it can also be used to determine whether the initiator of the action of pulling the level down is the host or the SSD. The specific logic judgment can be seen in the following table:
[0046]
[0047] In an embodiment of the present application, the clock request signal current direction detection branch is used to compare the voltage values at both ends of the diode parallel circuit, so that the current direction of the CLKREQ signal can be detected, and it can also be used to determine whether the initiator of the action of pulling down the level is the host or the SSD.
[0048] In one embodiment of the present application, please refer to Figure 4 The signal monitoring device includes: an offline test board 100, a solid state drive 200, an offline power supply battery 300, a pulse width trigger detection branch and a microcontroller unit MCU500. The pulse width trigger detection branch includes a first branch, a second branch and an OR gate 419 connected to the MCU500; the first branch includes a second operational amplifier 413 and a first comparator 414 connected in series between the M.2 socket 600 and the OR gate 419; the M.2 socket 600 is connected to the second operational amplifier 413, and the first comparator 414 is connected to the OR gate 419; the second branch includes a third operational amplifier 415, an RC filter circuit 416, a second comparator 417 and a NOT gate 418 connected in series between the M.2 socket 600 and the OR gate 419 in sequence; the M.2 socket 600 is connected to the third operational amplifier 415; the NOT gate 418 is connected to the OR gate 419.
[0049] In the embodiment of the present application, due to the abnormal signal host signal or external interference caused by the construction environment, the clock request signal (CLKREQ signal) may malfunction, specifically, for example, there is an ultra-short pulse width in the CLKREQ signal. At this time, the pulse width trigger detection branch can be used for detection and recording.
[0050] In the embodiment of the present application, an operational amplifier follower circuit (including Figure 4 The second operational amplifier 413 and the third operational amplifier 415 in the first branch are used to reduce the impact of the sampling circuit on the CLKREQ signal. CLKREQ is high by default, and becomes low after being affected by the ultra-short pulse width. For ultra-short pulse width, since the ultra-short pulse width has a high frequency and a small drive, it is easy to reduce the impact by filtering, while the normal pulse width waveform is not easy to be eliminated by filtering. Therefore, an RC filtering circuit is provided in the second branch. Specifically, on the first branch, after passing through the operational amplifier, it is directly connected to the first comparator to obtain the waveform affected by the ultra-short pulse width; on the second branch, after passing through the third operational amplifier, it passes through the RC filtering circuit to obtain the effective waveform after filtering out the ultra-short pulse width.
[0051] In the embodiments of the present application, Figure 4 As shown, the OR gate 419 can be a three-input OR gate, and the three input signals include the output signal of the NOT gate 418, the output signal of the first comparator 414, and the output signal of the MCU500. Among them, the MCU outputs a low level by default. When the CLKREQ signal is affected by the ultra-short pulse width, the CLKREQ is at a low level. At this time, the first comparator 414 on the first branch without the RC filter circuit will detect the low level and trigger the latch; the second comparator 417 on the second branch with the RC filter circuit will detect that the normal waveform is a high level, and after passing through the NOT gate, the output signal of the NOT gate is a low level. The three input signals of the OR gate 419 are all low levels, triggering an interrupt, recording this event, and storing relevant information of this event (which may include voltage signals, signal waveforms, and serial port information). After the recording is completed, the latch of the first comparator 414 is released and re-detection begins.
[0052] The specific logic judgment idea can be referred to the table below, which records the normal situation (CLKREQ clock is high level), abnormal situation (CLKREQ signal has ultra-short pulse width), and the situation of triggering PS4 state. Among them, the signal fluctuation caused by triggering PS4 state can be regarded as a normal situation.
[0053]
[0054] In an embodiment of the present application, a trigger signal can be set to start the waveform recording function. The trigger signal can be determined by the test and debugging item. For example, the general purpose input and output (GPIO) interface signal or the ultra-short pulse width signal in the signal monitoring device can be used as a trigger signal. If the MCU detects a trigger signal, the waveform recording function can be started, the output signal of the operational amplifier circuit can be sampled, and the waveform related to the signal can be recorded. The MCU can be connected to a secure digital memory card (SD) to record the sampled signal waveform into the SD card. In addition, the sampling accuracy can be configured by the host computer, and the sampling length of the waveform sampling can be configured according to the capacity of the SD card.
[0055] In an embodiment of the present application, the pulse width trigger detection branch includes a first branch and a second branch; the first branch includes a second operational amplifier and a first comparator connected in series between the M.2 seat and the OR gate; the M.2 seat is connected to the second operational amplifier, and the first comparator is connected to the OR gate; the second branch includes a third operational amplifier, an RC filter circuit, a second comparator and a NOT gate connected in series between the M.2 seat and the OR gate in sequence; the M.2 seat is connected to the third operational amplifier; and the NOT gate is connected to the OR gate. In this way, the pulse width trigger detection branch can be used to detect whether the CLKREQ signal has an ultra-short pulse width, and an interrupt can be triggered in the presence of an ultra-short pulse width without being affected by other conditions, and the voltage, signal waveform and serial port information of the event can be recorded when the interrupt is triggered.
[0056] In one embodiment of the present application, the signal monitoring module includes: a high-speed peripheral component interconnect (PCIe) reset signal waveform recording module; the high-speed peripheral component interconnect (PCIe) reset signal waveform recording module includes a fourth operational amplifier and a third comparator; one end of the fourth operational amplifier is connected to the M.2 socket, and the other end is connected to the MCU; one end of the third comparator is connected to the MCU, and the other end is connected to the fourth operational amplifier.
[0057] See also Figure 5 , Figure 5 A schematic diagram of a signal monitoring device provided in an embodiment of the present application. Figure 5 As shown, the signal monitoring device includes: an offline test board 100, a high-speed peripheral component interconnect PCIe reset signal waveform recording module 420, a fourth operational amplifier 421, a third comparator 422, a micro control unit 500, an M.2 socket 600, an offline power supply battery 300 and a solid state drive 200.
[0058] In the embodiment of the present application, the PCIe reset signal (PERST signal) is generally at a high potential. If the PERST signal is at a low potential, the signal monitoring device is triggered to perform a reset operation.
[0059] In the embodiment of the present application, a fourth operational amplifier 421 and a third comparator 422 are set in the high-speed peripheral component interconnect PCIe reset signal waveform recording module 420. The signal passes through the fourth operational amplifier 421 and then inputs the third comparator. The result of the third comparator is used to determine whether the PERST signal triggers an interrupt. Specifically, if the result of the third comparator is at a low potential, it is determined that the PERST signal triggers an interrupt.
[0060] In an embodiment of the present application, a trigger signal can be set to start the waveform recording function. The trigger signal can be determined by a test and debugging item. For example, a GPIO interface signal or an ultra-short pulse width signal in a signal monitoring device can be used as a trigger signal. If the MCU detects a trigger signal, the waveform recording function can be started, the output signal of the operational amplifier circuit can be sampled, and the waveform related to the signal can be recorded. In the process of waveform sampling, the sampling accuracy can be configured by the host computer, for example, the sampling accuracy can be configured to 10 microseconds / one sampling point. At the same time, the sampling length of the waveform sampling can be configured, for example, 100 milliseconds. The MCU can be connected to an SD card, and the waveform sampled by the MCU can be recorded in the SD card. The sampling length can be determined according to the capacity of the SD card. The larger the capacity of the SD card, the longer the sampling length that can be set.
[0061] In the embodiment of the present application, the signal monitoring module includes: a high-speed peripheral component interconnect PCIe reset signal waveform recording module; the high-speed peripheral component interconnect PCIe reset signal waveform recording module includes a fourth operational amplifier and a third comparator; the fourth operational amplifier is connected to the M.2 socket, and is respectively connected to the third comparator and the MCU; the third comparator is connected to the MCU. In this way, the PERST signal can be monitored by the high-speed peripheral component interconnect PCIe reset signal waveform recording module, and when PERST is at a low level, it can be determined that the PERST signal triggers an interrupt, and the signal waveform during the PERST signal interrupt can be recorded.
[0062] In one embodiment of the present application, the signal monitoring module includes: a reference clock signal monitoring implementation module; the reference clock signal monitoring implementation module includes a fourth comparator, the fourth comparator is a differential input comparator, and one end of the fourth comparator is connected to the M.2 socket, and the other end of the fourth comparator is connected to the MCU.
[0063] See also Figure 6 , Figure 6A schematic diagram of a signal monitoring device provided in an embodiment of the present application. Figure 6 As shown, the signal monitoring device includes: an offline test board 100, a reference clock signal monitoring implementation module 430, a fourth comparator 431, a micro control unit 500, an M.2 socket 600, an offline power supply battery 300 and a solid state drive 200.
[0064] In an embodiment of the present application, the fourth comparator is a differential input comparator, and one end of the fourth comparator is connected to the M.2 socket, and the other end of the fourth comparator is connected to the MCU. The reference clock signal (REFCLK signal) can be a signal sent by the host end to the SSD. In actual situations, there may be application scenarios or test failures that are related to REFCLK abnormalities. In addition, in the absence of a REFCLK signal, it may indicate that the host end is abnormal or the connection between the host end and the SSD is abnormal, in which case the detection of other signals is invalid. Therefore, it is necessary to monitor the REFCLK signal.
[0065] In the embodiment of the present application, a fourth comparator 431 is set in the reference clock signal monitoring implementation module 430. The signal passes through the differential input comparator, and the result of the differential input comparator can be used to detect whether the host end sends a REFCLK signal to the SSD. If the differential input comparator outputs a high potential, it can be determined that the host end sends a REFCLK signal to the SSD. If the differential input comparator outputs a low potential, it can be determined that the host end does not send a REFCLK signal to the SSD. At the same time, when the differential input comparator outputs a low potential, the information of this event (including voltage, signal waveform and serial port information) can be recorded.
[0066] In the embodiment of the present application, the MCU can detect the GPIO interface used to determine whether the REFCLK signal is abnormally triggered. Specifically, if the MCU detects that the GPIO interface is pulled low, it can be determined that the REFCLK signal is abnormally triggered.
[0067] In the embodiment of the present application, the signal monitoring module includes: a reference clock signal monitoring implementation module; the reference clock signal monitoring implementation module includes a fourth comparator, the fourth comparator is a differential input comparator, and one end of the fourth comparator is connected to the M.2 socket, and the other end of the fourth comparator is connected to the MCU. In this way, the REFCLK signal can be monitored by the reference clock signal monitoring implementation module, and when the REFCLK signal is abnormally triggered, the signal waveform is recorded.
[0068] In one embodiment of the present application, the signal monitoring device also includes: a serial port recording module and a USB HUB element; the serial port recording module is connected to the MCU via the USB HUB element; the serial port recording module includes a universal asynchronous receiver / transmitter UART, a UART level converter, and a UART-USB conversion element; one end of the UART level converter is connected to the M.2 socket, and the other end is connected to the UART-USB conversion element; the UART-USB conversion element is connected to the USB HUB element; the UART is arranged between the UART level converter and the MCU, and the UART level converter is connected to the MCU via the UART.
[0069] See also Figure 7 , Figure 7 A schematic diagram of a signal monitoring device provided in an embodiment of the present application. Figure 7 As shown, the signal monitoring device includes: an offline test board 100, a serial port recording module 700, a universal asynchronous receiver and transmitter UART 710, a UART level converter 720, a UART-USB conversion element 730, a USB HUB element 740, a micro control unit 500, an M.2 socket 600, an offline power supply battery 300 and a solid state drive 200.
[0070] The serial port recording module 700 is connected to the MCU 500 via the USB HUB 740 component. Meanwhile, the serial port recording module 700 includes a universal asynchronous receiver transmitter UART 710, a UART level converter 720, and a UART-USB conversion component 730; one end of the UART level converter 720 is connected to the M.2 socket 600, and the other end is connected to the UART-USB conversion component 730; the UART-USB conversion component 730 is connected to the USB HUB component 740; the UART 710 is arranged between the UART level converter 720 and the MCU 500, and the UART level converter 720 is connected to the MCU 500 via the UART 710.
[0071] In an embodiment of the present application, the serial port information may include the read and write status information and the working status information of the serial port. The UART level converter 720 is used to convert the input voltage into a voltage that can be input by the MCU 500. The UART-USB conversion element 730 is used to convert into a USB interface to connect to the MCU. The UART 710 can send the serial port information to the MCU 500.
[0072] In the embodiment of the present application, the MCU can be connected to an SD card, and the MCU can store serial port information in the SD card. The USB HUB component can expand multiple USB interfaces, and serial port data transparent transmission between the host, MCU and SSD can be realized.
[0073] In an embodiment of the present application, the signal monitoring device further includes: a serial port recording module and a USB HUB element; the serial port recording module is connected to the MCU via the USB HUB element; the serial port recording module includes a universal asynchronous receiver transmitter UART, a UART level converter, and a UART-USB conversion element; one end of the UART level converter is connected to the M.2 socket, and the other end is connected to the UART-USB conversion element; the UART-USB conversion element is connected to the USB HUB element; the UART is arranged between the UART level converter and the MCU, and the UART level converter is connected to the MCU via the UART. In this way, the serial port information can be automatically recorded through the serial port recording module of the signal monitoring device, which can be used to compare the serial port information during abnormal triggering or long-term monitoring to determine whether it is consistent with the test situation.
[0074] In one embodiment of the present application, the signal monitoring device also includes: a power consumption test module; the power consumption test module includes a power switch, a current test board and an E-KEY power board interface; one end of the power switch is connected to the M.2 socket, and the other end is connected to the E-KEY power board interface; one end of the E-KEY power board interface is connected to the M.2 socket, and the other end is connected to the MCU; the current test board is plugged into the E-KEY power board interface; the E-KEY power board interface is coupled to the offline power supply battery.
[0075] See also Figure 8 , Figure 8 A schematic diagram of a signal monitoring device provided in an embodiment of the present application. Figure 8 As shown, the signal monitoring device includes: an offline test board 100, a power consumption test module 800, a power switch 810, an E-KEY power board interface 820, a micro control unit 500, an M.2 socket 600, an offline power supply battery 300 and a solid state drive 200.
[0076] In the embodiment of the present application, the power consumption test module also includes a current test board, which can be used to be plugged into the E-KEY power board interface. One end of the power switch 810 is connected to the M.2 socket 600, and the other end is connected to the E-KEY power board interface 820; one end of the E-KEY power board interface 820 is connected to the M.2 socket 600, and the other end is connected to the MCU 500; the current test board is plugged into the E-KEY power board interface 820; the E-KEY power board interface 820 is coupled to the offline power supply battery 300.
[0077] In the embodiment of the present application, the power consumption test module can be used to measure the current of the M.2 socket inlet and outlet under different conditions. Figure 8 As shown, an E-KEY power board interface 820 may be provided in the power consumption test module. When the current test board is not plugged into the E-KEY power board interface, the power switch is in the on state, and the power channel can be normally provided by the power switch. When the current test board is plugged into the E-KEY power board interface, the E-KEY power board interface can be switched to the current detection function, and the power switch is in the off state. At this time, the power channel is no longer provided by the power switch, but power is supplied by the current test board. At the same time, the E-KEY power board interface can be connected to the power consumption test interface, and the power consumption test interface can be used to measure the current between the M.2 socket and the E-KEY power board interface.
[0078] In an embodiment of the present application, the signal monitoring device also includes: a power consumption test module; the power consumption test module includes a power switch, a current test board and an E-KEY power board interface; one end of the power switch is connected to the M.2 socket, and the other end is connected to the E-KEY power board interface; one end of the E-KEY power board interface is connected to the M.2 socket, and the other end is connected to the MCU; the current test board is plugged into the E-KEY power board interface; the E-KEY power board interface is coupled to the offline power supply battery. In this way, by providing an additional E-KEY power board interface and the connection status of the current test board, circuits under different power supplies can be realized, and the measurement of circuit currents under different states can be realized through the E-KEY power board interface.
[0079] In one embodiment of the present application, the signal monitoring device also includes: a voltage monitoring module; the voltage monitoring module includes two comparators and a logic gate; wherein the two comparators include a fifth comparator and a sixth comparator; the logic gate is an AND gate; the two comparators are connected to the logic gate, and the two comparators are connected to the M.2 socket; the logic gate is connected to the MCU.
[0080] See also Fig. 9 , Fig. 9 A schematic diagram of a signal monitoring device provided in an embodiment of the present application. Fig. 9 As shown, the signal monitoring device includes: an offline test board 100 , a voltage monitoring module 900 , two comparators 910 , an AND gate 920 , a micro control unit 500 , an M.2 socket 600 , an offline power supply battery 300 and a solid state drive 200 .
[0081] In the embodiments of the present application, Fig. 9 As shown, the two-way comparator 910 is connected to the AND gate 920, and the two-way comparator 910 is connected to the M.2 socket 600; the AND gate 920 is connected to the MCU 500. The specific two-way comparator may include two comparators, and the two comparators may be connected in series, and can be used to compare the detected power supply voltage to determine whether the detected power supply voltage is in a state of triggering power failure.
[0082] In an embodiment of the present application, after the signal monitoring device detects that the SSD device is inserted or the system starts to power on, the signal monitoring device turns on the voltage monitoring function through the voltage monitoring module. At the same time, the MCU can sample the signal during the monitoring process and record the waveform of the sampled signal in real time. The trigger threshold for triggering power failure can be determined by configuring the digital-to-analog converter on the host computer, or by manually adjusting the voltage divider resistor. For example, the trigger threshold can be set to 2.3 volts (V). At the same time, the preset voltage value for comparison between the two comparators can also be set, that is, one comparator can be used to determine whether the detected voltage is greater than the preset voltage value of the comparator, and the other comparator can be used to determine whether the detected voltage is greater than the preset voltage value of the comparator. For example, the preset voltage value of a comparator can be set to 2.3 volts (V), and the comparator can be used to determine whether the detected voltage is greater than 2.3 volts (V); the preset voltage value of another comparator can be set to 1.1 volts (V), and the comparator can be used to determine whether the detected voltage is greater than 1.1 volts (V).
[0083] Specifically, the logic judgment concept of the abnormal power-off triggering event can be referred to the following table, where H represents that the comparator result is a high potential, and L represents that the comparator result is a low potential.
[0084]
[0085] In the embodiment of the present application, the MCU can detect whether the GPIO interface is pulled low. If the GPIO interface is detected to be pulled low, it can be determined that there is an abnormal triggering of this event. The signal monitoring device will record the relevant information of this event and store the waveform of the signal monitored by this abnormal triggering event. The MCU can be connected to an SD card, and the MCU can store the relevant information of this event in the SD card. The larger the capacity of the SD card, the longer the signal waveform can be stored.
[0086] In the embodiment of the present application, the signal monitoring device further includes: a voltage monitoring module; the voltage monitoring module includes two comparators and a logic gate; wherein the two comparators include a fifth comparator and a sixth comparator; the logic gate is an AND gate; the two comparators are connected to the logic gate, and the two comparators are connected to the M.2 socket; the logic gate is connected to the MCU. In this way, the input voltage can be monitored by the voltage monitoring module. Since the input voltage may directly affect the working state of the SSD, monitoring the input voltage is conducive to analyzing the cause of the abnormality of the SSD.
[0087] See also Fig.10 , Fig.10 A complete schematic diagram of a signal monitoring device provided in an embodiment of the present application. Fig.10 As shown, the signal monitoring device includes an offline power supply battery 300 , a micro control unit MCU 500 , an M.2 socket 600 , a signal monitoring module 400 , a serial port recording module 700 , a USB HUB component 740 , a power consumption test module 800 , and a voltage monitoring module 900 .
[0088] Among them, the signal monitoring module 400 includes: a first operational amplifier 411, a diode parallel circuit 412, a second operational amplifier 413, a first comparator 414, a third operational amplifier 415, an RC filter circuit, a second comparator 417, a NOT gate 418, an OR gate 419, a fourth operational amplifier 421, a third comparator 422, a fourth comparator 431 and an access detection pin. The serial port recording module 700 includes: a universal asynchronous receiver transmitter UART 710, a UART level converter 720 and a UART-USB conversion element 730. The power consumption test module 800 includes: a power switch 810, an E-KEY power board interface 820 and a current test board (not shown in the figure). The voltage monitoring module 900 includes: two comparators 910 and an AND gate 920. For specific connection relationships, please refer to Fig.10 , I will not go into details here.
[0089] At the same time, it should be understood that a signal monitoring device provided in an embodiment of the present application may have the following beneficial effects: First, offline monitoring can release resources occupied by reproducing problems; second, the test environment is simplified, and the monitoring of key signals and power supplies no longer relies on operations such as welding, wire pulling, and lapped oscilloscopes, which can avoid the introduction of external variables and human damage to the problem site, provide effective information and solutions for Debug, and improve test efficiency; third, it can cooperate with the current test board to realize the input power consumption test function, and there is no need to connect additional current test equipment in series; fourth, external battery power supply and RTC function are added, and there is no need to add additional power wiring, so that it can still work offline for a period of time in a power-off environment; fifth, the voltage, key signals and serial port information can be recorded at the same time, realizing the synchronous testing and integration of key test items.
[0090] Fig.11 is a structural block diagram of a signal monitoring system provided in an embodiment of the present application. Fig.11 The signal monitoring system 1100 provided in the embodiment of the present application includes: a host 1110 and a signal monitoring device 1120. In the embodiment of the present application, the signal monitoring system can realize the interaction between the host and the signal monitoring device, and complete the detection of the SSD.
[0091] In one embodiment of the present application, the host 1110 is connected to the signal monitoring device 1120 via the M.2 interface of the M.2 socket, and the signal monitoring device 1120 is an offline signal monitoring device. In the embodiment of the present application, a simple connection between the host and the offline signal monitoring device is achieved through the M.2 interface of the M.2 socket, and the host can still work offline for a period of time in a power-off environment, and external interference caused by additional welding and wiring can be avoided, thereby improving test efficiency.
[0092] In an embodiment of the present application, the signal monitoring device includes: an offline test board, an SSD, an offline power supply battery, a signal monitoring module and a microcontroller unit MCU; the offline power supply battery, the signal monitoring module and the MCU are arranged on the offline test board; an M.2 socket is arranged on the offline test board, and the SSD and the M.2 socket are connected; one end of the signal monitoring module is connected to the M.2 socket, and the other end of the signal monitoring module is connected to the MCU; the offline power supply battery is coupled to the MCU. In this way, in the signal monitoring device, the offline power supply battery, the signal monitoring module and the MCU required for signal monitoring are all arranged on the offline test board, and the SSD to be tested is directly connected to the M.2 socket arranged on the offline test board to complete the test of the solid state drive, without the need for additional welding or wiring, and the test environment is relatively simple, which can avoid the damage to the test site due to factors such as lead interference, further improve the test efficiency, and thus solve the problem of low test efficiency existing in the related technology.
[0093] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0094] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0095] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A signal monitoring device, characterized in that: include: An offline test board, a solid state drive, an offline power supply battery, a signal monitoring module and a microcontroller unit MCU; the offline power supply battery, the signal monitoring module and the MCU are arranged on the offline test board; The offline test board is provided with an M.2 seat, and the solid state drive is connected to the M.2 seat; One end of the signal monitoring module is connected to the M.2 socket, and the other end of the signal monitoring module is connected to the MCU; The offline power supply battery is coupled to the MCU.
2. The signal monitoring device according to claim 1, characterized in that: The signal monitoring module includes: a clock request signal monitoring module; The clock request signal monitoring module includes a clock request signal current direction detection branch, and the clock request signal current direction detection branch includes a first operational amplifier and a diode parallel circuit, one end of the first operational amplifier is connected to the M.2 socket, the other end of the first operational amplifier is connected to one end of the diode parallel circuit, and the other end of the diode parallel circuit is connected to the MCU.
3. The signal monitoring device according to claim 1 or 2, characterized in that: The signal monitoring module includes: a clock request signal monitoring module; the clock request signal monitoring module includes a pulse width trigger detection branch; The pulse width trigger detection branch includes a first branch, a second branch and an OR gate connected to the MCU; The first branch includes a second operational amplifier and a first comparator connected in series between the M.2 seat and the OR gate; the M.2 seat is connected to the second operational amplifier, and the first comparator is connected to the OR gate; The second branch includes a third operational amplifier, an RC filter circuit, a second comparator and a NOT gate which are connected in series between the M.2 seat and the OR gate in sequence; the M.2 seat is connected to the third operational amplifier; and the NOT gate is connected to the OR gate.
4. The signal monitoring device according to claim 1, characterized in that: The signal monitoring module includes: a high-speed peripheral component interconnect PCIe reset signal waveform recording module; The PCIe reset signal waveform recording module includes a fourth operational amplifier and a third comparator; One end of the fourth operational amplifier is connected to the M.2 socket, and the other end is connected to the MCU; One end of the third comparator is connected to the MCU, and the other end is connected to the fourth operational amplifier.
5. The signal monitoring device according to claim 1, characterized in that: The signal monitoring module includes: a reference clock signal monitoring implementation module; The reference clock signal monitoring implementation module includes a fourth comparator, which is a differential input comparator. One end of the fourth comparator is connected to the M.2 socket, and the other end of the fourth comparator is connected to the MCU.
6. The signal monitoring device according to claim 1, characterized in that: The signal monitoring device further comprises: a serial port recording module and a universal serial bus expander USB HUB component; the serial port recording module is connected to the MCU via the USB HUB component; The serial port recording module includes a universal asynchronous receiver / transmitter UART, a UART level converter and a UART-USB conversion element; One end of the UART level converter is connected to the M.2 socket, and the other end is connected to the UART-USB conversion element; The UART-USB conversion element is connected to the USB HUB element; The UART is disposed between the UART level converter and the MCU, and the UART level converter is connected to the MCU via the UART.
7. The signal monitoring device according to claim 1, characterized in that: The signal monitoring device further includes: a power consumption testing module; The power consumption test module includes a power switch, a current test board and an E-KEY power board interface; One end of the power switch is connected to the M.2 socket, and the other end is connected to the E-KEY power board interface; One end of the E-KEY power board interface is connected to the M.2 socket, and the other end is connected to the MCU; The current test board is plugged into the E-KEY power board interface; The E-KEY power board interface is coupled to the offline power supply battery.
8. The signal monitoring device according to claim 1, characterized in that: The signal monitoring device further includes: a voltage monitoring module; The voltage monitoring module includes two comparators and a logic gate; wherein the logic gate is an AND gate; The two-way comparator and the logic gate are connected in series between the M.2 socket and the MCU, the two-way comparator is connected to the M.2 socket, and the logic gate is connected to the MCU.
9. A signal monitoring system, characterized in that: It comprises a host and a signal monitoring device according to any one of claims 1 to 8, wherein the host is connected to the signal monitoring device.
10. The signal monitoring system according to claim 9, characterized in that: The host is connected to the signal monitoring device via the M.2 interface of the M.2 socket, and the signal monitoring device is an offline signal monitoring device.
