CN102023566A - Method for controlling and producing AC code of IRIG-B as time synchronization standard by FPGA (field programmable gata array) - Google Patents

Method for controlling and producing AC code of IRIG-B as time synchronization standard by FPGA (field programmable gata array) Download PDF

Info

Publication number
CN102023566A
CN102023566A CN 201010505485 CN201010505485A CN102023566A CN 102023566 A CN102023566 A CN 102023566A CN 201010505485 CN201010505485 CN 201010505485 CN 201010505485 A CN201010505485 A CN 201010505485A CN 102023566 A CN102023566 A CN 102023566A
Authority
CN
China
Prior art keywords
irig
fpga
rom
code
sign indicating
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
Application number
CN 201010505485
Other languages
Chinese (zh)
Other versions
CN102023566B (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 Rui Qiang Mdt InfoTech Ltd
Original Assignee
Shanghai Airui Science & Technology Development 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 Airui Science & Technology Development Co Ltd filed Critical Shanghai Airui Science & Technology Development Co Ltd
Priority to CN201010505485A priority Critical patent/CN102023566B/en
Publication of CN102023566A publication Critical patent/CN102023566A/en
Application granted granted Critical
Publication of CN102023566B publication Critical patent/CN102023566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for controlling and producing an AC code of an IRIG-B as a time synchronization standard by a FPGA (field programmable gata array), which comprises the following steps: a DC code stream of the IRIG-B passes through the FPGA, then an AC code number sequence for amplitude modulation of a sine wave (1KHz) is produced; the AC code number sequence passes through a DAC, then an AC code stream of the IRIG-B is produced; and the FPGA carries out level discrimination on the DC code stream of the IRIG-B, wherein 'H' means that the high level part synchronously triggers a phase accumulator 1, the sample data of a sine wave of which the peak value of a voltage peak is 10V is stored in a ROM 1, the output value of the phase accumulator 1 triggers the data output in the ROM 1; 'L' refers to the operation of the low level, and the operation principle of the low level is same as that of the high level. The method in the invention has the advantages that compared with the methods implemented based on MCU or DSP and DLC (digital logic circuit), the method in the invention can greatly reduce the system design difficulty, lower the cost, and improve the accuracy of a B code and the system flexibility.

Description

A kind ofly produce the method for the AC sign indicating number of IRIG-B as the time synchronized standard by FPGA control
[technical field]
The present invention relates to the technical field of IRIG-B, FPGA, specifically produce the method for the AC sign indicating number of IRIG-B as the time synchronized standard by FPGA (field programmable gate array) control.
[background technology]
Target range measurement, Industry Control, power system measuring with protection, calculating, communicate by letter, timing code (being called for short the B sign indicating number) that testing apparatus such as meteorology is all adopted international standards the IRIG-B form is as the time synchronized standard, also is a kind of remote measurement time standard that China carries out.The B sign indicating number is a kind of time format of serial, is divided into two kinds of direct current sign indicating number (DC sign indicating number) and alternating current code (AC sign indicating number).
Existing alternating current code (AC sign indicating number) is based on MCU or DSP and DLC (digital logic circuit) realization, and this method also exists many weak points: the design difficulty of system is very big, cost height, shortcomings such as the accuracy of B sign indicating number and system flexibility difference.
[summary of the invention]
Purpose of the present invention is exactly will solve above-mentioned deficiency and provide a kind of and produce the method for the AC sign indicating number of IRIG-B as the time synchronized standard by FPGA control.
Design for achieving the above object and a kind ofly produce the method for the AC sign indicating number of IRIG-B as the time synchronized standard by FPGA control, it is characterized in that: at first, utilize the DC code stream of IRIG-B, carry out the AC yardage word sequence of amplitude modulation(PAM) earlier by the sine wave of FPGA generation 1KHz, again through producing the AC code stream of IRIG-B after the DAC, described FPGA carries out the differentiation of level to the DC sign indicating number of IRIG-B: " H ", the part meeting synchronous triggering phase accumulator 1 of high level, storing the sampled data that the voltage peak-to-peak value is the sine wave of 10V among the ROM 1, described phase accumulator 1 output valve triggers the data output among the ROM 1; " L ", low level is in like manner being stored the sampled data that the voltage peak-to-peak value is the sine wave of 2V among the ROM 2, and drawing modulation ratio is 1/5, and secondly the output data among ROM1, the ROM 2 realizes stack output AC yardage word sequence by the output data controller.
Described FPGA adopts directly synthetic technology mode of numeral, and the direct synthetic technology mode of described numeral sees through generation time variable signal under digital form, carries out the digital-to-analogue conversion action then.
Described DAC partly adopts D/A converting circuit, low-pass filter circuit to produce the AC code stream of simulation.
Described D/A converting circuit adopts DAC0832.
Beneficial effect of the present invention: with compare with the method that DLC (digital logic circuit) realizes based on MCU or DSP, this method can reduce the design difficulty of system greatly, reduces cost, and improves the accuracy and the system flexibility of B sign indicating number, is worthy of popularization.
[description of drawings]
Fig. 1 is the AC sign indicating number design frame chart of realization IRIG-B of the present invention;
Fig. 2 is the DC code stream format chart of IRIG-B;
Fig. 3 is the AC code stream format chart of IRIG-B;
Fig. 4 produces AC yardage word sequence implementation method figure for FPGA;
Fig. 5 produces the AC code stream circuit theory diagrams of simulation for DAC;
Among the figure: 41 is that DC code stream, 42 is that electrical level discrimination, 43 is that phase accumulator 1,44 is that phase accumulator 2,45 is that sampled data ROM1,46 is that sampled data ROM2,47 is that output data controller, 48 is that AC yardage word sequence, 51 is that AC yardage word sequence, 52 is that D/A converting circuit, 53 is that low pass filter, 54 is the AC code stream.
[embodiment]
Below in conjunction with drawings and Examples structural representation of the present invention is further specified.
The present invention is exactly by the research to the IRIG-B sign indicating number, adopts the method for designing of FPGA.Utilize the DC code stream of IRIG-B, carry out the AC yardage word sequence of amplitude modulation(PAM) earlier by the sine wave of FPGA generation 1KHz, through producing the AC code stream of IRIG-B after the DAC, promptly on the basis of DC sign indicating number, realize ac modulation, again to obtain the AC sign indicating number.
The DC code stream form of IRIG-B as shown in Figure 2, it is the time string sign indicating number of per second one frame, each symbol width is 10ms, a time frame cycle comprises 100 code elements, is pulsewidth coding.Pulsewidth 0.2ms represents Binary Zero, and pulsewidth 0.5ms represents binary one, and pulsewidth 0.8ms represents location identifier or reference symbols sn.
The AC code stream form of IRIG-B as shown in Figure 3, the carrier wave of alternating current code is the 1KHz sinusoidal signal, changes in amplitude peak one peak value scope is 0.5~10V.Modulation ratio is U1/U0=1/6~1/2, be that index marker is the 1KHz sinusoidal signal that 8 amplitudes are U1, logical one is the 1KHz sinusoidal signal that 5 amplitudes are U1, and logical zero is the 1KHz sinusoidal signal that 2 amplitudes are U1, and other times are that amplitude is the 1KHz sinusoidal signal of U0.
In the FPGA part, adopted digital direct synthetic technology (DDS): a kind of method that produces analog waveform--normally sinusoidal wave, mode is to see through generation time variable signal under digital form, carries out the action of digital-to-analogue conversion then.Because operation mainly is digital in DDS, it can provide between the output frequency switches fast, trickle frequency resolution, and in the broad spectrum scope, operate.
The principle of the DC sign indicating number commentaries on classics AC yardage word sequence of FPGA realization IRIG-B as shown in Figure 4.At first, FPGA carries out the differentiation of level to the DC sign indicating number of IRIG-B: " H ", the part meeting synchronous triggering phase accumulator 1 of high level is being stored the sampled data that the voltage peak-to-peak value is the sine wave of 10V among the ROM 1, phase accumulator 1 output valve triggers the data output among the ROM 1 like this; " L ", low level in like manner but is being stored the sampled data that the voltage peak-to-peak value is the sine wave of 2V among the ROM 2, be 1/5 thereby draw modulation ratio.Secondly, the output data controller is to realize stack output AC yardage word sequence.
In the DAC part, adopt digital-to-analog conversion to add the AC code stream that low-pass filter circuit produces simulation, as shown in Figure 5.AC code stream by FPGA output is directly connected to DAC0832; Because the output of DAC0832 belongs to current mode, so must carrying out current/voltage, its output transforms, use the LM324 operational amplifier to get final product.At last, carry out filtering, the noise filtering in the waveform by electric capacity.

Claims (4)

1. one kind produces the method for the AC sign indicating number of IRIG-B as the time synchronized standard by FPGA control, it is characterized in that: at first, utilize the DC code stream of IRIG-B, carry out the AC yardage word sequence of amplitude modulation(PAM) earlier by the sine wave of FPGA generation 1KHz, described AC yardage word sequence is again through producing the AC code stream of IRIG-B after the DAC, described FPGA carries out the differentiation of level to the DC sign indicating number of IRIG-B: " H ", the part meeting synchronous triggering phase accumulator 1 of high level, storing the sampled data that the voltage peak-to-peak value is the sine wave of 10V among the ROM 1, described phase accumulator 1 output valve triggers the data output among the ROM 1; " L ", low level is in like manner being stored the sampled data that the voltage peak-to-peak value is the sine wave of 2V among the ROM 2, and drawing modulation ratio is 1/5, and secondly the output data among ROM 1, the ROM 2 realizes stack output AC yardage word sequence by the output data controller.
2. as claimed in claim 1ly produce the method for the AC sign indicating number of IRIG-B as the time synchronized standard by FPGA control, it is characterized in that: described FPGA adopts directly synthetic technology mode of numeral, the direct synthetic technology mode of described numeral sees through generation time variable signal under digital form, carries out the digital-to-analogue conversion action then.
3. as claimed in claim 1 or 2ly produce the method for the AC sign indicating number of IRIG-B as the time synchronized standard by FPGA control, it is characterized in that: described DAC partly adopts D/A converting circuit, low-pass filter circuit to produce the AC code stream of simulation.
4. as claimed in claim 3ly produce the method for the AC sign indicating number of IRIG-B as the time synchronized standard by FPGA control, it is characterized in that: described D/A converting circuit adopts DAC0832.
CN201010505485A 2010-10-13 2010-10-13 Method for controlling and producing AC code of IRIG-B as time synchronization standard by FPGA (field programmable gata array) Active CN102023566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010505485A CN102023566B (en) 2010-10-13 2010-10-13 Method for controlling and producing AC code of IRIG-B as time synchronization standard by FPGA (field programmable gata array)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010505485A CN102023566B (en) 2010-10-13 2010-10-13 Method for controlling and producing AC code of IRIG-B as time synchronization standard by FPGA (field programmable gata array)

Publications (2)

Publication Number Publication Date
CN102023566A true CN102023566A (en) 2011-04-20
CN102023566B CN102023566B (en) 2011-12-14

Family

ID=43864962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010505485A Active CN102023566B (en) 2010-10-13 2010-10-13 Method for controlling and producing AC code of IRIG-B as time synchronization standard by FPGA (field programmable gata array)

Country Status (1)

Country Link
CN (1) CN102023566B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997331A (en) * 2014-06-11 2014-08-20 四川九洲电器集团有限责任公司 High-precision DC code encoding method and system based on FPGA
CN104639174A (en) * 2013-11-06 2015-05-20 施耐德电器工业公司 Unified low-temperature-drift conditioning circuit for IRIG-B code source signals

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5175544A (en) * 1990-04-27 1992-12-29 Veda Systems Incorporated Digitally controlled bit synchronizer
CN1847999A (en) * 2005-04-11 2006-10-18 大唐电信科技股份有限公司 B-code demodulation method and demodulator
CN101420225A (en) * 2008-12-03 2009-04-29 中国航天科技集团公司第五研究院第五〇四研究所 High precision time difference calibrating method based on FPGA
CN201497873U (en) * 2009-04-07 2010-06-02 上海许继电气有限公司 IRIG-B signal decoding timing card device based on CPCI bus
CN201556051U (en) * 2009-11-02 2010-08-18 上海泰坦通信工程有限公司 Multi-input expanding clock

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5175544A (en) * 1990-04-27 1992-12-29 Veda Systems Incorporated Digitally controlled bit synchronizer
CN1847999A (en) * 2005-04-11 2006-10-18 大唐电信科技股份有限公司 B-code demodulation method and demodulator
CN101420225A (en) * 2008-12-03 2009-04-29 中国航天科技集团公司第五研究院第五〇四研究所 High precision time difference calibrating method based on FPGA
CN201497873U (en) * 2009-04-07 2010-06-02 上海许继电气有限公司 IRIG-B signal decoding timing card device based on CPCI bus
CN201556051U (en) * 2009-11-02 2010-08-18 上海泰坦通信工程有限公司 Multi-input expanding clock

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639174A (en) * 2013-11-06 2015-05-20 施耐德电器工业公司 Unified low-temperature-drift conditioning circuit for IRIG-B code source signals
CN104639174B (en) * 2013-11-06 2018-05-25 施耐德电器工业公司 For the modulate circuit of the unified Low Drift Temperature of IRIG-B code source signal
CN103997331A (en) * 2014-06-11 2014-08-20 四川九洲电器集团有限责任公司 High-precision DC code encoding method and system based on FPGA

Also Published As

Publication number Publication date
CN102023566B (en) 2011-12-14

Similar Documents

Publication Publication Date Title
CN201184911Y (en) Apparatus for calibrating locale error of electronic type mutual-inductor in digitalization transforming plant
CN103439684A (en) System and method for detecting true shape electric energy metering errors of electric car battery charger/charging post
CN102023566B (en) Method for controlling and producing AC code of IRIG-B as time synchronization standard by FPGA (field programmable gata array)
CN104022761B (en) A kind of method of testing of pulse-modulated signal
CN104410419A (en) Analog-digital converter with digital programmable gating window
CN101510687A (en) Frequency conversion method for implementing multi-sampling rate signal using window function in electric network
CN202424621U (en) High speed data collection and function generation system based on field programmable gate array (FPGA)
CN201876677U (en) Module system capable of generating AC code of IRIG-B as time synchronizing standard
CN100568688C (en) Small-power is single-phase/phase/three phase low distortion frequency conversion power source
CN207164236U (en) Intelligent substation metering secondary metering device composition error off-line measurement system
CN202940571U (en) Microcomputer intelligent low-tension motor protector
CN202351348U (en) Intelligent monitoring instrument of transformer
CN202837386U (en) Measuring device for transient voltage signals
CN205404703U (en) Electric energy quality disturbance alarm system
CN204228816U (en) Intelligent three-phase multifunction electric meter
CN113489026B (en) Wide-band oscillation identification method and positioning method for wide-area power system
CN202433419U (en) Electric power signal source capable of providing frequency division dynamic waveform
CN203942321U (en) A kind of outdoor electric automobile charging pile coordinate synchronization device
CN103529885A (en) Output control device for power distribution line fault indicator detection
CN203691315U (en) Three-phase permanent magnet synchronous motor drive circuit
CN204405729U (en) Frequency converter three-phase output voltage acquisition circuit
CN209182487U (en) A kind of electronic mutual inductor angular difference standard set-up
CN203981762U (en) Based on the thin-film electro weak point test voltage display system of AD module output
CN202333839U (en) Harmonic-resistance synchronous control system with distributed power supply
CN203337679U (en) Static electronic speed measuring device for generator

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180628

Address after: 201413 Pingan Town, Fengxian District, Fengxian District, Shanghai

Patentee after: Shanghai Rui Qiang Mdt InfoTech Ltd

Address before: 201200 Shanghai Pudong New Area hang tou town middle city

Patentee before: Shanghai Airui Science & Technology Development Co., Ltd.