CN111193509B - Automatic calibration method and system for source synchronous data sampling points - Google Patents

Automatic calibration method and system for source synchronous data sampling points Download PDF

Info

Publication number
CN111193509B
CN111193509B CN201911416315.3A CN201911416315A CN111193509B CN 111193509 B CN111193509 B CN 111193509B CN 201911416315 A CN201911416315 A CN 201911416315A CN 111193509 B CN111193509 B CN 111193509B
Authority
CN
China
Prior art keywords
result information
edge sampling
sampling
module
positive edge
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
Application number
CN201911416315.3A
Other languages
Chinese (zh)
Other versions
CN111193509A (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.)
Shanghai Circulation Quantum Technology Co ltd
Original Assignee
Shanghai Circulation Quantum Technology Co ltd
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 Shanghai Circulation Quantum Technology Co ltd filed Critical Shanghai Circulation Quantum Technology Co ltd
Priority to CN201911416315.3A priority Critical patent/CN111193509B/en
Publication of CN111193509A publication Critical patent/CN111193509A/en
Application granted granted Critical
Publication of CN111193509B publication Critical patent/CN111193509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention provides an automatic calibration method and system for source synchronous data sampling points, comprising the following steps: step M1: according to the control information of the alternating data transmission, the alternating data is transmitted at the data source to obtain the result information of the alternating data transmission; step M2: according to the high-low alternating data transmission result information, the DFFs unit performs positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information; step M3: comparing the positive edge sampling result information and the negative edge sampling result information at the positive edge of the next clock according to the positive edge sampling result information and the negative edge sampling result information to obtain judgment result information; step M4: and acquiring automatic calibration result information of the sampling points of the source synchronous data according to the judgment result information. The invention can ensure accurate and stable data sampling of the high-speed source synchronous system when signal delay is unstable due to temperature, humidity, electromagnetic interference and the like.

Description

Automatic calibration method and system for source synchronous data sampling points
Technical Field
The invention relates to the field of calibration circuits, in particular to an automatic calibration method and an automatic calibration system for source synchronous data sampling points.
Background
In a source synchronous clock system, data and a source synchronous clock signal are synchronously transmitted, and the flight time of the two signals is guaranteed to be completely consistent, so that the complete correct sequence can be obtained at a receiving end as long as the time sequence at the transmitting end is correct. The stability of the whole system in time sequence is completely embodied in the matching degree of data and clocks, including the matching of transmission delay, the matching of device performance and the like, so long as the conditions of the data and the clock are completely the same, the time sequence of the system can be ensured to be absolutely correct, and the highest clock frequency of the system is not limited. Of course, for any data reception, certain setup and hold times must be met, as well as the source synchronous clock system, mainly in terms of timing requirements between the data signal and the clock signal. The clock sampling edges are optimally aligned to the central portion of the data signal, as shown, so that the most adequate setup and hold times are ensured. For high speed source synchronous systems, if the delay of the clock and data arrival at the sampling end or the eye pattern changes slightly (due to temperature, humidity, electromagnetic interference, etc.), this can result in setup or hold times that are not satisfactory. The automatic calibration circuit for the sampling point is designed, and can ensure accurate and stable sampling by automatic calibration regardless of the phase relation between a clock and data at a sampling end.
Patent document CN110462532a discloses an automatic calibration method for measuring circuits, for example in industrial automation or processing processes, where only one person is required to manage the whole procedure. The assembly is a calibrator (11) held by the field staff and connectable to the start of the measurement circuit to give pulses. The amount to be measured/calibrated is not limited. The measurement results can be seen at the end of the measuring circuit on the screen of the control room, i.e. the DCS (13). According to an alternative embodiment, the measured values may be directed to a dedicated server (14) via an OPC connection and returned to the calibrator (11) wirelessly or via ethernet. An alternative is to use a smart device (16) that the staff has, containing a suitable application, to which measurement data can be sent over the network, and in which the data can also be presented in a user-friendly way. Thus, data can be sent onward to the calibrator (11) on site via the BT connection. A third alternative is to send the measurement results directly from the control room (13) to the calibrator (11), whereby the data can be sent using a 3G/4G/5G network, wifi, bluetooth or ethernet connection. The delay module (15) manages the mutual time synchronization of data, i.e. pairs of numbers. The data may be stored in a spreadsheet, matrix or graphical form at a desired place, such as in the calibrator (11) own memory or in a desired server in the cloud, for example. The patent still leaves room for improvement in accuracy and stability of calibration.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide an automatic calibration method and an automatic calibration system for a source synchronous data sampling point.
The invention provides a method for automatically calibrating a source synchronous data sampling point, which comprises the following steps: step M1: according to the control information of the alternating data transmission, the alternating data is transmitted at the data source to obtain the result information of the alternating data transmission; step M2: according to the high-low alternating data transmission result information, the DFFs unit performs positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information; step M3: comparing the positive edge sampling result information and the negative edge sampling result information at the positive edge of the next clock according to the positive edge sampling result information and the negative edge sampling result information to obtain judgment result information; step M4: and acquiring automatic calibration result information of the sampling points of the source synchronous data according to the judgment result information.
Preferably, the step M2 includes: step M2.1: and according to the high-low alternating data transmission result information, the two groups of DFFs perform positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information.
Preferably, the step M4 includes: step M4.1: acquiring the same judgment result information or different judgment result information according to the judgment result information; step M4.2: and according to the same judging result information, notifying the PLL control circuit to send a positive phase shift control signal.
Preferably, the step M4 further includes: step M4.3: and according to the different judging result information, notifying the PLL control circuit to send a negative phase shift control signal.
Preferably, the method further comprises: step M5: and (3) repeating the steps M1 to M4, and performing automatic calibration on the source synchronous data sampling points for a plurality of times.
The invention provides an automatic calibration system for a source synchronous data sampling point, which comprises the following components: module M1: according to the control information of the alternating data transmission, the alternating data is transmitted at the data source to obtain the result information of the alternating data transmission; module M2: according to the high-low alternating data transmission result information, the DFFs unit performs positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information; module M3: comparing the positive edge sampling result information and the negative edge sampling result information at the positive edge of the next clock according to the positive edge sampling result information and the negative edge sampling result information to obtain judgment result information; module M4: and acquiring automatic calibration result information of the sampling points of the source synchronous data according to the judgment result information.
Preferably, the module M2 comprises: module M2.1: and according to the high-low alternating data transmission result information, the two groups of DFFs perform positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information.
Preferably, the module M4 comprises: module M4.1: acquiring the same judgment result information or different judgment result information according to the judgment result information; module M4.2: and according to the same judging result information, notifying the PLL control circuit to send a positive phase shift control signal.
Preferably, the module M4 further comprises: module M4.3: and according to the different judging result information, notifying the PLL control circuit to send a negative phase shift control signal.
Preferably, the method further comprises: module M5: repeating the modules M1 to M4, and carrying out automatic calibration on the source synchronous data sampling points for a plurality of times.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention can adapt to all source synchronous systems with different delays by using a set of circuit schemes;
2, the invention can ensure accurate and stable data sampling of the high-speed source synchronous system when signal delay caused by temperature, humidity, electromagnetic interference and the like is unstable.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, given with reference to the accompanying drawings in which:
fig. 1 is a schematic diagram of a circuit frame according to an embodiment of the invention.
Fig. 2 is a schematic diagram of the case where the start state of the system operation mechanism is the same as the positive and negative edge data in the embodiment of the present invention.
FIG. 3 is a schematic diagram of a system operating mechanism with opposite positive and negative edge data in the initial state according to an embodiment of the present invention.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the present invention, but are not intended to limit the invention in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present invention.
As shown in fig. 1-3, the method for automatically calibrating the sampling point of the source synchronous data according to the present invention includes: step M1: according to the control information of the alternating data transmission, the alternating data is transmitted at the data source to obtain the result information of the alternating data transmission; step M2: according to the high-low alternating data transmission result information, the DFFs unit performs positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information; step M3: comparing the positive edge sampling result information and the negative edge sampling result information at the positive edge of the next clock according to the positive edge sampling result information and the negative edge sampling result information to obtain judgment result information; step M4: and acquiring automatic calibration result information of the sampling points of the source synchronous data according to the judgment result information.
Preferably, the step M2 includes: step M2.1: and according to the high-low alternating data transmission result information, the two groups of DFFs perform positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information.
Preferably, the step M4 includes: step M4.1: acquiring the same judgment result information or different judgment result information according to the judgment result information; step M4.2: and according to the same judging result information, notifying the PLL control circuit to send a positive phase shift control signal.
Preferably, the step M4 further includes: step M4.3: and according to the different judging result information, notifying the PLL control circuit to send a negative phase shift control signal.
Preferably, the method further comprises: step M5: and (3) repeating the steps M1 to M4, and performing automatic calibration on the source synchronous data sampling points for a plurality of times.
Specifically, in one embodiment, as shown in fig. 2 and fig. 3, in a method for automatically calibrating a sampling point of source synchronous data, high-low alternating data is required to be sent at a data source, two sets of DFFs respectively perform positive edge sampling and negative edge sampling, and the two sets of data are compared at the positive edge of the next clock. If the two signals are the same, the PLL control circuit is informed to send a positive phase shift control signal; if the opposite is true, the PLL control circuit is notified to send a negative phase shift control signal. Over time (the timer counts to a given value), the clock rising edge will be aligned with the central portion of the data.
The invention provides an automatic calibration system for a source synchronous data sampling point, which comprises the following components: module M1: according to the control information of the alternating data transmission, the alternating data is transmitted at the data source to obtain the result information of the alternating data transmission; module M2: according to the high-low alternating data transmission result information, the DFFs unit performs positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information; module M3: comparing the positive edge sampling result information and the negative edge sampling result information at the positive edge of the next clock according to the positive edge sampling result information and the negative edge sampling result information to obtain judgment result information; module M4: and acquiring automatic calibration result information of the sampling points of the source synchronous data according to the judgment result information.
Preferably, the module M2 comprises: module M2.1: and according to the high-low alternating data transmission result information, the two groups of DFFs perform positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information.
Preferably, the module M4 comprises: module M4.1: acquiring the same judgment result information or different judgment result information according to the judgment result information; module M4.2: and according to the same judging result information, notifying the PLL control circuit to send a positive phase shift control signal.
Preferably, the module M4 further comprises: module M4.3: and according to the different judging result information, notifying the PLL control circuit to send a negative phase shift control signal.
Preferably, the method further comprises: module M5: repeating the modules M1 to M4, and carrying out automatic calibration on the source synchronous data sampling points for a plurality of times.
Specifically, in one embodiment, a source synchronous data sampling point auto-calibration system includes: a phase-shifter PLL unit, a DFFs unit, a data comparison circuit unit, a PLL control circuit unit and a timer unit; wherein,,
the phase-shifting PLL unit is a phase-locked loop capable of shifting the clock phase, wherein the clock phase shifts to the right when an effective signal is input to the +end, and the clock phase shifts to the left when an effective signal is input to the end;
the DFFs unit is used for sampling data;
a data comparison circuit unit: for comparison of positive and negative edge sample data;
PLL control circuit unit: generating a phase shift control signal according to the data comparison result;
a timer unit: for timing, and after a given time, generates a control signal to turn off the PLL control circuit.
The invention can adapt to all source synchronous systems with different delays by using a set of circuit schemes; the invention can ensure accurate and stable data sampling of the high-speed source synchronous system when signal delay is unstable due to temperature, humidity, electromagnetic interference and the like.
Those skilled in the art will appreciate that the invention provides a system and its individual devices, modules, units, etc. that can be implemented entirely by logic programming of method steps, in addition to being implemented as pure computer readable program code, in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Therefore, the system and various devices, modules and units thereof provided by the invention can be regarded as a hardware component, and the devices, modules and units for realizing various functions included in the system can also be regarded as structures in the hardware component; means, modules, and units for implementing the various functions may also be considered as either software modules for implementing the methods or structures within hardware components.
The foregoing describes specific embodiments of the present invention. It is to be understood that the invention is not limited to the particular embodiments described above, and that various changes or modifications may be made by those skilled in the art within the scope of the appended claims without affecting the spirit of the invention. The embodiments of the present application and features in the embodiments may be combined with each other arbitrarily without conflict.

Claims (6)

1. An automatic calibration method for sampling points of source synchronous data, which is characterized by comprising the following steps:
step M1: according to the control information of the alternating data transmission, the alternating data is transmitted at the data source to obtain the result information of the alternating data transmission;
step M2: according to the high-low alternating data transmission result information, the DFFs unit performs positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information;
step M3: comparing the positive edge sampling result information and the negative edge sampling result information at the positive edge of the next clock according to the positive edge sampling result information and the negative edge sampling result information to obtain judgment result information;
step M4: acquiring automatic calibration result information of a source synchronous data sampling point according to the judgment result information;
the step M4 includes:
step M4.1: acquiring the same judgment result information or different judgment result information according to the judgment result information;
step M4.2: according to the same judging result information, notifying the PLL control circuit to send a positive phase shift control signal;
step M4.3: and according to the different judging result information, notifying the PLL control circuit to send a negative phase shift control signal.
2. The method for automatically calibrating source synchronous data sampling points according to claim 1, wherein the step M2 comprises:
step M2.1: and according to the high-low alternating data transmission result information, the two groups of DFFs perform positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information.
3. The method for automatically calibrating a source synchronous data sampling point according to claim 1, further comprising: step M5: and (3) repeating the steps M1 to M4, and performing automatic calibration on the source synchronous data sampling points for a plurality of times.
4. A system for automatic calibration of source synchronous data sampling points, comprising:
module M1: according to the control information of the alternating data transmission, the alternating data is transmitted at the data source to obtain the result information of the alternating data transmission;
module M2: according to the high-low alternating data transmission result information, the DFFs unit performs positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information;
module M3: comparing the positive edge sampling result information and the negative edge sampling result information at the positive edge of the next clock according to the positive edge sampling result information and the negative edge sampling result information to obtain judgment result information;
module M4: acquiring automatic calibration result information of a source synchronous data sampling point according to the judgment result information;
the module M4 includes:
module M4.1: acquiring the same judgment result information or different judgment result information according to the judgment result information;
module M4.2: according to the same judging result information, notifying the PLL control circuit to send a positive phase shift control signal;
module M4.3: and according to the different judging result information, notifying the PLL control circuit to send a negative phase shift control signal.
5. The system of claim 4, wherein the module M2 comprises:
module M2.1: and according to the high-low alternating data transmission result information, the two groups of DFFs perform positive edge sampling and negative edge sampling to obtain positive edge sampling result information and negative edge sampling result information.
6. The system for automatically calibrating a source synchronous data sampling point according to claim 4, further comprising: module M5: repeating the modules M1 to M4, and carrying out automatic calibration on the source synchronous data sampling points for a plurality of times.
CN201911416315.3A 2019-12-31 2019-12-31 Automatic calibration method and system for source synchronous data sampling points Active CN111193509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911416315.3A CN111193509B (en) 2019-12-31 2019-12-31 Automatic calibration method and system for source synchronous data sampling points

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911416315.3A CN111193509B (en) 2019-12-31 2019-12-31 Automatic calibration method and system for source synchronous data sampling points

