CN116844496A - Method and device for adjusting liquid crystal drive and storage medium - Google Patents

Method and device for adjusting liquid crystal drive and storage medium Download PDF

Info

Publication number
CN116844496A
CN116844496A CN202210340941.4A CN202210340941A CN116844496A CN 116844496 A CN116844496 A CN 116844496A CN 202210340941 A CN202210340941 A CN 202210340941A CN 116844496 A CN116844496 A CN 116844496A
Authority
CN
China
Prior art keywords
liquid crystal
frequency
pwm
pwm signal
driving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210340941.4A
Other languages
Chinese (zh)
Inventor
龙逸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen H&T Intelligent Control Co Ltd
Original Assignee
Shenzhen H&T Intelligent Control Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen H&T Intelligent Control Co Ltd filed Critical Shenzhen H&T Intelligent Control Co Ltd
Priority to CN202210340941.4A priority Critical patent/CN116844496A/en
Publication of CN116844496A publication Critical patent/CN116844496A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2092Details of a display terminals using a flat panel, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • G09G3/2096Details of the interface to the display terminal specific for a flat panel

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application relates to a method, a device and a storage medium for adjusting liquid crystal driving, wherein the method for adjusting liquid crystal driving firstly determines the frequency of a PWM signal according to the preset refreshing frequency of liquid crystal, then configures PWM register parameters of a driving controller according to the frequency of the PWM signal, so that the driving controller generates a corresponding PWM signal based on the PWM register parameters, then outputs the PWM signal through an output port of the driving controller when an output port of the driving controller is enabled, the PWM signal acts on an external clock input port, the driving controller processes the frequency of the PWM signal based on the external clock input port, and then adjusts the refreshing frequency of the liquid crystal according to the processed frequency of the PWM signal. Therefore, the method can randomly adjust the refresh frequency of the liquid crystal to reach the preset refresh frequency, so that the screen display of the liquid crystal is clearer, and the performance and the working reliability of the liquid crystal are improved.

Description

Method and device for adjusting liquid crystal drive and storage medium
Technical Field
The present application relates to the field of liquid crystal driving, and in particular, to a method and apparatus for adjusting liquid crystal driving, and a storage medium.
Background
With the development of intelligent household appliances, LCD screens can be arranged in a plurality of small household appliances, so that more functions of the small household appliances are realized, and user experience is improved. LCD screens typically require a refresh rate and refresh the displayed picture at the refresh rate. Whether the refresh frequency is proper or not directly influences the display effect of the LCD screen.
In the conventional technology, the general controller refreshes the LCD screen according to a fixed refresh frequency, for example, 64hz, and the refresh frequency of 64hz can meet the requirements of the general Duan Xianbing, but cannot meet the requirements of VA screens requiring a higher refresh frequency. Therefore, the related art cannot adjust its refresh frequency according to different LCD screens, resulting in degradation of both screen performance and reliability.
Disclosure of Invention
The application solves at least one of the technical problems to a certain extent, and therefore, the application provides a method, a device and a storage medium for adjusting liquid crystal driving, which can adjust the liquid crystal refresh frequency and improve the performance and reliability of liquid crystal.
In a first aspect, an embodiment of the present application provides a method for adjusting a liquid crystal driving, which is applied to a driving controller, where an output port of the driving controller is electrically connected to an external clock input port of the driving controller, the method includes:
determining the frequency of a PWM signal according to the preset refreshing frequency of the liquid crystal;
configuring parameters of a PWM register of the driving controller according to the frequency of the PWM signal;
generating the PWM signal based on parameters of the PWM register;
outputting the PWM signal through the output port of the driving controller when the output port of the driving controller is enabled;
based on the external clock input port, the refresh frequency of the liquid crystal is adjusted according to the frequency of the PWM signal.
In some embodiments, the configuring parameters of the PWM register of the drive controller according to the frequency of the PWM signal includes:
configuring a PWM unit into an independent working mode, and setting a clock of the PWM unit, wherein the PWM unit is a module of the driving controller for generating the PWM signal;
determining a period of the PWM signal based on a frequency of the PWM signal;
calculating and configuring a period setting register parameter of the PWM unit by:
Tpwm=(PWMPD[11:0]+1)/PWM clock frequency
Wherein Tpwm is the period of the PWM signal, PWMD [11:0 ]]Setting register parameters for the period of the PWM unit, PWM Clock frequency Is the clock frequency of the PWM unit.
In some embodiments, the clock of the PWM register is a system clock.
In some embodiments, the determining the frequency of the PWM signal according to the preset refresh frequency of the liquid crystal, and adjusting the refresh frequency of the liquid crystal according to the frequency of the PWM signal, includes:
determining a clock frequency corresponding to the preset refresh frequency according to the preset refresh frequency of the liquid crystal;
and determining the frequency of the PWM signal according to the clock frequency corresponding to the preset refreshing frequency.
In some embodiments, the output port of the driving controller is a PWM port when the preset refresh frequency of the liquid crystal is greater than a preset frequency threshold.
In some embodiments, when the preset refresh frequency of the liquid crystal is less than or equal to the preset frequency threshold, the output port of the driving controller is the PWM port or the general purpose input/output port.
In a second aspect, an embodiment of the present application provides a driving controller, an output port of the driving controller is electrically connected to an external clock input port of the driving controller, and
the drive controller includes at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of adjusting liquid crystal driving as described above.
In a third aspect, an embodiment of the present application provides an apparatus for adjusting liquid crystal driving, where the apparatus for adjusting liquid crystal driving includes a driving controller as described above, and the driving controller is configured to adjust a refresh frequency of the liquid crystal driving.
In a fourth aspect, an embodiment of the present application provides a liquid crystal display device including: the liquid crystal display module and the device for adjusting the liquid crystal drive are electrically connected with the liquid crystal display module.
In a fifth aspect, embodiments of the present application provide a non-transitory computer-readable storage medium storing computer-executable instructions for causing an apparatus for adjusting liquid crystal driving to perform a method of adjusting liquid crystal driving as described above.
Compared with the prior art, the application has at least the following beneficial effects: in the method for adjusting the liquid crystal driving, firstly, the frequency of a PWM signal is determined according to the preset refreshing frequency of the liquid crystal, then, PWM register parameters of a driving controller are configured according to the frequency of the PWM signal, so that the driving controller generates a corresponding PWM signal based on the PWM register parameters, then, when an output port of the driving controller is enabled, the PWM signal is output through the output port of the driving controller, and because the output port of the driving controller is electrically connected with an external clock input port of the driving controller, the PWM signal acts on the external clock input port, finally, the driving controller processes the frequency of the PWM signal based on the external clock input port, and finally, the refreshing frequency of the liquid crystal is adjusted according to the processed frequency of the PWM signal. Therefore, the method can randomly adjust the refresh frequency of the liquid crystal to reach the preset refresh frequency, so that the screen display of the liquid crystal is clearer, and the performance and the working reliability of the liquid crystal are improved.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
Fig. 1 is a schematic structural diagram of a liquid crystal display device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a driving controller according to an embodiment of the present application;
FIG. 3 is a flow chart of a method for adjusting liquid crystal driving according to an embodiment of the present application;
fig. 4 is a schematic flow chart of step S20 in fig. 3 according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for adjusting liquid crystal driving according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that, if not in conflict, the features of the embodiments of the present application may be combined with each other, which is within the protection scope of the present application. In addition, while functional block division is performed in a device diagram and logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the block division in the device, or in the flowchart. Furthermore, the words "first," "second," "third," and the like as used herein do not limit the order of data and execution, but merely distinguish between identical or similar items that have substantially the same function and effect.
In general, the liquid crystal display module displays an image under the control of a driving controller and a driver, wherein the driver is electrically connected with the liquid crystal display module and the driving controller respectively, and the driving controller is used for controlling the driver to output a scanning signal and an image signal to the liquid crystal display module so that the liquid crystal display module displays the corresponding image. The drive controller stores the set refresh frequency of the liquid crystal display module, and the liquid crystal display module refreshes the picture according to the set refresh frequency.
The refreshing frequency is too low, gray shadows and flickering can appear on the picture, the service life of the liquid crystal display module is influenced, the refreshing frequency is too high, the frequency exceeds the frequency regulated by the liquid crystal display module, the activity of liquid crystal molecules can be influenced, and the service life of liquid crystal is accelerated to be shortened. Therefore, it is necessary to set an appropriate refresh frequency for the liquid crystal display module so that the liquid crystal display module displays a picture better.
The current driving controller sets the refresh frequency of the liquid crystal display module according to a fixed frequency, for example, 64HZ, and for a common Duan Xianbing, the refresh frequency of 64HZ can meet the requirement, but for a VA screen, the refresh frequency of 64HZ needs to be higher, and the refresh frequency of 64HZ cannot meet the requirement. Therefore, most of the driving controllers currently cannot adjust the corresponding refresh frequency according to different lcd modules, so as to meet the display requirements of the lcd modules.
Based on the above considerations, the present application provides a method for adjusting a liquid crystal driving, which is applied to a driving controller, wherein an output port of the driving controller is electrically connected with an external clock input port of the driving controller. The method for adjusting the liquid crystal driving comprises the steps of firstly determining the frequency of a PWM (pulse width modulation) signal according to the preset refreshing frequency of liquid crystal, configuring parameters of a PWM register of a driving controller according to the frequency of the PWM signal, enabling the driving controller to generate a corresponding PWM signal based on the parameters of the PWM register, outputting the PWM signal through an output port of the driving controller when the output port of the driving controller is enabled, enabling the PWM signal to act on the external clock input port due to the fact that the output port of the driving controller is electrically connected with the external clock input port of the driving controller, finally, processing the frequency of the PWM signal based on the external clock input port by the driving controller, and obtaining the refreshing frequency of the liquid crystal according to the processed frequency of the PWM signal.
The preset refresh frequency is a set refresh frequency, which can be set according to different liquid crystal screens, and the set refresh frequency can be different. Preferably, the preset refresh frequency is an optimal refresh frequency of the liquid crystal display.
The drive controller processes the frequency of the PWM signal through an external clock input port, and the driver obtains the actual refresh frequency of the liquid crystal through an internal hardware circuit.
Therefore, the method can randomly adjust the refresh frequency of the liquid crystal to reach the preset refresh frequency, so that the screen display of the liquid crystal is clearer, and the performance and the working reliability of the liquid crystal are improved.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a liquid crystal display device according to an embodiment of the present application, as shown in fig. 1, a liquid crystal display device 100 includes a liquid crystal display module 10 and a device 20 for adjusting a liquid crystal driving, wherein the liquid crystal display module 10 is electrically connected to the device 20 for adjusting a liquid crystal driving, and the device 20 for adjusting a liquid crystal driving is used for adjusting a refresh frequency of the liquid crystal display module 10 so as to achieve a function of adjusting the refresh frequency of the liquid crystal display module 10.
The device 20 for adjusting liquid crystal driving according to the embodiment of the present application may be constructed in any suitable shape to be placed in various liquid crystal display devices. The lcd device of the embodiment of the present application may be any electronic product with an lcd module 10, such as a television, a desktop computer, a laptop computer, a personal digital assistant (Personal Digital Assistant, PDA), a cellular phone, and various office automation and audio-visual devices, or any household appliance with an lcd module 10, such as an electric cooker, a washing machine, and a sweeping robot. The liquid crystal display module 10 may display corresponding contents according to the needs of the liquid crystal display device in any type of LCD screen.
In some embodiments, the device 20 for adjusting liquid crystal driving includes a driving controller 21, and an output port of the driving controller 21 is electrically connected to an external clock input port of the driving controller 21.
Referring also to fig. 2, the drive controller 21 includes at least one processor 211 (one processor is illustrated in fig. 2) and a memory 212 communicatively coupled via a system bus or other means. The drive controller 21 may be in the form of a chip.
Wherein the memory 212 stores instructions executable by the at least one processor 211, the instructions being executable by the at least one processor 211, the processor 211 being configured to provide computing and control capabilities for controlling the means for adjusting liquid crystal driving 20 to execute associated commands, for example, for controlling the means for adjusting liquid crystal driving 20 to execute any of the methods for adjusting liquid crystal driving provided in the following embodiments of the present application.
The memory 212 is used as a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method for adjusting liquid crystal driving according to the embodiments of the present application. The processor 211 may implement the method of adjusting the liquid crystal driving in any of the method embodiments described below by running non-transitory software programs, instructions and modules stored in the memory 212. In particular, the memory 212 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 212 may also include memory located remotely from processor 211, which may be connected to processor 211 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Therefore, the liquid crystal display device of the embodiment of the application can adjust the refresh frequency of the liquid crystal display module 10 by adjusting the liquid crystal driving device 20, thereby improving the performance and the working reliability of the liquid crystal display module 10.
In addition, the output port of the driving controller 21 in the device 20 for adjusting liquid crystal driving is connected with the input port of the external clock, so that the clock is not required to be generated by the external crystal oscillator, the external crystal oscillator is saved, and the circuit cost is further reduced while the performance of the liquid crystal display module 10 is improved.
Referring to fig. 3, fig. 3 is a flow chart of a method for adjusting liquid crystal driving according to an embodiment of the present application, and the method S100 includes, but is not limited to, the following steps:
s10: determining the frequency of a PWM signal according to the preset refreshing frequency of the liquid crystal;
the preset refresh frequency is a set refresh frequency, which can be set according to different liquid crystal screens, and the set refresh frequency can be different. Preferably, the preset refresh frequency is an optimal refresh frequency of the liquid crystal display.
The frequency of the PWM signal is determined according to a preset refresh frequency, and in general, the frequency of the PWM signal is a clock frequency corresponding to the preset refresh frequency of the liquid crystal, for example: in general, the liquid crystal driver obtains a refresh frequency of 64Hz through an external crystal oscillator of 32.768KHZ, and the corresponding external crystal oscillator is 32.768KHZ, and the refresh frequency of the liquid crystal is obtained through a PWM signal, and the frequency of the PWM signal is also 32.768KHZ, and if the preset refresh frequency is 128Hz, the frequency of the PWM signal is about 65.57KHZ.
That is, the clock frequency corresponding to the preset refresh frequency of the liquid crystal is determined according to the preset refresh frequency, and then the frequency of the PWM signal is determined according to the clock frequency corresponding to the preset refresh frequency, specifically, the clock frequency corresponding to the preset refresh frequency may be used as the frequency of the PWM signal, and after the frequency of the PWM signal is determined, the corresponding PWM signal is subsequently generated.
S20: configuring parameters of a PWM register of the driving controller according to the frequency of the PWM signal;
the driving controller can obtain corresponding PWM signals by configuring parameters of the PWM register. If the PWM signal with the frequency is obtained, the parameters corresponding to the PWM register are reversely deduced. For example: the parameters of each register need to be configured, such as a PWM enabling register, a PWM clock selecting register, a PWM prescaler register, a PWM frequency dividing register, a PWM polarity selecting register, a PWM control register and the like, so as to set a PWM clock source, a PWM period, a PWM turning point, a specific output port of PWM, allow starting PWM and the like.
S30: generating the PWM signal based on parameters of the PWM register;
s40: outputting the PWM signal through the output port of the driving controller when the output port of the driving controller is enabled;
the driving controller comprises a plurality of output ports, which can be common input/output ports, special output ports and corresponding output ports which can be selected to work according to the requirement. Specifically, the drive controller determines a specific output port according to the frequency of the PWM signal and enables its port, allowing it to output the PWM signal.
Because the output port is electrically connected with the external clock input port, the PWM signal acts on the clock input port of the driving controller, so that the driving controller carries out corresponding processing on the frequency of the PWM signal based on the clock input port.
S50: based on the external clock input port, the refresh frequency of the liquid crystal is adjusted according to the frequency of the PWM signal.
The driving controller processes the frequency of the PWM signal based on the external clock input port, and generally processes the frequency of the PWM signal according to the relationship between the preset refresh frequency and the corresponding clock frequency to obtain an actual refresh frequency, and then adjusts the refresh frequency of the liquid crystal according to the actual refresh frequency to make the refresh frequency reach the preset refresh frequency of the liquid crystal. For example: based on an external clock input port, the frequency of the PWM signal is doubled, and then the refresh frequency of the liquid crystal is adjusted according to the doubled frequency of the PWM signal, so that the refresh frequency of the liquid crystal reaches the preset refresh frequency of the liquid crystal.
In summary, the method for adjusting the driving of the liquid crystal first determines the frequency of a PWM signal according to a preset refresh frequency of the liquid crystal, then configures PWM register parameters of the driving controller according to the frequency of the PWM signal, so that the driving controller generates a corresponding PWM signal based on the PWM register parameters, and then outputs the PWM signal through an output port of the driving controller when the output port of the driving controller is enabled. Therefore, the method can randomly adjust the refresh frequency of the liquid crystal to reach the preset refresh frequency, so that the screen display of the liquid crystal is clearer, and the performance and the working reliability of the liquid crystal are improved.
In some embodiments, referring to fig. 4, fig. 4 is a flowchart of step S20 provided in the embodiment of the present application, as shown in fig. 4, step S20 includes:
s21: configuring a PWM unit into an independent working mode, and setting a clock of the PWM unit, wherein the PWM unit is a module of the driving controller for generating the PWM signal;
s22: determining a period of the PWM signal based on a frequency of the PWM signal;
s23: calculating and configuring parameters of a period setting register of the PWM unit by:
Tpwm=(PWMPD[11:0]+1)/PWM clock frequency
Wherein Tpwm is the period of the PWM signal, PWMD [11:0 ]]Setting parameters of a register for the period of the PWM unit, and PWM Clock frequency Is the clock frequency of the PWM unit.
Different driver controller chips, configured register types and parameter values may be different. For example: if the drive controller is an SC95F815 chip and the PWM signal has a frequency of 65.57KHZ, PWMMD [1:0 ] is first applied]Configured to 0x to configure the PWM unit as an independent working mode, and then PWMCLK [1:0 ]]The register is configured to be 00 to set the clock frequency of the PWM unit as the system clock frequency f SYS Wherein the system clock frequency f SYS May be 32MHz, if PWMCLK [1:0 ] is to be used]The register is configured to be 01, which means that the clock frequency of the PWM unit is set to f SYS /2. System clock frequency f SYS The oscillation frequency f of the high-precision high-frequency oscillator HRC inside the chip HRC Obtained by, wherein f SYS May be f HRC /1、f HRC /2、f HRC /4 or f HRC /8. System clock frequency f SYS Basic clock frequency for each unit of chip, each unit of chipThe clock frequency required for meta-operation can be determined by comparing the system clock frequency f SYS Frequency division or frequency multiplication is performed.
Then according to the formula tpwm= (PWMPD [11:0]+1)/PWM Clock frequency Push out PWMD [11:0]The parameter of the register is 487, and PWMD [11:0]The register value is set to 487, PWMD [11:0 ]]And setting a register for the period of the PWM unit, wherein the value of the register represents the period of the PWM signal generated by the PWM unit. And finally, setting an ENPWM register to 1, enabling a corresponding output port to start the PWM unit, generating a corresponding PWM signal, and further outputting a 65.57K PWM signal at the output port of the driving controller.
Therefore, by configuring the corresponding parameters of the PWM register, a PWM signal with a corresponding frequency can be obtained for use and processing in the subsequent process.
In some embodiments, after the PWM signal is obtained, the frequency of the PWM signal is processed based on the external clock input port to obtain the actual refresh frequency of the liquid crystal, and in ideal cases, the actual refresh frequency of the liquid crystal is the same as the preset refresh frequency, and then the refresh frequency of the liquid crystal is adjusted according to the actual refresh frequency of the liquid crystal, so that the refresh frequency of the liquid crystal reaches the preset refresh frequency.
The output ports of the driving controller comprise various types of ports, such as a common input/output port and a PWM port, and the type of the output port for outputting the PWM signal can be selected according to the magnitude of the preset refresh frequency. Specifically, in some embodiments, when the preset refresh frequency of the liquid crystal is greater than the preset frequency threshold, if the PWM signal is output by using the common input/output port, the frequency of the PWM signal is processed later, and then the interruption is frequently used, so that the operation efficiency of the driving controller is affected, and therefore the PWM signal is output through the PWM port. In other embodiments, when the preset refresh frequency of the liquid crystal is less than or equal to the preset frequency threshold, a PWM signal is output through a PWM port or a general purpose input output port.
In summary, the method can arbitrarily adjust the refresh frequency of the liquid crystal to reach the preset refresh frequency, so that the screen display is clearer, and the performance and the working reliability of the liquid crystal are improved.
It should be noted that, in the foregoing embodiments, there is not necessarily a certain sequence between the steps, and those skilled in the art will understand that, in different embodiments, the steps may be performed in different execution sequences, that is, may be performed in parallel, may be performed interchangeably, or the like.
As another aspect of the embodiments of the present application, the embodiments of the present application provide an apparatus for adjusting liquid crystal driving. The means for adjusting the liquid crystal driving may be a software module, where the software module includes a number of instructions, which are stored in a memory in the electronic modulator, and the processor may access the memory and call the instructions to execute, so as to complete the method for adjusting the liquid crystal driving described in the foregoing embodiments.
In some embodiments, the device for adjusting the driving of the liquid crystal may be built by a hardware device, for example, the device for adjusting the driving of the liquid crystal may be built by one or more chips, and the chips may work cooperatively with each other to complete the method for adjusting the driving of the liquid crystal described in the above embodiments. For another example, the means for adjusting the liquid crystal drive may also be built from various types of logic devices, such as general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs), single-chip computers, ARM (Acorn RISC Machine) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these components.
Referring to fig. 5, fig. 5 shows an apparatus 500 for adjusting liquid crystal driving according to an embodiment of the application, where the apparatus 500 includes a determining module 51, a configuring module 52, a generating module 53, an output module 54, and an adjusting module 55.
The determining module 51 is configured to determine a frequency of the PWM signal according to a preset refresh frequency of the liquid crystal;
the configuration module 52 is configured to configure parameters of a PWM register of the driving controller according to the frequency of the PWM signal;
the generating module 53 is configured to generate the PWM signal based on the parameters of the PWM register;
the output module 54 is configured to output the PWM signal through the output port of the driving controller when the output port of the driving controller is enabled;
the adjustment module 55 is configured to adjust the refresh frequency of the liquid crystal according to the frequency of the PWM signal based on the external clock input port.
Therefore, the device 500 for adjusting the liquid crystal driving can arbitrarily adjust the refresh frequency of the liquid crystal to reach the preset refresh frequency, so that the screen display is clearer, and the performance and the working reliability of the liquid crystal are improved.
In some embodiments, the determining module 51 is specifically configured to determine a clock frequency corresponding to a preset refresh frequency of the liquid crystal according to the preset refresh frequency; and determining the frequency of the PWM signal according to the clock frequency corresponding to the preset refreshing frequency.
In some embodiments, the configuration module 52 is specifically configured to configure a PWM unit to an independent operation mode, and set a clock of the PWM unit, where the PWM unit is a module of the driving controller for generating the PWM signal;
determining a period of the PWM signal based on a frequency of the PWM signal;
calculating and configuring parameters of a period setting register of the PWM unit by:
Tpwm=(PWMPD[11:0]+1)/PWM clock frequency
Wherein Tpwm is the period of the PWM signal, PWMD [11:0 ]]Setting parameters of a register for the period of the PWM unit, and PWM Clock frequency Is the clock frequency of the PWM unit.
In some embodiments, the output port of the driving controller is a PWM port when the preset refresh frequency of the liquid crystal is greater than a preset frequency threshold.
In some embodiments, when the preset refresh frequency of the liquid crystal is less than or equal to the preset frequency threshold, the output port of the driving controller is the PWM port or the general purpose input/output port.
It should be noted that, since the apparatus 500 for adjusting liquid crystal driving is based on the same inventive concept as the method for adjusting liquid crystal driving in the above embodiment, the corresponding matters in the above method embodiment are also applicable to the apparatus embodiment, and are not described in detail herein.
Embodiments of the present application also provide a non-transitory computer readable storage medium storing computer executable instructions for execution by one or more processors, such as the one processor 211 of fig. 2, to cause the one or more processors to perform the method of adjusting liquid crystal driving in any of the method embodiments described above.
Embodiments of the present application also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a drive controller, cause the drive controller to perform any of the methods of adjusting a liquid crystal drive.
In summary, the device for adjusting the driving of the liquid crystal first determines the frequency of the PWM signal according to the preset refresh frequency of the liquid crystal, then configures the PWM register parameter of the driving controller according to the frequency of the PWM signal, so that the driving controller generates the corresponding PWM signal based on the PWM register parameter, and then outputs the PWM signal through the output port of the driving controller when the output port of the driving controller is enabled. Therefore, the device can randomly adjust the refresh frequency of the liquid crystal to reach the preset refresh frequency, so that the screen display of the device is clearer, and the performance and the working reliability of the liquid crystal are improved.
The above-described embodiments of the apparatus or device are merely illustrative, in which the unit modules illustrated as separate components may or may not be physically separate, and the components shown as unit modules may or may not be physical units, may be located in one place, or may be distributed over multiple network module units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the above description of embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus a general purpose hardware platform, or may be implemented by hardware. Based on such understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the related art in the form of a software product, which may be stored in a computer readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method for adjusting the liquid crystal driving described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; the technical features of the above embodiments or in the different embodiments may also be combined within the idea of the application, the steps may be implemented in any order, and there are many other variations of the different aspects of the application as described above, which are not provided in detail for the sake of brevity; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (10)

