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

Display system and panel parameter automatic adjusting method Download PDF

Info

Publication number
CN113126946A
CN113126946A CN202011579331.7A CN202011579331A CN113126946A CN 113126946 A CN113126946 A CN 113126946A CN 202011579331 A CN202011579331 A CN 202011579331A CN 113126946 A CN113126946 A CN 113126946A
Authority
CN
China
Prior art keywords
display
panel
parameters
display panel
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.)
Granted
Application number
CN202011579331.7A
Other languages
Chinese (zh)
Other versions
CN113126946B (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 computer for executing a panel control application program; 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, 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 determines whether the display panel is successfully lighted according to a status signal from the display panel. In response to the display panel not being successfully lighted, 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 using the specific control command so as to drive the display panel according to the panel parameters until the display panel is successfully lighted.

Description

Display system and panel parameter automatic 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 panel parameters.
Background
When a developer of a display device develops the display device with different display panels by using the same display controller, the developer needs to spend a lot of time adjusting the display settings of the display panels each time the developer replaces a different display panel because the resolution and timing requirements of different panels are different. Conventionally, each time the display parameters of the display panel are changed, the host recompiles (component) the newly modified driver, and then the display controller re-executes the new driver to confirm the result. However, when some of the display parameters (such as the horizontal/vertical front and rear edges) are modified, a new driver is required to be executed again to know whether the display panel is functioning properly. Therefore, it takes much time for the developer to test the display panel.
Accordingly, a display system and a method for automatically adjusting panel parameters are needed to solve the above problems.
Disclosure of Invention
The present invention provides a display system comprising: a host computer for executing a panel control application program; 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, 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 determines whether the display panel is successfully lighted according to a status signal from the display panel. In response to the display panel not being successfully lit, the panel control application selects another profile from the database, and transmits the panel parameters in the another profile to the display controller by using the specific control command 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: a QR code decoder electrically connected to the host computer for shooting the test image displayed on the display panel and carrying out image recognition, and transmitting the image recognition result to the panel control application program of the host computer, wherein the panel control application program further transmits the image recognition result to the display controller 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 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 (e.g., a QR code image) displayed by the display panel and decodes (e.g., 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 display error to the host, and the panel control application program automatically adjusts a plurality of panel parameters of one part of the display panel and transmits the adjusted panel parameters to the display controller 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 stores and outputs the panel parameters currently used as a parameter setting file, and integrates the parameter setting file and the related driver to compile an executable file of the display controller.
The invention further provides an automatic adjustment method of panel parameters, which is used 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 configuration file comprising a plurality of panel parameters from a database of the host computer, and sending a specific control instruction to transmit the panel parameters in the configuration file to the display controller; driving the display panel by using the display controller according to the panel parameters; judging whether the display panel is successfully lightened by using the display controller according to a state signal from the display panel; and selecting another configuration file from the database in response to the display panel not being successfully lighted, and transmitting the panel parameters in the another configuration file to the display controller by using the specific control instruction so as to drive the display panel according to the panel parameters until the display panel is successfully lighted.
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 present invention.
Fig. 2A and 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 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 of a user interface of a panel control application according to an embodiment of the present invention.
FIG. 4A is a flowchart illustrating a method for automatically adjusting panel parameters according to an embodiment of the invention.
FIGS. 4B-1 and 4B-2 are flow charts of a method for automatically adjusting panel parameters according to an embodiment of the invention.
Reference numerals:
10-a display system;
100-the host;
110 to a processing unit;
111-system bus;
120-a graphics processing unit;
130 to memory cells;
140-storage device;
141-panel control application program;
142-an operating system;
143 to a database;
150 to the transmission interface;
160-peripheral devices;
180-QR code decoder;
181-an image acquisition unit;
182 to a microcontroller;
200-a display device;
205-printed circuit board;
210-a display controller;
220-a display panel;
230 to a storage unit;
231 to firmware;
240-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-Transmission interface;
300-a user interface;
310-buttons;
S410-S490.
Detailed Description
The following description is of the best mode for carrying out the invention and is intended to illustrate the general spirit of the invention and not to limit the invention. Reference must be made to the following claims for their true scope of the invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of further features, integers, steps, operations, elements, components, and/or groups thereof.
Use of the terms first, second, third and the like in the claims is used for modifying elements in the claims, and is not intended to distinguish between elements having the same name, priority, or other relationship, whether one element precedes another element, or is a chronological order in which method steps are performed.
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 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 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 GPU 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 in various ways, such as a dedicated hardware circuit or a general-purpose hardware implementation (e.g., a single processor, a plurality of processors with parallel processing capability, or other processors with computing capability), such as a general-purpose processor (CPU) or a Central Processing Unit (CPU), but the invention is not limited thereto. 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 the operating system 142 and the panel control application 141 to the memory unit 130 and executes them. The gpu 120 may, for example, perform a drawing process of the application program executed by the processing unit 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 (USB) interface, a USB Type-C interface, a Thunderbolt interface, a General-purpose Input/Output (GPIO) interface, a Universal Asynchronous Receiver/Transmitter (UART) interface, or a combination thereof, but the invention is not limited thereto. The peripheral device 160 includes, for example: input devices such as keyboard, mouse, touch pad, etc., but the invention is not limited thereto.
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 (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), for example.
The display controller 210 may be, for example, a Micro Control Unit (MCU), a Micro Processing Unit (MPU), an application-specific 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 (for example, implemented by light emitting diodes or cold cathode fluorescent lamps), an organic light-emitting diode (organic light-emitting diode) panel, or the like, but the invention is not limited thereto.
The memory unit 230 may be, for example, a non-volatile memory, such as a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), and the like, but the invention is not limited thereto. The storage unit 230 is used for storing the firmware 231 related to the display device 200, such as program codes including a boot program, 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 a program code related to a power-on program 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 code. 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 present 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 Quick Response two-dimensional barcode Decoder 180 (QR Code Decoder), which may be referred to as the QR Code Decoder 180, through one of the transmission interfaces 150. The QR code decoder 180 includes an image obtaining unit 181 and a microcontroller 182, wherein the image obtaining unit 181 may be implemented by a Charge Coupled Device (CCD) sensor or a Complementary Metal Oxide Semiconductor (CMOS) sensor, for example, which is aligned with the display panel 220, and can obtain 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., perform image recognition) the QR code in the QR code image.
Fig. 2A and 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 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 transmit a specific control command and data to the display controller 210 of the display apparatus 200 via the transmission interface 150A (e.g., a USB interface) and the corresponding transmission interface 250A (e.g., a USB interface) of the display apparatus 200 to control the display function and the backlight function of the display panel 220, or may directly write the image data, the program code and/or the 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 can 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. USB interface) of the host 100 is connected to the corresponding transmission interface 250A (e.g. USB interface) of the display device 200, and the transmission interface 150B (e.g. UART interface) of the host 100 is connected to the corresponding transmission interface 250B (e.g. corresponding UART interface) of the display device 200, for displaying 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 can transmit a specific control command to the display controller 210 of the display device 200 through the transmission interface 150A and the transmission interface 250A to control the display function of the display panel 220, and transmit another specific control command to the display controller 210 of the display device 200 through 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 the result of the execution of the display program through different transmission interfaces respectively.
For convenience of illustration, in the following embodiments, the host 100 and the display device 200 are connected through the transmission interfaces 150A and 250A, and the transmission interfaces 150A and 250A are USB interfaces, for example, as shown in fig. 2A. When the display controller 210 initializes the transmission interface 250, the host 100 and the display device 200 can communicate with each other 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 firmware to control the display panel 200 based on the parameters.
In this embodiment, the panel control application 141 can control not only various panel parameters, but also the related settings of the display controller 210 and the buffer memory 240. The panel parameters include, for example: resolution (resolution) of the display panel 220, pixel clock (pixel clock), picture buffer data type (frame buffer data type), clock polarity (clock polarity), internal register setting (internal register setting), 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 time), and the like, but the present invention is not limited thereto.
FIG. 3 is a diagram of a user interface of a panel control application according to an embodiment of the present invention.
In one embodiment, the panel controls the deviceThe user interface 300 of the program 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 setting of 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 back edge (horizontal back point), a horizontal front edge (horizontal front point), and a horizontal pulse width (horizontal pulse width), and the vertical timing may include a vertical back edge (vertical back point), a vertical front edge (vertical front point), and a vertical pulse width (vertical pulse width). The setting of the clock polarity may include the polarity of the horizontal/vertical synchronization signal, the data enable signal, and the pixel clock, such as high-state (active high) or low-state (active low). SPI setup and I2C setting may include pairing SPI and I, respectively2C bus related settings. The image buffer data types may include, for example: RGB555, RGB565, RGBx888, RGB888x, YCbYCr, and the like, although the invention is not limited thereto.
Examples include: 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, the display panel 220 can be correctly lighted (light up) at least when the display parameters listed above meet the timing requirement of the display panel 220.
In detail, after the display controller 210 has successfully executed the parameter control firmware, the panel control application 141 transmits a specific control command 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 manufacturer command (vendor command), and may include the various panel parameters. For example, if the developer wants to modify some panel parameters manually, the modified some panel parameters provided in the user interface of the panel control application 141 can be used.
In addition, the panel control application 141 may automatically adjust the panel parameters according to the feedback information provided by the display controller 210, and add the adjusted panel parameters to a specific control command to be transmitted to the display controller 210. The feedback information may include a status signal (e.g., indicating whether the display panel 220 is successfully lit), an error count value, etc., but the invention is not limited thereto. The display controller 210 decodes the specific control command to execute the panel parameter associated with the specific control command, and drives the display panel 220 according to the new panel parameter.
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 setting file, such as a text file. When the display controller 210 detects that the status signal from the display panel 220 is not lit (e.g., in a low logic state), the display controller 210 may report the status signal back 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 a specific control command to the entire set of panel parameters in the selected profiles to be transmitted 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 is automatically repeated until the display panel 220 is successfully lit or all 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 can use the user interface of the panel control application 141 to manually set one or more panel parameters. Each time any panel parameter in the user interface of the panel control application 141 is modified, the panel control application 141 can automatically add a new set of panel parameters to a specific control command and send the control command to the display controller 210 to drive the display panel 220. Optionally, after the developer adjusts 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 the new set of panel parameters to a specific control command and transmits the control command to the display controller 210 to drive the display panel 220.
After the display panel 220 can be 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., a high logic state) of the display panel 220. For example, the processing unit 110 of the host 100 may pre-write one or more images to be tested into the third predetermined space 243 in the buffer memory 240 through a specific instruction, or pre-write one or more images to be tested into the third predetermined space 243 in the buffer memory 240 through a specific instruction after the display panel 220 is successfully lighted. The display controller 210 may control the display panel 220 to play one or more test patterns 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 patterns 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 properly set, the test image cannot be properly displayed although the display panel 220 can be lit up. At this time, the display controller 210 may report the above situation to the host 100 by using a display status signal (e.g., indicating a display error), and the panel control application 141 may automatically adjust panel parameters such as a horizontal trailing edge, a horizontal leading edge, a horizontal pulse width, a vertical trailing edge, a vertical leading edge, a vertical pulse width, and a driving voltage of a horizontal timing sequence, and transmit the adjusted panel parameters to the display controller 210 through a specific control instruction, and the display controller 210 may 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 view the test image played on the display panel 220 to repeatedly confirm whether the test image can be played normally.
When the number of bit errors of the replayed test image is less than a predetermined threshold, it indicates that the setting of the panel parameter currently used by the display panel 220 can operate normally, and the display controller 210 can report the above situation back to the host 100 by using the display status signal (e.g., indicating that the display is normal), so that the panel control application 141 can store and output (save and export) the panel parameter currently used by the display panel 220 as a corresponding setting file. The setting file is integrated with other drivers of the display controller 210 without modification, so as to compile an execution file that can be displayed correctly on the display panel 220.
Please refer to fig. 1B and fig. 2C to fig. 2D. Fig. 2C to 2D are different from fig. 2A to 2B in that the host 100 in fig. 2C to 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 obtaining unit 181 of the QR code decoder 180 may be aligned with the image (e.g., 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 notify the QR code decoder 180 to start the decoding process of the QR code, and transmit a data result (e.g., which may be referred to as an image recognition result or a test result) decoded by the QR code decoder 180 back to the panel control application 141 through the transmission interface 150C. Therefore, the panel control application 141 can display the test result on a screen (e.g., the display panel 220) or play the test result with a speaker (not shown), and can transmit the test result to the display controller 210 through the transmission interfaces 150B and 250B. The display controller 210 may determine whether the display panel 200 can normally display the image according to the test result.
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 of the display panel 220 are not properly set, the test image cannot be properly displayed although the display panel 220 can be lit. At this time, the QR code decoder 180 may report the image recognition result of the image displayed on the display panel 220 to the host 100, and the panel control application 141 may automatically adjust panel parameters such as a horizontal trailing edge, a horizontal leading edge, and a horizontal pulse width of a horizontal timing sequence, a vertical trailing edge, a vertical leading edge, and a vertical pulse width of a vertical timing sequence, and a driving voltage, and transmit the adjusted panel parameters to the display controller 210 through a specific control command. The display controller 210 may 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 view the test image played on the display panel 220 to repeatedly confirm whether the test image can be played normally.
When the re-played test QR code image is successfully identified by the QR code decoder 180 and the result of the successful identification is reported back to the host 100, it indicates that the setting of the panel parameters currently used by the display panel 220 can be normally operated. When the test image displayed on the display panel 220 is viewed to confirm that the test image is normally displayed, it indicates that the setting of the panel parameters currently used by the display panel 220 can operate normally, so 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 setting file. The setting file is integrated with other drivers of the display controller 210 without modification, so as to compile an execution file that can be displayed correctly on the display panel 220.
In some embodiments, the display device 200 may include a non-volatile memory, such as an SD card or NAND flash memory, for storing a profile generated by the panel control application 141 that allows the display panel 220 to correctly display the image. If the display panel 220 of the display device 200 is replaced but the display controller 210 is not replaced, the above procedure can be used to generate a setting file that allows the new display panel 220 to display correctly, but the parameter control firmware and the driving program of the display panel do not need to be changed. Therefore, through the above process, the product development time of the display device can be greatly shortened.
FIG. 4A is a flowchart illustrating 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 can 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 apparatus 200 is initialized. For example, after the display controller 210 executes the program code of the boot program to initialize the transmission interface 250, the host 100 and the display device 200 can communicate with each other through the USB interface.
In step S430, the host 100 writes the parameter control firmware of the display controller 210 into the buffer memory 240 of the display apparatus 200 through the transmission interface 250. Thus, the display controller 210 can control the firmware to operate based on the parameters.
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 panel parameters include, for example: the resolution of the display panel 220, the pixel clock, the type of the image buffer data, the clock polarity, the internal register setting, the horizontal timing, the vertical timing, the backlight control, the reset control, the data setting time, the 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 command 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 can determine whether the display panel 220 is successfully lit according to a status signal from the display panel 220. If the display panel 220 is successfully lit, go to step S460; 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 executed.
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 erroneous or the display controller 210 may determine whether the played test image is erroneous, such as a bit error of a pixel of the displayed test image or a squeezed image of an eye diagram (eye diagram), and the display controller 210 may calculate the number of bit errors detected by the detection circuit of each column driver and each row driver, and accordingly determine whether the display panel 200 can normally display the image, and the display controller 210 may report a display status signal (e.g., indicating a display error or a display normal) to the host 100.
In step S480, the host 100 automatically adjusts a part of 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: panel parameters such as horizontal trailing edge of horizontal timing, horizontal leading edge and horizontal pulse width, vertical trailing edge of vertical timing, vertical leading edge and vertical pulse width, and driving voltage, but the invention is not limited thereto. It should be noted that, after the step S480, the process returns to the 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., a text profile), and integrates the parameter profile and the related drivers to compile an executable file. For example, the configuration file may be integrated with other drivers of the display controller 210 without modification to compile an executable file that allows the display panel 220 to display correctly.
FIGS. 4B-1 and 4B-2 are flow charts 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 simultaneously.
The flow of FIGS. 4B-1 and 4B-2 is similar to the flow of FIG. 4A, wherein the difference between the flow of FIGS. 4A, 4B-1 and 4B-2 is that step S465 is performed after step S460 in FIGS. 4B-1 and 4B-2, and step S480 is performed when step S470 is determined that the image cannot be normally displayed.
In step S465, the image played by the display panel 220 is photographed 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 can transmit a test image (such as a QR code image) to the display panel 220 of the display device 200 through the transmission interfaces 150A and 250A, and play the test image by the display panel 220. The QR code decoder 180 may capture a test image displayed on 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. Therefore, the panel control application 141 can display the test result on a screen (e.g., the display panel 220) or play the test result with a speaker (not shown), and can transmit the test result 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 the image according to the test result.
In summary, the present invention provides a display device and a method for automatically adjusting panel parameters, which enable a host and the display device in a display system to automatically adjust panel parameters and backlight parameters that enable a display panel to correctly 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 used to generate a setting file that allows the new display panel to display correctly, but the parameter control firmware and the driving program of the display panel do not need to be changed. Therefore, the invention can greatly shorten the product development time of the display device.
Although the present invention has been described with reference to the preferred embodiments, it should be understood that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A display system, comprising:
a host computer for executing a panel control application program; 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, 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 selects another profile from the database, and transmits the panel parameters in the another profile to the display controller by using the specific control command to drive the display panel according to the panel parameters until the display panel is successfully lit.
2. The display system of claim 1, wherein 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 illuminated, the display controller controls the display panel to display one or more test images stored in the buffer memory.
3. The display system of claim 2, further comprising: a QR code decoder electrically connected to the host computer for shooting the test image displayed on the display panel and carrying out image recognition, and transmitting the image recognition result to the panel control application program of the host computer, wherein the panel control application program further transmits the image recognition result to the display controller to judge whether the display panel can normally display the test image.
4. The display system of claim 3, wherein when the display panel fails to display the test image normally, the display controller transmits a display status signal indicating a display error to the host, and the panel control application 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.
5. The display system of claim 2, wherein the display panel comprises one or more row drivers and one or more column drivers, and each of the row drivers and each of the column drivers comprises a detection circuit for detecting a number of bit errors 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 number of bit errors;
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 display error to the host, and the panel control application program automatically adjusts a plurality of panel parameters of one part of the display panel and transmits the adjusted panel parameters to the display controller to drive the display panel.
6. The display system of claim 4, wherein when the display controller determines that the display panel can normally display the test image, the panel control application stores and outputs the currently used panel parameters as a parameter profile, and integrates the parameter profile and the related driver to compile an executable file of the display controller.
7. A method for automatically adjusting panel parameters is used for a display system, the display system comprises a host and a display device, the display device comprises a display controller and a display panel, the method comprises:
selecting a configuration file comprising a plurality of panel parameters from a database of the host computer, and sending a specific control instruction to transmit the panel parameters in the configuration file to the display controller;
driving the display panel by using the display controller according to the panel parameters;
judging whether the display panel is successfully lightened by using the display controller according to a state signal from the display panel; and
in response to the display panel not being successfully lighted, another profile is selected from the database, and the specific control command is utilized to transmit the panel parameters in the another profile to the display controller so as to drive the display panel according to the panel parameters until the display panel is successfully lighted.
8. The method as claimed in claim 7, wherein 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:
and 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.
9. The method as claimed in claim 8, wherein 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 the panel control application of the host, and the method further comprises:
and transmitting the image identification result to the display controller to judge whether the display panel can normally display the test image.
10. The method of claim 9, further comprising:
when the display panel can not normally display the test image, the display controller is utilized to transmit a display state signal representing display error to the host; and
the host is used for automatically adjusting a plurality of panel parameters of a part of the display panel and transmitting 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 true CN113126946A (en) 2021-07-16
CN113126946B 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)