Publications (2)

Publication Number Publication Date
CN111193509A CN111193509A (en) 2020-05-22
CN111193509B true CN111193509B (en) 2023-06-16

Family

ID=70709637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911416315.3A Active CN111193509B (en) 2019-12-31 2019-12-31 Automatic calibration method and system for source synchronous data sampling points

Country Status (1)

Country Link
CN (1) CN111193509B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825795A (en) * 2005-02-24 2006-08-30 美国博通公司 Network device and method for prediction of an optimal sampling phase
CN102257572A (en) * 2009-01-12 2011-11-23 拉姆伯斯公司 Mesochronous signaling system with core-clock synchronization
CN102522981A (en) * 2011-12-28 2012-06-27 成都三零嘉微电子有限公司 High-speed parallel interface circuit
CN104077257A (en) * 2014-06-25 2014-10-01 西安电子科技大学 FPGA (Field Programmable Gate Array) based multi-channel data transmission synchronization delay measurement method and system
CN110635892A (en) * 2019-10-12 2019-12-31 天津津航计算技术研究所 Data sampling system based on synchronization 422 standard

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7076677B2 (en) * 2002-12-30 2006-07-11 Intel Corporation Same edge strobing for source synchronous bus systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825795A (en) * 2005-02-24 2006-08-30 美国博通公司 Network device and method for prediction of an optimal sampling phase
CN102257572A (en) * 2009-01-12 2011-11-23 拉姆伯斯公司 Mesochronous signaling system with core-clock synchronization
CN102522981A (en) * 2011-12-28 2012-06-27 成都三零嘉微电子有限公司 High-speed parallel interface circuit
CN104077257A (en) * 2014-06-25 2014-10-01 西安电子科技大学 FPGA (Field Programmable Gate Array) based multi-channel data transmission synchronization delay measurement method and system
CN110635892A (en) * 2019-10-12 2019-12-31 天津津航计算技术研究所 Data sampling system based on synchronization 422 standard

