CN102508754A - Method for detecting 1553B communication interface - Google Patents

Method for detecting 1553B communication interface Download PDF

Info

Publication number
CN102508754A
CN102508754A CN2011102838382A CN201110283838A CN102508754A CN 102508754 A CN102508754 A CN 102508754A CN 2011102838382 A CN2011102838382 A CN 2011102838382A CN 201110283838 A CN201110283838 A CN 201110283838A CN 102508754 A CN102508754 A CN 102508754A
Authority
CN
China
Prior art keywords
detection
data
responder
detecting
control end
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
CN2011102838382A
Other languages
Chinese (zh)
Other versions
CN102508754B (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.)
Aerospace Science and Industry Inertia Technology Co Ltd
Original Assignee
Aerospace Science and Industry Inertia Technology 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 Aerospace Science and Industry Inertia Technology Co Ltd filed Critical Aerospace Science and Industry Inertia Technology Co Ltd
Priority to CN201110283838.2A priority Critical patent/CN102508754B/en
Publication of CN102508754A publication Critical patent/CN102508754A/en
Application granted granted Critical
Publication of CN102508754B publication Critical patent/CN102508754B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for detecting a 1553B communication interface, which includes the steps: utilizing a detecting control end to configure an operating mode of a detecting response end according to a detecting mode; utilizing the detecting response end to transmit and receive detecting data through a 1553B bus according to the operating mode and the detecting control end and return postback data; and utilizing the detecting control end to judge according to the postback data so as to complete detection. By the aid of the method, automatic detection of the 1553B communication interface can be realized, an operating process is simplified, operating efficiency is improved, and errors possibly caused by artificial detection are eliminated.

Description

A kind of 1553B communication interface detection method
Technical field
The present invention relates to a kind of 1553B communication interface detection method.
Background technology
The 1553B communication interface belongs to a kind of Serial Data Transport Interface, and it has three kinds of mode of operation: BC, RT and MT, for single face, can only work in one mode at synchronization.
Usually the 1553B communication interface is formal use before or during troubleshooting, need mode of operation, communication and the signal quality (level, waveform, baud rate) of communication interface be detected.Traditional detection method is to adopt the butt joint each other of two equipment (or computing machine) that have a 1553B communication interface at least, forms mutual reiving/transmitting state, with the three kinds of mode of operations and the communication function of checking 1553B bus.When using this mode to carry out the checking of 1553B communication interface; Must guarantee to have at least two people to control different equipment (or computing machine) respectively; Control transmission and reception respectively through bitcom separately, the data of sending and receiving are compared the correctness of back its mode of operation of checking and communication through manual work.In addition, when the quality to the communication interface signal detects, also need adopt oscillograph, signal measurement, analysis, judgement are carried out in manual work, can draw the quality of signal quality.Therefore, this method complex operation, efficient lower, also can add artificial detection error sometimes.
Summary of the invention
Technology of the present invention is dealt with problems and is: overcome the deficiency of prior art, a kind of 1553B communication interface detection method is provided.Adopt the present invention can realize automatic detection, simplified operating process, increased work efficiency, the error that possibly cause except artificial detection side by side the 1553B communication interface.
Technical solution of the present invention is:
A kind of 1553B communication interface detection method, following steps:
Detect the mode of operation of control end according to detecting pattern configuration detection responder; Said detecting pattern comprises BC detecting pattern, RT detecting pattern, MT detecting pattern and signal quality detecting pattern;
After accomplishing the configuration that detects the responder mode of operation, the detection control end sends to the detection responder through the 1553B bus and detects data;
The detection responder will return data and turn back to the detection control end after receiving and detecting data, by detecting control end passback data and detection data judged, make the detection conclusion.
Under the BC detecting pattern:
Detect responder and be set to the BC mode of operation;
The detection control end will detect data as RT through the 1553B bus and send to the detection responder;
Under the RT detecting pattern:
Detect responder and be set to the RT mode of operation;
The detection control end will detect data as BC through the 1553B bus and send to the detection responder;
Under the MT detecting pattern:
Detect responder and be set to the MT mode of operation;
Detect control end simultaneously as BC and RT, and accomplish the transmission of detection data from BC to RT through the 1553B bus;
The detection data that detect on the 1553B bus that responder will listen to as MT turn back to the detection control end as the passback data;
Under the signal quality detecting pattern:
Detect responder and be set to the BC mode of operation;
The detection signal that the detection control end will have set form sends to the detection responder through the 1553B bus;
The affiliated responder that detects is received and dispatched detection signal as BC or RT respectively with the detection control end from 1~31 subaddressing.
Under the signal quality detecting pattern, the detection signal of said set form is OXFFFF, 0X0000 or OXAAAA.
The present invention compared with prior art has following advantage:
(1) adopt the method for the invention can three kinds of different working modes (BC, RT and MT) of 1553B communication interface be detected automatically; Simultaneously can also realize detection, simplify operating process greatly, improved work efficiency and got rid of the error of artificial detection 1553B communication interface signal quality.
(2) in the method for the invention, detect responder and be in controlled state all the time, receive, and in testing process, only detect the reception of data and the transmission of passback data by of the configuration of detection control end to its mode of operation.Undertaken by detecting control end with the passback data decision detecting data.This kind design realizes that the result is simple, and function distinguishing is clear and definite, is convenient to the control to detecting.
(3) the present invention through sending three kinds of detection data of OXFFFF, 0X0000 or OXAAAA form, realizes the high level to 1553B communication structure signal under the signal quality detecting pattern, the detection of low level and pulse signal, and it is comprehensive to detect effect.
Description of drawings
Fig. 1 is a synoptic diagram of the present invention;
Fig. 2 detects the timed unit workflow for BC of the present invention;
Responding device workflow when Fig. 3 detects for BC of the present invention;
Fig. 4 detects the timed unit workflow for RT of the present invention;
Responding device workflow when Fig. 5 detects for RT of the present invention;
Fig. 6 detects the timed unit workflow for MT of the present invention;
Responding device workflow when Fig. 7 detects for MT of the present invention;
Fig. 8 detects the timed unit workflow for signal quality of the present invention;
Responding device workflow when Fig. 9 detects for signal quality of the present invention;
Figure 10 is a process flow diagram of the present invention.
Embodiment
Shown in figure 10 is process flow diagram of the present invention, and detecting control end among the present invention is the main control end of whole testing process, and detecting responder is the controlled end in the testing process, receives the control of detection control end and returns the passback data to the detection control end.
Just combine flow process of the present invention below, provide the embodiment of the invention
As shown in Figure 1, the detection control end among the present invention corresponds respectively to control device and responding device two parts with the detection responder., under the control of control device, the 1553B communication interface is detected according to the detection method flow process.In conjunction with the terminal type of 1553B bus, this detection method can have BC, RT and three kinds of detecting patterns of MT, to the signal transmission quality of 1553B bus communication interface, also has the signal quality detecting pattern simultaneously.
Therefore, in conjunction with the method for the invention, the workflow of control device and responding device is following:
Control device is set the mode of operation of responding device according to the detecting pattern of setting;
Responding device is according to the mode of operation of setting, and receives the detection signal that sent by control device or sends detection signal to control device; And according to the detection signal that receives or send, to said control device transmit status signal;
Control device detects the 1553B communication interface according to the state that receives.
Wherein, control device can comprise: 1. control treatment module; 2. terminal detection module; 3. Quality Detection module; 4. detection control module.
Responding device can comprise: the 5.1553B communication interface; 6. serial communication interface; 7. computing machine.
The effect of each module is following:
1. responding device is in controlled state all the time, and serial communication interface is mainly used in the data when accomplishing reception, FEEDBACK CONTROL order and receiving the MT Function detection;
2. the mode of operation of tested 1553B communication interface is analyzed, is judged by control device by control device setting, communication and signal quality, self does not do and analyzes and judgement;
3. the three kinds of mode of operations (BC, RT, MT) and the communication signal quality of tested 1553B communication interface detect through the different working flow process.
Testing process can further describe as follows:
Control treatment module according to the detecting pattern of setting, is set the mode of operation of responding device, terminal detection module and Quality Detection module; Said mode of operation comprises: BC detecting pattern, RT detecting pattern, MT detecting pattern and signal quality detecting pattern,
Under the BC detecting pattern:
Responding device is set to the BC mode of operation, and the terminal detection module is set to the RT mode of operation, and inserts the 1553B bus, and the Quality Detection module does not insert the 1553B bus;
As the terminal detection module of RT with carry out the transmitting-receiving of detection signal as the responding device of BC; Said detection control module, the detection return path signal that returns according to responding device, after detection signal judged, the output testing result;
Under the RT detecting pattern:
Responding device is set to the RT mode of operation, and the terminal detection module is set to the BC mode of operation, and inserts the 1553B bus, and the Quality Detection module does not insert the 1553B bus;
Carry out the transmitting-receiving of detection signal as the terminal detection module of BC with as the responding device of RT; Said detection control module, the detection return path signal that returns according to responding device, after detection signal judged, the output testing result;
Under the MT detecting pattern:
Responding device is set to the MT mode of operation, and the terminal detection module is set to the pattern that BC and RT work simultaneously, and inserts the 1553B bus, and the Quality Detection module does not insert the 1553B bus;
The terminal detection module utilizes the 1553B bus to carry out the transmitting-receiving of detection signal between BC and RT; As the responding device of MT, the detection signal of 1553B bus is monitored, and monitor signal is returned to the detection control module; Detect control module according to the monitor signal output testing result that receives;
Under the signal quality detecting pattern:
Responding device is set to the BC mode of operation, and the Quality Detection module inserts the 1553B bus, and the terminal detection module does not insert the 1553B bus;
Responding device sends through the 1553B bus has the detection signal that form is OXFFFF, 0X0000 or OXAAAA; The Quality Detection module is carried out form according to the detection signal that receives and is judged the output testing result.
Like Fig. 2, shown in 3, the workflow of BC detecting pattern is following:
1. after control device sends BC sense command and RT address through control treatment module, wait for receiving the control command success message; After receiving control command success, the Quality Detection module to be broken off and being connected of communication bus, the terminal control module is arranged to the RT mode of operation, and is linked into the 1553B bus; With the RT address setting is designated value; It is transceiver mode that all RT subaddressings are set; Wait for and receive the BC order; If BC requires RT to send data; The CRC32 verification that then produces 1~31 16 bit data and computational data at random with after send from the subaddressing that requires together; Then by detecting the echo back data that control module receives BC; And whether judgment data, verification and transmitting-receiving be consistent, provides testing result simultaneously; If BC requires RT to receive data, then RT carries out CRC32 verification and calculating again with the data that receive, again with data in CRC32 verification and comparison, provide the detection conclusion;
2. after responding device receives BC sense command and data through serial communication interface, the 1553B communication interface is set at the correlation parameter that the BC mode of operation disposes BC simultaneously; The CRC32 verification that produces 1~31 16 bit data and computational data at random with after send from 1~31 subaddressing respectively RT receive data command and data, verification and; Afterwards, require RT to send data from 1~31 subaddressing respectively; Receive data then, and with the data that receive and require RT to receive the RT subaddressing that data command sends to appointment; Judge whether serial communication interface receives the finish command,, otherwise continue to carry out said process if receive then finish BC and detect.
Like Fig. 4, shown in 5, RT detecting pattern workflow is following:
1. after control device sends RT sense command and RT address through control treatment module, wait for receiving the control command success message; Receive after the control command successful information Quality Detection module is broken off and being connected of communication bus, the terminal control module is arranged to the BC mode of operation and is disposed corresponding BC parameter; The CRC32 verification that produces 1~31 16 bit data and computational data at random with after send from 1~31 subaddressing respectively RT receive data command and data, verification and; Detect control module inspection BC message status word; If status word is unusual, RT operation irregularity then.Otherwise, send and to require RT to send data command, receive data and with send data relatively, thereby judge the RT working condition;
2. after responding device receives RT sense command and data through serial line interface, with the 1553B communication interface be set at the RT mode of operation simultaneously the RT address setting become designated value, all RT subaddressings to be set to transceiver mode; Receive order and the data of BC; Give BC with the data back that receives; Judge whether serial communication interface receives the finish command, if receive then finish BC and detect, otherwise, continue to carry out said process.
Like Fig. 6, shown in 7, MT detecting pattern workflow is following:
1. after control device sends the MT sense command through control treatment module, wait for receiving the control command success message; Receive after the control command success attributional analysis module is broken off and being connected of communication bus, the terminal detection module is set to BC and RT operational module pattern, and disposes corresponding BC parameter; Respectively 1~31 RT address is operated as follows under the RT mode of operation: all RT subaddressings are set to transceiver mode, the CRC32 verification that produces 1~31 16 bit data and computational data under the BC mode of operation at random with after send to RT together from 1~31 subaddressing respectively; Receive data from detecting control module, and judgment data, verification with whether with send consistent; Provide testing result;
2. after responding device receives the MT sense command through serial communication interface, the 1553B communication interface is set at the MT mode of operation; MT is set to monitor the message of all RT; Receive the 1553B bus message; The message that receives is carried out the data set bag; Through serial communication interface packet is sent to the detection control module; Judge whether the serial communication interface receives the finish command,, otherwise continue to carry out said process if receive then finish MT and detect.
Like Fig. 8, shown in 9, signal quality testing flow process is following:
1. control device is waited for receiving the control command success message through after detecting control module transmission BC sense command; After receiving the control command success Quality Detection module is linked into communication 1553B bus, detection module disconnection in terminal is connected with the 1553B bus; Be respectively applied for detection signal high level, low level and baud rate through detecting control module transmission OXFFFF, OX0000 or OXAAAA order; Through the Quality Detection image data; Control treatment module is further analyzed the data of gathering, and draws the analysis conclusion;
2. after responding device receives the BC sense command through serial line interface, the 1553B communication interface is set at the correlation parameter that the BC mode of operation disposes BC simultaneously; According to OXFFFF, 0X0000 or OXAAAA order that serial communication interface receives, BC sends 31 OXFFFF, 0X0000 or OXAAAA data respectively from the subaddressing of appointment; Judge whether serial communication interface receives the finish command,, otherwise continue to carry out said process if receive then finish BC and detect.
The unspecified part of the present invention belongs to general knowledge as well known to those skilled in the art.

