A parameter determination method and device, apparatus, and storage medium

By acquiring system clock and register performance parameters, the number of scans, frame fields, and grayscale clocks of the LED display device are dynamically calculated, solving the problem that the configuration parameters of the LED driver chip cannot be adaptive and achieving stable display effects.

CN117561563BActive Publication Date: 2026-06-23XIAN QINGSONG PHOTOELECTRIC TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
XIAN QINGSONG PHOTOELECTRIC TECH CO LTD
Filing Date
2022-04-26
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

The existing pre-configuration method for LED driver chip configuration parameters cannot adapt to different display devices, resulting in inconsistent display performance.

Method used

By obtaining the number of system clocks and the performance parameters of the display device registers in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe are determined. The grayscale clock frequency, line blanking time, and frame interval time are calculated, and the display device is driven to display the content of the next frame.

Benefits of technology

It enables adaptive adjustment of grayscale clock frequency, line blanking time, and frame interval time regardless of the display device type, ensuring the stability of the display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117561563B_ABST
    Figure CN117561563B_ABST
Patent Text Reader

Abstract

The application discloses a parameter determination method, which can adaptively combine performance parameters of a display device to determine a gray scale clock frequency, a line blanking time and a frame interval time, and effectively ensures the display effect of the display device. The method comprises the following steps: acquiring the number of system clocks in a current frame and the performance parameters of registers in the display device (S110); determining the screen scanning number, the sub-frame field number and the single sub-frame gray scale clock number according to the performance parameters (S120); determining the gray scale clock frequency, the line blanking time and the frame interval time according to the number of system clocks in the current frame, the screen scanning number, the sub-frame field number and the single sub-frame gray scale clock number (S130); and driving the display device to display the content of a next frame of the current frame according to the gray scale clock frequency, the line blanking time and the frame interval time (S140).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal processing technology, and in particular to a parameter determination method, apparatus, device and storage medium. Background Technology

[0002] To ensure display quality, most existing LED (Light-Emitting Diode) displays use LED driver chips with built-in PWM (Pulse Width Modulation) counters and RAM (Random Access Memory). The configuration parameters of this LED driver chip (such as frame rate, grayscale clock frequency, line blanking time, frame interval, number of screen scans, number of subframe fields, and number of grayscale clocks per subframe) will affect the display effect of the LED screen.

[0003] In practical applications, different devices may be configured with different frame rates. To adapt to different frame rates and ensure display quality, existing technologies typically pre-configure the LED driver chip with configuration parameters corresponding to each type of display device. However, this method has limited applicability; if the pre-stored configuration parameters do not match the display device, the display quality of that device cannot be guaranteed. Summary of the Invention

[0004] This invention provides a parameter determination method, apparatus, device, and storage medium, which solves the problem that the method of pre-configuring the configuration parameters of the LED driver chip cannot adapt to the performance of the display device and cannot effectively guarantee the display effect.

[0005] In a first aspect, embodiments of the present invention provide a parameter determination method, which includes: acquiring the number of system clocks in the current frame and the performance parameters of each register in the display device; then, determining the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe based on the acquired performance parameters; and determining the grayscale clock frequency, the line blanking time, and the frame interval time based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe in the current frame; finally, driving the display device to display the content of the next frame of the current frame based on the grayscale clock frequency, the line blanking time, and the frame interval time.

[0006] In one optional implementation, the above-mentioned "determining the grayscale clock frequency based on the number of system clocks, screen scans, subframe fields, and single-subframe grayscale clocks in the current frame" includes: determining the number of system clocks included in the grayscale clock based on the number of system clocks, screen scans, subframe fields, and single-subframe grayscale clocks in the current frame; and then determining the grayscale clock frequency based on the number of system clocks included in the grayscale clock and the system clock. Here, the number of system clocks included in the grayscale clock satisfies the following formula:

[0007] N2*C1*C2*C3 <N1;

[0008] Where C1 represents the number of screen scans, C2 represents the number of subframe fields, C3 represents the number of grayscale clocks per subframe, N1 represents the number of system clocks in the current frame, and N2 represents the number of grayscale clocks that include system clocks.

[0009] In another optional implementation, the above-mentioned "determining the line blanking time based on the number of system clocks, screen scans, subframe fields, and single subframe grayscale clocks in the current frame" includes: determining the number of system clocks used for line blanking and frame intervals within a time period based on the number of system clocks, screen scans, subframe fields, and single subframe grayscale clocks in the current frame (i.e., determining the first value); obtaining the number of system clocks included in a preset interval time; and then determining the number of system clocks included in the line blanking time based on the first value, the number of system clocks included in the preset interval time, the number of screen scans, and the number of subframe fields. After determining the number of system clocks included in the line blanking time, the line blanking time is determined based on the number of system clocks included in the line blanking time and the system clocks.

[0010] In another optional implementation, the above-mentioned "determining the frame interval time based on the number of system clocks, screen scans, subframe fields, and single subframe grayscale clocks in the current frame" includes: determining a first value based on the number of system clocks, screen scans, subframe fields, and single subframe grayscale clocks in the current frame, wherein the first value is the number of system clocks within the time period used to characterize line blanking and frame interval; determining the number of system clocks included in the frame interval time based on the first value, the number of system clocks included in the line blanking time, the number of screen scans, and the number of subframe fields; and determining the frame interval time based on the number of system clocks included in the frame interval time and the system clocks.

[0011] In another optional implementation, the above-mentioned "determining the number of system clocks included in the line blanking time based on the first value, the number of system clocks included in the preset interval time, the number of screen scans, and the number of subframe fields" includes:

[0012] The number of system clock cycles included in the line blanking time is determined by the following formula:

[0013] N5 = [(N3-N4) / C1 / C2];

[0014] Where N3 represents the first value, C1 represents the number of screen scans, C2 represents the number of subframe fields, N4 represents the number of system clocks included in the preset interval time, N5 represents the number of system clocks included in the line blanking time, and [] represents rounding.

[0015] In another optional implementation, the above-mentioned "determining the number of system clocks included in the frame interval time based on the first value, the number of system clocks included in the line blanking time, the number of screen scans, and the number of subframe fields" includes:

[0016] The number of system clocks included in the frame interval is determined by the following formula:

[0017] N6 = N3 - N5 * C1 * C2;

[0018] Where N6 is the number of system clocks contained in the frame interval time, N5 is the number of system clocks contained in the line blanking time, N3 is the first value, C1 is the number of screen scans, and C2 is the number of subframe fields.

