Square wave driving time sequence control method, system, equipment and medium

By performing calculation and filtering optimization on the traditional square wave drive timing, the optimized square wave drive timing is generated, which solves the problem that traditional methods cannot optimize for different liquid crystal materials and display panels, and improves the stability and matching of the display effect. .

CN119360793AActive Publication Date: 2025-01-24GUANGZHOU RUNCE ELECTRONIC TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411779164.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-01-24
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

The traditional square wave driving timing setting method cannot be optimized for the specific requirements of different liquid crystal materials and display panels, resulting in low matching between the driving signal and the LCD display panel, affecting the display effect, and the rising and falling edges cannot be accurately controlled. The shape and speed of the liquid crystal molecules lead to distortion and the generation of parasitic signals, affecting the normal switching state of the liquid crystal molecules.

Method used

By obtaining the initial wave wave shape, the calculation of the rising edge and the decline edges, generating the waveform model, using the filter optimization algorithm to process the model, generate optimization parameters, obtain the optimized square wave drive timing, and then control the work of the LCD terminal.

Benefits of technology

It improves the matching of the driver signal and the LCD display panel, accurately controls the switching status of LCD molecules, reduces image distortion and flickering, improves the stability of the display effect, and adapts to the timing requirements of different liquid crystal materials and display panels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119360793A_ABST
    Figure CN119360793A_ABST
Patent Text Reader

Abstract

The invention discloses a square wave driving time sequence control method, and relates to the technical field of driving signal processing, and the method comprises the steps: S1, obtaining an initial square wave waveform which comprises a rising edge and a falling edge; s2, performing expansion calculation on the rising edge and the falling edge to obtain an expanded waveform model of the whole initial square waveform; s3, performing calculation processing on the expanded waveform model based on a filtering optimization algorithm and generating optimization parameters; s4, acquiring a square wave driving time sequence according to the optimized parameters; and S5, controlling the liquid crystal terminal to work according to the square wave driving time sequence. The invention further provides a square wave driving time sequence control system. The method has the advantages of high-precision waveform description, filtering process optimization and display stability improvement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of drive signal processing, and in particular to a square wave drive timing control method, system, device and medium. Background Art

[0002] As a key means of controlling the switching state of liquid crystal molecules, the accuracy and stability of square wave drive timing directly affect the image quality of the display panel. Traditionally, square wave drive timing usually uses a unified specification to set the timing of the drive signal, including the rising edge and the falling edge. This "one-size-fits-all" timing setting method has been widely used in various types of LCDs in the past. However, with the rapid development of display industry technology, especially the continuous improvement of panel resolution and refresh rate, the traditional square wave drive timing setting method has gradually exposed many limitations.

[0003] On the one hand, due to the diversity of LCD technology, different liquid crystal materials and display panels have different timing requirements for driving signals. The traditional unified specification timing setting method cannot be optimized for specific LCD technology, resulting in a low match between the driving signal and the LCD panel, affecting the display effect. On the other hand, with the improvement of panel resolution and refresh rate, the rising and falling edges in the LCD driving timing become particularly important. The traditional timing setting method often cannot accurately control the shape and speed of the rising and falling edges, resulting in distortion of the driving signal and the generation of parasitic signals. These distortions and parasitic signals will seriously interfere with the normal switching state of the liquid crystal molecules, and then cause abnormal phenomena on the display panel, such as vertical bright and dark lines, which seriously affect the user's viewing experience. Summary of the invention

[0004] In view of the defects in the prior art, the present invention provides a square wave drive timing control method, system, device and medium.

[0005] A square wave drive timing control method comprises: S1, obtaining a preliminary square wave waveform, wherein the preliminary square wave waveform comprises a rising edge and a falling edge; S2, performing expansion calculation on the rising edge and the falling edge and obtaining an expanded waveform model of the entire preliminary square wave waveform; S3, performing calculation processing on the expanded waveform model based on a filtering optimization algorithm and generating optimization parameters; S4, obtaining a square wave drive timing according to the optimization parameters; S5, controlling the operation of a liquid crystal terminal according to the square wave drive timing.

