CN102098043B - Device and method for judging locking through time error detection - Google Patents

Device and method for judging locking through time error detection Download PDF

Info

Publication number
CN102098043B
CN102098043B CN 200910260519 CN200910260519A CN102098043B CN 102098043 B CN102098043 B CN 102098043B CN 200910260519 CN200910260519 CN 200910260519 CN 200910260519 A CN200910260519 A CN 200910260519A CN 102098043 B CN102098043 B CN 102098043B
Authority
CN
China
Prior art keywords
state
ratio
moving sum
error detection
sum average
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.)
Expired - Fee Related
Application number
CN 200910260519
Other languages
Chinese (zh)
Other versions
CN102098043A (en
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.)
Novatek Microelectronics Corp
Original Assignee
Novatek Microelectronics Corp
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 Novatek Microelectronics Corp filed Critical Novatek Microelectronics Corp
Priority to CN 200910260519 priority Critical patent/CN102098043B/en
Publication of CN102098043A publication Critical patent/CN102098043A/en
Application granted granted Critical
Publication of CN102098043B publication Critical patent/CN102098043B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a device and method for judging locking through time error detection. The method comprises the following steps: acquiring a plurality of verification values from a transfer signal; obtaining a total movement average signal in accordance with the verification values; and sampling the total movement average signal at set intervals to obtain a plurality of sampling values, and judging whether the transfer signal is in a timing sequence lock state or a non-timing sequence lock state based on a relative size relationship among the sampling values.

Description

Thing error detection is judged locking device and method
Technical field
The relevant a kind of thing error detection of the present invention is judged locking device and method, and particularly relevant a kind of reliable thing error detection is judged locking device and method.
Background technology
Please refer to Fig. 1, it illustrates the calcspar that traditional thing error detection is judged locking device.Traditional thing error detection judges that locking device 100 comprises locking wave detector 110, an averaging unit 120 and a judging unit 130.Locking wave detector 110 transmits signal from one and obtains a plurality of certified values.Averaging unit 120 receives a plurality of certified values, and every N certified value does once average and obtain a plurality of mean values, for example do average to certified value d1~d4 and obtain mean value a1, to certified value d5~d8 do on average obtain mean value a2 ... Deng.
Judging unit 130 can judge that whether averaging unit 120 resulting a plurality of mean values are all greater than a calibrating critical value.Please refer to Fig. 2, it illustrates the schematic diagram of traditional judgement locking.In Fig. 2, when mean value during all greater than calibrating critical value LTH, judging unit 130 can judge that transmitting signals be sequential lock-out states.Yet the output of averaging unit 120 is subject to external influences such as noise, frequency shift (FS) or adjacency channel easily, causes judging unit 130 to produce erroneous judgement.In addition, if calibrating critical value LTH sets too lowly, then not yet for may being judged unit 130, the transmission signal of sequential lock-out state is mistaken for the sequential lock-out state; Otherwise, if calibrating critical value LTH sets too highly, then be the sequential lock-out state for the transmission signal of sequential lock-out state then can't judge rightly always.Hereat, corresponding different situations, judging unit 130 must be set different calibrating critical value LTH and can't adopt fixing calibrating critical value LTH to process all situations.
Summary of the invention
The purpose of this invention is to provide a kind of thing error detection and judge locking device and method, by judging the alteration trend of Moving sum mean value, to determine transmitting signal as sequential lock-out state or non-sequential lock-out state.
According to a first aspect of the invention, propose a kind of thing error detection and judge locking device, comprise a locking wave detector, a Moving sum average value calculator and a judgement indicating device.The locking wave detector transmits signal from one and obtains a plurality of certified values.The Moving sum average value calculator obtains a Moving sum average signal according to these certified values.Judge indicating device every one fixedly the period Moving sum average signal is taken a sample and obtains a plurality of sampling values, and concern to judge that according to the relative size between these sampling values the transmission signal is sequential lock-out state or non-sequential lock-out state.
According to a second aspect of the invention, propose a kind of thing error detection and judge locking means, comprise the following steps.Transmit signal from one and obtain a plurality of certified values.Obtain a Moving sum average signal according to these certified values.Every one fixedly the period Moving sum average signal is taken a sample and obtains a plurality of sampling values, and concern to judge that according to the relative size between these sampling values transmitting signal is sequential lock-out state or non-sequential lock-out state.
For foregoing of the present invention can be become apparent, below in conjunction with accompanying drawing preferred embodiment of the present invention is elaborated, wherein:
Description of drawings
Fig. 1 illustrates the calcspar that traditional thing error detection is judged locking device.
Fig. 2 illustrates the schematic diagram of traditional judgement locking.
Fig. 3 illustrates the calcspar of judging locking device according to the thing error detection of preferred embodiment of the present invention.
Fig. 4 illustrates the calcspar according to an example of the Moving sum average value calculator of preferred embodiment of the present invention.
Fig. 5 illustrates the oscillogram according to the Moving sum average signal of preferred embodiment of the present invention.
Fig. 6 illustrates the state diagram of judging locking according to the thing error detection of preferred embodiment of the present invention.
Fig. 7 illustrates the calcspar according to an example of the judgement indicating device of preferred embodiment of the present invention.
Fig. 8 illustrates the calcspar according to an example of the trend indicator of preferred embodiment of the present invention.
Fig. 9 illustrates the calcspar according to an example of the coefficient determining means of preferred embodiment of the present invention.
Embodiment
The present invention proposes a kind of thing error detection and judges locking device and method, and the alteration trend of the Moving sum mean value by judging the certified value that transmits signal is sequential lock-out state or non-sequential lock-out state so can effectively determine to transmit signal.
Please refer to Fig. 3, it illustrates the calcspar of judging locking device according to the thing error detection of preferred embodiment of the present invention.Thing error detection judges that locking device 300 comprises locking wave detector (lock detector) 310, one a Moving sum average value calculator (moving sum mean calculator) 320 and one judgement indicating device (decisionindicator) 330.Locking wave detector 310 is obtained a plurality of certified values in order to transmit signal from one.Moving sum average value calculator 320 obtains a Moving sum average signal according to a plurality of certified values.
Please refer to Fig. 4, it illustrates the calcspar according to an example of the Moving sum average value calculator of preferred embodiment of the present invention.Moving sum average value calculator 320 comprises N delay line (delay line) 321, one multiplexer 322, an adder 324, a delayer 326 and a divider 328.Can be learnt that by Fig. 4 Moving sum average value calculator 320 receives a plurality of certified values, and it is average and obtain a plurality of Moving sum mean values that a plurality of certified values are done Moving sum.Now suppose certified value to be d1~d (2N) be example, a plurality of Moving sum mean values be sequentially d1/N, (d1+d2)/N, (d1+d2+d3)/N ..., (d1+ ... + d (N-1))/N, (d1+ ... + dN)/N, (d2+ ... + d (N+1))/N, (d3+ ... + d (N+2))/N ..., (d (2N-1)+... + d (2N))/N.These a plurality of Moving sum mean values are moved sum-total average calculator 320 and are output as a Moving sum average signal, and as shown in Figure 5, it illustrates the oscillogram according to the Moving sum average signal of preferred embodiment of the present invention.
Judge indicating device 330 every one fixedly the period Moving sum average signal is taken a sample and obtains a plurality of sampling values, and concern to judge that according to the relative size between a plurality of sampling values the transmission signal is sequential lock-out state or non-sequential lock-out state.In Fig. 5, can observe obtaining, judge indicating device 330 every one fixedly the period (T1, T2 ..., T7 ...) to the Moving sum average signal take a sample and obtain a plurality of sampling values (P1, P2 ..., P7 ...).Because the characteristic of Moving sum average computation device 320, if transmitting signal is the sequential lock-out state, then the Moving sum average signal can tend towards stability, and its value is (as P3~P7) meeting narrow width of cloth in a higher limit UB and a lower limit LB vibrates and do not have excessive variation.Hereat, judge that indicating device 330 can calculate the in twos ratio of adjacent sampling value, and judge according to this alteration trend of Moving sum average signal.Stablize when the alteration trend of Moving sum average signal, judgement indicating device 330 can judge that namely transmitting signal is the sequential lock-out state.
Judge that indicating device 330 comprises in fact a state machine.Please refer to Fig. 6, it illustrates the state diagram of judging locking according to the thing error detection of preferred embodiment of the present invention.In Fig. 6, be that the ratio R that defines adjacent in twos sampling value is that a current sampling value is divided by a previous sampling value.Initial condition is nought state S0.Now cooperate Fig. 5 to explain.In Fig. 5, much larger than 1 (or greater than one first default value, for example being 50), then state machine switches to the first state S1 by nought state S0 to sampling point P2 to the ratio R of sampling point P1.Sampling point P3 to the ratio R of sampling point P2 greater than 1 but be not similar to 1 and less than the first default value, then state machine is maintained at the first state S1.
Less than 1 and be similar to 1, state machine switches to one second state S2 by the first state S1 to sampling point P4 to the ratio R of sampling point P3.Sampling point P5 is similar to 1 to the ratio R of sampling point P4, and state machine is maintained at the second state S2.And a count value (count) adds 1.When continuous (m-1) individual period state machine all is maintained at the second state, then count value (count) is added to (m-2), then state machine can switch to a third state S3 by the second state S2, judges that transmitting signal is the sequential lock-out state so that judge indicating device 330.Wherein m is one second default value, and the size of the first default value and the second default value is looked closely user's demand and decided, and does not limit.
Please refer to Fig. 7, it illustrates the calcspar according to an example of the judgement indicating device of preferred embodiment of the present invention.Judge that indicating device 330 comprises a delayer 331, a proportion calculator 332, a state machine 334, a coefficient determining means 336 and a trend indicator 338.Delayer 331 is coupled to Moving sum average value calculator 320.Proportion calculator 332 is coupled to Moving sum average value calculator 320 and delayer 331, in order to obtain the ratio R of adjacent in twos sampling value.State machine 334 is in order to switch to one of nought state S0~third state S3.Coefficient determining means 336 is controlled by state machine 334 with a plurality of coefficient C1~C4s of output corresponding to the state of state machine 334.Trend indicator 338 is coupled to proportion calculator 332 and is controlled by state machine 334, in order to foundation ratio R and coefficient C1~C4 with state of a control machine 334 switching states.
Please refer to Fig. 8 and Fig. 9, Fig. 8 illustrates the calcspar according to an example of the trend indicator of preferred embodiment of the present invention, and Fig. 9 illustrates the calcspar according to an example of the coefficient determining means of preferred embodiment of the present invention.In Fig. 8, be take the first default value as 50, and ratio R approximate 1 o'clock was between 0.9~1.1 for example explains, yet is not limited to this.Coefficient determining means 336 is utilized a plurality of multiplexers 340~344, decides the value of the coefficient C1~C4 of output according to the output STAT of state machine 334.In trend indicator 338, the size of comparator 352 and 354 coefficient of comparisons C1~C4, whether multiplexer 356 is according to the output STAT of state machine 334 and the comparative result of comparator 352 and 354, switch or keep state with state of a control machine 334.
The present invention also discloses a kind of thing error detection and judges locking means, comprises the following steps.Transmit signal from one and obtain a plurality of certified values.Obtain a Moving sum average signal according to these certified values.Every one fixedly the period Moving sum average signal is taken a sample and obtains a plurality of sampling values, and concern to judge that according to the relative size between these sampling values transmitting signal is sequential lock-out state or non-sequential lock-out state.
Above-mentioned thing error detection judges that the principle of locking means has been specified in thing error detection and has judged among locking 300 and Fig. 3~Fig. 9, so no longer repeat in this.
The disclosed thing error detection of the above embodiment of the present invention is judged locking device and method, has multiple advantages, below only enumerates the part advantage and is described as follows:
Thing error detection of the present invention is judged locking device and method, produce a Moving sum average signal by the Moving sum mean value that calculates the certified value that transmits signal, and whether the alteration trend of judging the Moving sum average signal is stable, when the alteration trend of Moving sum average signal meets criterion, can determine to transmit signal is the sequential lock-out state, otherwise, then be the non-sequential lock-out state.Thus, do not need when various situation, to reset the state that applicable calibrating critical value can determine to transmit signal effectively, improved the reliability of thing error detection judgement locking in the total system.
In sum, although the present invention with preferred embodiment exposure as above, yet it is not to limit the present invention.The persond having ordinary knowledge in the technical field of the present invention, without departing from the spirit and scope of the present invention, when making the various changes that are equal to or replacement.Therefore, protection scope of the present invention is when looking accompanying being as the criterion that the application's claim scope defines.

