CN113126946B - Display system and automatic panel parameter adjusting method - Google Patents

Display system and automatic panel parameter adjusting method Download PDF

Info

Publication number
CN113126946B
CN113126946B CN202011579331.7A CN202011579331A CN113126946B CN 113126946 B CN113126946 B CN 113126946B CN 202011579331 A CN202011579331 A CN 202011579331A CN 113126946 B CN113126946 B CN 113126946B
Authority
CN
China
Prior art keywords
display
panel
display panel
parameters
display controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011579331.7A
Other languages
Chinese (zh)
Other versions
CN113126946A (en
Inventor
郭盟煌
刘曙辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nuvoton Technology Corp
Original Assignee
Nuvoton Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nuvoton Technology Corp filed Critical Nuvoton Technology Corp
Publication of CN113126946A publication Critical patent/CN113126946A/en
Application granted granted Critical
Publication of CN113126946B publication Critical patent/CN113126946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1415Digital output to display device ; Cooperation and interconnection of the display device with other functional units with means for detecting differences between the image stored in the host and the images displayed on the displays

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention provides a display system and a method for automatically adjusting panel parameters, wherein the display system comprises: a host for executing a panel control application; and a display device electrically connected to the host. The display device includes: a display panel; and a display controller. The panel control application program selects a setting file comprising a plurality of panel parameters from a database of the host computer, and sends a specific control instruction to transmit the panel parameters in the setting file to the display controller, and the display controller drives the display panel according to the panel parameters. The display controller judges whether the display panel is successfully lightened according to a state signal from the display panel. In response to the display panel not being successfully lit, the panel control application program selects another setting file from the database, and transmits panel parameters in the other setting file to the display controller by utilizing a specific control instruction so as to drive the display panel according to the panel parameters until the display panel is successfully lit.

Description

Display system and automatic panel parameter adjusting method
Technical Field
The present invention relates to a display device, and more particularly, to a display system and a method for automatically adjusting parameters of a panel.
Background
When a developer of a display device utilizes the same display controller to develop a display device having different display panels, the developer needs to spend a lot of time adjusting the display settings of the display panels each time when changing the different display panels because the resolution and the timing requirements of the different display panels are different. Conventionally, each time the display parameters of the display panel are changed, a new modified driver (driver) is required to be recompiled (recompiled) by the host, and then the display controller is allowed to re-execute the new driver to confirm the result. However, after some display parameters (e.g., horizontal/vertical front and rear edges) are modified, a new driver is still needed to be re-executed to determine whether the display panel can function properly. Therefore, the developer needs to spend much time testing the display panel.
In view of the foregoing, there is a need for a display system and a method for automatically adjusting panel parameters to solve the above-mentioned problems.
Disclosure of Invention
The present invention provides a display system including: a host for executing a panel control application; and a display device electrically connected to the host. The display device includes: a display panel; and a display controller. The panel control application program selects a setting file comprising a plurality of panel parameters from a database of the host, and sends a specific control instruction to transmit the panel parameters in the setting file to the display controller, and the display controller drives the display panel according to the panel parameters. The display controller judges whether the display panel is successfully lightened or not according to a state signal from the display panel. In response to the display panel not being successfully lit, the panel control application program selects another profile from the database, and transmits the panel parameters in the another profile to the display controller by utilizing the specific control instruction so as to drive the display panel according to the panel parameters until the display panel is successfully lit.
In some embodiments, the panel control application writes a parameter control firmware of the display controller into a buffer memory of the display device, and the display controller controls the display panel based on the parameter control firmware, wherein when the display panel is successfully lit, the display controller controls the display panel to display one or more test images stored in the buffer memory.
In some embodiments, the display system further comprises: the QR code decoder is electrically connected to the host, is used for shooting the test image displayed on the display panel and carrying out image recognition, and transmits an image recognition result to the panel control application program of the host, wherein the panel control application program further transmits the image recognition result to the display controller so as to judge whether the display panel can normally display the test image.
In other embodiments, when the display controller determines that the display panel cannot normally display the test image, the display controller transmits a display status signal indicating a display error to the host, and the panel control application program automatically adjusts the panel parameters of a portion of the display panel and transmits the adjusted panel parameters to the display controller to drive the display panel to play the test image.
In other embodiments, the QR code decoder aligns an image (for example, a QR code image) played by the display panel, and decodes (for example, performs image recognition) the QR code in the QR code image to determine whether the display panel can normally display the test image. When the display controller judges that the display panel can not normally display the test image, the display controller transmits a display state signal representing a display error to the host, and the panel control application program automatically adjusts the panel parameters of a part of the display panel and transmits the adjusted panel parameters to the display controller so as to drive the display panel.
In the above embodiment, when the display controller determines that the display panel can normally display the test image, the panel control application program stores and outputs the currently used panel parameters as a parameter setting file, and integrates the parameter setting file and related drivers to compile an executable file of the display controller.
The invention further provides a panel parameter automatic adjustment method for a display system, wherein the display system comprises a host and a display device, and the display device comprises a display controller and a display panel. The method comprises the following steps: selecting a setting file comprising a plurality of panel parameters from a database of the host, and transmitting a specific control instruction to transmit the panel parameters in the setting file to the display controller; driving the display panel by the display controller according to the panel parameters; judging whether the display panel is successfully lightened or not by utilizing the display controller according to a state signal from the display panel; and selecting another setting file from the database in response to the display panel not being successfully lightened, and transmitting the panel parameters in the another setting file to the display controller by utilizing the specific control instruction so as to drive the display panel according to the panel parameters until the display panel is successfully lightened.
Drawings
FIG. 1A is a block diagram of a display system according to an embodiment of the invention.
FIG. 1B is a block diagram of a display system according to another embodiment of the invention.
Fig. 2A and fig. 2B are schematic diagrams illustrating a connection manner between a host and a display device of a display system according to an embodiment of the invention.
Fig. 2C and fig. 2D are schematic diagrams illustrating a connection manner between a host and a display device of a display system according to another embodiment of the invention.
FIG. 3 is a diagram illustrating a user interface of a panel control application according to an embodiment of the present invention.
Fig. 4A is a flowchart of a method for automatically adjusting panel parameters according to an embodiment of the invention.
Fig. 4B-1 and 4B-2 are flowcharts of a method for automatically adjusting panel parameters according to an embodiment of the invention.
Reference numerals:
10-display system;
100-host computer;
110 to a processing unit;
111 to system bus bars;
120-graphics processing unit;
130 to memory cells;
140 to a storage device;
141-panel control application;
142 to an operating system;
143 to a database;
150-transmission interface;
160-peripheral devices;
180-QR code decoders;
181 to an image acquisition unit;
182-microcontroller;
200-display device;
205 to a printed circuit board;
210 to a display controller;
220-display panel;
230 to a storage unit;
231-firmware;
240 to a buffer memory;
241 to a first predetermined space;
242 to a second predetermined space;
243 to a third predetermined space;
250-transmission interface;
150A, 150B, 250A, 250B, 150C to transmission interface;
300-user interface;
310-button;
S410-S490-steps.
Detailed Description
The following description is of a preferred implementation of the invention, and is intended to illustrate the basic spirit of the invention, but not to limit the invention. The actual summary of the invention must be referred to the claims that follow.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, values, method steps, operation processes, elements, and/or components, but do not preclude the addition of further features, values, method steps, operation processes, elements, components, or groups thereof.
In the claims, the terms "first," "second," "third," and the like are used for modifying elements of the claims, and are not intended to indicate a priority order, a precedence relationship or a precedence relationship over one element over another or the temporal ordering of steps of a method are used to distinguish one element from another having the same name.
FIG. 1A is a block diagram of a display system according to an embodiment of the invention. As shown in fig. 1A, the display system 10 includes a host (host) 100 and a display device 200. The host 100 is, for example, a personal computer or a server, and the display device 200 is, for example, a display device to be tested.
In one embodiment, the host 100 includes a processing unit 110, a graphics processor (graphics processing unit, GPU) 120, a memory unit 130, a storage device 140, a transmission interface 150, and at least one peripheral device 160. The processing unit 110, the graphics processing unit 120, the memory unit 130, the storage device 140, the transmission interface 150, and the peripheral device 160 are electrically connected to each other via the system bus 111.
The processing unit 110 may be implemented using various means, such as dedicated hardware circuits or a general purpose hardware implementation (e.g., a single processor, multiple processors with parallel processing capabilities, or other processors with computing capabilities), such as a general purpose processor (general-purpose processor) or a central processing unit (central processing unit, CPU), although the invention is not limited in this respect. The gpu 120 may be, for example, a gpu on a display card or a gpu integrated into the processing unit 110.
The memory unit 130 is a volatile memory, such as a Dynamic Random Access Memory (DRAM), but the invention is not limited thereto. The storage device 140 is a non-volatile memory (non-volatile memory), such as a hard disk drive (hard disk drive), a solid state disk (solid state disk), a flash memory (flash memory), or a read-only memory (read-only memory), but the invention is not limited thereto.
The storage device 140 may store a panel control application 141 and an operating system 142 (e.g., windows, linux, macOS, etc.), and the processing unit 110 reads and executes the operating system 142 and the panel control application 141 to the memory unit 130. The gpu 120 may perform graphics processing of an application program executed by the gpu 110 to generate an image signal including one or more images, and display the image signal on a display (not shown) of the host 100.
The transmission interface 150 may include one or more data transmission interfaces, such as a universal serial bus (Universal Serial Bus, USB) interface, USB Type-C interface, lei Li (Thunderbolt) interface, general-purpose Input/Output (GPIO) interface, universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART) interface, or a combination thereof, but the invention is not limited thereto. The peripheral device 160 includes, for example: the invention is not limited to the input devices such as keyboard, mouse, touch pad, etc.
The display device 200 includes a display controller 210, a display panel 220, a storage unit 230, a buffer memory 240, and a transmission interface 250. The display controller 210, the display panel 220, the storage unit 230, the buffer memory 240 and the transmission interface 250 are disposed on a printed circuit board (printed circuit board, PCB) 205 or a development board (development board), as shown in fig. 1A. In some embodiments, the display device 200 can be regarded as a liquid crystal display module (LCM).
The display controller 210 may be, for example, a microcontroller (micro control unit, MCU), a microprocessor (micro processing unit, MPU), an application-oriented integrated circuit (ASIC), a System-on-chip (SoC), or a processor, but the invention is not limited thereto.
The display panel 220 may be, for example, a liquid crystal (liquid crystal) panel and a backlight module (backlight module), which may be implemented by light emitting diodes (leds) or cold cathode fluorescent lamps (ccfls), or an organic light emitting diode (oled) panel, but the invention is not limited thereto.
The memory unit 230 may be, for example, a nonvolatile memory such as a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), etc., but the invention is not limited thereto. The storage unit 230 is used for storing firmware 231 associated with the display device 200, such as program codes including a power-on procedure, parameters of display settings and backlight settings of the display panel 220, and the like. The storage unit 230 may be external to the display controller 210, or may be integrated into the display controller 210, for example.
The buffer memory 240 may be, for example, a volatile memory (e.g., a dynamic random access memory) for storing the output image to be played on the display panel 220 and parameters of display settings and backlight settings required by the display controller 210 to control the display panel 220. In some embodiments, the buffer memory 240 may be integrated into the display controller 210, for example. For example, when the display device 200 is turned on, the display controller 210 may read the program codes related to the startup procedure from the storage unit 230 to the first predetermined space 241 of the buffer memory 240, and initialize the display panel 220 and the transmission interface 250 according to the program codes. The transmission interface 250 corresponds to the transmission interface 150, and the host 100 and the display device 200 can be connected through the transmission interfaces 150 and 250.
FIG. 1B is a block diagram of a display system according to another embodiment of the invention.
The display system 10 of FIG. 1B is similar to the display system 10 of FIG. 1A, except that the host 100 of the display system 10 of FIG. 1B is electrically connected to a fast-response two-dimensional barcode decoder 180 (Quick Response Code Decoder), which may be referred to simply as a QR-code decoder 180, through one of the transmission interfaces 150. The QR code decoder 180 includes an image acquisition unit 181 and a micro-controller 182, wherein the image acquisition unit 181 may be implemented by a Charge Coupled Device (CCD) sensor or a Complementary Metal Oxide Semiconductor (CMOS) sensor, for example, and may be aligned with the display panel 220, and may acquire an image played by the display panel 220, for example, the test image is a QR code image. The microcontroller 182 may receive the QR code image captured by the image acquisition unit 181, and decode (e.g., image-identify) the QR code in the QR code image.
Fig. 2A and fig. 2B are schematic diagrams illustrating a connection manner between a host and a display device of a display system according to an embodiment of the invention. Fig. 2C and fig. 2D are schematic diagrams illustrating a connection manner between a host and a display device of a display system according to another embodiment of the invention.
As shown in fig. 2A, the processing unit 110 of the host 100 may, for example, transmit specific control commands and data to the display controller 210 of the display device 200 via the transmission interface 150A (e.g., a USB interface) and the corresponding transmission interface 250A of the display device 200 (e.g., a USB interface), so as to control the display function and the backlight function of the display panel 220, or may directly write image data, program codes and/or panel parameters into the buffer memory 240, which will be described in detail later. The transmission channel between the transmission interface 150A and the transmission interface 250A may be referred to as a data transmission channel or a control signal transmission channel, for example.
In another embodiment, the transmission interface 150A (e.g. a USB interface) of the host 100 is connected to the corresponding transmission interface 250A (e.g. a USB interface) of the display device 200, and the transmission interface 150B (e.g. a UART interface) of the host 100 is connected to the corresponding transmission interface 250B (e.g. a corresponding UART interface) of the display device 200, so as to display the result of the program execution on the host 100, but the invention is not limited thereto. Similarly, the processing unit 110 of the host 100 may transmit a specific control command to the display controller 210 of the display device 200 via the transmission interface 150A and the transmission interface 250A to control the display function of the display panel 220, and further transmit another specific control command to the display controller 210 of the display device 200 via the transmission interface 150B and the transmission interface 250B to control the backlight function of the display panel 220. That is, in the embodiment of fig. 2B, the host 100 can control the display function and the backlight function of the display panel and display the result of the program execution through different transmission interfaces, respectively.
For convenience of description, in the following embodiment, the host 100 and the display device 200 are connected through, for example, the transmission interfaces 150A and 250A, and the transmission interfaces 150A and 250A are, for example, USB interfaces, as shown in fig. 2A. After the display controller 210 initializes the transmission interface 250, the host 100 and the display device 200 can communicate using the USB interface.
In this embodiment, the processing unit 110 of the host 100 may execute the panel control application 141. The panel control application 141 may display a user interface on a display device (not shown) of the host 100, for example, for automatically setting or allowing a user to manually set various display parameters and backlight parameters of the display panel 220, wherein the display parameters and the backlight parameters may be collectively referred to as panel parameters. The panel control application 141 can write the parameter control firmware of the display controller 210 into the second predetermined space 242 of the buffer memory 240 of the display device 200 through the USB interface. The display controller 210 may control the display panel 200 based on the parameter control firmware.
In this embodiment, the panel control application 141 can control not only various panel parameters, but also the relevant settings of the display controller 210 and the buffer memory 240. The above panel parameters include, for example: resolution (resolution), pixel clock (pixel clock), image buffer data type (frame buffer data type), clock polarity (clock polarity), internal register setting (internal register settings), horizontal timing (horizontal timing), vertical timing (vertical timing), backlight control (backlight control), reset control (reset control), data setup time (data setup time), data hold time (data hold time), and the like of the display panel 220, but the present invention is not limited thereto.
FIG. 3 is a diagram illustrating a user interface of a panel control application according to an embodiment of the present invention.
In one embodiment, the user interface 300 of the panel control application 141 allows the user to manually set options for each panel parameter, and each option may include one or more sub-parameters. For example, the control settings for the resolution may include a vertical display period (horizontal display period) and a horizontal display period (horizontal display period), the horizontal timing may include a horizontal trailing edge (horizontal back porch), a horizontal leading edge (horizontal front porch), a horizontal pulse width (horizontal pulse width), and the vertical timing may include a vertical trailing edge (vertical back porch), a vertical leading edge (vertical front porch), a vertical pulse width (vertical pulse width). The clock polarity setting may include the polarities of the horizontal/vertical synchronization signal, the data enable signal, and the pixel clock, such as high-state operation (active high) or low-state operation (active low). SPI setting and I 2 C-setting may include setting SPI and I respectively 2 And C, relevant setting of the bus. Image buffer data types may include, for example: RGB555, RGB565. RGBx888, RGB888x, YCbYCr, and the like, but the invention is not limited thereto.
Examples include: the clock frequency, vertical period, horizontal display period, horizontal trailing edge, horizontal leading edge, horizontal pulse width, vertical period, vertical display period, vertical trailing edge, vertical leading edge, vertical pulse width, data setup time, data hold time, but the invention is not limited thereto, and the user interface can be designed according to actual requirements. When the display controller 210 controls the display panel 220 according to the display parameters, at least the display parameters listed above meet the timing requirements of the display panel 220, and the display panel 220 can be correctly lit (light up).
In detail, after the parameter control firmware has been successfully executed by the display controller 210, the panel control application 141 can transmit specific control commands to the display controller 210 through the transmission interfaces 150A and 250A, so as to control the display function and the backlight function of the display panel 210. The specific control command is, for example, a USB vendor command (vendor command), and may include the various panel parameters. For example, if a developer wishes to manually modify a portion of the panel parameters, the modified portion of the panel parameters may be provided via a user interface of the panel control application 141.
In addition, the panel control application 141 can automatically adjust the panel parameters according to feedback information provided by the display controller 210, and add the adjusted panel parameters into a specific control command to transmit to the display controller 210. The feedback information may include a status signal (e.g. indicating whether the display panel 220 has been successfully turned on), an error count value, etc., but the invention is not limited thereto. After decoding the specific control command, the display controller 210 can execute the relevant panel parameters in the specific control command, and then drive the display panel 220 according to the new relevant panel parameters.
In detail, the database 143 of the host 100 stores a plurality of profiles, and each profile corresponds to a set of panel parameters. Each set of panel parameters is, for example, different display settings and/or backlight settings, and can be recorded in a corresponding profile, for example, a text profile. When the display controller 210 detects that the status signal from the display panel 220 is unlit (e.g., low logic state), the display controller 210 may report the status signal to the host 100 through the transmission interfaces 150A and 250A, and the panel control application 141 may automatically select and load the next set of profiles in the database 143, and add the entire set of panel parameters in the selected profile to a specific control command for transmitting to the display controller 210, so that the display controller 210 drives the display panel 220 according to the new panel parameters. The above process may be automatically repeated until the display panel 220 is successfully lit or all of the profiles in the database 143 have been tried.
If all of the profiles in the database 143 have been tried and failed to illuminate the display panel 220, the developer may manually set one or more panel parameters using the user interface of the panel control application 141. Whenever any panel parameter in the user interface of the panel control application 141 is modified, the panel control application 141 may automatically add a new set of panel parameters to the specific control command and transmit to the display controller 210 to drive the display panel 220. Optionally, after adjusting the panel parameters to be modified on the user interface of the panel control application 141, the developer manually presses an "execute" button 310, so that the panel control application 141 adds a new set of panel parameters to a specific control command and transmits the specific control command to the display controller 210 to drive the display panel 220.
When the display panel 220 is successfully lit by the current display setting and the backlight setting, the display controller 210 may control the display panel 220 to display the test image stored in the third predetermined space 243 of the buffer memory 240 according to the status signal (e.g. high logic state) of the display panel 220, for example. For example, the processing unit 110 of the host 100 may pre-write the one or more images to be tested into the third predetermined space 243 in the buffer memory 240 by a specific command, or may pre-write the one or more images to be tested into the third predetermined space 243 in the buffer memory 240 by a specific command after the display panel 220 is successfully turned on. The display controller 210 controls the display panel 220 to play one or more test images stored in the third predetermined space 243 of the buffer memory 240 according to the status signal of the display panel 220, wherein the test images may include a specific test pattern (test pattern) or a test pattern generated by a random number generator (not shown).
For example, when the horizontal trailing edge and the horizontal leading edge in the horizontal timing and the vertical trailing edge in the vertical timing are not correctly set, the test image may not be correctly displayed although the display panel 220 may be lit. At this time, the display controller 210 may report the above situation to the host 100 by using a display status signal (for example, indicating a display error), and the panel control application 141 may automatically adjust the panel parameters of the horizontal trailing edge, the horizontal leading edge, the horizontal pulse width, the vertical trailing edge, the vertical leading edge, the vertical pulse width, the driving voltage, etc. of the horizontal timing, and transmit the adjusted panel parameters to the display controller 210 through specific control instructions, and the display controller 210 may further control the display panel 220 to play the test image stored in the third predetermined space 243 of the buffer memory 240 according to the adjusted panel parameters. In addition, the developer can also watch the test image played on the display panel 220 to repeatedly confirm whether the test image can be played normally.
When the bit number of the replayed test image is less than a predetermined threshold, the setting of the panel parameter currently used by the display panel 220 can be operated normally, and the display controller 210 can report the above situation to the host 100 by using the display status signal (for example, indicating that the display is normal), so the panel control application 141 can store and output the panel parameter currently used by the display panel 220 as a corresponding setting file. The configuration file is integrated with other drivers of the display controller 210 without modification to compile an execution file for the display panel 220 to display correctly.
Please refer to fig. 1B and fig. 2C to fig. 2D simultaneously. The difference between fig. 2C-2D and fig. 2A-2B is that the host 100 in fig. 2C-2D can be electrically connected to the QR code decoder 180 through the transmission interface 150C. In another embodiment, the panel control application 141 executed by the processing unit 110 transmits a QR code image to the display device 200 through the transmission interfaces 150 and 250, and plays the QR code image on the display panel 220. At this time, the image acquisition unit 181 of the QR code decoder 180 may be aligned with an image (for example, a QR code image) played by the display panel 220 and the panel control application 141 may transmit a control signal to the QR code decoder 180 through the transmission interface 150C to inform the QR code decoder 180 to start the decoding process of the QR code, and a data result (for example, may be referred to as an image recognition result or a test result) obtained by decoding the QR code decoder 180 may be returned to the panel control application 141 through the transmission interface 150C. Accordingly, the panel control application 141 may display the test results on a screen (e.g., display panel 220) or play the test results with a speaker (not shown), and may transmit the test results to the display controller 210 through the transmission interfaces 150B and 250B. The display controller 210 can determine whether the display panel 200 can normally display images according to the test result.
For example, when the horizontal trailing edge and the horizontal leading edge in the horizontal timing of the display panel 220 and the vertical trailing edge in the vertical timing are not correctly set, the test image cannot be correctly displayed although the display panel 220 may be lit. At this time, the QR code decoder 180 may report the image recognition result of the image played by the display panel 220 to the host 100, and the panel control application 141 may automatically adjust panel parameters such as the horizontal trailing edge, the horizontal leading edge, the horizontal pulse width, the vertical trailing edge, the vertical leading edge, the vertical pulse width, and the driving voltage of the horizontal timing sequence, and transmit the adjusted panel parameters to the display controller 210 through specific control commands. The display controller 210 can control the display panel 220 to play the test image stored in the third predetermined space 243 of the buffer memory 240 again according to the adjusted panel parameters. In addition, the developer can also watch the test image played on the display panel 220 to repeatedly confirm whether the test image can be played normally.
After the replayed test QR code image is successfully identified by the QR code decoder 180 and the result of the identification is reported to the host 100, the setting of the panel parameters currently used by the display panel 220 may be normally operated. When the test image played on the display panel 220 is viewed to confirm that the test image is normally played, the panel control application 141 can store and output (save and export) the panel parameters currently used by the display panel 220 as a corresponding profile, which indicates that the settings of the panel parameters currently used by the display panel 220 can be normally operated. The configuration file is integrated with other drivers of the display controller 210 without modification to compile an execution file for the display panel 220 to display correctly.
In some embodiments, the display device 200 may include a nonvolatile memory, such as an SD card or a NAND flash memory, for storing a profile generated by the panel control application 141 for the display panel 220 to display images correctly. If the display panel 220 on the display device 200 is replaced but the display controller 210 is not replaced, the above-mentioned process can be used to generate a configuration file for correctly displaying the new display panel 220, but the parameter control firmware and the driver of the display panel are not required to be changed. Therefore, the product development time of the display device can be greatly shortened through the flow.
Fig. 4A is a flowchart of a method for automatically adjusting panel parameters according to an embodiment of the invention. Please refer to fig. 1A and fig. 4A simultaneously.
In step S410, the host 100 and the display device 200 are connected. For example, the host 100 and the display device 200 may be connected through the transmission interfaces 150 and 250, and the transmission interfaces 150 and 250 are, for example, USB interfaces.
In step S420, the transmission interface 250 of the display device 200 is initialized. For example, after the display controller 210 executes the program code of the booting process to initialize the transmission interface 250, the host 100 and the display device 200 can communicate using the USB interface.
In step S430, the host 100 is utilized to write the parameter control firmware of the display controller 210 into the buffer memory 240 of the display device 200 through the transmission interface 250. Thus, the display controller 210 may operate based on the parameter control firmware.
In step S435, the host 100 selects a profile from the database 143 and sends a specific control command to transmit the panel parameters in the profile to the display controller 210. The above panel parameters include, for example: the resolution of the display panel 220, pixel clock, image buffer data type, clock polarity, internal register setting, horizontal timing, vertical timing, backlight control, reset control, data setting time, data holding time, etc., but the present invention is not limited thereto.
In step S440, the display controller 210 executes the panel parameters in the specific control instruction to drive the display panel 220.
In step S450, the display controller 210 determines whether the display panel 220 is successfully lit. For example, the display controller 210 may determine whether the display panel 220 is successfully lighted according to a status signal from the display panel 220. If the display panel 220 is successfully lighted, step S460 is performed; if the display panel 220 is not successfully lit, the process returns to step S435, and the panel control application 141 selects another profile from the database 143.
In step S460, the display controller 210 controls the display panel 220 to display the test image stored in the buffer memory 240.
In step S470, the display controller 210 determines whether the display panel 200 can normally display an image. If the display panel 200 can normally display the image, step S490 is performed; if the display panel 200 cannot normally display the image, step S480 is performed.
For example, each column driver and each row driver of the display panel 220 may include a detection circuit to detect whether the played test image is wrong or the display controller 210 may determine whether the played test image is wrong, such as whether the displayed test image has a bit error in a pixel or an eye pattern (eye diagram) to generate a squeezing image, and the display controller 210 may calculate the number of bit errors detected by the detection circuits of each column driver and each row driver, for example, to determine whether the display panel 200 can normally display the image, and the display controller 210 may report a display status signal (for example, indicating that the display error or the display is normal) to the host 100.
In step S480, the host 100 automatically adjusts a portion of the panel parameters of the display panel 200 and transmits the adjusted panel parameters to the display controller 210 to drive the display panel 220. For example, the partial panel parameters may include: the panel parameters of the horizontal trailing edge, the horizontal leading edge and the horizontal pulse width of the horizontal timing, the vertical trailing edge, the vertical leading edge and the vertical pulse width of the vertical timing, the driving voltage, and the like, but the present invention is not limited thereto. It should be noted that, after step S480, the process returns to step S460 to control the display panel 220 to display the test image stored in the buffer memory 240.
In step S490, the host 100 stores and outputs the currently used panel parameters as a parameter profile (e.g. text profile) and integrates the parameter profile and related drivers to compile an executable profile. For example, the configuration file may be integrated with other drivers of the display controller 210 without modification to compile an execution file for the display panel 220 to display correctly.
Fig. 4B-1 and 4B-2 are flowcharts of a method for automatically adjusting panel parameters according to an embodiment of the invention. Please refer to fig. 1B, fig. 4B-1 and fig. 4B-2.
The flow of fig. 4B-1 and 4B-2 is similar to the flow of fig. 4A, wherein the differences of fig. 4A, 4B-1 and 4B-2 are that step S465 is performed after step S460 in fig. 4B-1 and 4B-2, and step S480 is performed when step S470 determines that the image cannot be displayed normally.
In step S465, an image played by the display panel 220 is captured by the QR code decoder 180 for image recognition, and the image recognition result is transmitted to the host 100. For example, the panel control application 141 may transmit test images (e.g., QR code images) to the display panel 220 of the display device 200 through the transmission interfaces 150A and 250A, and play the test images by the display panel 220. The QR code decoder 180 may capture the test image played by the display panel 220, perform image recognition, and transmit the obtained image recognition result to the panel control application 141 executed by the host 100. Accordingly, the panel control application 141 may display the test results on a screen (e.g., display panel 220) or play the test results with a speaker (not shown), and may transmit the test results to the display controller 210 through the transmission interfaces 150B and 250B. In step S470, the display controller 210 or the user can determine whether the display panel 200 can normally display images according to the test result.
In summary, the present invention provides a display device and a method for automatically adjusting panel parameters, which can enable a host and a display device in a display system to automatically adjust panel parameters and backlight parameters that enable a display panel to accurately display images. If the display panel on the display device is replaced but the display controller 210 is not replaced, the process of the foregoing embodiment can be utilized to generate a setting file for correctly displaying a new display panel, but the parameter control firmware and the driver of the display panel are not required to be changed. Therefore, the invention can greatly shorten the product development time of the display device.
While the invention has been described with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (4)

1. A display system, comprising:
a host for executing a panel control application; and
a display device electrically connected to the host, the display device comprising:
a display panel; and
a display controller;
the panel control application program selects a setting file comprising a plurality of panel parameters from a database of the host computer, and sends a specific control instruction to transmit the panel parameters in the setting file to the display controller, and the display controller drives the display panel according to the panel parameters;
the display controller judges whether the display panel is successfully lightened according to a state signal from the display panel;
in response to the display panel not being successfully lit, the panel control application program selects another profile from the database, and transmits the panel parameters in the another profile to the display controller by utilizing the specific control instruction so as to drive the display panel according to the panel parameters until the display panel is successfully lit;
the panel control application program writes a parameter control firmware of the display controller into a buffer memory of the display device, and the display controller controls the display panel based on the parameter control firmware, wherein when the display panel is successfully lightened, the display controller controls the display panel to display one or more test images stored in the buffer memory;
further comprises: the QR code decoder is electrically connected to the host, is used for shooting the test image displayed on the display panel and carrying out image recognition, and transmits an image recognition result to the panel control application program of the host, wherein the panel control application program further transmits the image recognition result to the display controller so as to judge whether the display panel can normally display the test image;
when the display panel cannot normally display the test image, the display controller transmits a display status signal indicating a display error to the host, and the panel control application program automatically adjusts the panel parameters of a part of the display panel and transmits the adjusted panel parameters to the display controller to drive the display panel to play the test image.
2. The display system of claim 1, wherein the display panel includes one or more column drivers and one or more row drivers, each column driver and each row driver includes a detection circuit for detecting a bit error number of the test image played by the display panel, and the display controller determines whether the display panel can normally display the test image according to the bit error number;
when the display controller judges that the display panel cannot normally display the test image, the display controller transmits a display state signal representing a display error to the host, and the panel control application program automatically adjusts the panel parameters of a part of the display panel and transmits the adjusted panel parameters to the display controller to drive the display panel.
3. The display system of claim 1, wherein when the display controller determines that the display panel can normally display the test image, the panel control application program stores and outputs the currently used panel parameters as a parameter profile, and integrates the parameter profile and related drivers to compile an executable profile of the display controller.
4. The automatic panel parameter adjusting method is characterized by being used for a display system, wherein the display system comprises a host and a display device, the display device comprises a display controller and a display panel, and the method comprises the following steps:
selecting a setting file comprising a plurality of panel parameters from a database of the host, and transmitting a specific control instruction to transmit the panel parameters in the setting file to the display controller;
driving the display panel by the display controller according to the panel parameters;
judging whether the display panel is successfully lightened or not by utilizing the display controller according to a state signal from the display panel; and
selecting another setting file from the database in response to the display panel not being successfully lightened, and transmitting the panel parameters in the another setting file to the display controller by utilizing the specific control instruction so as to drive the display panel according to the panel parameters until the display panel is successfully lightened;
the host writes a parameter control firmware of the display controller into a buffer memory of the display device, and the display controller controls the display panel based on the parameter control firmware, and the method further comprises:
controlling the display panel to display one or more test images stored in the buffer memory by using the display controller in response to the display panel being successfully lightened;
the display system further comprises a QR code decoder electrically connected to the host, for capturing the test image displayed on the display panel and performing image recognition, and transmitting the image recognition result to a panel control application program of the host, and the method further comprises:
transmitting the image recognition result to the display controller to judge whether the display panel can normally display the test image;
further comprises:
when the display panel can not normally display the test image, the display controller is utilized to transmit a display state signal representing a display error to the host; and
the host computer is utilized to automatically adjust the panel parameters of a part of the display panel and transmit the adjusted panel parameters to the display controller so as to drive the display panel to play the test image.
CN202011579331.7A 2019-12-31 2020-12-28 Display system and automatic panel parameter adjusting method Active CN113126946B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW108148539A TWI780391B (en) 2019-12-31 2019-12-31 Display system and method of automatically adjusting display-panel parameters
TW108148539 2019-12-31

