Wireless multi-card synchronous control method of display module and display screen
By calculating the dedicated transmission time slot offset and using the TDMA time division multiple access mechanism, the frame boundary drift and channel collision problems in wireless multi-card synchronization control were solved, enabling reliable wireless synchronous refresh of the display module and ensuring the stability and real-time performance of the splicing screen.
Patent Information
- Application Number
- CN202610472848.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-10
- Publication Date
- 2026-07-03
AI Technical Summary
Existing wireless multi-card synchronization control solutions suffer from frame boundary drift and channel collision issues, resulting in screen tearing and brightness level differences in spliced images, and the real-time performance and stability of synchronization control are insufficient.
By calculating the dedicated transmission time slot offset based on the identity number and frame period, the wireless channel scheduling is reconstructed using the TDMA time division multiple access mechanism. The VSYNC frame scanning timing is used as the phase-locked reference, and each control card collects timestamps to correct frame phase errors, thereby achieving precise alignment of frame boundaries. The phase-locked status is monitored through status response packets to ensure that the entire network maintains a steady phase-locked state under dynamic disturbances.
It achieves reliable wireless synchronous refresh control for large-scale multi-card display modules without external synchronization cables, eliminating screen tearing and brightness level differences, and ensuring the stability and real-time performance of synchronous control.
Smart Images

Figure CN122340598A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of display module technology, and in particular to a wireless multi-card synchronous control method for display modules and a display screen. Background Technology
[0002] With the application of video wall displays in commercial advertising, stage performances, and command and control scenarios, the synchronous refresh control of multiple display modules has become a core technical requirement to ensure image quality.
[0003] Existing multi-card display control solutions use wired synchronization cables to transmit synchronization reference signals between control cards. This is complex, costly, and the transmission delay accumulates as the network scales up, limiting flexible deployment and scalability. To address the limitations of wired solutions, some solutions have switched to wireless methods to transmit synchronization signals. However, in existing wireless multi-card synchronization solutions, each control card relies on its own independent local crystal oscillator to generate the frame drive clock. Inherent frequency deviations exist between different crystal oscillators, and the crystal oscillator frequency continuously drifts due to temperature and power supply voltage. This causes the VSYNC frame boundaries of the display modules driven by each control card to gradually misalign over time, resulting in screen tearing and brightness differences in the spliced screen. Furthermore, existing wireless multi-card solutions generally use concurrent broadcasting to transmit synchronization frames. Multiple cards competing for the wireless channel at the same time leads to a high collision and packet loss rate for synchronization broadcast frames. In large-scale network scenarios, the real-time performance and stability of synchronization control are severely insufficient. These problems have not yet been effectively solved in existing technologies. Summary of the Invention
[0004] This invention provides a wireless multi-card synchronous control method for display modules and a display screen. This invention solves two core technical problems in existing wireless multi-card synchronous control schemes: frame boundary drift and channel collision. It ensures that the entire network maintains phase-locked steady state under dynamic disturbances and realizes reliable wireless synchronous refresh control of large-scale multi-card display modules without external synchronization cables.
[0005] In a first aspect, the present invention provides a wireless multi-SIM card synchronization control method for a display module, the method comprising: Calculate the dedicated transmission time slot offset based on the identification number and frame period of each control card; The first frame timestamp is collected by the main control card in each control card, and the first frame timestamp is encapsulated into a frame synchronization broadcast packet for wireless broadcast within the time slot corresponding to the dedicated transmission time slot offset. The second frame timestamp is collected by multiple slave control cards in each control card, and the frame phase error is calculated based on the first frame timestamp in the frame synchronization broadcast packet. The first local frame period is then corrected in steps until the frame phase error converges to within the phase-locked steady-state threshold to obtain the second local frame period. Each slave control card drives the row scanning timing of its subordinate display modules according to the second local frame period, and the master control card reports the frame phase-locked state status response packet according to the time slot corresponding to the dedicated transmission time slot offset of each slave control card.
[0006] In conjunction with the first aspect, in a first implementation of the first aspect of the present invention, the step of calculating the dedicated transmission time slot offset based on the identification number and frame period of each control card includes: The frame period is divided equally based on the total number of network control cards to obtain the time slot width of each control card. The dedicated transmission time slot offset is calculated based on the identification number of each control card and the time slot width.
[0007] In conjunction with the first aspect, in a second implementation of the first aspect of the present invention, the step of calculating the dedicated transmission time slot offset based on the identification number of each control card and the time slot width includes: Multiply the identification number of each control card by the time slot width to obtain the exclusive transmission time slot offset of each control card, and write the exclusive transmission time slot offset into the transceiver control register of the radio frequency module in each control card; Each control card's RF module, based on the dedicated transmit time slot offset in the transmit / receive control register, opens a transmit window within the time slot corresponding to the dedicated transmit time slot offset to complete data transmission, then switches to receive mode, and forcibly maintains RF silence in the remaining time slots.
[0008] In conjunction with the first aspect, in a third implementation of the first aspect of the present invention, the step of acquiring the first frame timestamp through the master control card in each control card, and encapsulating the first frame timestamp into a frame synchronization broadcast packet for wireless broadcast within the time slot corresponding to the dedicated transmission time slot offset, includes: The first frame timestamp is collected by the main control card in each control card when the local VSYNC rising edge is triggered. The first frame timestamp, frame sequence number, and total number of network control cards are encapsulated and a first check code is added to obtain a frame synchronization broadcast packet. The master control card wirelessly broadcasts the frame synchronization broadcast packet to each slave control card through the radio frequency module within the time slot corresponding to the dedicated transmission time slot offset.
[0009] In conjunction with the first aspect, in the fourth implementation of the first aspect of the present invention, the step of acquiring the first frame timestamp by means of the main control card in each control card when triggered by the rising edge of the local VSYNC includes: The master control card in each control card responds to the local VSYNC rising edge via a hardware interrupt, and reads the original value of the hardware timer counter within the first instruction cycle of the interrupt response. The original value of the counter is converted into a time value based on the clock frequency of the hardware timer to obtain the first frame timestamp.
[0010] In conjunction with the first aspect, in the fifth implementation of the first aspect of the present invention, the step of acquiring the second frame timestamp through multiple slave control cards in each control card, calculating the frame phase error based on the first frame timestamp in the frame synchronization broadcast packet, and performing step correction on the first local frame period until the frame phase error converges to within the phase-locked steady-state threshold to obtain the second local frame period includes: The slave control card in each control card acquires the second frame timestamp of the rising edge of the local VSYNC via hardware interrupt, and calculates the difference between the second frame timestamp and the first frame timestamp in the frame synchronization broadcast packet to obtain the frame phase error. Based on the frame phase error and the phase-locked steady-state threshold, the first local frame period is progressively corrected until the frame phase error converges to within the phase-locked steady-state threshold, thus obtaining the second local frame period.
[0011] In conjunction with the first aspect, in a sixth implementation of the first aspect of the present invention, the step of progressively correcting the first local frame period based on the frame phase error and the phase-locked steady-state threshold until the frame phase error converges to within the phase-locked steady-state threshold to obtain the second local frame period includes: The absolute value of the frame phase error is compared with the phase-locked steady-state threshold; When the absolute value of the frame phase error is greater than the phase-locked steady-state threshold, step correction is performed; when the absolute value of the frame phase error is not greater than the phase-locked steady-state threshold, correction operation is prohibited and the first local frame period remains unchanged. When performing step correction, the absolute value of the frame phase error is multiplied by the step ratio coefficient to obtain the step correction amount for this frame. When the frame phase error is positive, the step correction amount for this frame is subtracted from the first local frame period. When the frame phase error is negative, the step correction amount for this frame is added to the first local frame period to obtain the intermediate local frame period. The next frame is driven by the intermediate local frame period and the frame phase error is re-acquired until the absolute value of the frame phase error converges to within the phase-locked steady-state threshold, thus obtaining the second local frame period.
[0012] In conjunction with the first aspect, in the seventh implementation of the first aspect of the present invention, each slave control card drives the row scanning timing of its subordinate display module according to the second local frame period, and the master control card reports a status response packet of frame phase-locked state according to the time slot corresponding to the dedicated transmission time slot offset of each slave control card, including: At the start of each frame, each slave control card clears the line scan counter to zero and sends a frame reset command to the driver IC of the display module under its jurisdiction to pull up the VSYNC enable signal. After one line scan clock cycle, the RGB image data is written to the line buffer register of the driver IC line by line. The line scan counter increments once after each line is written until the line scan counter value reaches the number of lines of the vertical resolution of the display module to complete the current frame driving. Each slave control card encapsulates the second frame timestamp, identification number, and frame phase-locked state into a status response packet and attaches a second verification code. Within the time slot corresponding to the dedicated transmission time slot offset, the slave control card sends the status response packet to the master control card via the radio frequency module.
[0013] In conjunction with the first aspect, in the eighth implementation of the first aspect of the present invention, after reporting the status response packet of the frame phase-locked state, it further includes: The master control card performs continuous frame counting on the status response packets reported by each slave control card to obtain the continuous unlocked frame count of each slave control card; If the number of consecutive unlocked frames of a slave control card reaches the resynchronization trigger threshold, the master control card will attach a resynchronization instruction containing the identification number of the corresponding slave control card to the next frame synchronization broadcast packet. After receiving the resynchronization instruction, the slave control card will reset its local frame period register to the initial frame period and re-execute the step correction.
[0014] In a second aspect, the present invention provides a display screen, the display screen comprising: The calculation module is used to calculate the dedicated transmission time slot offset based on the identification number and frame period of each control card; The acquisition module is used to acquire the first frame timestamp through the main control card in each control card, and encapsulate the first frame timestamp into a frame synchronization broadcast packet for wireless broadcast within the time slot corresponding to the dedicated transmission time slot offset. The correction module is used to collect the second frame timestamp through multiple slave control cards in each control card, calculate the frame phase error based on the first frame timestamp in the frame synchronization broadcast packet, and perform step correction on the first local frame period until the frame phase error converges to within the phase-locked steady-state threshold to obtain the second local frame period. The reporting module is used for each slave control card to drive the row scanning timing of the display module under its jurisdiction with the second local frame period. The master control card reports the status response packet of the frame phase-locked state according to the time slot corresponding to the dedicated transmission time slot offset of each slave control card.
[0015] The technical solution provided by this invention solves two core technical problems in existing wireless multi-card synchronization control schemes: frame boundary drift and channel collision, by using the VSYNC frame scanning timing as the phase-locked loop (PLL) reference and reconstructing the wireless channel scheduling using a TDMA (Time Division Multiple Access) mechanism. Regarding frame synchronization accuracy, each slave control card acquires the second frame timestamp at the start of each frame via a hardware interrupt. The difference between this timestamp and the timestamp broadcast by the master control card yields the frame phase error. Based on the positive or negative direction of the frame phase error, the local frame period is progressively shortened or extended frame by frame, causing the frame phase error to adaptively converge to within the PLL steady-state threshold. This achieves precise alignment of the frame boundaries of each display module, eliminating screen tearing and brightness level differences in splicing screens. Regarding channel scheduling, the frame period is divided into non-overlapping TDMA time slots according to the total number of network control cards. Each control card is allocated a fixed transmission time slot offset based on its identification number and written into the RF module's transceiver control register. RF silence is forcibly maintained outside the corresponding time slot, eliminating channel collisions from multi-card concurrent broadcasting at the physical timing level and ensuring zero-collision reliable reception of frame synchronization broadcast packets. In terms of stability, the master control card continuously monitors the phase-locked state of each node through the status response packets of each slave control card received within the TDMA time slot. For out-of-synchronization nodes whose consecutive unlocked frame count reaches the resynchronization trigger threshold, a resynchronization command is sent to trigger the node to re-execute the phase-locked correction process, ensuring that the entire network maintains a stable phase-locked state under dynamic disturbances, and realizing reliable wireless synchronous refresh control of large-scale multi-card display modules without external synchronization cables.
[0016] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.
[0017] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of an embodiment of the wireless multi-card synchronization control method for the display module in this invention; Figure 2 This is a schematic diagram illustrating the calculation of the dedicated transmission time slot offset in an embodiment of the present invention; Figure 3 This is a schematic diagram of wireless broadcasting in an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the step correction of the local frame period in an embodiment of the present invention; Figure 5 This is a schematic diagram of the status response packet for reporting the frame phase-locked state in an embodiment of the present invention; Figure 6This is a schematic diagram of one embodiment of the display screen in this invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, 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.
[0020] The terms "comprising" and "having," and any variations thereof, used in the embodiments of this invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0021] To facilitate understanding of this embodiment, a wireless multi-card synchronization control method for a display module disclosed in this embodiment of the invention will first be described in detail. For example... Figure 1 As shown, this method includes the following steps: 101. Calculate the dedicated transmission time slot offset based on the identification number and frame period of each control card; 102. Collect the first frame timestamp through the main control card in each control card, and encapsulate the first frame timestamp into a frame synchronization broadcast packet for wireless broadcast within the time slot corresponding to the dedicated transmission time slot offset; 103. Collect the second frame timestamp through multiple slave control cards in each control card, calculate the frame phase error based on the first frame timestamp in the frame synchronization broadcast packet, and perform step correction on the first local frame period until the frame phase error converges to within the phase-locked steady-state threshold to obtain the second local frame period. 104. Each slave control card drives the row scanning timing of the display module under its jurisdiction with the second local frame period, and the master control card reports the status response packet of the frame phase-locked state according to the time slot corresponding to the dedicated transmission time slot offset of each slave control card.
[0022] In one specific embodiment, such as Figure 2 The process of executing step 101 may specifically include the following steps: 1011. Divide the frame period equally based on the total number of network control cards to obtain the time slot width of each control card; 1012. Calculate the dedicated transmission time slot offset based on the identification number and time slot width of each control card.
[0023] Specifically, all control cards are uniformly loaded and run under the same frame period reference, ensuring that wireless transmission scheduling is based on a consistent time reference. The frame period can be directly calculated based on the target refresh rate. For example, if the target refresh rate is 60Hz, the corresponding frame period is 16.67ms. This value is written into the frame period register of each control card as the reference time for network-wide scheduling. The main control card or initialization configuration program reads the total number of control cards in the current network and performs equal division calculations on the frame period accordingly to obtain the time slot width that a single control card can occupy. The calculation relationship is as follows: = / N, where W represents the width of a single time slot in milliseconds; Indicates the frame period; This represents the total number of control cards in the current network, and its value is a positive integer. The original complete frame of time is divided into a fixed number of consecutive time segments. Each time segment corresponds to only one control card's transmission opportunity. Therefore, wireless transmission behavior no longer relies on random contention but is transformed into a deterministic scheduling process constrained by a unified time base. To ensure the equivalence of the division result, during the initialization phase, it is checked whether the width of a single time slot is greater than or equal to the sum of the maximum transmission duration of a single packet, the transmit / receive mode switching duration, and the guard interval. Only when this condition is met can the control card complete data transmission within its assigned time window and switch back to the receiving state before the window ends. Otherwise, cross-time slot overflow will occur, disrupting the overall scheduling order. Therefore, network scale, RF rate, and packet length parameters need to be synchronously constrained during configuration.
[0024] Based on the time slot width, each control card determines its corresponding transmission start time according to its own identification number, ensuring that all control cards sequentially arrange their transmission windows along the time axis within the same frame period. The identification number is written to non-volatile memory at the factory and read into the local register by the control program after power-on. It is then combined with the time slot width to generate a dedicated transmission time slot offset, which is written to the RF module's transceiver control register. The RF module opens its transmission window at the designated time according to this offset and remains silent during other periods. The master control card's identification number is fixed as node 0, and the slave control cards are assigned identification numbers in ascending order from 1 to N-1. Each control card calculates its dedicated transmission time slot offset based on its identification number and the time slot width. Therefore, the master control card has an offset of 0 and occupies the first transmission time slot at the start of the frame. The remaining slave control cards enter their respective transmission windows sequentially according to their increasing identification numbers. This ensures that no two control cards simultaneously occupy the channel within the entire frame period, reducing the probability of wireless collisions from a temporal structure perspective.
[0025] In one specific embodiment, the process of performing step 1012 may specifically include the following steps: Multiply the identification number of each control card by the time slot width to obtain the exclusive transmission time slot offset of each control card, and write the exclusive transmission time slot offset into the transceiver control register of the radio frequency module in each control card; Each control card's RF module, based on the dedicated transmit time slot offset in the transmit / receive control register, opens a transmit window within the corresponding time slot to complete data transmission, then switches to receive mode, and forcibly maintains RF silence in the remaining time slots.
[0026] Specifically, during the power-on initialization phase, each control card reads its local identification number from non-volatile memory and the configured time slot width. The local scheduling and control unit then performs a dedicated transmission time slot offset calculation, the calculation relationship being as follows: ,in, This indicates the dedicated transmission time slot offset for the control card corresponding to the identification number, in milliseconds. This indicates the control card's identification number. The control program converts the dedicated transmission time slot offset into a timing count value corresponding to the local time base, and then writes it into the transmission start field of the RF module's transmit / receive control register. At the same time, it writes the transmission window width, transmission enable gating flag, and mode switching flag after the window ends into the associated register, so that the RF module can automatically open the transmission channel when the intra-frame time count reaches the dedicated transmission time slot offset.
[0027] Once in operation, each control card's intra-frame scheduling state machine resets its local time base at the start of each frame and accumulates the elapsed time within the current frame from zero. As long as the intra-frame time count has not reached the dedicated transmission time slot offset recorded in the register, the transmission link remains disabled. No synchronization broadcast packet, status acknowledgment packet, or resynchronization command response packet can be prematurely transmitted beyond the gating logic, physically eliminating the possibility of multiple cards simultaneously preempting the channel. When the intra-frame time count reaches the corresponding moment of the dedicated transmission time slot offset, the RF module opens the transmission window according to the threshold configuration of the transmit / receive control register and transmits the target data packet already buffered in the transmission buffer via the RF front-end. After data transmission is complete or the transmission window end condition is met, the control logic immediately cancels the transmission enable, shuts down the transmit power amplifier path, and switches the RF module to receive synchronization or status information in subsequent time slots. RF silence restricts active transmission but does not preclude being in a receiving / listening state. Therefore, while other control cards occupy their respective time slots, the current control card will not inject any active transmission signals into the channel but can still maintain effective monitoring of the wireless link.
[0028] In one specific embodiment, such as Figure 3 The process of executing step 102 may specifically include the following steps: 1021. When the main control card in each control card is triggered by the rising edge of VSYNC on the local device, the timestamp of the first frame is collected. 1022. The first frame timestamp, frame sequence number, and total number of network control cards are encapsulated and a first check code is added to obtain a frame synchronization broadcast packet. The master control card wirelessly broadcasts the frame synchronization broadcast packet to each slave control card through the radio frequency module within the time slot corresponding to the dedicated transmission time slot offset.
[0029] Specifically, the master control card acquires a sufficiently accurate time reference at the actual start of each frame and converts this time reference into synchronous broadcast data that can be recognized by all slave control cards. Therefore, during the local display module driving process, the rising edge of VSYNC is used as the sole trigger source for the start event of the entire frame scan. The interrupt control unit of the master control card performs hardware capture of the rising edge of VSYNC. When the rising edge of VSYNC arrives, the interrupt service routine is triggered, and the current count value of the local hardware timer is read in the first instruction cycle of the interrupt response to avoid sampling lag and time jitter caused by software polling. After reading the count value, the master control card performs time conversion according to the predetermined clock resolution to obtain the timestamp of the first frame.
[0030] The first frame timestamp is written to the first field of the broadcast packet, and 4 bytes of storage space are allocated to carry the millisecond-level time value. The frame sequence number corresponding to the current frame is written to the second field, and 2 bytes of storage space are allocated to store the cumulative synchronization frame numbers broadcast since startup, enabling the slave control card to determine whether there are lost or out-of-order frames based on the frame sequence number. The total number of network control cards is written to the third field, and 1 byte of storage space is allocated to store the total number of network control cards, enabling slave control cards that rejoin the network or recover from an anomaly to verify whether the current network scale is consistent with the local configuration. After the above three fields are written, the master control card performs integrity verification calculations on all fields and adds a first checksum to form a complete frame synchronization broadcast packet. The first checksum uses a CRC16 checksum, occupies 2 bytes, and is generated according to the CRC16-CCITT standard polynomial 0x1021, which can effectively verify the received content when there is transient interference in the wireless link. After encapsulation, the master control card writes the constructed frame synchronization broadcast packet into the RF module's transmit buffer and waits for the transmission window corresponding to the local dedicated transmission time slot offset to arrive. When the time count in this frame reaches the corresponding time slot of the master control card, the RF module opens the transmission path and broadcasts the frame synchronization broadcast packet to all slave control cards via the 2.4GHz wireless link. After the transmission is completed, it switches to receive mode.
[0031] In one specific embodiment, the process of performing step 1021 may specifically include the following steps: The master control card in each control card responds to the local VSYNC rising edge via a hardware interrupt, and reads the original value of the hardware timer counter within the first instruction cycle of the interrupt response. The original value of the counter is converted into time based on the clock frequency of the hardware timer to obtain the first frame timestamp.
[0032] Specifically, the main control card uses the local display module tilt start boundary directly as the time acquisition trigger source. Therefore, the VSYNC signal output by the display module driver IC can be connected to the main control card's interrupt input. During the initialization phase, the interrupt triggering mode is configured to rise-edge triggering, so that an interrupt request is automatically generated by the hardware when each frame begins. After detecting the local VSYNC rising edge, the interrupt controller enters the interrupt service routine. The entry path of the interrupt service routine needs to be kept short enough to avoid inserting irrelevant state judgments, data shifts, or serial communication operations before the reading. This allows the main control card to directly access the hardware timer's current register within the first instruction cycle of the interrupt response and latch the original counter value at the corresponding moment. The main control card performs time conversion on the original value of the counter based on the clock frequency of the hardware timer. The conversion relationship is as follows: 1 / as well as ,in, This indicates the counter clock resolution, expressed in milliseconds (ms) per counting unit. Indicates the clock frequency of the hardware timer. This represents the timestamp of the first frame, in milliseconds (ms). For example, ,correspond Therefore, the main control card will read and After multiplication, we obtain the millisecond-level timestamp corresponding to the start time of the current frame.
[0033] In one specific embodiment, such as Figure 4 The process of executing step 103 can specifically include the following steps: 1031. The slave control cards in each control card acquire the second frame timestamp of the rising edge of the local VSYNC through hardware interrupt, and calculate the difference between the second frame timestamp and the first frame timestamp in the frame synchronization broadcast packet to obtain the frame phase error. 1032. Based on the frame phase error and the phase-locked steady-state threshold, the first local frame period is progressively corrected until the frame phase error converges to within the phase-locked steady-state threshold, thus obtaining the second local frame period.
[0034] Specifically, the VSYNC signal output from the display module driver IC connected to the slave control card is connected to the slave control card's interrupt input terminal, and the interrupt triggering mode is configured to rise edge triggering. When the local VSYNC rising edge arrives, the interrupt control unit enters the interrupt service routine and reads the current value of the local hardware timer counter within the first valid execution cycle of the interrupt entry point. Then, based on the timing resolution consistent with the main control card, a time conversion is performed to obtain the second frame timestamp. ,in, This indicates the timestamp of the second frame from the control card, in milliseconds. This represents the current value of the counter read from the control card at the moment of the rising edge of VSYNC on the local device. This indicates the counter clock resolution, measured in milliseconds (ms) per counter unit. After completing local time acquisition, the slave control card receives the frame synchronization broadcast packet from the master control card before its own transmission time slot arrives, and parses out the first frame timestamp after successful verification. Then substitute the timestamps of the second and first frames into the frame phase error calculation relationship. ,in, This represents the frame phase error difference, in milliseconds (ms). This represents the timestamp of the first frame on the main control card, in milliseconds; when When the value is positive, it indicates that the slave control card lags behind the master control card at the frame boundary. When the value is negative, it indicates that the slave control card frame boundary is ahead of the master control card.
[0035] The absolute value of the frame phase error is compared with the phase-locked loop steady-state threshold. For example, the phase-locked loop steady-state threshold is set to 0.3ms. This value is consistent with the line scanning time of a 1080-line display module under a 60Hz refresh rate, which can control the splicing boundary error within a range without obvious tearing. When the absolute value of the frame phase error is greater than 0.3ms, the control logic determines that the current slave control card has not yet entered the phase-locked loop steady state, performs step correction on the first local frame period, and writes the corrected period into the local frame period register so that the next frame runs according to the new local frame period. When the absolute value of the frame phase error is not greater than 0.3ms, the control logic stops further correction and keeps the current local frame period unchanged to avoid introducing additional jitter in a state that is already close to synchronization. The step correction process adopts a proportionally limited gradual adjustment method. Therefore, the correction amount of each frame is controlled by the current error amplitude and will not produce excessive period jumps within a single frame. After each frame, the slave card re-acquires the local VSYNC rising edge timestamp, re-receives the master control card broadcast timestamp, and recalculates the new frame phase error. Based on this, it decides whether to continue correction in the next round until the frame phase error converges to within the phase-locked steady-state threshold. At this point, the currently corrected local frame period can be used as the second local frame period.
[0036] In one specific embodiment, the process of performing step 1032 may specifically include the following steps: The absolute value of the frame phase error is compared with the phase-locked steady-state threshold; When the absolute value of the frame phase error is greater than the phase-locked steady-state threshold, step correction is performed; when the absolute value of the frame phase error is not greater than the phase-locked steady-state threshold, correction operation is prohibited and the first local frame period remains unchanged. When performing step correction, the absolute value of the frame phase error is multiplied by the step ratio coefficient to obtain the step correction amount for this frame. When the frame phase error is positive, the step correction amount for this frame is subtracted from the first local frame period. When the frame phase error is negative, the step correction amount for this frame is added to the first local frame period to obtain the intermediate local frame period. The next frame is driven by the intermediate local frame period and the frame phase error is re-acquired until the absolute value of the frame phase error converges to within the phase-locked steady-state threshold, thus obtaining the second local frame period.
[0037] Specifically, the absolute value of the frame phase error is used as the criterion for determining whether the current frame has entered a stable phase-locked state, and this criterion is compared with the phase-locked steady-state threshold. When When the current controller card has entered phase-locked steady state, the control logic directly prohibits correction operations and maintains the first local frame period unchanged. This is because the current error is already small enough, and further adjustment of the local clock would easily introduce additional jitter. If the current frame boundary is not significantly different from the main control card, it indicates that there is still a perceptible deviation between the current frame boundary and the main control card. It is necessary to enter the step correction link and slowly pull the first local frame period back to the target synchronization position through frame-by-frame adjustment with limited amplitude.
[0038] After entering the step correction state, the control card follows... Calculate the step correction amount for this frame, where, This indicates the amount of correction that needs to be applied to the local frame period for the current frame, in milliseconds (ms). This represents the step ratio factor, for example, taking... If the step size is too large, the error will easily fluctuate between leading and lagging; if the step size is too small, the error elimination will be too slow, making it difficult to return to the stable phase-locked interval in a scenario where crystal oscillator drift persists. Therefore, a step size of 0.1 keeps the single-frame correction at a relatively mild level while still providing continuous approximation capability. The control logic determines the correction direction of the first local frame period based on the positive or negative direction of the frame phase error: when... When this occurs, it indicates that the slave control card lags behind the master control card at the frame boundary. In this case, according to... Shorten the current local frame period; when When this occurs, it indicates that the control card frame boundary is ahead of the main control card; at this time, according to... Appropriately extend the current local frame period, whereby, This indicates the first local frame period before correction, in milliseconds. This represents the intermediate local frame period obtained after the current frame is corrected, in milliseconds (ms). The slave control card writes the intermediate local frame period into the local frame period register and uses this period to drive the VSYNC timing and line scanning process of the next frame. At the start boundary of the next frame, it again acquires the local timestamp, receives the master control card timestamp again, calculates the new frame phase error again, and repeats the above comparison and correction process. As each frame performs a period adjustment in the same direction and with a limited amplitude according to the current error amplitude, the frame phase error will decrease frame by frame and eventually converge to within 0.3ms. At this point, the intermediate local frame period can be stably converted into the second local frame period, and subsequent display refreshes can maintain a frame boundary consistent with the master control card without relying on external synchronization cables.
[0039] In one specific embodiment, such as Figure 5 The process of executing step 104 can specifically include the following steps: 1041. At the beginning of each frame, each slave control card clears the line scan counter to zero and sends a frame reset command to the driver IC of the display module under its jurisdiction to pull up the VSYNC enable signal. After one line scan clock cycle, the RGB image data is written to the line buffer register of the driver IC line by line. The line scan counter increments once after each line is written until the line scan counter value reaches the number of lines of the vertical resolution of the display module to complete the driving of the current frame. 1042. Each slave control card encapsulates the second frame timestamp, identification number, and frame phase-locked state into a status response packet and adds a second check code. Within the time slot corresponding to the dedicated transmission time slot offset, the slave control card sends the status response packet to the master control card through the radio frequency module.
[0040] Specifically, after each slave control card completes phase-locked correction and obtains the second local frame period, the display drive link switches to the synchronous refresh state executed according to the unified frame boundary. Therefore, at the beginning of each frame, the slave control card first generates the current frame start event based on the local frame period register, and immediately sends a frame reset command to the display module driver IC under its jurisdiction when the current frame start event arrives, so that the line scan counter returns to zero value, and at the same time pulls up the VSYNC enable signal to clearly identify the start boundary of the new frame image data. After the VSYNC enable signal is held for one row scan clock cycle, the slave control card writes the RGB image data of the current frame line by line into the row buffer register inside the display module driver IC via the data bus, according to the row scan sequence. After receiving the corresponding row data, the driver IC sends the pixel data to the corresponding display row according to the current row address to complete the row-by-row refresh. With each row of data written, the row scan counter increments synchronously once, thus keeping the image writing position consistent with the display scan position, until the row scan counter value reaches the number of rows of the display module's vertical resolution. At this point, all valid row data of the current frame has been loaded and output, and the current frame driving process ends. The slave control card then waits for the start time of the next frame and repeats the same process. Since the frame start boundaries of all slave control cards have been aligned to the same reference time through pre-sequence phase-locked loop processing, the VSYNC pull-up time, the row count reset time, and the row-by-row refresh start time of all display modules on the time axis are also consistent. Therefore, tearing and brightness step difference caused by frame misalignment at the splicing boundary are suppressed.
[0041] After completing the current frame display driver, each slave control card reports its synchronization status to the master control card within its corresponding transmission time slot. Therefore, the second frame timestamp, identification number, and frame phase-locked state are sequentially written into the status response packet buffer, with a second checksum appended to form a complete response data unit. The second frame timestamp reflects the local frame boundary time actually sampled by the slave control card in this frame; the identification number allows the master control card to accurately locate the corresponding slave control card entry in the status table; and the frame phase-locked state indicates whether the slave control card has entered a stable phase-locked state. For example, 0x01 can be written to indicate locked when the absolute value of the frame phase error is no greater than 0.3ms, and 0x00 can be written to indicate unlocked when the absolute value of the frame phase error is greater than 0.3ms. After encapsulation, the slave control card continues to be subject to TDMA timing constraints. When the time corresponding to the dedicated transmission time slot offset arrives, the RF module opens the transmission window and sends the status response packet to the master control card. After transmission, it exits the active transmission state, thus ensuring that all slave control cards report sequentially according to the predetermined timing without channel contention.
[0042] In one specific embodiment, after reporting the status response packet of the frame phase-locked state, the method further includes: The master control card performs continuous frame counting on the status response packets reported by each slave control card to obtain the continuous unlocked frame count of each slave control card; If the number of consecutive unlocked frames of a slave control card reaches the resynchronization trigger threshold, the master control card will attach a resynchronization instruction containing the identification number of the corresponding slave control card in the next frame synchronization broadcast packet. After receiving the resynchronization instruction, the slave control card will reset its local frame period register to the initial frame period and re-execute the step correction.
[0043] Specifically, after receiving all the status response packets reported by the slave control cards in each frame cycle, the master control card parses the frame phase-locked state field in the status response packet card by card and locates the corresponding entry in the slave control card status table according to the identification number, maintaining a continuous unlocked frame counter lost_count for each slave control card. The initial value of the continuous unlocked frame counter is set to 0 to ensure that the first status determination after power-on starts from the clean state. When each new frame arrives, the master control card reads the sync_state field of the corresponding slave control card for the current frame. When the sync_state value is 0x00, it means that the current slave control card has not yet entered the phase-locked steady state in the current frame, and the master control card increments the corresponding continuous unlocked frame counter by 1. When the sync_state value is 0x01, it means that the current slave control card has returned to the phase-locked steady state, and the master control card immediately clears the corresponding continuous unlocked frame counter to zero. By accumulating and clearing frames one by one, the master control card can distinguish between occasional single-frame loss of synchronization and persistent phase-locked loop (PLL) loss of synchronization, avoiding the misjudgment of a single instantaneous interference as a serious fault requiring resynchronization. The resynchronization trigger threshold is set to 3 frames. The probability of remaining in an unlocked state for 3 or more consecutive frames is already low under normal channel conditions. Therefore, counting 3 consecutive unlocked frames is used as the criterion for a real PLL loss or link interruption in the slave control card. This threshold is pre-written into the master control card's non-volatile memory to ensure that anomaly identification is performed according to a unified rule in each operation.
[0044] When the counter for consecutive unlocked frames corresponding to a slave card reaches 3, the master card appends a resynchronization instruction field to the next frame's synchronization broadcast packet. This maintains the original TDMA frame structure and facilitates instruction recognition by the target slave card within the established synchronization reception process. The resynchronization instruction field's data structure is written as {resync_flag, target_card_id}, where resync_flag occupies 1 byte and is written with 0xFF to explicitly identify that the appended field is a valid resynchronization instruction. target_card_id also occupies 1 byte and specifies the slave card's identification number that needs to be resynchronized. After the broadcast packet is sent, all slave cards continue to receive normally, but only the target slave card with the same identification number as target_card_id will respond to the resynchronization instruction. After the target slave control card recognizes the resynchronization command containing its own identification number, it resets the local frame period register to the initial frame period of 16.67ms, which corresponds to the standard frame period at a refresh rate of 60Hz. At the same time, the target slave control card clears the continuous unlocked frame counter and re-enters the frame phase error calculation and clock step correction process. Then, it re-converges to the phase-locked steady state through frame-by-frame comparison and frame-by-frame fine-tuning.
[0045] The wireless multi-card synchronization control method for the display module in the embodiments of the present invention has been described above. The display screen in the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 6 One embodiment of the display screen in this invention includes: Calculation module 601 is used to calculate the dedicated transmission time slot offset based on the identification number and frame period of each control card; The acquisition module 602 is used to acquire the first frame timestamp through the main control card in each control card, and encapsulate the first frame timestamp into a frame synchronization broadcast packet for wireless broadcast within the time slot corresponding to the dedicated transmission time slot offset. The correction module 603 is used to collect the second frame timestamp through multiple slave control cards in each control card, calculate the frame phase error based on the first frame timestamp in the frame synchronization broadcast packet, and perform step correction on the first local frame period until the frame phase error converges to within the phase-locked steady-state threshold to obtain the second local frame period. The reporting module 604 is used for each slave control card to drive the row scanning timing of the display module under its jurisdiction with the second local frame period. The master control card reports the status response packet of the frame phase-locked state according to the time slot corresponding to the dedicated transmission time slot offset of each slave control card.
[0046] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0047] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0048] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A wireless multi-card synchronization control method for a display module, characterized in that, include: Calculate the dedicated transmission time slot offset based on the identification number and frame period of each control card; The first frame timestamp is collected by the main control card in each control card, and the first frame timestamp is encapsulated into a frame synchronization broadcast packet for wireless broadcast within the time slot corresponding to the dedicated transmission time slot offset. The second frame timestamp is collected by multiple slave control cards in each control card, and the frame phase error is calculated based on the first frame timestamp in the frame synchronization broadcast packet. The first local frame period is then corrected in steps until the frame phase error converges to within the phase-locked steady-state threshold to obtain the second local frame period. Each slave control card drives the row scanning timing of its subordinate display modules according to the second local frame period, and the master control card reports the frame phase-locked state status response packet according to the time slot corresponding to the dedicated transmission time slot offset of each slave control card.
2. The wireless multi-card synchronization control method for a display module according to claim 1, characterized in that, The calculation of the dedicated transmission slot offset based on the identification number and frame period of each control card includes: The frame period is divided equally based on the total number of network control cards to obtain the time slot width of each control card. The dedicated transmission time slot offset is calculated based on the identification number of each control card and the time slot width.
3. The wireless multi-card synchronization control method for a display module according to claim 2, characterized in that, The calculation of the dedicated transmission time slot offset based on the identification number of each control card and the time slot width includes: Multiply the identification number of each control card by the time slot width to obtain the exclusive transmission time slot offset of each control card, and write the exclusive transmission time slot offset into the transceiver control register of the radio frequency module in each control card; Each control card's RF module, based on the dedicated transmit time slot offset in the transmit / receive control register, opens a transmit window within the time slot corresponding to the dedicated transmit time slot offset to complete data transmission, then switches to receive mode, and forcibly maintains RF silence in the remaining time slots.
4. The wireless multi-card synchronization control method for a display module according to claim 1, characterized in that, The step of acquiring the first frame timestamp through the master control card in each control card, and encapsulating the first frame timestamp into a frame synchronization broadcast packet for wireless broadcast within the time slot corresponding to the dedicated transmission time slot offset, includes: The first frame timestamp is collected by the main control card in each control card when the local VSYNC rising edge is triggered. The first frame timestamp, frame sequence number, and total number of network control cards are encapsulated and a first check code is added to obtain a frame synchronization broadcast packet. The master control card wirelessly broadcasts the frame synchronization broadcast packet to each slave control card through the radio frequency module within the time slot corresponding to the dedicated transmission time slot offset.
5. The wireless multi-card synchronization control method for a display module according to claim 4, characterized in that, The process of acquiring the first frame timestamp via the main control card in each control card when triggered by the rising edge of the local VSYNC includes: The master control card in each control card responds to the local VSYNC rising edge via a hardware interrupt, and reads the original value of the hardware timer counter within the first instruction cycle of the interrupt response. The original value of the counter is converted into a time value based on the clock frequency of the hardware timer to obtain the first frame timestamp.
6. The wireless multi-card synchronization control method for a display module according to claim 1, characterized in that, The process involves acquiring the second frame timestamp through multiple slave control cards in each control card, calculating the frame phase error based on the first frame timestamp in the frame synchronization broadcast packet, and performing step correction on the first local frame period until the frame phase error converges to within the phase-locked steady-state threshold to obtain the second local frame period, including: The slave control card in each control card acquires the second frame timestamp of the rising edge of the local VSYNC via hardware interrupt, and calculates the difference between the second frame timestamp and the first frame timestamp in the frame synchronization broadcast packet to obtain the frame phase error. Based on the frame phase error and the phase-locked steady-state threshold, the first local frame period is progressively corrected until the frame phase error converges to within the phase-locked steady-state threshold, thus obtaining the second local frame period.
7. The wireless multi-card synchronization control method for a display module according to claim 6, characterized in that, The step of progressively correcting the first local frame period based on the frame phase error and the phase-locked steady-state threshold until the frame phase error converges to within the phase-locked steady-state threshold to obtain the second local frame period includes: The absolute value of the frame phase error is compared with the phase-locked steady-state threshold; When the absolute value of the frame phase error is greater than the phase-locked steady-state threshold, step correction is performed; when the absolute value of the frame phase error is not greater than the phase-locked steady-state threshold, correction operation is prohibited and the first local frame period remains unchanged. When performing step correction, the absolute value of the frame phase error is multiplied by the step ratio coefficient to obtain the step correction amount for this frame. When the frame phase error is positive, the step correction amount for this frame is subtracted from the first local frame period. When the frame phase error is negative, the step correction amount for this frame is added to the first local frame period to obtain the intermediate local frame period. The next frame is driven by the intermediate local frame period and the frame phase error is re-acquired until the absolute value of the frame phase error converges to within the phase-locked steady-state threshold, thus obtaining the second local frame period.
8. The wireless multi-card synchronization control method for a display module according to claim 1, characterized in that, Each slave control card drives the row scanning timing of its subordinate display modules according to the second local frame period. The master control card reports the frame phase-locked state status response packet according to the time slot corresponding to the dedicated transmission time slot offset of each slave control card, including: At the start of each frame, each slave control card clears the line scan counter to zero and sends a frame reset command to the driver IC of the display module under its jurisdiction to pull up the VSYNC enable signal. After one line scan clock cycle, the RGB image data is written to the line buffer register of the driver IC line by line. The line scan counter increments once after each line is written until the line scan counter value reaches the number of lines of the vertical resolution of the display module to complete the current frame driving. Each slave control card encapsulates the second frame timestamp, identification number, and frame phase-locked state into a status response packet and attaches a second verification code. Within the time slot corresponding to the dedicated transmission time slot offset, the slave control card sends the status response packet to the master control card via the radio frequency module.
9. The wireless multi-card synchronization control method for a display module according to claim 8, characterized in that, Following the status response packet reporting the frame phase-locked state, the following is also included: The master control card performs continuous frame counting on the status response packets reported by each slave control card to obtain the continuous unlocked frame count of each slave control card; If the number of consecutive unlocked frames of a slave control card reaches the resynchronization trigger threshold, the master control card will attach a resynchronization instruction containing the identification number of the corresponding slave control card to the next frame synchronization broadcast packet. After receiving the resynchronization instruction, the slave control card will reset its local frame period register to the initial frame period and re-execute the step correction.
10. A display screen, characterized in that, A wireless multi-card synchronization control method for a display module as described in any one of claims 1-9, comprising: The calculation module is used to calculate the dedicated transmission time slot offset based on the identification number and frame period of each control card; The acquisition module is used to acquire the first frame timestamp through the main control card in each control card, and encapsulate the first frame timestamp into a frame synchronization broadcast packet for wireless broadcast within the time slot corresponding to the dedicated transmission time slot offset. The correction module is used to collect the second frame timestamp through multiple slave control cards in each control card, calculate the frame phase error based on the first frame timestamp in the frame synchronization broadcast packet, and perform step correction on the first local frame period until the frame phase error converges to within the phase-locked steady-state threshold to obtain the second local frame period. The reporting module is used for each slave control card to drive the row scanning timing of the display module under its jurisdiction with the second local frame period. The master control card reports the status response packet of the frame phase-locked state according to the time slot corresponding to the dedicated transmission time slot offset of each slave control card.