[0006] Preferably, S3 includes: S31, setting initial filtering parameters; S32, filtering and calculating the expanded waveform model based on the filtering optimization algorithm and the initial filtering parameters to obtain a filtered square wave model; calculating the filtered square wave model based on the filtering optimization algorithm and obtaining a real-time quantization index, wherein the quantization index is used to quantify the real-time distortion value of the filtered square wave model; judging whether the real-time distortion value is greater than a preset threshold; S33, if so, lowering the initial filtering parameters and obtaining a corrected filtering parameter, replacing the initial filtering parameter with the corrected filtering parameter and continuing to start S32, thereby continuously iterating the filtering parameters; if not, outputting the latest filtering parameters and using them as optimization parameters.

[0007] Preferably, S32 includes: S321, setting the sampling frequency, sampling the expanded waveform model according to the sampling frequency and obtaining a discrete time model; S322, calculating the filtering index based on the filtering optimization algorithm, the initial filtering parameters and the sampling frequency; S323, processing the discrete time model based on the filtering optimization algorithm and the filtering index, and obtaining a filtered square wave model; S324, calculating the filtered square wave model based on the filtering optimization algorithm and obtaining a real-time quantitative index; S325, judging whether the real-time quantitative index is greater than a preset threshold.

[0008] Preferably, S324 includes: S3241, performing spectrum analysis on the filtered square wave model and obtaining spectrum components; S3242, obtaining real-time quantitative indicators based on the filtering optimization algorithm and spectrum component calculation.

[0009] Preferably, the calculation process of the filtering optimization algorithm in S322 can be expressed as: Among them, α is the filter index, W1 is the initial filter parameter, f c is the sampling frequency.

[0010] Preferably, the filtering optimization algorithm in S323 can be expressed as: y[n]=(1-α)·g[n]+α·

[0011] y[n-1], N ≥ n ≥ 1; where N is the length of the discrete time model based on the sampling frequency, g[n] is the square wave signal of the nth sampling point in the discrete time model, y[n-1] is the square wave signal of the n-1th sampling point in the filtered square wave model, and y[n] is the square wave signal of the nth sampling point in the filtered square wave model.

[0012] Preferably, the calculation process of the filtering optimization algorithm in S3242 can be expressed as: ×100%; where D is the real-time quantitative index, V n is the nth spectral component of the filtered square wave model.

[0013] A square wave drive timing control system is also provided, which is used to implement a square wave drive timing control method, and the system includes: an acquisition module, which is used to acquire an initial square wave waveform, and the initial square wave waveform includes a rising edge and a falling edge; a first calculation module, which is used to perform expansion calculations on the rising edge and the falling edge and obtain an expanded waveform model of the entire initial square wave waveform; a second calculation module, which is used to perform calculations on the expanded waveform model based on a filtering optimization algorithm and generate optimization parameters; a waveform correction module, which is used to acquire a square wave drive timing according to the optimization parameters; and a control module, which is used to control the operation of a liquid crystal terminal according to the square wave drive timing.

[0014] An electronic device is also provided, comprising: a memory on which a computer program is stored; and a processor for executing the computer program in the memory to implement a square wave drive timing control method.

[0015] A non-temporary computer-readable storage medium is also provided, on which a computer program is stored, and when the program is executed by a processor, a square wave drive timing control method is implemented.

[0016] The beneficial effects of the present invention are embodied in:

