A method for generating digital eye diagrams, a solid-state drive, and an electronic device.

By generating a digital eye diagram inside the solid-state drive and using numerical traversal of the reference voltage and DQS delay, the problem of not being able to independently measure the signal eye diagram for each die in the prior art is solved, thus realizing refined signal analysis and performance optimization.

CN123120002APending Publication Date: 2026-11-17HEFEI DATANG STORAGE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611248454.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-17
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing technologies cannot independently measure the signal eye diagram of each die in a solid-state drive, resulting in the signal timing margin not being fully utilized and comprehensive signal analysis being impossible.

Method used

A digital eye diagram is generated by traversing the reference voltage and the data strobe signal DQS delay within the solid-state drive. Signal analysis is performed independently for each die, without the need for external devices, and the eye diagram is generated using digital test results.

Benefits of technology

It enables refined signal analysis of each die, optimizes signal integrity and timing margin, and improves the overall performance of the solid-state drive.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123120002A_ABST
    Figure CN123120002A_ABST
Patent Text Reader

Abstract

A method for generating digital eye diagrams, a solid-state drive (SSD), and an electronic device are disclosed. The method, applied to a solid-state drive, includes the following digital eye diagram generation steps for each die included in the SSD: obtaining scan configuration parameters for the die; searching and determining multiple test parameter groups within the start and end ranges of a first parameter and a second parameter according to a parameter search strategy, and performing set test operations on the die under each test parameter group to obtain test results; each test parameter group includes a first parameter value and a second parameter value determined by the search; generating a digital eye diagram for the die based on the test results corresponding to all test parameter groups of the die; wherein the first and second parameters include a reference voltage and a DQS delay. This method enables the generation of eye diagrams for each die without the need for external oscilloscopes, protocol analyzers, or dedicated test equipment, achieving comprehensive signal analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This article relates to, but is not limited to, the field of solid-state drive (SSD) technology, and in particular to a digital eye diagram generation method for SSDs, SSDs, and electronic devices. Background Technology

[0002] With the iteration of the ONFI protocol, the mainstream interface protocol for NAND Flash, NAND I / O speeds have increased significantly, greatly improving the system performance of solid-state drives (SSDs). However, this also brings greater challenges to interface signal integrity. Measuring eye diagrams is an excellent method for analyzing signal quality. Existing eye diagrams... Figure 1 Typically, measurements are taken using a high-speed dedicated oscilloscope, requiring specialized measuring fixtures to hold the measurement probe. The product hardware also needs specific test points, increasing hardware cost and complexity. ONFI channels usually have multiple NAND dies. Due to differences in physical location, packaging, and trace length, the signal eye diagrams of different dies vary. Existing solutions, due to hardware limitations, cannot obtain the eye diagram for each die; instead, they set uniform sampling parameters based on the worst-case or average die, resulting in the timing margin of other dies not being fully utilized. Providing a more convenient eye diagram generation solution is essential for comprehensive SSD signal analysis. Summary of the Invention

[0003] This disclosure provides a method for generating numerical eye diagrams for solid-state drives (SSDs), an SSD, and an electronic device. Based on the numerical traversal of the SSD's internal reference voltage and the delay of the data strobe signal DQS, data read / write tests are performed. A digital eye diagram is generated based on the digitized test results. This method requires no external oscilloscope, protocol analyzer, or dedicated testing equipment and can generate eye diagrams for each die, enabling comprehensive signal analysis.

[0004] This disclosure provides a digital eye diagram generation method applied to solid-state drives, including: For each die comprising the solid-state drive, the following digital eye diagram generation steps are performed sequentially: Obtain the scan configuration parameters of the chip die, the scan configuration parameters including: the start and end range of the first parameter, the start and end range of the second parameter, and the parameter search strategy; According to the parameter search strategy, multiple test parameter groups are searched and determined within the start and end ranges of the first parameter and the second parameter, and a set test operation is performed on the wafer die under each test parameter group to obtain test results; each test parameter group includes the searched and determined first parameter value and second parameter value. Based on the test results corresponding to all test parameter groups of the chip die, generate the digital eye diagram of the chip die; The first parameter is the reference voltage Vref, and the second parameter is the delay of the data strobe signal DQS, or the first parameter is the DQS delay and the second parameter is Vref; the test operation includes reading data or writing data; the test result includes bit error rate or success / failure indication.

[0005] This disclosure also provides a solid-state drive, including: a control module and flash memory chips; The control module includes a processor configured to execute a computer program to generate a digital eye diagram of each wafer die included in the flash memory chip, as described in any embodiment of this disclosure.

[0006] This disclosure provides an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the digital eye diagram generation method as described in any embodiment of this disclosure.

[0007] Other features and advantages of this application will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the application. Other advantages of this application can be realized and obtained by means of the embodiments described in the description and the accompanying drawings. Attached Figure Description

[0008] The accompanying drawings are used to provide an understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.

[0009] Figure 1 A flowchart of a digital eye diagram generation method provided in this disclosure embodiment; Figure 2 A schematic diagram of a digital eye diagram provided in an embodiment of this disclosure; Figure 3 A flowchart of another digital eye diagram generation method provided in this disclosure embodiment; Figure 4 A flowchart of another digital eye diagram generation method provided in this disclosure embodiment; Figure 5 A flowchart of another digital eye diagram generation method provided in this disclosure embodiment; Figure 6 This is a schematic diagram of the structure of an SSD provided in an embodiment of this disclosure. Detailed Implementation

[0010] This application describes several embodiments, but these descriptions are exemplary and not limiting, and it will be apparent to those skilled in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with, or may replace, any feature or element of any other embodiment.

[0011] This application includes and contemplates combinations of features and elements known to those skilled in the art. The embodiments, features, and elements disclosed in this application can also be combined with any conventional features or elements to form unique inventive solutions. Any feature or element of any embodiment can also be combined with features or elements from other inventive solutions to form another unique inventive solution. Therefore, it should be understood that any feature shown and / or discussed in this application can be implemented individually or in any suitable combination. Therefore, the embodiments are not limited except by the limitations imposed by the appended claims and their equivalents. Furthermore, various modifications and changes can be made within the scope of the appended claims.

[0012] Furthermore, in describing representative embodiments, the specification may have presented methods and / or processes as a specific sequence of steps. However, the method or process should not be limited to the specific order of steps described herein, to the extent that it does not depend on such a specific order. As will be understood by those skilled in the art, other sequences of steps are also possible. Therefore, the specific order of steps set forth in the specification should not be construed as a limitation of the claims. Moreover, the claims concerning the method and / or process should not be limited to the steps performed in the written order, and those skilled in the art will readily understand that these orders can be varied and still remain within the spirit and scope of the embodiments of this application.

[0013] An eye diagram is a core "health check report" for evaluating the quality of high-speed digital signals (such as PCIe and DDR interfaces) in a device. It is not a real physical signal, but rather a graphic resembling an "eye" formed by superimposing a large amount of data streams using technical means. In SSDs, the quality of the eye diagram directly affects the reliability and speed of data transmission. Traditional generation methods use high-performance oscilloscopes or bit error rate testers (BERTs) to sample and analyze the physical signals, requiring the use of probes or test clips. For multi-chip SSDs, it is impossible to perform targeted testing on each chip individually. Furthermore, preparing test conditions is difficult when performing signal analysis on delivered products. This disclosure provides a digital eye diagram generation method based on the internal control module of an SSD. It requires no external testing equipment and no physical signal sampling points. It can be used not only for product signal analysis during the testing phase but also for targeted testing of mass-produced or already-used products, generating digital eye diagrams and laying the foundation for product signal analysis and parameter adjustment.

[0014] In some exemplary embodiments, an SSD includes at least one channel, each channel corresponding to at least one die, each die including at least one plane, each plane including at least one block, and each block including at least one page. When the SSD reads or writes data according to storage access instructions from the host, the page is the smallest processing unit; when erasing data, the block is the smallest processing unit. A die is a tiny silicon wafer with complete storage functionality cut from a complete wafer and is the most basic physical unit constituting the core storage component of an SSD. An ONFI channel typically carries multiple NAND dies; due to differences in physical location, packaging, trace length, and load distribution, the signal eye diagrams of different dies vary. Existing measurement methods based on external instruments such as oscilloscopes can typically only capture signals at a single physical location, making it difficult to obtain eye diagrams for each die individually. However, the method provided in this disclosure can perform eye diagram scanning independently for each die, enabling the generation of differentiated eye diagrams across multiple dies. This provides comprehensive data support for system-level signal integrity analysis and timing margin optimization. By generating eye diagrams based on dies and performing targeted signal analysis and sampling parameter configuration, fine-grained management within SSDs can be achieved, optimizing overall performance.

[0015] This disclosure provides a method for generating a digital eye diagram, such as... Figure 1 As shown, it is applied to solid-state drives and includes: For each die comprising the solid-state drive, the following digital eye diagram generation steps are performed sequentially: Step 110: Obtain the scan configuration parameters of the chip die. The scan configuration parameters include: the start and end range of the first parameter, the start and end range of the second parameter, and the parameter search strategy. Step 120: According to the parameter search strategy, multiple test parameter groups are searched and determined within the start and end ranges of the first parameter and the second parameter, and a set test operation is performed on the wafer die under each test parameter group to obtain test results; each test parameter group includes the searched and determined first parameter value and second parameter value. Step 130: Generate a digital eye diagram of the wafer die based on the test results corresponding to all test parameter groups of the wafer die; The first parameter is the reference voltage Vref, and the second parameter is the delay of the data strobe signal DQS, or the first parameter is the DQS delay and the second parameter is Vref; the test operation includes reading data or writing data; the test result includes bit error rate (BER) or success / failure indication.

[0016] In SSD NAND flash memory interfaces (such as ONFI or Toggle protocols), the core function of DQS latency is to accurately locate data sampling points, ensuring that the controller can correctly "read" or "write" data. DQS latency solves the problem of "when to capture data" (phase / time dimension); the reference voltage (Vref) solves the problem of "determining whether the captured data is 0 or 1" (voltage / amplitude dimension). One governs "timing," and the other governs "standard," together forming the two cornerstones of signal integrity in the NAND flash physical layer. The eye diagram generated by the embodiments of this disclosure reflects the test results of die read / write operations from two dimensions: reference voltage and DQS latency.

[0017] The test results include bit error rate (BER) or success / failure indicators. BER refers to the BER of a single read or write operation, or the average BER of multiple read or write operations. The success or failure of an operation under a set of reference voltages and DQS delay parameters can be determined by comparing the BER with a set threshold, such as a threshold of 0 or other values. Success / failure indicators include success and failure indicators, which can be calculated based on the BER or read from the "success / failure" flag bit in the die's internal status register. This flag bit is automatically written by the chip's internal hardware logic (such as a state machine or built-in self-test BIST circuit). Success / failure indicators can also be obtained in other ways, not limited to specific aspects. In this embodiment, the generated digital eye diagram has a similar "eye" shape to eye diagrams generated by conventional methods. Based on the test results, an intraocular region and an extraocular region are formed. The region with a BER greater than the set threshold, or the region indicating failure, is the extraocular region, also called the invalid region; the region with a BER less than or equal to the set threshold, or the region indicating success, is the intraocular region, also called the valid region.

[0018] In this digital eye diagram, the two dimensions can be interchanged in direction; this type of electronic eye diagram is also called a 2D eye diagram. In some exemplary embodiments, the horizontal axis represents the DQS delay dimension, and the vertical axis represents the risk dimension, such as... Figure 2 As shown in the diagram, the left and right boundaries and the top and bottom boundaries correspond to timing margin and voltage margin, respectively. The DQS delay and reference voltage (Dc, Vc) corresponding to the center position within the eye can be used as the optimal sampling parameters for the current stage of the die, also known as the optimal operating parameters. As the SSD is used over time, the digital eye diagram can be regenerated and the center point position updated to dynamically determine the optimal operating parameters.

[0019] As can be seen, in some exemplary embodiments, the SSD hardware components typically integrate a programmable DQS (Data Strobe Signal) delay line and a programmable Vref (Reference Voltage) comparison level; for example, in the ONFI PHY physical layer components. The embodiments of this disclosure use these two configurable parameters as two-dimensional scanning parameters: using standard NAND Flash read / write operations as the excitation source, the control module in the SSD performs bit error rate statistics or success / failure indication on the bus operation results. The target die drives a read or write operation under a given combination of parameters (reference voltage Vref, DQS delay) and records the test results corresponding to that combination. By systematically traversing all or part of the combinations within the Vref start and end range and the DQS delay start and end range, based on the test results corresponding to the traversed parameter combinations, valid and invalid regions can be distinguished, and the corresponding digital eye diagram can be obtained.

[0020] In essence, a parameter search strategy refers to the strategy of determining the parameter values ​​used in testing within the start and end range of the parameters. Based on the determined parameter values, SSD operation testing can identify the boundaries of the effective region and generate a digital eye diagram. Typically, the goal of searching for and determining parameter values ​​is to comprehensively cover all possible test results. A parameter search strategy is a strategy specific to a single parameter; that is, the first-level or second-level traversal included in a parameter search strategy refers to the search method for the test parameter values ​​specific to a single parameter. For example, a simple first-level traversal can be used to search within the start and end range, using equal or unequal step sizes to determine multiple parameter values, covering the start and end range; this is also called a first-level full traversal. Alternatively, a multi-level traversal can be used to search within the start and end range. For example, a two-level traversal, also known as a coarse + fine two-level traversal, first uses a larger step size for a first-level (full) traversal, i.e., a coarse-grained scan, to determine the parameter sub-ranges containing the boundaries of the effective region. Then, a second-level traversal is performed on these parameter sub-ranges containing the boundaries to determine the more precise parameter values ​​corresponding to the ranges where the boundaries are located.

[0021] It is understandable that, without conflict, the first parameter and the second parameter can each be set with different parameter search strategies. For example, the first parameter can use a first-level traversal with equal steps, and for each current value of the first parameter, a second-level traversal of coarse and fine steps can be used for the second parameter. When the first parameter and the second parameter use different parameter search strategies, the corresponding scan configuration parameters can be expanded accordingly. Further implementation methods are not limited to the aspects exemplified in this disclosure.

[0022] In some exemplary embodiments, the parameter search strategy includes: a first-level traversal; the scan configuration parameters further include: the step size of the first parameter and the step size of the second parameter; The search identifies multiple sets of test parameters, including: Within the start and end range of the first parameter, select each current value of the first parameter according to the change step size of the first parameter; under each current value of the first parameter, within the start and end range of the second parameter, select multiple values ​​according to the change step size of the second parameter; and combine the current value of the first parameter with each selected value of the second parameter to form a test parameter group.

[0023] That is, each current value of the first parameter is selected within the start and end range of the first parameter according to the change step size of the first parameter; under each current value of the first parameter, multiple values ​​of the second parameter are selected within the start and end range of the second parameter according to the change step size of the second parameter.

[0024] In other words, within the start and end ranges of Vref and DQS delays respectively, according to their respective change step sizes, one parameter is used as a fixed value, and under each current value of the parameter, all values ​​of the other parameter are traversed to form a test parameter group, and the set test operation is executed to obtain the test result.