[0019] In another optional implementation, the aforementioned "determining the first value based on the number of system clocks, screen scans, subframe fields, and single-subframe grayscale clocks in the current frame" includes: determining the number of system clocks included in the grayscale clock based on the number of system clocks, screen scans, subframe fields, and single-subframe grayscale clocks in the current frame; and determining the first value based on the number of system clocks included in the grayscale clocks, the number of system clocks in the current frame, screen scans, subframe fields, and single-subframe grayscale clocks. The first value satisfies the following formula:

[0020] N3 = N1 - N2 * C1 * C2 * C3;

[0021] Where N3 represents the first value, N1 represents the number of system clocks in the current frame, N2 represents the number of system clocks included in the grayscale clock, C1 represents the number of screen scans, C2 represents the number of subframe fields, and C3 represents the number of grayscale clocks in a single subframe.

[0022] In another optional implementation, the above-mentioned "driving the display device to display the content of the next frame of the current frame according to the grayscale clock frequency, the line blanking time and the frame interval time" includes: generating a grayscale clock signal and a line switching signal according to the grayscale clock frequency, the line blanking time and the frame interval time; and driving the display device to display the content of the next frame of the current frame according to the grayscale clock signal and the line switching signal.

[0023] Secondly, a parameter determination device is provided, comprising an acquisition module, a first determination module, a second determination module, and the first determination module. The acquisition module is used to acquire the number of system clocks in the current frame and the performance parameters of each register in the display device; the first determination module is used to determine the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe based on the performance parameters; the second determination module is used to determine the grayscale clock frequency, the line blanking time, and the frame interval time based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe in the current frame; and the driving module is used to drive the display device to display the content of the next frame of the current frame based on the grayscale clock frequency, the line blanking time, and the frame interval time.

[0024] In one optional implementation, the second determining module is specifically used to: determine the number of system clocks included in the grayscale clock based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe; and determine the grayscale clock frequency based on the number of system clocks included in the grayscale clock and the system clock. The number of system clocks included in the grayscale clock satisfies the following formula:

[0025] N2*C1*C2*C3 <N1;

[0026] Where C1 represents the number of screen scans, C2 represents the number of subframe fields, C3 represents the number of grayscale clocks per subframe, N1 represents the number of system clocks in the current frame, and N2 represents the number of grayscale clocks that include system clocks.

[0027] In another optional implementation, the second determining module is specifically used to: determine a first value based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe in the current frame, wherein the first value is the number of system clocks within the time period used for line blanking and frame interval; obtain the number of system clocks included in the preset interval time; determine the number of system clocks included in the line blanking time based on the first value, the number of system clocks included in the preset interval time, the number of screen scans, and the number of subframe fields; and determine the line blanking time based on the number of system clocks included in the line blanking time and the system clock.

[0028] In another optional implementation, the second determining module is specifically used to: determine a first value based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe in the current frame, wherein the first value is the number of system clocks in the time period used to characterize line blanking and frame interval; determine the number of system clocks in the frame interval time based on the first value, the number of system clocks included in the line blanking time, the number of screen scans, and the number of subframe fields; and determine the frame interval time based on the number of system clocks included in the frame interval time and the system clocks.

[0029] In another alternative implementation, the second determining module is specifically used to: determine the number of system clock cycles included in the row blanking time that satisfy the following formula:

[0030] N5 = [(N3-N4) / C1 / C2];

[0031] Where N3 represents the first value, C1 represents the number of screen scans, C2 represents the number of subframe fields, N4 represents the number of system clocks included in the preset interval time, N5 represents the number of system clocks included in the line blanking time, and [] represents rounding.

[0032] In another alternative implementation, the second determining module is specifically used for:

[0033] The number of system clocks included in the frame interval is determined by the following formula:

[0034] N6 = N3 - N5 * C1 * C2;

[0035] Where N6 is the number of system clocks contained in the frame interval time, N5 is the number of system clocks contained in the line blanking time, N3 is the first value, C1 is the number of screen scans, and C2 is the number of subframe fields.

[0036] In another optional implementation, the second determining module is specifically used to: determine the number of system clocks included in the grayscale clock based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe; and determine a first value based on the number of system clocks included in the grayscale clock, the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe; the first value satisfies the following formula:

[0037] N3 = N1 - N2 * C1 * C2 * C3;

[0038] Where N3 represents the first value, N1 represents the number of system clocks in the current frame, N2 represents the number of system clocks included in the grayscale clock, C1 represents the number of screen scans, C2 represents the number of subframe fields, and C3 represents the number of grayscale clocks in a single subframe.

[0039] In another alternative implementation, the driver module is specifically used to: generate a grayscale clock signal and a line switching signal based on the grayscale clock frequency, the line blanking time, and the frame interval time; and drive the display device to display the content of the next frame of the current frame based on the grayscale clock signal and the line switching signal.

[0040] Thirdly, embodiments of the present invention also provide a display device, including a processor and a memory coupled to the processor, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the processor implements the parameter determination method as described in any of the embodiments of the present invention.

[0041] Fourthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a display device, the display device implements the parameter determination method as described in any of the embodiments of the present invention.

[0042] In summary, after obtaining the number of system clocks in the current frame and the performance parameters of each register in the display device, the parameter determination device in this embodiment of the invention can determine the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe based on the performance parameters. Subsequently, the grayscale clock frequency, line blanking time, and frame interval time are determined based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe in the current frame. In this way, the display device can be driven to display the content of the next frame of the current frame based on the grayscale clock frequency, line blanking time, and frame interval time. It can be seen that regardless of the type of display device, the parameter determination device in this embodiment of the invention can adaptively determine the grayscale clock frequency, line blanking time, and frame interval time based on the performance parameters of the display device. In this way, the display device can effectively guarantee the display effect when displaying the content of the next frame of the current frame. Attached Figure Description

[0043] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1a This is a flowchart illustrating the parameter determination method in Embodiment 1 of the present invention;

[0045] Figure 1b This is a grayscale timing diagram in Embodiment 1 of the present invention;

[0046] Figure 1c This is a flowchart illustrating the parameter determination method in Embodiment 1 of the present invention. Figure 2 ;

[0047] Figure 2 This is a schematic diagram of the parameter determination device in Embodiment 2 of the present invention;

[0048] Figure 3This is a schematic diagram of the display device in Embodiment 3 of the present invention. Detailed Implementation

[0049] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.

[0050] Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but may also have additional steps not included in the figures. The process can correspond to a method, function, procedure, subroutine, subroutine, etc. Moreover, embodiments and features in the embodiments of the present invention can be combined with each other without conflict.