Claims (4)

1. 1553B communication interface detection method is characterized in that may further comprise the steps:
Detect the mode of operation of control end according to detecting pattern configuration detection responder; Said detecting pattern comprises BC detecting pattern, RT detecting pattern, MT detecting pattern and signal quality detecting pattern;
After the configuration of completion detection responder mode of operation, detect control end and pass through the 1553B bus to detecting responder transmission detection data or receiving the detection data of sending by the detection responder;
The detection responder will return data and turn back to the detection control end after receiving and detecting data, and the detection data that maybe will send turn back to the detection control end as the passback data; By detecting control end passback data and detection data are judged, made the detection conclusion.
2. a kind of 1553B communication interface detection method according to claim 1 is characterized in that:
Under the BC detecting pattern:
Detect responder and be set to the BC mode of operation;
The detection control end will detect data as RT through the 1553B bus and send to the detection responder;
Under the RT detecting pattern:
Detect responder and be set to the RT mode of operation;
The detection control end will detect data as BC through the 1553B bus and send to the detection responder;
Under the MT detecting pattern:
Detect responder and be set to the MT mode of operation;
Detect control end simultaneously as BC and RT, and accomplish the transmission of detection data from BC to RT through the 1553B bus;
The detection data that detect on the 1553B bus that responder will listen to as MT turn back to the detection control end as the passback data;
Under the signal quality detecting pattern:
Detect responder and be set to the BC mode of operation;
The detection signal that the detection control end will have set form sends to the detection responder through the 1553B bus;
3. a kind of 1553B communication interface detection method according to claim 2 is characterized in that: affiliated detection responder is received and dispatched detection signal as BC or RT respectively with the detection control end from 1~31 subaddressing.
4. a kind of 1553B communication interface detection method according to claim 2 is characterized in that: under the signal quality detecting pattern, the detection signal of said set form is 0XFFFF, 0X0000 or OXAAAA.
CN201110283838.2A 2011-09-22 2011-09-22 Method for detecting 1553B communication interface Active CN102508754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110283838.2A CN102508754B (en) 2011-09-22 2011-09-22 Method for detecting 1553B communication interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110283838.2A CN102508754B (en) 2011-09-22 2011-09-22 Method for detecting 1553B communication interface

Publications (2)

Publication Number Publication Date
CN102508754A true CN102508754A (en) 2012-06-20
CN102508754B CN102508754B (en) 2014-08-20

Family

ID=46220846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110283838.2A Active CN102508754B (en) 2011-09-22 2011-09-22 Method for detecting 1553B communication interface

Country Status (1)

Country Link
CN (1) CN102508754B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105281972A (en) * 2014-11-20 2016-01-27 天津市英贝特航天科技有限公司 Contrastive collection structure and contrastive collection method of 1553B bus
CN106712868A (en) * 2015-11-13 2017-05-24 航天信息股份有限公司 Bluetooth terminal equipment interface fault detection method, device and system
CN109344019A (en) * 2018-09-21 2019-02-15 北京计算机技术及应用研究所 1553B agreement general-purpose interface semi-automation test macro and method based on SOPC system
CN109921958A (en) * 2019-03-19 2019-06-21 北京润科通用技术有限公司 A kind of 1553B bus detection device, system and method
CN113009261A (en) * 2021-03-05 2021-06-22 上海广川科技有限公司 Interface testing device and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111556034B (en) * 2020-04-15 2021-08-03 成都飞机工业(集团)有限责任公司 GJB289A bus message dynamic mapping method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1963784A (en) * 2006-12-13 2007-05-16 北京航空航天大学 Method and apparatus to realize universal emulation by emulation apparatus based on 1553B bus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1963784A (en) * 2006-12-13 2007-05-16 北京航空航天大学 Method and apparatus to realize universal emulation by emulation apparatus based on 1553B bus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李志刚: "1553B总线测试系统的设计与实现", 《中国优秀硕士学位论文全文数据库2005年》, no. 6, 27 June 2005 (2005-06-27) *
贾永来: "基于FPGA的1553B总线接口技术研究及实现", 《中国优秀硕士学位论文全文数据库2009年》, no. 3, 12 March 2009 (2009-03-12) *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105281972A (en) * 2014-11-20 2016-01-27 天津市英贝特航天科技有限公司 Contrastive collection structure and contrastive collection method of 1553B bus
CN105281972B (en) * 2014-11-20 2018-10-30 天津市英贝特航天科技有限公司 The comparison acquisition structure and comparison acquisition method of 1553B buses
CN106712868A (en) * 2015-11-13 2017-05-24 航天信息股份有限公司 Bluetooth terminal equipment interface fault detection method, device and system
CN106712868B (en) * 2015-11-13 2021-06-22 航天信息股份有限公司 Method, device and system for detecting interface fault of Bluetooth terminal equipment
CN109344019A (en) * 2018-09-21 2019-02-15 北京计算机技术及应用研究所 1553B agreement general-purpose interface semi-automation test macro and method based on SOPC system
CN109344019B (en) * 2018-09-21 2021-09-10 北京计算机技术及应用研究所 System and method for semi-automatically testing 1553B protocol universal interface based on SOPC system
CN109921958A (en) * 2019-03-19 2019-06-21 北京润科通用技术有限公司 A kind of 1553B bus detection device, system and method
CN109921958B (en) * 2019-03-19 2021-05-18 北京润科通用技术有限公司 1553B bus detection equipment, system and method
CN113009261A (en) * 2021-03-05 2021-06-22 上海广川科技有限公司 Interface testing device and method
CN113009261B (en) * 2021-03-05 2023-05-16 上海广川科技有限公司 Interface testing device and method

