CN110493928B - Large-scale LED control system and control method - Google Patents

Large-scale LED control system and control method Download PDF

Info

Publication number
CN110493928B
CN110493928B CN201910865208.2A CN201910865208A CN110493928B CN 110493928 B CN110493928 B CN 110493928B CN 201910865208 A CN201910865208 A CN 201910865208A CN 110493928 B CN110493928 B CN 110493928B
Authority
CN
China
Prior art keywords
control mechanism
data packet
control
subordinate
upper computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910865208.2A
Other languages
Chinese (zh)
Other versions
CN110493928A (en
Inventor
徐巧玉
杨旭
王军委
张正
朱哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Luoyang Ginkgo Technology Co ltd
Original Assignee
Luoyang Ginkgo Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Luoyang Ginkgo Technology Co ltd filed Critical Luoyang Ginkgo Technology Co ltd
Priority to CN201910865208.2A priority Critical patent/CN110493928B/en
Publication of CN110493928A publication Critical patent/CN110493928A/en
Application granted granted Critical
Publication of CN110493928B publication Critical patent/CN110493928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A large-scale LED control system and a control method thereof comprise an upper computer and a plurality of control devices which are arranged in sequence, wherein each control device comprises an upper control mechanism and a lower control mechanism which are electrically connected, each lower control mechanism is electrically connected with the upper computer, each lower control mechanism is electrically connected with at least one LED device, a buffer device is arranged between each lower control mechanism and the LED device, and the lower control mechanisms of two adjacent control devices are electrically connected. The invention provides a large-scale LED control system, a control method and a control method.

Description

Large-scale LED control system and control method
Technical Field
The invention relates to the technical field of light control, in particular to a large-scale LED control system and a control method.
Background
The LED has the advantages of energy conservation, environmental protection, high response speed, low heat productivity and the like. By virtue of the small size, the coverage area of the LED is wider and wider, and the LED comprises an indicator light, a display screen, illumination and the like.
In the prior art, the control of the LEDs is mainly realized by matching the ethernet with the light control modules such as the DMX512, because the transmission speed (1000 Mbit/s) of the gigabit ethernet is far greater than the baud rate (250 Kbit/s) of the DMX512 light control protocol, transmission congestion is easily caused, when a single LED device is controlled, the condition of unbalanced data rates at the front end and the rear end can be balanced by adding the buffer component, but when a plurality of LED devices are controlled simultaneously, in order to reduce the number of external cables and controllers, a transmission line is generally required to be shared, all control data are transmitted through one transmission line, which brings huge pressure to the buffer component and causes errors in the control process.
Furthermore, to achieve better results, it is often necessary to control multiple LED devices simultaneously to perform the display, referred to herein as a multi-LED display. In the prior art, a single controller is usually adopted to drive and control the LED device, in most cases, the control program of the controller is preset and cannot be changed at will, and if the control program needs to be changed, the LED device must be detached, which inevitably causes display interruption. This disadvantage is even more pronounced when multiple LED devices are used simultaneously in an array. In addition, after the display system is deployed, all the LED devices and control programs are set, and cannot be flexibly adjusted, especially the number of the LED devices cannot be increased or decreased at will.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a large-scale LED control system and a control method.
In order to achieve the purpose, the invention adopts the specific scheme that: a large-scale LED control system and a control method thereof comprise an upper computer and a plurality of control devices which are arranged in sequence, wherein each control device comprises an upper control mechanism and a lower control mechanism which are electrically connected, each lower control mechanism is electrically connected with the upper computer, each lower control mechanism is electrically connected with at least one LED device, a buffer device is arranged between each lower control mechanism and the LED device, and the lower control mechanisms of two adjacent control devices are electrically connected.
As a preferred scheme, the superior control mechanism comprises a microcontroller electrically connected with the upper computer, the microcontroller is electrically connected with a human-computer interaction unit, a display unit and a memory, the human-computer interaction unit comprises an infrared remote controller and a plurality of keys, and the display unit comprises a plurality of LED lamps and an LCD display screen; the subordinate control mechanism comprises a microcontroller electrically connected with the microcontroller, the microcontroller is electrically connected with two Ethernet controllers and a plurality of output ports corresponding to the LED equipment, and the Ethernet controllers are used for electrically connecting the microcontrollers of the two control devices.
Preferably, the buffer device comprises a control data receiving FIFO module and a control data output FIFO module; the control data receiving FIFO module buffers control data, the control data receiving FIFO module comprises a plurality of receiving FIFO memories, and all the receiving FIFO memories are sequentially arranged; the control data output FIFO module is used for buffering and outputting control data from the control data receiving FIFO module, the control data output FIFO module comprises a plurality of output FIFO memories correspondingly connected with the receiving FIFO memories, and all the output FIFO memories are sequentially arranged.
A control method of a large-scale LED control system and a control method comprises the following steps:
s1, initializing the system;
s2, the upper computer sends a light control message to the first subordinate control mechanism, wherein the light control message comprises at least one light control data packet;
s3, the first subordinate control mechanism receives the light control data packet or forwards the light control data packet to the second subordinate control mechanism, and so on;
s4, after the light control message is sent, the upper computer sends a frame synchronization data packet to the first lower control mechanism;
s5, the first subordinate control mechanism forwards the frame synchronization packet to the second subordinate control mechanism, and so on;
and S6, after all lower control mechanisms receive the frame synchronization data packet, controlling all LED devices to synchronously display.
As a preferable embodiment, the specific method of S1 includes:
s1.1, resetting the lower-level control mechanism by utilizing the upper-level control mechanism;
s1.2, the upper computer sends a request information data packet to the subordinate control mechanism to acquire equipment information of the subordinate control mechanism;
s1.3, the upper computer sets equipment ID for the subordinate control mechanism by sending an equipment address setting data packet to the subordinate control mechanism.
As a preferred scheme, the specific method of S1.2 is:
s1.21, after receiving the solicited information data packet, the subordinate control mechanism sends an equipment information data packet to a previous subordinate control mechanism and sends the solicited information data packet to a next subordinate control mechanism, wherein the first subordinate control mechanism sends the equipment information data packet to the upper computer;
s1.22, after the upper computer receives an equipment information data packet, the lower control mechanism transmits a reminding forwarding message to the previous lower control mechanism so as to forward the received equipment information data packet to the previous lower control mechanism.
As a preferred scheme, the specific method of S1.3 is:
s1.31, the upper computer sends an equipment address setting data packet to the lower control mechanism for the first time;
s1.32, after receiving an equipment address setting data packet for the first time, the subordinate control mechanism clears the equipment ID of the subordinate control mechanism, and forwards the equipment address setting data packet to the next subordinate control mechanism;
s1.33, the upper computer sends an equipment address setting data packet to the lower control mechanism again;
s1.34, after receiving the device address setting data packet again, the subordinate control mechanism resets the device ID of the subordinate control mechanism according to the device address setting data packet, and the subordinate control mechanism which has set the device ID forwards the device address setting data packet to the next subordinate control mechanism.
As a preferred solution, the method further comprises the steps of:
and S7, the upper computer sends a lamplight brightness data packet to the lower control mechanism, and the lower control mechanism changes the lamplight brightness according to the received lamplight brightness data packet.
As a preferable scheme, after receiving the light control data packet or the light brightness data packet, the lower control mechanism writes the light control data packet or the light brightness data packet into the buffer device.
As a preferred solution, the method further comprises the steps of:
and S8, the upper computer sends a demanding equipment information data packet to the lower control mechanism, and the lower control mechanism returns an equipment information data packet and/or an equipment sensor data packet to the upper computer according to the received demanding equipment information data packet.
Has the advantages that: when the invention is used, the superior control mechanism is used for controlling and adjusting the inferior control mechanism, thereby realizing the modification of the lower control mechanism without shutdown, such as writing in new firmware and the like, and a buffer device is arranged between the lower control mechanism and the LED equipment, so that the speed balance between the high-speed control data between the upper computer and the lower control mechanism and the low-speed control data between the lower control mechanism and the LED equipment is realized, the situations of loss and the like caused by high-speed control data congestion are avoided, in addition, all the lower control mechanisms are electrically connected to form a chain, and can transmit data by depending on the chain sequence, therefore, the upper computer can master the conditions of all subordinate control mechanisms according to the data transmission process, and the subordinate control mechanisms can be managed conveniently and control data can be controlled conveniently.
Drawings
Fig. 1 is a block diagram of the overall structure of a control system;
FIG. 2 is a block diagram of the control device;
FIG. 3 is a block diagram of a buffer device;
FIG. 4 is a schematic diagram illustrating a writing manner of control data in the control data receiving FIFO module;
FIG. 5 is a schematic diagram of a specific structure of a damping device applied to a control system;
FIG. 6 is a schematic diagram of the connection of the management module;
fig. 7 is a flowchart of the control method.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1 to 6, a large-scale LED control system and a control method thereof include an upper computer and a plurality of sequentially arranged control devices, each control device includes an upper control mechanism and a lower control mechanism electrically connected to each other, each lower control mechanism is electrically connected to the upper computer, each lower control mechanism is electrically connected to at least one LED device, a buffer device is disposed between each lower control mechanism and the corresponding LED device, and the lower control mechanisms of two adjacent control devices are electrically connected to each other.
When the invention is used, the superior control mechanism is used for controlling and adjusting the inferior control mechanism, thereby realizing the modification of the lower control mechanism without shutdown, such as writing in new firmware and the like, and a buffer device is arranged between the lower control mechanism and the LED equipment, so that the speed balance between the high-speed control data between the upper computer and the lower control mechanism and the low-speed control data between the lower control mechanism and the LED equipment is realized, the situations of loss and the like caused by high-speed control data congestion are avoided, in addition, all the lower control mechanisms are electrically connected to form a chain, and can transmit data by depending on the chain sequence, therefore, the upper computer can master the conditions of all subordinate control mechanisms according to the data transmission process, and the subordinate control mechanisms can be managed conveniently and control data can be controlled conveniently.
Further, higher level control mechanism includes the microcontroller with host computer electrical connection, and microcontroller electrical connection has human-computer interaction unit, display element and memory, and wherein human-computer interaction unit includes infrared remote controller and a plurality of button, and display element includes a plurality of LED lamp and an LCD display screen. The subordinate control mechanism comprises a microcontroller electrically connected with the microcontroller, the microcontroller is electrically connected with two Ethernet controllers and a plurality of output ports corresponding to the LED equipment, and the Ethernet controllers are used for electrically connecting the microcontrollers of the two control devices.
The lower control mechanism is used for directly controlling the LED equipment, the upper control mechanism is used for managing the lower control mechanism, and the upper control mechanism can directly operate the lower control mechanism, so that the control mode of the LED equipment can be adjusted on the premise of no shutdown. In addition, the Ethernet controller is arranged on the lower-level control mechanism, so that the interconnection of different lower-level control mechanisms is realized, the circulation of control signals among the lower-level control mechanisms can be realized in an interconnection mode during actual use, a signal flow is formed, the information of all the lower-level control mechanisms can be mastered through the signal flow, and the control efficiency is improved. In this embodiment, the model of each device is selected as: the model of the microprocessor is STM32F103VCT6, and the microprocessor is electrically connected with an upper computer through an RS485 interface; the microcontroller adopts an FPGA chip with the model number of EP4CE6F17C 8N; the model number of the Ethernet controller is RTL 8211E; the memory is set as a FLASH memory, and the model of the FLASH memory is W25Q 64. In other embodiments of the present invention, other models can be selected according to actual needs.
Specifically, the microprocessor and the microcontroller communicate through an FSMC bus, after the device is powered on and operated, the STM32 reads the FPGA firmware configuration from the FLASH, and then sends parameters such as brightness, baud rate and the like to the FPGA for device operation; when the system operation parameters are changed, saving new parameters to FLASH; if the firmware needs to be updated, writing new firmware configuration, receiving a firmware file from an RS-485 interface, and storing the firmware into the FLASH; all operations are displayed on the LCD display screen; the parameters of the device can be set through keys on the device or an infrared remote controller.
Furthermore, the control device also comprises a power supply module which is electrically connected with the upper control mechanism and the lower control mechanism.
Furthermore, the power module comprises a main transformer chip for connecting external power supply, and the main transformer chip is electrically connected with a first secondary transformer chip and a second secondary transformer chip for supplying power to the microprocessor and a third secondary transformer chip for supplying power to the Ethernet controller. The specific selection type is as follows: the model of the main transformer chip is MP1854, the external 5V power supply is converted into 3.3V, the model of the first auxiliary transformer chip is RT8008-12, the 3.3V is converted into 1.2V to supply power to the FPGA core, the model of the second auxiliary transformer chip is RT9193-25B, the model of the third auxiliary transformer chip is converted into 3.3V to supply power to the FPGAPLL, the model of the third auxiliary transformer chip is RT8008-ADJ, and the 3.3V is converted into 1.05V to supply power to the Ethernet controller.
Further, at the input end of 5V external power supply, a 2A fuse box and a 5V voltage-stabilizing tube are adopted for input protection, and a ZXCT1009 is adopted for current monitoring.
Furthermore, the main transformer chip, the first auxiliary transformer chip, the second auxiliary transformer chip and the third auxiliary transformer chip are electrically connected with the ADC sampling interface of the main processor, so that current monitoring is realized.
Further, microprocessor is electric connection still has bee calling organ, and bee calling organ is used for assisting or reporting to the police when controlling means goes wrong through sound when the user operates higher level control mechanism through the human-computer interaction unit.
Further, the LED lamps are provided with two LED lamps which are respectively used for representing the power supply condition and the device running condition, and different colors can be adopted for representing the current condition, for example, the green is normal, and the red is wrong.
Further, the microcontroller is electrically connected with the LED equipment through the DMX512 module. In this embodiment, one microcontroller is electrically connected with 8 DMX512 modules, and controls the LED device through the DMX512 protocol, and in order to improve the control performance, power isolation and signal isolation are performed on each DMX512 module. The power isolation adopts a network transformer, combines with a triode, and controls the on-off of a front-end power supply through PWM (pulse-width modulation) waves, thereby realizing the function of controlling the rear-end isolation voltage; the signal isolation adopts 8 ADUM1411ARWZ magnetic coupling isolation chips to carry out the signal isolation of the DMX512, and each isolation chip corresponds to one path of DMX512 output. Furthermore, since the DMX512 protocol uses RS-485 level for transmission on the physical layer, TP485 is used at the output port of the DMX512 for conversion of the fpgattransistor signal to the RS-485 signal. 8 TP485 chips are adopted and respectively correspond to 8 paths of DMX512 output.
Further, the chip comprises a clock module, wherein the clock module is used for providing 8M clocks and 25M clocks for an STM32 chip, an FPFA chip and an Ethernet chip.
Further, the buffer device comprises a control data receiving FIFO module and a control data output FIFO module. The control data receiving FIFO module buffers control data, the control data receiving FIFO module comprises a plurality of receiving FIFO memories, and all the receiving FIFO memories are sequentially arranged in sequence. The control data output FIFO module is used for buffering and outputting control data from the control data receiving FIFO module, the control data output FIFO module comprises a plurality of output FIFO memories correspondingly connected with the receiving FIFO memories, and all the output FIFO memories are sequentially arranged.
In multi-path control, the data volume of control data is large, in order to improve the control speed and avoid delay, a high-speed transmission medium is generally adopted, in practical application, most of the control data is transmitted by adopting an ethernet, and the speed of a data interface adopted by most of execution devices is generally low, so that the control data cannot be timely input into the execution devices, and response delay occurs. The invention adopts a two-stage buffering mode, utilizes the control data receiving FIFO module to buffer high-speed control data so as to ensure that the control data can be processed in time, then utilizes the control data output FIFO module to read the control data from the control data receiving FIFO module and buffer the control data, and then outputs the control data to the executive device so as to ensure that the executive device can receive accurate control data. In addition, all the receiving FIFO memories are sequentially arranged according to the sequence, so that the control data can be rotated according to the sequence when the control data are received, the buffering capacity of the high-speed control data is effectively improved, all the output FIFO memories are independently arranged, execution devices can be increased or decreased according to actual requirements, and the adaptability of the data buffering device is improved.
Furthermore, the data buffer device also comprises a management module, the management module is electrically connected with all the receiving FIFO memories, and the management module is used for receiving the control data and sending the control data to the control data receiving FIFO module. The management module is used for managing the process of writing the control data into the receiving FIFO memory so as to improve the reliability and avoid the loss of the control data.
Referring to fig. 7, based on the above control system, the present invention further provides a large LED control system and a control method thereof, including S1 to S6.
And S1, initializing the system.
And S2, the upper computer sends a light control message to the first subordinate control mechanism, wherein the light control message comprises at least one light control data packet. In practical application, the control host does not need to control all the LED devices every time, and only a part of the LED devices may be controlled in one control process, so that the light control message includes at least one light control data packet, and the LED devices to be controlled are called target devices, and the data packet is sent to the target devices, and the rest of the LED devices are not controlled by the data packet.
And S3, the first subordinate control mechanism receives the light control data packet or forwards the light control data packet to the second subordinate control mechanism, and the like. If the first LED equipment is the target equipment of the light control data packet, the first LED equipment directly receives the light control data packet, the sending process is stopped, if the first LED equipment is not the target equipment of the light control data packet, the light control data packet is sent to the second LED equipment, and through the process, the light control data packet can be sent to the target equipment.
And S4, after the light control message is sent, the upper computer sends a frame synchronization data packet to the first subordinate control mechanism.
S5, the first subordinate control unit forwards the frame synchronization packet to the second subordinate control unit, and so on.
And S6, after all lower control mechanisms receive the frame synchronization data packet, controlling all LED devices to synchronously display. Because the LED equipment can not directly display according to the light control data packet after receiving the light control data packet, otherwise, the display picture is torn, and therefore after the light control message is sent, all the LED equipment is controlled to synchronously display through the frame synchronization data packet, and the display picture is continuous and natural.
Specific methods of S1 include S1.1 to S1.3.
And S1.1, resetting the lower-level control mechanism by using the upper-level control mechanism.
S1.2, the upper computer sends a request information data packet to the lower control mechanism to acquire the device information of the lower control mechanism. Since the number and information of LED devices directly determines the packet generation process of the controlling host, all available LED devices need to be discovered first. Because the light control data packet needs to directly control the LED devices and also needs to be directly transmitted to the target device, a device ID needs to be set for each LED device, and whether the LED device is the target device is determined by the device ID.
And S1.3, the upper computer sets the equipment ID for the lower control mechanism by sending an equipment address setting data packet to the lower control mechanism.
Specific methods for S1.2 are S1.21 to S1.22.
S1.21, the subordinate control mechanisms send the equipment information data packet to the previous subordinate control mechanism after receiving the solicited information data packet, and send the solicited information data packet to the next subordinate control mechanism, wherein the first subordinate control mechanism sends the equipment information data packet to the upper computer.
S1.22, after the upper computer receives a device information data packet, the lower control mechanism transmits a reminding forwarding message to the previous lower control mechanism so as to forward the received device information data packet to the previous lower control mechanism.
The purpose of the solicited information data packet is to discover all the LED devices, and the solicited information data packet is sent before the device ID is set, so the solicited information data packet does not have a destination device, and is forwarded among all the LED devices, and each LED device receives the solicited information data packet, so that all the LED devices can return the device information data packet to the control host according to the solicited information data packet.
And because all the data packet sending processes are realized by depending on the forwarding of the LED equipment, in order to improve the efficiency and avoid delay caused by centralized sending of the data packets, the control host needs to send a reminding forwarding message to control the forwarding process of the equipment information data packet, and the first LED equipment is directly connected with the control host, so that the equipment information data packet sent by the first LED equipment can be directly sent to the control host, and the process of sending the reminding forwarding message by the control host is triggered. The prompting forwarding message has the same property with the solicited information data packet, and no clear target device exists, so that the LED devices can receive and forward the prompting forwarding message, and all the LED devices can smoothly complete the forwarding process. With this mechanism, the process of sending LED devices by the control host is gradual, and LED devices from the first to the last are gradually discovered, thereby avoiding confusion or omission.
Specific methods for S1.3 are S1.31 to S1.34.
S1.31, the upper computer sends a device address setting data packet to the lower control mechanism for the first time.
S1.32, the subordinate control mechanism clears the ID of the subordinate control mechanism after receiving the equipment address setting data packet for the first time, and forwards the equipment address setting data packet to the next subordinate control mechanism.
S1.33, the upper computer sends the device address setting data packet to the lower-level control mechanism again.
S1.34, after receiving the device address setting data packet again, the subordinate control mechanism resets the device ID of the subordinate control mechanism according to the device address setting data packet, and the subordinate control mechanism which has set the device ID forwards the device address setting data packet to the next subordinate control mechanism.
The method further includes S7.
And S7, the upper computer sends the lamplight brightness data packet to the lower control mechanism, and the lower control mechanism changes the lamplight brightness according to the received lamplight brightness data packet. Since the device ID is already set, the light intensity packet can identify the target device by the device ID.
Further, after receiving the light control data packet or the light brightness data packet, the lower control mechanism writes the light control data packet or the light brightness data packet into the buffer device.
The method further includes S8.
And S8, the upper computer sends a demanding device information data packet to the lower control mechanism, and the lower control mechanism returns a device information data packet and/or a device sensor data packet to the upper computer according to the received demanding device information data packet.
Further, the method further includes S9.
S9, the upper computer periodically sends a request information packet to the lower control mechanism to acquire the device information of the lower control mechanism. The specific process of S9 is the same as S1.2, and through S9, the upper computer can actively obtain the device information of all available lower control mechanisms, and when the number of the lower control mechanisms increases or decreases, the upper computer can find the lower control mechanisms without stopping the operation, thereby ensuring the normal display of the screen. Note that if the upper computer finds a newly added lower control mechanism through S9, the device ID may be set for the newly added lower control mechanism using S1.33 to S1.34.
Further, the method further includes S10.
And S10, sending an equipment alarm data packet to the upper computer when the lower control mechanism fails.
The format of all packets is as follows.
The light control packet includes a 9-byte protocol name field, a 2-byte version number field, a 1-byte reserved field, a 1-byte network field, a 2-byte device field, a 1-byte port field, a 1-byte message type field, a 1-byte data length field, an nbyte data field, and a 2-byte check field. Where n is the assignment of the data length field; the protocol name field, the version number field, the reserved field, the network field, the equipment field, the port field and the check field are all universal for all data packets, and repeated description is not repeated in the following; the device comprises a protocol name field, a version number field, a reserved field, a network field, an equipment field and a port field, wherein the protocol name field is used for representing a currently executed light control protocol, the version number field is used for representing a version number of the light control protocol, the reserved field is used when a new function needs to be added subsequently, the network field is used for representing currently used network information, the equipment field is used for representing basic information, such as models and the like, of a subordinate control mechanism, and the port field is used for representing connecting ports used between an upper computer and the subordinate control mechanism and between the subordinate control mechanisms.
The frame synchronization packet includes a 1-byte message type field, and two 1-byte reserved fields.
The light brightness data packet includes a 1-byte message type field, a 1-byte R-channel brightness field, a 1-byte G-channel brightness field, a 1-byte B-channel brightness field, and a 1-byte W-channel brightness field.
The device address setting packet includes a message type field of 1byte, a new network ID field of 1byte, a new device ID field of 1byte, and a reserved field of 1 byte.
The solicitation information data packet comprises a message type field of 1byte, a solicitation information type field of mbyte and reserved fields of two 1 bytes. The size of m is variable and is determined according to the type of the requested information.
The device information data packet comprises a 1byte message type field, a 1byte device type field, a 1byte port channel number field, a 2byte hardware manufacturer number field, a 1byte hardware version number field, a 2byte software manufacturer number field, a 1byte software version number field, q channel brightness units, q baud rate fields, and two 1byte reserved fields. One of the channel luminance units includes a 1-byte R-channel luminance unit, a 1-byte G-channel luminance unit, a 1-byte B-channel luminance unit, and a 1-byte W-channel luminance unit.
The device sensor information packet includes a 1byte message type field, a 1byte sensor number field, a pbbyte sensor type field, a 4 pbbyte sensor data field, and two 1byte reserved fields. Wherein the value of p is set by the number of sensors field, the 1byte sensor type field and the 4byte sensor data field form a unit, which together form p units.
The device alarm packet includes a 1-byte message type field, a 4-byte alarm reason field, and two 1-byte reserved fields.
Finally, it should be noted that, herein, the LED device may be an LED display screen or a plurality of LED lamps.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A large-scale LED control system characterized in that: the LED control system comprises an upper computer and a plurality of control devices which are sequentially arranged, wherein each control device comprises an upper control mechanism and a lower control mechanism which are electrically connected, each lower control mechanism is directly and electrically connected with the upper computer, each lower control mechanism is electrically connected with at least one LED device, a buffer device is arranged between each lower control mechanism and the LED device, and the lower control mechanisms of two adjacent control devices are directly and electrically connected;
the buffer device comprises a control data receiving FIFO module and a control data output FIFO module;
the control data receiving FIFO module buffers control data, the control data receiving FIFO module comprises a plurality of receiving FIFO memories, and all the receiving FIFO memories are sequentially arranged;
the control data output FIFO module is used for caching and outputting control data from the control data receiving FIFO module, the control data output FIFO module comprises a plurality of output FIFO memories correspondingly connected with the receiving FIFO memories, and all the output FIFO memories are sequentially arranged;
the buffer device also comprises a management module, wherein the management module is electrically connected with all the receiving FIFO memories and is used for receiving the control data and sending the control data to the control data receiving FIFO module.
2. A large LED control system as claimed in claim 1 wherein: the upper control mechanism comprises a microprocessor electrically connected with the upper computer, the microprocessor is electrically connected with a human-computer interaction unit, a display unit and a memory, the human-computer interaction unit comprises an infrared remote controller and a plurality of keys, and the display unit comprises a plurality of LED lamps and an LCD display screen;
the subordinate control mechanism comprises a microcontroller electrically connected with the microprocessor, the microcontroller is electrically connected with two Ethernet controllers and a plurality of output ports corresponding to the LCD display screen, and the Ethernet controllers are used for electrically connecting the microcontrollers of the two subordinate control mechanisms.
3. The control method of a large-scale LED control system according to claim 1, characterized in that: the method comprises the following steps:
s1, initializing the system;
s2, the upper computer sends a light control message to the first subordinate control mechanism, wherein the light control message comprises at least one light control data packet;
s3, the first subordinate control mechanism receives the light control data packet or forwards the light control data packet to the second subordinate control mechanism, and so on;
s4, after the light control message is sent, the upper computer sends a frame synchronization data packet to the first lower control mechanism;
s5, the first subordinate control mechanism forwards the frame synchronization packet to the second subordinate control mechanism, and so on;
and S6, after all lower control mechanisms receive the frame synchronization data packet, controlling all LED devices to synchronously display.
4. The method of claim 3, wherein: the specific method of S1 includes:
s1.1, resetting the lower-level control mechanism by utilizing the upper-level control mechanism;
s1.2, the upper computer sends a request information data packet to the subordinate control mechanism to acquire equipment information of the subordinate control mechanism;
s1.3, the upper computer sets equipment ID for the subordinate control mechanism by sending an equipment address setting data packet to the subordinate control mechanism.
5. The method of claim 4, wherein: the specific method of S1.2 is as follows:
s1.21, after receiving the solicited information data packet, the subordinate control mechanism sends an equipment information data packet to a previous subordinate control mechanism and sends the solicited information data packet to a next subordinate control mechanism, wherein the first subordinate control mechanism sends the equipment information data packet to the upper computer;
s1.22, after the upper computer receives an equipment information data packet, the lower control mechanism transmits a reminding forwarding message to the lower control mechanism so as to forward the received equipment information data packet to the previous lower control mechanism.
6. The method of claim 5, wherein: the specific method of S1.3 is as follows:
s1.31, the upper computer sends an equipment address setting data packet to the lower control mechanism for the first time;
s1.32, after receiving an equipment address setting data packet for the first time, the subordinate control mechanism clears the equipment ID of the subordinate control mechanism, and forwards the equipment address setting data packet to the next subordinate control mechanism;
s1.33, the upper computer sends an equipment address setting data packet to the lower control mechanism again;
s1.34, after receiving the device address setting data packet again, the subordinate control mechanism resets the device ID of the subordinate control mechanism according to the device address setting data packet, and the subordinate control mechanism which has set the device ID forwards the device address setting data packet to the next subordinate control mechanism.
7. The method of claim 6, wherein: the method further comprises the steps of:
and S7, the upper computer sends a lamplight brightness data packet to the lower control mechanism, and the lower control mechanism changes the lamplight brightness according to the received lamplight brightness data packet.
8. The method of claim 7, wherein: and after receiving the light control data packet or the light brightness data packet, the lower control mechanism writes the light control data packet or the light brightness data packet into the buffer device.
9. The method of claim 7, wherein: and S8, the upper computer sends a demanding equipment information data packet to the lower control mechanism, and the lower control mechanism returns an equipment information data packet and/or an equipment sensor data packet to the upper computer according to the received demanding equipment information data packet.
CN201910865208.2A 2019-09-12 2019-09-12 Large-scale LED control system and control method Active CN110493928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910865208.2A CN110493928B (en) 2019-09-12 2019-09-12 Large-scale LED control system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910865208.2A CN110493928B (en) 2019-09-12 2019-09-12 Large-scale LED control system and control method

Publications (2)

Publication Number Publication Date
CN110493928A CN110493928A (en) 2019-11-22
CN110493928B true CN110493928B (en) 2022-01-11

Family

ID=68557947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910865208.2A Active CN110493928B (en) 2019-09-12 2019-09-12 Large-scale LED control system and control method

Country Status (1)

Country Link
CN (1) CN110493928B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58189666A (en) * 1982-04-28 1983-11-05 Ricoh Co Ltd Dimming controller of image processor
GB0812770D0 (en) * 2008-07-11 2008-08-20 Zbd Displays Ltd A display system
CN102096648B (en) * 2010-12-09 2013-08-14 深圳中兴力维技术有限公司 System and method for realizing multipath burst data business caching based on FPGA (Field Programmable Gate Array)
CN102625539B (en) * 2012-03-30 2014-05-28 杭州电子科技大学 Ethernet interface-based cascading landscape illumination control system and method
US10061537B2 (en) * 2015-08-13 2018-08-28 Microsoft Technology Licensing, Llc Data reordering using buffers and memory
CN206471103U (en) * 2016-11-07 2017-09-05 白黎黎 A kind of full-color LED display screen control system

Also Published As

Publication number Publication date
CN110493928A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
US8879570B2 (en) Systems and methods for reconfiguring a network adapter in sleep mode
CN101365275B (en) Digital address lighting control system and method having remote and local control function
US20120098446A1 (en) Lighting system and method for controlling the same
CN103974512A (en) Method and system for wireless music dimming based on lighting devices
CN103843287A (en) Electrical lighting system power control
CN201904945U (en) LED landscape lamp control system
CN107015507B (en) Comprehensive expansion system of central controller
US11128741B2 (en) Auto-negotiation over extended backplane
CN206711574U (en) Displaying screen controller and display screen control system
CN105404211A (en) Coupling communication plate based on EtherCAT technology
CN104394101A (en) Dial switch-based multi-functional switch and quick configuration method thereof
CN101702848A (en) Monoline driving circuit in series of LED decorative illumination
CN105703618A (en) Circuit for realizing large-power power supply by using routine POE and implementation method
WO2020098602A1 (en) Light fixture status information query method and application thereof in a lighting control system
CN110493928B (en) Large-scale LED control system and control method
CN105873290A (en) LED drive chip and LED drive circuit
CN203859907U (en) Lighting device-based wireless music dimming system
WO2015158127A1 (en) Optical transmission system and transmission method, optical switching device and control method
CN209962605U (en) LED display screen and display system
CN104464622B (en) Wireless distribution type LED traffic guiding display system
CN208419110U (en) A kind of communicating circuit and air conditioner of multi-split air conditioner
CN104582163A (en) Light source controller
CN214255821U (en) Multi-channel power supply management module with state display function
CN103606349B (en) Splicing display device control system
CN110556073B (en) Multi-path LED display system capable of dynamically increasing and decreasing number and control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant