CN110635892A - 基于同步422标准的数据采样系统 - Google Patents

基于同步422标准的数据采样系统 Download PDF

Info

Publication number
CN110635892A
CN110635892A CN201910966449.6A CN201910966449A CN110635892A CN 110635892 A CN110635892 A CN 110635892A CN 201910966449 A CN201910966449 A CN 201910966449A CN 110635892 A CN110635892 A CN 110635892A
Authority
CN
China
Prior art keywords
clock
data
sampling
module
synchronous
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.)
Pending
Application number
CN201910966449.6A
Other languages
English (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.)
Tianjin Jinhang Computing Technology Research Institute
Original Assignee
Tianjin Jinhang Computing Technology Research Institute
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 Tianjin Jinhang Computing Technology Research Institute filed Critical Tianjin Jinhang Computing Technology Research Institute
Priority to CN201910966449.6A priority Critical patent/CN110635892A/zh
Publication of CN110635892A publication Critical patent/CN110635892A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0079Receiver details
    • H04L7/0087Preprocessing of received signal for synchronisation, e.g. by code conversion, pulse generation or edge detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/033Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

本发明属于数据传输技术领域,具体涉及一种基于同步422标准的数据采样系统,其通过采样电路实现传输数据的采样。所述数据采样系统包括:高频时钟模块、时钟采样模块、时钟上升沿判断模块、数据采样模块、整合模块、数据处理模块;与现有技术相比较,本发明对数据接收方的通用采样方法做了改进,在数据接收方使用高频时钟(时钟频率不小于同步422时钟的5倍频率)作为采样时钟,同时使用高频时钟采样同步422的时钟信号和数据信号,通过整合电路判断输入时钟的上升沿来采样输入数据信号,保证采样电路的稳定性,能够正确采样输入数据。

Description

基于同步422标准的数据采样系统
技术领域
本发明属于数据传输技术领域,具体涉及一种基于同步422标准的数据采样系统,其通过采样电路实现传输数据的采样。
背景技术
同步422标准是RS-232的改进型,全称是“平衡电压数字接口电路的电器特性”。它使用两根线之间的电压差来代表逻辑电平,通常称之为双绞线。它是一种平衡传输,任何噪声或干扰都会同时影响两根双绞线中的每一根,但对两者之间的差异影响很小,这种现象称为共模抑制。所以同步422可以在更远的距离上以更快的速度传输数据,其抗干扰能力远强于RS-232、SPI等非平衡传输方式。其最大传输距离约1200m,最大传输速度可达10Mb/s。
由于同步422标准指示规定了电压标准而无具体实现细节,通常数据传输采用的实现方式是:使用两根信号线,一根串行时钟线及一根串行数据线。数据发送方驱动这两根信号,数据接收方采样数据信号。具体实现为:数据发送方驱动时钟线,在每个时钟的上升沿,驱动数据线上1bit的数据有效并持续到时钟的下一个上升沿;数据接收方使用该时钟线作为采样时钟同步采样数据线,在每个时钟上升沿采样数据并保存下来。即,如图1所示,为当前同步422数据采样的通用方法,其包括:首先由数据采样模块以同步422输入时钟作为采样时钟采样同步422的数据;然后将采样数据进行处理应用。
但这种实现方式有一个弊端,在长距离传输中,时钟信号因为距离过长造成损耗,时钟的上升边沿不再陡峭,可能会在数据接收方使用该时钟作为采样时钟时出现采样不准,从而出现过高错误率。
发明内容
(一)要解决的技术问题
本发明要解决的技术问题是:如何提供一种基于同步422标准的数据采样系统。
(二)技术方案
为解决上述技术问题,本发明提供一种基于同步422标准的数据采样系统,所述数据采样系统包括:高频时钟模块、时钟采样模块、时钟上升沿判断模块、数据采样模块、整合模块、数据处理模块;
所述高频时钟模块采用晶振实现,其用于输出高频时钟;
所述时钟采样模块用于以所述高频时钟作为采样时钟来采样同步422时钟,生成同步422时钟采样后的时钟;
所述时钟上升沿判断模块用于对同步422时钟采样后的时钟进行判断处理,判断其时钟的上升沿,生成时钟上升判断信号;
所述数据采样模块用于以所述高频时钟作为采样时钟来采样同步422数据,生成同步422数据采样后的数据;
所述整合模块用于根据所述时钟上升判断信号来对同步422数据采样后的数据进行整合,获得有效数据;
所述数据处理模块用于对有效数据进行后续处理使用。
其中,所述高频时钟为:时钟频率不小于同步422时钟的5倍频率的高频时钟。
其中,所述同步422时钟通过串行时钟线传输而来。
其中,所述同步422数据通过串行数据线传输而来。
(三)有益效果
与现有技术相比较,本发明对数据接收方的通用采样方法做了改进,在数据接收方使用高频时钟(时钟频率不小于同步422时钟的5倍频率)作为采样时钟,同时使用高频时钟采样同步422的时钟信号和数据信号,通过整合电路判断输入时钟的上升沿来采样输入数据信号,保证采样电路的稳定性,能够正确采样输入数据。
附图说明
图1为当前同步422数据采样的通用方案示意图。
图2为本发明的同步422数据采样通用方案示意图,改进部分是虚线框内部分。
具体实施方式
为使本发明的目的、内容、和优点更加清楚,下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。
为解决上述技术问题,本发明提供一种基于同步422标准的数据采样系统,如图2所示,所述数据采样系统包括:高频时钟模块、时钟采样模块、时钟上升沿判断模块、数据采样模块、整合模块、数据处理模块;
所述高频时钟模块采用晶振实现,其用于输出高频时钟;
所述时钟采样模块用于以所述高频时钟作为采样时钟来采样同步422时钟,生成同步422时钟采样后的时钟;
所述时钟上升沿判断模块用于对同步422时钟采样后的时钟进行判断处理,判断其时钟的上升沿,生成时钟上升判断信号;
所述数据采样模块用于以所述高频时钟作为采样时钟来采样同步422数据,生成同步422数据采样后的数据;
所述整合模块用于根据所述时钟上升判断信号来对同步422数据采样后的数据进行整合,获得有效数据;
所述数据处理模块用于对有效数据进行后续处理使用。
其中,所述高频时钟为:时钟频率不小于同步422时钟的5倍频率的高频时钟。
其中,所述同步422时钟通过串行时钟线传输而来。
其中,所述同步422数据通过串行数据线传输而来。
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变形,这些改进和变形也应视为本发明的保护范围。

Claims (4)

1.一种基于同步422标准的数据采样系统,其特征在于,所述数据采样系统包括:高频时钟模块、时钟采样模块、时钟上升沿判断模块、数据采样模块、整合模块、数据处理模块;
所述高频时钟模块采用晶振实现,其用于输出高频时钟;
所述时钟采样模块用于以所述高频时钟作为采样时钟来采样同步422时钟,生成同步422时钟采样后的时钟;
所述时钟上升沿判断模块用于对同步422时钟采样后的时钟进行判断处理,判断其时钟的上升沿,生成时钟上升判断信号;
所述数据采样模块用于以所述高频时钟作为采样时钟来采样同步422数据,生成同步422数据采样后的数据;
所述整合模块用于根据所述时钟上升判断信号来对同步422数据采样后的数据进行整合,获得有效数据;
所述数据处理模块用于对有效数据进行后续处理使用。
2.如权利要求1所述的基于同步422标准的数据采样系统,其特征在于,所述高频时钟为:时钟频率不小于同步422时钟的5倍频率的高频时钟。
3.如权利要求1所述的基于同步422标准的数据采样系统,其特征在于,所述同步422时钟通过串行时钟线传输而来。
4.如权利要求1所述的基于同步422标准的数据采样系统,其特征在于,所述同步422数据通过串行数据线传输而来。
CN201910966449.6A 2019-10-12 2019-10-12 基于同步422标准的数据采样系统 Pending CN110635892A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910966449.6A CN110635892A (zh) 2019-10-12 2019-10-12 基于同步422标准的数据采样系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910966449.6A CN110635892A (zh) 2019-10-12 2019-10-12 基于同步422标准的数据采样系统

Publications (1)

Publication Number Publication Date
CN110635892A true CN110635892A (zh) 2019-12-31

Family

ID=68976115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910966449.6A Pending CN110635892A (zh) 2019-10-12 2019-10-12 基于同步422标准的数据采样系统

Country Status (1)

Country Link
CN (1) CN110635892A (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193509A (zh) * 2019-12-31 2020-05-22 上海循态信息科技有限公司 源同步数据采样点自动校准方法及系统
CN112505457A (zh) * 2020-11-30 2021-03-16 九江检安石化工程有限公司 一种防爆石油化工电气设备用数据采样系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347813A (zh) * 2011-09-26 2012-02-08 华为技术有限公司 一种选取采样时钟信号的方法和设备
CN104461972A (zh) * 2013-09-12 2015-03-25 华为技术有限公司 一种数据信号采样的方法和设备
US20170207907A1 (en) * 2016-01-15 2017-07-20 Analog Devices Global Circuits, systems, and methods for synchronization of sampling and sample rate setting

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347813A (zh) * 2011-09-26 2012-02-08 华为技术有限公司 一种选取采样时钟信号的方法和设备
CN104461972A (zh) * 2013-09-12 2015-03-25 华为技术有限公司 一种数据信号采样的方法和设备
US20170207907A1 (en) * 2016-01-15 2017-07-20 Analog Devices Global Circuits, systems, and methods for synchronization of sampling and sample rate setting

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193509A (zh) * 2019-12-31 2020-05-22 上海循态信息科技有限公司 源同步数据采样点自动校准方法及系统
CN111193509B (zh) * 2019-12-31 2023-06-16 上海循态量子科技有限公司 源同步数据采样点自动校准方法及系统
CN112505457A (zh) * 2020-11-30 2021-03-16 九江检安石化工程有限公司 一种防爆石油化工电气设备用数据采样系统

Similar Documents

Publication Publication Date Title
US10700903B2 (en) Circuit structure for efficiently demodulating FSK signal in wireless charging device
US9104822B2 (en) Signal transmission method for USB interface and apparatus thereof
JPH08509580A (ja) データバスのための遅延線分離装置
US9071357B1 (en) Data communications system including an optical fiber data link disposed between serial bidirectional electrical data busses
US20100232554A1 (en) PREDICTIVE SIGNAL CANCELLATION FOR EXTRACTING 1 MB/s MIL-STD-1553 COMPONENT FROM COMPOSITE HIGH PERFORMANCE 1553 SIGNAL
CN110635892A (zh) 基于同步422标准的数据采样系统
CN101233732A (zh) 高速驱动器均衡
JP4393458B2 (ja) データ伝送装置及びデータ伝送方法
JP5197164B2 (ja) 信号伝送装置
KR100460207B1 (ko) 룩어헤드 디시젼 피드백 이퀄라이징 기법을 이용한 수신기
GB2456517A (en) Serial data communication circuit for use with transmission lines using both data and clock to enable recovery of data synchronously
CN110750479A (zh) 基于同步422标准的数据采样方法
US20150358150A1 (en) Rising and falling edge detection and re-assembly for high speed serial data communications
US8675798B1 (en) Systems, circuits, and methods for phase inversion
JP2007295021A (ja) 受信装置及び受信方法
JPH0779286B2 (ja) 伝送回路
CN112311458B (zh) 信号的传输方法、装置、设备以及系统
CN111355623A (zh) 一种用于万兆以太网SerDes信号抖动检测的方法
CN103686170A (zh) 短距离多路视频的传输方法及装置
CN104092824A (zh) 利用手机耳机左右声道经信号差分实现的串口通信方法
EP3477520A1 (en) Secure communication for integrated circuits
US11711092B2 (en) Method for determining an inverse impulse response of a communication channel
US20070170953A1 (en) System and method for extending universal bus line length
JP2003174484A (ja) データ伝送システム及びそれに用いられるデータ送受信装置と、その方法
KR102402718B1 (ko) 송신 장치 및 시스템

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191231

RJ01 Rejection of invention patent application after publication