Eye taking method and device for signal calibration and computer readable medium

Through data agreement and eye counting judgment with the receiving end during signal calibration, the eye with the largest eye width is identified and selected as the target eye, which solves the problem of mistaken eye selection in the existing technology and improves the accuracy of signal calibration.

CN118796567APending Publication Date: 2024-10-18MSQUARE LTD SHANGHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410599603.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Eye extraction methods in the prior art are prone to errors, resulting in inaccurate signal calibration, especially in the middle portion of the left end of the eye that appears first and the right end of the eye that appears last, or in the multiple consecutive correctly received data positions that appear last. Correctly send and receive data at the correct location or at the largest eye level.

Method used

Through data agreement with the receiving end, the eye count is initialized, and when sending and receiving data, it is judged whether the data is correct or not. The left end and right end of the eye are recorded. The eye count is judged after the delay step. If the eye count is 1, the only eye is taken. If it is greater than 1. Calculate the eye width of each eye, and take the eye with the largest eye width as the target eye.

Benefits of technology

It effectively improves the accuracy of eye extraction, ensures the accuracy of signal calibration, avoids the problem of mistaken eye extraction, and improves the accuracy of signal calibration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796567A_ABST
    Figure CN118796567A_ABST
Patent Text Reader

Abstract

The invention provides an eye taking method and device for signal calibration and a computer readable medium. Comprising the following steps: performing data agreement with a receiving end, and initializing an eye count to be 0; receiving and transmitting data and judging whether the data is correct, if so, judging whether correct data appears for the first time in the current eye counting, and if so, recording the corresponding position as the left end of the eye of the current eye counting; if yes, whether the left eye-passing end appears in the current eye count is judged, and if yes, the corresponding position is recorded as the right eye end of the current eye count, and 1 is added to the eye count; judging the value of the eye count, and if the eye count is 1, taking the obtained unique eye as a target eye; and if the eye count is greater than 1, calculating the eye width of each eye, and taking the eye with the largest eye width as a target eye. The problem that in the prior art, mistaken taking is likely to occur in a common eye taking method is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of data storage, and in particular to an eye-picking method, device and computer-readable medium for signal calibration. Background Art

[0002] In the design of high-speed interface chips, due to the high speed of signal transmission, the signal delay caused by the length of the wiring, the process, etc. becomes more and more obvious. The method of compensating for signal delay is called training. In training, data is sent and received multiple times, and the correct or incorrect situation of each data transmission and reception is recorded to form a string of marked data. Find the position in the marked data where data can be correctly sent and received. Multiple continuous positions form an eye, and the middle value of the eye is taken as the delay value to calibrate the signal; in the case of multiple eyes, in order to improve the accuracy of calibration, it is necessary to take the middle value of the largest eye as the delay value to calibrate the signal.

[0003] The current eye selection method, when defining the position from an error to a correct position as the left end of the eye and the position from a correct position to an error as the right end of the eye, usually takes the middle part of the first-appearing left end of the eye and the last-appearing right end of the eye as the eye, or directly takes the last-appearing multiple positions that can continuously and correctly send and receive data as the eye. However, if the middle part of the first-appearing left end of the eye and the last-appearing right end of the eye are not all positions that can correctly send and receive data, or if the last-appearing multiple positions that can continuously and correctly send and receive data are not the largest eye, it is easy to cause the eye to be selected incorrectly. Summary of the invention

[0004] The present disclosure provides an eye-picking method, an apparatus and a computer-readable medium for signal calibration, so as to solve the problem that the eye-picking method commonly used in the prior art is prone to mis-picking.

[0005] In a first aspect, an embodiment of the present disclosure provides an eye-picking method for signal calibration, the method comprising:

[0006] Step S1: Perform data negotiation with the receiving end and initialize the eye count to 0;

[0007] Step S2: Send and receive data and determine whether the data is correct. If correct, determine whether it is the first time that correct data appears in this eye count. If so, record the corresponding position as the left end of the eye in this eye count, and then jump to step S3. If not, directly jump to step S3. If wrong, determine whether the left end of the eye has appeared in this eye count. If so, record the corresponding position as the right end of the eye in this eye count and add 1 to the eye count, and then jump to step S3. If not, jump to step S3.

