CN113938240A - Method and device for outputting multiple IRIG time codes - Google Patents
Method and device for outputting multiple IRIG time codes Download PDFInfo
- Publication number
- CN113938240A CN113938240A CN202111565515.2A CN202111565515A CN113938240A CN 113938240 A CN113938240 A CN 113938240A CN 202111565515 A CN202111565515 A CN 202111565515A CN 113938240 A CN113938240 A CN 113938240A
- Authority
- CN
- China
- Prior art keywords
- irig
- code
- time
- information
- outputting
- 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
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000006243 chemical reaction Methods 0.000 claims abstract description 15
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J13/00—Code division multiplex systems
- H04J13/10—Code generation
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/02—Conversion to or from weighted codes, i.e. the weight given to a digit depending on the position of the digit within the block or code word
- H03M7/04—Conversion to or from weighted codes, i.e. the weight given to a digit depending on the position of the digit within the block or code word the radix thereof being two
Abstract
The invention discloses a method and a device for outputting various IRIG time codes, wherein the method for outputting the various IRIG time codes comprises the following steps: receiving an original time code input by a user; decoding and converting the original time code into a standard BDC code; receiving first information input by a user, wherein the first information comprises an IRIG time code required to be generated; generating a preliminary time code signal according to the standard BDC code and the first information; carrying out frequency conversion on the preliminary time code signal according to the first information to obtain various IRIG time codes; and outputting the IRIG time code. The invention can output various IRIG time codes and solves the problem of outputting various time codes.
Description
Technical Field
The invention relates to the technical field of IRIG time code generation, in particular to a method and a device for outputting various IRIG time codes.
Background
The IRIG time code is the standard of the American shooting range time code, is also the national military standard of China at present, and has wide application in the technical field of time unification. The commonly used time code B code is IRIG-B code, which includes DC code BDC and modulated AC code BAC, and most of the current time system equipment products in the market include the input and output of IRIG-B code. Sometimes we encounter the need for multiple pattern conversions or for inputting one pattern (e.g., only B code) and additional time information to output multiple IRIG codes (e.g., A, B, E, G).
Disclosure of Invention
The invention aims to provide a method and a device for outputting multiple IRIG time codes.
The purpose of the invention is realized by the following technical scheme: a method of outputting multiple IRIG time codes, comprising:
receiving an original time code input by a user or external equipment;
decoding and converting the original time code into a standard BDC code;
receiving first information input by a user, wherein the first information comprises an IRIG time code required to be generated and additional information;
generating a preliminary time code signal according to the standard BDC code and the first information;
carrying out frequency conversion on the preliminary time code signal according to the first information to obtain various IRIG time codes;
and outputting the IRIG time code.
Preferably, when the IRIG time code to be generated includes an IRIG-a code, the additional information includes time information with an accuracy of 0.1 second;
when the IRIG time code to be generated includes an IRIG-G code, the additional information includes time information of 0.1 second precision and 0.01 second precision.
Preferably, the method for outputting multiple IRIG time codes further includes:
modulating at least one of the IRIG time codes prior to outputting the plurality of IRIG time codes.
Preferably, the modulating at least one IRIG time code includes:
and modulating at least one IRIG time code from a direct current code into an alternating current code.
Preferably, a plurality of IRIG time codes are output, including:
selecting the IRIG timecode to be output;
outputting the IRIG time code selected to be output.
An apparatus for outputting a plurality of IRIG time codes, comprising:
the device comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an original time code and first information input by a user or external equipment, and the first information comprises an IRIG time code and additional information which need to be generated;
the transcoding module is used for decoding and converting the original time code into a standard BDC code;
the time code generating module is used for generating a preliminary time code signal according to the standard BDC code and the first information;
the frequency conversion module is used for carrying out frequency conversion on the preliminary time code signal according to the first information to obtain various IRIG time codes;
and the output module is used for outputting the plurality of IRIG time codes.
Preferably, the apparatus for outputting multiple IRIG time codes further comprises:
and the modulation module is used for modulating at least one IRIG time code.
Preferably, the modulation module is specifically configured to modulate at least one IRIG time code from a direct current code to an alternating current code.
Preferably, the output module is specifically configured to select the IRIG time code to be output, and output the IRIG time code selected to be output.
Preferably, when the IRIG time code to be generated includes an IRIG-a code, the additional information includes time information with an accuracy of 0.1 second;
when the IRIG time code to be generated includes an IRIG-G code, the additional information includes time information of 0.1 second precision and 0.01 second precision.
The invention has the beneficial effects that:
(1) the invention can output various IRIG time codes, and solves the problem of outputting various time codes;
(2) the method selects and outputs the required IRIG time code according to the requirement, and has good universality;
(3) since most time-series equipment provides an interface of BDC codes, the invention takes the commonly used standard BDC as a transfer station of reference and time information carriers, and has good portability.
Drawings
FIG. 1 is a flow chart of a method of outputting IRIG timecodes;
fig. 2 is a block diagram of an apparatus for outputting multiple IRIG timecodes.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
Referring to fig. 1-2, the present embodiment provides a method and apparatus for outputting multiple IRIG time codes:
as shown in fig. 1, a method for outputting multiple IRIG time codes includes:
s1, the device for outputting various IRIG time codes receives original time codes input by a user or external equipment.
In this embodiment, the original time code may be various time codes.
In the present embodiment, a device that outputs a plurality of IRIG time codes is described as an example of a device that is configured by embedded system software and programmable logic.
And S2, the device for outputting various IRIG time codes decodes and converts the original time codes into standard BDC codes.
For example, the embedded system software decodes the various input raw time codes into standard BDC codes and outputs the standard BDC codes to the programmable logic.
And S3, receiving first information input by a user by the device for outputting various IRIG time codes, wherein the first information comprises the IRIG time codes required to be generated.
For example, the embedded system software writes the first information into a register inside the programmable logic through a serial port (such as an SPI interface), and the programmable logic reads the register to obtain the first information.
Generally, the first information includes an IRIG time code to be generated and additional information, the additional information is information contained in addition to a standard BDC time code, for example, when the IRIG time code to be generated includes an IRIG-a code, the additional information includes time information with 0.1 second precision; when the IRIG time code to be generated includes an IRIG-G code, the additional information includes time information of 0.1 second precision and 0.01 second precision.
And S4, the device for outputting various IRIG time codes generates a preliminary time code signal according to the standard BDC code and the first information.
For example, the programmable logic encodes and generates various time code information by taking a standard BDC code as a reference, and adapts the time code information according to the additional information to generate a preliminary time code signal.
And S5, the device for outputting the various IRIG time codes performs frequency conversion on the preliminary time code signal according to the first information to obtain the various IRIG time codes.
For example, the programmable logic converts the plurality of IRIG time codes, for example, to obtain an IRIG-a code, an IRIG-B code, an IRIG-E code, an IRIG-G code, and the like. Because the frequency of the standard BDC code is 100Hz, if various IRIG time codes are generated, frequency conversion is carried out, and the frequency is multiplied or divided into the frequencies of various time codes according to the code pattern, wherein the IRIG-A code is 1kHz, the IRIG-E code is 10Hz, and the IRIG-G code is 1 kHz.
And S6, outputting the IRIG time codes by the device for outputting the plurality of IRIG time codes.
The embodiment uses the commonly used standard BDC as a transfer station of a reference and time information carrier to generate and output various IRIG time codes, thereby solving the problem of outputting various time codes.
In some embodiments, outputting the IRIG time code after frequency conversion includes: selecting the IRIG timecode to be output; outputting the IRIG time code selected to be output. In this embodiment, the output IRIG time code may be selected as needed, for example, the IRIG-a code, the IRIG-B code, the IRIG-E code, the IRIG-G code, and the like may be selected as needed, which has good versatility and can meet the requirements for the IRIG time code under various situations.
In some embodiments, the method of outputting a plurality of IRIG time codes further comprises: modulating at least one IRIG time code before outputting a plurality of IRIG time codes. The method and the device can output the direct current codes and the alternating current codes, have good universality, and can meet the requirements on the IRIG time codes under various situations.
For example, at least one IRIG time code is modulated from a direct current code to an alternating current code before outputting the plurality of IRIG time codes. The method for modulating the direct current code into the alternating current code comprises the following steps: loading the direct current code on an alternating current carrier; the carrier frequency is determined by the frequency of the alternating current code, and the modulation method is to carry out amplitude modulation of large and small waves according to the modulation ratio.
As shown in fig. 2, an apparatus for outputting multiple IRIG time codes includes a receiving module, a transcoding module, a time code generating module, a frequency conversion module, and an output module.
The receiving module is used for receiving an original time code and first information input by a user or external equipment, wherein the first information comprises an IRIG time code to be generated and additional information, and the additional information is information contained in addition to a standard BDC time code, for example, when the IRIG time code to be generated comprises an IRIG-A code, the additional information comprises time information with the precision of 0.1 second; when the IRIG time code to be generated includes an IRIG-G code, the additional information includes time information of 0.1 second precision and 0.01 second precision.
The transcoding module is used for decoding and converting the original time code into a standard BDC code.
The time code generating module is used for generating a preliminary time code signal according to the standard BDC code and the first information. In some embodiments, the time code generation module is specifically configured to encode and generate a plurality of types of time code information with reference to a standard BDC code, and adapt the time code information according to additional information to generate a preliminary time code signal.
And the frequency conversion module is used for carrying out frequency conversion on the preliminary time code signal according to the first information to obtain various IRIG time codes. Because the frequency of the standard BDC code is 100Hz, if various IRIG time codes are generated, frequency conversion is carried out, and the frequency is multiplied or divided into the frequencies of various time codes according to the code pattern, wherein the IRIG-A code is 1kHz, the IRIG-E code is 10Hz, and the IRIG-G code is 1 kHz.
The output module is used for outputting the IRIG time code. In some embodiments, the output module is specifically configured to select the IRIG time code to be output, and output the IRIG time code selected to be output. In this embodiment, the output IRIG time code may be selected as needed, for example, the IRIG-a code, the IRIG-B code, the IRIG-E code, the IRIG-G code, and the like may be selected as needed, which has good versatility and can meet the requirements for the IRIG time code under various situations.
In some embodiments, the apparatus for outputting a plurality of IRIG time codes further comprises a modulation module for modulating at least one of the IRIG time codes. For example, the modulation module is specifically configured to modulate at least one of the IRIG time codes from a direct current code to an alternating current code, so that the direct current code and the alternating current code can be output, and the IRIG time code modulation module has good universality and can meet requirements for the IRIG time codes under various situations.
The foregoing is illustrative of the preferred embodiments of this invention, and it is to be understood that the invention is not limited to the precise form disclosed herein and that various other combinations, modifications, and environments may be resorted to, falling within the scope of the concept as disclosed herein, either as described above or as apparent to those skilled in the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A method for outputting multiple IRIG timecodes, comprising:
receiving an original time code input by a user or external equipment;
decoding and converting the original time code into a standard BDC code;
receiving first information input by a user, wherein the first information comprises an IRIG time code required to be generated and additional information;
generating a preliminary time code signal according to the standard BDC code and the first information;
carrying out frequency conversion on the preliminary time code signal according to the first information to obtain various IRIG time codes;
and outputting the IRIG time code.
2. The method of claim 1, wherein when the IRIG time code to be generated includes an IRIG-a code, the additional information includes time information with an accuracy of 0.1 second;
when the IRIG time code to be generated includes an IRIG-G code, the additional information includes time information of 0.1 second precision and 0.01 second precision.
3. The method for outputting multiple IRIG time codes according to claim 1, wherein the method for outputting multiple IRIG time codes further comprises:
modulating at least one of the IRIG time codes prior to outputting the plurality of IRIG time codes.
4. The method of claim 3, wherein modulating at least one IRIG time code comprises:
and modulating at least one IRIG time code from a direct current code into an alternating current code.
5. The method of claim 1, wherein outputting the plurality of IRIG timecodes comprises:
selecting the IRIG timecode to be output;
outputting the IRIG time code selected to be output.
6. An apparatus for outputting a plurality of IRIG time codes, comprising:
the device comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an original time code and first information input by a user or external equipment, and the first information comprises an IRIG time code and additional information which need to be generated;
the transcoding module is used for decoding and converting the original time code into a standard BDC code;
the time code generating module is used for generating a preliminary time code signal according to the standard BDC code and the first information;
the frequency conversion module is used for carrying out frequency conversion on the preliminary time code signal according to the first information to obtain various IRIG time codes;
and the output module is used for outputting the plurality of IRIG time codes.
7. The apparatus for outputting multiple IRIG time codes according to claim 6, wherein said apparatus for outputting multiple IRIG time codes further comprises:
and the modulation module is used for modulating at least one IRIG time code.
8. The apparatus according to claim 6, wherein the modulation module is specifically configured to modulate at least one of the IRIG time codes from a dc code to an ac code.
9. The apparatus for outputting multiple IRIG time codes according to claim 6, wherein the output module is specifically configured to select the IRIG time code to be output, and output the IRIG time code selected to be output.
10. The apparatus for outputting multiple IRIG time codes according to claim 6, wherein when the IRIG time codes to be generated include IRIG-a codes, the additional information includes time information with 0.1 second precision;
when the IRIG time code to be generated includes an IRIG-G code, the additional information includes time information of 0.1 second precision and 0.01 second precision.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111565515.2A CN113938240B (en) | 2021-12-21 | 2021-12-21 | Method and device for outputting multiple IRIG time codes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111565515.2A CN113938240B (en) | 2021-12-21 | 2021-12-21 | Method and device for outputting multiple IRIG time codes |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113938240A true CN113938240A (en) | 2022-01-14 |
CN113938240B CN113938240B (en) | 2022-03-04 |
Family
ID=79289361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111565515.2A Active CN113938240B (en) | 2021-12-21 | 2021-12-21 | Method and device for outputting multiple IRIG time codes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113938240B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1710908A (en) * | 2005-07-14 | 2005-12-21 | 广东省电信有限公司研究院 | Method for two-directionally transfering time information based on apparatus interconnection protocol group |
CN101957593A (en) * | 2008-06-12 | 2011-01-26 | 湖北省电力试验研究院 | Time information detection method of output signal of satellite synchronization time service device |
US20130285719A1 (en) * | 2012-04-30 | 2013-10-31 | Anthony J. Ranson | Power system data acquisition systems |
CN203561840U (en) * | 2013-07-01 | 2014-04-23 | 浙江海洋学院 | Transformer station GPS time-setting IRIG-B decoder |
US9645553B1 (en) * | 2016-01-28 | 2017-05-09 | Raytheon Bbn Technologies Corp. | Secure time reference using multiple time sources |
CN107817676A (en) * | 2017-09-27 | 2018-03-20 | 中国科学院长春光学精密机械与物理研究所 | A kind of time terminal system |
CN109687928A (en) * | 2018-11-22 | 2019-04-26 | 南京熊猫电子股份有限公司 | A kind of IRIG-B type code (DC) time service realization system and method based on FPGA |
CN110161931A (en) * | 2019-06-08 | 2019-08-23 | 西安电子科技大学 | FPGA coding/decoding system and method based on GPS time service |
CN209462366U (en) * | 2019-02-18 | 2019-10-01 | 西安汉华防务电子科技有限公司 | A kind of telemetering digital if receiver |
CN210428114U (en) * | 2019-08-30 | 2020-04-28 | 中国科学院国家授时中心 | Multi-system time source redundant timing equipment |
CN112039622A (en) * | 2020-09-01 | 2020-12-04 | 成都金诺信高科技有限公司 | Underwater time synchronization system and method based on bidirectional time comparison |
-
2021
- 2021-12-21 CN CN202111565515.2A patent/CN113938240B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1710908A (en) * | 2005-07-14 | 2005-12-21 | 广东省电信有限公司研究院 | Method for two-directionally transfering time information based on apparatus interconnection protocol group |
CN101957593A (en) * | 2008-06-12 | 2011-01-26 | 湖北省电力试验研究院 | Time information detection method of output signal of satellite synchronization time service device |
US20130285719A1 (en) * | 2012-04-30 | 2013-10-31 | Anthony J. Ranson | Power system data acquisition systems |
CN203561840U (en) * | 2013-07-01 | 2014-04-23 | 浙江海洋学院 | Transformer station GPS time-setting IRIG-B decoder |
US9645553B1 (en) * | 2016-01-28 | 2017-05-09 | Raytheon Bbn Technologies Corp. | Secure time reference using multiple time sources |
CN107817676A (en) * | 2017-09-27 | 2018-03-20 | 中国科学院长春光学精密机械与物理研究所 | A kind of time terminal system |
CN109687928A (en) * | 2018-11-22 | 2019-04-26 | 南京熊猫电子股份有限公司 | A kind of IRIG-B type code (DC) time service realization system and method based on FPGA |
CN209462366U (en) * | 2019-02-18 | 2019-10-01 | 西安汉华防务电子科技有限公司 | A kind of telemetering digital if receiver |
CN110161931A (en) * | 2019-06-08 | 2019-08-23 | 西安电子科技大学 | FPGA coding/decoding system and method based on GPS time service |
CN210428114U (en) * | 2019-08-30 | 2020-04-28 | 中国科学院国家授时中心 | Multi-system time source redundant timing equipment |
CN112039622A (en) * | 2020-09-01 | 2020-12-04 | 成都金诺信高科技有限公司 | Underwater time synchronization system and method based on bidirectional time comparison |
Non-Patent Citations (4)
Title |
---|
JOSE R. RAZO-HERNANDEZ 等: "IRIG-B decoder based on FPGA for synchronization in PMUs by considering different input formats", 《IEEE》 * |
夏双林: "基于GPS的标准时钟系统设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
张守中: "基于MATLAB的IRIG-B(DC)码编码实现", 《数字技术与应用》 * |
朱敏: "分布式声源定位系统时钟子系统设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN113938240B (en) | 2022-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW324813B (en) | Image encoded data transforming apparatus | |
DE69723959D1 (en) | DATA COMPRESSION AND DECOMPRESSION BY RICE ENCODERS / DECODERS | |
ATE358364T1 (en) | METHOD AND DEVICE FOR GENERATING COMPLEX FOUR-PHASE SEQUENCES FOR A CDMA TRANSMISSION SYSTEM | |
ATE78124T1 (en) | METHOD AND APPARATUS FOR BINARY-DECIMAL CONVERSION. | |
KR900701102A (en) | Method and apparatus for statistically encoding digital data | |
US20030158729A1 (en) | Methods and systems for generating-phase derivative sound | |
CN111865952A (en) | Data processing method, data processing device, storage medium and electronic equipment | |
CN113938240B (en) | Method and device for outputting multiple IRIG time codes | |
MY132150A (en) | Optical telecommunication method providing a transmitting and receiving service channel | |
JP2007180940A (en) | Fsk signal generating apparatus | |
CN105281714A (en) | Square wave generating device and method capable of editing code element | |
CN1192116A (en) | Microphone | |
KR840001025A (en) | AM stereo transmitter | |
JP2006270661A (en) | SigmaDelta ANALOG/DIGITAL CONVERTER | |
US20030179810A1 (en) | Coder and coding method for use in spread spectrum communications systems | |
CN212161282U (en) | Transmission system for coding and decoding digital signal or audio data stream with different frequency | |
KR970004310A (en) | Tracking filter and signal processing method using this filter | |
JPS58194447A (en) | Polarity controlling system for burst transmission | |
US20080272947A1 (en) | System Clock Generator Circuit | |
KR930006751B1 (en) | Coding converted appalatus of t1 stuffing 8b6t | |
JPS59228419A (en) | Information compression processing system | |
RU2338318C1 (en) | Information transmission and reception system | |
EP1337081A3 (en) | Apparatus and method for forward error correction in variable rate transmission systems | |
SU907857A1 (en) | Frequency manipulator | |
DE60111031D1 (en) | METHODS, SYSTEMS AND APPARATUS FOR PRESENTING INTERFERENCE INTO CODED, SENT CDMA SIGNALS |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method and device for outputting multiple IRIG time codes Granted publication date: 20220304 Pledgee: Industrial Bank Limited by Share Ltd. Chengdu branch Pledgor: Chengdu jinnuoxin High Tech Co.,Ltd. Registration number: Y2024980002533 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |