999精品在线视频,手机成人午夜在线视频,久久不卡国产精品无码,中日无码在线观看,成人av手机在线观看,日韩精品亚洲一区中文字幕,亚洲av无码人妻,四虎国产在线观看 ?

Design of IRIG-B(AC) encoder based on FPGA

2015-03-03 07:51:06ZHOUCaiqinLIShizhongLIANGGuoqiang
關鍵詞:信號系統

ZHOU Cai-qin, LI Shi-zhong, LIANG Guo-qiang

(College of Mechatronic Engineering, North University of China, Taiyuan 030051, China)

周彩親, 李世中, 梁國強

(中北大學 機電工程學院, 山西 太原 030051)

?

Design of IRIG-B(AC) encoder based on FPGA

ZHOU Cai-qin, LI Shi-zhong, LIANG Guo-qiang

(CollegeofMechatronicEngineering,NorthUniversityofChina,Taiyuan030051,China)

InterRange Instrumentation Group (IRIG-B(AC)) code is usually used in the shooting range test for time information transmission and systems time synchronization. According to IRIG-B(AC) code format and modulation principle, this paper presents IRIG-B(AC) coding circuit design scheme based on field programmable gate array (FPGA). The B(AC) code signal is generated by AD7245, a digital-to-analog (D/A) converter. After amplified, the signal can be used directly for system time synchronization, and the amplitude of the signal can be adjusted according to different requirements. The IRIG-B(AC) encoder designed has been verified by test. The test results show that it can output accurate time information and has higher practicality.

IRIG-B(AC) code; field programmable gate array (FPGA); amplitude modulation; time synchronization

0 Introduction

InterRange Instrumentation Group (IRIG) code includes parallel format and serial format. Serial format is used more widely than parallel format because the time code of serial format has far transmission distance. Serial format includes IRIG-A, IRIG-B, IRIG-D, IRIG-E, IRIG-G and IRIG-H, and the difference of them lies in different frame rates. The frame rate of IRIG-B is 1 frame/s, which means that 100 bits pass per second[1]. IRIG-B code has many advantages such as high resolution, large amount of information, and so on.

IRIG-B code can be divided into B(DC) code and B(AC) code. Relative to B(DC) code, B(AC) code has longer transmission distance and higher precision[2]. IRIG-B code based on the international standard has general specification, high reliability and standard interface[3], therefore, it is flexible to be used for range test, communication and other test equipment.

Field programmable gate array (FPGA) has been widely used in industry. IRIG-B(AC) modulation system based on FPGA has high precision, stable performance, small size and low cost[4].

1 IRIG-B(AC) code format and modulation principle

The modulation of B(DC) code to B(AC) code is achieved by means of amplitude modulation of 1 kHz sine signal, as shown in Fig.1.

Fig.1 IRIG-B coding

B(DC) code element width has three forms, namely 2, 5 and 8 ms. Different code widths represent different meanings. For B(AC) code, the code element is composed of sine signal at the amplitude ratio of 10∶3. If there are only two high-amplitude sine signals during 10 ms, the code element symbol is “0”; if there are five high-amplitude sine signals, the code element symbol is “1” or index mark; and if there are eight high-amplitude sine signals, the code element symbol is location identification mark “P”[5-6].

A frame period of IRIG-B code contains 100 code elements, and each element width is 10 ms. The pulse rising edge is taken as a time calibraton reference point for code element. The reference mark of the frame consists of a location identification mark and an adjacent reference element. The the code width of PR is 8 ms and it serves as a reference point of a frame[7-8]. IRIG-B code format is shown in Fig.2.

Fig.2 IRIG-B coding format

2 Design of IRIG-B(AC) encoder

The hardware circuit of IRIG-B(AC) encoder is mainly composed of FPGA module, D/A conversion circuit and signal amplification circuit. It is responsible for signal level conversion, output control, encoding of of B code signal. The composition of hardware circuit is shown in Fig.3.

Fig.3 Composition of hardware circuit

2.1 Circuit and coding design of FPGA module

The EP3C16 from Altera is chosen as FPGA chip due to simple hardware circuit, less peripheral devices needed, high integration, high reliability, low power consumption, anti-jamming and high precision. The FPGA module is responsible for real-time encoding for IRIG-B code and controlling the output of IRIG-B(AC) code signal. The hardware connection of FPGA with D/A converter is shown in Fig.4.

Fig.4 Hardware connection of FPGA with D/A converter

There are many ways to output sine signals by D/A converter under the control of FPGA. Here the look-up table method is selected. The comprehensive program is implemented in Quartus II environment. The ROM IP core is adopted and the sine value table is stored in the ROM.

The 2-port ROM is set up in FPGA chip. The space can store a .mif file, which is a coding table for sine wave output by 12 bit D/A converter. The top 1 000 address space of the coding table holds high-amplitude sine data, and the next 1000 address space of the coding table holds low-amplitude sine data. The two groups of data can produce the signal at the amplitude ratio of 10∶3[9]. The mif file is programmed by Matlab, and main program is shown as follows:

depth=1 000;

width=12;

x=(round(2 047*sin((2*pi*(0∶1 000))/1 000)))+2 048;

y=(round(614*sin((2*pi*(0∶1 000))/1 000)))+2 048;

fid=fopen(‘D:sine1.mif’,‘wt’);

fprintf(fid,‘WIDTH=%d; ’,width);

fprintf(fid,‘DEPTH=%d; ’,depth*2);

fprintf(fid,‘ADDRESS_RADIX=DEC; ’);

fprintf(fid,‘DATA_RADIX=UNS; ’);

fprintf(fid,‘Content Begin ’);

for(k=1∶depth)

fprintf(fid,‘%d:%d ; ’,k-1,x(k));

廳堂石,指天然形成的,石質高雅、色澤細潤、造型獨特、個體適中、具有較高品位的觀賞石。如龍化石、貴州紅、晶體石等。

end

for(k=1:depth)

fprintf(fid,‘%d:%d ; ’,k-1+1 000,y(k));

end

fprintf(fid,‘end;’);

fclose(fid).

2.2 Hardware design of D/A module

The output of FPGA is digital signal, and sine signal of B(AC) code is analog signal. Therefore, D/A conversion is needed and 12 bit D/A conversion chip AD7245 is adopted. It has a variety of output voltage ranges and the maximum output voltage is ± 5 V. The range of the output voltage used in the system is from -5 V to + 5 V. The circuit schematic diagram of AD7245 is shown in Fig.5.

Fig.5 Circuit schematic diagram of AD7245

The amplification circuit consists of OP282, resistors and capacitors. In D/A module, Rx17 can adjust the offset of the output signal, and Rx13 can increase or decrease the output signal voltage in order to meet the different requirements. The signal amplification circuit is shown in Fig.6.

Fig.6 Signal amplification circuit schematic diagram

3 IRIG-B(AC) encoder test

The FPGA is the core controller of the encoder. In order to guarantee high-precision time synchronization, the time sequence of IRIG-B code is generated by FPGA. After IRIG-B is recoded, the D/A synchronous control signal is generated. The working process of the encoder is as follows:

Firstly, FPGA produces the time sequence of IRIG-B code. And then the address of the ROM is searched according to the produced time sequence of IRIG-B code. If the B code is “1” , the address of high-amplitude sine signal will be found; if the B code is “0”, the address of low-amplitude sine signal will be found. According to the ROM address, the sine table is output to data input port of the corresponding D/A converter. Finally, D/A conversion is completed and the sine wave is output according to the control signal D/A. After the converted signal is amplified, the IRIG-B (AC) code can be used directly[12]. The sine wave diagram of the IRIG-B(AC) code is shown in Fig.7.

Considering actual demands, the peak voltage of sine wave with high amplitude is 10 V and the peak voltage of sine wave with low amplitude is 3V, as shown in Fig.8.

Fig.7 Sine wave diagram of IRIG-B (AC) code

Fig.8 Voltage amplitude of IRIG-B(AC) sine wave

4 Conclusion

The IRIG-B(AC) encoder is designed based on FPGA to complete all logic functions. The modulation of IRIG-B(AC) code is implemented by FPGA and D/A converter. The hardware design of the encoder is simple, and software design is based on modular programming. The designed system has been verified by test. The results show that the performance of the encoder is stable and reliable.

In the test, the encoder outputs serial time code, and the time code is demodulated by standard B code demodulator, thus the correct time information can be got. According to the specific application envir-onments, the initial time value can be set by the used application software. The system has good practical value.

[1] GUO Bin, SHAO Qing-xiao, XIAO Chang-yan, et al. A study of Bei-dou and GPS dual-mode synchronization technology for electric power system clock. Computer Measurement & Control, 2011,19(1):139-141.

[2] LI Jian-wu, QIAO Zheng-sheng, LONG Li-ni.A method of digital modulation of IRIG-B(AC) code. China Water Transport, 2008, 8(9): 121-122.

[3] PANG Ji-yao. Implementation of IRIG-B encoder based on FPGA. Modern Electronics Technique, 2009, 32(24): 113-117.

[4] HAO Shuai, HONG Hai-li, REN Yu-fei. Design of IRIG-B(DC) code encoder and decoder based on FPGA. Foreign Electronic Measurement Technology, 2012, 31(08): 64-67.

[5] LI Liang, LI Jie-ran, ZHANG Ye. IRIG-B (AC) code modulation design based on EPM7160S. Electronic Design Engineering, 2010,18(2): 60-62.

[6] TAN Wei-ze, ZHAN Jian. Design for IRIG-B code encoder with embedded microprocessor. Journal of the Academy of Equipment Command & Technology, 2009,20(4): 82-85.

[7] ZHANG Xiang-rong. Circuit design of the interface card with IRIG - B code format decoding. Microcontroller & Embedded System, 2001, (9): 31-33, 36.

[8] LIU Ming-bo, GENG Wen-jian, HUA An, et al. Design and implement of IRIG-B builder and decoder. Foreign Electronic Measurement Technology, 2010, 29(5): 47-51.

[9] ZHANG Xue-ming, ZHANG Zhen-ya, DAI Ming, et al. Filtering and digital phase compensation of IRIG-B(AC) code in airborne equipment. Optics and Precision Engineering, 2009,17(1): 213-219.

[10] XIE Ren-xiang.The decoding of IRIG-B and the realization of net time service. Chengdu: Sichuan University, 2006: 24-28.

[11] TONG Gang, CUI Ming, CAO Yong-gang, et al. Application of MSP430F149 in IRIG-B code demodulator. Computer Measurement & Control, 2007,15(11): 1597-1601.

[12] TANG Bin, XU Qing-fang, YAO Shan-hua. Design of B code time terminal system based on Bei-dou/GPS dual-mode. Electrical Measurement & Instrumentation, 2013, 50(8): 116-120.

基于FPGA的IRIG-B(AC)編碼器設計

IRIG-B(AC)碼常用于靶場試驗中傳遞時間信息和同步各系統時間。 根據IRIG-B(AC)碼的格式及調制原理, 介紹了基于FPGA的IRIG-B(AC)編碼電路的設計。 利用AD7245實現D/A轉換轉換產生B(AC)碼信號, 信號經放大后可直接用于系統時間同步, 而且信號幅度可根據不同的使用需求進行調節。 經測試驗證, 本系統輸出的時間信息準確無誤, 有較高的實用性。

IRIG-B(AC)碼; FPGA; 調幅; 時間同步

ZHOU Cai-qin, LI Shi-zhong, LIANG Guo-qiang. Design of IRIG-B(AC) encoder based on FPGA. Journal of Measurement Science and Instrumentation, 2015, 6(3): 291-295. [

周彩親, 李世中, 梁國強

(中北大學 機電工程學院, 山西 太原 030051)

10.3969/j.issn.1674-8042.2015.03.016]

Received date: 2015-05-22 Foundation items: The 10th Postgraduate Science and Technology Fund of North University of China (No. 20131020)

ZHOU Cai-qin (1245113319@qq.com)

1674-8042(2015)03-0291-05 doi: 10.3969/j.issn.1674-8042.2015.03.016

CLD number: TN99 Document code: A


登錄APP查看全文

猜你喜歡
信號系統
Smartflower POP 一體式光伏系統
工業設計(2022年8期)2022-09-09 07:43:20
信號
鴨綠江(2021年35期)2021-04-19 12:24:18
WJ-700無人機系統
ZC系列無人機遙感系統
北京測繪(2020年12期)2020-12-29 01:33:58
完形填空二則
基于PowerPC+FPGA顯示系統
半沸制皂系統(下)
孩子停止長個的信號
連通與提升系統的最后一塊拼圖 Audiolab 傲立 M-DAC mini
基于LabVIEW的力加載信號采集與PID控制
主站蜘蛛池模板: 性网站在线观看| 在线毛片网站| 性欧美在线| 不卡色老大久久综合网| 91精品国产综合久久香蕉922| 97青草最新免费精品视频| 国产乱视频网站| 久久人妻xunleige无码| 色天堂无毒不卡| 国产毛片高清一级国语| 激情无码字幕综合| 国产精欧美一区二区三区| 手机成人午夜在线视频| 国产精品免费入口视频| 一区二区日韩国产精久久| 色综合色国产热无码一| 免费A级毛片无码无遮挡| www.精品视频| 婷婷综合在线观看丁香| 亚洲天堂网站在线| 日韩欧美在线观看| 99久久精品国产精品亚洲| 国产精品欧美亚洲韩国日本不卡| 国产老女人精品免费视频| 一区二区三区四区精品视频| 婷婷亚洲最大| 国产精品林美惠子在线观看| 国产免费怡红院视频| 热re99久久精品国99热| 波多野结衣AV无码久久一区| 免费看美女自慰的网站| 青青草原国产一区二区| 香蕉视频在线观看www| 666精品国产精品亚洲| 中文字幕无码av专区久久| 亚洲成人在线免费| 亚洲天堂在线免费| 国产高清在线观看| 日本欧美成人免费| 国产H片无码不卡在线视频| 国内毛片视频| 亚洲天堂2014| 青青操国产视频| 国产欧美日韩va另类在线播放| 亚洲不卡影院| 精品综合久久久久久97超人| 国产人前露出系列视频| 国产后式a一视频| 国产亚洲欧美日韩在线观看一区二区| 日韩福利在线视频| 992tv国产人成在线观看| 精品欧美一区二区三区在线| 另类重口100页在线播放| 国产91视频免费| 久久久精品久久久久三级| 欧美激情伊人| 国产亚洲高清在线精品99| 亚洲欧美成人网| 伊人中文网| 一级看片免费视频| 亚洲一区二区三区国产精品 | 国产日韩欧美中文| 一区二区日韩国产精久久| 丁香综合在线| 91人妻在线视频| 中国一级特黄视频| 中文无码精品a∨在线观看| 午夜a级毛片| 国产探花在线视频| 婷婷亚洲视频| 亚洲精品无码在线播放网站| 国产精品一区二区无码免费看片| a级毛片免费网站| 国产精品永久不卡免费视频| 国产成人亚洲精品色欲AV | 九九热免费在线视频| 中文字幕乱妇无码AV在线| 国产AV毛片| 国产尹人香蕉综合在线电影| 亚洲日本www| 欧美成人精品欧美一级乱黄| 一级毛片在线播放免费|