A SATA parameter automatic adjusting system

The SATA parameter automatic adjustment system, which utilizes a layered processing architecture and digital eye diagram analysis, solves the problem of low efficiency in SATA PHY parameter adjustment in existing technologies. It achieves automated, stable, and efficient parameter search and cross-platform adaptation, supporting large-scale mass production and multi-scenario applications.

CN122111774APending Publication Date: 2026-05-29JIANGSU XINSHENG INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
JIANGSU XINSHENG INTELLIGENT TECH CO LTD
Filing Date
2026-04-09
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

The current SATA PHY parameter adjustment relies on manual operation, which is inefficient, difficult to adapt to the needs of multiple scenarios, and has poor consistency in cross-device debugging, making it impossible to achieve large-scale mass production and stable communication.

Method used

The SATA parameter automatic adjustment system, which adopts a hierarchical processing architecture, connects to the SATA host device via a PC. It uses digital eye diagram analysis to replace analog eye diagram measurement, automatically generates serial port commands, and realizes fully automated search and communication maintenance of Rx parameters.

Benefits of technology

It improves the efficiency and portability of SATA PHY parameter adjustment, reduces development and maintenance costs, ensures the stability and flexibility of the debugging process, and supports multi-platform deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122111774A_ABST
    Figure CN122111774A_ABST
Patent Text Reader

Abstract

The application discloses a kind of SATA parameter automatic adjustment system, belong to data storage interface technical field.It includes PC end, SATA master control equipment and to be debugged SATA slave equipment;PC end receives parameter search strategy through user interface, and generates control command by hierarchical processing architecture;To be debugged SATA slave equipment receives command and adjusts SATA physical layer receiving end parameter, simultaneously utilizes digital eye pattern function to collect eye pattern data and feedback to PC end;System is replaced by digital eye pattern analysis to traditional analog measurement, realizes the automation search and optimization of EQ, CDR etc.Parameter.The application adopts hierarchical architecture and non-SATA communication mechanism, avoids the dependence of debugging process to SATA chain building, solves the problem of low efficiency of artificial debugging, poor platform portability, significantly improves the automation degree and production efficiency of parameter search, and can be widely applied to batch production and debugging scene of SATA master control equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data storage interface technology, and in particular to an automatic SATA parameter adjustment system. Background Technology

[0002] SATA (Serial Advanced Technology Attachment) interface, as a high-speed serial storage interface, is widely used for hard drive connections in scenarios such as data centers, base stations, and personal computers. With the diversification of storage devices, SATA controllers need to adapt to different channel environments (such as cable length, signal attenuation, and noise interference). The configuration of its physical layer Rx parameters (such as the parameters of the equalizer (EQ) and clock data recovery (CDR)) directly affects signal integrity. Traditional SATA PHY (Physical Layer) parameter adjustment relies on measured eye diagram analysis, optimizing parameters by evaluating the eye width, eye height, and bit error rate of the eye diagram to ensure data transmission reliability.

[0003] Currently, SATA PHY parameter adjustment mainly relies on manual operation or semi-automated methods. A typical process includes: analog eye diagram measurement: technicians need to capture the analog eye diagram of the SATA signal using instruments such as oscilloscopes, manually adjust the EQ and CDR parameters, and repeatedly test to find the optimal configuration. This method is inefficient and limited by instrument accuracy and operator experience.

[0004] Unsystematic debugging: Existing solutions lack a unified framework, parameter search strategies are fragmented, and it is difficult to migrate debugging processes between different SATA host devices, resulting in poor consistency during mass production.

[0005] SATA connection dependency: Most debugging tools need to communicate with the device through the SATA interface, but if the connection fails due to improper parameters, the debugging process will be interrupted and feedback cannot be obtained in real time.

[0006] These methods have significant drawbacks: Time-consuming and labor-intensive: Manual adjustments require multiple iterations of testing, and optimizing parameters for a single device can take several hours, which cannot meet the needs of large-scale mass production.

[0007] Insufficient flexibility: The parameter search strategy is fixed and it is difficult to adapt to the needs of multiple scenarios (such as different frequency bands and signal-to-noise ratios).

[0008] Poor portability: Debugging solutions for specific main controllers cannot be directly applied to other devices, increasing development costs. Summary of the Invention

[0009] The purpose of this invention is to overcome the shortcomings of the prior art and provide an automatic SATA parameter adjustment system.

[0010] The objective of this invention is achieved through the following technical solution: an automatic SATA parameter adjustment system, comprising a PC, wherein the PC is connected to a SATA master control device, and the SATA master control device is connected to a SATA slave device to be debugged; The PC is connected to the SATA host device via a non-SATA interface, which is not limited to SATA connection establishment. It is used to receive parameter search strategies through the user interface layer, and to break down the parameter search strategies into multiple sub-tasks based on a layered processing architecture. Then, it automatically generates multiple serial port commands and outputs them to the SATA host device. The SATA master control device is connected to the SATA slave device under test via a SATA interface, which is used to maintain physical layer communication and data interaction during parameter adjustment, and to output serial port commands to the SATA slave device under test. The SATA slave device to be debugged is used to adjust the Rx parameters of the SATA PHY in response to serial port commands from the PC, and to obtain digital eye diagram data using the digital eye diagram function and transmit it back to the PC. The PC-based solution replaces analog eye diagram measurement with digital eye diagram analysis, automatically filtering for suitable Rx parameter combinations, thus improving the efficiency and portability of parameter search.

[0011] Preferably, the PC terminal includes a user interface layer, which is connected to an Rx parameter search and scheduling layer, which is connected to a PC serial port command layer, which is connected to a PC serial port media layer, and the PC serial port media layer is connected to a SATA host device. The user interface layer is also used to import historical parameter search results, perform intersection, union and deduplication operations on multiple search results, and configure parameters of the communication interface. The Rx parameter search scheduling layer is used to decompose the user-defined parameter search strategy into multiple sub-tasks, analyze serial port logs to draw digital eye diagrams, and select the optimal Rx parameter combination that meets the requirements according to the filtering strategy. The PC serial port command layer is used to generate serial port commands based on subtasks, collect serial port information and save it to a log file, and call the serial port to send serial port commands to the SATA host device.

[0012] Preferably, the parameter search strategy includes the address of the Rx parameter specified by the user in the user interface layer, the range of field values, and the search step size; when drawing a digital eye diagram, the user-specified eye width, eye height, and drawing rate thresholds are used for limitation.

[0013] Preferably, the non-SATA interface is a serial port, USB, or Ethernet interface, used to maintain communication reliability before SATA connection is established or when connection establishment fails.

[0014] Preferably, the SATA master control device includes a master control serial port media layer, the master control serial port media layer is connected to the PC and the master control serial port command layer, the master control serial port command layer is connected to the SATA PHY control layer, and the SATA PHY control layer is connected to the SATA slave device to be debugged; The main control serial port command layer is used to parse serial port commands and call the functions of the SATA physical layer based on the parsing results; The SATA PHY control layer is used to establish the connection between the SATA physical layer and the link layer, and to call the digital eye diagram function of the SATA physical layer to obtain digital eye diagram data and return it to the PC.

[0015] The beneficial effects of this invention are: 1) This invention replaces traditional analog eye diagram measurement with digital eye diagram analysis, achieving fully automated search of SATA PHY Rx parameters. Users only need to specify the search strategy (such as parameter range, step size, and eye diagram threshold) on the interface, and the system can automatically generate parameter sequences, control the hardware to perform tests, and filter the optimal solution in real time based on eye width, eye height, and bit error rate data. Compared with manual iterative debugging, this significantly improves mass production efficiency while reducing reliance on operator skills.

[0016] 2) The system employs a layered architecture (user interface layer, scheduling layer, and command layer), with clearly defined responsibilities and standardized interfaces for each module. This allows core functions (such as parameter generation and eye diagram analysis) to be quickly adapted to different SATA host devices. Through communication interfaces (such as serial ports and USB), the system can be migrated to various hardware platforms (such as PCs and embedded devices) without modifying the underlying code. This design significantly reduces cross-platform development and maintenance costs and supports large-scale deployment.

[0017] 3) By transmitting control commands and eye diagram data through non-SATA interfaces (such as serial ports), the system can maintain communication even when SATA physical layer link establishment fails, solving the problem of process freeze caused by link interruption in traditional solutions. At the same time, the search process is limited to physical and link layer operations, avoiding frequent link establishment that triggers host speed reduction and ensuring the stability of the debugging process.

[0018] 4) Users can dynamically adjust the search strategy according to the actual scenario (such as different signal-to-noise ratios and frequency bands), for example, specifying the number of eye diagrams drawn and the bit error rate tolerance. The hierarchical model allows for individual optimization of each component (such as scheduling algorithms or communication protocols), reserving space for future functional expansion (such as multi-device collaborative debugging). Attached Figure Description

[0019] Figure 1 This is a system principle block diagram of the present invention; Figure 2 This is a schematic diagram of the layered structure of the PC and SATA host devices. Detailed Implementation