Also Published As

Publication number Publication date
CN102508754B (en) 2014-08-20

Similar Documents

Publication Publication Date Title
CN102508754B (en) Method for detecting 1553B communication interface
CN108965044B (en) Electric vehicle charging facility communication data link health state testing device, system and method
CN102289209A (en) CTCS-3 (China train control system) level train control testing simulation system
CN103604612A (en) Vehicle remote diagnostic system and diagnostic method
CN102270168A (en) Method for automatically detecting serial port information
CN103354562B (en) Energy consumption collector, energy consumption collecting system and energy consumption collecting method
CN201491008U (en) Wireless debugging device of micro robot
CN109194551A (en) A kind of real-time ethernet equipment performance test method, apparatus and system
CN107690759A (en) The monitoring method of optical module, optical mode block system and optical module
CN103888308A (en) Method, system and device for serial port tests
CN102694692A (en) Fault detecting method and device of distributed equipment
CN110650066A (en) Embedded bus communication detection system and reliability detection method thereof
CN101556304B (en) Automatic diagnostic method and equipment of serial ports of embedded type equipment
CN107888279B (en) Fault self-healing method, system, computer readable storage medium and computer device
CN103354022A (en) On-site test data wireless transmission method
US10613963B2 (en) Intelligent packet analyzer circuits, systems, and methods
CN105676052B (en) A kind of method and system of serial ports line sequence identification
CN102946335B (en) A kind of network condition detection method and system
CN201126570Y (en) Remote diagnosis device for computer fault
CN106941434A (en) The detecting system and method for a kind of communication message
CN202394222U (en) 1553B communication interface detector
CN103399572B (en) Equipment fault detection method and device
CN202548753U (en) Computer and shielding protection system thereof
CN103631717A (en) RS422 serial communication interface fault model construction method based on NI platform
CN106248191B (en) A kind of truck scale cheating signal detecting method and its detector

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