CN1533112A - Clock signal conversion circuit of V35 interface and time division multiplexing interface - Google Patents
Clock signal conversion circuit of V35 interface and time division multiplexing interface Download PDFInfo
- Publication number
- CN1533112A CN1533112A CNA031213502A CN03121350A CN1533112A CN 1533112 A CN1533112 A CN 1533112A CN A031213502 A CNA031213502 A CN A031213502A CN 03121350 A CN03121350 A CN 03121350A CN 1533112 A CN1533112 A CN 1533112A
- Authority
- CN
- China
- Prior art keywords
- frequency
- clock
- signal
- interface
- frequency division
- 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.)
- Granted
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及电信接入技术,具体地说,涉及V35接口与时分复用接口的时钟信号转换电路。The invention relates to telecommunication access technology, in particular to a clock signal conversion circuit of a V35 interface and a time-division multiplexing interface.
背景技术Background technique
在电信接入设备中,V35接口作为一种通用的对外接口技术被广泛使用。在设备内部,V35接口模块与业务处理模块通信通常使用时分复用(TDM)总线通信。TDM为2.048M的数据流,分为32个时隙,每个时隙对应于64K的数据。V35为N*64K的数据流,N=(1-32),即64K至2.048M,分别对应TDM的1-32个时隙。因此,需要进行V35接口与TDM接口的时钟或数据的转换。In telecommunication access equipment, the V35 interface is widely used as a general external interface technology. Inside the device, the communication between the V35 interface module and the service processing module usually uses a time division multiplexing (TDM) bus for communication. TDM is a 2.048M data flow, which is divided into 32 time slots, and each time slot corresponds to 64K data. V35 is a data stream of N*64K, N=(1-32), that is, 64K to 2.048M, corresponding to 1-32 time slots of TDM respectively. Therefore, it is necessary to convert the clock or data between the V35 interface and the TDM interface.
参见图1所示,图1为现有技术的V35接口与TDM接口转换示意图。当TDM向V35接口发送数据时,TDM通过用于同步定位时钟8K和工作时钟2.048M把数据写入现场可编程门阵列(FPGA)内部的发送双端口随机存取器(DPRAM)101进行缓存,每个周期(8K)写入若干个时隙的数据。V35接口用V35时钟选择模块103选择的工作时钟N*64K把数据从发送DPRAM101读出来,经过电平转换芯片106后送到对端设备。和发送刚好相反,V35接口用V35时钟选择模块103选择的工作时钟的N*64K把对端设备送过来的数据写入接收DPRAM102。TDM通过用于同步定位时钟8K和工作时钟2.048M从FPGA内部的接收DPRAM102读出来,每个周期读出若干个时隙的数据。Referring to FIG. 1 , FIG. 1 is a schematic diagram of conversion between a V35 interface and a TDM interface in the prior art. When the TDM sends data to the V35 interface, the TDM writes the data into the sending dual-port random access device (DPRAM) 101 inside the Field Programmable Gate Array (FPGA) for buffering through the
图中,现有技术的时钟转换如下:本端设备的2.048M时钟经过分频锁相环模块104后产生N*64K时钟,并送给V35时钟选择模块103。V35时钟选择模块根据单板工作模式选择来自V35接口的N*64K时钟或者来自锁相环产生的N*64K时钟作为DPRAM102的接收以及DPRAM101的发送时钟。其中,来自V35接口的时钟实际上是对端设备把本端设备的发送时钟直接返回,并未真正使用对端设提供的时钟源。本端设备的2.048M时钟经过分频模块105产生8K同步定位时钟,作为TDM接口的收发时钟。In the figure, the clock conversion of the prior art is as follows: the 2.048M clock of the local device passes through the frequency-division phase-locked
由于V35接口和TDM接口转换的所有时钟必须由同一个时钟源产生,才能保证每个周期TDM收发的数据量和V35收发数据量一致,从而保证转换正常。而从上面时钟的转换可以看到,由于不能把来自对端设备的N*64K时钟转换成TDM工作时钟2.048M,TDM接口的2.048M时钟只能由本端设备供给,不能使用对端时钟源提供的时钟,所以只能使用本端设备的时钟源,也就是只能工作在数据传输设备(DCE)模式下。Since all clocks converted by the V35 interface and the TDM interface must be generated by the same clock source, it is possible to ensure that the amount of data sent and received by TDM in each cycle is consistent with the amount of data sent and received by V35, thereby ensuring normal conversion. As can be seen from the above clock conversion, since the N*64K clock from the peer device cannot be converted into the TDM working clock 2.048M, the 2.048M clock of the TDM interface can only be supplied by the local device, and cannot be provided by the peer clock source. Therefore, only the clock source of the local device can be used, that is, it can only work in the data transmission equipment (DCE) mode.
发明内容Contents of the invention
本发明的目的在于提供一种V35接口与时分复用接口的时钟信号转换电路,以使得本端设备既可使用本端设备时钟源提供的时钟,也可使用对端设备时钟源提供的时钟。The purpose of the present invention is to provide a clock signal conversion circuit of a V35 interface and a time-division multiplexing interface, so that the local device can use the clock provided by the clock source of the local device and the clock provided by the clock source of the opposite device.
本发明通过以下技术方案实现:The present invention is realized through the following technical solutions:
一种V35接口与时分复用接口的时钟信号转换电路,包括分频锁相环104、V35时钟选择模块103,其中,分频锁相环104将来自本端设备的时钟源锁相分频所获得的V35接口工作时钟信号输入至V35时钟选择模块103,该时钟信号转换电路还包括分频单元100和倍频锁相环108,来自对端设备提供的V35接口工作时钟信号输入至V35时钟选择模块103,所述V35时钟选择模块103的输出信号送至分频单元100,分频单元100分频输出的第一分频信号送至倍频锁相环108,倍频锁相环108将该第一分频信号倍频锁相后输出时分复用接口工作时钟信号,分频单元100输出的第二分频信号为时分复用接口同步定位时钟信号。A clock signal conversion circuit for a V35 interface and a time-division multiplexing interface, comprising a frequency-division phase-locked
较佳地,所述分频单元100为一分频模块109,其输出的第一分频信号与时分复用接口同步定位时钟信号频率相同或不同。Preferably, the
较佳地,所述分频单元100进一步包括第一分频模块107和第二分频模块105,其中,第一分频模块107将来自V35时钟选择模块103的信号分频为第一分频信号输入至倍频锁相环108;第二分频模块105将来自倍频锁相环108的输出时钟信号分频为所述时分复用接口同步定位时钟信号输出。Preferably, the
较佳地,所述分频单元还包括第三分频模块110,来自倍频锁相环108的输出时钟信号输入至该分频模块,该分频模块输出一分频信号反馈输入至倍频锁相环108,该分频信号的频率为倍频锁相环108反馈信号所需频率。Preferably, the frequency division unit also includes a third
较佳地,所述第一分频信号的频率为时分复用接口同步定位时钟信号频率。所述第二分频模块105输出的分频信号还反馈输入至所述的倍频锁相环108。Preferably, the frequency of the first frequency-divided signal is the frequency of a time-division multiplexing interface synchronous positioning clock signal. The frequency-divided signal output by the second frequency-dividing
本发明通过增设分频单元100,将V35接口工作时钟分频为一固定分频信号,用该固定分频信号通过倍频锁相环108进行倍频锁相,获得TDM接口工作时钟,通过分频单元100分频输出获得TDM接口同步定位时钟,解决了把来自对端设备的V35接口工作时钟转换成TDM工作时钟的问题,从而使得时钟转换电路既可使用本端设备时钟源提供的时钟,也可使用对端设备时钟源提供的时钟,因此本端设备既可工作在DCE模式下,也可工作在数据终端设备(DTE)模式下,使得使用V35接口的接入设备应用更加灵活、方便。本发明在现有时钟电路的基础上作了简单的改进,成本低廉。The present invention divides the frequency of the V35 interface working clock into a fixed frequency division signal by adding a
附图说明Description of drawings
图1为现有技术的V35接口与TDM接口转换示意图;Fig. 1 is the conversion schematic diagram of V35 interface and TDM interface of prior art;
图2为本发明的V35接口与TDM接口转换电路示意图;Fig. 2 is the V35 interface of the present invention and the TDM interface conversion circuit schematic diagram;
图3为本发明实施例1的V35接口与TDM接口转换电路示意图;Fig. 3 is the V35 interface and TDM interface conversion circuit diagram of embodiment 1 of the present invention;
图4为本发明实施例2的V35接口与TDM接口转换电路示意图。FIG. 4 is a schematic diagram of a conversion circuit between a V35 interface and a TDM interface in Embodiment 2 of the present invention.
具体实施方式Detailed ways
由于现有的时钟转换电路不能把来自对端设备的时钟转换成TDM接口的工作时钟,针对这个缺陷,在FPGA内部增加分频模块,将来自对端设备提供的V35接口工作时钟N*64K进行分频,同时在FPGA外部增加一个倍频锁相环,以利用所述分频模块生成TDM接口的工作时钟。Since the existing clock conversion circuit cannot convert the clock from the peer device into the working clock of the TDM interface, in view of this defect, a frequency division module is added inside the FPGA to convert the V35 interface working clock N*64K provided by the peer device. Frequency division, and a frequency multiplication phase-locked loop is added outside the FPGA, so as to use the frequency division module to generate the working clock of the TDM interface.
参见图2所示,图2为本发明的V35接口与TDM接口转换电路总体示意图。TDM接口与V35接口数据的转换过程与现有技术过程相同,都是通过DPRAM缓存器进行转换,TDM接口的工作时钟、同步定位时钟以及V35接口工作时钟均分别送至DPRAM。上述时钟信号的获得是这样的:来自分频锁相环模块104输出的V35接口工作时钟,以及来自对端设备提供的V35接口工作时钟分别输入至V35时钟选择模块103;V35时钟选择模块103输出的时钟信号送至分频单元100进行分频,该分频单元100将输出的第一分频信号输入至倍频锁相环108,通过该倍频锁相环108产生TDM工作时钟信号分别输出;并且分频模块输出的第二分频信号的频率为TDM同步定位时钟信号频率。Referring to Fig. 2, Fig. 2 is an overall schematic diagram of the conversion circuit between the V35 interface and the TDM interface of the present invention. The conversion process of the TDM interface and the V35 interface data is the same as the prior art process, all of which are converted through the DPRAM buffer, and the working clock of the TDM interface, the synchronous positioning clock and the working clock of the V35 interface are all sent to the DPRAM respectively. The acquisition of the above-mentioned clock signal is as follows: the V35 interface operating clock output from the frequency division phase-locked
实施例1:Example 1:
参见图3所示,图3为本发明实施例1的V35接口与TDM接口转换电路示意图。分频单元100为一分频模块109,该分频模块109可直接将来自V35时钟选择模块103输出的V35接口工作时钟N*64K分频为TDM同步定位时钟信号,即分频模块109输出的第一分频信号频率与第二分频信号频率相同,均为TDM同步定位时钟信号频率,倍频锁相环将上述分频信号进行倍频锁相后,生成TDM接口工作时钟信号。Referring to FIG. 3 , FIG. 3 is a schematic diagram of a conversion circuit between a V35 interface and a TDM interface according to Embodiment 1 of the present invention. The
当然,分频模块109输出的第一分频信号频率与第二分频信号频率也可不相同,只要第一分频信号频率为时分复用接口工作时钟频率的约数即可。Certainly, the frequency of the first frequency division signal output by the frequency division module 109 may be different from the frequency of the second frequency division signal, as long as the frequency of the first frequency division signal is a submultiple of the working clock frequency of the time division multiplexing interface.
实施例2:Example 2:
参见图4所示,图4为本发明实施例2的V35接口与TDM接口转换电路示意图。分频单元100为第一分频模块107和第二分频模块105,其中,第一分频模块107将来自V35时钟选择模块103的信号分频为第一分频信号输入至倍频锁相环108,为保证TDM接口的同步定位时钟与工作时钟来自同一时钟源和相位的一致,避免第一分频模块107输出的分频信号的抖动,将倍频锁相环模块108输出的TDM接口工作时钟送至第二分频模块105,由第二分频模块105分频输出第二分频信号,该分频信号的频率为同步定位时钟频率,并输出至DPRAM。Referring to FIG. 4, FIG. 4 is a schematic diagram of a conversion circuit between a V35 interface and a TDM interface according to Embodiment 2 of the present invention. The
为使倍频锁相环108锁定相位更稳定,还可增设第三分频模块110,用以生成倍频锁相环108的反馈信号,该第三分频模块110将来自倍频锁相环108输出的时钟信号进行分频,分频输出并反馈输入至倍频锁相环108,该分频信号的频率具体由锁相环决定。另,为使分频模块输出的分频信号的频率尽量相同,降低FPGA电路的复杂度,较佳地,第一分频模块107分频输出的第一分频信号频率与第二分频模块105分频输出的第二分频信号频率相同,均为TDM同步定位时钟信号频率,并且,第二分频模块105的输出第二分频信号反馈至倍频锁相环108,如图4虚线所示,这时可不需要第三分频模块。In order to make the frequency-multiplication phase-locked
从上述实施例可见,由于来自V35时钟选择模块103的V35接口工作时钟可以是本端设备时钟源产生的时钟,也可以是来自对端设备的时钟,从而实现了把来自对端设备的时钟转换成TDM接口的工作时钟以及同步定位时钟,能够保证TDM接口工作时钟和V35接口工作时钟的时钟源相同。As can be seen from the foregoing embodiments, since the V35 interface operating clock from the V35
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,例如,所述第一分频信号可以是其他频率的分频信号,只要该分频信号能倍频为TDM工作时钟即可。The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention. For example, the first frequency division signal can be a frequency division signal of other frequencies, as long as the frequency division signal can be multiplied for TDM work. The clock will do.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB031213502A CN100484122C (en) | 2003-03-26 | 2003-03-26 | Clock signal converting circuit between V35 interface and time division multiplex interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB031213502A CN100484122C (en) | 2003-03-26 | 2003-03-26 | Clock signal converting circuit between V35 interface and time division multiplex interface |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1533112A true CN1533112A (en) | 2004-09-29 |
| CN100484122C CN100484122C (en) | 2009-04-29 |
Family
ID=34285675
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB031213502A Expired - Fee Related CN100484122C (en) | 2003-03-26 | 2003-03-26 | Clock signal converting circuit between V35 interface and time division multiplex interface |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100484122C (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101159535B (en) * | 2007-10-26 | 2010-06-02 | 中兴通讯股份有限公司 | Clock signal conditioning device and method |
| CN101188600B (en) * | 2007-12-20 | 2010-06-23 | 烽火通信科技股份有限公司 | A system and method for realizing mutual conversion between the single-bit high-speed user line and High-Way |
| CN101859395A (en) * | 2010-05-14 | 2010-10-13 | 中兴通讯股份有限公司 | Implementation method and system for information transmission, main control device, and smart card |
| WO2011060678A1 (en) * | 2009-11-23 | 2011-05-26 | 中兴通讯股份有限公司 | Method and data communication equipment for selecting clock source |
| CN108696716A (en) * | 2017-04-07 | 2018-10-23 | 上海峰宁信息科技股份有限公司 | A kind of timing reconstruction processing method and module for data image signal |
| CN109818624A (en) * | 2019-01-29 | 2019-05-28 | 成都德芯数字科技股份有限公司 | Signal processing method and device |
| WO2022198604A1 (en) * | 2021-03-25 | 2022-09-29 | 华为技术有限公司 | Multi-chip apparatus and electronic device |
-
2003
- 2003-03-26 CN CNB031213502A patent/CN100484122C/en not_active Expired - Fee Related
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101159535B (en) * | 2007-10-26 | 2010-06-02 | 中兴通讯股份有限公司 | Clock signal conditioning device and method |
| CN101188600B (en) * | 2007-12-20 | 2010-06-23 | 烽火通信科技股份有限公司 | A system and method for realizing mutual conversion between the single-bit high-speed user line and High-Way |
| WO2011060678A1 (en) * | 2009-11-23 | 2011-05-26 | 中兴通讯股份有限公司 | Method and data communication equipment for selecting clock source |
| CN101859395A (en) * | 2010-05-14 | 2010-10-13 | 中兴通讯股份有限公司 | Implementation method and system for information transmission, main control device, and smart card |
| CN108696716A (en) * | 2017-04-07 | 2018-10-23 | 上海峰宁信息科技股份有限公司 | A kind of timing reconstruction processing method and module for data image signal |
| CN109818624A (en) * | 2019-01-29 | 2019-05-28 | 成都德芯数字科技股份有限公司 | Signal processing method and device |
| WO2022198604A1 (en) * | 2021-03-25 | 2022-09-29 | 华为技术有限公司 | Multi-chip apparatus and electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100484122C (en) | 2009-04-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101512956B (en) | Method and apparatus for synchronization of high speed LVDS communication | |
| US9407429B2 (en) | Method of establishing an oscillator clock signal | |
| US6865241B1 (en) | Method and apparatus for sampling digital data at a virtually constant rate, and transferring that data into a non-constant sampling rate device | |
| US8321717B2 (en) | Dynamic frequency adjustment for interoperability of differential clock recovery methods | |
| CN1794587A (en) | Clock generator for generating accurate and low-jitter clock | |
| TW200812230A (en) | A glitch-free clock signal multiplexer circuit and method of operation | |
| CN1639669A (en) | Multiple dataport clock synchronization | |
| TW533720B (en) | Method and apparatus for eliminating the effects of frequency offsets in a digital communication system | |
| CN1533112A (en) | Clock signal conversion circuit of V35 interface and time division multiplexing interface | |
| CN1697324B (en) | Implementation method and device for transmission signal dejittering | |
| JP2009239768A (en) | Semiconductor integrated circuit device and method for clock data recovery | |
| US6477657B1 (en) | Circuit for I/O clock generation | |
| US7082547B2 (en) | Data signal processing method and data processor implementing independent and asynchronous system and data clocks | |
| JP2003209539A (en) | Multiple clock generation system | |
| CA2724373C (en) | Clock generation using a fractional phase detector | |
| US9740235B1 (en) | Circuits and methods of TAF-DPS based interface adapter for heterogeneously clocked Network-on-Chip system | |
| JPWO2009069244A1 (en) | Transmission method and transmission apparatus | |
| KR100271717B1 (en) | Data transfer device of semiconductor memory including a divider device of clock frequency | |
| US7460040B1 (en) | High-speed serial interface architecture for a programmable logic device | |
| EP1493233B1 (en) | Selectable clocking architecture | |
| CN1650567A (en) | Method and arrangement for reducing phase jumps when switching between synchronisation sources | |
| CN213365516U (en) | Interface conversion circuit and interface conversion device | |
| JPS63293620A (en) | digital information processing system | |
| CN101540717B (en) | Transmission equipment and method for service transmission therein | |
| JP2008219216A (en) | Clock supply device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090429 Termination date: 20150326 |
|
| EXPY | Termination of patent right or utility model |