[0008] Step S3: Execute step S2 after delaying one step length;

[0009] Step S4: after the delay step number reaches the set value, the value of the eye count is determined. If the eye count is 1, the only eye obtained is taken as the target eye. If the eye count is greater than 1, the eye widths of each eye are calculated, and the eye with the largest eye width is taken as the target eye.

[0010] In some embodiments, the data agreement with the receiving end includes: sending the data to be sent or received to the receiving end in advance.

[0011] In some embodiments, the area with the left end of the eye as the left endpoint and the left adjacent position of the right end of the eye as the right endpoint is the eye.

[0012] In some embodiments, a step size is 1 / 64 of a data period or 1 / 32 of a data period.

[0013] In some embodiments, the eye width is calculated by subtracting the number of steps at the left end of the eye from the number of steps at the right end of the eye.

[0014] In a second aspect, the embodiment of the present disclosure further provides an eye-picking device for signal calibration, comprising:

[0015] Initialization unit, used to negotiate data with the receiving end and initialize the eye count to 0;

[0016] The eye counting unit is used to receive and send data and determine whether the data is correct. If the data is correct, it is determined whether it is the first time that the correct data appears in this eye counting. If so, the corresponding position is recorded as the left end of the eye in this eye counting, and then the data is continued to be sent and received after a delay of one step. If not, the data is continued to be sent and received after a delay of one step. If it is wrong, it is determined whether the left end of the eye has appeared in this eye counting. If so, the corresponding position is recorded as the right end of the eye in this eye counting and the eye count is increased by 1. Then the data is continued to be sent and received after a delay of one step. If not, the data is continued to be sent and received after a delay of one step.

[0017] The eye-taking unit is used to determine the value of the eye count after the delay step number reaches the set value. If the eye count is 1, the only eye obtained is taken as the target eye; if the eye count is greater than 1, the eye width of each eye is calculated, and the eye with the largest eye width is taken as the target eye.

[0018] In a third aspect, an embodiment of the present disclosure further provides a computer-readable medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method provided in the first aspect of the embodiment of the present disclosure.

[0019] In a fourth aspect, an embodiment of the present disclosure further provides an electronic device, including:

[0020] one or more processors;

[0021] A memory for storing one or more programs;

[0022] When the one or more programs are executed by the one or more processors, the one or more processors execute the method provided in the first aspect of the embodiment of the present disclosure.

[0023] In the present invention, by judging the correctness of the received and sent data in batches, all existing eyes are identified, and when there are multiple eyes, the eye with the largest eye width is selected as the target eye, which effectively improves the accuracy of eye selection and solves the problem that the commonly used eye selection method in the prior art is prone to misselection. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. As shown in the drawings, the above and other purposes, features and advantages of the present disclosure will be clearer. The same reference numerals indicate the same parts in all the drawings. The drawings are not deliberately scaled to the actual size, and the focus is on showing the main purpose of the present disclosure.

[0025] Figure 1 A schematic diagram of a flow chart of an eye-picking method for signal calibration provided according to an embodiment of the present disclosure;

[0026] Figure 2 It is a structural schematic diagram of an eye-picking device for signal calibration provided according to an embodiment of the present disclosure;

[0027] Figure 3 The present invention is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present disclosure will be described below in conjunction with the accompanying drawings in the embodiments of the present disclosure.

[0029] It should be noted that similar numbers and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined and explained in the subsequent figures. At the same time, in the description of the present disclosure, relational terms such as "first", "second", etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements that are not clearly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the statement "include one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements.

[0030] Furthermore, the term "and / or" in the present disclosure is merely a term used to describe the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone.

[0031] Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings. For the sake of clarity and conciseness, not all features of the actual embodiments are described in the specification. However, it should be understood that many implementation-specific decisions can be made in the process of developing any such actual embodiments in order to achieve the specific goals of the developer, and these decisions may vary from embodiment to embodiment.

[0032] It is also necessary to explain here that, in order to avoid obscuring the present disclosure due to unnecessary details, only the device structure closely related to the scheme according to the present disclosure is shown in the drawings, while other details that are not closely related to the present disclosure are omitted.

[0033] It should be understood that the present disclosure is not limited to the described implementation forms due to the following description with reference to the accompanying drawings. In this article, where feasible, the embodiments can be combined with each other, features between different embodiments can be replaced or borrowed, and one or more features can be omitted in one embodiment.

[0034] In LPDDR5 (Low Power Double Data Rate 5, the fifth generation of low power double data rate memory), due to the high signal transmission speed, the signal delay caused by the length of the wiring, the process, etc. is becoming more and more obvious. For example, the transmitting end sends a synchronous write sampling signal (WCK signal) and a clock signal (CK signal). Due to the existence of delay, there will be a deviation between the two when they are transmitted through the wiring to the receiving end. In the prior art, the signal delay is calibrated by taking an eye from the mark data indicating whether the received and sent data is correct or incorrect, and calculating the middle value based on the left endpoint value and the right endpoint value of the eye as the calibration value.

[0035] However, the eye selection methods currently used often have the problem of inaccurate eye selection. For example, when the overall data reception and transmission situation is XXXX0000XXX0000XXX (this string of data is the mark data, where 0 represents the correct data reception and transmission, and X represents the error of the data reception and transmission), if the middle part between the left end of the eye that appears first and the right end of the eye that appears last is taken as the eye, then there are three error marks in the middle part, which is not the position where data can be correctly received and transmitted. For another example, when the overall data reception and transmission situation is XXXX00XX000000XX00XX, if the position of the last multiple consecutive correctly received data is taken as the eye, then the eye has only two consecutive correct marks, which is not the largest eye in the received and transmitted data.

[0036] In order to solve the above problems, the embodiment of the present disclosure provides an eye-picking method for signal calibration based on the problem. The following is a specific introduction to the eye-picking method for signal calibration provided by the embodiment of the present disclosure.

[0037] Figure 1 A flowchart of an eye-picking method 100 for signal calibration provided according to an embodiment of the present disclosure is shown. The method specifically includes:

[0038] Step 110: Perform data negotiation with the receiving end and initialize the eye count to 0.

[0039] In the disclosed embodiment, performing data agreement with the receiving end includes: sending the data to be sent or received to the receiving end in advance, so as to compare and determine whether the subsequent sent or received data is correct or not.

[0040] Step 120: Receive and send data and determine whether the data is correct. If correct, determine whether it is the first time that correct data appears in this eye count. If so, record the corresponding position as the left end of the eye in this eye count, and then jump to step 130. If not, jump directly to step 130. If wrong, determine whether the left end of the eye has appeared in this eye count. If so, record the corresponding position as the right end of the eye in this eye count and add 1 to the eye count, and then jump to step 130. If not, jump to step 130.

[0041] In the disclosed embodiment, the entire batch of data to be sent and received is sent and received in batches. In step 120, sending and receiving data and determining whether the data is correct are performed in batches, and the data is determined to be correct when all the data sent and received this time are correct; if any bit of the data sent or received this time is wrong, the data is determined to be wrong.

[0042] In the disclosed embodiment, whether the data is correct is determined by comparing it with the data agreed upon in advance in step 110 .

[0043] In the disclosed embodiment, after the eye count is increased by 1 in step 120, the next eye count is entered.

[0044] In the disclosed embodiment, the corresponding position is a position in the tag data used to indicate the current data transmission and reception situation. For example, when the overall data transmission and reception situation, i.e., the tag data is XXXX00XX000000XX00XX, the first position on the left is the corresponding position of the first data transmission and reception. In this example, the first data transmission and reception is wrong, so the corresponding position is X; the fifth position on the left is the corresponding position of the fifth data transmission and reception. In this example, the fifth data transmission and reception is correct, so the corresponding position is 0.