[0017] In the entire square wave drive timing control method, by obtaining the initial square wave waveform data and performing detailed expansion calculations on the rising and falling edges, the detailed characteristics of the square wave waveform can be described more accurately, which makes the matching degree between the driving signal and the liquid crystal display panel higher, thereby accurately controlling the switching state of the liquid crystal molecules and reducing image distortion, flicker and other problems; further, using the filtering optimization algorithm to process and analyze the expanded waveform model can eliminate adverse factors such as noise and jitter in the waveform, which helps to generate a more stable and reliable driving signal and further improve the stability of the display effect; further, the traditional square wave timing control method can be used to generate a more stable and reliable driving signal and further improve the stability of the display effect; further, the traditional square wave timing control method can be used to generate a more stable and reliable driving signal and perform detailed expansion calculations on the rising and falling edges, which can more accurately describe the detailed characteristics of the square wave waveform. The square wave drive timing setting method adopts a unified specification and cannot be optimized for specific LCD technology. The technical solution can adapt to the timing requirements of different liquid crystal materials and display panels through in-depth analysis and optimization of the square wave waveform, thereby improving the display effect. Furthermore, the stable square wave drive timing helps to reduce the accumulation of mechanical and thermal stress of the liquid crystal display panel during operation, thereby extending its service life, which helps to reduce the user's maintenance costs and replacement frequency, and improve user satisfaction. In the fields of LED display, OLED display, etc., similar drive timing optimization methods can also be explored to improve display effect and stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.

[0019] Figure 1 A schematic diagram of the steps of the square wave drive timing control method of the present invention;

[0020] Figure 2 Schematic diagram of step S3 in the square wave drive timing control method of the present invention;

[0021] Figure 3 Schematic diagram of step S32 in the square wave drive timing control method of the present invention;

[0022] Figure 4 Schematic diagram of step S324 in the square wave drive timing control method of the present invention;

[0023] Figure 5 The present invention is a block diagram of an electronic device according to an embodiment of the present invention.

[0024] Reference numerals:

[0025] 700 - electronic device, 701 - processor, 702 - memory, 703 - multimedia component, 704 - input / output (I / O) interface, 705 - communication component. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0027] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. In addition, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0029] like Figure 1 As shown, a square wave drive timing control method is provided, comprising:

[0030] S1. Obtaining a preliminary square wave waveform, wherein the preliminary square wave waveform includes a rising edge and a falling edge;

[0031] S2, performing expansion calculation on the rising edge and the falling edge and obtaining an expanded waveform model of the entire initial square wave waveform;

[0032] S3, calculating and processing the unfolded waveform model based on the filtering optimization algorithm and generating optimization parameters;

[0033] S4, obtaining the square wave driving timing according to the optimized parameters;

[0034] S5. Control the operation of the liquid crystal terminal according to the square wave driving timing.

[0035] In this embodiment, it should be noted that in S1, the initial square wave waveform data is obtained. This initial square wave waveform is the basis for all subsequent processing and analysis, so its accuracy and completeness are crucial. When obtaining the initial square wave waveform, special attention should be paid to the rising edge and falling edge. The rising edge represents the process of the signal transitioning from a low level to a high level, while the falling edge represents the process of the signal transitioning from a high level to a low level. These two processes have a direct impact on the switching state of the liquid crystal molecules, and are therefore the most critical parts of the square wave waveform. For example: Assuming that a certain LCD panel requires the rising edge time of the driving signal to be 100ns and the falling edge time to be 80ns, through the S1 step, we can use a high-speed oscilloscope to capture the initial square wave waveform of the panel in actual work, including the timing and shape of the rising edge and the falling edge, so that in the subsequent S2 step, we can expand the calculation of the rising edge and the falling edge based on these accurate data to obtain a more accurate waveform model.

[0036] In S2, based on the in-depth analysis of the initial square wave waveform, especially the detailed expansion calculation of the rising edge and the falling edge, the purpose is to smooth the rising edge and the falling edge so that they can be described by a more continuous mathematical function. Since the rising edge and the falling edge are usually very steep, that is, the time required for the high and low level changes is very short, we can consider using Taylor expansion or other expansion methods to approximate these steep changes. Here, the smoothing characteristics of the trigonometric functions (especially the sine and cosine functions) are used to simulate the rising edge and the falling edge after expansion, which can capture and filter out the nonlinear changes of other non-trigonometric functions in these two parts of the timing. For example: Let the time when the rising edge starts be t r-start The end time is t r-end , then the trigonometric function model of the rising edge can be expressed as: Assume the time when the falling edge starts is t f-start , the end time is The trigonometric function model of the rising edge can be expressed as: The expanded waveform model of the entire initial square wave can be expressed as: Among them, let from 0 to t f-end The time period is just the period T of the square wave. In summary, by expanding the calculation, the detailed characteristics of the square wave waveform can be more accurately described, especially the rising and falling edges, and other inappropriate nonlinear changes in the timing of these two parts can be accurately captured and filtered out, thereby improving the accuracy and reliability of the waveform model; further, the accurate waveform model provides a solid foundation for the subsequent filtering optimization algorithm, so that the optimization process can more effectively deal with specific problems in the waveform and generate a better quality drive signal.

[0037] In S3, the expanded waveform model obtained in step S2 is processed and analyzed in depth using the filter optimization algorithm to eliminate the noise, jitter and other unfavorable factors in the waveform, and optimize the shape and speed of the rising and falling edges, providing a basis for the subsequent generation of more accurate and stable drive signals. Through the processing of the filter optimization algorithm, the optimization parameters can be obtained. The optimization parameters are generally the filter cutoff frequency, which can describe the key fundamental frequency characteristics of the optimized square wave waveform.

[0038] In S4, for example, the optimization parameter is the filter cutoff frequency, which is directly used as the base frequency of the optimized square wave waveform. Therefore, the optimized square wave waveform period is the inverse of the base frequency, thereby directly obtaining the entire square wave drive timing. Here we can use Python code to automatically generate the square wave timing:

[0039] 1. import numpy as np

[0040] 2import matplotlib.pyplot as plt

[0041] 3# Set the cutoff frequency (base frequency)

[0042] 4 f_c=1000#Hz, for example 1000Hz

[0043] 5# Calculation cycle

[0044] 6 T=1 / f_c

[0045] 7# Set the high and low levels of the square wave

[0046] 8 high_level=1

[0047] 9 low_level=0

[0048] 10# Set the time length for generating square wave

[0049] 11 duration=0.01#seconds, for example, generates a 0.01 second timing

[0050] 12#Generate time series

[0051] 13 t = np.arange (0, duration, T / 100) # subdivide each cycle into 100 points

[0052] 14# Generate square wave

[0053] 15 square_wave=np.where(np.mod(t,T) <T / 2,high_level,low_level)

[0054] 16# Draw a square wave

[0055] 17 plt.plot(t,square_wave)

[0056] 18 plt.title('Square Wave')

[0057] 19 plt.xlabel('Time[s]')

[0058] 20 plt.ylabel('Amplitude')

[0059] 21 plt.grid(True)

[0060] 22 plt.show()

[0061] Among them, f_c is the cutoff frequency, T is the calculation period, high_level and low_level are the high level and low level, duration is the time length of generating square wave, t is the generated timing, square_wave uses np.where function to generate square wave (in each cycle, the first half is set to high level and the second half is set to low level), and plt.plot uses Matplotlib library to draw square wave.

[0062] In S5, the optimized square wave driving timing is applied to the control system of the liquid crystal terminal to realize accurate control of the switch state of the liquid crystal molecules, which involves transmitting the square wave driving timing to the liquid crystal display driver chip through an appropriate interface (such as SPI, I2C, etc.), and the driver chip generates a corresponding driving signal according to the square wave driving timing data, thereby driving the liquid crystal molecules on the liquid crystal panel to switch the switch state according to the predetermined timing.