[0051] The term "comprising" and its variations as used in this invention are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment".

[0052] It should be noted that the concepts of "first" and "second" mentioned in this invention are only used to distinguish the corresponding contents and are not used to limit the order or interdependence.

[0053] Figure 1a This is a flowchart illustrating a parameter determination method provided in an embodiment of the present invention. This embodiment is applicable to situations involving driving a display device. The method can be executed by the parameter determination device in this embodiment, which can be implemented in software and / or hardware. The parameter determination device can be the aforementioned display device, the CPU within the display device, or a module within the display device used to determine parameters.

[0054] like Figure 1a As shown, the method specifically includes the following steps:

[0055] S110: Obtain the number of system clocks in the current frame and the performance parameters of each register in the display device.

[0056] The number of system clocks in the current frame can be obtained by obtaining the number of system clocks between the synchronization signals of adjacent frames.

[0057] The frame synchronization signal can be a VSYNC signal. For example, it can be the number of system clock cycles between the first VSYNC signal and the second VSYNC signal, where the first VSYNC signal and the second VSYNC signal are adjacent VSYNC signals.

[0058] Specifically, the number of system clocks in the current frame can be obtained. For example, counting can start when the first VSYNC signal is received and stop when the second VSYNC signal is received.

[0059] The register's performance parameters include at least one of the following: GCLK multiplier, scan count, grayscale level, GCLK multiplier (single-edge sampling / dual-edge sampling), preset GCLK frequency, preset pixel clock frequency, preset line blanking time, and preset frame interval time.

[0060] It should be noted that before the grayscale clock frequency, line blanking time, and frame interval time are calculated, the display device is driven to display content based on the preset GCLK frequency, preset pixel clock frequency, preset line blanking time, and preset frame interval time.

[0061] S120 determines the number of screen scans, subframe fields, and single subframe grayscale clocks based on performance parameters.

[0062] The performance parameters are the performance parameters of various registers in the standard 60Hz state. These performance parameters may include: scan quantity parameters, GCLK multiplier parameters, grayscale level, and GCLK multiplier parameters.

[0063] Specifically, the method for determining the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe based on performance parameters can be as follows: look up the first target table based on the scan number parameter to obtain the number of screen scans corresponding to the scan number parameter; look up the second target table based on the GCLK multiplication parameter to obtain the number of grayscale clocks per subframe corresponding to the GCLK multiplication parameter; and determine the number of subframe fields based on the GCLK multiplication parameter, grayscale level, and GCLK multiplication.

[0064] Optionally, the first target table is a table showing the correspondence between the scan quantity parameter and the screen scan quantity. The second target table can be a table showing the correspondence between the GCLK multiplication parameter and the number of grayscale clocks per subframe; the second target table can also be a table showing the correspondence between the GCLK multiplication parameter, the number of GCLKs contained in the minimum sub-period, and the number of grayscale clocks per subframe.

[0065] The method of finding the screen scan quantity corresponding to the scan quantity parameter by looking up the first target table can be as follows: a first target table is pre-established (taking the first target table as a table showing the correspondence between the scan quantity parameter and the screen scan quantity as an example), and the screen scan quantity corresponding to the scan quantity parameter is obtained by querying the first target table according to the scan quantity parameter.

[0066] For example, the first target table is shown in Table 1:

[0067] Table 1

[0068]

[0069]

[0070] If the scan quantity parameter is 00010, by looking up Table 1, we can find that the screen scan quantity is 3.

[0071] Specifically, the number of grayscale clocks per subframe corresponding to the GCLK frequency multiplication parameter is obtained by looking up the second target table based on the GCLK frequency multiplication parameter.

[0072] For example, the second target table is shown in Table 2:

[0073] Table 2

[0074]

[0075] If the GCLK multiplication parameter is 00, by referring to Table 2, we find that the number of grayscale clocks in a single subframe corresponding to the GCLK multiplication parameter being 00 is 1024.

[0076] For example, if the second target table is as shown in Table 3:

[0077] Table 3

[0078]

[0079]

[0080] Thus, if the GCLK multiplication parameter is 01, by referring to Table 3, we find that the number of grayscale clocks in a single subframe corresponding to the GCLK multiplication parameter being 01 is 512.

[0081] Specifically, the method for determining the number of subframe fields based on GCLK frequency multiplication parameters, grayscale levels, and GCLK frequency multiplication can be as follows: First, look up the third target table based on the GCLK frequency multiplication parameters to obtain the minimum sub-period containing 2. F The value of F in each GCLK period is used to calculate the number of subframe fields based on the following formula:

[0082] S = 2 N-F-M ;

[0083] Where S is the number of subframe fields, N is the gray level, and the minimum sub-period contains 2. F There are 1 GCLK cycles, where M is the GCLK multiplier (M can be 0 or 1).

[0084] Optionally, the third target table can contain 2 GCLK doubling parameters and minimum sub-periods. F The table showing the correspondence between GCLK cycles, and the third target table can also include GCLK frequency multiplication parameters and the minimum sub-cycle containing 2. F A table showing the correspondence between each GCLK cycle and the number of grayscale clocks per subframe.

[0085] For example, the third objective table is shown in Table 2. The third objective table contains GCLK frequency doubling parameters and the minimum sub-period contains 2. F A table showing the correspondence between each GCLK cycle and the number of grayscale clocks per subframe.

[0086] For example, the third target table is shown in Table 4:

[0087] Table 4

[0088]

[0089]

[0090] Thus, if the GCLK multiplier parameter is 00, by referring to Table 4, we can find that the F value corresponding to the GCLK multiplier parameter being 00 is 10.

[0091] Specifically, if the GCLK multiplication parameter is 00, referring to Table 4, we find that the F value corresponding to a GCLK multiplication parameter of 00 is 10. Substituting the grayscale level of 14, GCLK multiplication of 0, and F = 10 into the following formula, we can calculate the number of subframe fields:

[0092] S = 2 N-F-M =2 14-10-0 =2 4 .

[0093] S130: Determine the grayscale clock frequency, line blanking time, and frame interval time based on the number of system clocks, screen scans, subframe fields, and single subframe grayscale clocks in the current frame.

[0094] Specifically, the grayscale clock frequency can be determined based on the number of system clocks, screen scans, subframe fields, and single subframe grayscale clocks in the current frame. The grayscale clock frequency can be determined by: determining the number of system clocks included in the grayscale clock based on the number of system clocks, screen scans, subframe fields, and single subframe grayscale clocks in the current frame; and determining the grayscale clock frequency based on the number of system clocks included in the grayscale clock and the system clock.