[0025] In some exemplary embodiments, the first parameter is Vref, the second parameter is DQS delay, and step 120 includes: within the start and end range of Vref, sequentially selecting each current value of Vref according to the change step size of Vref; under each current value of Vref, within the start and end range of the DQS delay, traversing all values ​​of DQS delay according to the change step size of DQS delay; forming a test parameter group by combining the current value of Vref and each traversed DQS delay value, and performing a set test operation on the die under each test parameter group to obtain test results.

[0026] As can be seen, each test parameter group includes a set of reference voltage Vref and DQS delay with defined values. Based on the test results corresponding to all the test parameter groups, a binary two-dimensional matrix is ​​generated; wherein, each element in the binary two-dimensional matrix corresponds to the binary label of the test result of a test parameter group. The digital eye diagram is generated based on the binarized two-dimensional matrix; The binary two-dimensional matrix includes two dimensions: reference voltage Vref and DQS delay; When the test result is a bit error rate, a bit error rate greater than the bit error rate threshold is marked as a first state, and a bit error rate less than or equal to the bit error rate threshold is marked as a second state; when the test result is a success or failure indication, a failure indication is marked as a first state, and a success indication is marked as a second state.

[0027] Perform connected component analysis on the binarized two-dimensional matrix to determine the largest connected component composed of elements in the second state; extract the contour line of the largest connected component and determine the contour line as the boundary of the intraocular (effective) region.

[0028] A two-dimensional eye diagram matrix is ​​constructed based on each test parameter group and its corresponding test results. Each element corresponds to the test result of a test parameter group. For example, each element corresponds to the bit error rate (BER) or success / failure indicator for a test parameter group. The BER is compared with a BER threshold to achieve binarization; the failure or success indicator can be directly mapped to the first and second states.

[0029] For example, the test result is the bit error rate. The first state is invalid and marked as 0, and the second state is valid and marked as 1. By using a double-layered traversal loop, each set of test parameters is obtained, resulting in a binary two-dimensional matrix marked with 0 and 1. Based on this two-dimensional matrix, the upper boundary (Vu) and lower boundary (Vl) of the Die in the Vref dimension, and the left boundary (Dl) and right boundary (Dr) in the DQS Delay dimension, can be determined, generating a digital eye diagram. For example, Figure 2 As shown, the vertical dashed lines correspond to a specific DQS delay, also known as a DQS delay line, and correspond to a DQS delay value. This includes an upper boundary point (Vu) and a lower boundary point (Vl) that distinguishes the valid and invalid regions, or, alternatively, no boundary point is included. Connecting the upper and lower boundary points of each specified DQS delay line within the entire DQS delay range forms the upper and lower boundary lines of the eye diagram. The horizontal dashed lines correspond to a specific Vref, also known as a Vref line, and correspond to a Vref value. This includes a left boundary point (Dl) and a right boundary point (Dr) that distinguishes the valid and invalid regions, or, alternatively, no boundary point is included. Connecting the left and right boundary points of each specified Vref line within the entire Vref range forms the left and right boundary lines of the eye diagram. Based on this digital eye diagram, the center position of the eye diagram, i.e., the center position of the effective region (Dc, Vc), can be determined. The delay line at this center position is denoted as the Dc-DQS delay line, and the Vref line at this center position is denoted as the Vc-Vref delay line. The DQS delay range is divided into a left and right half-region based on the DQS delay Dc at this center position, and the Vref range is divided into a lower and upper half-region based on the reference voltage Vc at this center position.

[0030] Based on the DQS delay range of the effective region corresponding to the left half of the delay, from Dl corresponding to the leftmost boundary point of the eye diagram to Dc corresponding to the center position, the signal setup time margin is obtained: Dc-Dl; based on the DQS delay range of the effective region corresponding to the right half of the delay, from Dc corresponding to the center position of the eye diagram to Dr corresponding to the rightmost boundary point, the signal hold time margin is obtained: Dr-Dc.

[0031] Based on the Vref range of the effective region corresponding to the lower half of Vref, from the reference voltage Vl corresponding to the lowest boundary point of the eye diagram to Vc corresponding to the center position, the low-level margin of the signal is obtained: Vc-Vl; based on the Vref range of the effective region corresponding to the upper half of Vref, from Vc corresponding to the center position of the eye diagram to Vu corresponding to the highest boundary point, the high-level margin of the signal is obtained: Vu-Vc.

[0032] For example, Figure 2As shown, the Vref change step size is 10 / 3, the DQS delay change step size is 10 / 3, and the start and end ranges are both 0-100. Therefore, Vref selects 31 values, DQS delay selects 31 values, and 31 values ​​are executed. The digital eye diagram was generated based on the results of 31 operation tests.

[0033] In some exemplary embodiments, such as Figure 3 As shown, the method further includes: step 140, determining the reference voltage and DQS delay corresponding to the center position of the digital eye diagram of the die as the optimal sampling parameters for the operation of the die. These optimal sampling parameters will serve as the basis for determining the preferred sampling parameters for the operation of the die. Generally, the range covered by the preferred sampling parameters is set around the value of the optimal sampling parameters, with fluctuations above and below. The specific fluctuation range can be flexibly determined as needed.