[0063] In summary, in the entire square wave drive timing control method, by obtaining the initial square wave waveform data and performing detailed expansion calculations on the rising and falling edges, the detailed characteristics of the square wave waveform can be described more accurately, which makes the matching degree between the driving signal and the liquid crystal display panel higher, thereby accurately controlling the switching state of the liquid crystal molecules and reducing image distortion, flicker and other problems; further, by using the filtering optimization algorithm to process and analyze the expanded waveform model, the unfavorable factors such as noise and jitter in the waveform can be eliminated, which helps to generate a more stable and reliable driving signal and further improve the stability of the display effect; further, the traditional square wave drive timing The setting method adopts a unified specification and cannot be optimized for specific LCD technology. The technical solution can adapt to the timing requirements of different liquid crystal materials and display panels through in-depth analysis and optimization of the square wave waveform, thereby improving the display effect. Furthermore, the stable square wave drive timing helps to reduce the accumulation of mechanical stress and thermal stress of the liquid crystal display panel during operation, thereby extending its service life, which helps to reduce the user's maintenance cost and replacement frequency and improve user satisfaction. In the fields of LED display, OLED display, etc., similar drive timing optimization methods can also be explored to improve display effect and stability.

[0064] like Figure 2 As shown, in one embodiment, S3 includes:

[0065] S31, setting initial filtering parameters;

[0066] S32, performing filtering calculation on the expanded waveform model based on the filtering optimization algorithm and the initial filtering parameters to obtain a filtering square wave model; calculating the filtering square wave model based on the filtering optimization algorithm and obtaining a real-time quantization index, wherein the quantization index is used to quantify the real-time distortion value of the filtering square wave model; and determining whether the real-time distortion value is greater than a preset threshold;

[0067] S33, if yes, then lower the initial filtering parameters and obtain the revised filtering parameters, replace the initial filtering parameters with the revised filtering parameters and continue to start S32, so as to continuously iterate the filtering parameters; if no, then output the latest filtering parameters and use them as the optimization parameters.

[0068] In this embodiment, it should be noted that in S31, a starting point is provided for the filter optimization algorithm to start the iterative process, and initial filter parameters such as the cutoff frequency, bandwidth or order of the filter can be set according to experience or experimental data.

[0069] In S32, the expanded waveform model is filtered and calculated using a filtering optimization algorithm (such as FIR filter, IIR filter, Kalman filter, etc.) and initial filtering parameters to obtain a filtered square wave model; then a real-time quantization index is calculated, which is used to quantify the real-time distortion value of the filtered square wave model, and the distortion value may include waveform distortion, phase distortion, amplitude distortion, etc.; finally, a judgment is made to compare the real-time distortion value with the preset threshold value. If the real-time distortion value is greater than the preset threshold value, it means that the filtering effect is not ideal and the filtering parameters need to be adjusted; if the real-time distortion value is less than or equal to the preset threshold value, it means that the filtering effect meets the requirements. At the same time, the setting of the preset threshold value is a key step in liquid crystal display technology. It is usually determined based on the specific parameters of the liquid crystal terminal. These parameters may include the characteristics of the liquid crystal material, the resolution of the display panel, the refresh rate, the response time, and the performance of the driving circuit; when setting the preset threshold value, the overall performance and display effect requirements of the liquid crystal terminal need to be comprehensively considered; for example, if the liquid crystal material is sensitive to changes in the filtering parameters, or the resolution and refresh rate of the display panel are high, then the preset threshold value may need to be set more strictly to ensure that the waveform distortion value after filtering is within an acceptable range.

[0070] In S33, if the real-time distortion value is greater than the preset threshold value (the judgment result in S32), the initial filter parameters are reduced (such as reducing the cutoff frequency, increasing the filter order, etc.) to obtain the modified filter parameters; after replacing the initial filter parameters with the modified filter parameters, return to step S32 to continue a new round of filtering calculation and distortion value judgment. Iteration termination: If the real-time distortion value is less than or equal to the preset threshold value (the judgment result in S32), the latest filter parameters are output and used as the optimization parameters (i.e., the filter cutoff frequency required in step S4, etc.).