[0095] For example, the number of system clocks included in the grayscale clock could be determined using the following formula:

[0096] N2*C1*C2*C3 <N1;

[0097] Where C1 is the number of screen scans, C2 is the number of subframe fields, C3 is the number of grayscale clocks per subframe, N1 is the number of system clocks in the current frame, and N2 is the number of grayscale clocks that include system clocks.

[0098] Specifically, the method for determining the line blanking time based on the number of system clocks, screen scans, subframe fields, and single subframe grayscale clocks in the current frame can be as follows: determine the number of system clocks included in the line blanking time based on the number of system clocks, screen scans, subframe fields, and single subframe grayscale clocks in the current frame; and determine the line blanking time based on the number of system clocks included in the line blanking time and the system clocks.

[0099] For example, a first value can be determined based on the number of system clocks included in the grayscale clock, the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe. Here, the first value is the number of system clocks included in the first time, and the first time is the sum of the line blanking time and the frame interval time. A preset interval time is obtained. The number of system clocks included in the line blanking time is determined based on the first value, the preset interval time, the number of screen scans, and the number of subframe fields. The line blanking time is determined based on the number of system clocks included in the line blanking time and the system clock.

[0100] Specifically, the frame interval time can be determined based on the number of system clocks, screen scans, subframe fields, and single subframe grayscale clocks in the current frame. The number of system clocks included in the frame interval time can be determined based on the number of system clocks, screen scans, subframe fields, and single subframe grayscale clocks in the current frame. The frame interval time can then be determined based on the number of system clocks included in the frame interval time and the system clocks.

[0101] For example, the number of system clocks included in the frame interval time can be determined based on the first value, the number of system clocks included in the line blanking time, the number of screen scans, and the number of subframe fields; the frame interval time can be determined based on the number of system clocks included in the frame interval time and the system clock.

[0102] S140 drives the display device to display the content of the next frame of the current frame based on the grayscale clock frequency, the line blanking time, and the frame interval time.

[0103] Specifically, the method of driving the display device to display the content of the next frame of the current frame based on the grayscale clock frequency, the line blanking time, and the frame interval time can be as follows: a control signal is generated based on the grayscale clock frequency, the line blanking time, and the frame interval time, so that the control signal drives the display device to display the content of the next frame of the current frame.

[0104] Another way to drive the display device to display the content of the next frame of the current frame based on the grayscale clock frequency, the line blanking time, and the frame interval time is to generate a grayscale clock signal and a line switching signal based on the grayscale clock frequency, the line blanking time, and the frame interval time; and drive the display device to display the content of the next frame of the current frame based on the grayscale clock signal and the line switching signal.

[0105] Specifically, the method of generating control signals based on grayscale clock frequency, row blanking time, and frame interval time to drive the display device to display the content of the next frame of the current frame can be as follows: determine the grayscale clock signal based on the grayscale clock frequency, row blanking time, and frame interval time, and send the grayscale clock signal to the column driver chip; during the row blanking time, send a row switching signal to the row driver chip.

[0106] For example, the grayscale clock signal can be determined based on the grayscale clock frequency, the row blanking time, and the frame interval time, and then sent to the column driver chip to drive the LED display screen; during the row blanking time, a row switching signal can be sent to the row driver chip to enable the row driver chip to perform a line feed operation.

[0107] In summary, after the parameter determination device in this embodiment of the invention obtains the number of system clocks in the current frame and the performance parameters of each register in the display device, it can determine the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe based on the performance parameters. Subsequently, the grayscale clock frequency, the line blanking time, and the frame interval time are determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe. In this way, the display device can be driven to display the content of the next frame of the current frame based on the grayscale clock frequency, the line blanking time, and the frame interval time.

[0108] It can be seen that, regardless of the type of display device, the parameter determination device in this embodiment of the invention can adaptively determine the grayscale clock frequency, line blanking time, and frame interval time based on the performance parameters of the display device. In this way, the display device can effectively guarantee the display effect when displaying the content of the next frame of the current frame.

[0109] In one embodiment, determining the grayscale clock frequency based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe in the current frame includes:

[0110] The number of system clocks included in the grayscale clock is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe.

[0111] The grayscale clock frequency is determined based on the number of system clocks included in the grayscale clock and the system clock itself.

[0112] The number of system clocks included in the grayscale clock satisfies the following formula:

[0113] N2*C1*C2*C3 <N1;

[0114] Where C1 represents the number of screen scans, C2 represents the number of subframe fields, C3 represents the number of grayscale clocks per subframe, N1 represents the number of system clocks in the current frame, and N2 represents the number of grayscale clocks that include system clocks.

[0115] Specifically, the number of screen scans, the number of subframe fields, and the number of single-subframe grayscale clocks are determined in advance based on the performance parameters of each register in the display device under standard conditions. The product of the number of screen scans, the number of subframe fields, and the number of single-subframe grayscale clocks is obtained. If the product of the number of screen scans, the number of subframe fields, and the number of single-subframe grayscale clocks is accumulated Z1 times, and the accumulated result is greater than the number of system clocks in the current frame, then the number of system clocks included in the grayscale clocks is equal to Z1-1.

[0116] In a specific example, C1, C2, and C3 are pre-determined based on the performance parameters of each register in the display device under standard conditions. If (Z1-2)*C1*C2*C3 <N1,(Z1-1)*C1*C2*C3<N1,Z1*C1*C2*C3> If N1 is true, then N2 = Z1-1.

[0117] Specifically, based on the number of system clocks included in the grayscale clock and the system clock, the grayscale clock frequency can be determined as follows: the product of the number of system clocks included in the grayscale clock and the system clock is determined as the grayscale clock frequency. For example, if the number of system clocks included in the grayscale clock is N2 and the system clock is SCLK, then the grayscale clock frequency is determined as N2*SCLK.

[0118] In one embodiment, the line blanking time is determined based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe in the current frame, including:

[0119] The first value is determined based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe in the current frame. The first value is the number of system clocks in the time period used for line blanking and frame interval.

[0120] Get the number of system clocks included in the preset interval time;

[0121] The number of system clocks included in the line blanking time is determined based on the first value, the number of system clocks included in the preset interval time, the number of screen scans, and the number of subframe fields.

[0122] The row blanking time is determined based on the number of system clocks included in the row blanking time and the system clock.