[0034] In some exemplary embodiments, the test operation includes: a read operation, the test result is: bit error rate, all dies use the same scan configuration parameters, and the digital eye diagram generation method, such as... Figure 4 As shown, it includes: Step 410: Obtain scan configuration parameters, including: Vref start and end range, Vref step size, DQS delay, and delay step size; Step 420: Specify the target die address; Step 430: Write the known pattern data; Step 440 involves a double nested traversal, performing data read operations, calculating and recording the bit error rate (BER). This includes: the outer loop iterates through the RX DQS delay value, configuring the ONFI PHY receiver-side DQS delay line to the current value each time; the inner loop iterates through the Vref value, configuring the PHY receiver comparator's Vref level to the current value each time. Under the (Vref, DQS delay) combination, the controller sends a Page Read command to the NAND flash memory, receives the DQ data returned by the NAND flash memory, compares it bit by bit with the known written pattern data, calculates and records the BER; all parameter sets and their corresponding BERs constitute the eye... Figure 2 3D matrix; Step 450: Generate a digital eye diagram, including: using a BER greater than 0 as the invalidation criterion, scanning the eye's Vref dimension row by row to determine the highest and maximum effective Vref corresponding to each DQS delay line (forming the upper and lower boundaries of the eye diagram, Vu / Vl); scanning along the DQS delay dimension column by column to determine the leftmost and rightmost effective delay corresponding to each Vref line (forming the left and right boundaries of the eye diagram, Dl / Dr), generating a binary two-dimensional matrix; determining the signal setup time margin: Dc-Dl, the signal hold time margin: Dr-Dc, the signal low-level margin: Vc-Vl, and the signal high-level margin: Vu-Vc. The Vref and DQS delay corresponding to the center position within the eye are used as the optimal sampling point (Dc, Vc) for this Die read data operation.

[0035] Step 460: Determine if this is the last die in the SSD. If it is, end the process. If not, return to step 420 to process the next die.

[0036] In some exemplary embodiments, the method further includes: step 400, whereby the host computer sends a write data eye diagram generation start command via a VUC command (VendorUnique Command).

[0037] In some exemplary embodiments, the method further includes: step 470, whereby the host computer reads the eye data stored in the SSD via a VUC command. Figure 2 A 3D matrix or a binary 2D matrix. It can be read after each Die has completed step 460, or in batches after all Dies have been processed.

[0038] In some exemplary embodiments, the test operation includes a write operation, the test result is the bit error rate, all dies use the same scan configuration parameters, and the digital eye diagram generation method, such as... Figure 5 As shown, it includes: Step 510: Obtain scan configuration parameters, including: Vref start and end range, Vref step size, DQS delay, and delay step size; Step 520: Specify the target die address; Step 530 involves a double nested traversal, performing data writing operations, and calculating and recording the bit error rate (BER). This includes: the outer loop iterates through the RX DQS delay value, configuring the ONFI PHY receiver-side DQS delay line to the current value each time; the inner loop iterates through the Vref value, configuring the Nand Vref to the current value each time using the `set feature` method; under the (Vref, DQS delay) combination, the controller sends a Page Read command to the NAND to write known pattern data; the optimal parameters after physical layer training (phy training) are loaded; the controller sends a Page Read command to the NAND, receives the DQ data returned by the NAND, compares it bit by bit with the known written pattern data, and calculates and records the BER; all parameter sets and their corresponding BERs constitute the eye's data. Figure 2 A three-dimensional matrix; wherein the optimal parameters after training of the physical layer include at least one of the following: per-bit delay / deskew of DQ and DQS (DQ-DQS skew), DQS gate parameters, per-pin VrefQ training parameters, DCC training parameters, ODT or drive strength configuration parameters, etc.

[0039] Step 540: Generate a digital eye diagram, including: using a BER greater than 0 as the invalidation criterion, scanning line by line along the eye's Vref dimension to determine the highest and maximum valid Vref corresponding to each DQS delay line (forming the upper and lower boundaries of the eye diagram, Vu / Vl); scanning column by column along the DQS delay dimension to determine the leftmost and rightmost valid delays corresponding to each Vref (forming the left and right boundaries of the eye diagram, Dl / Dr), generating a binary two-dimensional matrix; determining the signal setup time margin: Dc-Dl, the signal hold time margin: Dr-Dc, the signal low-level margin: Vc-Vl, and the signal high-level margin: Vu-Vc. The Vref and DQS delay corresponding to the center position within the eye are used as the optimal sampling point (Dc, Vc) for this Die read data operation.

[0040] Step 550: Determine if this is the last die in the SSD. If it is, end the process. If not, return to step 420 to process the next die.

[0041] In some exemplary embodiments, the method further includes: step 500, whereby the host computer sends a write data eye diagram generation start command via a VUC command (VendorUnique Command).

[0042] In some exemplary embodiments, the method further includes: step 560, whereby the host computer reads the eye data stored in the SSD via a VUC command. Figure 2A 3D matrix or a binary 2D matrix. It can be read after each Die has completed step 550, or in batches after all Dies have been processed.

[0043] In some exemplary embodiments, the parameter search strategy includes: two-level traversal; The scanning configuration parameters also include: the first-level change step size of the first parameter, the change step size of the second parameter, and the second-level search method for the parameter; The search identifies multiple test parameter groups, and under each test parameter group, a set test operation is performed on the wafer die to obtain test results, including: Within the start and end ranges of the first parameter and the second parameter, multiple sets of first-level test parameters are searched and determined according to the first-level change step size of the first parameter and the first-level change step size of the second parameter. Under each of the aforementioned first-level test parameter groups, the set test operations are performed on the wafer die to obtain the corresponding test results; Based on the test results of multiple primary test parameter groups, multiple secondary parameter search ranges are determined; wherein, the secondary parameter search range is determined by adjacent primary parameter values ​​and adjacent secondary parameter values ​​where the test results change abruptly; Within each secondary parameter search range, multiple secondary test parameter groups are searched and determined according to the secondary search method of the parameters. Under each secondary test parameter group, the set test operation is performed on the wafer die to obtain the corresponding test results. The test results are taken as the test results corresponding to the primary test parameter group that is outside the search range of the multiple secondary parameters and the test results corresponding to the secondary test parameter group. The secondary search methods for the parameters include: equal step size search (less than the first-level step size), binary search within the current secondary parameter search range, or gradient search within the current secondary parameter search range.

[0044] It can be seen that, based on the first-level change step size of the first parameter, multiple first parameter values ​​are selected sequentially within the start and end range of the first parameter. Based on the first-level change step size of the second parameter, multiple second parameter values ​​are selected sequentially within the start and end range of the second parameter. A first-level search is performed, that is, a double-nested traversal of the first parameter value and the second parameter value is adopted to obtain multiple first-level test parameter groups. The test operation is performed, and the coarse-grained position of the effective region boundary can be determined based on the test results.

[0045] For example, refer to Figure 2 The first-level change step size is 10. Within the Vref start and end range, 11 values ​​are determined. Within the DQS delay start and end range, 11 values ​​are determined, forming 11... Eleven primary test parameter groups were used to perform corresponding operation tests and obtain test results. Horizontally adjacent DQS delay values ​​and vertically adjacent Vref values ​​constitute a search sub-region, totaling 10. 10 = 100 search sub-regions, each search sub-region having a size of 10. 10. The numbers from left to right are D1-10, and the numbers from bottom to top are V1-10. For example, D1V1 corresponds to the first search sub-region in the lower left corner, and the sub-range of the first parameter is 0-10, and the sub-range of the second parameter is 0-10; more examples are not listed here.

[0046] As can be seen, the search sub-region located in the center is likely to not include the boundary, and the search sub-regions in the four corners are also likely to not include the boundary. The location of the boundary only involves a part of the sub-region. Therefore, based on the test results corresponding to the first-level test parameter set determined by the first-level coarse-grained method, the value range of the first and second parameters for the second-level traversal can be effectively narrowed.

[0047] The search range for the secondary parameters is determined by the adjacent first parameter value and the adjacent second parameter value where the test result changes. Specifically, when the test result is the bit error rate (BER), a change in BER from being greater than the BER threshold to being less than or equal to the BER threshold, or vice versa, constitutes a change. Similarly, when the BER is a success / failure indicator, a change in indicator from success to failure, or vice versa, constitutes a change.

[0048] As can be seen, the search range of the second-level parameters is the search range corresponding to the sub-regions including the boundary points within the entire search sub-regions. Adjacent first parameter values... , Adjacent second parameter values , This corresponds to four primary test parameter groups: ( , ), ( , ), ( , ), ( , ), perform operation tests respectively, and obtain 4 test results. If any two test results change, then the adjacent ones will be used. , and adjacent , The defined range is the parameter search range that needs to be further traversed, which is the secondary parameter search range. Compared to the overall start and end range of the first / second parameters, the search range of the first / second parameters corresponding to the secondary parameter search range is a local traversal start and end range. Each secondary parameter search range corresponds to a sub-range of the first parameter and a sub-range of the second parameter.

[0049] In some exemplary embodiments, the secondary search method for the parameters is a step-size search with a step size smaller than the primary step size. The scan configuration parameters further include: the secondary variation step size of the first parameter and the secondary variation step size of the second parameter. Accordingly, for each secondary parameter search range, multiple secondary test parameter groups are determined by searching according to the following method: Within the sub-range of the first parameter, each current value of the first parameter is selected according to the second-level change step size of the first parameter; under each current value of the first parameter, within the sub-range of the second parameter, multiple values ​​are selected according to the second-level change step size of the second parameter; the current value of the first parameter and each selected value of the second parameter constitute a second-level test parameter group; wherein, the second-level change step size of the first parameter is smaller than the first-level change step size of the first parameter, and the second-level change step size of the second parameter is smaller than the first-level change step size of the second parameter.

[0050] In some exemplary embodiments, the secondary search method for parameters is either a binary search within the current secondary parameter search range or a gradient search within the current secondary parameter search range. Accordingly, for each secondary parameter search range, the following steps are performed: Within the sub-range of the first parameter corresponding to the search range of the second-level parameter, the current value is selected by using the bisection method or gradient search. For each current value of the first parameter, within the sub-range of the second parameter corresponding to the search range of the second parameter, a binary search or gradient search is used to sequentially select multiple values, and the current value of the first parameter and the value of the second parameter constitute a second-level test parameter group. Operation tests are performed, and the boundary is approximated based on the test results.

[0051] The binary search method, within a sub-range of the first / second parameter, aims to determine new separable ranges by ensuring that the test results at both ends jump to the target. The gradient search method, starting from the beginning of the sub-range of the first / second parameter, determines the boundary direction based on the valid states of adjacent values, selects parameter values ​​along this direction, and gradually reduces the step size until convergence to the boundary of the valid region. Both the binary search and gradient search methods are search methods that correlate values ​​with test results, dynamically determining the current value based on the test result corresponding to the previous value; further implementation steps are not discussed in detail here.

[0052] In some exemplary embodiments, a two-level traversal parameter search strategy is employed. Based on the test results corresponding to the first-level test parameter group and the test results corresponding to the second-level test parameter group, a binarized two-dimensional matrix is ​​generated, and the digital eye diagram is further generated. That is, the data points in the digital eye diagram can be marked using the first parameter value, the second parameter value, and the binarized marker of the test result corresponding to the test parameter group, thus identifying the effective region boundary. Alternatively, for non-uniformly spaced parameter values, uniform interpolation can be performed to complete the data points, and then the completed first parameter value, the second parameter value, and the corresponding binarized marker of the test result can be used to mark the data points in the digital eye diagram. The binarized marker corresponding to the interpolated point is equal to the binarized marker of one of the endpoints of the interpolation interval. Similarly, when using a one-level traversal parameter search strategy, a similar processing method can be used to generate the corresponding digital eye diagram for non-uniformly spaced parameter values, which will not be repeated here.

[0053] As can be seen, the two-level traversal strategy adopts a coarse-grained and fine-grained traversal approach. It uses a coarse-grained global traversal combined with local fine-grained methods such as binary search or gradient search to replace the fine-grained first-level full traversal. It first locates the approximate boundary of the eye diagram in coarse-grained mode, and then performs fine-grained scanning near the boundary, which can improve traversal efficiency and increase the efficiency of eye diagram generation.

[0054] In some exemplary embodiments, by switching the chip select (CS) signal and the logic unit number (LUN) address, each chip die mounted on the open Nand flash interface (ONFI) channel of the solid-state drive is sequentially identified as the target chip die, and the digital eye diagram generation steps 110-130 or 110-140 are performed on the target chip die.

[0055] As can be seen, an independent two-dimensional matrix or a binarized two-dimensional matrix, along with relevant boundary parameters, is generated for each die in the SSD. These are stored in the SSD's internal metadata area or output to the host computer for subsequent analysis or visualization. For example, a Shmoo diagram is generated to replace the physical eye diagram measured by a traditional oscilloscope, and is called a digital eye diagram.

[0056] In some exemplary embodiments, the scan configuration parameters include: the number of repeated tests; correspondingly, under the test parameter group, a set test operation is performed on the wafer die to obtain test results, including: Under the test parameter group, for the wafer die, the set test operation is performed according to the number of repeated tests, and the statistical value of each test result is used as the test result corresponding to the test parameter group; wherein, the statistical value includes: average or mode.

[0057] The test parameter group includes a test parameter group under a first-level traversal strategy, or a first-level test parameter group and a second-level test parameter group under a second-level traversal strategy. As can be seen, to improve the accuracy of the digital eye diagram, multiple read or write data operations can be performed under each test parameter group. Based on the statistical values ​​of the test results, an eye diagram is generated. Figure 2 3D matrix, binary 2D matrix, or digital eye diagram.

[0058] This disclosure also provides a solid-state drive 60, such as... Figure 6 As shown, it includes: a control module 610 and a flash memory chip 620; wherein, the control module 610 includes a processor configured to execute a computer program to generate a digital eye diagram of each wafer die included in the flash memory chip as described in any one of the present disclosures; the control module 610 is also referred to as the SSD master control module.

[0059] In some exemplary embodiments, the control module 610 is further configured to receive a storage access instruction from the host, determine a target die based on the storage access instruction, and execute the storage access instruction using preferred sampling parameters corresponding to the target die; The preferred sampling parameters are the preferred reference voltage range and the preferred DQS delay range, which are determined by floating and setting proportions according to the reference voltage and DQS delay corresponding to the intraocular center position of the digital eye diagram of the target Die.

[0060] In some exemplary embodiments, the control module 610 is further configured to receive a storage access instruction from the host to read data from the flash memory chip or write data to the flash memory chip 620; wherein the flash memory chip is provided with at least one channel to interact with the storage chip; the storage chip includes at least one die, and the channel corresponds to at least one die.

[0061] This disclosure also provides an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the digital eye diagram generation method as described in any embodiment of this disclosure.

[0062] The digital eye diagram generation scheme provided in this disclosure is based on the numerical traversal of the reference voltage and the delay of the data strobe signal DQS inside the SSD, performs data read / write tests, and generates a digital eye diagram based on the digitized test results. It does not require the cooperation of external oscilloscopes, protocol analyzers or dedicated test equipment, and can generate eye diagrams for each chip die separately to achieve comprehensive signal analysis.

