Display driving method and system
By automatically generating row scanning time and row display control time, and generating display driving signals in combination with reference clock signals, the complex problem of existing display equipment debugging process is solved and the requirements for the controller are reduced.
Patent Information
- Application Number
- CN202210603267.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2042-05-30
AI Technical Summary
The debugging process of existing display devices is complicated and requires manual setting of complex parameters, resulting in high requirements for the controller.
By obtaining the preset driving parameters and screen display data of the display device, the row scanning time and row display control time of each row are automatically generated according to the refresh rate and frame rate ratio of the actual application, and the row scanning clock signal is generated with the reference clock signal and Display control clock signal and drive display device.
There is no need to manually set all parameters of the display driver, which simplifies the debugging process of the display device and reduces the requirements for controllers in different application scenarios.
Smart Images

Figure CN114974089B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display control technology, and in particular to a display driving method and system. Background Art
[0002] With the continuous development of LED (Light-emitting Diode) lighting display field, more types of LED lighting products have begun to appear. Backlight display products based on Mini-LED (Mini Light-emitting Diode) are one of the new development trends.
[0003] In the related art, when debugging the display effect of a display device, in order to achieve a better display effect, it is often necessary to perform complex parameter settings through a controller in advance, which complicates the debugging process of the display device and leads to higher requirements for the controller. Summary of the invention
[0004] The main purpose of the present invention is to provide a display driving method and system, aiming to solve the technical problem of the complex debugging process of the existing display device.
[0005] To achieve the above object, the present invention adopts the following technical solution:
[0006] In a first aspect, the present invention provides a display driving method, the method comprising:
[0007] Acquire preset driving parameters and screen display data of the display device, wherein the preset driving parameters include the number of scanning lines, the maximum grayscale value and the scanning line change time;
[0008] According to the ratio of the refresh rate to the frame rate of the display device in actual application, the number of line scanning cycles of a single frame is obtained;
[0009] According to the frame rate, the number of line scanning cycles and the preset driving parameters, the line scanning time and the line display control time of each line are obtained;
[0010] Generate a row scanning clock signal and a display control clock signal according to the row scanning time, the row display control time, the reference clock signal and the preset driving parameters;
[0011] The display device is driven to display according to the row scanning clock signal, the display control clock signal and the picture display data.
[0012] Optionally, according to the frame rate, the number of row scanning cycles and the preset driving parameters, the row scanning time and the row display control time of each row are obtained, including:
[0013] According to the frame rate, the number of line scanning cycles and the number of scanning lines, the line scanning time of each line is obtained;
[0014] The row display control time of each row is obtained according to the difference between the row scanning time and the scanning line wrapping time.
[0015] Optionally, generating a row scanning clock signal and a display control clock signal according to the row scanning time, the row display control time, the reference clock signal and the preset driving parameters includes:
[0016] According to the reference clock signal and the row display control time, the display clock number within the row display control time is obtained;
[0017] According to the reference clock signal and the scanning line-changing time, the line-changing clock number is obtained;
[0018] Generate a line scanning clock signal according to the display clock number and the line feed clock number;
[0019] According to the line display control time, the number of scanning cycles and the preset driving parameters, the minimum display clock frequency of a single frame is obtained;
[0020] The reference clock signal is multiplied according to the minimum display clock frequency to obtain a display control clock signal.
[0021] Optionally, according to the row display control time, the number of scanning cycles and the preset driving parameters, the minimum display clock frequency of a single frame is obtained, including:
[0022] According to the line display control time, the line scanning cycle number and the scanning line number, the total display control time of a single frame is obtained;
[0023] According to the maximum grayscale value and the number of scanning lines, the minimum number of display control clocks for a single frame is obtained;
[0024] According to the ratio of the display control clock number and the total display control time, the minimum display clock frequency of a single frame is obtained.
[0025] Optionally, multiplying the reference clock signal according to the minimum display clock frequency to obtain a display control clock signal includes:
[0026] A frequency multiplication factor is obtained according to a ratio of the minimum display clock frequency to the frequency of the reference clock signal;
[0027] The reference clock signal is multiplied according to the multiplication factor to obtain a display control clock signal.
[0028] Optionally, before the step of obtaining preset driving parameters and picture display data of the display device, the method further includes:
[0029] Obtaining initial preset driving parameters of the display device;
[0030] The initial preset driving parameters are parsed to obtain the preset driving parameters.
[0031] Optionally, before obtaining the number of line scanning cycles of a single frame according to the ratio of the refresh rate to the frame rate of the display device in actual application, the method further includes:
[0032] Count two consecutive frame signals to obtain a single frame time;
[0033] According to the single frame time, the frame rate of the display device in actual application is obtained.
[0034] In a second aspect, the present invention further provides a display driving system, the system comprising:
[0035] A display driver device, the display driver device includes a parameter acquisition module, a parameter generation module, and a signal generation module;
[0036] A parameter acquisition module, used to acquire preset driving parameters and screen display data of the display device, wherein the preset driving parameters include the number of scanning lines, the maximum grayscale value and the scanning line change time;
[0037] The parameter acquisition module is also used to obtain the number of line scanning cycles of a single frame according to the ratio of the refresh rate to the frame rate when the display device is actually used;
[0038] A parameter generation module, used for obtaining the row scanning time and row display control time of each row according to the frame frequency, the number of row scanning cycles and the preset driving parameters;
[0039] A signal generating module, used for generating a row scanning clock signal and a display control clock signal according to a row scanning time, a row display control time, a reference clock signal and preset driving parameters;
[0040] The display device is used for displaying data according to a line scanning clock signal, a display control clock signal and a picture display.
[0041] Optionally, the system further comprises:
[0042] User equipment, used to input preset driving parameters.
[0043] Optionally, the display driver device further includes:
[0044] The reference clock module is used to generate a reference clock signal.
[0045] The present invention provides a display driving method and system, which generates a row scanning time and a row display control time for each row according to preset driving parameters and actual application parameters of a display device, then obtains a row scanning clock signal and a display control clock signal by combining a reference clock signal and preset driving parameters, and finally controls the display device to display data according to a screen display according to the row scanning clock signal and the display control clock signal; based on a preset part of driving parameters and an actual application scenario, automatically generates other driving parameters, combines the preset driving parameters and the automatically generated driving parameters to generate a display driving signal, drives the display device to display data according to the screen display, and does not need to manually set all the parameters of the display driver, thereby solving the technical problem of the complex debugging process of the existing display device and reducing the requirements for the controller in different application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0047] Figure 1 It is a flow chart of a first embodiment of a display driving method of the present invention;
[0048] Figure 2 is a flow chart of a second embodiment of a display driving method of the present invention;
[0049] Figure 3 A schematic diagram of the architecture of a display driving system provided by an exemplary embodiment;
[0050] Figure 4 A diagram showing the relationship between the row scanning period and the row scanning time of a single frame of the display driving method according to the first embodiment of the present invention;
[0051] Figure 5 This is a diagram showing the output of a row scanning clock signal and a display control clock signal based on a reference clock for a single frame of the display driving method according to the first embodiment of the present invention.
[0052] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0054] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0055] In the present invention, the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a device or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such a device or system. In the absence of more restrictions, an element defined by the sentence "comprising..." does not exclude the presence of other identical elements in the device or system including the element.
[0056] In view of the technical problem of the complex debugging process of the existing display device, the present invention provides a display driving method and system, and the overall idea is as follows:
[0057] The method includes: obtaining preset driving parameters and picture display data of a display device, wherein the preset driving parameters include the number of scan lines, the maximum grayscale value and the scan line change time; obtaining the number of line scan cycles of a single frame picture according to the ratio of the refresh rate to the frame rate when the display device is actually used; obtaining the line scan time and the line display control time of each line according to the frame rate, the number of line scan cycles and the preset driving parameters; generating a line scan clock signal and a display control clock signal according to the line scan time, the line display control time, a reference clock signal and the preset driving parameters; and driving the display device to display according to the line scan clock signal, the display control clock signal and the picture display data.
[0058] The present invention provides a display driving method and system, which generates a row scanning time and a row display control time for each row according to preset driving parameters and actual application parameters of a display device, then obtains a row scanning clock signal and a display control clock signal by combining a reference clock signal and the preset driving parameters, and finally controls a liquid crystal display panel to display data according to a screen display according to the row scanning clock signal and the display control clock signal; based on a preset part of the driving parameters and an actual application scenario, automatically generates other driving parameters, combines the preset driving parameters and the automatically generated driving parameters to generate a display driving signal, drives the display device to display data according to the screen display, and does not need to manually set all the parameters of the display driver, thereby solving the technical problem of the complex debugging process of the existing display device and reducing the requirements for the controller in different application scenarios.
[0059] The display driving method and system of the present invention are described in detail below in conjunction with the accompanying drawings and specific implementations.
[0060] Embodiment 1
[0061] Reference Figure 1 , Figure 1 This is a flow chart of a first embodiment of a display driving method of the present invention. This embodiment provides a display driving method, the method comprising:
[0062] Step S100: obtaining preset driving parameters and picture display data of the display device, wherein the preset driving parameters include the number of scanning lines, the maximum grayscale value and the scanning line change time;
[0063] Step S200: obtaining the number of line scanning cycles of a single frame according to the ratio of the refresh rate to the frame rate in actual application of the display device;
[0064] Step S300: obtaining the row scanning time and row display control time of each row according to the frame rate, the number of row scanning cycles and the preset driving parameters;
[0065] Step S400: generating a row scanning clock signal and a display control clock signal according to the row scanning time, the row display control time, the reference clock signal and the preset driving parameters;
[0066] Step S500: driving the display device to display according to the row scanning clock signal, the display control clock signal and the picture display data.
[0067] In this embodiment, the execution subject is a display driver device, which is connected to the display device. It can automatically generate other driving parameters based on preset partial driving parameters and actual application parameters, and generate a display driving signal by combining the preset driving parameters and the automatically generated driving parameters to drive the display device to display.
[0068] In addition, in this embodiment, the screen display data includes data such as display grayscale, which can be set according to actual needs; the refresh rate H and the frame rate f are related to the actual application environment of the display device and can be obtained according to the actual application scenario requirements; as follows, according to the ratio of the refresh rate H and the frame rate f, the calculation formula for the number of row scanning cycles N is obtained as follows:
[0069]
[0070] In a specific implementation, when debugging the display effect of a display device, the display driver first obtains the number of scan lines, the maximum grayscale value, and the scan line change time of the display device, and obtains the number of line scan cycles N of a single frame according to the ratio of the refresh rate H to the frame rate f during actual application of the display device; then, according to the frame rate f, the number of line scan cycles N, and preset driving parameters, the line scan time and line display control time of each line are obtained; again, according to the line scan time, the line display control time, the reference clock signal, and the preset driving parameters, a line scan clock signal and a display control clock signal are generated; finally, according to the line scan clock signal, the display control clock signal, and the picture display data, the display device is driven to display.
[0071] The present embodiment provides a display driving method, which generates a row scanning time and a row display control time for each row according to preset driving parameters and actual application parameters of a display device, then obtains a row scanning clock signal and a display control clock signal by combining a reference clock signal and preset driving parameters, and finally controls a liquid crystal display panel to display data according to a screen display according to the row scanning clock signal and the display control clock signal; automatically generates other driving parameters based on preset partial driving parameters and actual application parameters, generates a display driving signal by combining the preset driving parameters and the automatically generated driving parameters, drives the display device to display data according to the screen display, and does not require manual setting of all display driving parameters, thereby solving the technical problem of a complex debugging process of an existing display device and reducing the requirements for controllers in different application scenarios.
[0072] Specifically, before step S200, the method further includes:
[0073] Step S800: Count two consecutive frame signals to obtain a single frame time;
[0074] Step S900: obtaining the frame rate of the display device in actual use according to the single frame time.
[0075] In this embodiment, Figure 4 As shown, the number of row scanning cycles N is a positive integer greater than or equal to 1; the single frame time T fis the interval time from the current frame to the next frame. When switching from the current frame to the next frame, the display driver device can receive two consecutive frame signals. By counting the two consecutive frame signals, the single frame time T can be obtained. f ; As follows, according to the single frame time T f , the calculation formula of the frame rate f in actual application of the display device is obtained as:
[0076]
[0077] In a specific implementation, when debugging the display effect of a display device, when the display screen switches from the current frame to the next frame, the display driver receives two consecutive frame signals; then, the two consecutive frame signals are counted to obtain a single frame time T. f ; Finally, based on the single frame time, the frame rate f of the display device in actual application is obtained.
[0078] This embodiment provides a display driving method, which obtains the actual application parameters of the display device by counting frame signals to obtain the single frame time. There is no need to manually set the actual application parameters of the display device, which solves the technical problem of the complex debugging process of the existing display device and reduces the requirements for the controller in different application scenarios.
[0079] Specifically, step S300 includes:
[0080] Step S310: Obtaining the row scanning time of each row according to the frame rate, the row scanning cycle number and the number of scanning rows;
[0081] Step S320: Obtain the row display control time of each row according to the difference between the row scanning time and the scanning line change time.
[0082] In this embodiment, the number of scanning lines S is a positive integer greater than or equal to 1; according to the frame rate f, the number of scanning cycles N and the number of scanning lines S, the line scanning time T of each line is obtained. s The calculation formula is:
[0083]
[0084] like Figure 4 As shown, the row scanning time T s Including line break time T A And line display control time T PWM , according to the row scanning time T s Scan line time T A The difference between the two values is used to obtain the row display control time T for each row. PWM The calculation formula is:
[0085] T PWM =T s-T A .
[0086] In a specific implementation, when debugging the display effect of a display device, the display driver calculates the frame rate f of the display device according to the actual application, and then calculates the number of line scanning cycles N; then, according to the frame rate f, the number of line scanning cycles N and the number of scanning lines S, the line scanning time T of each line is calculated. s ; Finally, according to the row scanning time T s Scan line time T A The difference between the two is used to calculate the row display control time T for each row. PWM .
[0087] The present embodiment provides a display driving method, which generates a row scanning time and a row display control time for each row according to the number of scanning rows, the maximum grayscale value and the scanning line change time, combined with the refresh rate and frame rate of the actual application of the display device. The row scanning time and the row display control time are automatically generated based on preset partial driving parameters and actual application parameters, without the need to manually set all driving parameters of the display driver, thereby solving the technical problem of the complex debugging process of the existing display device and reducing the requirements for the controller in different application scenarios.
[0088] Specifically, step S400 includes:
[0089] Step S410: Obtaining the number of display clocks within the row display control time according to the reference clock signal and the row display control time;
[0090] Step S420: Obtaining the line feed clock number according to the reference clock signal and the scanning line feed time;
[0091] Step S430: Generate a row scanning clock signal according to the display clock number and the line feed clock number;
[0092] Step S440: obtaining the minimum display clock frequency of a single frame according to the row display control time, the number of scanning cycles and the preset driving parameters;
[0093] Step S450: multiplying the reference clock signal according to the minimum display clock frequency to obtain a display control clock signal.
[0094] In this embodiment, the display driver device can generate an internal reference clock signal; Figure 5 As shown, the row scanning clock signal is S m , m is a positive integer greater than or equal to 1, f osc_clk Indicates the frequency of the reference clock signal; in the scanning line change time T A In, the number of line feed clocks N A The reference clock signal is in the scanning line change time T AThe number of pulses within; as follows, according to the reference clock signal and the scan line time T A , get the line break clock number N A The calculation formula is:
[0095] N A =T A ×f osc_clk .
[0096] In addition, the control time T is displayed in the row PWM Displays the number of clocks N PWM is the number of pulses of the reference clock signal within the line scan control time; as follows, according to the reference clock signal and the line display control time T PWM , get the display clock number N within the row display control time PWM The calculation formula is:
[0097] N PWM =T PWM ×f osc_clk .
[0098] In the specific implementation, according to the frequency f of the reference clock signal osc_clk And line display control time T PWM , calculate the row display control time T PWM The number of pulses of the reference clock signal within the display clock number N is obtained. PWM ; According to the frequency f of the reference clock signal osc_clk and scanning line time T A , calculate the scanning line time T A The number of pulses of the reference clock signal within the line is obtained to obtain the line feed clock number N A ; According to the display clock number N PWM and line feed clock number N A , generate the row scan clock signal S for each row m ; According to the line display control time T PWM , the number of scanning cycles N and the preset driving parameters, and obtain the minimum display clock frequency f of a single frame gclk , according to the minimum display clock frequency f gclk , multiply the reference clock signal to obtain the display control clock signal.
[0099] This embodiment provides a display driving method, which calculates the scan clock number and the line break clock number through the line display control time, the scan line break time and the reference clock signal, and generates a line scan clock signal. There is no need to manually set the scan clock number and the line break clock number of the line scan clock signal, which solves the technical problem of complex debugging process of the display device and reduces the requirements for the display controller in different application scenarios.
[0100] Specifically, step S440 includes:
[0101] Step S441: Obtaining the total display control time of a single frame according to the row display control time, the row scanning cycle number and the scanning row number;
[0102] Step S442: Obtaining the minimum number of display control clocks for a single frame according to the maximum grayscale value and the number of scanning lines;
[0103] Step S443: Obtain the minimum display clock frequency of a single frame according to the ratio of the display control clock number to the total display control time.
[0104] In this embodiment, according to the row display control time T PWM , the number of line scanning cycles N and the number of scanning lines S, and the total display control time T of a single frame is obtained. all_PWM The calculation formula is:
[0105] T all_PWM =T PWM ×S×N.
[0106] In addition, according to the maximum grayscale value G and the number of scanning lines S, the minimum number of display control clocks N within the single frame line display control time is obtained. all_gclk The calculation formula is:
[0107] N all_clk =(G / N)×S×N=G×S.
[0108] Furthermore, in this embodiment, the row display control time T of each row in a single frame is PWM It is composed of G / N display control clocks. The total display control time in a single frame is T all_PWM After confirmation, control the clock number N according to the display all_gclk And the total display control time T all_PWM The ratio of the minimum display clock frequency f of a single frame is obtained. gclk The calculation formula is:
[0109]
[0110] In the specific implementation, first, according to the row display control time T PWM , the number of line scanning cycles N and the number of scanning lines S, and the total display control time T of a single frame is obtained. all_PWM Then, according to the maximum grayscale value G and the number of scanning lines S, the minimum number of display control clocks N for a single frame is obtained. all_gclk ; Finally, according to the display control clock number N all_gclk And the total display control time T all_PWM The ratio of the minimum display clock frequency f of a single frame is obtained. gclk .
[0111] Specifically, step S450 includes:
[0112] Step S451: obtaining a frequency multiplication factor according to a ratio of the minimum display clock frequency to the frequency of the reference clock signal;
[0113] Step S452: multiply the reference clock signal according to the multiplication factor to obtain a display control clock signal.
[0114] In this embodiment, the display control clock signal is generated by multiplying the reference clock signal to obtain the minimum display clock frequency f gclk After that, the display driver device will gclk Generate a multiplication factor R, and multiply the reference clock model according to the multiplication factor R to generate the required display control clock signal; wherein, according to the minimum display clock frequency f gclk The reference clock signal frequency f osc_clk The formula for the frequency multiplication factor R is:
[0115]
[0116] In the specific implementation, according to the minimum display clock frequency f gclk The reference clock signal frequency f osc_clk After obtaining the frequency multiplication factor R, the reference clock signal is multiplied according to the frequency multiplication factor R to obtain the display control clock signal.
[0117] The present embodiment provides a display driving method, which obtains a minimum display clock frequency based on the automatically generated row display control time and the number of scan cycles in combination with preset driving parameters, and multiplies a reference clock signal based on the minimum display clock frequency to obtain a display control clock signal to drive a display device to display. There is no need to manually set all parameters for generating a display control clock signal, which solves the technical problem of the complex debugging process of existing display devices and reduces the requirements for controllers in different application scenarios.
[0118] Embodiment 2
[0119] Further, see Figure 2 , Figure 2 1 is a flow chart of a second embodiment of a display driving method of the present invention. This embodiment provides a display driving method. Based on the above-mentioned embodiment 1, before step S100, the method further includes:
[0120] Step S600: obtaining initial preset driving parameters of the display device;
[0121] Step S700: parsing the initial preset driving parameters to obtain the preset driving parameters.
[0122] In this embodiment, the initial preset driving parameters may be input through an external device connected to the display driving device, and the initial preset driving parameters need to be parsed to become preset driving parameters that can be recognized by the display driving device.
[0123] In a specific implementation, the display driving device obtains the initial preset driving parameters input by the external device, parses the initial preset driving parameters, and obtains the preset driving parameters.
[0124] This embodiment provides a backlight display driving method, which can obtain data recognizable by a display driving device by parsing initial preset driving parameters.
[0125] Embodiment 3
[0126] Based on the same inventive concept, the embodiment of the present invention further provides a display driving system, referring to Figure 3 , Figure 3 A schematic diagram of the architecture of a display driving system provided by an exemplary embodiment, the system includes:
[0127] Display driving device 10, the display driving device includes a parameter acquisition module 11, a parameter generation module 12, and a signal generation module 13;
[0128] The parameter acquisition module 11 is used to acquire preset driving parameters and screen display data of the display device 20, wherein the preset driving parameters include the number of scanning lines, the maximum grayscale value and the scanning line change time;
[0129] The parameter acquisition module 11 is also used to obtain the number of line scanning cycles of a single frame according to the ratio of the refresh rate to the frame rate of the display device 20 in actual application;
[0130] A parameter generation module 12, used to obtain the row scanning time and row display control time of each row according to the frame frequency, the number of row scanning cycles and the preset driving parameters;
[0131] A signal generating module 13, for generating a row scanning clock signal and a display control clock signal according to a row scanning time, a row display control time, a reference clock signal and preset driving parameters;
[0132] The display device 20 is used for displaying the picture display data according to the row scanning clock signal, the display control clock signal and the picture display data.
[0133] Specifically, the system also includes:
[0134] User equipment, used to input preset driving parameters.
[0135] Specifically, the display driving device 10 further includes:
[0136] The reference clock module is used to generate a reference clock signal.
[0137] In this embodiment, the display driver device 10 is connected to the display device 20, and can automatically generate other driving parameters based on preset partial driving parameters and actual application parameters, and generate a display driving signal by combining the preset driving parameters and the automatically generated driving parameters to drive the display device 20 to display; the display driver device 10 can also generate an internal reference clock signal.
[0138] In a specific implementation, when debugging the display effect of the display device 20, the display driver device 10 first obtains the number of scan lines, the maximum grayscale value and the scan line change time of the display device 20 through the parameter acquisition module 11, and obtains the number of line scan cycles of a single frame according to the ratio of the refresh rate to the frame rate in actual application of the display device 20; then, the parameter generation module 12 obtains the line scan time and the line display control time of each line according to the frame rate, the number of line scan cycles and the preset driving parameters; again, the signal generation module 13 generates a line scan clock signal and a display control clock signal according to the line scan time, the line display control time, the reference clock signal generated by the reference clock module and the preset driving parameters; finally, the display device 20 displays the data according to the line scan clock signal, the display control clock signal and the screen display.
[0139] The present embodiment provides a display driving system, wherein a display driving device generates a row scanning time and a row display control time for each row according to preset driving parameters and actual application parameters of a display device, then obtains a row scanning clock signal and a display control clock signal by combining a reference clock signal and preset driving parameters, and finally controls a liquid crystal display panel to display data according to a screen display according to the row scanning clock signal and the display control clock signal; the display driving device automatically generates other driving parameters based on preset partial driving parameters and actual application scenarios, generates a display driving signal by combining the preset driving parameters and the automatically generated driving parameters, and drives the display device to display data according to the screen display without manually setting all parameters of the display driver, thereby solving the technical problem of a complex debugging process of existing display devices and reducing the requirements for controllers in different application scenarios.
[0140] For more implementation details in the specific implementation of the above display driving system, please refer to the description of the specific implementation of the display driving method in any one of the above embodiments 1 to 2, and for the sake of brevity of the specification, they will not be repeated here.
[0141] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A display driving method, characterized in that: The method comprises: Acquire preset driving parameters and screen display data of the display device, wherein the preset driving parameters include the number of scanning lines, the maximum grayscale value and the scanning line change time; According to the ratio of the refresh rate to the frame rate of the display device in actual application, the number of line scanning cycles of a single frame is obtained; Obtaining a row scanning time and a row display control time for each row according to the frame frequency, the row scanning cycle number and the preset driving parameters; Generate a row scanning clock signal and a display control clock signal according to the row scanning time, the row display control time, a reference clock signal and the preset driving parameters; The display device is driven to display according to the row scanning clock signal, the display control clock signal and the picture display data.
2. The method according to claim 1, characterized in that The obtaining of the row scanning time and the row display control time of each row according to the frame rate, the row scanning cycle number and the preset driving parameter comprises: Obtaining a row scanning time for each row according to the frame frequency, the row scanning cycle number and the number of scanning rows; The row display control time of each row is obtained according to the difference between the row scanning time and the scanning line change time.
3. The method according to claim 1, characterized in that The generating of a row scanning clock signal and a display control clock signal according to the row scanning time, the row display control time, the reference clock signal and the preset driving parameter comprises: According to the reference clock signal and the row display control time, obtaining the number of display clocks within the row display control time; According to the reference clock signal and the scan line-changing time, the number of line-changing clocks in the scan line-changing time is obtained; Generate a row scanning clock signal according to the display clock number and the line feed clock number; Obtaining the minimum display clock frequency of the single frame according to the row display control time, the number of scanning cycles and the preset driving parameters; The reference clock signal is multiplied according to the minimum display clock frequency to obtain a display control clock signal.
4. The method according to claim 3, characterized in that The obtaining of the minimum display clock frequency of the single frame according to the row display control time, the number of scanning cycles and the preset driving parameters comprises: Obtaining the total display control time of the single frame according to the row display control time, the row scanning cycle number and the scanning row number; According to the maximum grayscale value and the number of scanning lines, obtaining the minimum number of display control clocks for a single frame; The minimum display clock frequency of the single frame is obtained according to the ratio of the display control clock number to the total display control time.
5. The method according to claim 3, characterized in that The step of multiplying the reference clock signal according to the minimum display clock frequency to obtain a display control clock signal comprises: Obtaining a frequency multiplication factor according to a ratio of the minimum display clock frequency to the frequency of the reference clock signal; The reference clock signal is frequency-multiplied according to the frequency multiplication coefficient to obtain a display control clock signal.
6. The method according to claim 1, characterized in that Before the step of obtaining preset driving parameters and picture display data of the display device, the method further includes: Acquiring initial preset driving parameters of the display device; The initial preset driving parameters are parsed to obtain the preset driving parameters.
7. The method according to claim 1, characterized in that Before obtaining the number of line scanning cycles of a single frame according to the ratio of the refresh rate to the frame rate of the display device in actual application, the method further includes: Count two consecutive frame signals to obtain a single frame time; According to the single frame time, the frame rate of the display device in actual application is obtained.
8. A display driving system, characterized in that: The system comprises: A display driving device, the display driving device comprising a parameter acquisition module, a parameter generation module, and a signal generation module; The parameter acquisition module is used to acquire preset driving parameters and screen display data of the display device, wherein the preset driving parameters include the number of scanning lines, the maximum grayscale value and the scanning line change time; The parameter acquisition module is further used to obtain the number of line scanning cycles of a single frame according to the ratio of the refresh rate to the frame rate when the display device is actually used; The parameter generation module is used to obtain the row scanning time and row display control time of each row according to the frame frequency, the row scanning cycle number and the preset driving parameters; The signal generating module is used to generate a row scanning clock signal and a display control clock signal according to the row scanning time, the row display control time, the reference clock signal and the preset driving parameters; The display device is used for displaying according to the row scanning clock signal, the display control clock signal and the picture display data.
9. The system according to claim 8, characterized in that The system further comprises: The user device is used to input the preset driving parameters.
10. The system according to claim 8, characterized in that The display driving device further includes: A reference clock module is used to generate the reference clock signal.
Citation Information
Patent Citations
Display module testing equipment
CN104318882A
Method and device for lightening display screen by test fixture
CN107845357A