[0123] The method for determining the first value based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe in the current frame can be as follows: The first value is determined according to the following formula: N3 = N1 - N2 * C1 * C2 * C3, where N3 represents the first value, N2 represents the number of grayscale clocks including system clocks, C1 represents the number of screen scans, C2 represents the number of subframe fields, and C3 represents the number of grayscale clocks in a single subframe.

[0124] The number of system clocks included in the preset interval time is the same as the number of system clocks included in the preset frame switching time. Since an excessively long frame switching time can cause visual fatigue or flickering in the human eye, the problem of visual fatigue or flickering caused by an excessively long frame switching time is solved by presetting the number of system clocks included in the frame switching time.

[0125] The method for determining the number of system clocks included in the line blanking time based on the first value, the number of system clocks included in the preset interval time, the number of screen scans, and the number of subframe fields can be as follows: The number of system clocks included in the line blanking time can be determined based on the following formula: N5 = [(N3-N4) / C1 / C2]; where N4 represents the number of system clocks included in the preset interval time, and N5 represents the number of system clocks included in the line blanking time. For example, N5 = [(N3-N4) / C1 / C2] can be converted to N5*C1*C2 = N3-N4. Since division cannot be used, it is calculated by accumulation. Accumulate C1*C2. When the accumulated result exceeds N3-N4, the count is Z2, then N5 = Z2-1.

[0126] In a specific example, C1 and C2 are pre-determined based on the performance parameters of each register in the display device under standard conditions. If (Z2-2)*C1*C2 <N3-N4,(Z2-1)*C1*C2<N3-N4,Z2*C1*C2> If N3-N4, then N5 = Z2-1.

[0127] In one embodiment, the frame interval time is determined based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe in the current frame, including:

[0128] The first value is determined based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe in the current frame. The first value is the number of system clocks in the time period used to characterize line blanking and frame interval.

[0129] The number of system clocks included in the frame interval time is determined based on the first value, the number of system clocks included in the line blanking time, the number of screen scans, and the number of subframe fields.

[0130] The frame interval time is determined based on the number of system clocks included in the frame interval time and the system clock.

[0131] Specifically, the method for determining the number of system clocks included in the frame interval time based on the first value, the number of system clocks included in the line blanking time, the number of screen scans, and the number of subframe fields can be as follows: The number of system clocks included in the frame interval time is determined based on the following formula: N6 = N3 - N5 * C1 * C2; where N6 represents the number of system clocks included in the frame interval time, N3 represents the first value, which is the number of system clocks used to characterize the time period of line blanking and frame interval, C1 represents the number of screen scans, C2 represents the number of subframe fields, and N5 represents the number of system clocks included in the line blanking time.

[0132] Specifically, the frame interval time is determined based on the number of system clocks included in the frame interval time and the system clock. For example, N6 can be determined based on N3-N5*C1*C2, with the system clock being SCLK. N6*SCLK is then used as the frame interval time, where N6 represents the number of system clocks included in the frame interval time, N3 represents the first value, which is the number of system clocks used to characterize the time period between line blanking and frame interval, C1 represents the number of screen scans, C2 represents the number of subframe fields, and N5 represents the number of system clocks included in the line blanking time.

[0133] In one embodiment, determining the number of system clocks included in the line blanking time based on a first value, the number of system clocks contained in the preset interval time, the number of screen scans, and the number of subframe fields includes:

[0134] The number of system clock cycles included in the line blanking time is determined by the following formula:

[0135] N5 = [(N3-N4) / C1 / C2];

[0136] Where N3 represents the first value, C1 represents the number of screen scans, C2 represents the number of subframe fields, N4 represents the number of system clocks included in the preset interval time, N5 represents the number of system clocks included in the line blanking time, and [] represents rounding.

[0137] Specifically, the number of system clock cycles included in the row blanking time is determined by the following formula:

[0138] N5 = [(N3-N4) / C1 / C2];

[0139] First, convert N5 = [(N3-N4) / C1 / C2] to N5*C1*C2 = N3-N4. Since division cannot be used, it is calculated by accumulation. Accumulate C1*C2. When the accumulated result exceeds N3-N4, the count is Z2, then N5 = Z2-1. For example, it could be (Z2-2)*C1*C2 <N3-N4,(Z2-1)*C1*C2<N3-N4,Z2*C1*C2> If N3-N4, then N5 = Z2-1.

[0140] In one embodiment, determining the number of system clocks included in the frame interval time based on a first value, the number of system clocks contained in the line blanking time, the number of screen scans, and the number of subframe fields includes:

[0141] The number of system clocks included in the frame interval is determined by the following formula:

[0142] N6 = N3 - N5 * C1 * C2;

[0143] Where N6 is the number of system clocks contained in the frame interval time, N5 is the number of system clocks contained in the line blanking time, N3 is the first value, C1 is the number of screen scans, and C2 is the number of subframe fields.

[0144] Specifically, the number of screen scans and the number of subframe fields are determined in advance based on the performance parameters of each register in the display device under standard conditions. Then, the first value is determined according to the formula N3 = N1 - N2 * C1 * C2 * C3, where N3 represents the first value, N2 represents the number of system clocks included in the grayscale clock, C1 represents the number of screen scans, C2 represents the number of subframe fields, and C3 represents the number of grayscale clocks per subframe. After determining the first value, N5 is determined according to the following formula: N5 = [(N3 - N4) / C1 / C2], where N5 represents the number of system clocks included in the line blanking time, [] indicates rounding, and N4 represents the number of system clocks included in the preset interval time. After calculating N3 and N5, N6 is determined according to the formula N6 = N3 - N5 * C1 * C2.

[0145] In one embodiment, determining the first value based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe in the current frame includes:

[0146] The number of system clocks included in the grayscale clock is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe.

[0147] Determine a first value based on the number of system clocks included in the grayscale clock, the number of system clocks in the current frame, the number of screen scans, the number of sub-frame fields, and the number of grayscale clocks per single sub-frame; the first value satisfies the following formula:

[0148] N3 = N1 - N2 * C1 * C2 * C3;

[0149] Where, N3 represents the first value, N1 represents the number of system clocks in the current frame, N2 represents the number of system clocks included in the grayscale clock, C1 represents the number of screen scans, C2 represents the number of sub-frame fields, and C3 represents the number of grayscale clocks per single sub-frame.

