Data Sending Method and Related Device for LCOS Chip
The first driver module of the LCOS chip system obtains application requirements and mode information and determines the sending parameters, solving the problem of interface driver complexity in different application scenarios, and achieving convenience and simplification of data transmission.
Patent Information
- Application Number
- CN202211551685.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-05
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2042-12-05
AI Technical Summary
LCOS chips need to design individual interface drivers and timings in different application scenarios, resulting in less convenience in data transmission.
The first driver module in the LCOS chip system obtains application requirements information, determines application mode information, and determines the transmission parameters of video data based on this information, and directly sends it to the LCOS chip for video display, avoiding separate designs for different application needs.
It improves the convenience of LCOS chips when sending data and simplifies the interface timing design process.
Smart Images

Figure CN116095248B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data processing, and in particular, to a method for sending data of an LCOS chip and related devices. Background Art
[0002] Liquid Crystal on Silicon (LCOS) chips can be applied in AR / VR head-mounted devices, single-chip LCOS projection, three-chip LCOS projection, 3D printing, etc.
[0003] The interface drivers of LCOS chips are different in different applications. For example, in projection and near-eye AR / VR, the parameter requirements are different. Projection has high requirements for brightness and flicker, while AR / VR has low requirements for brightness but has requirements for flicker. Therefore, LCOS chips need to be separately designed for interface drivers and interface timing written for different applications, resulting in low convenience when LCOS chips send data. Summary of the Invention
[0004] Embodiments of this application provide a method for sending data of an LCOS chip and related devices, which can determine the sending parameters of video data through a first driving module in the LCOS chip system, and send the video data according to the sending parameters, so that there is no need to separately design interface timing, etc. for different application requirements, improving the convenience when the LCOS chip sends data.
[0005] The first aspect of the embodiments of this application provides a method for sending data of an LCOS chip. The method is applied to an LCOS chip system, and the LCOS chip system includes an LCOS chip and a first driving module. The method includes:
[0006] Obtain the application requirement information of the LCOS chip system through the first driving module;
[0007] Determine the application mode information of the LCOS chip system through the first driving module according to the application requirement information;
[0008] Determine the sending parameters of the video data corresponding to the application requirement information through the first driving module according to the application mode information and the application requirement information;
[0009] Send the video data to the LCOS chip through the first driving module according to the sending parameters, so as to instruct the LCOS chip to perform video display according to the video data.
[0010] In a possible implementation, the first driving module determines the transmission parameters of the video data corresponding to the application requirement information according to the application mode information and the application requirement information, including:
[0011] Decompose the video data to obtain a red frame, a green frame, and a blue frame;
[0012] According to the application mode information, determine the first sub-frame, the second sub-frame, and the third sub-frame of the red frame, the green frame, and the blue frame in the data frame respectively;
[0013] According to the application requirement information, determine the first position information of the red frame in the first sub-frame, the second position information of the green frame in the second sub-frame, and the third position information of the blue frame in the third sub-frame;
[0014] Determine the first sub-frame, the second sub-frame, the third sub-frame, the first position information, the second position information, and the third position information of the red frame, the green frame, and the blue frame in the data frame respectively as the transmission parameters of the video data.
[0015] In a possible implementation, the number of sub-frames in the data frame includes 2, 4, 6, or 8.
[0016] In a possible implementation, the first driving module sends the video data to the LCOS chip according to the transmission parameters, including:
[0017] Obtain the frame identifier of the data frame;
[0018] Obtain the first video data corresponding to the data frame from the memory according to the frame identifier;
[0019] Send the first video data to the LCOS chip according to the transmission parameters corresponding to the first video data.
[0020] In a possible implementation, the LCOS chip system further includes a second driving module, and the method further includes:
[0021] Send an optical signal to the LCOS chip through the second driving module according to the PWM signal corresponding to the video data;
[0022] Determine the light transmittance of the liquid crystal by the LCOS chip according to the first video data;
[0023] Control the liquid crystal by the LCOS chip according to the light transmittance to modulate the optical signal, so as to complete the video display of the video data.
[0024] A second aspect of the embodiments of the present application provides a data sending device for an LCOS chip. The device is applied to an LCOS chip system, and the LCOS chip system includes an LCOS chip and a first driving module. The device includes:
[0025] An acquisition unit, configured to acquire application requirement information of the LCOS chip system through the first driving module;
[0026] A determination unit, configured to determine application mode information of the LCOS chip system according to the application requirement information through the first driving module;
[0027] A second determination unit, configured to determine sending parameters of video data corresponding to the application requirement information according to the application mode information and the application requirement information through the first driving module;
[0028] A sending unit, configured to send the video data to the LCOS chip according to the sending parameters through the first driving module, so as to instruct the LCOS chip to perform video display according to the video data.
[0029] In a possible implementation manner, the second determination unit is configured to:
[0030] Decompose the video data to obtain a red frame, a green frame, and a blue frame;
[0031] According to the application mode information, determine a first sub-frame, a second sub-frame, and a third sub-frame of the red frame, the green frame, and the blue frame in the data frame respectively;
[0032] According to the application requirement information, determine a first position information of the red frame in the first sub-frame, a second position information of the green frame in the second sub-frame, and a third position information of the blue frame in the third sub-frame;
[0033] Determine the first sub-frame, the second sub-frame, the third sub-frame, the first position information, the second position information, and the third position information of the red frame, the green frame, and the blue frame in the data frame respectively as the sending parameters of the video data.
[0034] In a possible implementation manner, the number of sub-frames in the data frame includes 2, 4, 6, or 8.
[0035] In a possible implementation manner, the sending unit is configured to:
[0036] Acquire a frame identifier of the data frame;
[0037] Acquire first video data corresponding to the data frame from the memory according to the frame identifier;
[0038] Send the first video data to the LCOS chip according to the sending parameters corresponding to the first video data.
[0039] In a possible implementation, the LCOS chip system further includes a second driving module, and the device is further configured to:
[0040] Send an optical signal to the LCOS chip through the second driving module according to the PWM signal corresponding to the video data;
[0041] Determine the light transmittance of the liquid crystal by the LCOS chip according to the first video data;
[0042] Control the liquid crystal by the LCOS chip according to the light transmittance to modulate the optical signal, so as to complete video display of the video data.
[0043] A third aspect of the embodiments of the present application provides a chip, including a processor and a memory, the processor and the memory are connected to each other, wherein the memory is used to store a computer program, the computer program includes program instructions, the processor is configured to call the program instructions, and the processor is configured to call the program instructions to execute the step instructions as described in the first aspect of the embodiments of the present application.
[0044] A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute some or all of the steps described in the first aspect of the embodiments of the present application.
[0045] A fifth aspect of the embodiments of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute some or all of the steps described in the first aspect of the embodiments of the present application. The computer program product can be a software installation package.
[0046] Implementing the embodiments of the present application has at least the following beneficial effects:
[0047] Obtain the application requirement information of the LCOS chip system through the first driving module. Determine the application mode information of the LCOS chip system according to the application requirement information through the first driving module. Determine the transmission parameters of the video data corresponding to the application requirement information according to the application mode information and the application requirement information through the first driving module. Send the video data to the LCOS chip according to the transmission parameters through the first driving module to instruct the LCOS chip to perform video display according to the video data. Therefore, it is possible to determine the transmission parameters of the video data through the first driving module in the LCOS chip system and send the video data according to the transmission parameters, so that there is no need to separately design interface timings, etc. for different application requirements, improving the convenience of the LCOS chip when sending data. Description of the Drawings
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained according to these drawings.
[0049] Figure 1 This is a schematic diagram of an LCOS chip system provided by an embodiment of the present application;
[0050] Figure 2A This is a schematic flowchart of a method for sending data of an LCOS chip provided by an embodiment of the present application;
[0051] Figure 2B This is a schematic diagram of a data frame provided by an embodiment of the present application;
[0052] Figure 2C This is a schematic flowchart of a method for driving sub-frames in a data frame provided by an embodiment of the present application;
[0053] Figure 2D This is a timing diagram of frame line data transmission provided by an embodiment of the present application;
[0054] Figure 2E This is a schematic flowchart of a method for driving LED on / off provided by an embodiment of the present application;
[0055] Figure 3 This is a schematic diagram of the structure of a chip provided by an embodiment of the present application;
[0056] Figure 4 This is a schematic diagram of the structure of a data sending device of an LCOS chip provided by an embodiment of the present application. Detailed Embodiments
[0057] Next, in combination with the accompanying drawings in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0058] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned accompanying drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or devices.
[0059] Referring to "embodiments" in the present application means that specific features, structures or characteristics described in combination with the embodiments can be included in at least one embodiment of the present application. The phrase appears in various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described in the present application can be combined with other embodiments.
[0060] To better understand a data sending method of an LCOS chip provided in the embodiments of the present application, the LCOS chip system will be briefly introduced below. As Figure 1 shown, the LCOS chip system may include an SOC (system-on-chip), an LCOS chip, a first driving module, a second driving module, and a clock power module. Among them,
[0061] The SOC mainly functions to decode and output a video source or convert a video interface, such as HDMI to RGB888 or HDMI to LVDS, etc.;
[0062] The LCOS chip mainly functions to receive video data and modulate the transmittance of each pixel liquid crystal according to the video data, so as to realize the modulation of light and output various images;
[0063] The first driving module can be a driving IC chip or an FPGA. Its main function is to receive parallel RGB video data, decompose it into red frames / green frames / blue frames and cache them in the RAM, and then convert them into serial time-division mixed-color data and send it to the LCOS chip according to the LCOS timing;
[0064] The second driving module, which can be an LED driving module, and its main function is to convert the 3-channel PWM signal of the LED output by the first driving module into a constant-current LED power driving signal;
[0065] The clock power supply module provides the clock and the power supply of each voltage for the entire LCOS chip system.
[0066] Therefore, the video data can be processed through the first driving module. Compared with the existing solution where the video data is sent to the LCOS chip through the SOC and cannot meet the requirements of multiple scenarios, there is no need to separately design the interface timing for different application requirements, etc., which improves the convenience of the LCOS chip when sending data.
[0067] Please refer to Figure 2. Figure 2 is a schematic flowchart of a method for sending data of an LCOS chip provided by an embodiment of the present application. As shown in Figure 2, the method is applied to an LCOS chip system, and the LCOS chip system includes an LCOS chip and a first driving module. The method includes:
[0068] 201. Obtain the application requirement information of the LCOS chip system through the first driving module.
[0069] The application requirement information can be set by the user or obtained according to the application scenario. For example, the application requirement information for a single-chip LCOS projection is different from that for a three-chip LCOS projection, so the application requirement information can be determined according to the scenario information. This application requirement information can be used to determine the application mode, and the application mode is associated with the application scenario.
[0070] Of course, it can also be to configure the application requirement information to the first driving module, etc., which is not specifically limited here.
[0071] 202. Determine the application mode information of the LCOS chip system through the first driving module according to the application requirement information.
[0072] Different application requirement information can correspond to different application modes. For example, the application mode information can be determined according to the application mode table. The application mode can include RGBRGB color mixing mode, RRGGBB color mixing mode, etc., as shown in Table 1 specifically:
[0073] Table 1 Application Mode Table
[0074]
[0075]
[0076] The application mode information corresponding to the application requirement information can be quickly determined through the application mode table.
[0077] 203. The first driving module determines the sending parameters of the video data corresponding to the application requirement information according to the application mode information and the application requirement information.
[0078] Among them, it may be to determine the sub-frame where the color frame obtained by decomposing the video data according to the application mode information is located, and determine the position information of the color frame according to the application requirement information, and determine the sub-frame and the position information as the sending parameters.
[0079] 204. The first driving module sends the video data to the LCOS chip according to the sending parameters, so as to instruct the LCOS chip to perform video display according to the video data.
[0080] When sending the video data to the LCOS chip, specifically, the corresponding first video data can be obtained from the memory according to the frame identifier of the data frame, and the data frame is constructed according to the sending parameters, and the first video data is sent to the LCOS chip through the data frame.
[0081] In this example, the first driving module obtains the application requirement information of the LCOS chip system, the first driving module determines the application mode information of the LCOS chip system according to the application requirement information, the first driving module determines the sending parameters of the video data corresponding to the application requirement information according to the application mode information and the application requirement information, and the first driving module sends the video data to the LCOS chip according to the sending parameters, so as to instruct the LCOS chip to perform video display according to the video data. Therefore, the sending parameters of the video data can be determined by the first driving module in the LCOS chip system, and the video data is sent according to the sending parameters, so that there is no need to separately design interface timings, etc. for different application requirements, which improves the convenience of the LCOS chip when sending data.
[0082] In a possible implementation manner, the first driving module determines the sending parameters of the video data corresponding to the application requirement information according to the application mode information and the application requirement information, including:
[0083] A1. Decompose the video data to obtain a red frame, a green frame, and a blue frame;
[0084] A2. According to the application mode information, determine the first sub-frame, the second sub-frame, and the third sub-frame of the red frame, the green frame, and the blue frame in the data frame respectively;
[0085] A3. Determine the first position information of the red frame in the first sub-frame, the second position information of the green frame in the second sub-frame, and the third position information of the blue frame in the third sub-frame according to the application requirement information;
[0086] A4. Determine the first sub-frame, the second sub-frame, the third sub-frame, the first position information, the second position information, and the third position information of the red frame, the green frame, and the blue frame in the data frame respectively as the transmission parameters of the video data.
[0087] Among them, the method of decomposing the video data into the red frame, the green frame, and the blue frame can be to obtain the red frame, the green frame, and the blue frame through a general decomposition method.
[0088] In different application mode information, the data frame includes 8 sub-frames, and the sequences of the red frame, the green frame, and the blue frame in the first sub-frame, the second sub-frame, and the third sub-frame of the data frame will be different. The red frame, the green frame, and the blue frame in the first sub-frame, the second sub-frame, and the third sub-frame of the data frame can be obtained by sequentially filling from the first sub-frame of the data frame according to the positions of RGB in the application mode information. For example, taking the application mode information of RRGGBB as an example, the first sub-frames corresponding to the red frame are the 1st sub-frame and the 2nd sub-frame, the first sub-frames corresponding to the green frame are the 3rd sub-frame and the 4th sub-frame, the first sub-frames corresponding to the blue frame are the 5th sub-frame and the 6th sub-frame, and white is set in the last 2 sub-frames.
[0089] According to the application requirement information, the first position information of the red frame in the first sub-frame can be determined. For example, if the application requirement information requires red display in the first half of the first sub-frame, then the first half of the first sub-frame is determined as the first position information of the red frame, and the second half of the sub-frame is the waiting idle time.
[0090] In a possible implementation, the number of sub-frames in the data frame includes 2, 4, 6, or 8.
[0091] In a possible implementation, the step of the first driving module sending the video data to the LCOS chip according to the transmission parameters includes:
[0092] B1. Obtain the frame identifier of the data frame;
[0093] B2. Obtain the first video data corresponding to the data frame from the memory according to the frame identifier;
[0094] B3. Send the first video data to the LCOS chip according to the transmission parameters corresponding to the first video data.
[0095] After obtaining the first video data corresponding to the data frame, decompose the first video data to obtain a red frame, a green frame, and a blue frame, and construct the data frame according to the sub-frames corresponding to the red frame, the green frame, and the blue frame, as well as the position information of the red frame, the green frame, and the blue frame in the corresponding sub-frames.
[0096] Figure 2B Fig. shows the frame format of a data frame. The application mode information corresponding to this data frame is the RRGGBB mode. Among them, SubID Reset is the initialization clock, Vs is the sub-frame synchronization signal, SubID is the sub-frame identifier, Frame Data is the frame data, LED is the driving signal of the second driving module, RLED is the driving signal for turning on the red LED, GLED is the driving signal for turning on the green LED, and BLED is the driving signal for turning on the blue LED.
[0097] And, Figure 2B In the annotation 1, it corresponds to the parameter HoldTime_x[11:0], the corresponding parameter LedOnTime_x[11:0], the corresponding parameter LedOffTime_x[11:0], the corresponding parameter RLedEn_x, the corresponding parameter GLedEn_x, and the corresponding parameter BLedEn_x.
[0098] The corresponding meanings of the above parameters can be illustrated by Table 2 below, specifically as follows:
[0099] Table 2, Parameter Explanation Table
[0100]
[0101] In this example, the transmission parameters of the video data can be determined through the first driving module in the LCOS chip system, and the video data is transmitted according to the transmission parameters, so that there is no need to separately design the interface timing, etc. for different application requirements, which improves the convenience of the LCOS chip when sending data.
[0102] In a possible implementation manner, the LCOS chip system further includes a second driving module, and the method further includes:
[0103] C1. Send an optical signal to the LCOS chip through the second driving module according to the PWM signal corresponding to the video data;
[0104] C2. Determine the light transmittance of the liquid crystal through the LCOS chip according to the first video data;
[0105] C3. Control the liquid crystal according to the light transmittance through the LCOS chip to modulate the optical signal to complete the video display of the video data.
[0106] The PWM signal is sent from the first driving module to the second driving module, and is used to drive the module to send optical signals with equal intensity to the LCOS chip according to the duty cycle of the PWM signal.
[0107] The LCOS chip determines the gray value corresponding to the optical signal according to the first video data, and determines the light transmittance of the liquid crystal according to the gray value. By adjusting the light transmittance, the display of the brightness corresponding to different gray values can be realized. Thus, the optical signal passing through the liquid crystal can be modulated by controlling the light transmittance of the liquid crystal, so as to complete the display of the brightness corresponding to different gray values, and thus complete the action of video display of the video data.
[0108] In a possible implementation manner, the embodiment of the present application further provides a method for driving sub-frames in a data frame, as Figure 2C shown, this method includes:
[0109] D1. After power-on, wait for the image update identifier updateFlag to be 1;
[0110] D2. After the image update identifier updateFlag is 1, reset the internal sub-frame count Subid = 0, and at the same time load the maximum number of sub-frames MaxSubid;
[0111] D3. Determine whether Subid is less than the loaded maximum number of sub-frames MaxSubid. If so, execute step D4. If not, re-execute step D1;
[0112] D4. Output a sub-frame synchronization signal Vs to the LCOS chip, and at the same time update the liquid crystal state with the data of the previous frame;
[0113] D5. According to the value of Subid, determine the data address, extract a corresponding frame of data from the corresponding RAM, and send it to the LCOS chip according to its corresponding timing;
[0114] Among them, the corresponding timing can be determined according to the sending parameters in the foregoing embodiment, and the specific sending method can refer to the sending method in the foregoing embodiment.
[0115] D6. After the data is sent, obtain the holdTime value of the sub-frame corresponding to Subid, and perform a delay according to the holdTime value. And perform an accumulation process on Subid, that is, Subid = Subid + 1. Then repeat and execute until step D1.
[0116] As Figure 2D shown, Figure 2D shows a timing diagram of frame line data transmission, where clock is the clock and data is the data.
[0117] In a possible implementation, the embodiment of the present application further provides an LED on / off driving method, specifically as follows: Figure 2E shown in the following steps:
[0118] E1. After power-on, after detecting the synchronization signal Vs of the internal sub-frame, reset the LedCnt counter, and at the same time load the turn-on delay of this sub-frame into LedOnDly, and load the turn-off time into LedOffTime;
[0119] E2. Increment the counter LedCnt. When LedCnt >= LedOnDl, turn on the LED, LedOD = 1;
[0120] E3. Increment the counter LedCnt. When LedCnt >= LedOffTime, turn off the LED, LedOD = 0. Then return to step E1 for execution.
[0121] Wherein, it is assumed that LedOn is an internal switch signal.
[0122] Through the above method, the driving of the LED on / off can be completed. Among them, as for which color and which sub-field of the LED needs to be turned on, it is necessary to configure the LED enable signal corresponding to the corresponding color and the corresponding sub-field to 1. For example, if it is required to turn on the red LED in the 3rd and 4th sub-frames, then the enable bits to be configured are RLedEn_3 = 1, RLedEn_4 = 1. If the LED is not turned on in other sub-frames, then RLedEn_0 = 0, RLedEn_1 = 0, RLedEn_2 = 0, RLedEn_5 = 0. Similarly, configure the enable parameters of other G and B color LEDs.
[0123] Consistent with the above embodiment, please refer to Figure 3 , Figure 3 which is a schematic structural diagram of a chip provided by the embodiment of the present application. As shown in Figure 3 shown, the chip includes a processor and a memory, and the processor and the memory are connected to each other. Among them, the memory is used to store a computer program, the computer program includes program instructions, the processor is configured to call the program instructions, and the processor is configured to call the program instructions. The above program includes instructions for performing the following steps;
[0124] Obtain the application requirement information of the LCOS chip system through the first driving module;
[0125] Determine the application mode information of the LCOS chip system through the first driving module according to the application requirement information;
[0126] Determine the sending parameters of the video data corresponding to the application requirement information through the first driving module according to the application mode information and the application requirement information;
[0127] The first driving module sends the video data to the LCOS chip according to the sending parameters, so as to instruct the LCOS chip to perform video display according to the video data.
[0128] The above mainly introduces the solution of the embodiment of the present application from the perspective of the execution process on the method side. It can be understood that in order for the terminal to implement the above functions, it includes the corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should easily realize that, combining the units and algorithm steps of each example described in the embodiments provided in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0129] Embodiments of the present application can divide the functions of the terminal according to the above method examples. For example, each function unit can be divided corresponding to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of a software function unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division. There may be other division methods in actual implementation.
[0130] Consistent with the above, please refer to Figure 4 , Figure which is a schematic structural diagram of a data sending device for an LCOS chip provided by an embodiment of the present application. As shown, the device is applied to an LCOS chip system, and the LCOS chip system includes an LCOS chip and a first driving module. The device includes:
[0131] An obtaining unit 401, configured to obtain the application requirement information of the LCOS chip system through the first driving module;
[0132] A first determining unit 402, configured to determine the application mode information of the LCOS chip system through the first driving module according to the application requirement information;
[0133] A second determining unit 403, configured to determine the sending parameters of the video data corresponding to the application requirement information through the first driving module according to the application mode information and the application requirement information;
[0134] A sending unit 404, configured to send the video data to the LCOS chip according to the sending parameters through the first driving module, so as to instruct the LCOS chip to perform video display according to the video data.
[0135] In a possible implementation manner, the second determining unit 403 is configured to:
[0136] Decompose the video data to obtain a red frame, a green frame, and a blue frame;
[0137] Determine a first sub-frame, a second sub-frame, and a third sub-frame of the red frame, the green frame, and the blue frame in the data frame according to the application mode information;
[0138] Determine a first position information of the red frame in the first sub-frame, a second position information of the green frame in the second sub-frame, and a third position information of the blue frame in the third sub-frame according to the application requirement information;
[0139] Determine the first sub-frame, the second sub-frame, the third sub-frame, the first position information, the second position information, and the third position information of the red frame, the green frame, and the blue frame in the data frame respectively as the sending parameters of the video data.
[0140] In a possible implementation manner, the number of sub-frames in the data frame includes 2, 4, 6, or 8.
[0141] In a possible implementation manner, the sending unit 404 is configured to:
[0142] Obtain a frame identifier of a data frame;
[0143] Obtain first video data corresponding to the data frame from a memory according to the frame identifier;
[0144] Send the first video data to the LCOS chip according to the sending parameters corresponding to the first video data.
[0145] In a possible implementation manner, the LCOS chip system further includes a second driving module, and the apparatus is further configured to:
[0146] Send an optical signal to the LCOS chip according to a PWM signal corresponding to the video data through the second driving module;
[0147] Determine a light transmittance of liquid crystal by the LCOS chip according to the first video data;
[0148] Control the liquid crystal according to the light transmittance by the LCOS chip to modulate the optical signal, so as to complete video display of the video data.
[0149] The embodiments of the present application also provide a computer storage medium. The computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute some or all of the steps of any one of the data sending methods of the LCOS chip described in the above method embodiments.
[0150] The embodiments of the present application also provide a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program enables a computer to execute some or all of the steps of any one of the data sending methods of the LCOS chip described in the above method embodiments.
[0151] It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence, because according to the present application, some steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the present application.
[0152] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0153] In several embodiments provided by the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical or other form.
[0154] The unit described as a separated component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0155] In addition, in each embodiment of the application, each functional unit can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software program module.
[0156] If the above-mentioned integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of this application. The aforementioned memory includes: USB flash drives, read-only memories (ROM), random access memories (RAM), mobile hard disks, magnetic disks, or optical discs, etc., which can store program codes.
[0157] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program. This program can be stored in a computer-readable memory, and the memory can include: flash drives, read-only memories, random access memories, magnetic disks, or optical discs, etc.
[0158] The above has introduced the embodiments of this application in detail. Specific examples are used in this article to elaborate on the principle and implementation manner of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to this application.
Claims
1. A data sending method for an LCOS chip, characterized in that, The method is applied to an LCOS chip system, which includes an LCOS chip and a first driving module. The method includes: Obtaining application requirement information of the LCOS chip system through the first driving module; Determining application mode information of the LCOS chip system through the first driving module according to the application requirement information; Determining transmission parameters of video data corresponding to the application requirement information through the first driving module according to the application mode information and the application requirement information; Sending the video data to the LCOS chip through the first driving module according to the transmission parameters to instruct the LCOS chip to perform video display according to the video data; The step of determining transmission parameters of video data corresponding to the application requirement information through the first driving module according to the application mode information and the application requirement information includes: Decomposing the video data to obtain a red frame, a green frame, and a blue frame; Determining a first sub-frame, a second sub-frame, and a third sub-frame of the red frame, the green frame, and the blue frame in the data frame according to the application mode information; Determining first position information of the red frame in the first sub-frame, second position information of the green frame in the second sub-frame, and third position information of the blue frame in the third sub-frame according to the application requirement information; Determining the first sub-frame, the second sub-frame, the third sub-frame, the first position information, the second position information, and the third position information of the red frame, the green frame, and the blue frame in the data frame as the transmission parameters of the video data; The step of sending the video data to the LCOS chip through the first driving module according to the transmission parameters includes: Obtaining a frame identifier of the data frame; Obtaining first video data corresponding to the data frame from the memory according to the frame identifier; Sending the first video data to the LCOS chip according to the transmission parameters corresponding to the first video data.
2. The method according to claim 1, wherein The number of sub-frames in the data frame includes 2, 4, 6, or 8.
3. The method according to claim 1 or 2, characterized in that, The LCOS chip system further includes a second driving module. The method further includes: Sending an optical signal to the LCOS chip through the second driving module according to a PWM signal corresponding to the video data; Determining the light transmittance of the liquid crystal through the LCOS chip according to the first video data; Controlling the liquid crystal through the LCOS chip according to the light transmittance to modulate the optical signal, so as to complete video display of the video data.
4. A data sending device for an LCOS chip, characterized in that, The device is applied to an LCOS chip system, which includes an LCOS chip and a first driving module. The device includes: An obtaining unit, configured to obtain application requirement information of the LCOS chip system through the first driving module; A determining unit, configured to determine application mode information of the LCOS chip system through the first driving module according to the application requirement information; A second determination unit, configured to determine, by using the first driving module according to the application mode information and the application requirement information, transmission parameters of video data corresponding to the application requirement information; A sending unit, configured to send, by using the first driving module according to the transmission parameters, the video data to the LCOS chip to instruct the LCOS chip to perform video display according to the video data; the second determination unit is configured to: Decompose the video data to obtain a red frame, a green frame, and a blue frame; Determine, according to the application mode information, a first sub-frame, a second sub-frame, and a third sub-frame of the red frame, the green frame, and the blue frame in the data frame respectively; Determine, according to the application requirement information, a first position information of the red frame in the first sub-frame, a second position information of the green frame in the second sub-frame, and a third position information of the blue frame in the third sub-frame; Determine the first sub-frame, the second sub-frame, the third sub-frame, the first position information, the second position information, and the third position information of the red frame, the green frame, and the blue frame in the data frame respectively as the transmission parameters of the video data; The sending unit is specifically configured to: Obtain a frame identifier of a data frame; Obtain first video data corresponding to the data frame from a memory according to the frame identifier; Send the first video data to the LCOS chip according to the transmission parameters corresponding to the first video data.
5. The device according to claim 4, characterized in that, The number of sub-frames in the data frame includes 2, 4, 6, or 8.
6. A chip, characterized in that, It includes a processor and a memory, the processor and the memory are connected to each other, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1-3.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute the method according to any one of claims 1-3.
Citation Information
Patent Citations
LCoS display board card and display equipment
CN112053663A
LCOS chip resolution conversion method based on time color mixing
CN113315960A