[0045] In the disclosed embodiment, for example, when the overall data reception and transmission situation is XXX000XX000000XXXX (0 represents that the data reception and transmission is correct, and X represents that an error occurs in the data reception and transmission), the first three transmissions and receptions from the left are all errors, and the fourth is correct, that is, the fourth transmission and reception data is the first time that correct data appears in this eye count, and its corresponding position is the fourth bit, which is used as the left end of the eye in this eye count; the seventh bit corresponds to the error data, and the left end of the eye (the fourth bit) has appeared in this eye count, so the seventh bit is used as the right end of the eye in this eye count, so that the eye count can be increased by 1, and then the next eye count is entered.

[0046] In the disclosed embodiment, the area with the left end of the eye as the left endpoint and the left adjacent position of the right end of the eye as the right endpoint is the eye. That is, in the above example, the area with the fourth bit as the left endpoint and the sixth bit as the right endpoint is the eye with the count of 1 this time.

[0047] Step 130: Execute step 120 after a delay of one step length.

[0048] In the disclosed embodiment, after the correctness judgment of each data reception and transmission is completed, the next data reception and transmission situation needs to be judged. For example, in the above example, the first bit from the left corresponds to the wrong data, so after judging that it is wrong and the left end of the eye has not appeared in this eye count, the next bit is directly judged; the fourth bit corresponds to the correct data, and it is the position where the correct data appears for the first time in this eye count, so after recording the position as the left end of the eye in this eye count, the next data reception and transmission situation is judged after a delay of one step; the fifth bit also corresponds to the correct data, but it is not the position where the correct data appears for the first time in this eye count, so the next data reception and transmission situation is directly judged after a delay of one step; the seventh bit corresponds to the wrong data, and the left end of the eye (the fourth bit) appears in this eye count, so the seventh bit is recorded as the right end of the eye in this eye count and the eye count is increased by 1, and the next data reception and transmission situation is continued to be judged after a delay of one step.

[0049] In the embodiment of the present disclosure, there is a step length between two adjacent data transmissions and receptions.

[0050] In the disclosed embodiment, a step size may be 1 / 64 of a data cycle or 1 / 32 of a data cycle. For example, when the data transmission rate is 6400 MHZ and the data cycle is 156 ps, when the accuracy requirement is relatively high, 1 / 64 of a data cycle, i.e., 2.4 seconds, is used as the step size; when the accuracy requirement is not high, 1 / 32 of a data cycle, i.e., 2.8 seconds, is used as the step size. It should be noted that the above step size values ​​are only examples, and those skilled in the art may set the step size according to actual needs.

[0051] Step 140: after the delay step number reaches a preset value, determine the value of the eye count. If the eye count is 1, take the only eye obtained as the target eye. If the eye count is greater than 1, calculate the eye width of each eye, and take the eye with the largest eye width as the target eye.

[0052] In the disclosed embodiment, a preset value may be set in advance for the delay step number, and the value of the eye count may be counted after the delay step number reaches the preset value and the judgment of whether the received and sent data is correct is completed.

[0053] In the embodiment of the present disclosure, there may be one eye or multiple eyes. If the eye count is 1, that is, there is one eye, the only eye obtained is used as the target eye; if the eye count is greater than 1, that is, there are multiple eyes, it is necessary to calculate the eye width of each eye, and take the eye with the largest eye width as the target eye.

[0054] In the disclosed embodiment, the eye width is calculated by subtracting the number of steps at the left end of the eye from the number of steps at the right end of the eye. For example, if the number of steps at the left end of an eye is 10 and the number of steps at the right end of the eye is 28, the eye width of the eye can be calculated to be 18.

[0055] In the disclosed embodiment, the accuracy of signal calibration can be effectively improved by taking the eye with the largest eye width as the target eye.

[0056] Corresponding to the aforementioned eye-picking method for signal calibration in the embodiment of the present disclosure, an eye-picking device for signal calibration provided in the embodiment of the present disclosure is introduced below. Figure 2 A system structure diagram of an eye-picking device 200 for signal calibration provided in an embodiment of the present disclosure is shown.

[0057] The eye-picking device 200 for signal calibration provided by the embodiment of the present disclosure includes:

[0058] The initialization unit 201 is used to perform data negotiation with the receiving end and initialize the eye count to 0.

