Disclosure of Invention
Based on the problems, the invention provides a device and a method for controlling the backlight of a TFT screen in an OLED control panel system, the problem that the original OLED system is driven and matched with the TFT screen for control can be solved, the device and the method can be widely applied to the screen maintenance market, and a low-cost replacement scheme with higher cost performance is provided for users needing to replace the screen.
The invention provides the following technical scheme:
the device for controlling the backlight of the TFT screen in the OLED control panel system comprises an MIPI filtering and transcoding module, wherein the MIPI filtering and transcoding module comprises an MIPI filtering module, a transcoding module and a backlight control unit;
the MIPI filtering module structure comprises an MIPI filter and a cache; the MIPI filter filters out a value transmitted by a packet head corresponding to the brightness, writes the value into a cache and informs a controller to read the value;
the transcoding module comprises a lookup table and a controller, and the controller reads cache data and reads data pre-stored in the lookup table for comparison;
and the control backlight control unit receives the comparison result and outputs the comparison result to control the brightness.
Further, the MIPI filter is instruction filtering.
Further, the MIPI data transmission format uses a data packet as a basic unit, and the types of the data packet are divided into a short data packet and a long data packet.
Furthermore, the short data packet is fixed 4 bytes long and is used for transmitting commands and reading and writing registers, and the structure of the short data packet header is as follows: data identifier, data, correction code.
Further, the length of the long data packet is 6-65541 bytes, which is a dynamic length and is used for transmitting a large amount of image data or control commands, and the structure of the long data packet is as follows: data identifier, number of bytes, correction code.
Further, reading the data pre-stored in the lookup table for comparison specifically includes that the controller reads the LUT lookup table for comparison with Buffer cache data, and if the comparison result is consistent, the PWM, the wire, the SPI, or the I2C is started to control the backlight module.
Furthermore, the SWIRE control signal port of the device is connected to the SWIRE interface of the OLED control panel OLED power supply module, the SWIRE control signal is output to the SWIRE interface, the positive voltage signal and the negative voltage signal of the OLED power supply module are connected to the TFT screen, the luminance data of the OLED control panel are analyzed and converted into SWIRE pulses to control the OLED power supply module to output different voltages to the LED, and the LED provides backlight to the TFT screen for auxiliary light emitting.
Further, the apparatus controls the TFT backlight using PWM, and controls the backlight brightness by varying the PWM duty ratio.
Furthermore, the device converts the decoding of the MIPI bus data into a corresponding PWM control signal, and sends the PWM control signal to the MOS tube or the BJT to control the on and off of the light-emitting LED so as to adjust the backlight brightness.
In addition, the invention also provides a TFT screen backlight control method of the device for controlling the TFT screen backlight in the OLED control panel system, which comprises the following steps:
the MIPI filter filters out a value transmitted by the brightness packet header, writes the value into a cache and informs a controller to read the value;
the controller reads the cache data, reads the data prestored in the lookup table for comparison, sends the comparison result to the control backlight control unit, and outputs the comparison result to control the brightness.
The invention provides a device and a method for controlling TFT screen backlight in an OLED control panel system, wherein an MIPI filtering and transcoding module is connected between an OLED control panel and a TFT drive chip in series or the MIPI filtering and transcoding module is monitored by a bypass, the MIPI filtering and transcoding module is connected to an MIPI bus to monitor, the MIPI filtering and transcoding module filters out and writes a value transmitted by a brightness packet header into a cache and informs a controller to read, the controller reads the cache data and reads data stored in a lookup table in advance for comparison, and a backlight control unit is controlled to output correspondingly to realize brightness control. The invention can bridge the OLED control panel and the TFT screen, converts the brightness adjustment problem of the OLED into the backlight adjustment of the TFT, has lower system cost and simple production process, and can obviously reduce the screen changing cost.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
MIPI, namely Mobile Industry Processor Interface (MIPI). MIPI (mobile industry processor interface) is an open standard and a specification established by the MIPI alliance for mobile application processors.
MIPI filtering (MIPI Filter): MIPI-based filtering instructions function like filters, but with instruction implementation.
The invention provides a device and a method for controlling a TFT screen backlight in an OLED control panel system, under the condition of not changing any hardware of an OLED MIPI drive board, the TFT screen with corresponding resolution ratio is connected and normally works, the brightness control is realized by MIPI filtering and transcoding, and the MIPI filtering and transcoding method can realize the application of the TFT screen to the original OLED control panel by the following two structures: first, as shown in fig. 3, a bridge filter plus transcoding module connects an MIPI filter plus transcoding module in series between an OLED control board and a TFT driver chip; secondly, as shown in fig. 4, the bypass monitoring filtering and transcoding module connects the MIPI filtering and transcoding module to the MIPI bus, and only monitors and does not affect the original data transmission of the bus.
The structure diagram of the MIPI filtering and transcoding module of the present invention is shown in fig. 5, where the MIPI filtering and transcoding module (i.e., MIPI Filter and transcoding module) includes an MIPI filtering module (wherein, the MIPI filtering module is an MIPI Filter module, and the structure includes an MIPI filtering and Buffer cache), a transcoding module, and a backlight control unit, where the MIPI filtering is an MIPI-based filtering function module implemented by instruction filtering, the transcoding module includes an LUT lookup table and a Controller, and the process executed by the MIPI filtering and transcoding module is as follows:
1) the MIPI filtering filters out a value transmitted by a specific packet header related to the brightness, writes the value into a cache and informs a Controller to read;
2) and the Controller reads the cache data, reads the data prestored in the LUT lookup table for comparison, and sends a comparison result to the control backlight control unit for corresponding output so as to realize brightness control.
The MIPI data transmission format uses a data packet as a basic unit, and the types of the data packet are divided into a short data packet and a long data packet: (1) short data packet: the length of fixed 4 bytes is mainly used for transmitting commands and reading and writing registers; short data packet header structure:
(2) long data packet: the length is 6-65541 bytes (dynamic length), which is mainly used for transmitting a large amount of image data or part of control commands, and the long data packet header structure:
the header of the packet contains the data identifier DI of the MIPI packet, and the value transmitted by the header of the specific identifier can be filtered out by MIPI filtering, such as the header (which can be customized and not limited) data identifiers 29, 39, 05, 15, 13, and 23 in the packet data type in table 1, and specific headers can be reset to the MIPI filtering according to the control mode of the actual TFT screen. The filtered values are stored in a Buffer cache and captured by the Controller, as shown in table 1 below.
TABLE 1
In the invention, a lookup Table (LUT Table) stores brightness control information data in advance, and a Controller compares a value captured by MIPI filtering with the lookup Table data and informs a backlight control unit to output a corresponding backlight level.
Example MIPI data stream with brightness adjustment sent by host:
write_LUT Command Packet 39,F0,3 ,5A 5A ,09,665F
Short WRITE, 15,53,28 ,04
DCS Short WRITE, 15,53,28,04
write_LUT Command Packet 39,51 (set_display_brightness),3 ,00 A0,09,4506
write_LUT Command Packet 39,F0,3 ,A5 A5 ,09,96E7
write_LUT Command Packet 39,F0,3 ,5A 5A ,09,665F
DCS Short WRITE, 15,53,28 ,04
write_LUT Command Packet 39,51 (set_display_brightness),3 ,00 A3,09,779D
write_LUT Command Packet 39,F0,3 ,A5 A5,09,96E7
...
the process comprises the following steps: and identifying a DI =39 packet, if the packet is a DCS data section =51, outputting a PWM waveform with a corresponding duty ratio according to other data sections or CRC sections, and filtering out other packets.
The specific process example when the MIPI filtering runs the task is as follows: 1) the MIPI filtering identifies Data packets with DI of 29 and 39, analyzes the Data section and determines whether the Data is needed; 2) if the Data packet is the required Data packet, storing the Data into a Buffer cache according to the length of the byte number WC, and informing a Controller; 3) and the Controller reads the LUT lookup table to compare with Buffer cache data, determines the brightness adjusting parameters according to the comparison result, starts PWM, SWIRE, SPI and I2C to control the backlight module, and the backlight module outputs the corresponding backlight level according to the control information so as to change the screen brightness.
In order to further clarify the structure and the working mode of the original OLED system driving matched TFT screen, the invention further provides two implementation modes.
Implementation mode one
Specifically, the invention provides a method for controlling a TFT screen backlight in an OLED control panel system, and the specific circuit connection and working mode comprises the following steps:
as shown in fig. 6, the wire control signal port of the MIPI filtering and transcoding module is connected to the wire interface of the OLED control panel OLED power module, and outputs the wire control signal to the wire interface, and the OLED power module is connected to the backlight panel of the TFT screen through positive voltage (4.6V) and negative voltage signal (-1.4 to-5.4V).
In the embodiment of the invention, a design scheme (9V backlight) for controlling backlight according to wire is shown in fig. 7, wherein a diode is a light emitting LED to provide a light source, a resistor plays roles in stabilizing current and protecting, a driving voltage of a general white light LED is about 2.8-3V, and a driving voltage of a 3LED connected in series is about 8.4-9V. The brightness data of the OLED control panel is analyzed through the MIPI filtering and transcoding module and converted into SWIRE pulses to control the OLED power supply module to output different voltages to supply to the LED.
The SWIRE timing specification of the OLED power supply chip is the existing timing specification, and the output SWIRE control signal of the MIPI filtering and transcoding module needs to be output according to the SWIRE timing specification.
Second embodiment
Furthermore, the invention also provides a method for controlling the backlight of the TFT screen in the OLED control panel system, and the specific circuit connection and working mode comprise the following steps:
as shown in fig. 8, the TFT backlight is controlled by PWM, and the voltage is adjusted by changing the PWM duty ratio, so as to control the backlight brightness, for example, when the duty ratio is 100%, the full voltage is output, and when the duty ratio is 0, the output voltage is 0. The second embodiment of the present invention provides two backlight modes, one is a 3V backlight mode, and the other is a high-voltage backlight mode:
1) and controlling a 3V backlight mode of backlight according to PWM, wherein in the mode, the OLED power supply module generates LED positive voltage of 4.6V, the series resistor is connected to the light-emitting LED, the light-emitting LED provides backlight for the TFT, and the TFT is assisted to emit light, as shown in figure 9. The MIPI filtering and transcoding module converts the MIPI bus data into a corresponding PWM control signal according to decoding of the MIPI bus data, and sends the PWM control signal to a MOS tube or a BJT (bipolar junction transistor) to control on and off of a light-emitting LED, wherein PWM is high-frequency pulse, the LED is rapidly switched on and switched off by adjusting the duty ratio of the PWM control signal (the LED can only see the difference of brightness because the frequency is too high, the LED cannot be switched on and switched off by human eyes), and the function of adjusting the backlight brightness is achieved. Wherein, the resistor plays roles of current stabilization and protection.
2) According to the high-voltage backlight mode of the PWM-controlled backlight, as shown in fig. 10, in this mode, the LED Driver band is boosted, and the LED Driver chip is controlled by PWM to control the LED brightness, thereby achieving the function of adjusting the backlight brightness.
The invention provides a device and a method for controlling TFT screen backlight in an OLED control panel system, wherein an MIPI filtering and transcoding module is connected between an OLED control panel and a TFT drive chip in series or monitoring MIPI filtering and transcoding is bypassed, the MIPI filtering and transcoding module is connected to an MIPI bus to monitor, the MIPI filtering filters out values transmitted by brightness packet headers and writes the values into a cache, and informs a controller to read the values, the controller reads the cache data and reads data stored in a lookup table in advance to compare the data, and a backlight control unit is controlled to output correspondingly to realize brightness control. The invention can bridge the OLED control panel and the TFT screen, converts the brightness adjustment problem of the OLED into the backlight adjustment of the TFT, has lower control cost and simpler production process, and improves the production efficiency.
The embodiments of the present invention described above are combinations of elements and features of the present invention. Unless otherwise mentioned, the elements or features may be considered optional. Each element or feature may be practiced without being combined with other elements or features. In addition, the embodiments of the present invention may be configured by combining some elements and/or features. The order of operations described in the embodiments of the present invention may be rearranged. Some configurations of any embodiment may be included in another embodiment, and may be replaced with corresponding configurations of the other embodiment. It will be apparent to those skilled in the art that claims that are not explicitly cited in each other in the appended claims may be combined into an embodiment of the present invention or may be included as new claims in a modification after the present invention is filed.
In a firmware or software configuration, embodiments of the present invention may be implemented in the form of modules, procedures, functions, and the like. The software codes may be stored in memory units and executed by processors. The memory unit is located inside or outside the processor, and may transmit and receive data to and from the processor via various known means.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.