CN1756083B - Method for adjusting sampling frequency phase of A/D converter - Google Patents
Method for adjusting sampling frequency phase of A/D converter Download PDFInfo
- Publication number
- CN1756083B CN1756083B CN 200410083244 CN200410083244A CN1756083B CN 1756083 B CN1756083 B CN 1756083B CN 200410083244 CN200410083244 CN 200410083244 CN 200410083244 A CN200410083244 A CN 200410083244A CN 1756083 B CN1756083 B CN 1756083B
- Authority
- CN
- China
- Prior art keywords
- phase
- sampling frequency
- phase place
- calculated value
- digital signal
- 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.)
- Active
Links
Images
Abstract
The invention provides a phase regulation method of sampling frequency, comprising: in the first unit time interval, processing the analog-digital conversion on one receiving signal according to the first phase of said sampling frequency and generate the first digital signal according which to attain the first computational value by the preset calculating method; in the second unit time interval, processing the analog-digital conversion on the receiving signal according to the second phase of said sampling frequency and generate the second digital signal according which to attain the second computational value by the preset calculating method; and according to said first and second computational values to regulate the phase of said sampling frequency.
Description
Technical field
The present invention relates to a kind of sampling frequency of analog-digital converter, particularly a kind of phase adjusting method of sampling frequency of analog-digital converter.
Background technology
For an analog-digital converter ADC, the sampling point of ADC is very important, by the phase place of adjusting the ADC sampling frequency, can adjust the sampling point of ADC.Automatic phase correction (auto phasesetting) is to be used for the phase place of ADC sampling frequency of automatic regulating apparatus (as display panels).With the display panels is example, automatic phase correction be sequentially by carry out three kinds of step-phase settings, phase place measures and calculate, and the phase characteristic value read (read)-mode, IF carries out phasing to arbitrary picture frame (image frame).
See also Fig. 1, Fig. 1 is the sequential chart of a known automatic phase correction method 100.Automatic phase correction method 100 comprises following three steps: a phase settings step-and at one the 0th frame F
0Receive automatic phase correction instruction during this time; Measurement of one phase place and calculation procedure-at the first frame F
1During this time, the 0th phase place P of foundation one sampling frequency
0The sampled picture frame, and with a predetermined algorithm calculating chart picture frame corresponding to the 0th phase place P
0Characteristic value (characteristic value); And a phase characteristic value read step-at one second frame F
2During this time, and read (output) this picture frame IF corresponding to the 0th phase place P
0Characteristic value.Wherein, the time interval of frame and interframe equals vertical synchronizing signal V
SyncBetween the time interval.
This automatic phase correction method 100 is carried out above-mentioned three steps in regular turn to picture frame IF constantly, till the characteristic value of all phase places that obtain sampling frequency.Analyze (for example: maximizing or minimum value) in this predetermined number calculated value,,, finish the phase place adjustment of this sampling frequency with the sampling point of this suitableeest sampling point as this ADC to obtain the suitableeest sampling point.
By above-mentioned explanation as can be known, as if being example with the display panels, the number of phases of sampling frequency is N, and automatic phase correction method 100 must expend the time of 3N frame, can calculate the calculated value corresponding to this N phase place.
Generally speaking, the number of phases of this sampling frequency is 32, thus after in a single day a user presses the automatic phase correction button, need to wait for for three to four seconds, can be in the picture frame IF that sees again on this image display device after automatic phase correction method 100 is proofreaied and correct.
Therefore the invention reside in the phase adjusting method that a kind of sampling frequency is provided, to solve the problem of above-mentioned automatic phase correction overlong time.
Summary of the invention
Therefore one of purpose of the present invention is to provide a kind of phase adjusting method of sampling frequency, to solve the above problems.
According to claim of the present invention, the present invention is the phase adjusting method that discloses a kind of sampling frequency, comprise: in one first unit interval, one first phase place according to this sampling frequency is carried out the analog digital conversion to a received signal, produce one first digital signal, and, obtain one first calculated value by a predetermined algorithm according to this first digital signal; In one second unit interval, according to one second phase place of this sampling frequency this received signal is carried out the analog digital conversion, produce one second digital signal, and, obtain one second calculated value by this predetermined algorithm according to this second digital signal; And, adjust this phase place of this sampling frequency according to this first calculated value and this second calculated value.
Description of drawings
Fig. 1 is the sequential chart of a known automatic phase correction method.
Fig. 2 is the sequential chart of an automatic phase correction method in the embodiments of the invention.
Fig. 3 is of the present invention corresponding to the calculated value of a plurality of phase places and the graph of a relation of these a plurality of phasetophases.
Embodiment
Automatic phase correction method of the present invention is the setting by means of state machine (state machine), with in the same period (as the first above-mentioned frame F
1, and the second frame F
2Deng) the pairing a plurality of phase places of picture frame IF are carried out predetermined automatic phase correction step (measuring and calculate, reach phase characteristic value read step as above-mentioned phase settings, phase place) simultaneously.
See also Fig. 2, Fig. 2 is the sequential chart of an automatic phase correction method 200 in the preferred embodiment of the present invention.In automatic phase correction method 200, at the 0th frame F
0During this time, receive this automatic phase correction instruction and begin to carry out automatic phase correction step-Di 0 phase settings step; At the first frame F
1During this time, ADC is according to the 0th phase place P of this sampling frequency
0Picture frame IF is carried out the analog digital conversion, and output is corresponding to the 0th phase place P
0First digital signal, and calculate this first digital signal, and produce corresponding to the 0th phase place P with a predetermined algorithm
0First characteristic value.In addition, during this period, a state machine is at the first frame F
1Can assign automatically before finishing phase place is switched to next phase place-Di 0 phase place measurement and the calculation procedure and the first phase settings step; Then, at the first frame F
1After the second frame F
2During this time, export this first characteristic value to a buffer; In addition, ADC can be according to the first phase place P of this sampling frequency
1Picture frame IF is carried out the analog digital conversion, and produce corresponding to the first phase place P
1Second characteristic value.Wherein, this first phase place P1 is right after at the 0th phase place P
0After.In addition, during this period, this state machine is at the first frame F
2Can assign automatically before finishing phase place is switched to next phase place.(the 0th phase characteristic value read step, the first phase place measurement and calculation procedure and the second phase settings step)
Automatic phase correction method 200 can be carried out above-mentioned steps to picture frame IF constantly in regular turn, till reading out the characteristic value of picture frame IF corresponding to all phase places.In preferred embodiment, the maximum in this predetermined number calculated value is the suitableeest phase place P corresponding to picture frame IF
Opt
Thus, automatic phase correction method 200 only need expend the time of N+2 frame, just can calculate and read out the calculated value of picture frame IF corresponding to this N phase place.On real the work, N can be 32,64.
In automatic phase correction method 200, picture frame IF is the part of a vision signal, and the 0th frame F
0And between the first frame F1 is interval between two vertical synchronizing signals (VerticalSynchronization Signal) that equal this vision signal at interval, is the time interval of a frame (frame), as shown in Figure 2, in other words, the 0th frame F
0Be to be equal to the first frame F in fact at interval
1The interval.At the first frame F
1During this time, ADC is according to the 0th phase place P of this sampling frequency
0Picture frame IF is carried out the analog digital conversion, and output is corresponding to the 0th phase place P
0First digital signal be the pixel data (pixel data) that corresponds to first frame (frame) of this vision signal; In the same manner, ADC output is corresponding to the first phase place P
1Second digital signal also be the pixel data that corresponds to one second frame of this vision signal.
In automatic phase correction method 200, this predetermined algorithm can be difference accumulative total, and (it is with the accumulative total of the difference value between adjacent two pixels (pixel) (sum), to form this calculated value in a unit interval for sum ofdifference, S0D) algorithm.This unit interval can be the interval between two vertical synchronizing signals of this vision signal.
With this difference accumulative total algorithm, N=32 is an example, see also Fig. 3, Fig. 3 adds up algorithm calculating chart picture frame IF corresponding to the calculated value of these 32 phase places and the graph of a relation of these 32 phasetophases with this difference in the automatic phase correction method 200 of the present invention, wherein transverse axis is represented this 32 phase places, and the longitudinal axis is the calculated value of pairing each phase place of representative graph picture frame IF then.
Another embodiment of automatic phase correction method 200 of the present invention be earlier to corresponding to the 7th, the 15, the 23, and the 31 phase place P
7, P
15, P
23, and P
31Calculate the suitableeest phase place P
OptThe possible range at place.As shown in Figure 3, this may the suitableeest phase place P
OptThe possible range at place is to fall within the 7th phase place P
7And the 15 phase place P
15Between (two bigger calculated values are corresponding to the 7th phase place P in pairing four calculated values of these four phase places
7And the 15 phase place P
15), in this possible range further to the 8th to the 14 phase place P
8To P
14Carry out above-mentioned steps, to calculate the suitableeest phase place P
OptIn other words, this 32 phase place is distinguished into four phase regions, judges that earlier what person's phase region is to be possible range, in this possible range further to calculating the suitableeest phase place P
OptNeed execution to reach 30 secondaries compared to known automatic method for correcting phase 100, automatic phase correction method of the present invention only need be carried out (4+7) 11 times, just can calculate the suitableeest phase place P
Opt
Before sayed it, known automatic method for correcting phase 100 must measure enough phase places as much as possible when carrying out this phase place measurement step.Review, automatic phase correction method 200 of the present invention can be found out the suitableeest phase place P corresponding to picture frame IF earlier roughly
OptAfter the possible range at place, turn back in this possible range, to calculate further the suitableeest phase place P again
Opt
At another embodiment, automatic phase correction method 200 of the present invention can be calculated the partial pixel among the picture frame IF (for example being first half picture or odd number bar horizontal line), so, but just slower the or lower-cost logic of operating speed reach above-mentioned running.
At another embodiment, state machine of the present invention is to be finished by hardware or firmware (firmware).
The above only is preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.
Claims (14)
1. one kind is carried out phase adjusting method to a sampling frequency, and this sampling frequency comprises a plurality of phase places, and this method of adjustment comprises:
In one first unit interval, according to one first phase place of this sampling frequency one received signal is carried out the analog digital conversion, produce one first digital signal, and, obtain one first calculated value by a pre-defined algorithm according to this first digital signal;
In one second unit interval, according to one second phase place of this sampling frequency this received signal is carried out the analog digital conversion, produce one second digital signal, and, obtain one second calculated value by this pre-defined algorithm according to this second digital signal; And
According to this first calculated value and this second calculated value, adjust this phase place of this sampling frequency.
2. the method for claim 1, wherein this first and second unit interval is equal to time interval of a frame in fact.
3. the method for claim 1, wherein this received signal is to be a vision signal, and this first and second digital signal is the pixel data that is respectively one first and one second frame of this vision signal.
4. the method for claim 1, wherein at least one third phase position is between this first phase place and this second phase place.
5. the method for claim 1, wherein this pre-defined algorithm is to be difference accumulative total algorithm.
6. the method for claim 1 also comprises:
One state machine is provided, in order to after obtaining this first calculated value, next phase place of this sampling frequency of automatic setting.
7. one kind is carried out phase adjusting method to a sampling frequency, and this sampling frequency comprises a plurality of phase places, and this method of adjustment comprises:
Distinguishing those phase places becomes a plurality of phase regions, and those phase regions comprise one first phase region and one second phase region;
One first phase place according to this first phase region of this sampling frequency is carried out the analog digital conversion to a received signal, produces one first digital signal, and according to this first digital signal, obtains one first calculated value by a pre-defined algorithm;
One second phase place according to this second phase region of this sampling frequency is carried out the analog digital conversion to this received signal, produces one second digital signal, and according to this second digital signal, obtains one second calculated value by this pre-defined algorithm; And
According to this first calculated value and this second calculated value, decision with this first and a phase region as this sampling frequency of this second phase region.
8. method as claimed in claim 7 also comprises:
Foundation is carried out the analog digital conversion with each phase place of the phase region of this sampling frequency to this received signal in regular turn, produces a plurality of three digital signals, and according to those three digital signals, obtains out corresponding a plurality of the 3rd calculated value respectively; And
According to those the 3rd calculated values, determine the phase place of this sampling frequency.
9. method as claimed in claim 7, wherein, this received signal is to be a vision signal, this first and second digital signal is a part that corresponds to this vision signal.
10. method as claimed in claim 7 also comprises:
One state machine is provided, in order to after obtaining this first calculated value, next phase place of this sampling frequency of automatic setting.
11. one kind is carried out phase adjusting method to a sampling frequency, this sampling frequency comprises a plurality of phase places, and this method of adjustment comprises:
(a). set the phase place step, set next phase place of this sampling frequency, wherein, the next phase place of this sampling frequency is the next phase place of the existing phase place of this sampling frequency;
(b). phase place measures and calculation procedure, according to this existing phase place one received signal is carried out the analog digital conversion, produces one first digital signal, and according to this first digital signal, obtains one first calculated value by a pre-defined algorithm;
(c). phase characteristic value read step, read the phase characteristic value of this first calculated value as this existing phase place;
Repeat (a) and (b), (c) step, to obtain a plurality of phase characteristic values for these a plurality of phase places; And
According to these a plurality of phase characteristic values, to adjust the phase place of this sampling frequency;
Wherein, these (a) and (b), (c) step are to finish in the time interval of a frame.
12. method as claimed in claim 11 wherein, is set the phase place step and is also comprised:
Provide a state machine, in order to next phase place of this sampling frequency of automatic setting.
13. method as claimed in claim 11, wherein, this method is only calculated the part pixel of this received signal.
14. method as claimed in claim 13, wherein, this part pixel is a half-pix of a frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410083244 CN1756083B (en) | 2004-09-29 | 2004-09-29 | Method for adjusting sampling frequency phase of A/D converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410083244 CN1756083B (en) | 2004-09-29 | 2004-09-29 | Method for adjusting sampling frequency phase of A/D converter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1756083A CN1756083A (en) | 2006-04-05 |
CN1756083B true CN1756083B (en) | 2010-11-03 |
Family
ID=36689092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410083244 Active CN1756083B (en) | 2004-09-29 | 2004-09-29 | Method for adjusting sampling frequency phase of A/D converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1756083B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045065B (en) * | 2009-10-19 | 2015-08-05 | 瑞昱半导体股份有限公司 | Frequency plot adjusting device and correlation technique thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1048774A (en) * | 1985-05-20 | 1991-01-23 | 泰利比特公司 | The modem structure that is used for bad transmission medium |
CN1092231A (en) * | 1992-12-30 | 1994-09-14 | 康姆斯崔姆公司 | The demodulator that the user uses |
EP1146663A2 (en) * | 2000-04-14 | 2001-10-17 | Alcatel | Method and apparatus for automatic delay compensation in space diversity radio transmissions |
-
2004
- 2004-09-29 CN CN 200410083244 patent/CN1756083B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1048774A (en) * | 1985-05-20 | 1991-01-23 | 泰利比特公司 | The modem structure that is used for bad transmission medium |
CN1092231A (en) * | 1992-12-30 | 1994-09-14 | 康姆斯崔姆公司 | The demodulator that the user uses |
EP1146663A2 (en) * | 2000-04-14 | 2001-10-17 | Alcatel | Method and apparatus for automatic delay compensation in space diversity radio transmissions |
Also Published As
Publication number | Publication date |
---|---|
CN1756083A (en) | 2006-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6097444A (en) | Automatic image quality adjustment device adjusting phase of sampling clock for analog video signal to digital video signal conversion | |
EP1873742B1 (en) | Image display apparatus and method of adjusting clock phase | |
KR100657145B1 (en) | Image sensor having scaler and image scaling method of image sensor | |
WO2002069626A1 (en) | Image signal processing device of image sensor | |
JP2007235856A (en) | Solid imaging device | |
JPH11289500A (en) | Signal processing method for analog picture signal | |
JP7310606B2 (en) | Two-dimensional flicker measuring device and two-dimensional flicker measuring method | |
EP1624441A2 (en) | Image display device | |
JP6948810B2 (en) | Image processing system | |
CN1756083B (en) | Method for adjusting sampling frequency phase of A/D converter | |
JP3905760B2 (en) | Display device | |
US20060056558A1 (en) | Method and apparatus for adjusting phase of sampling frequency of adc | |
US8970784B2 (en) | Driving apparatus, driving method, and program | |
US20070030371A1 (en) | Frame shuttering scheme for increased frame rate | |
CN103973998A (en) | Solid-state image capture device and drive method therefor | |
CN101917635A (en) | Quick time base correction device for digital composite video signal | |
CN100477731C (en) | Brightness signal processing apparatus and brightness signal processing method | |
JP3094415B2 (en) | Automatic image quality adjustment device | |
CN105577987B (en) | A kind of VGA signals rectifier and signal antidote | |
KR20000008679A (en) | Convergence revising method when changing the screen ratio | |
KR19990069458A (en) | Screen automatic control device of LCD monitor and its method | |
JP3451216B2 (en) | Image display device and sampling frequency adjustment method | |
JPH0727351B2 (en) | Sampling clock setting method for video interface device | |
JPS63276911A (en) | Digital picture signal processor using noncyclic digital filter | |
KR900002778B1 (en) | Adapting scanning converting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |