DisplayPort Clock Synchronization Using Kalman-Filtered Line Timing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In the DP protocol, the mismatch between the clock frequencies of the transmitting and receiving ends leads to image distortion or incorrect output due to inconsistent line length times during image data conversion.
Innovation Solution
A method and apparatus that utilize a Kalman filtering algorithm to determine and adjust the output clock based on the line period of the data stream, using FIFO queues and phase locked loops to synchronize the clock domains, ensuring accurate image data restoration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Stability of the object's composition
If the receiving end uses a stable pixel clock for image data restoration, then the line length time remains fixed and stable, but when clock domain conversion occurs, the line length becomes inconsistent causing image distortion
Solution Approach 1:
The patent applies dynamics by making the pixel clock adjustable rather than fixed. The receiving end dynamically adjusts the pixel clock frequency based on the detected line length from the transmitting end, allowing the system to adapt to clock domain conversions and maintain consistent line length timing across different clock domains, thereby preventing image distortion
Solution Approach 2:
The patent implements feedback by detecting the actual line length at the transmitting end and using this information to adjust the pixel clock at the receiving end. The system measures the line period, compares it with expected values, and feeds this information back to correct the clock frequency, ensuring accurate image restoration despite clock domain differences
2Stability of the object's composition
If the transmitting end uses fixed resolution and refresh rate values, then the pixel clock remains stable, but the receiving end experiences line length inconsistency during clock domain conversion
Solution Approach 1:
The patent applies parameter changes by modifying the pixel clock frequency parameter at the receiving end based on detected line length variations. Instead of keeping the pixel clock fixed, the system changes its frequency parameter to compensate for clock domain conversion effects, thereby maintaining precise line length timing and preventing image distortion
Applied Scientific Principles
This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.
Function Achieved in This Case
The method ensures that the restored image data maintains consistency with the original data, preventing distortion and ensuring reliable output by synchronizing the clock frequencies of the transmitting and receiving ends.
Implementation Method 1
the first line period is processed at least using a Kalman filtering algorithm to obtain a second line period
Implementation Method 2
the output clock is adjusted according to the second line period
Data Source
AI summary
The present disclosure provides a method and apparatus for adjusting timing, a computer-readable storage medium and an electronic device. The method for adjusting timing includes: in response to a data stream outputted by a transmitting end of a display port being received, determining a first line period according to the data stream, and the first line period is a line period of the data stream under an output clock, and the output clock is a clock domain of a receiving end of the display port; processing the first line period at least using a Kalman filtering algorithm to obtain a second line period, and the second line period is a line period of the data stream under a source clock, and the source clock is a clock domain of the transmitting end; and adjusting the output clock according to the second line period.