Claims (7)

1. a thing error detection is judged locking device, comprising:
One locking wave detector is obtained a plurality of certified values in order to transmit signal from one;
One Moving sum average value calculator is in order to obtain a Moving sum average signal according to these certified values; And
One judges indicating device, in order to every one fixedly the period this Moving sum average signal is taken a sample and obtains a plurality of sampling values, and concern to judge that according to the relative size between these sampling values this transmission signal is sequential lock-out state or non-sequential lock-out state.
2. thing error detection according to claim 1 is judged locking device, it is characterized in that, this judges that indicating device is also in order to calculate the in twos ratio of adjacent sampling value, and judge according to this alteration trend of this Moving sum average signal, stablize when the alteration trend of this Moving sum average signal, this judgement indicating device judges that this transmission signal is the sequential lock-out state.
3. thing error detection according to claim 1 is judged locking device, it is characterized in that, this judgement indicating device comprises a state machine, and the definition in twos the ratio of adjacent sampling value be to be obtained divided by a previous sampling value by a current sampling value, when a n ratio greater than one first default value, this state machine switches to one first state by a nought state, when one (n+1) ratio less than 1 and be similar to 1, this state machine switches to one second state by this first state, when one (n+2) ratio~one (n+m) ratio all is similar to 1, this state machine switches to a third state by this second state, so that this judgement indicating device judges that this transmission signal is the sequential lock-out state, wherein m is one second default value, and n and m are positive integer.
4. thing error detection according to claim 3 is judged locking device, it is characterized in that this judgement indicating device comprises:
One delayer is coupled to this Moving sum average value calculator;
One proportion calculator is coupled to this Moving sum average value calculator and this delayer, in order to obtain the ratio of adjacent in twos sampling value;
One state machine is in order to switch to one of this nought state~this third state;
One coefficient determining means is controlled by this state machine with a plurality of coefficients of output corresponding to the state of this state machine; And
One trend indicator is coupled to this proportion calculator and is controlled by this state machine, in order to according to these ratios and these coefficients to control this state machine switching state.
5. a thing error detection is judged locking means, comprising:
Transmit signal from one and obtain a plurality of certified values;
Obtain a Moving sum average signal according to these certified values; And
Every one fixedly the period this Moving sum average signal is taken a sample and obtains a plurality of sampling values, and concern to judge that according to the relative size between these sampling values this transmission signal is sequential lock-out state or non-sequential lock-out state.
6. thing error detection according to claim 5 is judged locking means, it is characterized in that, also comprises:
Calculate the in twos ratio of adjacent sampling value, and judge according to this alteration trend of this Moving sum average signal; And
When the alteration trend of this Moving sum average signal is stable, judge that this transmission signal is the sequential lock-out state.
7. thing error detection according to claim 5 is judged locking means, it is characterized in that, also comprises:
The definition in twos ratio of adjacent sampling value is to be obtained divided by a previous sampling value by a current sampling value;
When a n ratio greater than one first default value, switching a nought state is one first state, n is positive integer;
When one (n+1) ratio less than 1 and be similar to 1, switching this first state is one second state; And
When one (n+2) ratio~one (n+m) ratio all is similar to 1, switching this second state is a third state, and judges that this transmission signal is the sequential lock-out state, and wherein m is one second default value, and m is positive integer.
CN 200910260519 2009-12-11 2009-12-11 Device and method for judging locking through time error detection Expired - Fee Related CN102098043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910260519 CN102098043B (en) 2009-12-11 2009-12-11 Device and method for judging locking through time error detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910260519 CN102098043B (en) 2009-12-11 2009-12-11 Device and method for judging locking through time error detection

