Incontri un collo di bottiglia nel tuo progetto di display embedded?
Non lasciare che integrazioni complesse o problemi di supply chain rallentino il tuo time-to-market. Prenota una consulenza gratuita con il team di esperti RJY per un supporto su misura in progettazione e produzione.
Guida al Pixel Clock e ai Timing dei Display LCD: Perché Display TFT con la Stessa Risoluzione Non Sono Sempre Compatibili
Pubblicato:
18 min di lettura
Aggiornato:
Due moduli TFT LCD possono avere la stessa risoluzione attiva e utilizzare la stessa famiglia di interfacce, eppure richiedere impostazioni diverse sulla scheda controller. Un pannello può funzionare correttamente mentre l'altro rimane nero, sposta l'immagine, taglia un bordo, ripete parte del frame o si avvia solo alcune volte.
L'informazione mancante è spesso il timing completo del display. Una risoluzione come 800 × 480 descrive l'area pixel visibile. Non descrive gli intervalli di blanking orizzontale e verticale, le larghezze degli impulsi di sincronizzazione, la polarità del segnale, il fronte di campionamento o il richiesto pixel clock LCD. Tali parametri indicano al pannello quando inizia e termina ogni linea attiva e ogni frame.
Questa guida spiega come il pixel clock, i porch, i segnali di sincronizzazione e il Data Enable influenzano la compatibilità TFT LCD. Fornisce inoltre un processo pratico per confrontare un pannello con una scheda controller senza considerare la risoluzione o il tipo di connettore come prova di compatibilità.
Che cos'è il timing del display LCD?
Un controller di display invia i dati immagine in una sequenza ripetuta. Trasmette una linea alla volta e combina le linee in un frame completo. L'immagine attiva occupa solo una parte di quella sequenza. Il controller produce anche intervalli che separano una linea dalla successiva e un frame dal successivo.
Per un pannello RGB parallelo, l'host può esporre questa struttura attraverso Pixel Clock, sincronizzazione orizzontale, sincronizzazione verticale e segnali Data Enable. Altre interfacce impacchettano o serializzano le informazioni in modo diverso, ma il pannello necessita comunque di una cadenza immagine valida e di una modalità nativa supportata.
Area immagine attiva
L'area attiva contiene i pixel che appaiono sullo schermo. Un pannello 800 × 480 ha 800 posizioni pixel attive in ciascuna linea e 480 linee attive in ciascun frame. Questi valori sono spesso chiamati Hactive e Vactive.
La risoluzione attiva è facile da confrontare, ed è per questo che le schede prodotto la enfatizzano. Tuttavia, è solo una parte della modalità.
Area di timing totale
Ogni linea contiene anche un front porch orizzontale, un intervallo HSYNC e un back porch orizzontale. Ogni frame contiene corrispondenti intervalli verticali. Questi periodi non attivi formano le regioni di blanking orizzontale e verticale.
Il controller deve quindi generare più periodi pixel rispetto al numero di pixel visibili. La lunghezza completa della linea è il totale orizzontale. L'altezza completa del frame è il totale verticale.
Perché il pannello necessita di confini di timing
Il driver del pannello deve sapere quali valori trasmessi appartengono all'immagine visibile. Necessita inoltre di un confine coerente tra linee e frame. A seconda della modalità del pannello, utilizza HSYNC, VSYNC, Data Enable o una combinazione di questi segnali.
Confini errati possono far iniziare una linea troppo presto al driver, far accettare dati inattivi come pixel o far perdere l'allineamento del frame. Un display può quindi ricevere dati di colore validi ma collocarli nella parte sbagliata dell'immagine.
Parametri principali del timing TFT LCD
Parametro
Significato
Perché è importante
Hactive
Pixel visibili in ciascuna linea
Determina la larghezza dell'immagine attiva
HFP
Front porch orizzontale
Separa i dati attivi dall'intervallo di sincronizzazione orizzontale
HSYNC
Larghezza dell'impulso di sincronizzazione orizzontale
Contrassegna o supporta il confine di linea
HBP
Back porch orizzontale
Separa l'intervallo di sincronizzazione dalla successiva linea attiva
Vactive
Linee visibili in ciascun frame
Determina l'altezza dell'immagine attiva
VFP
Vertical front porch
Separa il frame attivo dal sync verticale
VSYNC
Larghezza dell'impulso di sync verticale
Contrassegna o supporta il confine del frame
VBP
Vertical back porch
Separa il sync verticale dal successivo frame attivo
DE
Data Enable
Identifica i periodi che contengono pixel attivi
PCLK
Pixel Clock
Controlla la velocità con cui avanzano i periodi dei pixel
I datasheet dei pannelli non utilizzano sempre le stesse etichette. Possono descrivere i porch come margini o elencare solo il blanking totale. Seguire le definizioni riportate nel datasheet esatto del pannello.
Che cos'è il pixel clock LCD?
Il pixel clock dell'LCD stabilisce la velocità dei periodi dei pixel in un flusso di temporizzazione video. Per una tipica interfaccia RGB parallela, il controller presenta i dati dei pixel e il pannello campiona tali dati sul fronte di clock specificato. Un periodo di clock normalmente avanza il trasferimento di una posizione di pixel, incluse le posizioni all'interno degli intervalli di blanking.
Il clock richiesto dipende dal totale orizzontale, dal totale verticale e dalla frequenza di aggiornamento. Non dipende dalla sola risoluzione attiva.
Il pixel clock non è la frequenza di aggiornamento
La frequenza di aggiornamento indica quante frame complete si verificano ogni secondo. Il pixel clock indica quanti periodi di pixel si verificano ogni secondo. Una frequenza di frame di 60 Hz non implica un pixel clock di 60 MHz. Il valore del clock dipende anche da quanti periodi totali compongono ciascuna frame.
Le relazioni fondamentali sono:
Totale orizzontale = Hactive + HFP + HSYNC + HBP
Questa formula è un utile strumento di verifica, ma il datasheet del pannello rimane la fonte autorevole. Il driver IC potrebbe accettare solo un intervallo di clock dichiarato o un insieme limitato di combinazioni di temporizzazione.
Un calcolo pratico del pixel clock
Si consideri una temporizzazione illustrativa di 800 × 480. I seguenti valori sono esempi solo per il calcolo. Non costituiscono una specifica per un prodotto RJY né una modalità universale 800 × 480.
Articolo
Valore illustrativo
Hactive
800 periodi di pixel
Blanking orizzontale combinato
256 periodi di pixel
Totale orizzontale
1.056 periodi di pixel
Vactive
480 linee
Blanking verticale combinato
45 linee
Totale verticale
525 linee
Frequenza di aggiornamento
60 frame al secondo
Pixel Clock = 1.056 × 525 × 60
Se un ingegnere calcola solo i pixel attivi, il risultato è:
800 × 480 × 60 = 23,04 MHz
Tale risultato omette ogni periodo di blanking. In questo esempio, sottostimerebbe il clock richiesto di oltre 10 MHz. Questa differenza spiega perché la risoluzione e la frequenza di frame da sole non possono definire la temporizzazione di un pannello.
Valori tipici, minimi e massimi
Molti datasheet forniscono valori tipici, minimi e massimi. I valori all'interno di ciascun intervallo individuale non sempre creano una modalità combinata valida. Anche il clock totale deve rimanere all'interno del suo intervallo supportato.
Partire dalla modalità tipica raccomandata. Modificare un porch, il clock o la frequenza di aggiornamento solo quando la documentazione del pannello e il design dell'host consentono la modifica, quindi verificare il risultato sul sistema completo.
Front porch, back porch e larghezza di sincronizzazione
Un porch è un intervallo inattivo adiacente alla regione video attiva. I termini provengono dalla temporizzazione dei display raster, ma descrivono ancora la struttura di blanking utilizzata dalle moderne interfacce digitali dei pannelli.
Sequenza di temporizzazione orizzontale
Una linea contiene comunemente dati di pixel attivi, un front porch orizzontale, un impulso HSYNC e un back porch orizzontale. L'ordine esatto mostrato in un datasheet può dipendere dal punto di riferimento utilizzato nel diagramma. Ciò che conta è che l'host riproduca le dimensioni e la polarità degli intervalli richiesti.
Il front porch separa la fine dei dati attivi dall'evento di sync. Il back porch separa tale evento dall'inizio della successiva linea attiva. La larghezza dell'HSYNC definisce la durata dell'impulso di sincronizzazione quando la modalità selezionata lo utilizza.
Sequenza di temporizzazione verticale
La temporizzazione verticale segue lo stesso concetto, ma le sue unità sono linee anziché pixel clock. La sequenza comprende linee attive, un front porch verticale, un intervallo VSYNC e un back porch verticale.
Perché i valori dei porch non sono liberamente intercambiabili
Due modalità possono avere lo stesso totale orizzontale ma assegnare valori diversi a HFP, HSYNC e HBP. Non si comportano necessariamente allo stesso modo. Il pannello potrebbe utilizzare un fronte o un intervallo specifico per reimpostare un contatore di linea interno o preparare la successiva regione attiva.
Non ridistribuire i valori dei porch semplicemente per preservare il totale. Confermare i valori ammessi dalla tabella di temporizzazione del pannello. Se il datasheet elenca solo il blanking totale, richiedere la temporizzazione dettagliata o un riferimento di inizializzazione validato al fornitore del pannello.
HSYNC, VSYNC e Data Enable
HSYNC identifica i confini della temporizzazione orizzontale. VSYNC identifica i confini della temporizzazione verticale. Data Enable indica quando il bus dati contiene pixel di immagine attivi. Pannelli diversi utilizzano questi segnali in modalità diverse.
SYNC mode
In a synchronization-based mode, the panel uses HSYNC and VSYNC to identify line and frame timing. The controller must generate the pulse widths, porches and active periods that the panel expects.
SYNC-DE mode
In SYNC-DE mode, the panel receives synchronization signals and Data Enable. DE qualifies the active image region while HSYNC and VSYNC preserve line and frame structure.
DE-only mode
Some panels support a mode in which Data Enable defines the active region and the panel does not use external HSYNC and VSYNC inputs. This does not remove the need for correct totals and blanking. The width of DE, the gap between active lines and the gap between active frames still form a timing pattern.
A host controller can output several signals at once, but that does not prove that every connected panel can use the same configuration. Select the mode documented for the panel and connect only the signals required by that design.
Polarità del segnale e fronte di campionamento dei pixel
Frequency and pulse width are not enough. A panel also expects each control signal to be active at a defined logic level. HSYNC, VSYNC and DE can be active high or active low. The panel may sample pixel data on the rising or falling edge of Pixel Clock.
Correct frequency, wrong polarity
If the host uses the wrong sync polarity, the panel can interpret inactive time as the sync pulse or fail to recognize the intended event. Incorrect DE polarity can mark blanking as active data and active data as blanking. The result may be a black display, an unstable frame, a shifted image or an image that appears only under some conditions.
Setup and hold time
The data bus must remain stable for a specified period before and after the sampling edge. These intervals are the setup and hold times. Long PCB routes, unsuitable level shifting, connector loss, clock skew and incorrect output-edge settings can reduce the available margin.
For higher-speed designs, a correct average clock frequency does not prove adequate signal quality. Engineers must also review waveform integrity and timing at the panel input.
Perché LCD con la stessa risoluzione possono richiedere timing diversi
Resolution defines the active pixel matrix. It does not standardize the electronics around that matrix.
Two same-resolution TFT LCD modules showing different timing behavior
Different driver ICs
Two modules can use different timing-controller or source-driver designs. Each driver can have its own accepted blanking range, polarity, sampling edge and initialization sequence. A replacement panel may therefore need a new controller-board configuration even when the active pixels match.
Different panel architectures
Gate-driver integration, source-driver arrangement and internal timing generation can change the required input mode. An integrated timing controller can accept a different range from a module that depends more directly on external timing.
Different refresh-rate and clock ranges
A host may generate a common 60 Hz mode, but the panel datasheet can specify another typical rate or a limited allowable range. Changing the blanking while retaining 60 Hz also changes the required Pixel Clock.
Different synchronization modes
One RGB panel may use SYNC-DE mode while another uses DE-only mode. The FPC can carry similar data lines, yet the controller and pin definition still need different treatment.
Other compatibility layers
Even identical display timing does not prove full compatibility. Check the connector and pin definition, power rails, reset sequence, backlight circuit, touch interface, image orientation, driver support and mechanical fit. Timing is one system layer, not a substitute for the rest of the review.
Come l'interfaccia trasporta il timing
RGB Parallelo
Parallel RGB makes timing easy to observe. Separate conductors commonly carry red, green and blue data together with Pixel Clock, DE and synchronization signals. The display controller produces the raster timing directly.
This visibility does not make the interface universal. Data width, color ordering, voltage, polarity, sampling edge and timing must still match.
LVDS
An LVDS transmitter serializes pixel and control information into differential pairs. The panel receiver reconstructs the data. The system still needs a valid native mode, correct LVDS mapping, suitable channel count, supported bit depth and correct clock relationship.
Pixel Clock is related to the transported pixel rate, but it is not the same value as the serial bit rate on an LVDS pair. Serialization ratio and link architecture affect the physical data rate.
MIPI DSI video mode
MIPI DSI video mode transports a video stream in packets over one or more high-speed data lanes. Active video and blanking requirements affect the data that must cross the link. Lane count, pixel format, operating mode, overhead and D-PHY settings determine whether the host has enough capacity.
The familiar RGB timing values can still appear in the host configuration, but the DSI lane clock is not simply equal to Pixel Clock. Use the SoC, bridge and panel documentation to calculate and validate the link.
MIPI DSI command mode
Command-mode panels can receive updates through display commands and may use internal frame memory. Their transfer behavior differs from a continuous parallel RGB stream. Do not apply a video-mode calculation without confirming how the selected panel and host implement command mode.
eDP and HDMI paths
eDP carries standardized packetized display data, while HDMI often appears as an input to a controller board rather than as the native interface of a bare LCD module. A board must still output a panel-supported mode on the internal display side.
An HDMI source showing the correct resolution does not prove that an HDMI-to-MIPI or HDMI-to-LVDS board can drive a given panel. The active conversion depends on the bridge, output interface, panel timing, firmware and physical connection.
Come il blanking influisce sulla larghezza di banda
Larger blanking intervals increase the horizontal or vertical total. At the same refresh rate, this raises Pixel Clock. More pixel periods per second also increase the rate at which the display pipeline must move data.
The impact extends beyond the panel connector:
The display controller must generate the required clock.
A bridge IC must accept and produce the required mode.
The physical link must provide sufficient throughput.
The framebuffer path must deliver active pixel data on time.
Memory bandwidth must support the pixel format, layers and refresh rate.
A simple framebuffer bandwidth estimate often starts with active pixels, bytes per pixel and frames per second. Real system demand can be higher because of graphics layers, memory bursts, alignment, scaling and other access. Link bandwidth calculations also include encoding or packet overhead that is specific to the interface.
Do not treat one Pixel Clock formula as a complete system bandwidth model. Use it to establish the raster rate, then check each controller, bridge, memory and physical-link limit.
Sintomi di timing LCD errato
Sintomo
Timing-related checks
Other checks
Black screen
Pixel Clock, DE, sync mode, polarity
Power, reset, initialization, data path, backlight
White screen with backlight
Valid active video and timing
Panel initialization, pinout, interface and controller support
Horizontal image shift
HFP, HBP, HSYNC and active width
Data mapping and cropping settings
Vertical image shift
VFP, VBP, VSYNC and active height
Rotation, scaling and framebuffer configuration
Cropped edge
Active area and total timing
Scaling, OSD or source-mode configuration
Repeated or wrapped region
Line or frame boundary values
Framebuffer stride and bridge configuration
Flicker
Clock stability, refresh rate, sync and DE
Power noise, backlight PWM, cable and signal integrity
Intermittent startup
Timing enable and clock startup
Power sequence, reset, firmware and temperature
These symptoms are clues, not proof. For example, flicker can come from an unstable Pixel Clock, but it can also come from the LED driver or a poor connector. Diagnose the display as a system.
Come leggere una tabella di timing LCD
Confirm the exact panel and document revision. A model suffix can identify another FPC, driver IC or timing configuration.
Find the interface mode. Identify RGB, LVDS, MIPI DSI or another path and the supported operating mode.
Record Hactive and Vactive. Do not infer them only from a marketing resolution.
Record each porch and sync width. Note whether the values are expressed in clocks or lines.
Calculate horizontal and vertical totals. Compare your results with any totals stated in the document.
Check Pixel Clock. Record typical, minimum and maximum values where provided.
Check polarity. Verify HSYNC, VSYNC, DE and clock-edge definitions.
Check setup and hold time. Compare these requirements with the host and board design.
Read the timing notes. A footnote can define dependencies that the main table does not show.
Keep the recommended mode together. Do not mix typical values from one mode with limits from another.
Come confrontare un pannello con una scheda controller
1. Identify the exact hardware
Record the LCD model and revision, driver IC when available, controller-board model, bridge IC, connector and PCB revision. Compatibility cannot be confirmed from screen size and resolution alone.
2. Compare the complete panel mode
Create a table for active resolution, total resolution, porches, sync widths, refresh rate, Pixel Clock, polarity and sampling edge. Compare it with the modes that the controller or firmware can generate.
3. Check interface-specific requirements
For LVDS, include mapping, channel count and bit depth. For MIPI DSI, include lane count, pixel format, video or command mode, lane-rate limits and initialization commands. For RGB, include data width and voltage.
4. Check the clock source and divider
A processor may calculate its display clock from a parent clock and integer or fractional divider. The exact requested value may not be available. Confirm the actual generated clock and ensure that the resulting frame rate remains inside the panel limits.
5. Check firmware and operating-system support
The board support package, device tree, bootloader or controller firmware must describe the correct mode. A hardware-capable board can still fail if the software loads a default timing for another panel.
6. Check power, reset and backlight separately
Correct video timing cannot repair a wrong supply, reset pulse, initialization sequence or LED-driver mismatch. Keep these checks in the same validation plan, but do not confuse them with raster timing.
7. Validate repeated transitions
Test cold power-up, warm restart, signal reconnect, sleep, wake and controlled power-down. Observe whether the clock and active video start only after the panel is ready and whether the backlight exposes an invalid frame.
Misurare il timing su hardware reale
Oscilloscope probes validating signals on a TFT LCD controller board
Oscilloscope checks
On accessible parallel signals, an oscilloscope can measure Pixel Clock frequency, HSYNC rate, VSYNC rate, DE width, polarity and startup order. From the measured HSYNC and VSYNC rates, engineers can check whether the actual line and frame cadence agrees with the intended mode.
Use probes and bandwidth appropriate for the signal. Poor probing can distort an edge or add enough loading to change behavior. Differential high-speed links require suitable differential measurement equipment and methods.
Logic-analyzer checks
A logic analyzer can help with lower-speed control signals, GPIO sequencing, SPI initialization or I²C configuration. It is not automatically suitable for capturing every MIPI, LVDS or eDP physical-layer signal. Use protocol-specific equipment when the link speed and signaling method require it.
Measurement does not replace the datasheet
A measurement shows what the board generates, not what the panel accepts. Compare it with the approved specification.
Firmware, device tree e configurazione della scheda
A typical embedded display configuration can include:
Larghezza e altezza attive
Porch orizzontali e verticali
HSYNC and VSYNC widths
Pixel Clock or clock-divider settings
HSYNC, VSYNC, DE and clock polarity
Pixel format and color order
LVDS mapping or MIPI lane settings
Reset and enable GPIO behavior
Comandi di inizializzazione del pannello
Backlight enable and dimming control
Linux display drivers and device trees often store mode parameters as separate clock, active-area, margin, sync-length and polarity values. An Android-based board can use the same kernel-level configuration concepts even though the user interface runs on Android.
Firmware configuration test for a TFT LCD and controller board
Firmware adaptation is therefore a real part of panel matching. It should be planned with the hardware review rather than treated as a final software setting after the board is complete.
Cosa può verificare RJY Display
RJY Display can review display timing as part of a project-specific LCD and controller-board configuration. Depending on the selected panel and host platform, the scope can include:
Native resolution and timing-table comparison
Pixel Clock, porch, sync and polarity review
RGB, LVDS, MIPI, eDP and related interface coordination
Controller-board and bridge-path evaluation
Project-dependent firmware adaptation
FPC, connector and pin-definition coordination
Backlight, touchscreen and power review
Display-related mechanical integration
This is a compatibility process, not a universal board claim. The result depends on the exact LCD, controller hardware, firmware, operating system and application environment. An active HDMI-to-MIPI or HDMI-to-LVDS path must be designed for the selected panel; it is not a passive cable conversion.
Informazioni necessarie per una verifica di compatibilità del timing
Send the following information where available:
Modello e revisione completi dell'LCD
Panel datasheet and timing table
Native resolution and interface
Driver IC or timing-controller information
Pin definition and connector drawing
Pixel Clock range
Horizontal and vertical porch values
HSYNC and VSYNC widths and polarity
Controller board, processor and bridge IC
Operating system, firmware or BSP information
Backlight and touchscreen requirements
Photographs or video of the current failure
Sample quantity, expected volume and project schedule
If the current system already works with another panel, include that panel’s datasheet and approved configuration. A side-by-side comparison often shows whether the difference lies in timing, pinout, interface mode, power or software.
Utilizzare il timing completo, non solo la risoluzione
LCD pixel clock connects resolution, blanking and refresh rate, but it is not the only compatibility parameter. Engineers must also preserve the required porches, sync widths, Data Enable behavior, polarity and sampling edge. The chosen interface and firmware then need to carry or generate that mode correctly.
This is why two same-resolution panels can produce different results on the same board. Treat the panel timing table as part of the hardware specification, not as an optional software detail.
Pixel Clock is the rate at which pixel periods advance in a display timing stream. It includes active pixels and the pixel periods used by horizontal and vertical blanking.
How do I calculate LCD pixel clock?
Add the active width, horizontal porches and HSYNC width to obtain the horizontal total. Add the active height, vertical porches and VSYNC width to obtain the vertical total. Multiply both totals by the refresh rate. Then compare the result with the panel’s specified clock range.
Is pixel clock the same as refresh rate?
No. Refresh rate is the number of complete frames per second. Pixel Clock is the number of pixel periods per second. The totals for each line and frame connect the two values.
Why do two LCDs with the same resolution use different timings?
They can use different driver ICs, blanking intervals, synchronization modes, clock ranges, signal polarities and initialization requirements. Resolution describes only the active pixel matrix.
Can I change porch values if the total timing stays the same?
Do not assume so. A panel can require specific front porch, sync width and back porch ranges even when the total is unchanged. Use the exact datasheet limits and validate the complete system.
What happens when HSYNC or VSYNC polarity is wrong?
The panel may fail to recognize line or frame boundaries. Possible results include a black screen, image shift, unstable display or intermittent operation. These symptoms can also have other causes.
Does an LVDS or MIPI display still need timing configuration?
Yes. These interfaces transport display data differently from parallel RGB, but the host, bridge and panel still need a supported native mode. Link mapping, lane configuration, throughput and firmware must also match.
Can RJY match a controller board using only the LCD resolution?
No. A review also needs the LCD model, interface, pin definition, timing, driver IC when available, power, backlight, touch, firmware, operating system and application requirements.
Condividi le dimensioni del display, la risoluzione, l'interfaccia, la luminosità, i requisiti tattili, i requisiti della scheda controller e l'ambiente applicativo.