CN101789857B - Synchronization judging device, receiving device including the synchronizing judging device, and receiving method - Google Patents
Synchronization judging device, receiving device including the synchronizing judging device, and receiving method Download PDFInfo
- Publication number
- CN101789857B CN101789857B CN 200910002984 CN200910002984A CN101789857B CN 101789857 B CN101789857 B CN 101789857B CN 200910002984 CN200910002984 CN 200910002984 CN 200910002984 A CN200910002984 A CN 200910002984A CN 101789857 B CN101789857 B CN 101789857B
- Authority
- CN
- China
- Prior art keywords
- reference value
- synchronization
- signal
- recovered clock
- judging
- 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
- 238000000034 method Methods 0.000 title claims abstract description 15
- 230000001360 synchronised effect Effects 0.000 claims abstract description 88
- 238000012545 processing Methods 0.000 claims abstract description 20
- 238000011084 recovery Methods 0.000 claims abstract description 9
- 230000005540 biological transmission Effects 0.000 description 25
- 239000013078 crystal Substances 0.000 description 6
- 238000012549 training Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 230000009466 transformation Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
A synchronization determining apparatus in a receiving apparatus having a processing circuit for determining a synchronization state of a recovery clock, the synchronization determining apparatus comprising: a comparison unit coupled to the processing circuit for generating at least one comparison signal according to a processed signal and at least one reference value; and a judging unit, coupled to the comparing unit, for generating a synchronous state signal according to the at least one comparison signal; the synchronization state signal is used for indicating the synchronization state of the recovery clock, and the processing circuit is used for receiving and processing serial data to generate the processed signal. In addition, a receiving device and a receiving method are also disclosed.
Description
Technical field
The invention relates to a kind of synchronous judgment technology, refer to especially a kind of synchronous judgment technology of transmission system.
Background technology
System (for example uses USB/USB2.0/PCI-Express I/II/Serial-ATA I/II/DisplayPort in many numerical digit sequence transmission ... Deng the interface person) in, the transmission end is first with clock and the synthetic code signal of data, and then by receiving terminal with a clock and data recovery (Clock-DataRecovery, abbreviation CDR) circuit is analyzed this code signal, and then obtain a frequency and phase place all with the recovered clock of transmission end clock synchronous, in order to correctly decode this transmission data.
Therefore, recovered clock is the principal element that can receiving terminal be correctly decoded.Knownly utilize a clock (for example crystal clock (crystal clock)) with fixed frequency to come auxiliaryly to confirm in order to the circuit of confirming recovered clock, its confirmation mode is to weigh crystal clock number of cycles and the recovered clock number of cycles that contains within a certain period of time, then infers according to this whether the recovered clock frequency falls within the zone of reasonableness of relevant this transmission end clock.For example, Fig. 1 shows has contained x crystal clock cycle T x in certain hour P, be y and can contain the number of transmission end clock cycle in this section period P.If the number of cycles z of recovered clock in this section period P greater than y, represents that the too high need of recovered clock frequency z/ (xTx) downgrade; Otherwise, increase.
But such mode only can learn whether the recovered clock frequency falls within a zone of reasonableness, can not confirm effectively whether recovered clock is locked exactly and reach synchronous frequency and phase place.
Summary of the invention
Therefore, purpose of the present invention namely can judge the synchronous decision maker of the synchronous regime of recovered clock, the receiving system that comprises this synchronous decision maker and method of reseptance thereof exactly providing a kind of.
So receiving system of the present invention comprises: a restore circuit in order to receiving an input signal, and produces serial datum and a recovered clock; One treatment circuit is coupled to this restore circuit, processes this serial data, and produces a processed signal; Reach a synchronous decision maker, judge the synchronous regime of this recovered clock according to this processed signal and one first reference value; Wherein, this serial data includes together step mode, and this first reference value is corresponding to the numerical value of processing via this treatment circuit in this synchronous mode of at least one part.
And the synchronous decision maker of the present invention, be positioned at a receiving system with a treatment circuit, be used for judging the synchronous regime of a recovered clock, this synchronous decision maker comprises: a comparing unit, be coupled to this treatment circuit, produce at least one comparison signal according to a processed signal and at least one reference value; And a judging unit, be coupled to this comparing unit, produce a synchronous status signal according to this at least one comparison signal; Wherein, this synchronous state signal is in order to representing the synchronous regime of this recovered clock, and this treatment circuit is in order to receive and to process serial datum, to produce this processed signal.
And method of reseptance of the present invention, the synchronous regime for the clock of judging an input signal comprises: receive this input signal; Produce serial datum and a recovered clock according to this input signal; This serial data of decoding is to produce a decoded signal; Reach the synchronous regime of judging this recovered clock according to this decoded signal and at least one reference value; Wherein, this serial data includes together step mode, and this at least one reference value includes one first reference value, and this first reference value is corresponding to one first numerical value that produces through decoding in this synchronous mode of at least one part.
Description of drawings
Fig. 1 is a sequential chart, illustrates that each clock cycle number that contains within a certain period of time is different;
Fig. 2 is the calcspar of the preferred embodiment of a receiving system of the present invention;
Fig. 3 is the calcspar of another form of implementation of a preferred embodiment;
Fig. 4 is a schematic diagram, code signal is described, relatively requires and judge the relativeness of requirement; And
Fig. 5 is a schematic diagram, and the active line of the voltage controlled oscillator of this preferred embodiment is described.
The main element symbol description
1 clock data recovery circuit 54 second counters
11 voltage controlled oscillator 55 first determining devices
12 adjuster 56 second determining devices
2 transformation from serial to parallel device 57 determinants
3 decoding circuit 6 swinging of signal detecting units
4 comparing unit 7 judgement sequential devices
400 synchronous decision maker 8 period generator
5 judging unit 91 transmission ends
51 first comparator 92 decision circuit
52 second comparator 93 receiving systems
53 first counter 300 treatment circuits
Embodiment
This specification and follow-up claim are not used as distinguishing the mode of element with the difference of title, but the criterion that the difference on function is used as distinguishing with element.In the middle of specification and follow-up claims, be an open term mentioned " comprising " in the whole text, therefore should be construed to " comprise but be not limited to ".In addition, " couple " word and comprise any means that indirectly are electrically connected that directly reach at this.
About aforementioned and other technology contents, characteristics and effect of the present invention, in the following detailed description that coordinates with reference to two graphic preferred embodiments, can clearly present.
Many numerical digit sequence transmission system (for example uses USB/USB2.0/PCI-Express I/II/Serial-ATA I/II/DisplayPort ... Deng the interface person) be to send one by the transmission end to have the code signal of at least one frame (frame), and carry a plurality of synchronous modes that continue (synchronous pattern) for receiving terminal identification at the initial stage of each frame.Receiving system of the present invention is to utilize the decoding of these synchronous modes to reach the synchronous purpose of confirmation.This synchronous mode can have multiple, wherein an example is: ANSI (American National Standards Institute, ANSI) 8B/10B encoded radio D10.2 (i.e. 10 ' b0101010101) or ANSI 8B/10B encoded radio D5.2 (i.e. 10 ' b1010010101).In this example, these synchronous modes have continuous transfer characteristic.This specification be this example (being adopted by PCI-Express I/II interface) as an illustration.
In the transmission system of PCI-Express I/II interface, during from the transmission beginning, can first transmit first training symbol (Training Symbol, TS), transmit again afterwards second training symbol.And 15 code elements of the 6th code element to the in during first training symbol can transmit D10.2, and in the same manner, 15 code elements of the 6th code element to the in during second training symbol can transmit D5.2.When receiving terminal receives those training symbols, because may be synchronously or not under synchronous regime, and make the D10.2 that receives have two states (that is, 10 ' b 0101010101 and 10 ' b 1010101010), and the D5.2 that receives has six kinds of states (that is, 10 ' b 1010010101,10 ' b 0100101010,10 ' b1001010101,10 ' b 0010101010,10 ' b 0101010101 and 10 ' b 1010101010).Therefore, in order to the state that judges D10.2 and D5.2, need respectively two and six comparators (eight comparators will be arranged altogether), just can make correct judgement.Program in implementation process is identical with D5.2 due to D10.2, therefore only come the routine spirit of the present invention of saying take D10.2 as an embodiment.
Consult Fig. 2, the first embodiment of receiving system 93 of the present invention comprises the restore circuit (being a clock and data recovery (CDR) circuit 1 in the present embodiment), a treatment circuit 300 and the synchronous decision maker 400 that sequentially couple.This treatment circuit 300 comprises that a serial turns deserializer 2 and a decoding circuit 3 (is an ANSI 8B/10B decoding circuit in the present embodiment; Can be filter circuit at other embodiment, separate modulation circuit).In another form of implementation (as Fig. 3), this transformation from serial to parallel device 2 can independently go out this treatment circuit 300 and be that one of receiving system 93 comprises element.This synchronous decision maker 400 comprises that a comparing unit 4 and is coupled to the judging unit 5 of comparing unit 4.This comparing unit 4 has one first comparator 51, one second comparator 52, and this judging unit 5 has one first counter 53, one second counter 54, one first determining device 55, one second determining device 56 and a determinant 57.In one better the second embodiment, receiving system 93 of the present invention also comprises a swinging of signal detecting unit 6, a judgement sequential device 7 and a period generator 8.The relation that couples of these elements as shown in Figure 2.And the performed method of reseptance of the present invention of receiving system 93 of the present invention is in describing in the introduction to each element subsequently.
Consult Fig. 4, also carry a synchronous mode ending message after inherent these synchronous modes of each frame of this code signal, and this code signal is to be in idle state not transmitting image duration.At the second embodiment, so for effective indication synchronous mode position, this swinging of signal detecting unit 6 makes T between a comparable period that relatively requires
cmpTo originate in this code signal to transfer swing to by idle, and when ending to detect this synchronous mode ending message.
Because transmit the initial stage of these synchronous modes, receiving system 93 is not yet reached synchronously usually, so these judgement sequential device 7 meetings T during finding that this switching point that relatively requires (referring to rising edge here) is rear to wait for one section ignorance
Ignore, then make a judgement require to keep T during the judgement of one section high potential
JudgeAnd be to make this judgement require to be in electronegative potential in all the other times.Wherein, T during judgement
JudgeBe equivalent to the K of the signal period that this period generator 8 produces doubly.It should be noted that T during ignorance
IgnoreWith T during judgement
JudgeThe total value that adds must be less than T between this comparable period
cmp, to avoid T during this judgement
JudgeOverlap with the delivery time of this synchronous mode ending message.
Fig. 2 is consulted in recurrence, this clock data recovery circuit 1 receives an input signal (referring in the present embodiment this code signal), and produce according to this serial datum and a recovered clock, and this recovered clock can be used as this transformation from serial to parallel device 2, this decoding circuit 3, these comparators 51,52 and these counters 53,54 operating basis, certainly, also can produce a clock signal for above-mentioned circuit running by other circuit in addition.
Clock data recovery circuit 1 can be adopted various ways and realize, and this preferred embodiment is with a voltage controlled oscillator 11 (Voltage Controlled Oscillator, VCO) and one adjuster 12 is isolated this recovered clock, and this voltage controlled oscillator 11 has a plurality of active lines as shown in Figure 5.Suppose that transmission end 91 is to send this code signal according to a transmission end clock, and transmission end clock frequency F
TThe crystal clock frequency F that produces with voltage controlled oscillator 11
xRatio be RA
T, recovered clock frequency F
RWith crystal clock frequency F
xRatio be RA
RAdjust when recovered clock frequency FR is subjected to voltage controlled oscillator 11, and make adjuster 12 measure ratio R A
RHigher than ratio R A
T, represent recovered clock frequency F
RToo high.As ratio R A
RLower than ratio R A
T, represent recovered clock frequency F
RToo low.
And adjuster 12 is known ratio R A
R, RA
TRelativeness after, the alignment processing mode has four.First mode is: adjuster 12 directly selects wherein a kind of suitable active line of voltage controlled oscillator 11 to make recovered clock accelerating ated test to the ideal frequency value.Second mode is: the decision circuit 92 of one outside notified the ratio relativeness by adjuster 12, then selects wherein a kind of suitable active line of voltage controlled oscillator 11 to adjust by this decision circuit 92.The 3rd mode is: adjuster 12 is notified synchronous decision maker 400 with the ratio relativeness, adjusts to be selected a suitable active line by synchronous decision maker 400.The 4th mode is: if voltage controlled oscillator 11 can't adjust the recovered clock of approaching transmission end clock frequency FT according to arbitrary active line, adjuster 12 can send a frequency conversion requirement to transmission end 91.Then, transmission end 91 increases or downgrades transmission end clock frequency F more according to this
T, to the working range of the active line that falls into voltage controlled oscillator 11 and the recovered clock of the frequency approaches of vibrating.
It is 10 parallel data that this transformation from serial to parallel device 2 is converted to a bit width with this serial data.Then, this decoding circuit 3 is processed parallel data to produce a processed signal, if this decoding circuit 3 is the ANSI8B/10B decoding circuit, this processed signal is that a bit width is 8 decoded signal.In addition, when this recovered clock is reached when synchronous, this serial data includes together step mode (D10.2 i.e. 10 ' b0101010101), and one first reference value (8 ' h4A) is one first decoded signal in this synchronous mode, and one second reference value (8 ' hB5) is one second decoded signal in this synchronous mode.In the present embodiment, this synchronous mode is 10 ' b0101010101, and its ANSI 8B/10B decode value is actually the first reference value (8 ' h4A); But consider because of the accepting state difference that causes of drift, so also the decode value of 10 ' b1010101010 (i.e. the second reference value, 8 ' hB5) is included in circuit design.Certainly, can only utilize the first reference value (8 ' h4A) or the second reference value (8 ' hB5) can complete purpose of the present invention.
This comparing unit 4 is judged the synchronous regime of this recovered clock according to this decoded signal and the first reference value or the second reference value, and produces one first comparison signal or one second comparison signal that represents result of determination.This judging unit 5 produces based on this first comparison signal or this second comparison signal the synchronous state signal that a generation is expressed as synchronous regime.
T between the comparable period
cmpIn, if this first comparator 51 finds that this decoded signal is different from the first reference value (8 ' h4A), produce this first comparison signal; This first counter 53 is adjusted one first stored accumulating values according to this first comparison signal, and in this embodiment, the each adjustment is that it is added up 1.If this second comparator 52 finds that this decoded signal is different from the second reference value (8 ' hB5), produce this second comparison signal; This second counter 54 also can be adjusted one second stored accumulating values according to this second comparison signal, and in this embodiment, the each adjustment is that it is added up 1.
Then, T during this judgement
JudgeIn, these determining devices 55,56 are inspected respectively these counters 53,54 result, and then make this determinant 57 (realizing with door (AND) with in the present embodiment) output represent the synchronous state signal of synchronous regime.In the situation that this first determining device 55 inspect learn this first counter 53 the first accumulating values less than a critical value N, produce first a judgement information in order to the synchronous regime that represents this recovered clock, reach synchronous regime with demonstration.In the situation that this second determining device 56 inspect learn this second counter 54 the second accumulating values less than critical value N, produce second a judgement information in order to the synchronous regime that represents this recovered clock, reach synchronous regime with demonstration.
Then, determinant 57 can produce the synchronous state signal (1 value) that synchronous regime is reached in representative according to this first judgement information and/or this second judgement information, at this moment, the frequency of this recovered clock and phase place all with the transmission end clock synchronous.When wherein any one was not less than this critical value N, this synchronous state signal is represented 0 value of not reaching synchronous regime, and namely this recovered clock is asynchronous in the transmission end clock.In addition, in another form of implementation, determinant 57 also can this first accumulating values of direct basis and this second accumulating values judge the synchronous regime of this recovered clock, and omit these determining devices 55,56.
More specifically, find that when this synchronous decision maker 400 detects this decoded signal is same as this first/the second reference value, tendency judges that this recovered clock is in synchronous regime.When not identical, tendency judges that this recovered clock is in asynchronous regime.
It should be noted that this synchronous decision maker 400 also can replace with other forms of implementation, for example: the mode that applies in contrast with the previous embodiment.So, also can reach identical effect.At this moment, 57 need of this determinant with one or the door (an OR gate) realized.Certainly, the visual actual needs of this critical value N and transferring.
Apply on the contrary mode that is: when this first comparator 51 finds that these decoded signals are same as this first reference value, this first counter 53 can add up, and in the situation that this first determining device 55 inspect learn this first counter 53 output greater than a critical value M, this first judgement information shows and reaches synchronous regime.In like manner, can obtain this second judgement information by this second comparator 52, this second counter 54 and this second determining device 56.
Above-mentioned inference is reached synchronous reason: if almost can solve the decoding of correct synchronous mode, must be to reach the frequency locking state so, just can be correctly decoded because have this recovered clock frequency transmission end clock that coincide only.Moreover this has also hinted reaching of phase locked state, if because during the switching point of this recovered clock (one of rising edge or trailing edge) betides the conversion (transition) of this decoded signal, will cause decoding error.
And the desired bit error rate (bit error rate) of this synchronous decision maker 400 can be by T during this judgement of adjustment
JudgeN sets with this critical value.For example: when the bit error rate that requires is 2
-9=(10N)/(T/10t
bit), represent every T/10t
bitIndividual input is allowed at most 10N error bit, wherein t in the position
bitBe the inverse of code signal bit rate, 10 refer to the bit width of this parallel data.
In addition, what must illustrate is again, in the DisplayPort system, code signal does not carry the synchronous mode ending message, but see through an accessory channel (auxiliary channel by transmission end 91, be called for short the AUX passage) inform whether receiving system 93 is just transmitting synchronous mode (being equivalent to the relatively requirement that this swinging of signal detecting unit 6 sends) at present, and receiving system 93 also sees through this accessory channel and transmits its genlocing state to the transmission end, to transmit the foundation of synchronous mode as the transmission end.So, but when being applied to DisplayPort system footpath province, the present invention omits swinging of signal detecting unit 6.
And it should be noted that although this preferred embodiment is to explain with ANSI 8B/10B code signal and ANSI8B/10B decoding circuit, invention scope is not limited to this, also has code signal and the homographic solution decoding circuit of synchronous mode applicable to other.In addition, note that the more synchronous decision maker 400 in above-described embodiment is can be independently for receiving system 93.It is important to note that in another embodiment, more decoding circuit 3 can be incorporated in synchronous decision maker 400 and implement.
In sum, receiving system 93 of the present invention is with this synchronous decision maker 400 T during each section judgement
JudgeDetection receives the number of times that belongs to or do not belong to the decoded signal of synchronous mode, thereby can effectively learn frequency locking and the phase locked state of recovered clock, therefore really can reach purpose of the present invention.
The above person of thought, it is only preferred embodiment of the present invention, when not limiting scope of the invention process with this, the simple equivalence of namely generally doing according to the present patent application the scope of the claims and invention description content changes and modifies, and all still remains within the scope of the patent.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910002984 CN101789857B (en) | 2009-01-23 | 2009-01-23 | Synchronization judging device, receiving device including the synchronizing judging device, and receiving method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910002984 CN101789857B (en) | 2009-01-23 | 2009-01-23 | Synchronization judging device, receiving device including the synchronizing judging device, and receiving method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101789857A CN101789857A (en) | 2010-07-28 |
CN101789857B true CN101789857B (en) | 2013-06-05 |
Family
ID=42532925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910002984 Active CN101789857B (en) | 2009-01-23 | 2009-01-23 | Synchronization judging device, receiving device including the synchronizing judging device, and receiving method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101789857B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1239621A (en) * | 1997-09-19 | 1999-12-22 | 松下电器产业株式会社 | Modulator/demodulator and modulation/demodulation method |
CN1543100A (en) * | 2003-04-30 | 2004-11-03 | 华为技术有限公司 | A method and device for generating a time-division multiplexing service recovery clock |
-
2009
- 2009-01-23 CN CN 200910002984 patent/CN101789857B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1239621A (en) * | 1997-09-19 | 1999-12-22 | 松下电器产业株式会社 | Modulator/demodulator and modulation/demodulation method |
CN1543100A (en) * | 2003-04-30 | 2004-11-03 | 华为技术有限公司 | A method and device for generating a time-division multiplexing service recovery clock |
Also Published As
Publication number | Publication date |
---|---|
CN101789857A (en) | 2010-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2972928B1 (en) | Multi-wire single-ended push-pull link with data symbol transition based clocking | |
JP5066121B2 (en) | Apparatus and method for transmitting clock information and data | |
CN1307504C (en) | Deformity adjusting circuit and method, and data synchronization circuit and method | |
US8363771B2 (en) | Transmission device, receiving device and communication system | |
US20050286643A1 (en) | Transmitter circuit, receiver circuit, clock data recovery phase locked loop circuit, data transfer method and data transfer system | |
US10396921B2 (en) | Multi-lane synchronization method, synchronization apparatus and system, and computer storage medium | |
US8446978B2 (en) | Communication system | |
CN107562119A (en) | Eye pattern measuring device and clock data recovery system and method thereof | |
EP2643929B1 (en) | Method and circuit for clock recovery of a data stream | |
TW200952342A (en) | System and method for implementing a digital phase-locked loop | |
WO2017199603A1 (en) | Communication system and transmission apparatus | |
US6385319B1 (en) | Encoding circuit and method of detecting block code boundary and establishing synchronization between scrambler and descrambler | |
US11144088B2 (en) | Clocking synchronization method and apparatus | |
US10333571B1 (en) | Signal receiving apparatus with deskew circuit | |
CN101789857B (en) | Synchronization judging device, receiving device including the synchronizing judging device, and receiving method | |
CN104253621B (en) | Data receiver and data receiving method | |
TWI392318B (en) | Synchronization judging device, receiving device with the synchronization judging device and receiving method thereof | |
CN117527530A (en) | VBO communication method, VBO interface and display terminal | |
KR102520096B1 (en) | Encoded multi-lane N-factorial and other multi-wire communication systems | |
KR100899781B1 (en) | Method and apparatus for transmitting data with clock information | |
KR101272886B1 (en) | apparatus and method for transmitting data with clock information | |
Choe et al. | A single-pair serial link for mobile displays with clock edge modulation scheme | |
US11646862B2 (en) | Reception device and transmission and reception system | |
US7660364B2 (en) | Method of transmitting serial bit-stream and electronic transmitter for transmitting a serial bit-stream | |
JP2012222497A (en) | Receiving circuit and error detection 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 |