[0071] Through this subdivided S3 step, the filtering process can be more accurately controlled and optimized to ensure that the obtained filtered square wave model has lower distortion value and better stability. This iterative optimization method helps to adapt to the timing requirements of different liquid crystal materials and display panels, thereby improving the display effect and user viewing experience. At the same time, by setting reasonable preset thresholds and iteration strategies, the amount of calculation and the number of iterations can be reduced while ensuring the filtering effect, thereby improving the efficiency of the algorithm.

[0072] like Figure 3 As shown, in one embodiment, S32 includes:

[0073] S321, setting a sampling frequency, sampling the expanded waveform model according to the sampling frequency and obtaining a discrete time model;

[0074] S322, calculating the filter index based on the filter optimization algorithm, the initial filter parameters and the sampling frequency; the calculation process of the filter optimization algorithm in S322 can be expressed as: Among them, α is the filter index, W1 is the initial filter parameter, f c is the sampling frequency;

[0075] S323, processing the discrete time model based on the filtering optimization algorithm and the filtering index, and obtaining a filtering square wave model; the filtering optimization algorithm in S323 can be expressed as: y[n] = (1-α)·g[n]+α·y[n-1], N≥n≥1; wherein N is the length of the discrete time model based on the sampling frequency, g[n] is the square wave signal of the nth sampling point in the discrete time model, y[n-1] is the square wave signal of the n-1th sampling point in the filtering square wave model, and y[n] is the square wave signal of the nth sampling point in the filtering square wave model;

[0076] S324, calculating the filter square wave model based on the filter optimization algorithm and obtaining a real-time quantitative index;

[0077] S325: Determine whether the real-time quantitative index is greater than a preset threshold.

[0078] In this embodiment, it should be noted that in S321, a sampling frequency f is set. c , then f c By sampling g(t), we obtain a new discrete-time model g[t].

[0079] In S322, first, using the filtering optimization algorithm This calculation process expression is substituted into the initial filter parameters S31 to obtain W1 and S321 to obtain f c , the filter index α is calculated. Among them, the initial filter parameter W1 is the initial cutoff frequency; using this expression, the signal higher than the initial cutoff frequency can be effectively attenuated; at the same time, the expression ensures the stability of the filter, because the value of α is between 0 and 1 (when W1 and f c are all positive numbers), which ensures that the calculation process of the subsequent filtering square wave model will not diverge; therefore, the entire expression is effective for achieving low-pass filtering, simplifying calculations, ensuring stability, providing adjustability, and having clear physical meaning.

[0080] In S323, the calculation process expression y[n]=(1-α)·g[n]+α·y[n-1] in the filter optimization algorithm is used and α obtained in S322 is substituted. y[0] is used as the initial value, and y[0]=0 can be set. Then y[1], y[2], ..., y[n] are calculated in sequence. The square wave signals of these sampling points constitute the entire discrete filter square wave model y[t]. Filtering is achieved through this expression, and the attenuation of high-frequency components is controlled by α. At the same time, the current input signal g[n] and the previous filter output y[n-1] are combined to achieve a smooth filtering effect, realize effective filtering optimization, and ensure that the filtered signal meets the distortion and performance requirements.

[0081] In S324, the distortion value of the filtered square wave model is quantified for subsequent judgment and optimization; distortion calculation is performed in the filter optimization algorithm to obtain a real-time quantitative index; this index may include waveform distortion, phase error, amplitude deviation, etc., which is used to quantify the difference between the filtered square wave model and the ideal square wave.

[0082] In S325, it is determined whether the distortion value of the filtered square wave model exceeds an acceptable range. If the real-time quantization index is greater than a preset threshold, it indicates that the filtering effect is not ideal; if the real-time quantization index is less than or equal to the preset threshold, it indicates that the filtering effect meets the requirements.

[0083] like Figure 4 As shown, in one embodiment, S324 includes:

[0084] S3241, performing spectrum analysis on the filtered square wave model and obtaining spectrum components;