Publications (2)

Publication Number Publication Date
CN113126946A CN113126946A (en) 2021-07-16
CN113126946B true CN113126946B (en) 2023-06-09

Family

ID=76772234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011579331.7A Active CN113126946B (en) 2019-12-31 2020-12-28 Display system and automatic panel parameter adjusting method

Country Status (2)

Country Link
CN (1) CN113126946B (en)
TW (1) TWI780391B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114255603B (en) * 2021-12-29 2023-09-15 卡莱特云科技股份有限公司 LED display screen display method, control device and system applied to traffic

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200733027A (en) * 2006-02-17 2007-09-01 Novatek Microelectronics Corp Test system for testing a liquid crystal display module and method thereof
CN101551978A (en) * 2008-03-31 2009-10-07 Nec液晶技术株式会社 Display panel control device, liquid crystal display device, electronic apparatus, and display panel drive control device
CN106469070A (en) * 2015-08-18 2017-03-01 冠捷投资有限公司 The method of panel parameter self-regeneration
TW201839608A (en) * 2017-04-21 2018-11-01 精英電腦股份有限公司 Automatic Image Monitoring Method
CN109164998A (en) * 2011-08-24 2019-01-08 联咏科技股份有限公司 Data transmission method and its display driving system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030117382A1 (en) * 2001-12-07 2003-06-26 Pawlowski Stephen S. Configurable panel controller and flexible display interface
TWI438760B (en) * 2011-07-20 2014-05-21 Novatek Microelectronics Corp Display panel driving apparatus and operation method thereof and source driver thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200733027A (en) * 2006-02-17 2007-09-01 Novatek Microelectronics Corp Test system for testing a liquid crystal display module and method thereof
CN101551978A (en) * 2008-03-31 2009-10-07 Nec液晶技术株式会社 Display panel control device, liquid crystal display device, electronic apparatus, and display panel drive control device
CN109164998A (en) * 2011-08-24 2019-01-08 联咏科技股份有限公司 Data transmission method and its display driving system
CN106469070A (en) * 2015-08-18 2017-03-01 冠捷投资有限公司 The method of panel parameter self-regeneration
TW201839608A (en) * 2017-04-21 2018-11-01 精英電腦股份有限公司 Automatic Image Monitoring Method