Publications (2)

Publication Number Publication Date
CN102098043A CN102098043A (en) 2011-06-15
CN102098043B true CN102098043B (en) 2013-03-27

Family

ID=44130935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910260519 Expired - Fee Related CN102098043B (en) 2009-12-11 2009-12-11 Device and method for judging locking through time error detection

Country Status (1)

Country Link
CN (1) CN102098043B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1714567A (en) * 2002-11-26 2005-12-28 汤姆森许可贸易公司 A carrier tracking loop lock detector
CN2884711Y (en) * 2005-12-20 2007-03-28 上海广电(集团)有限公司中央研究院 Device of controlling coefficient updating in multi-pass preventing system
CN1969495A (en) * 2004-03-18 2007-05-23 松下电器产业株式会社 Clock recovery circuit and receiver using the circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1714567A (en) * 2002-11-26 2005-12-28 汤姆森许可贸易公司 A carrier tracking loop lock detector
CN1969495A (en) * 2004-03-18 2007-05-23 松下电器产业株式会社 Clock recovery circuit and receiver using the circuit
CN2884711Y (en) * 2005-12-20 2007-03-28 上海广电(集团)有限公司中央研究院 Device of controlling coefficient updating in multi-pass preventing system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开平11-317731A 1999.11.16

Also Published As

Publication number Publication date
CN102098043A (en) 2011-06-15

Similar Documents

Publication Publication Date Title
CN105790754B (en) Digital isolation circuit and control method thereof
US7391240B2 (en) Clock anomaly detection circuit and clock anomaly detection method
JP2007519005A (en) Method and apparatus for measuring jitter
KR100813966B1 (en) Clock synchronization method and apparatus using estimated one-way delay
WO2006025579A1 (en) Missing packet measurement device and error measurement device using the same
CN102684867A (en) Method and circuit for timing recovery
US8842793B2 (en) Communication circuit and method of adjusting sampling clock signal
US8588357B2 (en) Phase selector capable of tolerating jitter and method thereof, and clock and data recovery circuit
US20110292990A1 (en) Multiple-input, on-chip oscilloscope
KR20150139776A (en) Probabilistic digital delay measurement device
CN101116258A (en) Apparatus and method for determining a maximum correlation
TW201439714A (en) System and method for determining a time for safely sampling a signal of a clock domain
CN102098043B (en) Device and method for judging locking through time error detection
US6469544B2 (en) Device for detecting abnormality of clock signal
US10033523B1 (en) Circuit for and method of measuring latency in an integrated circuit
CN101268376B (en) An apparatus and method for multi-phase digital sampling
CN102256118B (en) Synchronous circuit and method for TS (Telecommunication Service) code streams
US8588355B2 (en) Timing recovery controller and operation method thereof
CN110865957A (en) Data receiving method and device of UART interface
US8214722B2 (en) Method and system for signal error determination and correction in a flexray communication system
JP2007115036A (en) Asynchronous transfer device and asynchronous transfer method
US8767897B2 (en) Apparatus and method for timing error detection decision lock
CN108549006B (en) Self-error-detecting time-to-digital conversion circuit
JP2009159252A (en) Data transfer device, and electronic camera
US20220417123A1 (en) Information processing device, non-transitory computer-readable storage medium, and information processing method

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130327

Termination date: 20211211

CF01 Termination of patent right due to non-payment of annual fee