The present invention relates, to the field of correction of interfered signals, and particularly to a signal correcting method and a signal correcting device.
With the development of liquid crystal display technology, the integration level of a drive circuit is getting higher and higher, and the volume of an integrated circuit is getting smaller and smaller, which results in degraded anti-static capability of the integrated circuit, for example, in the application of liquid crystal display technology in industrial control area, all signals are subjected to various inferences. As shown in
Therefore, how to avoid timing skew between the clock pulse signal and the output enable signal has become an urgent technical problem to be solved in this filed.
An object of the present invention is to provide a signal correcting method and a signal correcting device, so as to correct interfered signals.
In order to achieve the above object, the present invention provides a signal correcting method comprising steps of:
S10, sampling a signal to be corrected at different sampling times;
S20, comparing a signal value at each of the sampling times in one signal period with a preset signal value corresponding to the sampling time, when the signal value at the sampling time is equal to the corresponding preset signal value, keeping the signal value at the sampling time unchanged; and when the signal value at the sampling time is not equal to the corresponding preset signal value, proceeding to step S30; and
S30, correcting the signal value at the sampling time to be the preset signal value corresponding to the sampling time.
Preferably, the signal correcting method, before step S20, further comprises a step of:
S15, storing a plurality of preset signal values corresponding to respective sampling times, respectively.
Preferably, step S20 starts to be performed in the second period of the signal to be corrected, and the preset signal values are signal values corresponding to the sampling times in the first period of the signal to be corrected.
Preferably, the signal correcting method, after step S30, further comprises a step of:
S40, filling signal values between adjacent sampling times so that an adjusted signal waveform in each period is the same as a signal waveform in the first period.
Preferably, a sampling frequency in step S10 is five to ten times as large as a frequency of the signal to be corrected.
Correspondingly, the present invention also provides a signal correcting device comprising:
a sampling module, configured to sample a signal to be corrected at different sampling times and output a signal value of the signal to be corrected at each of the sampling times to a detecting module;
the detecting module, configured to receive the signal value of the signal to be corrected at each of the sampling times output from the sampling module, compare a signal value at each of the sampling times in one signal period with a preset signal value corresponding to the sampling time to determine whether interference occurs or not at each of the sampling times, and output a signal indicating whether interference occurs or not at the sampling time to a correcting module;
the correcting module, configured to receive the signal indicating whether interference occurs or not at the sampling time from the detecting module, and correct a signal value at the sampling time at which interference occurs to be a preset signal value corresponding to the sampling time.
Preferably, the detecting module comprises a voltage comparator configured to compare the signal value at each of the sampling times with the corresponding preset signal value, and output the signal indicating whether interference occurs or not at the sampling time.
Preferably, the signal correcting device further comprises a storage module configured to store a plurality of preset signal values corresponding to the sampling times, respectively.
Preferably, the plurality of preset signal values are signal values corresponding to the sampling times in the first period of the signal to be corrected, respectively.
Preferably, the signal indicating whether interference occurs or not at the sampling time includes a high-level signal and a low-level signal, when the signal value at the sampling time is equal to the corresponding preset signal value, the voltage comparator outputs the low-level signal, and when the signal value at the sampling time is not equal to the corresponding preset signal value, the voltage comparator outputs the high-level signal;
the correcting module comprises a first triode and a second triode, both bases of the first and second triodes are connected to an output terminal of the voltage comparator, a collector of the first triode is connected to an input terminal of the signal correcting device, an emitter of the first triode is connected to an output terminal of the signal correcting; device, a collector of the second triode is connected to an output terminal of the storage module, and an emitter of the second triode is connected to the output terminal of the signal correcting device; when the voltage comparator outputs the low-level signal, the first triode is turned on, and when the voltage comparator outputs the high-level signal, the second triode is turned on.
Preferably, the signal correcting device further comprises a filling module configured to fill signal values between adjacent sampling times so that an adjusted signal waveform in each period is the same as a signal waveform in the first period.
Preferably, the filling module comprises a third triode and a fourth triode, a base of the third triode is connected to the emitter of the second triode, a collector of the third triode is connected to the storage module, and an emitter of the third triode is connected to the output terminal of the signal correcting device; a base of the fourth triode is connected to the emitter of the second triode, a collector of the fourth triode is connected to the storage module, and an emitter of the fourth triode is connected to the output terminal of the signal correcting device; when the second triode is turned on and the collector of the second triode is applied with a high level, the third triode is turned on, and when the second triode is turned on and the collector of the second triode is applied with a low level, the fourth triode is turned on.
It can be seen that the present invention can detect whether interference occurs at sampling times and correct the signal value at the sampling time at which interference occurs to be the corresponding preset signal value. As a result, a timing skew of the signal waveform is reduced on the whole, influence of external interference on the signal to be corrected is diminished, and further resistance of a driving module using the signal to interference is improved.
The accompanying drawings, as a part of the specification, is used for providing a further understanding of the present invention, and explaining the present invention in conjunction with the following specific implementations, rather than limiting the present invention. In the accompanying drawings:
Specific implementations of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that, the specific implementations described herein are merely used for illustrating and explaining the present invention, rather than limiting the present invention.
As an aspect of the present invention, there is provided a signal correcting method, as shown in
S10, sampling a signal to be corrected at different sampling times, wherein, the number of samples is not limited, and may be set as required;
S20, comparing a signal value at each of the sampling times in one signal period with a preset signal value corresponding to the sampling time when the signal value at the sampling time is equal to the corresponding preset signal value, keeping the signal value at the sampling time unchanged; and when the signal value at the sampling time is not equal to the corresponding preset signal value, proceeding to step S30; and
S30, correcting the signal value at the sampling time to be the preset signal value corresponding to the sampling time.
The one signal period described above is one period of the signal to be corrected, as shown in
By correcting the signal value at a sampling time at which interference occurs, the signal value at the sampling time at which interference occurs is equal to the corresponding preset signal value, occurrence of timing skew of the signal waveform is reduced on the whole, influence of external interference on the signal to be corrected is diminished, and further resistance of a driving module using the signal to interference is improved.
To facilitate a comparison between the signal values at sampling times and the corresponding preset signal values, before, step S20, the signal correcting method may further comprise a step of:
S15, storing a plurality of preset signal values corresponding to the sampling times respectively.
In the present invention, the preset signal values may be set in various ways, for example, when the signal to be corrected is a gate control signal of an array substrate of a display device, the preset signal value corresponding to each sampling time may be recorded through experimentation under the condition that a gate of a thin film transistor is turned on normally.
In the present invention, when to perform step S15 is not particularly limited. For example, step S15 may be performed between steps S10 and S20. Alternatively, step S15 may be performed before step S10.
As a specific implementation of the present invention, step S20 starts to be performed in the second period of the signal to be corrected, and the preset signal values are set to be signal values corresponding to the sampling times in the first period of the signal to be corrected. That is, signal values at the sampling times in the n-th (n is an integer larger than 1) period of the signal to be corrected are compared with signal values at corresponding sampling times in the first period. Specifically, taking the second period of the signal to be corrected as an example, a signal value at the first sampling time in the second period of the signal to be corrected is compared with a signal value at the first sampling time in the first period, a signal value at the second sampling time in the second period of the signal to be corrected is compared with a signal value at the second sampling time in the first period, and the rest can be done in the same manner until comparisons between signal values at all of the sampling times in the second period and those at corresponding sampling times in the first period are completed. Similarly the above comparison process applies to the rest of periods, that is, signal values at all of the sampling times in each of the remaining periods are compared with those at corresponding sampling times in the first period, respectively. Generally speaking, the first period of the signal is unlikely to be affected by external interference, and the timing sequence thereof is substantially accurate. Therefore, when signal values at respective sampling times in each of the remaining periods are corrected by using signal values at respective sampling times in the first period, the signal values at respective sampling times in each of the remaining periods are equal to those at respective sampling times in the first period correspondingly, which results in that signal waveform in each of the remaining periods is the same as that in the first period, and timing sequence of each of the remaining periods becomes the same as that of the first period (i.e. correct state).
In order to correct signal values between adjacent sampling times, further, as shown in
S40, filling signal values between adjacent sampling times so that an adjusted signal waveform in each period, is the same as a signal waveform in the first period. Filling manner is not limited in the present invention, as long as the adjusted signal waveform in each period is the same as the signal waveform in the first period. For example, taking a usual square signal as an example, when corrected signal values at two adjacent sampling times are equal to each other, a signal value between the two sampling times is determined to be the same value as the signal values at the two sampling times; when corrected signal values at two adjacent sampling times are not equal, the signal values at the two sampling times and between the two sampling times increase or decrease at a given rate.
It can be understood that, to facilitate correction of signal, sampling times used for comparison may be reduced. Specifically, when the signal value at a sampling time in a certain period is not equal to the corresponding preset signal value, the signal values at this sampling time and all sampling times after this sampling time in the same period may be directly corrected to be preset signal values corresponding to this sampling time and the sampling times alter this sampling time. As shown in
In order to correct signals accurately and improve efficiency of correction, preferably, a sampling frequency in the step S10 may be five to ten times as large as a frequency of the signal to be corrected, that is, sampling is uniformly performed at five to ten sampling times per signal period.
The signal correcting method provided by the present invention has been described above, it can be seen that, with the signal correcting, method, signal value at a sampling time at which inference occurs is corrected, so that the signal value at the sampling time at which inference occur is equal to the corresponding preset signal value, and as a result, occurrence of timing skew of the signal waveform is reduced, influence of external interference on the signal to be corrected is diminished, and resistance of a product to interference is improved.
As another aspect of the present invention, there is provided a signal correcting device, as shown in
Further, as shown in
It should be noted that, the voltage comparator may calculate an absolute value of a difference between two input voltages. It can be easily understood that, the absolute value of the difference between two input voltages is a numerical value no less than zero. The voltage comparator outputs the signal indicating whether interference occurs or not at the sampling time based on the absolute value of the difference between two input voltages. When the two input voltages of the voltage comparator are equal to each other the absolute value of the difference between the two input voltages is zero), the voltage comparator outputs a low level (indicating that the signal at the sampling time is not disturbed); when the two input voltages of the voltage comparator are not equal (the absolute value of the difference between the two input voltages is larger than zero), the voltage comparator outputs a high level (indicating that the signal at the sampling time is disturbed).
Further, as shown in
To facilitate setting of the preset signal values, further, the preset signal values may be signal values at the sampling times in the first period of the signal to be corrected. In this case, the storage module 400 is connected with the sampling module 100, and the sampling module 100 transfers the signal values at the respective sampling times in the first period of the signal to be corrected to the storage module 400 to be stored.
As described above, the signal indicating whether interference occurs or not at the sampling time includes a high-level signal and a low-level signal. In order to facilitate performing corresponding processes on signal values at sampling times at which interference occurs and signal values at sampling times at which no interference occur separately, further, as shown in
Further, as shown in
As a specific implementation of the present invention, as shown in
For example, the third triode M3 may be a N-type triode, and the fourth triode M4 may be a P-type triode. When the output of the voltage comparator is not zero (i.e., high level), the second triode M2 is turned on. At this point, when the collector of the second triode M2 is applied with a high level, the third triode M3 is turned on, and the high level is output as the corrected value; when the collector of the second triode M2 is applied with a low level, the fourth triode M4 is turned on, and the low level is output as the corrected value.
It can be understood that above implementations are merely exemplary implementations used for explaining the principle of the present invention, but the present invention is not limited thereto. For those skilled in the art, various modifications and improvements may be made without departing from the spirit and essence of the present invention, and these modifications and improvements are deemed as filling within the protection range of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2014 1 0184621 | May 2014 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7863876 | Cook et al. | Jan 2011 | B2 |
20030063053 | Yamazaki | Apr 2003 | A1 |
20040135778 | Sato | Jul 2004 | A1 |
20050099374 | Sagawa | May 2005 | A1 |
20070097038 | Yamazaki | May 2007 | A1 |
20070152920 | Yamashita | Jul 2007 | A1 |
20090079684 | Watanabe | Mar 2009 | A1 |
20090315871 | Kobayashi | Dec 2009 | A1 |
20100214276 | Tanikame | Aug 2010 | A1 |
20130135280 | Iida | May 2013 | A1 |
Number | Date | Country |
---|---|---|
1640011 | Jul 2005 | CN |
1940647 | Apr 2007 | CN |
102064927 | May 2011 | CN |
103092256 | May 2013 | CN |
103546153 | Jan 2014 | CN |
H10190456 | Jul 1998 | JP |
Entry |
---|
Chinese Office Action dated Oct. 10, 2015 issued in corresponding Chinese Application No. 201410184621.X. |
Number | Date | Country | |
---|---|---|---|
20150317940 A1 | Nov 2015 | US |