Also Published As

Publication number Publication date
TW202127243A (en) 2021-07-16
TWI780391B (en) 2022-10-11
CN113126946A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
US20090300588A1 (en) Method and apparatus for acquiring definitions of debug code of basic input/output system
US20070168738A1 (en) Power-on error detection system and method
US20060277443A1 (en) Method and system for acquiring definitions of debug code of a basic input/output system
US20070234132A1 (en) System and method for indicating errors of a motherboard
KR20060109522A (en) Method and apparatus for testing computer system
US7356684B2 (en) Booting system and/or method for initializing peripherals
US20070075728A1 (en) AC Power Supply Testing Module And Method For Booting A Main Board
CN106547653B (en) Computer system fault state detection method, device and system
US20040010773A1 (en) Method and apparatus for displaying debug codes of a baisc input/output system
CN109388345B (en) Data reading method of memory, display device and computer readable storage medium
CN110890076A (en) Display panel driving system
CN111800658B (en) Chip parameter writing method, television and storage medium
CN113126946B (en) Display system and automatic panel parameter adjusting method
CN109189486B (en) Display screen driver loading method and device, terminal and storage medium
US7747909B2 (en) Debug card
US20120144181A1 (en) Motherboard and method for displaying host system parameter
US7213159B2 (en) Method for testing and verifying power management features of computer system
CN106980569B (en) Method for representing BIOS POST progress by USB keyboard lamp
TWI436203B (en) Testing method for automatically rebooting a motherboard and recording related debug information and rebooting device thereof
US6892263B1 (en) System and method for hot swapping daughtercards in high availability computer systems
CN110767188B (en) Display panel driving system
KR20090037223A (en) Method and system for power-on self testing after system off, and booting method the same
CN111752623A (en) Display configuration method and device, electronic equipment and readable storage medium
US20050257095A1 (en) Apparatus and method for detecting and indicating faults on a motherboard
CN105068835B (en) Mobile terminal and debugging information display method thereof

Legal Events

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