[0063] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term "computer storage medium" includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0064] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A method for generating a digital eye diagram, characterized in that, Applications in solid-state drives include: For each die comprising the solid-state drive, the following digital eye diagram generation steps are performed sequentially: Obtain the scan configuration parameters of the chip die, the scan configuration parameters including: the start and end range of the first parameter, the start and end range of the second parameter, and the parameter search strategy; According to the parameter search strategy, multiple test parameter groups are searched and determined within the start and end ranges of the first parameter and the second parameter, and a set test operation is performed on the wafer die under each test parameter group to obtain test results; each test parameter group includes the searched and determined first parameter value and second parameter value. Based on the test results corresponding to all test parameter groups of the chip die, generate the digital eye diagram of the chip die; The first parameter is the reference voltage Vref, and the second parameter is the delay of the data strobe signal DQS, or the first parameter is the DQS delay and the second parameter is Vref; the test operation includes reading data or writing data; the test result includes bit error rate or success / failure indication.

2. The method according to claim 1, characterized in that, The parameter search strategy includes: first-level traversal; The scanning configuration parameters also include: the step size of the first parameter and the step size of the second parameter; The search identifies multiple sets of test parameters, including: Within the start and end range of the first parameter, select each current value of the first parameter according to the change step size of the first parameter; under each current value of the first parameter, within the start and end range of the second parameter, select multiple values ​​according to the change step size of the second parameter; and combine the current value of the first parameter with each selected value of the second parameter to form a test parameter group.

3. The method according to claim 1, characterized in that, The step of generating a digital eye diagram of the wafer die based on the test results corresponding to all test parameter groups of the wafer die includes: Based on the test results corresponding to all the test parameter groups, a binary two-dimensional matrix is ​​generated; wherein, each element in the binary two-dimensional matrix corresponds to the binary label of the test result of a test parameter group; The digital eye diagram is generated based on the binarized two-dimensional matrix; The binary two-dimensional matrix includes two dimensions: reference voltage and DQS delay. When the test result is a bit error rate, a bit error rate greater than the bit error rate threshold is marked as a first state, and a bit error rate less than or equal to the bit error rate threshold is marked as a second state; when the test result is a success or failure indication, a failure indication is marked as a first state, and a success indication is marked as a second state.

4. The method according to claim 1, characterized in that, The parameter search strategy includes: two-level traversal; The scanning configuration parameters also include: the first-level change step size of the first parameter, the first-level change step size of the second parameter, and the second-level search method of the parameter; The search identifies multiple test parameter groups, and under each test parameter group, a set test operation is performed on the wafer die to obtain test results, including: Within the start and end ranges of the first parameter and the second parameter, multiple sets of first-level test parameters are searched and determined according to the first-level change step size of the first parameter and the first-level change step size of the second parameter. Under each of the aforementioned first-level test parameter groups, the set test operations are performed on the wafer die to obtain the corresponding test results; Based on the test results of multiple primary test parameter groups, multiple secondary parameter search ranges are determined; wherein, the secondary parameter search range is determined by adjacent primary parameter values ​​and adjacent secondary parameter values ​​where the test results change abruptly; Within each secondary parameter search range, multiple secondary test parameter groups are searched and determined according to the secondary search method of the parameters. Under each secondary test parameter group, the set test operation is performed on the wafer die to obtain the corresponding test results. The test results are taken as the test results corresponding to the primary test parameter groups outside the search range of the multiple secondary parameters and the test results corresponding to the secondary test parameter groups within the search range of the multiple secondary parameters. The secondary search methods for the parameters include: equal step size search (less than the first-level step size), binary search within the current secondary parameter search range, or gradient search within the current secondary parameter search range.

5. The method according to any one of claims 1-4, characterized in that, For each chip die included in the solid-state drive, the method further includes: The reference voltage and DQS delay corresponding to the center position of the digital eye diagram of the die are determined as the optimal sampling parameters for the operation of the die.

6. The method according to any one of claims 1-4, characterized in that, For each die included in the solid-state drive, the following digital eye diagram generation steps are performed sequentially, including: By switching the chip select (CS) signal and the logic unit number (LUN) address, each chip die mounted on the open Nand flash interface (ONFI) channel of the solid-state drive is sequentially identified as the target chip die, and the digital eye diagram generation step is performed on the target chip die.

7. The method according to any one of claims 1-4, characterized in that, The scan configuration parameters include: the number of repeated tests; Under the set test parameters, perform the specified test operations on the wafer die to obtain the test results, including: Under the test parameter group, for the wafer die, the set test operation is performed according to the number of repeated tests, and the statistical value of each test result is used as the test result corresponding to the test parameter group; The statistical values ​​include the mean or mode.

8. A solid-state drive, characterized in that, include: Control module and flash memory chips; The control module includes a processor configured to execute a computer program to generate a digital eye diagram of each wafer die included in the flash memory chip using the method described in any one of claims 1-7.

9. The solid-state drive according to claim 8, characterized in that, The control module is further configured to receive a storage access instruction from the host, determine a target die based on the storage access instruction, and execute the storage access instruction using the preferred sampling parameters corresponding to the target die. The preferred sampling parameters are the preferred reference voltage range and the preferred DQS delay range, which are determined by floating and setting proportions according to the reference voltage and DQS delay corresponding to the intraocular center position of the digital eye diagram of the target Die.

10. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the digital eye diagram generation method as described in any one of claims 1-7.