Light signal output method, equipment, device, medium and product
Concurrent transmission technology solves the problems of low efficiency and insufficient scalability of RGBIC lamps when controlling multiple LED lamp beads, achieving efficient and smooth color display and system stability, and reducing costs.
Patent Information
- Application Number
- CN202411001728.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-25
AI Technical Summary
Existing RGBIC lamps have low single-channel signal output efficiency, voltage drop problems, low output frame rates, and insufficient scalability when controlling multiple LED lamp beads, resulting in inconsistent brightness, unsmooth color changes, and high system complexity.
Using concurrent transmission technology, the data pulse sequence of each light-emitting link is transmitted concurrently through multiple data transmission ports, reducing the line current load, increasing the output frame rate, simplifying the signal processing process, and reducing the need for additional hardware.
Significantly improve signal processing and display performance, ensure the brightness consistency of LED lamp beads, improve the smoothness of color changes, enhance the scalability and stability of the system, and reduce costs and failure rates.
Smart Images

Figure CN118524598B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of lighting control technology, and in particular to a lighting signal output method, equipment, device, medium and product. Background Art
[0002] With the rapid development of LED lighting technology, RGBIC lamps are widely used in commercial and home environments because they can provide colorful lighting effects. In the existing technology, RGBIC lamps usually use LED driver ICs such as ws2811 and ws2812b to control the color and brightness of the light. These ICs adjust the color and brightness of LED lamp beads by receiving serial signals to achieve dynamic lighting effects.
[0003] However, there are some technical problems in the existing technology, which limit the further improvement of the performance of RGBIC lamps:
[0004] Single-channel signal output limitation: Traditional RGBIC lamp control solutions usually use a single-channel SPI interface to output control signals, which simulates multiple ports to output dimming signals in time-sharing through a single data line. This method can meet the needs when the number of LEDs is small. However, when the number of controlled LEDs increases, the efficiency of single-channel signal output is low and cannot meet the needs of large-scale LED control.
[0005] Voltage drop problem: In a single-channel control signal system, as the number of LED lamp beads increases, the brightness of the tail lamp beads will be significantly reduced due to the cumulative effect of line resistance. This is a brightness inconsistency problem caused by voltage drop.
[0006] Low output frame rate: Since a single-channel output signal takes a long time, the number of times the control signal can be output per second is reduced, which directly affects the output frame rate, making the color changes of the LED display look unsmooth, affecting the user's visual experience.
[0007] Insufficient scalability: When existing technologies need to control more LED lamp beads, they often need to add additional MCUs or use complex time-division multiplexing technology to achieve this, which not only increases system costs, but also increases design complexity.
[0008] Although there are some improvement solutions to the above problems, such as improving certain performance through software optimization or hardware adjustment, these solutions can often only provide limited improvements and may introduce new design constraints or increase costs. Summary of the invention
[0009] The purpose of the present application is to solve at least one of the above problems and provide a light signal output method, equipment, device, medium and product.
[0010] In order to meet the various objectives of this application, this application adopts the following technical solutions:
[0011] A method for outputting a light signal is provided to meet one of the purposes of the present application, comprising the following steps:
[0012] Acquire image frame data, and parse it into display data sequences of multiple light-emitting links, each display data sequence including display parameters of each light-emitting unit in the corresponding light-emitting link;
[0013] Converting the display data sequence into a corresponding data pulse sequence;
[0014] Through each data transmission port, the level signal corresponding to the data pulse sequence of each light-emitting link is concurrently transmitted to each light-emitting unit, so that each light-emitting unit is controlled by its corresponding display parameter to emit light to coordinately display the image frame.
[0015] A light signal output device is provided to meet one of the purposes of the present application, including a main control chip and multiple light links, the main control chip is equipped with a serial peripheral interface, the serial peripheral interface includes multiple data transmission ports, each light link is connected to one of the data transmission ports, each light link includes multiple light units connected in series, each light unit is provided with a control chip and a light-emitting element, the main control chip executes the steps of the light signal output method, the control chip receives the level signal transmitted by the main control chip, parses the corresponding display parameters, and adjusts the light of its light-emitting element according to the display parameters.
[0016] One of the purposes of the present application is to provide a light signal output device, comprising:
[0017] An image analysis module, configured to obtain image frame data and parse it into display data sequences of multiple light links, each display data sequence including display parameters of each light unit in the corresponding light link;
[0018] A data conversion module, configured to convert the display data sequence into a corresponding data pulse sequence;
[0019] The image display module is configured to transmit level signals corresponding to the data pulse sequences of the respective light-emitting links to the respective light-emitting units through the respective data transmission ports, so that the respective light-emitting units emit light under the control of their corresponding display parameters to collaboratively display the image frames.
[0020] A computer-readable storage medium is provided to meet one of the purposes of the present application, which stores a computer program implemented by the method described in any one of the above-mentioned items in the form of computer-readable instructions. When the computer program is called and executed by a computer, the corresponding steps of light emission are executed.
[0021] A computer program product is provided to meet one of the purposes of the present application, including a computer program / instruction, which implements the steps of any one of the above methods when executed by a processor.
[0022] Compared with the existing technology, this application significantly improves the performance of signal processing and display through innovative concurrent transmission technology, and achieves many technical advantages, including:
[0023] First, in order to address the voltage drop problem caused by a single-channel control signal, the present application significantly reduces the current load in the line by concurrently transmitting the level signals corresponding to the data pulse data of each light-emitting link, thereby effectively reducing the voltage drop and ensuring the consistency of the brightness of each light-emitting unit in the entire light-emitting link.
[0024] Secondly, in order to solve the problem that the output signal frame rate is low and the color change of LED display is not smooth, this application adopts an efficient data processing and transmission process. By acquiring the image frame data and quickly converting it into the corresponding data pulse sequence, this application realizes fast level signal transmission, improves the output frame rate, makes the color change smoother, and optimizes the user's visual experience.
[0025] Thirdly, in order to solve the problem of insufficient scalability, the present application utilizes the concurrent transmission capability of multiple data transmission ports, which not only improves the output efficiency of control signals, but also enhances the scalability of the system. This design allows the system to easily adapt to more light-emitting units and more complex display configurations without making large-scale changes to the existing system architecture.
[0026] In addition, the present application reduces the need for additional hardware by simplifying the signal processing and transmission process, effectively reducing system costs. At the same time, due to the high efficiency of data processing and transmission, the present application improves the stability and reliability of the system, reduces maintenance costs and potential failure rates.
[0027] In summary, the present application not only solves the key problems in the prior art, but also provides a more advanced and practical solution by achieving multiple beneficial effects such as improving transmission efficiency, enhancing display fluency, optimizing system scalability and reducing costs. When this solution is applied in applications requiring high refresh rate and high-resolution display, it can not only significantly improve the user experience, but also improve the market competitiveness and commercial value of lighting products composed of multiple light-emitting links. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0029] Figure 1 This is a schematic diagram of the circuit principle of an exemplary light signal output device of the present application.
[0030] Figure 2 Flow chart of a light signal output method in an embodiment of the present application.
[0031] Figure 3 Schematic diagram of the structure of the light signal output device in the embodiment of the present application.
[0032] Figure 4 A schematic diagram of the structure of the computer device of the present application. DETAILED DESCRIPTION
[0033] The present application provides a method for outputting a light signal, which is implemented based on a light signal output device. The method allows a main control chip to establish a connection with multiple light links using multiple data transmission ports on a serial peripheral interface. After the main control chip obtains image frame data, it parses and converts the image frame data into a level signal recognizable by a control chip in the light link. After that, the main control chip transmits multiple level signals corresponding to multiple light links to the multiple light links in parallel. The control chip in the light link recognizes the display parameters in the level signal and controls the light-emitting element electrically connected thereto to change the light-emitting state. The light-emitting state referred to herein includes but is not limited to any one or more of color-related information such as color, brightness, hue, and saturation.
[0034] Combination Figure 1 The present application exemplarily provides a light signal output device 10, which is a lighting product. The light signal output device 10 includes a camera device 11, a main control chip 12 and multiple light-emitting links. The camera device 11 is electrically connected to the main control chip 12, and the main control chip 12 is electrically connected to the multiple light-emitting links.
[0035] The camera device 11 is responsible for capturing image frame data and providing the data to the main control chip 12 to drive the dimming process of multiple light links. In other embodiments, the lamp of the present application may not provide the camera device 11, but provide image data through an external smart device, and then extract image frame data from the image data. Of course, the image data can also be historical image data pre-stored in the memory of the main control chip.
[0036] After receiving the image frame, the main control chip 12 parses and converts the image frame into a level signal recognizable by the light link, and drives the light link to change its light state. The main control chip 12 can be a single chip microcomputer or a central processing unit. In one embodiment, the main control chip 12 is set in a computer and is a component of the computer.
[0037] The main control chip 12 is provided with a serial peripheral interface 121, and the main control chip 12 is connected to multiple light-emitting links through the serial peripheral interface 121. Specifically, the serial peripheral interface 121 is provided with multiple data transmission ports, each of which is connected to a corresponding light-emitting link, each of which has a corresponding chip pin, and each of which works in a duplex state and can receive and send signals at the same time. The serial peripheral interface 121 can be a QSPI (Quad SerialPeripheral Interface, i.e., a four-wire serial peripheral interface 121.
[0038] The light-emitting link includes a control chip used in a plurality of light-emitting units connected in series, wherein the plurality of control chips are connected in series in sequence, and each control chip is electrically connected to a corresponding light-emitting element, and the control chip is used to control the light-emitting state of the corresponding light-emitting element by displaying each display parameter in the display data sequence, for example, the control chip controls one or more of the light-emitting color, light-emitting brightness and light-emitting color of the light-emitting element. For example, the control chip may be a ws2811 or ws2812b chip, which is used to control the light-emitting state of the LED lamp bead.
[0039] WS2811 and WS2812B chips are two key components in LED lighting technology and are widely used to create colorful dynamic lighting effects. The WS2811 chip is known for its integrated boost converter and constant current drive. It is designed specifically for LED lighting and can effectively drive series-connected LED lamp beads and provide precise PWM dimming function, making brightness adjustment smooth and continuous. This chip simplifies data transmission through a single-line communication interface, allowing series control of multiple LED lamp beads, and is very suitable for making continuous LED light strips. This LED light strip can be connected to the data transmission port of the serial peripheral interface 121 of the present application to form a light-emitting link in the present application.
[0040] The WS2812B chip further develops the LED driving technology. It not only integrates RGB LED, but also has an independent driving circuit, so that each color channel can be precisely controlled. This three-in-one design allows the WS2812B to display richer colors and brightness effects, while maintaining the single-line communication capability similar to the WS2811, but with faster data transmission speed, suitable for higher-performance lighting control systems.
[0041] The common advantages of these two chips are their ease of use, flexibility and high programmability, making them the first choice for holiday decorations, stage lighting, commercial environments and smart home lighting systems. Whether in simple decorative applications or complex dynamic light shows, the WS2811 and WS2812B chips are able to provide impressive visual effects while maintaining energy efficiency and cost-effectiveness.
[0042] The light-emitting link can receive the level signal output by the main control chip 12, and parse it to obtain the corresponding display data sequence. The display data sequence includes multiple display parameters set in sequence for multiple light-emitting elements in the corresponding light-emitting link. Multiple control chips connected in series in the light-emitting link obtain display parameters corresponding to themselves from the display data sequence in sequence, and control their own light-emitting elements to change their light-emitting states based on the display parameters.
[0043] In a specific embodiment of the present application, the light chain is composed of a series of LED lamp beads, which are packaged on a flexible substrate to form a bendable light strip. Each LED lamp bead is equipped with a control chip, such as ws2811 or ws2812b, which are distributed along the entire length of the light strip and are electrically connected to the LED lamp beads.
[0044] The control chip is responsible for receiving the level signal from the main control chip 12, and controlling the light-emitting state of the LED lamp beads according to the display parameters in these signals. The control chip has a highly integrated circuit design, which can realize accurate brightness adjustment and color change of the LED lamp beads, thereby achieving rich visual effects.
[0045] The design of the light strip allows it to adapt to various application scenarios, such as interior decoration, commercial lighting or art installations. The flexible nature of the light strip allows it to be easily installed on surfaces of various shapes, while the compact layout of the control chip ensures uniform light emission and high-resolution display of the light strip.
[0046] In practical applications, the light-emitting link can be cut into the required length and connected to the main control chip 12 as needed. Through the data transmission port of the serial peripheral interface 121, the main control chip 12 can control multiple light-emitting links at the same time to achieve complex lighting effects and dynamic displays.
[0047] In addition, the design of the light link also takes energy saving and environmental protection into consideration. Both the LED lamp beads and the control chip adopt a low-power design to ensure the energy efficiency of the entire lighting system. At the same time, the long life of the LED lamp beads reduces the frequency of replacement, reducing maintenance costs and environmental impact.
[0048] For an image frame data, after each lighting chain controls each lighting unit to emit light according to the above logic, the image effect of the corresponding image frame can be presented in the display interface of the lamp formed by each lighting chain.
[0049] The display data sequence of the present application refers to a set of data arranged in a specific order, which is used to describe the color and brightness information that each light-emitting unit should display at a specific time point or time period. Each display data sequence usually corresponds to a row or a region of light-emitting units in an image frame, and includes all display parameters that constitute the image frame portion.
[0050] The display parameter of this application is a single data point in the display data sequence, which defines the luminous characteristics of a single light-emitting unit (such as an LED lamp bead). Display parameters may include but are not limited to color information (such as RGB values), brightness level, hue, saturation, etc. These parameters together determine the final display effect of the light-emitting unit.
[0051] The data pulse sequence of the present application is to convert the display parameters in the display data sequence into a format suitable for transmission through a digital communication interface (such as QSPI). These pulse sequences are usually composed of a series of high and low level data, which represent binary data according to a specific timing and duration. The design of the data pulse sequence needs to consider the recognition ability of the control chip and the transmission characteristics of the communication interface.
[0052] The level signal of this application refers to the voltage or current state used to represent binary data in digital communication. In the light signal output system, the level signal specifically refers to the control signals generated by the main control chip and sent to each light-emitting unit, which determines the switch state and brightness level of the light-emitting unit. The high and low states of the level signal correspond to specific values in the display parameters. For example, a high level may indicate the full brightness of the LED lamp bead, while a low level may indicate a lower brightness or an off state.
[0053] Level signals are the physical manifestation of data pulse sequences. They are generated by the main control chip and sent to each light-emitting link through the data transmission port. The high and low changes of the level signal directly control the state of the light-emitting unit, thereby achieving precise dimming and color control of the entire lighting system. In this way, the present application can achieve high-quality display effects while maintaining high transmission efficiency.
[0054] In the light signal output method of the present application, the image frame data is first acquired and parsed, and converted into display data sequences of multiple light links. Each display data sequence contains display parameters of the corresponding light-emitting unit, such as color and brightness information. These display parameters are then converted into data pulse sequences for transmission through a digital communication interface. The data pulse sequences are specially designed according to the requirements of the control chip of the light-emitting unit and the characteristics of the communication interface to ensure accurate transmission and recognition of data.
[0055] In one embodiment, please refer to Figure 2 , the light signal output method comprises the following specific steps:
[0056] Step S1, acquiring image frame data, parsing it into display data sequences of multiple light-emitting links, each display data sequence including display parameters of each light-emitting unit in the corresponding light-emitting link;
[0057] In one embodiment, the acquisition of image frame data is achieved through a camera device, which is directly electrically connected to the main control chip. The camera device is responsible for capturing real-time images frame by frame and providing a continuous image frame data stream. The image frame data is the basis for subsequent display processing, and its clarity and accuracy affect the display effect of the lamp. In other embodiments, the image frame data can also be extracted from an image file in the memory of the main control chip, for example, from an animation file such as GIF, a video file such as MPG, or from a static image file such as PNG or JPG.
[0058] The image frame is represented as corresponding image frame data at the computer level, and the acquired image frame data then enters the parsing stage. In one embodiment, the main control chip divides the image frame according to a predetermined algorithm to match the physical layout of the light-emitting units in the lamp. Each image portion after division corresponds to multiple light-emitting units in a local area in the physical layout. These light-emitting units may belong to one or more light-emitting links. Subsequently, the display parameters corresponding to each light-emitting unit covered in each local area will be generated in units of light-emitting links, and the display data sequence corresponding to each light-emitting link will be further constructed.
[0059] During the parsing process, the main control chip also needs to calculate the display parameters of each light-emitting unit. These parameters include color values and brightness levels, which define the state that the light-emitting unit should display at a specific point in time. When calculating the display parameters, the main control chip can further consider the color characteristics and physical layout of the light-emitting unit to correct the display parameters to ensure that each part of the image can be displayed with the correct color and brightness to present the desired effect. For example, when calculating the display parameters, the color value of the pixel representing full black can be increased.
[0060] Display parameters are a set of numerical values that describe the color and brightness that each light-emitting unit should display at a specific point in time. In the RGB color model given as an example, the display parameters include the intensity values of the three color channels of red, green and blue, and the value of each channel is usually in the range of 0 to 255. The brightness level can be represented by the combination of these three color channels, and the color value is defined by their respective specific values. After acquiring the image frame data, the main control chip will execute the image processing algorithm to divide the image frame into multiple areas corresponding to the light-emitting links. For each area, the algorithm will calculate the color and brightness values of each pixel in the area, and convert these values into display parameters of the light-emitting unit. It is not difficult to understand that by optimizing and adjusting the color values corresponding to the three primary colors, the corresponding display effect in the lamp can be adjusted.
[0061] The display data sequence is a sequence composed of multiple display parameters, and each sequence corresponds to a lighting link. Each element in the sequence represents the display parameter of a light-emitting unit in the link. These sequences are arranged in a certain order to ensure that each part of the image frame is correctly reproduced or simulated on the lighting link. Once the display parameters of all light-emitting units are calculated, the main control chip will organize these parameters into display data sequences according to the layout and order of the light-emitting links. Each sequence corresponds to a light-emitting link and contains the display parameters of all light-emitting units in the link. In one embodiment, it can be determined whether the data lengths of the display data sequences of each light-emitting link are equal. If not, the shorter length data is padded with 0 to maintain the consistency of the data structure and simplify the data processing algorithm.
[0062] Each display data sequence is associated with a specific lighting link. A lighting link is a group of lighting units arranged in sequence that together form a portion of an image frame. The display data sequence ensures that each lighting unit receives the correct display parameters to work together to accurately display the corresponding portion of the image frame.
[0063] In one embodiment, in order to improve the efficiency of data transmission, the display parameters obtained by parsing will be compressed and encoded, thereby reducing the amount of data through a specific algorithm while ensuring the integrity of the data, which is convenient for the subsequent generation and transmission of data pulse sequences.
[0064] Step S1 ensures that the image frame data can be accurately converted into the display data sequence of the light link. This step is the basis for achieving efficient and high-quality light signal output, and requires the main control chip to have efficient data processing capabilities and precise control capabilities. Through this step, accurate display parameters can be provided for each light-emitting unit, thereby collaboratively displaying high-quality image frames.
[0065] Step S2, converting the display data sequence into a corresponding data pulse sequence;
[0066] The data pulse sequence is to convert the display parameters in the display data sequence into a format suitable for transmission through a digital communication interface. This format is usually composed of a series of high and low level signals, which represent binary data according to a specific timing and duration. In one embodiment, the data pulse sequence takes into account the recognition ability of the control chip in the light-emitting unit and the transmission characteristics of the communication interface and is represented accordingly to ensure accurate transmission and recognition of data.
[0067] When the display data sequence is to be converted into a data pulse sequence, it can be realized through various implementations. Various specific embodiments are given below:
[0068] In one embodiment, the conversion can be implemented based on a binary encoding algorithm. In this embodiment, each display parameter is first converted into a binary format. For example, if an 8-bit color depth is used, the value of each color channel (red, green, and blue) will be converted into an 8-bit binary number. These binary numbers are then concatenated to form a byte stream. Next, according to the requirements of the control chip, this byte stream can be further encoded, such as Manchester encoding or non-return-to-zero encoding (NRZ), to generate the final data pulse sequence. This encoding method can ensure the integrity and synchronization of the data during transmission.
[0069] In another embodiment, the conversion can be based on a table lookup method. In the table lookup method, the main control chip uses a preset display data combination table, which maps the display parameters to specific pulse sequences. For example, the table can list all possible color values and their corresponding pulse sequences. When the main control chip needs to convert a display parameter, it looks up the corresponding entry in the display parameter table and directly obtains the corresponding pulse sequence. This method simplifies the conversion process because it avoids the need for real-time calculation and encoding, but requires a large enough table to store all possible display parameters and their pulse sequence correspondences.
[0070] In another embodiment, the conversion can be implemented based on differential pulse code modulation (DPCM). Differential pulse code modulation is an efficient encoding technique that reduces the amount of data by encoding the difference between pixels rather than the absolute value of each pixel. In this method, the main control chip first calculates the difference between consecutive display parameters and then converts these differential values into a pulse sequence. DPCM can significantly reduce the size of the data, especially when the image content has a large number of consecutive similar colors.
[0071] In all embodiments of converting a display data sequence into a data pulse sequence, the conversion process must ensure that the data pulse sequence can be correctly decoded by the control chip of the light-emitting unit to reproduce the original display parameters. To this end, the control chip of the light-emitting unit only needs to decode according to the corresponding protocol. In addition, in order to improve transmission efficiency and reduce transmission errors, error detection and correction codes, such as cyclic redundancy check (CRC) or Hamming code, can also be added during the conversion process so that the light-emitting unit control chip can perform corresponding verification and error correction on the data.
[0072] This step directly affects the reliability of data transmission and the quality of display effects. Through a carefully designed conversion process, it is possible to ensure that the display data sequence is transmitted to the light-emitting unit in an efficient and accurate manner, achieving high-quality light signal output. Through the implementation of this step, the display data sequence of each light-emitting link is converted into a corresponding data pulse sequence, which describes how the data transmission port corresponding to the light-emitting link in the serial peripheral interface generates a level signal corresponding to its display data sequence and needs to be transmitted to each light-emitting unit in the light-emitting link.
[0073] Step S3, through each data transmission port, concurrently transmit the level signal corresponding to the data pulse sequence of each light-emitting link to each light-emitting unit, so that each light-emitting unit is controlled by its corresponding display parameter to emit light to coordinately display the image frame.
[0074] The main control chip uses multiple data transmission ports to establish communication with multiple lighting links through its serial peripheral interface. Among them, one data transmission port can be connected to one lighting link. These ports can work at the same time to achieve concurrent data transmission. The concurrent transmission mechanism significantly improves the efficiency of data transmission because it allows multiple lighting links to receive updated display parameters at the same time without waiting for other links to complete data reception.
[0075] In one embodiment, when the number of light links exceeds the total number of data transmission ports of the serial peripheral interface, the main control chip can use time division multiplexing technology to enable the same data transmission port to serve multiple light links. In this case, the data transmission port serving multiple light links will communicate with different light links in turn at different time intervals to ensure that each light link can receive the correct data pulse sequence.
[0076] When the data pulse sequences of each light-emitting link are transmitted concurrently through multiple data transmission ports, it can be implemented in a variety of concurrent ways, for example:
[0077] In one embodiment, the level signal is transmitted by direct concurrent transmission. In this embodiment, each data transmission port is directly connected to a light link, and each port only serves one light link at the same time. This embodiment is suitable for the case where the number of data transmission ports matches the number of light links.
[0078] In another embodiment, a time division multiplexing transmission method is further combined with the data transmission ports serving multiple light links. The time division multiplexing transmission method is applicable to the case where the number of light links exceeds the number of data transmission ports. In this case, the main control chip will schedule the data transmission ports serving multiple light links to communicate with different light links at different time intervals to achieve data reception of multiple light links.
[0079] In another embodiment, dynamic concurrent transmission can be used for implementation. Specifically, in the embodiment of dynamic concurrent transmission, the main control chip dynamically allocates the resources of the data transmission port according to the current display requirements and system load, and in the allocation process, maximizes the use of multiple data transmission ports to implement the concurrent transmission mechanism. This embodiment allows the system to flexibly adjust the transmission strategy in different display scenarios to optimize the transmission efficiency and display quality.
[0080] In combination with the above, in order to ensure the reliability of transmission, the level signal may include an error detection and correction code. After receiving the signal, the control chip of the light-emitting unit will perform an error detection and correction process to ensure the accuracy of the displayed parameters.
[0081] As mentioned above, a data pulse sequence is a series of high and low level changes generated by a digital communication interface (such as QSPI), which represent binary data according to a specific timing and duration. In the light signal output system, the data pulse sequence is first generated in the main control chip and then sent through the data transmission port. The main control chip converts the binary data stream into a corresponding pulse sequence according to the high and low level thresholds and timing characteristics required by the control chip of each light-emitting unit. These pulse sequences are then converted into level signals, which are voltage changes at the physical level and can be recognized by the light-emitting link connected to the data transmission port.
[0082] The level signal is sent through the serial peripheral interface on the main control chip and transmitted to each light link through the data transmission port. Each light link is connected to the main control chip through one or more data transmission ports. Each port has a corresponding chip pin and can work in a duplex state, that is, sending and receiving signals at the same time. The level signal can pass through a signal amplifier or equalizer during the transmission process to compensate for signal attenuation and ensure that the signal still maintains its integrity and accuracy when it reaches the control chip of each light unit.
[0083] When the level signal reaches the control chip of the light-emitting link, the control chip parses the display parameters according to the received signal. These display parameters define the color value, brightness level and other properties of the light-emitting unit. The circuit inside the control chip adjusts the working state of the connected light-emitting elements (such as LED lamp beads) according to these parameters to achieve precise control of color and brightness. In the multiple light-emitting units of a light-emitting link, the control chip of each light-emitting unit is connected to its corresponding light-emitting element, and each control chip independently controls its corresponding light-emitting element. When the light-emitting units on all light-emitting links are activated according to their display parameters, they will work together to present the complete image effect of the image frame on the display interface. It is not difficult to understand that when multiple image frames are played and presented in the physical layout of the same lamp one after another, a lighting effect with motion characteristics can be formed.
[0084] According to the above embodiments, the present application significantly improves the performance of signal processing and display through innovative concurrent transmission technology, and achieves technical advantages in many aspects, including:
[0085] First, in order to address the voltage drop problem caused by a single-channel control signal, the present application significantly reduces the current load in the line by concurrently transmitting the level signals corresponding to the data pulse data of each light-emitting link, thereby effectively reducing the voltage drop and ensuring the consistency of the brightness of each light-emitting unit in the entire light-emitting link.
[0086] Secondly, in order to solve the problem that the output signal frame rate is low and the color change of LED display is not smooth, this application adopts an efficient data processing and transmission process. By acquiring the image frame data and quickly converting it into the corresponding data pulse sequence, this application realizes fast level signal transmission, improves the output frame rate, makes the color change smoother, and optimizes the user's visual experience.
[0087] Thirdly, in order to solve the problem of insufficient scalability, the present application utilizes the concurrent transmission capability of multiple data transmission ports, which not only improves the output efficiency of control signals, but also enhances the scalability of the system. This design allows the system to easily adapt to more light-emitting units and more complex display configurations without making large-scale changes to the existing system architecture.
[0088] In addition, the present application reduces the need for additional hardware by simplifying the signal processing and transmission process, effectively reducing system costs. At the same time, due to the high efficiency of data processing and transmission, the present application improves the stability and reliability of the system, reduces maintenance costs and potential failure rates.
[0089] It can be seen that the present application not only solves the key problems in the prior art, but also provides a more advanced and practical solution by improving transmission efficiency, enhancing display fluency, optimizing system scalability and reducing costs and other multiple beneficial effects. When this solution is applied in applications requiring high refresh rate and high-resolution display, it can not only significantly improve the user experience, but also improve the market competitiveness and commercial value of lighting products composed of multiple light-emitting links.
[0090] Based on any embodiment of the method of the present application, converting the display data sequence into a corresponding data pulse sequence includes:
[0091] Step S211, performing data format conversion on display parameters in each display data sequence to obtain a binary data stream corresponding to each display data sequence;
[0092] The core task of this step is to convert the display parameters in the display data sequence into a binary data stream. As mentioned above, the display parameters include the color and brightness information of each light-emitting unit. These parameters are usually expressed in decimal or hexadecimal form. In order to facilitate subsequent processing and transmission, they need to be converted into binary format.
[0093] For example, consider a simple scenario where the light-emitting unit needs to display pure red. In the RGB color model, pure red is represented as (255, 0, 0), that is, the intensity value of the red channel is the largest, while the intensity values of the green and blue channels are zero. These three intensity values will be converted into binary format separately. The binary representation of the intensity value 255 is "11111111", while the binary representation of 0 is "00000000". Therefore, the display parameters of pure red will be represented as "11111111100000000 00000000" in the binary data stream.
[0094] The conversion process requires format conversion of the intensity value of each color channel. For 8-bit color depth, the value of each channel will occupy 8 bits of binary number. If there is additional brightness or hue information, they will also be converted to the corresponding binary format and form a complete binary data stream together with the color information.
[0095] In addition, during the conversion process, specific synchronization or control bits can be added as needed to ensure that the data can be correctly identified and processed. For example, a start bit can be added at the beginning of a data stream, or a stop bit can be added at the end of a data stream to clearly define the boundaries of the data.
[0096] Each display data sequence is converted into a corresponding binary data stream, laying the foundation for the next step of data pulse sequence generation. This conversion not only improves the data transmission efficiency, but also facilitates the subsequent data processing and transmission, ensuring the accuracy and reliability of the light signal output.
[0097] Step S212: convert the binary data stream of each lighting link into a data pulse sequence of the data transmission port corresponding to the lighting link.
[0098] In this step, the high and low level thresholds and timing characteristics required by the control chip in each light-emitting link must first be determined. These parameters define the voltage or current level required for the control chip to identify the logical "0" and "1" states of the data bit, as well as the time point of data sampling. For example, some control chips may need to read data on the rising or falling edge of the data, and the specific high and low level thresholds are usually related to the design of the control chip and the standards specified by the manufacturer, which can be determined in advance.
[0099] Next, according to the characteristics of the control chip and the communication protocol of the data transmission port, the main control chip will configure the clock frequency and data sampling timing of the data transmission. The clock frequency determines the speed of data transmission, while the data sampling timing ensures that the data is read at the correct time. This configuration process is critical because it ensures that the data pulse sequence matches the receiving capability of the light link.
[0100] Using the configured clock frequency and data sampling timing, the master chip synchronously samples each bit in the binary data stream. This process ensures that the state of each data bit can be accurately captured at the clock edge expected by the control chip. For example, if the control chip is designed to read data on the rising edge of the clock, the master chip will synchronously read and generate the corresponding level signal on each rising edge.
[0101] Finally, based on the digital state obtained by synchronous sampling, the main control chip generates a data pulse sequence that meets the high and low level threshold specifications. These pulse sequences are voltage changes at the physical level, which directly control the state of the light-emitting unit. For example, a high level may indicate full brightness of the LED lamp bead, while a low level may indicate lower brightness or an off state.
[0102] Through this step, the binary data stream of each light link is converted into a corresponding data pulse sequence, which is then sent to the control chip in the light link through the data transmission port. This process not only ensures the accurate transmission of data, but also realizes the precise control of the light unit, so as to display high-quality image frames in a coordinated manner.
[0103] By accurately converting the display parameters in each display data sequence into a data format, this embodiment effectively converts these parameters into a binary data stream. This conversion process not only improves the data transmission efficiency, but also ensures the accuracy of the data in the subsequent processing and transmission process. As a standardized representation form, the binary data stream greatly simplifies the data encoding and decoding process, thereby reducing the errors that may occur in the data transmission process.
[0104] Furthermore, this embodiment converts the binary data stream obtained by each light-emitting link into a data pulse sequence corresponding to the data transmission port, ensuring that the data can be transmitted in a form suitable for a specific transmission medium and a receiving device. The generation of the data pulse sequence takes into account the characteristics of the light-emitting link and the requirements of the data transmission port, thereby achieving efficient transmission and reception of data. This conversion enables data to be transmitted to the target device in a highly synchronized and accurate manner, greatly improving the communication performance of the entire system.
[0105] It can be seen that this embodiment realizes efficient conversion from image frame data to data pulse sequence through two key data conversion processes, which not only improves the accuracy and efficiency of data transmission, but also enhances the reliability and stability of the system. These technical effects work together to make this technical solution have significant advantages in achieving high-quality display output.
[0106] On the basis of any embodiment of the method of the present application, converting the binary data stream of each lighting link into a data pulse sequence of a data transmission port corresponding to the lighting link includes:
[0107] Step S2121, determining the high and low level thresholds and timing characteristics required by the control chip used by each light-emitting unit in the light-emitting link;
[0108] In order to ensure that the data pulse sequence matches the requirements of the control chip, it is necessary to consider the accurate determination of the high and low level thresholds and timing characteristics of the control chip in the light-emitting link, so as to provide the necessary parameters for the subsequent data transmission steps. The high and low level thresholds and timing characteristics can be acquired in advance and solidified as data that can be directly called by the main control chip, and can be called when needed, or through communication with the main control chip.
[0109] Taking the QSPI interface as an example, a detailed analysis of the electrical characteristics of the control chip is required. This includes identifying the minimum high-level voltage and the maximum low-level voltage that the control chip can accurately recognize. For example, the control chip may be designed to recognize a high level when it is above 3.3V and a low level when it is below 1.8V.
[0110] Furthermore, the timing characteristics of the control chip must be considered, which involves determining the duration of the data bit and the precise moment of the sampling point. In QSPI communication, data sampling is usually aligned with the rising or falling edge of the clock signal. Therefore, the master chip must configure the clock frequency and sampling timing of its data transmission according to the timing specifications of the control chip to ensure that the data is accurately captured at the clock edge expected by the control chip.
[0111] In addition, the main control chip usually needs to configure the communication protocol related to the QSPI interface, involving the format of the data frame, the start and end conditions, and the setting of the error detection and processing mechanism. These configurations ensure the reliability of data transmission and compatibility with the control chip.
[0112] By accurately configuring the level threshold and timing characteristics of the control chip, the foundation is laid for generating a data pulse sequence that meets the requirements, thereby ensuring that data transmission through the QSPI interface is both efficient and reliable.
[0113] Step S2122: configuring the clock frequency and data sampling timing of data transmission according to the high and low level thresholds and timing characteristics of the control chip and the communication protocol of the serial peripheral interface providing the data transmission port;
[0114] Configuring the clock frequency and data sampling timing of data transmission according to the determined high and low level thresholds and timing characteristics is the core link to achieve accurate data transmission, which can ensure that the data pulse sequence is fully synchronized with the receiving capability of the control chip.
[0115] In the application example of the QSPI interface, the master chip is required to carefully adjust the clock frequency according to the electrical characteristics and communication protocol of the control chip. The setting of the clock frequency directly affects the data transmission rate and must match the maximum processing speed of the control chip to avoid data overflow or processing delay. At the same time, the configuration of the data sampling timing ensures that the data is accurately read at the expected clock edge of the control chip, which usually involves sampling at the rising or falling edge of the clock signal.
[0116] When implementing the configuration, the detailed configuration of the communication protocol of the QSPI interface is usually also included. This includes not only the start and end conditions of the data frame, but may also involve specific data encapsulation methods, such as the addition of frame headers, frame trailers, and frame check sequences. These configurations together constitute the basic framework for data transmission, providing guarantees for the integrity and accuracy of the data.
[0117] Through the above precise configuration process, the main control chip can generate a data pulse sequence that is fully compatible with the control chip. This not only improves the efficiency of data transmission, but also enhances the stability and reliability of the system, laying a solid foundation for subsequent data transmission and processing.
[0118] Step S2123, using the configured clock frequency and data sampling timing, synchronously sample each digit in the binary data stream to accurately capture the digital state of each data bit at the clock edge expected by the control chip;
[0119] The purpose of synchronously sampling the binary data stream using the configured clock frequency and data sampling timing is to ensure that the state of each data bit can be accurately captured at the clock edge expected by the control chip, thereby generating a data pulse sequence that meets the high and low level threshold specifications.
[0120] In the application of the QSPI interface, it involves precise timing control of the binary data stream output by the master chip. The master chip samples data accurately at a predetermined position in each clock cycle according to the parameters configured in step S2122. For example, if the control chip is designed to read data at the rising edge of the clock signal, the master chip will accurately read a digit in the binary data stream at each rising edge and convert it to a corresponding level state according to the high and low level thresholds determined in step S2121.
[0121] The synchronous sampling process requires the master chip to have a high degree of time resolution and stability to ensure accurate reading of data bits. Through precise synchronous sampling, the master chip can ensure that the generation of data pulse sequences is completely synchronized with the receiving capability of the control chip, thereby achieving efficient and reliable data transmission.
[0122] After completing synchronous sampling, preliminary processing of the sampled data can also be included, such as caching and formatting of data bits, so as to generate a complete data pulse sequence in the subsequent steps, thereby making the data transmission process smoother and preparing for the final data output.
[0123] By synchronously sampling the binary data stream, a perfect match between the accuracy of the data pulse sequence and the receiving capability of the control chip is ensured, providing solid technical support for achieving efficient and reliable data transmission.
[0124] Step S2124: Generate a data pulse sequence that meets the high and low level threshold specifications according to the digital state obtained by synchronous sampling.
[0125] The main control chip generates a data pulse sequence that meets the high and low level threshold specifications based on the digital state obtained by synchronous sampling. This step is the key to accurately transmit data to the light-emitting link, ensuring that the data pulse sequence can accurately control the state of the light-emitting unit.
[0126] In the application example of the QSPI interface, the master chip can evaluate each sampled digit and convert it into a specific value in the corresponding data pulse sequence. If the control chip needs to recognize a binary "1" in a high-level state, the master chip will ensure that a voltage signal above the preset threshold is generated on the data transmission port. Conversely, for a binary "0", a voltage signal below the threshold is generated. The duration and interval of these level signals must be consistent with the timing characteristics of the control chip, thereby maintaining the specifications of the high and low level thresholds of the control chip to ensure data accuracy and synchronization.
[0127] In some embodiments, the generated data pulse sequences are further checked and adjusted to ensure that they fully meet the requirements of the control chip. This may involve further encoding of the data pulse sequences, such as Manchester encoding or non-return-to-zero encoding, to improve the signal's anti-interference ability and transmission efficiency.
[0128] In the process of generating the data pulse sequence, the main control chip may also perform error detection and correction measures, such as adding cyclic redundancy check (CRC) or other correction codes to ensure the integrity and reliability of the data. These measures are essential to improving the overall stability of the system and reducing maintenance costs.
[0129] The data pulse sequence generated by the above process will be sent to the control chip of the lighting link through the data transmission port to achieve precise control of the light-emitting unit, marking the completion of the complete conversion process from image frame data to light-emitting unit control signal, ensuring that high-quality image frames can be accurately displayed on the lamp.
[0130] By accurately converting and verifying the digital states obtained through synchronous sampling, a data pulse sequence that meets the specifications of the control chip is generated, providing decisive support for achieving efficient and reliable lighting signal output.
[0131] The above embodiments realize a data pulse sequence that is highly matched with the control chip requirements through precise level threshold and timing characteristic configuration, thereby significantly improving the accuracy and reliability of data transmission. In the application of the QSPI interface, the main control chip carefully adjusts the clock frequency according to the electrical characteristics and communication protocol of the control chip, ensuring that data sampling is completely synchronized with the expected clock edge of the control chip, effectively avoiding data overflow or processing delay problems.
[0132] Through synchronous sampling, the main control chip can accurately read the digits in the binary data stream at the predetermined position of each clock cycle, and convert them into corresponding level states according to the preset high and low level thresholds. This process not only improves the efficiency of data transmission, but also enhances the stability and reliability of the system, laying a solid foundation for subsequent data transmission and processing.
[0133] Furthermore, the data pulse sequence generation process in the embodiment also includes checking and adjusting the sequence to ensure the integrity and anti-interference capability of the sequence. Through Manchester coding or non-return-to-zero coding and other technologies, the transmission efficiency and accuracy of the signal are improved, further improving the communication performance of the entire system.
[0134] In addition, the introduction of error detection and correction measures, such as cyclic redundancy check (CRC), provides additional protection for the integrity and reliability of data transmission. These measures are of great significance to improving the overall stability of the system and reducing maintenance costs.
[0135] Ultimately, through the precise control of the data pulse sequence, the light-emitting unit is precisely controlled, ensuring that high-quality image frames can be accurately displayed on the lamp. This not only improves the user experience, but also improves the market competitiveness and commercial value of lamp products, especially in applications that require high refresh rates and high-resolution displays.
[0136] In summary, the above embodiments achieve efficient and reliable light signal output and can be implemented at a more economical implementation cost.
[0137] Based on any embodiment of the method of the present application, converting the display data sequence into a corresponding data pulse sequence includes:
[0138] Step S221, obtaining a display parameter corresponding to each light-emitting unit in the display data sequence, wherein the display parameter defines a color value that the light-emitting unit should display;
[0139] For the display data sequence of each light-emitting link, it is first necessary to extract the display parameters of each light-emitting unit from the display data sequence. The display data sequence is a data set consisting of a series of display parameters, each parameter corresponds to a light-emitting unit and determines the color characteristics of the light-emitting unit. For example, in the RGB color model, each display parameter may contain the intensity values of the three color channels of red, green, and blue, which together determine the final color of the light-emitting unit. Therefore, it can be considered that the display parameter has defined the color value that the light-emitting unit should display through the intensity values of each primary color.
[0140] The process of obtaining display parameters usually involves parsing and processing image frame data. For example, the image frame data can be captured by a camera device or extracted from a pre-stored image file. Then, through the image processing algorithm, the image frame is divided into areas corresponding to the light links, and the display parameters of the light units in each area are calculated.
[0141] In some embodiments, the display parameters may be further optimized and adjusted to adapt to the physical characteristics and luminous efficiency of different light-emitting units. For example, the brightness difference or color temperature deviation of the light-emitting units may be compensated by adjusting the intensity value of the color channel, thereby achieving a more uniform and natural color display effect.
[0142] By analyzing and processing the display data sequence, the display parameters of each light-emitting unit are accurately obtained, providing the necessary color information for the subsequent data pulse sequence generation. This not only improves the accuracy of the light signal output, but also provides a solid foundation for achieving high-quality image display.
[0143] Step S222: Search the pulse representation data corresponding to each display parameter through the preset display data combination table, and construct a corresponding data pulse sequence according to the pulse representation data of each display parameter in each display data sequence.
[0144] In this step, the acquired display parameters are converted by a preset display data combination table, thereby generating a data pulse sequence. The display data combination table can be pre-stored in the memory of the main control chip so as to be called as needed.
[0145] The display data combination table is a predefined mapping table that maps display parameters to specific pulse representation data. This table is built based on the level threshold and timing characteristics of the control chip to ensure the accuracy and consistency of the conversion process. For example, the table may list all possible color values and their corresponding pulse widths or encoding methods, providing a specific level signal pattern for each color.
[0146] Specifically, the main control chip searches and converts the display parameters of each light-emitting unit according to the display data combination table. This search process can obtain the pulse representation data corresponding to the color value by directly matching the color value or by calculating the color value based on a preset algorithm. Once the corresponding pulse representation data is found, the main control chip constructs a data pulse sequence according to this data. These pulse sequences will then be used to control the light-emitting unit to achieve accurate color and brightness display.
[0147] In order to improve conversion efficiency, in some embodiments, the display data combination table can use various optimization techniques, such as index search, hash table or search algorithm, to quickly locate the pulse representation data of each display parameter. In addition, the design of the table can also take into account storage efficiency and access speed to respond quickly in a real-time system.
[0148] In some embodiments, the display data combination table may also include error detection and correction information to ensure that any errors that may occur during the data conversion process can be identified and corrected. This increases the robustness of the system and ensures that the display results are correct even if small deviations occur during data transmission or storage.
[0149] At this point, the display parameters of each light-emitting unit are converted into a series of precise data pulse sequences to generate physical level signals. These level signals are then sent to the corresponding light-emitting links through the corresponding data transmission ports, received and analyzed by the control chip, and ultimately achieve precise control of the light-emitting units. This process not only improves the accuracy of light signal output, but also provides a solid foundation for achieving high-quality image display.
[0150] In the above embodiments, the table lookup method is used to achieve significant performance improvement and system optimization, as described in detail as follows:
[0151] First, the application of the table lookup method greatly improves the speed and efficiency of data conversion. Since the conversion of display parameters to data pulse sequences is completed by looking up a preset mapping table, this process avoids complex real-time calculations, thereby speeding up the conversion speed and reducing the calculation burden of the main control chip.
[0152] Secondly, the integration of the table lookup method simplifies system design and reduces hardware requirements. Since the table lookup method does not rely on complex calculation processes, it allows the use of simpler hardware configurations, which not only helps reduce system costs but also helps improve system stability and reliability. In addition, by optimizing the use of hardware resources, the system is able to process and transmit data more efficiently, thereby improving overall performance.
[0153] Furthermore, the introduction of the lookup table method enhances the accuracy and consistency of the system. The display data combination table, as a pre-defined mapping, ensures the accuracy of the conversion process and reduces data transmission problems caused by calculation errors. At the same time, this method allows the system to flexibly adapt to different display parameters and control chip characteristics, providing a high degree of compatibility and scalability.
[0154] Finally, the fast data conversion and efficient system design achieved through the table lookup method significantly improve the user experience. The system can respond quickly and accurately display high-quality image frames, especially in applications that require high refresh rates and high-resolution displays, so that users can enjoy smooth and delicate visual effects. In addition, the stability and reliability of the system also reduce maintenance costs and potential failure rates, providing users with a more economical and practical solution.
[0155] On the basis of any embodiment of the method of the present application, the method is adapted to the situation that the number of light-emitting links is greater than the total number of data transmission ports of the serial peripheral interface, and the level signal corresponding to the data pulse sequence of each light-emitting link is concurrently transmitted to each light-emitting unit through each data transmission port, including:
[0156] Step S31, querying a preset light link activation schedule to determine a light link set corresponding to each data transmission port, the schedule defining a time sequence and duration of each light link receiving a data pulse sequence through the data transmission port, wherein among the light links corresponding to the multiple data transmission ports, there are light links with the same time sequence;
[0157] How to efficiently manage the correspondence between multiple luminous links and limited data transmission ports has become a technical challenge. This step determines the set of luminous links served by each data transmission port and assigns unique identifiers to these luminous links to ensure that data can be accurately transmitted to the target link.
[0158] For example, suppose there are 8 light links in a lamp, but the serial peripheral interface only provides 4 data transmission ports. When the number of light links is slightly greater than the total number of ports, data transmission can be achieved by allocating one port for every two light links and activating these links alternately. In the case where the number of light links is much greater than the total number of data transmission ports, for example, there are 32 light links in the system, more complex allocation strategies and time management mechanisms may be required, such as time division multiplexing technology, to ensure that all links can receive data on demand.
[0159] In this step, all lighting links are first identified and assigned to available data transmission ports according to their physical connection or logical grouping. Each port is associated with a specific set of lighting links, and each lighting link is assigned a unique identifier that is unique in the entire system to distinguish different lighting links. In this way, even if multiple lighting links share the same data transmission port, the system can identify and route data to the correct target through the identifier.
[0160] In order to facilitate the coordination of concurrent scheduling of each luminous link on its corresponding data transmission port, and at the same time combine the time division multiplexing technology to reflect the ability of the limited data transmission port of the serial peripheral interface to serve the level signal transmission of a large number of luminous links, a luminous link activation schedule can be set.
[0161] The activation schedule specifies in detail the time sequence and duration of each light link receiving data, as well as the data transmission port to which each light link is connected. Multiple light links corresponding to the same data transmission port constitute a light link set corresponding to this data transmission port. Different light links in the same light link set can achieve time division multiplexing of the corresponding data transmission port through their time sequence. This schedule is preset to ensure that even when the number of data transmission ports is limited, the data transmission of multiple light links can be efficiently managed and scheduled. By assigning a unique identifier to each light link and specifying the time sequence and duration of their activation in the activation schedule, the main control chip can accurately control the flow of data, thereby achieving a synchronized and coordinated light display effect.
[0162] It is not difficult to understand that by querying the preset activation schedule, the control chip can obtain the time sequence and duration corresponding to each lighting link, and the duration can define a time window corresponding to effectively sending the level signal to the corresponding lighting link.
[0163] The application of activation schedule not only solves the problem of limited number of ports, but also improves the scalability and flexibility of the system, allowing the system to adapt to different numbers of lighting links, ensuring that each link can receive the correct data at the right time, and achieving efficient lighting control.
[0164] Step S32: for each lighting link in each lighting link set, determine a corresponding time window according to its time sequence and duration in the activation schedule;
[0165] The activation schedule is set to carefully determine the time sequence and duration of each lighting link in each lighting link set. Each lighting link in the activation schedule is assigned a specific time period to receive a level signal from a data transmission port.
[0166] The main control chip first identifies each light link set, which is a group of light links that share the same data transmission port. Then, the system assigns a unique time window to each light link in the set according to the time sequence and duration in the activation schedule. During this time window, a specific light link will be activated to receive the level signal corresponding to the data pulse sequence belonging to it. The determination of the time sequence follows the preset order in the schedule, ensuring the synchronization of data transmission and avoiding time conflicts and overlaps.
[0167] The duration is set based on the specific needs of each lighting link to receive data. Once the time sequence and duration are determined, a corresponding scheduling plan can be created to guide the data transmission port to send a level signal to the correct lighting link at the right time.
[0168] Step S33: according to the time sequence and duration corresponding to each lighting link, a level signal corresponding to the data pulse sequence of each lighting link is sent to each lighting link through the corresponding data transmission port.
[0169] The main control chip starts to execute the data transmission task according to the time sequence and duration set for each light link set in the activation schedule. At this point, the main control chip has completed the identification of the light link, the allocation of identifiers, and the setting of the time window through the previous steps. The main control chip uses this information to schedule the data transmission port corresponding to the identifier according to the established schedule, and sends its corresponding data pulse sequence to each light link to transmit the corresponding level signal.
[0170] Concurrent transmission is fully reflected in this step. As long as the time windows of a light link overlap between different data transmission ports, this concurrency is reflected. Although the number of data transmission ports is limited, through precise time management, multiple light links can receive data at the same time, but each link is within its assigned time window. In this way, even when port resources are limited, data reception of multiple light links can be achieved, greatly improving the transmission efficiency of the system.
[0171] Time division multiplexing technology also plays an important role in this step. As long as there are time-sequential light links on the same data transmission port, their time windows will not overlap with each other, thus reflecting the time division multiplexing characteristics of different light links on the same data transmission port. That is, through the activation schedule, a specific time period is allocated to each link in the light link set. During these time periods, the data transmission port focuses on sending data to one light link, while other links are in a waiting state. Once the data transmission of the current link is completed, the port transfers to the next link according to the schedule and continues the data transmission. This rotation activation method enables each link to receive a complete sequence of data pulses within its allocated time period.
[0172] It can be seen that the activation schedule not only ensures the accuracy and synchronization of data transmission, but also improves the flexibility and scalability of the entire system. As the number of light links increases, the system can adapt to new transmission requirements by adjusting the activation schedule without making large-scale changes to the hardware. This design enables the system to easily cope with various complex display scenarios, whether it is a simple static display or a complex dynamic effect, it can achieve efficient and accurate lighting control. Through this step, the system demonstrates its powerful ability to handle high-density data transmission, providing users with smooth and delicate visual effects.
[0173] This embodiment significantly improves the efficiency and performance of the light signal output system through carefully designed time management and resource scheduling. First, it optimizes the utilization of ports through time division multiplexing technology and precise schedule scheduling, allowing limited ports to serve more light links, thereby improving the transmission efficiency of the system. Secondly, the scalability of the system has been enhanced, and it can flexibly adapt to changes in the number of light links and easily cope with display requirements of different scales without expensive hardware changes. In addition, this embodiment ensures the synchronization of data transmission, and accurately controls the data reception time of each light link by activating the schedule, avoiding time conflicts and overlaps, and ensuring the consistency and coordination of the light display. This synchronization is crucial to achieving high-quality dynamic lighting effects. At the same time, the flexibility of the system has also been improved, and it can be dynamically adjusted according to real-time display requirements and link status, and quickly respond to different display scenarios. Whether it is static or dynamic effects, efficient and accurate light control can be achieved.
[0174] Through these technical advantages, this embodiment not only improves the user experience and provides smooth and delicate visual effects, but also significantly improves the user's visual experience in applications with high refresh rates and high-resolution displays. At the same time, the stability of the system reduces maintenance requirements, maintenance costs and potential failure rates. Ultimately, these technical advantages enhance the market competitiveness of the product, especially in the professional lighting market with high technical requirements, making this embodiment a practical and advanced solution.
[0175] Based on any embodiment of the method of the present application, image frame data is obtained and parsed into display data sequences of multiple light emitting links, including:
[0176] Step S11, calling a camera device to capture an image frame to obtain image frame data;
[0177] In this embodiment, the acquisition of image frame data is achieved by a camera device integrated into the lamp, which is specially designed to capture real-time images. The combination of the lamp and the camera constitutes an intelligent lighting system, which not only provides lighting functions, but also can dynamically adjust the lighting effects according to the captured images to adapt to different environments and scenes.
[0178] As an important part of the intelligent lighting system, the camera device is responsible for continuously capturing high-quality image frames. The image frame data corresponding to these image frames are then transmitted to the system's main control chip for further processing and analysis. By accurately capturing every detail of the scene, the camera device ensures that the lamps can respond to actual environmental changes and achieve more intelligent and personalized lighting effects.
[0179] Through this method of integrating camera equipment, the lamp is not just a simple lighting tool, but becomes an intelligent system that can sense and respond to the environment. This intelligent lighting solution provides users with a richer and more interactive experience, while also providing new possibilities for energy saving and environmental adaptability.
[0180] Step S12, segmenting and transforming the image frame according to the physical layout and color characteristics of each light-emitting unit in the lamp, and calculating the display parameters of each light-emitting unit;
[0181] In this step, the master chip performs detailed processing on the captured image frame to adapt it to the physical layout and color characteristics of the light-emitting units in the lamp. This process involves precise segmentation and transformation of the image frame to ensure that the image content matches the arrangement and performance of the light-emitting units.
[0182] Physical layout refers to the specific arrangement and distribution of the light-emitting units of a lamp in the structure of the lamp. This layout determines how the image frame is divided and transformed to adapt to the specific position of each light-emitting unit. For example, if the light-emitting units are arranged in a straight line or matrix, the image frame needs to be divided into multiple parts of rows or columns accordingly, each corresponding to a light-emitting unit or a group of units. The physical layout also involves the spacing and relative positions between light-emitting units, which affect the mapping and overall display effect of the image. Therefore, the system must accurately identify and take into account these layout characteristics to ensure that each part of the image frame can be accurately mapped to the correct light-emitting unit to achieve seamless and uniform lighting effects. Through a deep understanding and precise processing of the physical layout, the intelligent lighting system can provide highly customized lighting effects to meet the needs of different application scenarios.
[0183] The color characteristics of a light-emitting unit refer to the range of colors and brightness levels that each light-emitting unit can display, and these characteristics are critical to ensuring that the image frame is accurately reproduced on the lamp. In one embodiment, the color characteristics include the color gamut, color saturation, and brightness response curve of the light-emitting unit, which together determine the color accuracy and dynamic range of the light-emitting unit when displaying an image. For example, some light-emitting units may be good at displaying cool tones, while other units may be more suitable for reproducing warm tones. The intelligent lighting system can accurately measure and calibrate these color characteristics so that appropriate color adjustments can be made to each light-emitting unit when processing image frames. Through in-depth analysis and optimization of color characteristics, the system can achieve color consistency and balance, ensuring that the final lighting effect is consistent with the design intent while providing visual appeal and comfort.
[0184] Accordingly, this step can be implemented as follows:
[0185] First, the physical layout of the luminaire is analyzed to identify the specific location of each light-emitting unit in the luminaire, and the image frame is segmented into multiple regions corresponding to these units. This segmentation is based on the analysis of the image content, by identifying the color and brightness boundaries in the image, ensuring that each light-emitting unit receives the corresponding image portion.
[0186] Each segmented image region is then color corrected and brightness adjusted to match the color characteristics of the light emitting unit. This includes adjusting the intensity values of the color channels, as well as applying contrast and brightness adjustments to achieve accurate color reproduction on light emitting units of different color and brightness capabilities.
[0187] In some embodiments, geometric transformations such as rotation, scaling or distortion can be performed on the image area according to actual needs to ensure that the image content is correctly displayed on light-emitting units of different shapes and sizes. These transformations are directly related to adapting to the physical form of the lamp and achieving the expected visual effect.
[0188] Finally, the display parameters of each light-emitting unit are calculated, which define the color and brightness information that the light-emitting unit should display at a specific point in time. In the RGB color model, this involves determining the intensity values of the red, green, and blue channels, as well as the possible brightness levels, which together determine the final display effect of the light-emitting unit.
[0189] Through the above process, the main control chip can convert the captured image frames into display parameters suitable for the lamp display, and then construct the corresponding display data sequence for each light-emitting link, providing a solid foundation for achieving dynamic and interactive lighting effects. This highly specialized image processing technology not only improves the functionality of the lighting system, but also provides strong support for creating an attractive lighting environment.
[0190] Step S13: compress and encode the calculated display parameters to obtain corresponding image frame data.
[0191] The purpose of compressing and encoding the display data sequence is to reduce the volume of the data while retaining the image quality as much as possible to facilitate efficient transmission and processing.
[0192] In a specific embodiment, the compression encoding process can use a lossless compression algorithm, such as Huffman coding or arithmetic coding. The lossless compression algorithm can ensure the integrity of information while compressing data, ensuring that the decompressed data is completely consistent with the original data. For example, assuming that the display parameters include 8-bit intensity values for each color channel in the RGB color model, lossless compression can reduce the storage requirements of these intensity values without losing any color information.
[0193] Another embodiment may use lossy compression technology, such as JPEG or MPEG standards, which is very useful when the image quality requirements are not extremely strict. Lossy compression reduces the amount of data by removing some data that human vision is not very sensitive to. For example, it can reduce color depth or brightness details without significantly affecting the perception. This method is suitable for those scenarios where the transmission speed is high but a slight compromise in image quality is acceptable.
[0194] In some cases, compression coding can also be combined with specific image content analysis. For example, if the image frame contains a large number of similar color areas or static backgrounds, the system can use these features to optimize the compression algorithm and achieve a higher compression ratio.
[0195] The compression encoding process can further include error detection and correction mechanisms, such as cyclic redundancy check (CRC) or Reed-Solomon coding, to ensure the integrity and reliability of data during transmission. These mechanisms can detect and repair possible errors at the receiving end, improving the system's fault tolerance.
[0196] Ultimately, the compressed and encoded image frame data will be transmitted to each lighting link, decoded by the control chip and converted into a level signal to control the brightness and color of the light-emitting unit to achieve a lighting effect that matches the original image frame.
[0197] In this embodiment, the compressed and encoded image frame data is converted into a level signal and transmitted to each light-emitting unit in the light-emitting link, and decoded by the embedded control chip to obtain display parameters. This process first involves the reception of data. The control chip receives the level signal from the data transmission port and parses the encoded data. These data are key information for the light-emitting unit to display a specific color and brightness.
[0198] The received data is then decompressed to restore the original display parameters. During this process, the control chip decodes using lossless or lossy compression algorithms to meet different image quality and transmission efficiency requirements. After decompression, the control chip performs error detection and correction as needed to ensure the integrity and accuracy of the data during transmission and avoid any possible errors that affect the final display effect.
[0199] The control chip then parses these display parameters and converts them into specific signals that can drive the light-emitting units. For example, in the RGB system, the value of each color channel is converted into a PWM signal to accurately control the brightness and color of the LED. These signals are then used to drive the light-emitting units and adjust their light-emitting states, ensuring that each light-emitting unit can accurately emit light according to the decoded parameters.
[0200] The entire decoding process requires the control chip to have efficient data processing capabilities and accurate signal conversion capabilities, so as to ensure that the image frame data can be accurately decoded and converted into the expected display effect. Through this fine control, the light link can display highly restored images, bringing users a rich, dynamic and interactive lighting experience, while also reflecting the advantages of intelligent lighting systems in energy saving and environmental adaptability.
[0201] This embodiment provides significant technical advantages in the field of intelligent lighting systems, and realizes intelligent interaction between lamps and the environment by integrating camera equipment and advanced image processing technology.
[0202] First of all, the system's camera equipment can capture images of the surrounding environment in real time, and through efficient processing by the main control chip, convert the image frame data into a format suitable for lighting display. This design not only enhances the response speed of the lighting system, but also improves the accuracy and real-time performance of the display effect.
[0203] Secondly, by accurately segmenting and transforming the image frame data, the system can adapt to the physical layout and color characteristics of the light-emitting units in the lamp, ensuring that the image content perfectly matches the arrangement and performance of the light-emitting units, thereby achieving seamless and uniform lighting effects. In addition, the compression coding technology used by the system reduces the amount of data transmission while ensuring the integrity of data transmission and the reliability of display effects through error detection and correction mechanisms.
[0204] Furthermore, the intelligent lighting system of this embodiment ensures accurate color reproduction on light-emitting units with different color and brightness capabilities through precise color correction and brightness adjustment, as well as possible geometric transformation, which greatly improves the display quality and visual comfort of the lighting system.
[0205] Finally, the system's energy saving and environmental adaptability have been significantly improved. Through intelligent analysis and processing of image data, the lamps can dynamically adjust the lighting effect according to actual environmental changes, which not only provides users with a richer and more interactive experience, but also optimizes energy use and reduces unnecessary energy consumption.
[0206] In summary, this embodiment, through its innovative technologies and methods, brings an efficient, flexible, accurate and energy-saving lighting solution to the intelligent lighting system. These advantages work together to not only enhance the user experience, but also set a new benchmark for the development of lighting technology.
[0207] The present application also provides a light signal output device, combined with Figure 3The device includes: an image analysis module 100, a data conversion module 200, and an image display module 300, wherein the image analysis module 100 is configured to obtain image frame data and parse it into display data sequences of multiple light-emitting links, each display data sequence containing display parameters of each light-emitting unit in the corresponding light-emitting link; the data conversion module 200 is configured to convert the display data sequence into a corresponding data pulse sequence; the image display module 300 is configured to concurrently transmit the level signal corresponding to the data pulse sequence of each light-emitting link to each light-emitting unit through each data transmission port, so that each light-emitting unit is controlled by its corresponding display parameter to emit light to coordinately display the image frame.
[0208] Based on any embodiment of the device of the present application, the data conversion module 200 includes: a format conversion module, which is configured to perform data format conversion on the display parameters in each display data sequence to obtain a binary data stream corresponding to each display data sequence; and a pulse conversion module, which is configured to convert the binary data stream of each light-emitting link into a data pulse sequence of a data transmission port corresponding to the light-emitting link.
[0209] Based on any embodiment of the device of the present application, the pulse conversion module includes: a specification determination module, which is configured to determine the high and low level thresholds and timing characteristics required by the control chip used by each light-emitting unit in the light-emitting link; a protocol configuration module, which is configured to configure the clock frequency and data sampling timing of data transmission according to the high and low level thresholds and timing characteristics of the control chip, and the communication protocol of the serial peripheral interface providing the data transmission port; a sampling capture module, which is configured to use the configured clock frequency and data sampling timing to synchronously sample each digit in the binary data stream to accurately capture the digital state of each data bit at the expected clock edge of the control chip; a pulse generation module, which is configured to generate a data pulse sequence that meets the high and low level threshold specifications based on the digital state obtained by synchronous sampling.
[0210] Based on any embodiment of the device of the present application, the data conversion module 200 includes: a parameter identification module, configured to obtain the display parameters corresponding to each light-emitting unit in the display data sequence, and the display parameters define the color value that the light-emitting unit should display; a table lookup construction module, configured to search for the pulse representation data corresponding to each display parameter through a preset display data combination table, and construct a corresponding data pulse sequence according to the pulse representation data of each display parameter in each display data sequence.
[0211] Based on any embodiment of the device of the present application, the image display module 300 includes: a set determination module, which is configured to query a preset light link activation schedule to determine the light link set corresponding to each data transmission port, and the schedule defines the time sequence and duration of each light link receiving the data pulse sequence through the data transmission port, wherein the light links corresponding to multiple data transmission ports have light links with the same time sequence; a data calling module, which is configured to determine the corresponding time window for each light link in each light link set according to its time sequence and duration in the activation schedule; a signal transmission module, which is configured to send a level signal corresponding to its data pulse sequence to each light link through the corresponding data transmission port according to the time sequence and duration corresponding to each light link.
[0212] Based on any embodiment of the device of the present application, the image analysis module 100 includes: an image capture module, configured to call a camera device to capture image frames and obtain image frame data; a data mapping module, configured to segment and transform the image frames according to the physical layout and color characteristics of each light-emitting unit in the lamp, and calculate the display parameters of each light-emitting unit; a compression encoding module, configured to compress and encode the calculated display parameters to obtain corresponding image frame data.
[0213] In order to solve the above technical problems, the present application also provides a computer device. Figure 4 As shown, a schematic diagram of the internal structure of a computer device. The computer device includes a processor, a computer-readable storage medium, a memory, and a network interface connected via a system bus. Among them, the computer-readable storage medium of the computer device stores an operating system, a database, and computer-readable instructions. The database may store a control information sequence. When the computer-readable instructions are executed by the processor, the processor can implement a light signal output method. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor can execute the light signal output method of the present application. The network interface of the computer device is used to connect and communicate with a terminal. Those skilled in the art can understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0214] In this embodiment, the processor is used to execute Figure 3The memory stores the program code and various data required to execute the above modules or submodules. The network interface is used to transmit data between user terminals or servers. The memory in this embodiment stores the program code and data required to execute all modules / submodules in the light signal output device of the present application, and the server can call the program code and data of the server to execute the functions of all submodules.
[0215] The present application also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the lighting signal output method of any embodiment of the present application.
[0216] The present application also provides a computer program product, including a computer program / instruction, which implements the steps of the method described in any embodiment of the present application when executed by one or more processors.
[0217] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments of the present application can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a computer-readable storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0218] In summary, the present application not only solves the key problems in the prior art, but also provides a more advanced and practical solution by achieving multiple beneficial effects such as improving transmission efficiency, enhancing display fluency, optimizing system scalability and reducing costs. When this solution is applied in applications requiring high refresh rate and high-resolution display, it can not only significantly improve the user experience, but also improve the market competitiveness and commercial value of lighting products composed of multiple light-emitting links.
Claims
1. A method for outputting a light signal, characterized in that: include: Acquire image frame data, and parse it into display data sequences of multiple light-emitting links, each display data sequence including display parameters of each light-emitting unit in the corresponding light-emitting link; Converting the display data sequence into a corresponding data pulse sequence; Through each data transmission port, a level signal corresponding to the data pulse sequence of each light-emitting link is concurrently transmitted to each light-emitting unit, so that each light-emitting unit is controlled to emit light according to its corresponding display parameter to coordinately display the image frame, which includes: Querying a preset light link activation schedule to determine a light link set corresponding to each data transmission port, wherein the schedule defines a time sequence and duration for each light link to receive a data pulse sequence through the data transmission port, wherein among the light links corresponding to the multiple data transmission ports, there are light links with the same time sequence; For each lighting link in each lighting link set, determine a corresponding time window according to its time sequence and duration in the activation schedule; According to the corresponding time sequence and duration of each lighting link, a level signal corresponding to the data pulse sequence of each lighting link is sent to each lighting link through the corresponding data transmission port.
2. The method according to claim 1, characterized in that Converting the display data sequence into a corresponding data pulse sequence comprises: Performing data format conversion on display parameters in each display data sequence to obtain a binary data stream corresponding to each display data sequence; The binary data stream of each lighting link is converted into a data pulse sequence of the data transmission port corresponding to the lighting link.
3. The method according to claim 2, characterized in that Converting the binary data stream of each lighting link into a data pulse sequence of the data transmission port corresponding to the lighting link includes: Determine the high and low level thresholds and timing characteristics required by the control chip used by each light-emitting unit in the light-emitting link; According to the high and low level thresholds and timing characteristics of the control chip and the communication protocol of the serial peripheral interface providing the data transmission port, the clock frequency and data sampling timing of the data transmission are configured; Using the configured clock frequency and data sampling timing, each digital bit in the binary data stream is synchronously sampled to accurately capture the digital state of each data bit at the clock edge expected by the control chip; According to the digital state obtained by synchronous sampling, a data pulse sequence that meets the high and low level threshold specifications is generated.
4. The method according to claim 1, characterized in that Converting the display data sequence into a corresponding data pulse sequence comprises: Acquire a display parameter corresponding to each light-emitting unit in the display data sequence, wherein the display parameter defines a color value that the light-emitting unit should display; The pulse representation data corresponding to each display parameter is searched through a preset display data combination table, and a corresponding data pulse sequence is constructed according to the pulse representation data of each display parameter in each display data sequence.
5. The method according to any one of claims 1 to 4, characterized in that Obtain image frame data and parse it into display data sequences of multiple lighting links, including: Call the camera device to capture image frames and obtain image frame data; According to the physical layout and color characteristics of each light-emitting unit in the lamp, the image frame is segmented and transformed, and the display parameters of each light-emitting unit are calculated; The calculated display parameters are compressed and encoded to obtain corresponding image frame data.
6. A light signal output device, characterized in that: It includes a main control chip and multiple light-emitting links. The main control chip is equipped with a serial peripheral interface. The serial peripheral interface includes multiple data transmission ports. Each light-emitting link is connected to one of the data transmission ports. Each light-emitting link includes multiple light-emitting units connected in series. Each light-emitting unit is provided with a control chip and a light-emitting element. The main control chip executes the steps of the light signal output method as described in any one of claims 1 to 5. The control chip receives the level signal transmitted by the main control chip, parses the corresponding display parameters, and adjusts the light of its light-emitting element according to the display parameters.
7. A light signal output device, characterized in that: include: An image analysis module, configured to obtain image frame data and parse it into display data sequences of multiple light links, each display data sequence including display parameters of each light unit in the corresponding light link; A data conversion module, configured to convert the display data sequence into a corresponding data pulse sequence; The image display module is configured to transmit level signals corresponding to the data pulse sequences of the respective light-emitting links to the respective light-emitting units through the respective data transmission ports, so that the respective light-emitting units emit light under the control of their corresponding display parameters, so as to display the image frames in a coordinated manner; The image display module comprises: A set determination module is configured to query a preset light link activation schedule to determine a light link set corresponding to each data transmission port, wherein the schedule defines a time sequence and duration for each light link to receive a data pulse sequence through the data transmission port, wherein among the light links corresponding to the multiple data transmission ports, there are light links with the same time sequence; A data calling module is configured to determine a corresponding time window for each lighting link in each lighting link set according to its time sequence and duration in the activation schedule; The signal transmission module is configured to send a level signal corresponding to the data pulse sequence of each lighting link through a corresponding data transmission port according to the time sequence and duration corresponding to each lighting link.
8. A computer-readable storage medium, characterized in that: It stores a computer program implemented by the method according to any one of claims 1 to 5 in the form of computer-readable instructions, and when the computer program is called and run by a computer, the corresponding steps of light emission are executed.
9. A computer program product, characterized in that The method comprises a computer program / instruction, which implements the steps of the method according to any one of claims 1 to 5 when executed by a processor.
Citation Information
Patent Citations
Parallel LED driving method and system based on three-dimensional display
CN101404841A
A street lamp system and method
CN109089356A
LED light grouping synchronization method and system, synchronization terminal and storage medium
CN110602828A
Dimming control method, equipment, device, medium and product
CN115529702A
Light compression transmission method and system based on PLC communication
CN116828069A