[0150] Specifically, determine the number of screen scans, the number of sub-frame fields, and the number of grayscale clocks per single sub-frame in advance according to the performance parameters of each register in the display device under standard conditions. Since N2 needs to satisfy N2 * C1 * C2 * C3 < N1, obtain the product of the number of screen scans, the number of sub-frame fields, and the number of grayscale clocks per single sub-frame. If the product of the number of screen scans, the number of sub-frame fields, and the number of grayscale clocks per single sub-frame is accumulated Z1 times and the accumulated result is greater than the number of system clocks in the current frame, then the number of system clocks included in the grayscale clock is equal to Z1 - 1. After determining N2, determine N3 according to N1 - N2 * C1 * C2 * C3.

[0151] In one embodiment, drive the display device to display the content of the next frame of the current frame according to the grayscale clock frequency, the horizontal blanking time, and the frame interval time, including:

[0152] Generate a grayscale clock signal and a row switching signal according to the grayscale clock frequency, the horizontal blanking time, and the frame interval time;

[0153] Drive the display device to display the content of the next frame of the current frame according to the grayscale clock signal and the row switching signal.

[0154] Specifically, the manner of driving the display device to display the content of the next frame of the current frame according to the grayscale clock signal and the row switching signal can be: send the grayscale clock signal to the column driver chip to enable the column driver chip to drive the display device; within the horizontal blanking time, send the row switching signal to the row driver chip to enable the row driver chip to perform a line change operation to enable the display device to display the content of the next frame of the current frame.

[0155] In an exemplary example, as Figure 1c shown, this algorithm includes the following steps:

[0156] 1. Read the performance parameters of each register in the display device under standard 60Hz state, look up the first target table according to the scan number parameter to obtain the screen scan number corresponding to the scan number parameter; look up the second target table according to the GCLK multiplier parameter to obtain the number of single subframe grayscale clocks corresponding to the GCLK multiplier parameter; determine the number of subframe fields according to the GCLK multiplier parameter, grayscale level and GCLK multiplier.

[0157] 2. Calculate the number N1 of system clocks SCLK within a frame based on the frame synchronization signal VSYNC.

[0158] 3. Since GCLK is always multiplied by the system clock SCLK, the number N2 of SCLK contained in GCLK must satisfy: N2*C1*C2*C3 <N1。

[0159] By accumulating C1*C2*C3, when the number of accumulations is Z1, the accumulated result exceeds N1, that is, if (Z1-2)*C1*C2*C3 <N1,(Z1-1)*C1*C2*C3<N1,Z1*C1*C2*C3> If N1 is given, then N2 = Z1-1, and thus the frequency of GCLK can be determined as N2*SCLK.

[0160] 4. Apart from the time used for display, the remaining time is used for line blanking and frame intervals. The number of system clocks N3 within the time period representing line blanking and frame intervals is calculated based on the formula N3 = N1 - N2 * C1 * C2 * C3, where N1 represents the number of system clocks in the current frame, N2 represents the number of system clocks included in the grayscale clocks, C1 represents the number of screen scans, C2 represents the number of subframe fields, and C3 represents the number of grayscale clocks per subframe.

[0161] 5. The preset interval time includes the number of system clocks N4. The row blanking time is determined based on the formula N5 = [(N3-N4) / C1 / C2]. Since FPGA cannot perform division operations during algorithm implementation, addition or multiplication is required to perform the division calculation. N5 = [(N3-N4) / C1 / C2] is pre-converted to N5*C1*C2 = N3-N4. This is calculated by accumulation, adding C1*C2. When the accumulated result exceeds N3-N4, the count is Z2, which is (Z2-2)*C1*C2. <N3-N4,(Z2-1)*C1*C2<N3-N4,Z2*C1*C2> If N3 - N4, then N5 = Z2 - 1.

[0162] 6. After calculating the number of system clocks N5 contained in the line blanking time, the number of system clocks contained in the final frame interval time is calculated based on the formula N6 = N3 - N5 * C1 * C2. At this time, N6 and the number of system clocks N4 contained in the preset interval time are very small. Since SCLK is generally 8 nanoseconds or less, the time here is at the nanosecond level and can be ignored. Therefore, it can effectively prevent visual fatigue or flickering caused by excessive frame switching time.

[0163] 7. Thus, all parameters in the entire formula (1 / GCLK*C3+T1)*C1*C2+T2=1 / H1 are calculated. C1, C2, and C3 are fixed values, H1 is the input variable of the front-end video source, and H1 is determined by N1 and SCLK. For example, it can be H1=N1*SCLK, where SCLK is the fixed frequency of the system, GCLK=N2*SCLK, T1=N5*SCLK, and T2=N6*SCLK.

[0164] Figure 2 This is a schematic diagram of a parameter determination device according to another embodiment of the present invention. This embodiment is applicable to driving LED displays. The device can be implemented in software and / or hardware. The parameter determination device can be a CPU, a display device, or a module in the display device used to drive the display. The present invention does not limit this.

[0165] like Figure 2 As shown, the parameter determination device specifically includes: an acquisition module 210, a first determination module 220, a second determination module 230, and a driving module 240.

[0166] The acquisition module 210 is used to acquire the number of system clocks in the current frame and the performance parameters of each register in the display device; that is, the acquisition module is used to execute S110.

[0167] The first determining module 220 is used to determine the number of screen scans, the number of subframe fields, and the number of single subframe grayscale clocks based on performance parameters. That is, the first determining module is used to execute S120.

[0168] The second determining module 230 is used to determine the grayscale clock frequency, line blanking time and frame interval time based on the number of system clocks, screen scans, subframe fields and single subframe grayscale clocks in the current frame. That is, the second determining module is used to execute S130.

[0169] The driver module 240 is used to drive the display device to display the content of the next frame of the current frame according to the grayscale clock frequency, the line blanking time and the frame interval time. That is, the driver module is used to execute S140.

[0170] In one embodiment, the second determining module 230 is specifically used for:

[0171] The number of system clocks included in the grayscale clock is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe.

[0172] The grayscale clock frequency is determined based on the number of system clocks included in the grayscale clock and the system clock itself.

[0173] The number of system clocks included in the grayscale clock satisfies the following formula:

[0174] N2*C1*C2*C3 <N1;

[0175] Where C1 represents the number of screen scans, C2 represents the number of subframe fields, C3 represents the number of grayscale clocks per subframe, N1 represents the number of system clocks in the current frame, and N2 represents the number of grayscale clocks that include system clocks.

[0176] In one embodiment, the second determining module 230 is specifically used for:

[0177] The first value is determined based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe in the current frame. The first value is the number of system clocks in the time period used for line blanking and frame interval.

[0178] Get the number of system clocks included in the preset interval time;

[0179] The number of system clocks included in the line blanking time is determined based on the first value, the number of system clocks included in the preset interval time, the number of screen scans, and the number of subframe fields.

[0180] The row blanking time is determined based on the number of system clocks included in the row blanking time and the system clock.

[0181] In one embodiment, the second determining module 230 is specifically used for:

[0182] The first value is determined based on the number of system clocks, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe in the current frame. The first value is the number of system clocks in the time period used to characterize line blanking and frame interval.

[0183] The number of system clocks included in the frame interval time is determined based on the first value, the number of system clocks included in the line blanking time, the number of screen scans, and the number of subframe fields.

[0184] The frame interval time is determined based on the number of system clocks included in the frame interval time and the system clock.

[0185] In one embodiment, the second determining module 230 is specifically used for:

[0186] The number of system clock cycles included in the line blanking time is determined by the following formula:

[0187] N5 = [(N3-N4) / C1 / C2];

[0188] Where N3 represents the first value, C1 represents the number of screen scans, C2 represents the number of subframe fields, N4 represents the number of system clocks included in the preset interval time, N5 represents the number of system clocks included in the line blanking time, and [] represents rounding.

[0189] In one embodiment, the second determining module 230 is specifically used for:

[0190] The number of system clocks included in the frame interval is determined by the following formula:

[0191] N6 = N3 - N5 * C1 * C2;

[0192] Where N6 is the number of system clocks contained in the frame interval time, N5 is the number of system clocks contained in the line blanking time, N3 is the first value, C1 is the number of screen scans, and C2 is the number of subframe fields.

[0193] In one embodiment, the second determining module 230 is specifically used for:

[0194] The number of system clocks included in the grayscale clock is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe.

[0195] The first value is determined based on the number of system clocks included in the grayscale clock, the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe; the first value satisfies the following formula:

[0196] N3 = N1 - N2 * C1 * C2 * C3;

[0197] Where N3 represents the first value, N1 represents the number of system clocks in the current frame, N2 represents the number of system clocks included in the grayscale clock, C1 represents the number of screen scans, C2 represents the number of subframe fields, and C3 represents the number of grayscale clocks in a single subframe.

[0198] In one embodiment, the driver module 240 is specifically used for:

[0199] The grayscale clock signal and the line switching signal are generated based on the grayscale clock frequency, the line blanking time, and the frame interval time.

[0200] The display device is driven to display the content of the next frame of the current frame based on the grayscale clock signal and the line switching signal.

[0201] The above-described products can perform the methods provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects for performing the methods.

[0202] The technical solution of this embodiment first obtains the number of system clocks in the current frame and the performance parameters of each register in the display device through a parameter determination device. Then, based on the performance parameters, it determines the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe. After determining the grayscale clock frequency, line blanking time, and frame interval time based on the number of system clocks, screen scans, subframe fields, and number of grayscale clocks per subframe, it drives the display device to display the content of the next frame of the current frame according to the grayscale clock frequency, line blanking time, and frame interval time. This adaptive combination of the display device's performance parameters to determine the grayscale clock frequency, line blanking time, and frame interval time effectively ensures the display effect of the display device.

[0203] Figure 3 This is a schematic diagram of the structure of a display device provided in another embodiment of the present invention.

[0204] like Figure 3 As shown, the display device provided in Embodiment 3 of the present invention includes: a processor 31 and a memory 32; the processor 31 in the display device may be one or more. Figure 3 Taking a processor 31 as an example; memory 32 is used to store one or more programs; one or more programs are executed by one or more processors 31, so that one or more processors 31 implement the parameter determination method as described in any of the embodiments of the present invention.

[0205] Display devices may also include: communication interfaces.

[0206] The processor 31, memory 32, input device 33, and output device 34 in the display device can be connected via a bus or other means. Figure 3 Taking the example of a connection between China and Israel via a bus.

[0207] The memory 32 in the display device serves as a computer-readable storage medium, which can be used to store one or more programs. These programs can be software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the parameter determination method provided in Embodiment 1 of this invention (e.g., appendix). Figure 2The parameter determination device shown includes modules such as an acquisition module 210, a first determination module 220, a second determination module 230, and a driving module 240. The processor 31 executes various functional applications and data processing of the display device by running software programs, instructions, and modules stored in the memory 32, thereby implementing the parameter determination method in the above method embodiment.

[0208] The memory 32 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the display device, etc. Furthermore, the memory 32 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 32 may further include memory remotely located relative to the processor 31, and these remote memories can be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0209] Input device 33 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the display device. Output device 34 may include display devices such as a display screen.

[0210] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a display device, the display device performs the parameter determination method described in the above embodiment.

[0211] The computer storage medium of this invention can be any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable CD-ROM, optical storage device, magnetic storage device, or any suitable combination thereof. The computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0212] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit programs for use by or in connection with an instruction execution system, apparatus, or device.

[0213] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, radio frequency (RF), etc., or any suitable combination thereof.

[0214] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Python, and conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0215] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A method for determining parameters, characterized in that, include: Obtain the number of system clocks in the current frame and the performance parameters of each register in the display device; Based on the performance parameters, determine the number of screen scans, the number of subframe fields, and the number of grayscale clocks per subframe; The grayscale clock frequency, line blanking time, and frame interval time are determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe. The display device is driven to display the content of the next frame of the current frame based on the grayscale clock frequency, the line blanking time, and the frame interval time.

2. The parameter determination method according to claim 1, characterized in that, The step of determining the grayscale clock frequency based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe includes: The number of system clocks included in the grayscale clock is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe; The grayscale clock frequency is determined based on the number of system clocks included in the grayscale clock and the system clock itself. Wherein, the grayscale clock includes the number of system clocks that satisfy the following formula: N2*C1*C2*C3 <N1; Wherein, C1 represents the number of screen scans, C2 represents the number of subframe fields, C3 represents the number of grayscale clocks in a single subframe, N1 represents the number of system clocks in the current frame, and N2 represents the number of system clocks included in the grayscale clocks.

3. The parameter determination method according to claim 1, characterized in that, The step of determining the line blanking time based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe includes: A first value is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe, wherein the first value is the number of system clocks in the time period used for line blanking and frame intervals. Get the number of system clocks included in the preset interval time; The number of system clocks included in the line blanking time is determined based on the first value, the number of system clocks included in the preset interval time, the number of screen scans, and the number of subframe fields; The row blanking time is determined based on the number of system clocks included in the row blanking time and the system clocks.