Also Published As

Publication number Publication date
CN111193509A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN101103278B (en) Automatic test system with synchronized instruments
EP3309647A1 (en) Control device and communication device
CN114567926B (en) Clock synchronization and trigger device for wireless distributed test system
CN106095706A (en) There is main equipment and the pll system from equipment
CN102611516A (en) Method and device for generating high-precision synchronous clock
EP2365651A2 (en) System and method for providing time synchronization
CN109104763B (en) Synchronization signal control method and device
CN105049146A (en) Accurate clock synchronization time-setting method for large PLC system
CN107947888A (en) A kind of task level synchronous method based on network service
CN104683057B (en) A kind of method and system of the time synchronization of more instrument cubicles
JP2024073458A (en) Bus synchronization system
WO2022062671A1 (en) Timing synchronization method, visual navigation aid device control method, and related apparatuses
WO2022062670A1 (en) Timing method, visual navigational aid device control method, and related apparatus
CN107483136A (en) A kind of clock synchronizing method between fixed communication apparatus
CN111193509B (en) Automatic calibration method and system for source synchronous data sampling points
US9811486B2 (en) Programmable controller
CN109660310B (en) Clock synchronization method and device, computing equipment and computer storage medium
CN110456628A (en) Method and device for automatically calibrating time of display screen, display screen and electric equipment
CN109873576B (en) Distributed motor synchronous control method and device
CN111357243A (en) User device of bus system, operation method and bus system
US11552777B2 (en) Time domains synchronization in a system on chip
CN114791896A (en) Time domain synchronization in a system on chip
CN109856594B (en) Multi-path controllable time delay signal generating device for passive positioning of time difference measuring system
CN110687829A (en) Method, system, medium, and apparatus for implementing a simulation clock with a precision greater than a set threshold
CN116137951A (en) Communication device, communication system, communication control method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 200241 room 1139, building 555, Dongchuan Road, Minhang District, Shanghai.

Applicant after: Shanghai circulation Quantum Technology Co.,Ltd.

Address before: 200241 room 1139, building 555, Dongchuan Road, Minhang District, Shanghai.

Applicant before: SHANGHAI XUNTAI INFORMATION TECHNOLOGY CO.,LTD.

GR01 Patent grant
GR01 Patent grant