[0059] The eye counting unit 202 is used to receive and send data and determine whether the data is correct. If the data is correct, it is determined whether it is the first time that the correct data appears in this eye counting. If so, it records the corresponding position as the left end of the eye in this eye counting, and then continues to receive and send data after delaying one step. If not, it directly delays one step and continues to receive and send data. If the data is wrong, it is determined whether the left end of the eye has appeared in this eye counting. If so, it records the corresponding position as the right end of the eye in this eye counting and increases the eye counting by 1. Then, it delays one step and continues to receive and send data. If not, it delays one step and continues to receive and send data.

[0060] The eye-taking unit 203 is used to determine the value of the eye count after the delay step number reaches the set value. If the eye count is 1, the only eye obtained is taken as the target eye; if the eye count is greater than 1, the eye width of each eye is calculated, and the eye with the largest eye width is taken as the target eye.

[0061] Figure 3 FIG. 2 shows a schematic diagram of the structure of an electronic device 300 provided according to an embodiment of the present disclosure. Figure 3 As shown, the electronic device 300 includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device are also stored. The CPU 301, the ROM 302 and the RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0062] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.

[0063] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, including a computer-readable medium carrying instructions, in such an embodiment, the instructions can be downloaded and installed from a network through a communication portion 309, and / or installed from a removable medium 311. When the instructions are executed by a central processing unit (CPU) 301, the various method steps described in the present invention are performed.

[0064] The embodiments described above are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the aforementioned embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should all be covered by the protection scope of the present disclosure.

Claims

1. An eye-picking method for signal calibration, characterized in that: The method comprises: Step S1: Perform data negotiation with the receiving end and initialize the eye count to 0; Step S2: Send and receive data and determine whether the data is correct. If correct, determine whether it is the first time that correct data appears in this eye count. If so, record the corresponding position as the left end of the eye in this eye count, and then jump to step S3. If not, directly jump to step S3. If wrong, determine whether the left end of the eye has appeared in this eye count. If so, record the corresponding position as the right end of the eye in this eye count and add 1 to the eye count, and then jump to step S3. If not, jump to step S3. Step S3: Execute step S2 after delaying one step length; Step S4: after the delay step number reaches the set value, the value of the eye count is determined. If the eye count is 1, the only eye obtained is taken as the target eye. If the eye count is greater than 1, the eye widths of each eye are calculated, and the eye with the largest eye width is taken as the target eye.

2. The eye-picking method for signal calibration according to claim 1, characterized in that: The data agreement with the receiving end includes: sending the data to be sent or received to the receiving end in advance.

3. The eye-picking method for signal calibration according to claim 1, characterized in that: The area with the left end of the eye as the left endpoint and the left adjacent position of the right end of the eye as the right endpoint is the eye.

4. The eye-picking method for signal calibration according to claim 1, characterized in that: One step size is 1 / 64 of a data cycle or 1 / 32 of a data cycle.

5. The eye-picking method for signal calibration according to claim 1, characterized in that: The eye width is calculated by subtracting the number of steps at the left end of the eye from the number of steps at the right end of the eye.

6. An eye-picking device for signal calibration, characterized in that: include: Initialization unit, used to negotiate data with the receiving end and initialize the eye count to 0; The eye counting unit is used to receive and send data and determine whether the data is correct. If the data is correct, it is determined whether it is the first time that the correct data appears in this eye counting. If so, the corresponding position is recorded as the left end of the eye in this eye counting, and then the data is continued to be sent and received after a delay of one step. If not, the data is continued to be sent and received after a delay of one step. If it is wrong, it is determined whether the left end of the eye has appeared in this eye counting. If so, the corresponding position is recorded as the right end of the eye in this eye counting and the eye count is increased by 1. Then the data is continued to be sent and received after a delay of one step. If not, the data is continued to be sent and received after a delay of one step. The eye-taking unit is used to determine the value of the eye count after the delay step number reaches the set value. If the eye count is 1, the only eye obtained is taken as the target eye; if the eye count is greater than 1, the eye width of each eye is calculated, and the eye with the largest eye width is taken as the target eye.

7. A computer-readable medium, characterized in that Executable instructions are stored thereon, and when the instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 5.

8. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors execute the method as claimed in any one of claims 1 to 5.