[0020] The technical solution of the present invention will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0021] See Figures 1-2 The present invention provides a technical solution: an automatic SATA parameter adjustment system, including a PC, wherein the PC is connected to a SATA master control device, and the SATA master control device is connected to a SATA slave device to be debugged; The PC is connected to the SATA host device via a non-SATA interface, which is not limited to SATA connection establishment. It is used to receive parameter search strategies through the user interface layer, and to break down the parameter search strategies into multiple sub-tasks based on a layered processing architecture. Then, it automatically generates multiple serial port commands and outputs them to the SATA host device. The SATA master control device is connected to the SATA slave device under test via a SATA interface, which is used to maintain physical layer communication and data interaction during parameter adjustment, and to output serial port commands to the SATA slave device under test. The SATA slave device to be debugged is used to adjust the Rx parameters of the SATA PHY in response to serial port commands from the PC, and to obtain digital eye diagram data using the digital eye diagram function and transmit it back to the PC. The PC-based solution replaces analog eye diagram measurement with digital eye diagram analysis, automatically filtering for suitable Rx parameter combinations, thus improving the efficiency and portability of parameter search.

[0022] In this embodiment, the interconnection between devices is shown in Figure 1. For ease of description, the SATA controller whose Rx parameters are to be debugged is referred to as the SATA Slave, and the SATA controller interconnected with the SATA Slave via the SATA interface is referred to as the SATA Host. The parameter debugging personnel interact with the SATA Slave through a PC (Personal Computer), and the PC communicates with the SATA Slave through a serial port or similar means.

[0023] The hierarchical structure of the entire automated debugging solution is shown in Figure 2. Designers and testers can specify the target for SATA Slave Rx parameter search and select a search strategy through the user interface. The script then converts the user-specified strategy into a list of SATA PHY parameters to be searched and sends it to the scheduling layer. Next, the Rx parameter search scheduling layer breaks down the overall target into multiple subtasks, generating multiple serial port commands and sending them to the serial port command layer. The serial port command layer calls the serial port to transmit the serial commands to the SATA Slave via physical connections. The SATA Slave parses the serial commands and controls the SATA PHY. Then, it returns the digital eye diagram data to the PC's scheduling layer via the serial port. The PC scheduling layer processes this eye diagram data, draws an eye diagram, and calculates the eye width, eye height, and bit error rate. Based on the user-defined strategy, it filters out the SATA Rx parameters that meet the requirements and outputs them through the user interface.

[0024] In some embodiments, the PC terminal includes a user interface layer, which is connected to an Rx parameter search and scheduling layer, which is connected to a PC serial port command layer, which is connected to a PC serial port media layer, which is connected to a SATA host device. The user interface layer is also used to import historical parameter search results, perform intersection, union and deduplication operations on multiple search results, and configure parameters of the communication interface. The Rx parameter search scheduling layer is used to decompose the user-defined parameter search strategy into multiple sub-tasks, analyze serial port logs to draw digital eye diagrams, and select the optimal Rx parameter combination that meets the requirements according to the filtering strategy. The PC serial port command layer is used to generate serial port commands based on subtasks, collect serial port information and save it to a log file, and call the serial port to send serial port commands to the SATA host device.

[0025] In this embodiment, the functions of each layer on the PC side are as follows: User interface layer functions: 1. Users can individually specify the address, field, value range, search step size, number of digital eye diagrams drawn, eye width, eye height, and drawing rate of the SATA PHY Rx parameters on the user interface; 2. Users can re-input the output results of the previous SATA PHY Rx parameters; 3. Users can perform operations such as intersection, union, and deduplication of multiple SATA PHY Rx parameter search results; 4. Users can specify serial port speed, port, and other information.

[0026] Rx parameter search scheduling layer functions: 1. Decompose the user-defined search strategy into multiple sub-tasks; 2. Analyze serial port logs to draw digital eye diagrams; 3. Filter out SATA Rx parameter combinations that meet the requirements according to the strategy.

[0027] PC serial port command layer functions: 1. Generate serial port commands based on subtasks; 2. Call the serial port and collect serial port information and save it to a log file; 3. Call the serial port to send commands to the SATA Slave.

[0028] In some embodiments, the parameter search strategy includes the address of the Rx parameter specified by the user in the user interface layer, the range of field values, and the search step size; when drawing a digital eye diagram, the user-specified eye width, eye height, and drawing rate thresholds are used for limitation.

[0029] In some embodiments, the non-SATA interface is a serial port, USB, or Ethernet interface, used to maintain communication reliability before SATA connection is established or when connection establishment fails.

