Port adaptive matching circuit and method, LED display component and system
By using a port adaptive matching circuit to detect port signal timing in real time and dynamically adjust port direction, the problem of long port matching time in cascaded LED display systems is solved, achieving fast and reliable port matching and efficient data transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-15
- Publication Date
- 2026-04-03
AI Technical Summary
In cascaded LED display systems, existing technologies struggle to significantly reduce the time required for port orientation matching and improve overall communication efficiency and response speed while ensuring high reliability and topology flexibility.
A port adaptive matching circuit is adopted. The signal monitoring module detects the arrival timing of the bidirectional communication port, generates an initial port direction signal, and the data processing module analyzes the system data flow to dynamically adjust the port direction to adapt to changes in data flow direction. Combined with hardware circuits, fast initial matching and dynamic reliable switching are achieved.
Port direction determination is completed at the moment of power-on, shortening the matching time, improving the transmission rate and system robustness, and enhancing the startup speed, transmission reliability and data throughput of the cascaded LED display system.
Smart Images

Figure CN121789581A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic circuits and display technology, specifically to a port adaptive matching circuit, method, LED display component, and system. Background Technology
[0002] In a cascaded LED display system, each display component (or module) is serially connected via ports to receive and forward display data. Traditional data transmission methods mainly exist in two modes: fixed-direction reception mode and matched-direction reception mode.
[0003] In fixed-direction receive mode, the transmit and receive directions of each component's port are pre-set. This method offers a simple data transmission path and high speed, but suffers from poor system reliability and flexibility. If a component or connecting cable fails, subsequent components will not function properly, and the system topology (data flow direction) cannot be dynamically changed. In matched-direction receive mode, however, the component's port can dynamically switch between receive and transmit states based on the actual direction of the received data, thereby improving system reliability and topology adaptability. However, in this mode, during system power-on initialization or when data transmission anomalies occur, the ports need to perform direction identification and matching, which introduces additional latency, reducing the system's effective data transmission rate and real-time response capability.
[0004] Therefore, how to significantly reduce the time required for port orientation matching and improve the overall communication efficiency and response speed of cascaded LED display systems while ensuring high reliability and topology flexibility has become an urgent problem to be solved in this field. Summary of the Invention
[0005] This invention provides a port adaptive matching circuit, method, LED display component, and system to significantly reduce the time required for port direction matching while ensuring high reliability and topology flexibility, thereby improving the overall communication efficiency and response speed of the cascaded LED display system.
[0006] In a first aspect, the present invention provides a port adaptive matching circuit for use in an LED display component having at least two bidirectional communication ports, comprising: The signal monitoring module has its input terminals connected to the at least two bidirectional communication ports respectively. It is used to detect and compare the arrival time of port signals on each bidirectional communication port during power-on initialization, and output an initial port direction signal determined based on the first arriving port signal. The data processing module is used to receive system data streams from communication receiving ports determined according to the initial port direction signal, parse the system data streams, and generate updated port direction signals based on the parsing results. A port switching module is connected to the at least two bidirectional communication ports, the signal monitoring module, and the data processing module, respectively. The port switching module is configured to: switch one of the bidirectional communication ports to a communication receiving port and connect it to the input terminal of the data processing module, based on the initial port direction signal from the signal monitoring module or the updated port direction signal from the data processing module; and switch the remaining bidirectional communication ports to communication sending ports connected to the output terminal of the data processing module.
[0007] In a second aspect, the present invention also provides an LED display component, comprising: at least two bidirectional communication ports, a display driving module, and the aforementioned port adaptive matching circuit, wherein the display driving module is connected to the data processing module in the port adaptive matching circuit for driving an LED array according to the parsed display information.
[0008] Thirdly, the present invention also provides an LED display system, including a plurality of the above-mentioned LED display components, wherein each of the LED display components is cascaded in sequence through the bidirectional communication port.
[0009] Fourthly, the present invention also provides a port adaptive matching method applied to the aforementioned LED display component, the port adaptive matching method comprising: The signal monitoring module detects and compares the arrival time of port signals on each bidirectional communication port, determines the bidirectional communication port that first receives the port signal as the communication receiving port, and generates an initial port direction signal. The port switching module selects the corresponding communication receiving interface to connect to the data processing module based on the initial port direction signal. The data processing module parses the system data stream from the communication receiving interface and generates an updated port direction signal based on the parsing result; wherein the updated port direction signal is used to switch the current communication sending port to the communication receiving port. If the port switching module does not receive the updated port direction signal, it maintains the current port configuration and outputs the system data stream through the current communication sending port; if the port switching module receives the updated port direction signal, it dynamically adjusts the receive and send configurations of each bidirectional communication port.
[0010] The present invention also provides a port adaptive matching method, applied to the above-mentioned LED display system, the port adaptive matching method comprising: The signal monitoring module detects and compares the arrival time of port signals on each bidirectional communication port, determines the bidirectional communication port that first receives the port signal as the communication receiving port, and generates an initial port direction signal. The port switching module selects the corresponding communication receiving interface to connect to the data processing module based on the initial port direction signal. The data processing module parses the system data stream from the communication receiving interface and generates an updated port direction signal based on the parsing result; wherein the updated port direction signal is used to switch the current communication sending port to the communication receiving port. If the port switching module does not receive the updated port direction signal, it maintains the current port configuration and outputs the system data stream to the next connected LED display component through the current communication sending port; if the port switching module receives the updated port direction signal, it dynamically adjusts the receive and send configurations of each bidirectional communication port.
[0011] Compared with existing technologies, this invention uses hardware circuitry to detect the arrival timing of port signals on each bidirectional communication port in real time. It can determine the initial direction of the LED display component ports instantly upon power-up, quickly establishing the transmit / receive status of each bidirectional communication port. This shortens the time required for port matching and improves transmission rate while maintaining high reliability. Furthermore, after initialization, the data processing module analyzes the system data stream received by the signal monitoring module to determine if the data flow direction has changed. Based on the data flow direction, the port switching module quickly matches and switches the receive and transmit modes of the bidirectional communication ports to adapt to dynamic changes in data flow direction, handle transmission errors or topology reconstruction, and maintain high reliability in the matched-direction reception mode. Therefore, this invention achieves rapid initial matching and dynamic reliable switching through hardware circuitry. When LED display components are applied to cascaded LED display systems, it can significantly improve the startup speed, transmission reliability, and data throughput of the LED display system. It combines the speed advantage of fixed-direction reception with the reliability advantage of matched-direction reception, ensuring system robustness while maintaining high reliability and topology flexibility. It also significantly reduces the time required for port direction matching and improves the overall communication efficiency and response speed of the cascaded LED display system. Attached Figure Description
[0012] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is a schematic diagram of a port adaptive matching circuit provided in an embodiment of the present invention.
[0014] Figure 2 yes Figure 1The diagram shows the specific circuit diagram of the signal monitoring module in the port adaptive matching circuit.
[0015] Figure 3 yes Figure 2 The diagram shows the timing waveform of the signal monitoring module.
[0016] Figure 4 yes Figure 1 The diagram shows a schematic of the data processing module in the port adaptive matching circuit.
[0017] Figure 5 yes Figure 1 The diagram shows the specific circuit diagram of the cooperation between the data processing module and the port switching module in the port adaptive matching circuit shown.
[0018] Figure 6 This is a schematic diagram of the structure of an LED display system provided in an embodiment of the present invention.
[0019] Figure 7 This is a schematic flowchart of a port adaptive matching method provided in an embodiment of the present invention. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] It should be understood that, when used in this specification and the appended claims, the terms “comprising” and “including” indicate the presence of the described features, integrals, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, operations, elements, components and / or collections thereof.
[0022] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations.
[0023] Reference Figures 1 to 5 , Figures 1 to 5A specific embodiment of the port adaptive matching circuit 10 of the present invention is shown. The port adaptive matching circuit 10 of the present invention can be applied to an LED display component having at least two bidirectional communication ports. In this embodiment, two ports are used as an example, i.e., the LED display component has a first bidirectional communication port and a second bidirectional communication port. In the embodiment shown in the figures, the port adaptive matching circuit 10 includes a signal monitoring module 11, a data processing module 13, and a port switching module 12. The input terminal of the signal monitoring module 11 is connected to the first bidirectional communication port and the second bidirectional communication port respectively, and is used to detect and compare the arrival timing of port signals on the first bidirectional communication port and the second bidirectional communication port during the power-on initialization of the LED display component, and output an initial port direction signal determined based on the first arriving port signal. In the present invention, a port signal refers to the original electrical signal representing timing and data transmitted on the physical communication port, typically including clocks, data streams, etc. The port signals on the two bidirectional communication ports are typically signals with the same format and a certain phase difference. The data processing module 13 is used to receive signals from the port direction determined by the initial port direction. The system data stream is directed to the communication receiving port determined by the signal, and the system data stream is parsed, and an updated port direction signal is generated based on the parsing result. The system data stream can refer to a logical data sequence that conforms to a specific communication protocol format, obtained from the port signal after processing such as clock data recovery and serial-to-parallel conversion. For example, it can be a data packet containing a frame header, address, pixel data, and check bit. The port switching module 12 is connected to the first bidirectional communication port, the second bidirectional communication port, the signal monitoring module 11, and the data processing module 13, respectively. The port switching module 12 is configured to: switch one of the bidirectional communication ports to a communication receiving port based on the initial port direction signal from the signal monitoring module 11 or the updated port direction signal from the data processing module 13, and connect it to the input of the data processing module 13 to transmit the received system data stream to the data processing module 13; and switch the remaining bidirectional communication ports to communication sending ports connected to the output of the data processing module 13.
[0024] Based on the above design, initially, the initial transmit and receive directions of the two bidirectional communication ports are quickly determined by detecting the arrival timing of the signals at the two ports. After initialization, the data processing module 13 analyzes the system data stream received by the signal monitoring module 11 to determine whether the data flow direction has changed. Based on the data flow direction, the port switching module 12 quickly matches and switches the receive and transmit of the bidirectional communication ports to adapt to dynamic changes in the data flow direction. The data transmit and receive status of each port is dynamically configured according to the updated port direction signal. This design combines the speed advantage of fixed-direction reception with the reliability advantage of matched-direction reception. While ensuring high reliability and topology flexibility, it also ensures system robustness and significantly reduces the time required for port direction matching. Furthermore, it can improve the overall communication efficiency and response speed of a cascaded LED display system composed of multiple LED display components during operation.
[0025] In some embodiments, the signal monitoring module 11 includes a timing comparison circuit, which is configured to detect the phase difference between the port signals on the first bidirectional communication port and the second bidirectional communication port, and output a level signal representing the port where the signal preferentially arrives as the initial port direction signal. In this embodiment, when the initial port direction signal is low, the output is set to represent the level signal of the first bidirectional communication port, the first bidirectional communication port is determined as the communication receiving port, and the second bidirectional communication port is determined as the communication transmitting port. Conversely, when the initial port direction signal is high, the output is set to represent the level signal of the second bidirectional communication port, the second bidirectional communication port is determined as the communication receiving port, and the first bidirectional communication port is determined as the communication transmitting port.
[0026] Specifically, such as Figure 2As shown, in this embodiment, the timing comparison circuit includes a first sampling flip-flop Q1, a second sampling flip-flop Q2, a direction latch flip-flop Q3, and a pulse generation circuit 112. The clock terminals of the first and second sampling flip-flops Q1 and Q2 are respectively connected to a first bidirectional communication port and a second bidirectional communication port to sample the first and second port signals on the first and second bidirectional communication ports. The data input terminals of the first and second sampling flip-flops Q1 and Q2 receive a fixed level, which can be either high or low, and can be selected according to the actual circuit design. In this embodiment, a high level is selected as the fixed level. The input terminal of the pulse generation circuit 112 is connected to the output terminals of the first and second sampling flip-flops Q1 and Q2, and is used to generate a pulse signal based on the phase difference between the sampled two port signals. Its output terminal is connected to the asynchronous set terminal and reset terminal of the direction latch trigger Q3 to latch the direction of the bidirectional communication port that first acquires the port signal, and outputs the level signal of the bidirectional communication port as the initial port direction signal. That is, if the port signal of the first bidirectional communication port arrives first, a low-level pulse is output to the reset terminal of the direction latch trigger Q3, and a low-level signal representing the first bidirectional communication port is output as the initial port direction signal; while if the port signal of the second bidirectional communication port arrives first, a low-level pulse is output to the set terminal of the direction latch trigger Q3, and a high-level signal representing the second bidirectional communication port is output as the initial port direction signal.
[0027] Continue to refer to Figure 2The pulse generation circuit 112 includes a first multiplexer MUX1, a second multiplexer MUX2, and two timing output circuits. In this embodiment, the two timing output circuits are a first timing output circuit 1122a and a second timing output circuit 1122b. The selection control terminals of the first multiplexer MUX1 and the second multiplexer MUX2 are respectively connected to the output terminals of the second sampling flip-flop Q2 and the first sampling flip-flop Q1, and the first input terminals of the first multiplexer MUX1 and the second multiplexer MUX2 are respectively connected to the output terminals of the first sampling flip-flop Q1 and the second sampling flip-flop Q2. The second input terminals of the first multiplexer MUX1 and the second multiplexer MUX2 respectively receive low levels. The first timing output circuit 1122a includes a first NAND gate NAND1 and a first delay inverter N connected to the first input terminal of the first NAND gate NAND1. OT1, the second timing output circuit 1122b includes a second NAND gate NAND2 and a second delay inverter NOT2 connected to the first input terminal of the second NAND gate NAND2. The second input terminal of the first NAND gate NAND1 and the input terminal of the first delay inverter NOT1 are connected to the output terminal of the first multiplexer MUX1. The second input terminal of the second NAND gate NAND2 and the input terminal of the second delay inverter NOT2 are connected to the output terminal of the second multiplexer MUX2. The output terminals of the first NAND gate NAND1 and the second NAND gate NAND2 are respectively connected to the reset terminal and the set terminal of the direction latch flip-flop Q3, so that when the first sampling flip-flop Q1 outputs an effective level first, an effective pulse is output to the reset terminal of the direction latch flip-flop Q3; when the second sampling flip-flop Q2 outputs an effective level first, an effective pulse is output to the set terminal of the direction latch flip-flop Q3. That is, when the first port signal of the first bidirectional communication port is sampled, a low-level pulse is output to the reset terminal of the direction latch flip-flop Q3 to latch and output the low level representing the first bidirectional communication port as the initial port direction signal. When the second port signal of the second bidirectional communication port is sampled, a low-level pulse is output to the set terminal of the direction latch flip-flop Q3 to latch and output the high level representing the second bidirectional communication port as the initial port direction signal.
[0028] Understandably, in this invention, fixed levels and logic signals can be generated and provided by an external signal generator or an external control device, as described above. Figure 3 , Figure 3 This is a schematic diagram of the timing waveform of the signal monitoring module 11 of the present invention. (In conjunction with...) Figure 2During power-on initialization, the first sampling flip-flop Q1 and the second sampling flip-flop Q2 sample and receive port signals containing system data streams from the first and second bidirectional communication ports, which have the same format but a phase difference. If the port signal from the first bidirectional communication port arrives first, the clock terminal of the first sampling flip-flop Q1 detects the rising edge first and outputs a high level, i.e., S2=1 and A1=1. At this time, S1 is the initial value, i.e., S1=0. Then, the first multiplexer MUX1 selects the first input terminal A1 and its output terminal, and outputs 1, i.e., a high level. The second multiplexer MUX2 selects the second input terminal B2 and its output terminal, and outputs a low level. After passing through the timing output circuit, during the delay time, the first NAND gate NAND1 outputs a low level and the second NAND gate NAND2 outputs a high level. At this time, the reset terminal of the direction latch flip-flop Q3 receives a valid pulse, and the direction latch flip-flop Q3 is reset, outputting a low level representing the first bidirectional communication port as the initial port direction signal.
[0029] In some other embodiments, the level signal representing the first bidirectional communication port can be set to a high level, and correspondingly, the level signal representing the second bidirectional communication port can be set to a low level. One implementation is to connect the output of the timing output circuit connected to the first bidirectional communication port to the set terminal of the direction latch flip-flop Q3, and connect the output of the timing output circuit connected to the second bidirectional communication port to the reset terminal of the direction latch flip-flop Q3, so as to set the level signal representing the first bidirectional communication port to a high level and the level signal representing the second bidirectional communication port to a low level.
[0030] In some embodiments, the data processing module 13 can also perform regeneration processing on the system data stream, that is, reshape the system data stream. For example... Figure 4As shown, in this embodiment, the data processing module 13 includes a data register 131, a logic judgment unit 132, and a data regeneration unit 133. The data register 131 is used to temporarily store the system data stream. The logic judgment unit 132 is connected to the data register 131 and is used to parse the system data stream, respond to external control commands, or generate an updated port direction signal when the system data stream is abnormal. The updated port direction signal is used to switch the current communication sending port to the communication receiving port. The data regeneration unit 133 is connected to the data register 131 and is used to regenerate the system data stream in the port signal to generate a regenerated data stream, which is then output through the current communication sending port. In this embodiment, the logic judgment unit 132 is used to perform parsing processes such as address matching, instruction recognition, and integrity verification. Specifically, address matching refers to parsing the address field in the system data stream to determine the data ownership. If the address matches the preset address of this component, the data stream is determined to be local data. The logic judgment unit 132 can instruct to maintain the current port configuration and extract subsequent display data to the display driver module of the LED display component. If they do not match, the data is reshaped and forwarded completely by the data regeneration unit 133. Instruction recognition refers to parsing the instruction field in the system data stream to respond to external control commands. For example, if a global broadcast instruction is parsed as a port switching instruction, the logic judgment unit 132 generates an updated port direction signal. This signal will cause the port switching module 12 to switch the transmit and receive states of the two bidirectional communication ports. Integrity verification refers to performing integrity verification on the system data stream and generating an updated port direction signal when the verification is abnormal to trigger port direction switching and achieve self-healing of link faults. As can be seen, in this embodiment, the system data stream is temporarily stored in the data register 131 and then processed in three ways: one way sends the data to the display driver module to drive the LED display when the address field matches; another way sends the data to the data regeneration unit 133, which forwards the data when the address field does not match; and the third way sends the data to the logic judgment unit 132 for parsing. In some other embodiments, address matching and instruction recognition, or address matching and integrity verification can also be performed.
[0031] Continue to refer to Figure 5In some embodiments, the port switching module 12 includes a third multiplexer MUX3 and a data distribution circuit 122. Each input terminal of the third multiplexer MUX3 is connected to a first bidirectional communication port and a second bidirectional communication port to receive the first system data stream in the first port signal and the first system data stream in the second port signal, respectively. Its selection control terminal receives the initial port direction signal, and its output terminal is connected to the input terminal of the data processing module 13. The data distribution circuit 122 includes an inverter NOT3, a first AND gate AND1, and a second AND gate AND2. The first input terminal of the first AND gate AND1 and the input terminal of the inverter NOT3 receive the initial port direction signal or the updated port direction signal. The output terminal of the inverter NOT3 is connected to the first input terminal of the second AND gate AND2. The second input terminals of both the first AND gate AND1 and the second AND gate AND2 are connected to the output terminal of the data processing module 13. The output terminals of the first AND gate AND1 and the second AND gate AND2 are respectively connected to the data transmission lines of the first bidirectional communication port and the second bidirectional communication port. Based on the above design, the third multiplexer MUX3 is controlled by the port direction signal to select the port currently used as the communication receiving port (such as the first bidirectional communication port) and connect its data path to the input terminal of the data processing module 13; at the same time, the direction signal also controls the output of the data stream regenerated by the data processing module 13 to the port currently used as the communication sending port (such as the second bidirectional communication port) for forwarding output.
[0032] As can be seen, in the above solution, the present invention realizes rapid initial matching and dynamic reliable switching of bidirectional communication ports in LED display components through hardware circuits. When LED display components are applied to cascaded LED display systems, they can also significantly improve the startup speed, transmission reliability and data throughput of LED display systems. That is, it combines the speed advantage of fixed-direction reception and the reliability advantage of matched-direction reception. While ensuring high reliability and topology flexibility, it ensures system robustness, significantly reduces the time required for port direction matching, and improves the overall communication efficiency and response speed of cascaded LED display systems.
[0033] Reference Figure 6 , Figure 6 A schematic block diagram of an LED display system according to an embodiment of the present invention is shown. In the embodiment shown in the figure, N LED display components 100 are included. Each LED display component 100 includes two bidirectional communication ports, a display driving module, and the port adaptive matching circuit described in the above embodiment. The display driving module is connected to the data processing module in the port adaptive matching circuit and is used to drive the LED array according to the parsed display information. Each LED display component 100 is cascaded sequentially through the bidirectional communication ports. Figure 1 In this embodiment, after the system is powered on, the signal monitoring module 11 quickly completes the initial direction determination. Based on this direction, the port switching module 12 sends the data of the corresponding port to the data processing module 13. The data processing module 13 processes the data and sends it to the display driver module to drive the display. At the same time, it performs parsing, which may generate new port direction signals and update them. When the port switching module 12 receives the updated port direction signal, it switches the receiving and sending directions of the two bidirectional communication ports, connects the current communication sending port to the output of the data processing module 13, and sends the regenerated system data stream processed by the data processing module 13 to the next cascaded LED display component 100. This realizes the dynamic adaptation of the data flow direction after the initial direction is determined. Thereafter, the system continuously cycles through the dynamic adaptation process of the data flow direction. That is, after power-on initialization, the present invention does not need to wait for the port switching response time of component 100 or the matching response time during the transmission process. Under the premise of ensuring high reliability and topology flexibility, it improves the overall communication efficiency and response speed of the cascaded LED display system.
[0034] See Figure 7 , Figure 7 A schematic flowchart of a port adaptive matching method according to an embodiment of the present invention is shown. This port adaptive matching method is implemented based on the port adaptive matching circuit described in the above embodiment and can be applied to the above-described LED display component or the above-described cascaded LED display system. It includes the following steps: S1. The signal monitoring module detects and compares the arrival time of port signals on each bidirectional communication port, determines the bidirectional communication port that first receives the port signal as the communication receiving port, and generates an initial port direction signal.
[0035] S2. The port switching module selects the corresponding communication receiving interface to connect to the data processing module based on the initial port direction signal.
[0036] S3. The data processing module parses the system data stream from the communication receiving interface and generates an updated port direction signal based on the parsing result.
[0037] In this step, the updated port direction signal is used to switch the current communication sending port to the communication receiving port.
[0038] S4. If the port switching module does not receive the updated port direction signal, it maintains the current port configuration and outputs the system data stream through the current communication sending port; if the port switching module receives the updated port direction signal, it dynamically adjusts the receiving and sending configurations of each bidirectional communication port.
[0039] In this step, if the port switching module does not receive the updated port direction signal, it maintains the current port configuration and outputs the system data stream through the current communication sending port, that is, it outputs the system data stream regenerated and processed by the data processing module through the current communication sending port; if the port switching module receives the updated port direction signal, it switches the current communication sending port to the communication receiving port and switches the current communication receiving port to the communication sending port, so as to output the data stream through the switched communication sending port.
[0040] When applied to a cascaded LED display system, the system data stream output from the communication transmission port determined by the current LED display component is transmitted to the next cascaded LED display component, and the next cascaded LED display component repeats the above steps S1-S4.
[0041] When the port adaptive matching method of the present invention is applied to a cascaded LED display system, it can preferably be applied during initialization to at least one LED display component cascaded in the middle position of the LED display system. For example, when N=10, combined with... Figure 6 The system inputs the same data at both ends. After initial power-on, assuming the data for the first to fourth LED display components is input from the left end, the left port (port A) will receive the signal first, so port A will be set as the receiving end and port B as the transmitting end. The seventh to tenth components will be the opposite, with port B set as the receiving end and port A as the transmitting end. To reduce system startup time, the fifth to sixth LED display components in the middle can use the signal monitoring module in their port adaptive matching circuit to determine an initial receiving end based on the small phase difference between the signals on the two ports of the LED display component. After initialization, the port direction of all LED display components will be managed by the data processing module in their respective port adaptive matching circuits. This can be dynamically adjusted according to the system data flow (such as testing, backup, loopback, etc.) to achieve flexible, reliable, and efficient data transmission throughout the system.
[0042] It should be noted that the specific limitations of the port adaptive matching method can be found in the limitations of the port adaptive matching circuit embodiment above, and will not be repeated here.
[0043] In summary, this invention uses hardware circuitry to detect the arrival timing of port signals on each bidirectional communication port in real time. It can determine the initial direction of the LED display component ports instantly upon power-up, quickly establishing the transmit / receive status of each port and shortening the time required for port matching. This improves transmission rate while maintaining high reliability. Furthermore, after initialization, the data processing module analyzes the system data stream received by the signal monitoring module to determine if the data flow direction has changed. Based on the data flow direction, the port switching module quickly matches and switches the receive and transmit modes of the bidirectional communication ports to adapt to dynamic changes in data flow direction, handle transmission errors or topology reconstruction, and maintain high reliability in the matching direction reception mode. Therefore, this invention achieves rapid initial matching and dynamic reliable switching through hardware circuitry. When LED display components are applied to cascaded LED display systems, it can significantly improve the startup speed, transmission reliability, and data throughput of the LED display system. It combines the speed advantage of fixed-direction reception with the reliability advantage of matching-direction reception, ensuring system robustness while maintaining high reliability and topology flexibility. It also significantly reduces the time required for port direction matching and improves the overall communication efficiency and response speed of the cascaded LED display system.
[0044] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and such modifications or substitutions should all be covered within the scope of protection of the present invention.
Claims
1. A port adaptive matching circuit, applied to an LED display component having at least two bidirectional communication ports, characterized in that, The port adaptive matching circuit includes: The signal monitoring module has its input terminals connected to the at least two bidirectional communication ports respectively. It is used to detect and compare the arrival time of port signals on each bidirectional communication port during power-on initialization, and output an initial port direction signal determined based on the first arriving port signal. The data processing module is used to receive system data streams from communication receiving ports determined according to the initial port direction signal, parse the system data streams, and generate updated port direction signals based on the parsing results. A port switching module is connected to the at least two bidirectional communication ports, the signal monitoring module, and the data processing module, respectively. The port switching module is configured to: switch one of the bidirectional communication ports to a communication receiving port and connect it to the input terminal of the data processing module, based on the initial port direction signal from the signal monitoring module or the updated port direction signal from the data processing module; and switch the remaining bidirectional communication ports to communication sending ports connected to the output terminal of the data processing module.
2. The port adaptive matching circuit as described in claim 1, characterized in that, The signal monitoring module includes a timing comparison circuit, which is configured to detect the phase difference between port signals on different bidirectional communication ports and output a level signal that indicates the port where the signal arrives first as the initial port direction signal.
3. The port adaptive matching circuit as described in claim 2, characterized in that, The LED display component has a first bidirectional communication port and a second bidirectional communication port. The timing comparison circuit includes a first sampling trigger, a second sampling trigger, a direction latch trigger, and a pulse generation circuit. The clock terminals of the first and second sampling triggers are respectively connected to the first bidirectional communication port and the second bidirectional communication port to sample port signals, and the data input terminals of the first and second sampling triggers receive a fixed level. The input terminal of the pulse generation circuit is connected to the output terminals of the first sampling trigger and the second sampling trigger, and is used to generate a pulse signal based on the phase difference between the two sampled port signals. Its output terminal is connected to the asynchronous set terminal and the reset terminal of the direction latch trigger, so as to latch the bidirectional communication port direction of the first sampled port signal and output the level signal of the bidirectional communication port as the initial port direction signal.
4. The port adaptive matching circuit as described in claim 3, characterized in that, The pulse generation circuit includes a first multiplexer, a second multiplexer, and two timing output circuits respectively connected to the output terminals of the first multiplexer and the second multiplexer. The selection control terminals of the first multiplexer and the second multiplexer are respectively connected to the output terminals of the second sampling trigger and the first sampling trigger, and the first input terminals of the first multiplexer and the second multiplexer are respectively connected to the output terminals of the first sampling trigger and the second sampling trigger, and the second input terminals of the first multiplexer and the second multiplexer respectively receive a low level. Each of the timing output circuits includes a NAND gate and a delay inverter connected to the first input of the NAND gate. The second input of the NAND gate and the input of the delay inverter are both connected to the output of the first multiplexer / second multiplexer. The output of the NAND gate in the two timing output circuits is connected to the reset and set input of the direction latch flip-flop, respectively, so that when the first sampling flip-flop outputs a valid level first, a valid pulse is output to the reset input of the direction latch flip-flop; and when the second sampling flip-flop outputs a valid level first, a valid pulse is output to the set input of the direction latch flip-flop.
5. The port adaptive matching circuit as described in claim 1, characterized in that, The data processing module includes: Data registers are used to temporarily store system data streams; A logic judgment unit, connected to the data register, is used to parse the system data stream, respond to external control commands, or generate an updated port direction signal when the system data stream is abnormal; wherein, the updated port direction signal is used to switch the current communication sending port to the communication receiving port; The data regeneration unit, connected to the data register, is used to regenerate the system data stream in the port signal, generate a regenerated data stream, and output it through the communication transmission port.
6. The port adaptive matching circuit as described in claim 1, characterized in that, The port switching module includes: The third multiplexer has its input terminals connected to each bidirectional communication port, its selection control terminal receiving the initial port direction signal, and its output terminal connected to the input terminal of the data processing module. The data distribution circuit includes an inverter, a first AND gate, and a second AND gate. The first input of the first AND gate and the input of the inverter receive the initial port direction signal or the updated port direction signal. The output of the inverter is connected to the first input of the second AND gate. The second inputs of both the first AND gate and the second AND gate are connected to the output of the data processing module. The outputs of the first AND gate and the second AND gate are respectively connected to the data transmission lines of each bidirectional communication port.
7. An LED display component, characterized in that, include: The system includes at least two bidirectional communication ports, a display driver module, and a port adaptive matching circuit as described in any one of claims 1 to 6, wherein the display driver module is connected to a data processing module in the port adaptive matching circuit for driving an LED array based on the parsed display information.
8. An LED display system, characterized in that, It includes multiple LED display components as described in claim 7, and each of the LED display components is cascaded in sequence through the bidirectional communication port.
9. A port adaptive matching method, applied to the LED display component of claim 7, characterized in that, The port adaptive matching method includes: The signal monitoring module detects and compares the arrival time of port signals on each bidirectional communication port, determines the bidirectional communication port that first receives the port signal as the communication receiving port, and generates an initial port direction signal. The port switching module selects the corresponding communication receiving interface to connect to the data processing module based on the initial port direction signal. The data processing module parses the system data stream from the communication receiving interface and generates an updated port direction signal based on the parsing result; wherein the updated port direction signal is used to switch the current communication sending port to the communication receiving port. If the port switching module does not receive the updated port direction signal, it maintains the current port configuration and outputs the system data stream through the current communication sending port; if the port switching module receives the updated port direction signal, it dynamically adjusts the receive and send configurations of each bidirectional communication port.
10. A port adaptive matching method, applied to the LED display system of claim 8 above, characterized in that, The port adaptive matching method includes: The signal monitoring module detects and compares the arrival time of port signals on each bidirectional communication port, determines the bidirectional communication port that first receives the port signal as the communication receiving port, and generates an initial port direction signal. The port switching module selects the corresponding communication receiving interface to connect to the data processing module based on the initial port direction signal. The data processing module parses the system data stream from the communication receiving interface and generates an updated port direction signal based on the parsing result; wherein the updated port direction signal is used to switch the current communication sending port to the communication receiving port. If the port switching module does not receive the updated port direction signal, it maintains the current port configuration and outputs the system data stream to the next connected LED display component through the current communication sending port. If the port switching module receives the updated port direction signal, it dynamically adjusts the receiving and sending configurations of each bidirectional communication port.