1. A method for adjusting liquid crystal driving, applied to a driving controller, wherein an output port of the driving controller is electrically connected with an external clock input port of the driving controller, the method comprising:
determining the frequency of a PWM signal according to the preset refreshing frequency of the liquid crystal;
configuring parameters of a PWM register of the driving controller according to the frequency of the PWM signal;
generating the PWM signal based on parameters of the PWM register;
outputting the PWM signal through the output port of the driving controller when the output port of the driving controller is enabled;
based on the external clock input port, the refresh frequency of the liquid crystal is adjusted according to the frequency of the PWM signal.
2. The method of adjusting a liquid crystal driving according to claim 1, wherein configuring parameters of a PWM register of the driving controller according to a frequency of the PWM signal comprises:
configuring a PWM unit into an independent working mode, and setting a clock of the PWM unit, wherein the PWM unit is a module of the driving controller for generating the PWM signal;
determining a period of the PWM signal based on a frequency of the PWM signal;
calculating and configuring parameters of a period setting register of the PWM unit by:
Tpwm=(PWMPD[11:0]+1)/PWM clock frequency
Wherein Tpwm is the period of the PWM signal, PWMD [11:0 ]]Setting parameters of a register for the period of the PWM unit, and PWM Clock frequency Is the clock frequency of the PWM unit.
3. The method of claim 2, wherein the clock of the PWM unit is a system clock.
4. The method of claim 1, wherein determining the frequency of the PWM signal based on the preset refresh frequency of the liquid crystal comprises:
determining a clock frequency corresponding to the preset refresh frequency according to the preset refresh frequency of the liquid crystal;
and determining the frequency of the PWM signal according to the clock frequency corresponding to the preset refreshing frequency.
5. The method of any one of claims 1-4, wherein the output port of the drive controller is a PWM port when the preset refresh frequency of the liquid crystal is greater than a preset frequency threshold.
6. The method of claim 5, wherein the output port of the drive controller is the PWM port or a general purpose input output port when the preset refresh frequency of the liquid crystal is less than or equal to the preset frequency threshold.
7. A drive controller is characterized in that an output port of the drive controller is electrically connected with an external clock input port of the drive controller, and
the drive controller includes at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of adjusting liquid crystal driving of any one of claims 1-6.
8. An apparatus for adjusting liquid crystal driving, wherein the apparatus for adjusting liquid crystal driving comprises the driving controller according to claim 7.
9. A liquid crystal display device, characterized in that the liquid crystal display device comprises: the device for adjusting liquid crystal driving of claim 8 is electrically connected with the liquid crystal display module, and the liquid crystal display module is used for displaying pictures.
10. A non-transitory computer readable storage medium storing computer executable instructions for causing an apparatus for adjusting a liquid crystal drive to perform the method of adjusting a liquid crystal drive of any one of claims 1-6.
CN202210340941.4A 2022-03-24 2022-03-24 Method and device for adjusting liquid crystal drive and storage medium Pending CN116844496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210340941.4A CN116844496A (en) 2022-03-24 2022-03-24 Method and device for adjusting liquid crystal drive and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210340941.4A CN116844496A (en) 2022-03-24 2022-03-24 Method and device for adjusting liquid crystal drive and storage medium

