CN102437893A - High speed 1553B bus communication system error correction method - Google Patents
High speed 1553B bus communication system error correction method Download PDFInfo
- Publication number
- CN102437893A CN102437893A CN2011103323699A CN201110332369A CN102437893A CN 102437893 A CN102437893 A CN 102437893A CN 2011103323699 A CN2011103323699 A CN 2011103323699A CN 201110332369 A CN201110332369 A CN 201110332369A CN 102437893 A CN102437893 A CN 102437893A
- Authority
- CN
- China
- Prior art keywords
- error
- signal
- module
- error correction
- speed
- 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
- Detection And Prevention Of Errors In Transmission (AREA)
- Dc Digital Transmission (AREA)
Abstract
The invention, which belongs to an error correction method, especially relates to a high speed 1553B bus communication system error correction method. A waveform of a Manchester coding signal transmitted on a 1553B communication system cable generates distortion because a speed is increased and there is an error in the system communication. By using the error correction method of the invention, the above problems can be solved. In the method, the signal is successively processed by a signal high-speed sampling module, an error detection module, an error compensation module, an error storage module and an error correction module. The signal high-speed sampling module comprises: a high speed sampling clock and a counter. The error detection module is used to determine a counting signal output by the signal high-speed sampling module. The error correction module carries out error correction processing to the received signal according to an error value stored in the error storage module. The high speed 1553B bus communication system error correction method provided in the invention is easy to be realized. Costs are low and an effect is obvious. A bottleneck of the1553B high speed bus communication whose speed is more than 10Mbit/s can be broken through.
Description
Technical field
The invention belongs to error correction method, be specifically related to a kind of high speed 1553B bus communication system error correction method.
Background technology
MIL-STD-1553B is the military bus standard that is used to realize the aircraft electronic system synthesization that US military was released the seventies in 20th century.Because its good opening and adaptability has been widely applied in the aerospace industry at present.External satellite, main transport rocket and domsat, airship also generally adopt this bus as transfer of data and shared passage.But along with the development of China's weaponry, the raising of weapon manufacturing capacity, original bullet can not reach the requirement of weaponry development far away with the 1553B bus speed.For this reason, need be on the basis of the former protocols having of compatibility and original bus cable, as shown in Figure 1, exploitation 1553B bus communication system at a high speed.
Tradition 1553B bus communication system is the communication speed of 1Mbit/s, adopts the Manchester's code mode to carry out the signal transmission on the bus, and Manchester's code and 1553B communication frames form are as shown in Figure 2.Carry out through the signal that transmits on transceiver, transformer and the cable alternately at terminals such as the BC in the tradition 1553B bus communication system, RT.The terminal module of 1553B bus is a low-voltage, and the signal that transmits in the 1553B bus cable is in order to realize long Distance Transmission, the high-voltage signal that the 20V of employing is above, and it is mutual therefore to carry out signal through transformer and transceiver.Because 1553B bus cable is long, branch is many; Operate outside circumstance complication, ambient noise are big; Ensure the correct reliable transmission of manchester encoded signals on the 1553B bus, transmission speed can not be very high under the condition that does not have code correction to handle, and speed can only reach 1Mbit/s.
Improve constantly along with what aerocraft system required, traditional 1Mbit/s 1553B bus can not satisfy the demand of system development.For this reason, need the exploitation transmission rate higher, for example the 1553B bus communication system of 10Mbit/s.The manchester encoded signals that transmits on the 10Mbit/s 1553B communication system cable is because speed improves, and the waveform that causes encoding distorts, the system communication mistake.Therefore, must in the terminal of 1553B, add code correction mechanism, the Manchester's code waveform of distortion is as shown in Figure 3.
Summary of the invention
The objective of the invention is to deficiency, a kind of high speed 1553B bus communication system error correction method is provided to prior art.
The technical scheme that the present invention adopted is:
A kind of high speed 1553B bus communication system error correction method, signal passes through the processing of signal high-speed sampling module, error-detecting module, error compensation module, error memory module, error correction module successively; Wherein, said signal high-speed sampling module comprises high-speed sampling clock, counter; Said error-detecting module is used to judge the count signal of signal high-speed sampling module output; Said error compensation module receives the error-detecting module controls, and when the error-detecting module detected signal generation distortion, the error compensation module was started working; Said error memory module is used for the storage of error amount; Said error correction module is carried out correction process to the received signal according to the size of the error amount of error memory module storage.
Aforesaid a kind of high speed 1553B bus communication system error correction method, wherein: the information that said high-speed sampling clock is used for the terminal is received is carried out high-speed sampling, and the high level signal that sampling obtains carries out record through counter.
Aforesaid a kind of high speed 1553B bus communication system error correction method, wherein: the high level signal number of said counter records is lower than the half the of periodic sampling number of times, judges that then distortion has taken place signal; Or the judgement of setting the tolerance signal distortion is interval.
Aforesaid a kind of high speed 1553B bus communication system error correction method; Wherein: said error compensation module is according to counter information recorded in the high-speed sampling module; Judge the size of Manchester's code distortion, and the error amount of distortion is stored in the error memory module.
Aforesaid a kind of high speed 1553B bus communication system error correction method, wherein: said error amount is repeatedly the average of test.
A kind of high speed 1553B bus communication system error correction method, wherein: the step of when comprising acquisition step and the normal communication of control information signal being carried out real-Time Compensation.
Aforesaid a kind of high speed 1553B bus communication system error correction method, wherein:: the acquisition step of said control information specifically comprises:
(1.1) receiving-transmitting sides sends a string known test patterns;
Each coding of the Manchester's code of (1.2) terminal being received carries out high-speed sampling M time;
(1.3) high level signal that sampling is obtained is counted, and count results is carried out record;
(1.4) according to the N as a result of counter records, and predefined distortion threshold k, judge whether signal distorts, if N-100>K thinking that then distortion takes place then starts error correcting routine; If N-100≤K does not then distort, corresponding error memory space is changed to 0;
(1.5) after judgement distorts, calculate the control information P=|M/2-N| that needs compensate according to the record and the theoretical value of counter, and storage;
(1.6) repeatedly repeat above-mentioned steps, draw a plurality of control informations and average and draw final control information P
a, accomplish the control information collecting work.
Aforesaid a kind of high speed 1553B bus communication system error correction method, wherein: the step of during said normal communication signal being carried out real-Time Compensation is when after accomplishing the control information collection, carrying out normal communication, to utilize the control information P of storage
aError to Manchester signal in the normal communication occurs is carried out real-time compensation.
The invention has the beneficial effects as follows:
1. the present invention carries out code correction through the signal distortion to the Manchester's code transmitted on the high speed 1553B bus, ensures the correct reliable communicating of high speed 1553B bus, especially is fit to speed at 10Mbit/s and above high speed 1553B communication system.
2. high speed 1553B bus correction method provided by the invention can effectively be avoided the influence of noise to bus communication, improves the ability to communicate of high speed 1553B bus.
3. high speed 1553B bus correction method provided by the invention is specially adapted to the above 1553B high-speed bus of 10Mbit//s.
4. high speed 1553B bus correction method provided by the invention realizes simply, cost is low, and effect is obvious, breaks through one of bottleneck of the above 1553B high-speed bus of 10Mbit/s communication.
5. the present invention can ensure that the error rate of the above 1553B high-speed bus of 10Mbit/s satisfies<requirement of 10-7.
Description of drawings
Fig. 1 is a 1553B EBI theory diagram;
Fig. 2 is Manchester's code and 1553B communication frames form;
Fig. 3 is the Manchester's code waveform of distortion;
Fig. 4 is the module map of a kind of high speed 1553B bus communication system error correction method provided by the invention;
Fig. 5 is a kind of high speed 1553B bus communication system error correction method flow chart provided by the invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment a kind of high speed 1553B bus communication system error correction method provided by the invention is introduced:
As shown in Figure 4, a kind of high speed 1553B bus communication system error correction method, signal passes through the processing of signal high-speed sampling module, error-detecting module, error compensation module, error memory module, error correction module successively.
Wherein, signal high-speed sampling module comprises high-speed sampling clock, counter.The information that the high-speed sampling clock is used for the terminal is received is carried out high-speed sampling, and the high level signal that sampling obtains carries out record through counter.
Because the cycle of a code value of Manchester's code is confirmed, therefore, confirms that the sampling number under the sample frequency is certain.Normal Manchester's code should be that high-low signal respectively accounts for half in a signal period.If the high level signal number of counter records is lower than the half the of periodic sampling number of times, and it is bigger to depart from tolerable threshold value, can judge that then distortion has taken place signal.
The error-detecting module is used to judge the count signal of high-speed sampling module output.If the high level signal number of counter records is lower than the half the of periodic sampling number of times, can judge that then distortion has taken place signal.Can set one during judgement and judge the interval, can tolerate certain signal distortion.When sampling is higher than the signal period of Manchester's code far away, judge interval can set slightly larger.
The error compensation module receives the error-detecting module controls, and when the error-detecting module detected signal generation distortion, the error compensation module was started working.The error compensation module is judged the size of Manchester's code distortion according to counter information recorded in the high-speed sampling module, and this value is stored in the error memory module.The error compensation module confirms that offset need pass through repeatedly test and confirm a rational average, and finally is stored in the error memory module, utilizes final error correction values to carry out correction process during the bus operate as normal.
The error memory module is used for the storage of error amount.This error amount derives from the mean value that repeatedly measurement is obtained.
Error correction module is carried out correction process to the received signal according to the size of the error amount of error memory module storage.Error code and the miscommunication of having avoided code signal to distort and bring to system.
In each terminal (BC, RT), all use above-mentioned error correction method, and each node all there is an error memory space to other nodes, the special compensated information of storing this node.
This error correction method need carry out correction process one time after each start-up system.Confirm the offset in the error compensation module in each terminal through each node being carried out the one or many communication.After error correction was accomplished, system carried out normal communication, in the error codes adding system that confirms.
Carry out bright specifically according to flow chart shown in Figure 5 to a kind of high speed 1553B bus communication system error correction method provided by the invention:
(1) at first carry out the collection of control information, collecting work needs repeatedly circulation to accomplish.Comprise following step in each circulation:
(1.1) receiving-transmitting sides sends a string known test patterns, as 1010101010101010.
Each coding of the Manchester's code of (1.2) terminal being received carries out high-speed sampling M time; The number that adopts is at a high speed decided according to concrete speed, applied environment and system requirements; Under the 10Mbps rate conditions; Adopt M=200 time sample frequency of each coding, can ensure good error correction effect.
(1.3) high level signal that sampling is obtained is counted, and count results (N time) is carried out record.
(1.4) according to the N as a result (0<N<200) of counter records, and predefined distortion threshold k, for example K=10 can be set, judge whether signal distorts, if N-100>K thinking that then distortion takes place then starts error correcting routine.If N-100≤K then thinks and do not distort, then corresponding error memory space is changed to 0.
(1.5) after judgement distorts, the error compensation module is calculated the big or small P=|M/2-N| that needs compensation according to the record and the theoretical value (M/2) of counter, and memory error information P.
(1.6) repeatedly repeat top step 1~5, draw a plurality of control informations and average and draw final control information P
a, accomplish the control information collecting work.
(2) carry out the real-Time Compensation of signal during normal communication.After accomplishing the control information collection, just can carry out normal communication.When carrying out normal communication, utilize the final control information P of storage
aError to Manchester signal in the normal communication occurs is carried out real-time compensation, ensures that the signal that gets into 1553B bus protocol processing module is comparatively intact waveform.
Above-mentioned steps is that the error correction flow process with another terminal called error is confirmed at a terminal.If a plurality of terminals are arranged in the system, before normal communication, all to carry out correction process between each terminal so, corresponding error is stored.When normal communication, judge the size of required compensation according to the RT address of transmitting information, ensure reliable information transmission.
Claims (8)
1. high speed 1553B bus communication system error correction method, it is characterized in that: signal passes through the processing of signal high-speed sampling module, error-detecting module, error compensation module, error memory module, error correction module successively; Wherein, said signal high-speed sampling module comprises high-speed sampling clock, counter; Said error-detecting module is used to judge the count signal of signal high-speed sampling module output; Said error compensation module receives the error-detecting module controls, and when the error-detecting module detected signal generation distortion, the error compensation module was started working; Said error memory module is used for the storage of error amount; Said error correction module is carried out correction process to the received signal according to the size of the error amount of error memory module storage.
2. a kind of high speed 1553B bus communication system error correction method according to claim 1, it is characterized in that: the information that said high-speed sampling clock is used for the terminal is received is carried out high-speed sampling, and the high level signal that sampling obtains carries out record through counter.
3. a kind of high speed 1553B bus communication system error correction method according to claim 1 is characterized in that: the high level signal number of said counter records is lower than the half the of periodic sampling number of times, judges that then distortion has taken place signal; Or the judgement of setting the tolerance signal distortion is interval.
4. a kind of high speed 1553B bus communication system error correction method according to claim 1; It is characterized in that: said error compensation module is according to counter information recorded in the high-speed sampling module; Judge the size of Manchester's code distortion, and the error amount of distortion is stored in the error memory module.
5. a kind of high speed 1553B bus communication system error correction method according to claim 4 is characterized in that: the average of said error amount for repeatedly testing.
6. high speed 1553B bus communication system error correction method is characterized in that: the step of when comprising acquisition step and the normal communication of control information signal being carried out real-Time Compensation.
7. a kind of high speed 1553B bus communication system error correction method according to claim 6, it is characterized in that: the acquisition step of said control information specifically comprises:
(1.1) receiving-transmitting sides sends a string known test patterns;
Each coding of the Manchester's code of (1.2) terminal being received carries out high-speed sampling M time;
(1.3) high level signal that sampling is obtained is counted, and count results is carried out record;
(1.4) according to the N as a result of counter records, and predefined distortion threshold k, judge whether signal distorts, if N-100>K thinking that then distortion takes place then starts error correcting routine; If N-100≤K does not then distort, corresponding error memory space is changed to 0;
(1.5) after judgement distorts, calculate the control information P=|M/2-N| that needs compensate according to the record and the theoretical value of counter, and storage;
(1.6) repeatedly repeat above-mentioned steps, draw a plurality of control informations and average and draw final control information P
a, accomplish the control information collecting work.
8. a kind of high speed 1553B bus communication system error correction method according to claim 6; It is characterized in that: the step of during said normal communication signal being carried out real-Time Compensation does; When after accomplishing the control information collection, carrying out normal communication, utilize the control information P of storage
aError to Manchester signal in the normal communication occurs is carried out real-time compensation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110332369.9A CN102437893B (en) | 2011-10-28 | 2011-10-28 | High speed 1553B bus communication system error correction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110332369.9A CN102437893B (en) | 2011-10-28 | 2011-10-28 | High speed 1553B bus communication system error correction method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102437893A true CN102437893A (en) | 2012-05-02 |
CN102437893B CN102437893B (en) | 2014-08-27 |
Family
ID=45985781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110332369.9A Expired - Fee Related CN102437893B (en) | 2011-10-28 | 2011-10-28 | High speed 1553B bus communication system error correction method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102437893B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102821080A (en) * | 2012-08-08 | 2012-12-12 | 天津大学 | Receiving method for bandwidth expansion of 1553B communication bus |
CN109327366A (en) * | 2018-10-17 | 2019-02-12 | 西安微电子技术研究所 | A kind of high speed 1553B bus signals decoder design method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816032A (en) * | 2005-02-04 | 2006-08-09 | 三星电子株式会社 | Apparatus and method for compensating for a frequency offset in a wireless communication system |
US20070165727A1 (en) * | 2006-01-17 | 2007-07-19 | Edgewater Computer Systems, Inc. | Approximate linear FM synchronization symbols for a bandwidth configurable OFDM modem |
US20070268973A1 (en) * | 2006-05-22 | 2007-11-22 | John Fanson | Data communications system and method of data transmission |
US20090150537A1 (en) * | 2007-12-10 | 2009-06-11 | John Fanson | Data communication method for a set of hard-real time applications within a network |
CN101882929A (en) * | 2010-06-30 | 2010-11-10 | 中国电子科技集团公司第五十八研究所 | Input common mode voltage offset compensation circuit of pipelined analog-to-digital converter |
CN101882095A (en) * | 2009-05-08 | 2010-11-10 | 索尼公司 | Signal processing apparatus and error correction method |
CN102035600A (en) * | 2010-11-26 | 2011-04-27 | 北京航空航天大学 | Physical interface board of high speed 1553B optical fiber bus |
CN102045275A (en) * | 2009-10-16 | 2011-05-04 | 昆山九华电子设备厂 | Cable-transmitted Manchester coded signal receiver |
-
2011
- 2011-10-28 CN CN201110332369.9A patent/CN102437893B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816032A (en) * | 2005-02-04 | 2006-08-09 | 三星电子株式会社 | Apparatus and method for compensating for a frequency offset in a wireless communication system |
US20070165727A1 (en) * | 2006-01-17 | 2007-07-19 | Edgewater Computer Systems, Inc. | Approximate linear FM synchronization symbols for a bandwidth configurable OFDM modem |
US20070268973A1 (en) * | 2006-05-22 | 2007-11-22 | John Fanson | Data communications system and method of data transmission |
US20090150537A1 (en) * | 2007-12-10 | 2009-06-11 | John Fanson | Data communication method for a set of hard-real time applications within a network |
CN101882095A (en) * | 2009-05-08 | 2010-11-10 | 索尼公司 | Signal processing apparatus and error correction method |
CN102045275A (en) * | 2009-10-16 | 2011-05-04 | 昆山九华电子设备厂 | Cable-transmitted Manchester coded signal receiver |
CN101882929A (en) * | 2010-06-30 | 2010-11-10 | 中国电子科技集团公司第五十八研究所 | Input common mode voltage offset compensation circuit of pipelined analog-to-digital converter |
CN102035600A (en) * | 2010-11-26 | 2011-04-27 | 北京航空航天大学 | Physical interface board of high speed 1553B optical fiber bus |
Non-Patent Citations (6)
Title |
---|
POPPLEWELL, A,O"REILLY, J.J.: "Manchester-like coding with single error correction and double error detection", 《ELECTRONICS LETTERS》, vol. 29, 6 August 2002 (2002-08-06) * |
YANBIN ZHANG: "Error correction application of CRC in the RFID system", 《BUSINESS MANAGEMENT AND ELECTRONIC INFORMATION (BMEI), 2011 INTERNATIONAL CONFERENCE》, 13 May 2011 (2011-05-13) * |
刘曙蓉等: "预测校正行曼II码译码器技术研究与实现", 《微电子学与计算机》, 20 September 2005 (2005-09-20) * |
安军社等: "一种高性能、高可靠、可重构计算机的设计与实现", 《计算机工程》, vol. 30, no. 19, 31 October 2004 (2004-10-31) * |
张浩: "嵌入式1553B总线通信卡的设计与研究", 《信息科技辑》, vol. 22, no. 9, 15 January 2009 (2009-01-15) * |
罗志强: "在飞机武器外挂管理***中的1553B总线纠错技术", 《电光与控制》, no. 03, 31 March 1987 (1987-03-31) * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102821080A (en) * | 2012-08-08 | 2012-12-12 | 天津大学 | Receiving method for bandwidth expansion of 1553B communication bus |
CN102821080B (en) * | 2012-08-08 | 2015-01-14 | 天津大学 | Receiving method for bandwidth expansion of 1553B communication bus |
CN109327366A (en) * | 2018-10-17 | 2019-02-12 | 西安微电子技术研究所 | A kind of high speed 1553B bus signals decoder design method |
Also Published As
Publication number | Publication date |
---|---|
CN102437893B (en) | 2014-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103916252B (en) | High-bandwidth Ethernet IP core based on FPGA | |
CN109075742B (en) | Baud rate calibration circuit and serial port chip | |
CN107005350B (en) | Method for reconstructing erroneously received data packets in a wireless sensor network | |
US8825935B2 (en) | Pattern detection for partial networking | |
CN102619501A (en) | Data transmission system in petroleum logging instrument | |
CN104008078A (en) | Method for high-speed transmission between data transmission boards based on FPGA | |
CN110858811B (en) | Method for measuring time delay and network equipment | |
CN108390752A (en) | Signal acceptance method | |
CN103281229A (en) | Motion control bus communication method based on Ethernet physical layer | |
CN102437893B (en) | High speed 1553B bus communication system error correction method | |
CN103778772A (en) | Framing and interconnection transmitting method in electricity utilization information collecting system | |
CN114610669B (en) | Method and system for realizing clock synchronization calibration in multi-channel serial port communication | |
CN103595505A (en) | Dynamic adaptive decoding device of FT3 frame of any code rate | |
CN103577485A (en) | Master and slave mode inquiry system and method | |
CN106911530B (en) | Key test instruction transmission system and method based on serial port redundancy strategy | |
CN115037419B (en) | Method for serial transmission of variable-length coded data in chip testing process | |
CN101442380A (en) | Method and apparatus for testing error rate based on high speed serial interface encoded mode | |
CN202500555U (en) | Data transmission system in petroleum logger | |
CN103036566B (en) | A kind of on-line control controller of analog front-end chip | |
JP2015211382A (en) | Data collection system and data collection method | |
CN100444595C (en) | A method of master-slave equipment communication | |
CN201918981U (en) | Dual-phase harvard code bus signal coding-decoding circuit | |
CN115051885A (en) | Microcontroller circuit, corresponding device, system and operating method | |
CN107544328A (en) | CAN controller chip interface serialization device | |
CN115696446B (en) | Signal transmission method of low-power-consumption fuze 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 | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20150930 Address after: 300141 No. five, No. 162, Hebei District, Tianjin Patentee after: TIANJIN JINHANG INSTITUTE OF COMPUTING TECHNOLOGY Address before: 300141 Tianjin City, Hebei District Huang Wei Lu No. 69 Patentee before: NO.8357 Research Institute of the Third Academy of China Aerospace Science & Industry Corp. |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140827 Termination date: 20151028 |
|
EXPY | Termination of patent right or utility model |