Cited By (1)

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

Citations (7)

* 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
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
US20130021306A1 (en) * 2011-07-20 2013-01-24 Novatek Microelectronics Corp. Display panel driving apparatus and operation method thereof and source driver thereof
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

Patent Citations (7)

* 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
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
US20130021306A1 (en) * 2011-07-20 2013-01-24 Novatek Microelectronics Corp. Display panel driving apparatus and operation method thereof and source driver thereof
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

Cited By (2)

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

Also Published As

Publication number Publication date
CN113126946B (en) 2023-06-09
TWI780391B (en) 2022-10-11
TW202127243A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
US20070076006A1 (en) Detection of displays for information handling system
US20090300588A1 (en) Method and apparatus for acquiring definitions of debug code of basic input/output system
EP1712999A2 (en) Apparatus and method for testing a computer system
US20070168738A1 (en) Power-on error detection system and method
US11624788B2 (en) Display module test platform
US20040010773A1 (en) Method and apparatus for displaying debug codes of a baisc input/output system
US20100097357A1 (en) Computer and method for controlling external display device
US8955752B2 (en) Automatic testing system and automatic testing method for testing barcode identification apparatus
CN109388345B (en) Data reading method of memory, display device and computer readable storage medium
US20110296257A1 (en) Post card
US7053864B1 (en) Hot-plugging method of display apparatus
US8982158B2 (en) Computer screen image displaying method, computer having a vertical display device, and computer program product
US20090217105A1 (en) Debug device for embedded systems and method thereof
US7747909B2 (en) Debug card
CN113126946B (en) Display system and automatic panel parameter adjusting method
US7457942B2 (en) PC card control device, computer system using the PC card control device, and PC card identifying method
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
US6892263B1 (en) System and method for hot swapping daughtercards in high availability computer systems
CN110767188B (en) Display panel driving system
TWI436203B (en) Testing method for automatically rebooting a motherboard and recording related debug information and rebooting device thereof
US20050257095A1 (en) Apparatus and method for detecting and indicating faults on a motherboard
CN111752623A (en) Display configuration method and device, electronic equipment and readable storage medium
US20070239976A1 (en) Message displaying system and method

Legal Events

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