[0085] S3242, based on the filter optimization algorithm and the spectrum component calculation, a real-time quantitative index is obtained; the calculation process of the filter optimization algorithm in S3242 can be expressed as: Among them, D is a real-time quantitative indicator, V n is the nth spectral component of the filtered square wave model.

[0086] In this embodiment, it should be noted that in S3241, the filtered square wave model y[t] is subjected to spectrum analysis to obtain its spectrum components V n, which can generally be accomplished through existing technical means such as discrete Fourier transform (DFT) or fast Fourier transform (FFT). For example: based on the filtered square wave model y[t], that is, the discrete time signal y[n] after filtering, determine whether its length N is a power of 2. If it is not, fill it with zeros at the end to meet this condition, making it easy to use DFT; when performing DFT on y[n], the existing programming languages ​​and numerical calculation tools (such as Python's NumPy library, MATLAB, etc.) generally have ready-made DFT functions; the result obtained by DFT is the spectral component of the discrete time signal, which represents the amplitude and phase of the spectrum.

[0087] In S3242, using the filter optimization algorithm In this calculation process expression, V1 is the fundamental frequency component, and the nth spectral component V of the discrete Fourier transform of y[n] obtained above is substituted in turn. n .

[0088] It should also be noted that, depending on the result of determining whether D is greater than a preset threshold, the filter cutoff frequency f may need to be adjusted. c For example, if D is high and there are more high-frequency components, simply lower the cutoff frequency f c The calculation D is then applied again, and the process is iterated until D reaches an acceptable level or the waveform quality cannot be further improved by adjusting the cutoff frequency.

[0089] Through iterative calculation, the cutoff frequency can be gradually adjusted until the optimal filter parameters are found. In this process, we will find that the high-frequency components are gradually reduced, D is gradually reduced, and the waveform distortion and burrs are effectively controlled.

[0090] A square wave drive timing control system is also provided, the system is used to implement the square wave drive timing control method in any one of the above embodiments, the system comprising:

[0091] An acquisition module, used for acquiring a preliminary square wave waveform, wherein the preliminary square wave waveform includes a rising edge and a falling edge;

[0092] A first calculation module, used for performing expansion calculation on the rising edge and the falling edge and obtaining an expanded waveform model of the entire initial square wave waveform;

[0093] A second calculation module is used to calculate and process the unfolded waveform model based on a filtering optimization algorithm and generate optimization parameters;

[0094] A waveform correction module is used to obtain the square wave drive timing according to the optimized parameters;

[0095] The control module is used to control the operation of the liquid crystal terminal according to the square wave driving timing.

[0096] In this embodiment, it should be noted that, regarding the above-mentioned square wave drive timing control system, the specific manner of performing the operation has been described in detail in the embodiment of the square wave drive timing control method, and will not be elaborated here.

[0097] Figure 5 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Figure 5 As shown, the electronic device 700 may include: a processor 701 and a memory 702. The electronic device 700 may also include one or more of a multimedia component 703, an input / output (I / O) interface 704, and a communication component 705.

[0098] The processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned square wave drive timing control method. The memory 702 is used to store various types of data to support the operation of the electronic device 700, and these data may include, for example, instructions for any application or method used to operate on the electronic device 700, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 703 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 702 or sent through the communication component 705. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 704 provides an interface between the processor 701 and other interface modules, and the other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module, etc.

[0099] In an exemplary embodiment, the electronic device 700 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned square wave drive timing control method.

[0100] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned square wave drive timing control method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the electronic device 700 to complete the above-mentioned square wave drive timing control method.

[0101] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above square wave drive timing control method when executed by the programmable device.

[0102] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.

[0103] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0104] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.