Publications (1)

Publication Number Publication Date
CN116844496A true CN116844496A (en) 2023-10-03

Family

ID=88165838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210340941.4A Pending CN116844496A (en) 2022-03-24 2022-03-24 Method and device for adjusting liquid crystal drive and storage medium

Country Status (1)

Country Link
CN (1) CN116844496A (en)

Similar Documents

Publication Publication Date Title
US10692443B2 (en) Synchronous backlight device and operation method thereof
CN103218982B (en) A kind of display screen operation irregularity disposal route and device
CN108447454B (en) Display screen time sequence control method and device, terminal equipment and storage medium
CN102129845A (en) Liquid crystal panel driving circuit and liquid crystal display device
US10665177B2 (en) Circuit arrangement for controlling backlight source and operation method thereof
CN111210778A (en) Method and device for modulating backlight source driving signal
US9477293B2 (en) Embedded controller for power-saving and method thereof
CN107132904B (en) Control system and control method of DDR system
US10725525B2 (en) Method of operating system-on-chip, system-on-chip performing the same and electronic system including the same
JP7340014B2 (en) Backlight luminance control method, device and display device
US20210358352A1 (en) Voltage Regulation System, Driving Circuit, Display Device and Voltage Regulation Method
CN109616057B (en) Backlight brightness control method and device and smart television
CN110221729A (en) A kind of driving method, device and display device
US20190129464A1 (en) I3c clock generator
US9978325B2 (en) Control unit for a segment liquid crystal display and a method thereof
US11132972B2 (en) Method for spreading spectrum, chip, display panel, and computer readable storage medium
KR20150120940A (en) Enhanced numerical controlled oscillator
CN116844496A (en) Method and device for adjusting liquid crystal drive and storage medium
CN108428425B (en) Scanning driving circuit, shift register and driving method thereof
CN115831063A (en) Display screen backlight control method and device and electronic equipment
CN104915316A (en) Communication device
US10943518B2 (en) Timing control circuit and operating method thereof
KR102527691B1 (en) System and method for improving operating characteristics of display
CN107305764A (en) The method and display system of black frame insertion are provided in the display system
CN112688672A (en) Apparatus and method for generating PWM wave

Legal Events

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