[0030] In some embodiments, the SATA master control device includes a master control serial port media layer, which is connected to the PC and the master control serial port command layer. The master control serial port command layer is connected to the SATA PHY control layer, and the SATA PHY control layer is connected to the SATA slave device to be debugged. The main control serial port command layer is used to parse serial port commands and call the functions of the SATA physical layer based on the parsing results; The SATA PHY control layer is used to establish the connection between the SATA physical layer and the link layer, and to call the digital eye diagram function of the SATA physical layer to obtain digital eye diagram data and return it to the PC.

[0031] In this embodiment, the functions of each layer of the SATA host control device are as follows: Serial port command layer function: Parse serial port commands and call relevant SATA PHY functions.

[0032] SATA PHY control layer functions: 1. Establish link between the SATA PHY physical layer and the link layer, but not at the transport layer; 2. Call the SATA PHY digital eye diagram function to obtain digital eye diagram information and return it through the serial port.

[0033] This invention also utilizes tables as a human-computer interaction interface, facilitating developers / testers in formulating search strategies and obtaining search results. Using tables as the human-computer interaction interface allows users to intuitively formulate search strategies (such as multi-parameter combinations and importing historical data) and view results in real time. The system also provides set operation functions (such as intersection and deduplication) to facilitate comprehensive analysis of multiple test results. The results output module generates structured reports (including parameter combinations and performance indicators), which can be directly exported for subsequent verification, enhancing the traceability of the debugging process.

[0034] The above description is merely a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the forms disclosed herein and should not be construed as excluding other embodiments. It can be used in various other combinations, modifications, and environments, and can be altered within the scope of the concept described herein through the above teachings or related technologies or knowledge. Modifications and variations made by those skilled in the art that do not depart from the spirit and scope of the present invention should be within the protection scope of the appended claims.

Claims

1. A SATA parameter automatic adjustment system, characterized in that: Includes a PC, which is connected to a SATA master controller, and the SATA master controller is connected to the SATA slave device to be debugged; The PC is connected to the SATA host device via a non-SATA interface, which is not limited to SATA connection establishment. It is used to receive parameter search strategies through the user interface layer, and to break down the parameter search strategies into multiple sub-tasks based on a layered processing architecture. Then, it automatically generates multiple serial port commands and outputs them to the SATA host device. The SATA master control device is connected to the SATA slave device under test via a SATA interface, which is used to maintain physical layer communication and data interaction during parameter adjustment, and to output serial port commands to the SATA slave device under test. The SATA slave device to be debugged is used to adjust the Rx parameters of the SATA PHY in response to serial port commands from the PC, and to obtain digital eye diagram data using the digital eye diagram function and transmit it back to the PC. The PC-based solution replaces analog eye diagram measurement with digital eye diagram analysis, automatically filtering for suitable Rx parameter combinations, thus improving the efficiency and portability of parameter search.

2. The SATA parameter automatic adjustment system according to claim 1, characterized in that: The PC terminal includes a user interface layer, which is connected to an Rx parameter search and scheduling layer, which is connected to a PC serial port command layer, which is connected to a PC serial port media layer, and the PC serial port media layer is connected to a SATA host device. The user interface layer is also used to import historical parameter search results, perform intersection, union and deduplication operations on multiple search results, and configure parameters of the communication interface. The Rx parameter search scheduling layer is used to decompose the user-defined parameter search strategy into multiple sub-tasks, analyze serial port logs to draw digital eye diagrams, and select the optimal Rx parameter combination that meets the requirements according to the filtering strategy. The PC serial port command layer is used to generate serial port commands based on subtasks, collect serial port information and save it to a log file, and call the serial port to send serial port commands to the SATA host device.

3. The SATA parameter automatic adjustment system according to claim 1, characterized in that: The parameter search strategy includes the address of the Rx parameter specified by the user in the user interface layer, the range of field values, and the search step size; when drawing a digital eye diagram, the user-specified eye width, eye height, and drawing rate thresholds are used for limitation.

4. The SATA parameter automatic adjustment system according to claim 1, characterized in that: The non-SATA interface is a serial port, USB, or Ethernet interface, used to maintain communication reliability before SATA connection is established or when connection establishment fails.

5. The SATA parameter automatic adjustment system according to claim 1, characterized in that: The SATA master control device includes a master control serial port media layer, which connects the PC and the master control serial port command layer. The master control serial port command layer connects to the SATA PHY control layer, and the SATA PHY control layer connects to the SATA slave device to be debugged. The main control serial port command layer is used to parse serial port commands and call the functions of the SATA physical layer based on the parsing results; The SATA PHY control layer is used to establish the connection between the SATA physical layer and the link layer, and to call the digital eye diagram function of the SATA physical layer to obtain digital eye diagram data and return it to the PC.