[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A square wave drive timing control method, characterized in that: include: S1. Obtaining a preliminary square wave waveform, wherein the preliminary square wave waveform includes a rising edge and a falling edge; S2, performing expansion calculation on the rising edge and the falling edge and obtaining an expanded waveform model of the initial square wave waveform; S3, calculating and processing the unfolded waveform model based on the filtering optimization algorithm and generating optimization parameters; S4, obtaining the square wave driving timing according to the optimized parameters; S5. Control the operation of the liquid crystal terminal according to the square wave driving timing.

2. The square wave drive timing control method according to claim 1, characterized in that: The S3 includes: S31, setting initial filtering parameters; S32, performing filtering calculation on the expanded waveform model based on the filtering optimization algorithm and the initial filtering parameters to obtain a filtered square wave model; Calculating the filter square wave model based on the filter optimization algorithm and obtaining a real-time quantization index, wherein the quantization index is used to quantify the real-time distortion value of the filter square wave model; Determine whether the real-time distortion value is greater than a preset threshold; S33, if yes, then lower the initial filtering parameters and obtain the revised filtering parameters, replace the initial filtering parameters with the revised filtering parameters and then continue to start S32, so as to continuously iterate the filtering parameters; If not, the latest filtering parameters are output and used as optimization parameters.

3. The square wave drive timing control method according to claim 2, characterized in that: The S32 includes: S321, setting a sampling frequency, sampling the expanded waveform model according to the sampling frequency and obtaining a discrete time model; S322, calculating a filter index based on a filter optimization algorithm, initial filter parameters and a sampling frequency; S323, processing the discrete time model based on the filtering optimization algorithm and the filtering index, and obtaining a filtering square wave model; S324, calculating the filter square wave model based on the filter optimization algorithm and obtaining a real-time quantitative index; S325: Determine whether the real-time quantitative index is greater than a preset threshold.

4. The square wave drive timing control method according to claim 3, characterized in that: The S324 includes: S3241, performing spectrum analysis on the filtered square wave model and obtaining spectrum components; S3242. Obtain real-time quantitative indicators based on filtering optimization algorithm and spectrum component calculation.

5. The square wave drive timing control method according to claim 3, characterized in that: The calculation process of the filtering optimization algorithm in S322 can be expressed as: α is the filter index, W1 is the initial filter parameter, f c is the sampling frequency.

6. The square wave drive timing control method according to claim 3, characterized in that: The filtering optimization algorithm in S323 can be expressed as: y[n]=(1-α)·g[n]+α·y[n-1], N≥n≥1; among them, N is the length of the discrete-time model based on the sampling frequency, g[n] is the square wave signal of the nth sampling point in the discrete-time model, y[n-1] is the square wave signal of the n-1th sampling point in the filtered square wave model, and y[n] is the square wave signal of the nth sampling point in the filtered square wave model.

7. The square wave drive timing control method according to claim 4, characterized in that: The calculation process of the filtering optimization algorithm in S3242 can be expressed as: D is a real-time quantitative indicator, V n is the nth spectral component of the filtered square wave model.

8. A square wave drive timing control system, characterized in that: The system is used to implement the square wave drive timing control method according to any one of claims 1 to 7, and the system includes: An acquisition module, used for acquiring a preliminary square wave waveform, wherein the preliminary square wave waveform includes a rising edge and a falling edge; A first calculation module, used for performing expansion calculation on the rising edge and the falling edge and obtaining an expanded waveform model of the initial square wave waveform; A second calculation module is used to calculate and process the unfolded waveform model based on a filtering optimization algorithm and generate optimization parameters; A waveform correction module is used to obtain the square wave drive timing according to the optimized parameters; The control module is used to control the operation of the liquid crystal terminal according to the square wave driving timing.

9. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the square wave drive timing control method as described in any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the square wave drive timing control method described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Display module and driving method thereof

    CN102768817A

  • Driving method for improving MicroLED splash screen

    CN114299862A

  • Gate drive circuit and display device

    CN114882848A

  • Waveform data processing method and device, electronic equipment and storage medium

    CN116304945A

  • Square wave-oriented high-real-time adaptive threshold filtering device and method

    CN118826697A