4. The parameter determination method according to claim 1, characterized in that, The step of determining the frame interval time based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe includes: A first value is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe, wherein the first value is the number of system clocks within a time period used to characterize line blanking and frame intervals. The number of system clocks included in the frame interval time is determined based on the first value, the number of system clocks included in the line blanking time, the number of screen scans, and the number of subframe fields; The frame interval time is determined based on the number of system clocks and the system clocks included in the frame interval time.

5. The parameter determination method according to claim 3, characterized in that, Determining the number of system clocks included in the line blanking time based on the first value, the number of system clocks included in the preset interval time, the number of screen scans, and the number of subframe fields includes: The number of system clock cycles included in the line blanking time is determined to satisfy the following formula: N5 = [(N3-N4) / C1 / C2]; Wherein, N3 represents the first value, C1 represents the number of screen scans, C2 represents the number of subframe fields, N4 represents the number of system clocks included in the preset interval time, N5 represents the number of system clocks included in the line blanking time, and [] represents rounding.

6. The parameter determination method according to claim 4, characterized in that, Determining the number of system clocks included in the frame interval time based on the first value, the number of system clocks included in the line blanking time, the number of screen scans, and the number of subframe fields includes: The number of system clocks contained in the frame interval is determined, and the number of system clocks contained in the frame interval satisfies the following formula: N6 = N3 - N5 * C1 * C2; Wherein, N6 is the number of system clocks contained in the frame interval time, N5 represents the number of system clocks contained in the line blanking time, N3 represents the first value, C1 represents the number of screen scans, and C2 represents the number of subframe fields.

7. The parameter determination method according to claim 3 or 4, characterized in that, The step of determining the first value based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe includes: The number of system clocks included in the grayscale clock is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe; A first value is determined based on the number of system clocks included in the grayscale clock, the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe; the first value satisfies the following formula: N3 = N1 - N2 * C1 * C2 * C3; Wherein, N3 represents the first value, N1 represents the number of system clocks in the current frame, N2 represents the number of system clocks included in the grayscale clock, C1 represents the number of screen scans, C2 represents the number of subframe fields, and C3 represents the number of grayscale clocks in a single subframe.

8. The parameter determination method according to any one of claims 1-6, characterized in that, The step of driving the display device to display the content of the next frame of the current frame according to the grayscale clock frequency, the line blanking time, and the frame interval time includes: A grayscale clock signal and a line switching signal are generated based on the grayscale clock frequency, the line blanking time, and the frame interval time. The display device is driven to display the content of the next frame of the current frame based on the grayscale clock signal and the line switching signal.

9. A parameter determining device, characterized in that, include: The acquisition module is used to acquire the number of system clocks in the current frame and the performance parameters of each register in the display device; The first determining module is used to determine the number of screen scans, the number of subframe fields, and the number of single subframe grayscale clocks based on the performance parameters. The second determining module is used to determine the grayscale clock frequency, line blanking time, and frame interval time based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe. The driving module is used to drive the display device to display the content of the next frame of the current frame according to the grayscale clock frequency, the line blanking time and the frame interval time.

10. The parameter determining device according to claim 9, characterized in that, The second determining module is specifically used for: The number of system clocks included in the grayscale clock is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe; The grayscale clock frequency is determined based on the number of system clocks included in the grayscale clock and the system clock itself. Wherein, the grayscale clock includes the number of system clocks that satisfy the following formula: N2*C1*C2*C3 <N1; Wherein, C1 represents the number of screen scans, C2 represents the number of subframe fields, C3 represents the number of grayscale clocks in a single subframe, N1 represents the number of system clocks in the current frame, and N2 represents the number of system clocks included in the grayscale clocks.

11. The parameter determining device according to claim 9, characterized in that, The second determining module is specifically used for: A first value is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe, wherein the first value is the number of system clocks in the time period used for line blanking and frame intervals. Get the number of system clocks included in the preset interval time; The number of system clocks included in the line blanking time is determined based on the first value, the number of system clocks included in the preset interval time, the number of screen scans, and the number of subframe fields; The row blanking time is determined based on the number of system clocks included in the row blanking time and the system clocks.

12. The parameter determining device according to claim 9, characterized in that, The second determining module is specifically used for: A first value is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe, wherein the first value is the number of system clocks within a time period used to characterize line blanking and frame intervals. The number of system clocks included in the frame interval time is determined based on the first value, the number of system clocks included in the line blanking time, the number of screen scans, and the number of subframe fields; The frame interval time is determined based on the number of system clocks and the system clocks included in the frame interval time.

13. The parameter determining device according to claim 11, characterized in that, The second determining module is specifically used for: The number of system clock cycles included in the line blanking time is determined to satisfy the following formula: N5 = [(N3-N4) / C1 / C2]; Wherein, N3 represents the first value, C1 represents the number of screen scans, C2 represents the number of subframe fields, N4 represents the number of system clocks included in the preset interval time, N5 represents the number of system clocks included in the line blanking time, and [] represents rounding.

14. The parameter determining device according to claim 12, characterized in that, The second determining module is specifically used for: The number of system clocks contained in the frame interval is determined, and the number of system clocks contained in the frame interval satisfies the following formula: N6 = N3 - N5 * C1 * C2; Wherein, N6 is the number of system clocks contained in the frame interval time, N5 represents the number of system clocks contained in the line blanking time, N3 represents the first value, C1 represents the number of screen scans, and C2 represents the number of subframe fields.

15. The parameter determining device according to claim 11 or 12, characterized in that, The second determining module is specifically used for: The number of system clocks included in the grayscale clock is determined based on the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe; A first value is determined based on the number of system clocks included in the grayscale clock, the number of system clocks in the current frame, the number of screen scans, the number of subframe fields, and the number of grayscale clocks in a single subframe; the first value satisfies the following formula: N3 = N1 - N2 * C1 * C2 * C3; Wherein, N3 represents the first value, N1 represents the number of system clocks in the current frame, N2 represents the number of system clocks included in the grayscale clock, C1 represents the number of screen scans, C2 represents the number of subframe fields, and C3 represents the number of grayscale clocks in a single subframe.

16. The parameter determining apparatus according to any one of claims 9-14, characterized in that, The driving module is specifically used for: A grayscale clock signal and a line switching signal are generated based on the grayscale clock frequency, the line blanking time, and the frame interval time. The display device is driven to display the content of the next frame of the current frame based on the grayscale clock signal and the line switching signal.

17. A display device, characterized in that, include: processor; A memory coupled to the processor is used to store computer programs; When the computer program is executed by the processor, the processor implements the parameter determination method as described in any one of claims 1-8.

18. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a display device, the display device implements the parameter determination method as described in any one of claims 1-8.