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

Method for detecting 1553B communication interface Download PDF

Info

Publication number
CN102508754B
CN102508754B CN201110283838.2A CN201110283838A CN102508754B CN 102508754 B CN102508754 B CN 102508754B CN 201110283838 A CN201110283838 A CN 201110283838A CN 102508754 B CN102508754 B CN 102508754B
Authority
CN
China
Prior art keywords
detection
data
detect
detecting
responder
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.)
Active
Application number
CN201110283838.2A
Other languages
Chinese (zh)
Other versions
CN102508754A (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

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

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
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.
Conventionally 1553B communication interface is formal use before or when troubleshooting, need to detect the mode of operation of communication interface, communication and signal quality (level, waveform, baud rate).Traditional detection method is at least to adopt two equipment with 1553B communication interface (or computing machine) mutually to dock, and forms mutual reiving/transmitting state, to verify three kinds of mode of operations and the communication function of 1553B bus.While using which to carry out the checking of 1553B communication interface, must ensure to have at least two people to control respectively different equipment (or computing machine), control respectively sending and receiving by bitcom separately, by the data of sending and receiving by manpower comparing the correctness to its mode of operation of rear checking and communication.In addition, in the time that the quality of communication interface signal is detected, also need to adopt oscillograph, manually carry out signal measurement, analysis, judgement, can draw the quality of signal quality.Therefore, the method complex operation, efficiency lower, sometimes also can add artificial detection error.
Summary of the invention
Technology of the present invention is dealt with problems and is: overcome the deficiencies in the prior art, a kind of 1553B communication interface detection method is provided.Adopt the present invention can realize the automatic detection to 1553B communication interface, simplified operating process, increased work efficiency, the error that may cause except artificial detection side by side.
Technical solution of the present invention is:
A kind of 1553B communication interface detection method, following steps:
Detect control end according to the mode of operation of detecting pattern configuration detection responder; Described detecting pattern comprises BC detecting pattern, RT detecting pattern, MT detecting pattern and signal quality detecting pattern;
Complete after the configuration that detects responder mode of operation, detect control end and detect data by 1553B bus to detecting responder transmission;
Detect responder and receive after detection data, passback data are turned back to detection control end, judge by detecting control end to passback data and detecting data, make test result.
Under BC detecting pattern:
Detect responder and be set to BC mode of operation;
Detect control end and by 1553B bus, detection data are sent to detection responder as RT;
Under RT detecting pattern:
Detect responder and be set to RT mode of operation;
Detect control end and by 1553B bus, detection data are sent to detection responder as BC;
Under MT detecting pattern:
Detect responder and be set to MT mode of operation;
Detect control end simultaneously as BC and RT, and complete and detect the transmission of data from BC to RT by 1553B bus;
Detect responder the detection data in the 1553B bus listening to as MT are turned back to detection control end as passback data;
Under signal quality detecting pattern:
Detect responder and be set to BC mode of operation;
Detect control end the detection signal with set form is sent to detection responder by 1553B bus;
The affiliated responder that detects is received and dispatched detection signal as BC or RT from 1~31 subaddressing respectively with detection control end.
Under signal quality detecting pattern, the detection signal of described set form is OXFFFF, 0X0000 or OXAAAA.
The present invention compared with prior art tool has the following advantages:
(1) adopt the method for the invention automatically to detect three of 1553B communication interface kind of different working modes (BC, RT and MT), simultaneously can also realize the detection to 1553B communication interface signal quality, simplify greatly operating process, improved work efficiency and got rid of the error of artificial detection.
(2) in the method for the invention, detect responder all the time in controlled state, receive by detecting the configuration of control end to its mode of operation, and in testing process, only detect the reception of data and the transmission of passback data.Undertaken by detecting control end detecting data and returning data decision.It is simple that this kind of design realizes result, and function distinguishing is clear and definite, is convenient to the control to detecting.
(3) the present invention, under signal quality detecting pattern, detects data by three kinds of sending OXFFFF, 0X0000 or OXAAAA form, realizes the high level to 1553B communication structure signal, and the detection of low level and pulse signal, detects effect comprehensive.
Brief description of the drawings
Fig. 1 is schematic diagram of the present invention;
Fig. 2 is that BC of the present invention detects timed unit workflow;
Responding device workflow when Fig. 3 is BC detection of the present invention;
Fig. 4 is that RT of the present invention detects timed unit workflow;
Responding device workflow when Fig. 5 is RT detection of the present invention;
Fig. 6 is that MT of the present invention detects timed unit workflow;
Responding device workflow when Fig. 7 is MT detection of the present invention;
Fig. 8 is that signal quality of the present invention detects timed unit workflow;
Responding device workflow when Fig. 9 is signal quality detection of the present invention;
Figure 10 is process flow diagram of the present invention.
Embodiment
Be process flow diagram of the present invention as shown in figure 10, detect the main control end that control end is whole testing process in the present invention, detecting responder is the controlled end in testing process, receives and detects the control of control end and return to passback data to detecting control end.
Just in conjunction with flow process of the present invention, provide the embodiment of the present invention below
As shown in Figure 1, the detection control end in the present invention and detection responder correspond respectively to control device and responding device two parts., under the control of control device 1553B communication interface is detected according to detection method flow process.In conjunction with the terminal type of 1553B bus, this detection method can have BC, RT and tri-kinds of detecting patterns of MT, for the signal transmission quality of 1553B bus communication interface, also has signal quality detecting pattern simultaneously.
Therefore,, in conjunction with the method for the invention, the workflow of control device and responding device is as follows:
Control device, according to the detecting pattern of setting, is set the mode of operation of responding device;
Responding device, according to the mode of operation of setting, receives the detection signal being sent by control device or sends detection signal to control device; And according to the detection signal that receives or send, send status signal to described control device;
Control device detects 1553B communication interface according to the state receiving.
Wherein, control device can comprise: control processing module 1.; 2. terminal detection module; 3. Quality Detection module; 4. detect control module.
Responding device can comprise: 5.1553B communication interface; 6. serial communication interface; 7. computing machine.
The effect of each module is as follows:
1. responding device is all the time in controlled state, and serial communication interface has been mainly used in receiving, FEEDBACK CONTROL order and the data while receiving 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, and self does not analyze and judges;
3. three of tested 1553B communication interface kinds of mode of operations (BC, RT, MT) and communication signal quality detect by different workflows.
Testing process can further describe as follows:
Control processing module, according to the detecting pattern of setting, set the mode of operation of responding device, terminal detection module and Quality Detection module; Described mode of operation comprises: BC detecting pattern, RT detecting pattern, MT detecting pattern and signal quality detecting pattern,
Under BC detecting pattern:
Responding device is set to BC mode of operation, and terminal detection module is set to RT mode of operation, and accesses 1553B bus, and Quality Detection module does not access 1553B bus;
As the terminal detection module of RT with carry out the transmitting-receiving of detection signal as the responding device of BC; Described detection control module, the detection return path signal returning according to responding device, after detection signal is judged, output detections result;
Under RT detecting pattern:
Responding device is set to RT mode of operation, and terminal detection module is set to BC mode of operation, and accesses 1553B bus, and Quality Detection module does not access 1553B bus;
As the terminal detection module of BC with carry out the transmitting-receiving of detection signal as the responding device of RT; Described detection control module, the detection return path signal returning according to responding device, after detection signal is judged, output detections result;
Under MT detecting pattern:
Responding device is set to MT mode of operation, and terminal detection module is set to the pattern that BC and RT work simultaneously, and accesses 1553B bus, and Quality Detection module does not access 1553B bus;
Terminal detection module utilizes 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 detection control module; Detect control module according to the monitor signal output detections result receiving;
Under signal quality detecting pattern:
Responding device is set to BC mode of operation, Quality Detection module access 1553B bus, and terminal detection module does not access 1553B bus;
Responding device is sent and is had the detection signal that form is OXFFFF, 0X0000 or OXAAAA by 1553B bus; Quality Detection module is carried out form judgement, output detections result according to the detection signal receiving.
As shown in Figure 2,3, the workflow of BC detecting pattern is as follows:
1. control device sends behind BC sense command and RT address by controlling processing module, waits for and receives control command success message; Receiving after control command success, Quality Detection module is disconnected and being connected of communication bus, terminal control module is arranged to RT mode of operation, and is linked into 1553B bus; RT address is set to designated value; It is transceiver mode that all RT subaddressing is set; Wait for and receive BC order; If BC requires RT to send data, the CRC32 verification that produces at random 1~31 16 bit data computational data with after together with send from the subaddressing requiring, then by the echo back data that detects control module reception BC, and judge that whether data, verification and transmitting-receiving be consistent, provide testing result simultaneously; If BC require RT receive data, the data that receive are re-started CRC32 verification and calculating by RT, then with data in CRC32 verification and comparison, provide test result;
2. responding device receives after BC sense command and data by serial communication interface, 1553B communication interface is set as to BC mode of operation and configures simultaneously the correlation parameter of BC; The random CRC32 verification that produces 1~31 16 bit data computational data and rear send from 1~31 subaddressing respectively RT receive data command and data, verification and; Afterwards, require respectively RT to send data from 1~31 subaddressing; Then receive data, and by the data that receive and require RT to receive data command to send to the RT subaddressing of appointment; Judge whether serial communication interface receives the finish command, if received, finish BC and detect, otherwise continue to carry out said process.
As shown in Figure 4,5, RT detecting pattern workflow is as follows:
1. control device sends behind RT sense command and RT address by controlling processing module, waits for and receives control command success message; Receive and Quality Detection module is disconnected after control command successful information and being connected of communication bus, terminal control module is arranged to BC mode of operation and is configured corresponding BC parameter; The random CRC32 verification that produces 1~31 16 bit data computational data and rear send from 1~31 subaddressing respectively RT receive data command and data, verification and; Detect control module and check BC message status word; If status word is abnormal, RT operation irregularity.Otherwise, send and require RT to send data command, receive data and with send data comparisons, thereby judge RT working condition;
2. responding device receives after RT sense command and data by serial line interface, and 1553B communication interface is set as to RT mode of operation, and designated value is arranged in RT address simultaneously, all RT subaddressing is set to transceiver mode; Receive order and the data of BC; By the data loopback receiving to BC; Judge whether serial communication interface receives the finish command, if received, finish BC and detect, otherwise, continue to carry out said process.
As shown in Figure 6,7, MT detecting pattern workflow is as follows:
1. control device sends after MT sense command by controlling processing module, waits for and receives control command success message; Receive and attributional analysis module is disconnected after control command success and being connected of communication bus, terminal detection module is set to BC and RT operational module pattern, and configures corresponding BC parameter; Under RT mode of operation, the RT address to 1~31 proceeds as follows respectively: all RT subaddressings are set to transceiver mode, and under BC mode of operation, the random CRC32 verification that produces 1~31 16 bit data computational data sends to RT respectively with rear together with 1~31 subaddressing; Receive data from detecting control module, and judge whether data, verification be with consistent with transmission; Provide testing result;
2. responding device receives after MT sense command by serial communication interface, and 1553B communication interface is set as to MT mode of operation; MT is set to monitor the message of all RT; Receive 1553B bus message; The message receiving is carried out to data group bag; By serial communication interface, Packet Generation is given and detected control module; Judge whether serial communication interface receives the finish command, if received, finish MT and detect, otherwise continue to carry out said process.
As shown in Figure 8,9, signal quality testing flow process is as follows:
1. control device sends after BC sense command by detecting control module, waits for and receives control command success message; After receiving control command success, Quality Detection module is linked into communication 1553B bus, the disconnection of terminal detection module is connected with 1553B bus; By detecting, control module sends OXFFFF, OX0000 or OXAAAA order is respectively used to detection signal high level, low level and baud rate; By Quality Detection image data; Control processing module the data of collection are further analyzed, draw analysis conclusion;
2. responding device receives after BC sense command by serial line interface, 1553B communication interface is set as to BC mode of operation and configures simultaneously the correlation parameter of BC; OXFFFF, the 0X0000 receiving according to serial communication interface or OXAAAA order, BC sends respectively 31 OXFFFF, 0X0000 or OXAAAA data from the subaddressing of specifying; Judge whether serial communication interface receives the finish command, if received, finish BC and detect, otherwise continue to carry out said process.
The unspecified part of the present invention belongs to general knowledge as well known to those skilled in the art.

Claims (3)

1. a 1553B communication interface detection method, is characterized in that comprising the following steps:
Detect control end according to the mode of operation of detecting pattern configuration detection responder; Described detecting pattern comprises BC detecting pattern, RT detecting pattern, MT detecting pattern and signal quality detecting pattern;
Complete after the configuration that detects responder mode of operation, detect control end and detect data or receive the detection data that send by detecting responder to detecting responder transmission by 1553B bus;
Detect responder and receive after detection data, passback data are turned back to detection control end, maybe the detection data of transmission are turned back to detection control end as passback data; Judge by detecting control end to passback data and detecting data, make test result;
Under BC detecting pattern:
Detect responder and be set to BC mode of operation;
Detect control end and by 1553B bus, detection data are sent to detection responder as RT;
Under RT detecting pattern:
Detect responder and be set to RT mode of operation;
Detect control end and by 1553B bus, detection data are sent to detection responder as BC;
Under MT detecting pattern:
Detect responder and be set to MT mode of operation;
Detect control end simultaneously as BC and RT, and complete and detect the transmission of data from BC to RT by 1553B bus;
Detect responder the detection data in the 1553B bus listening to as MT are turned back to detection control end as passback data;
Under signal quality detecting pattern:
Detect responder and be set to BC mode of operation;
Detect control end the detection signal with set form is sent to detection responder by 1553B bus; Control device sends after BC sense command by detecting control module, waits for and receives control command success message; After receiving control command success, Quality Detection module is linked into communication 1553B bus, the disconnection of terminal detection module is connected with 1553B bus; By detecting, control module sends 0XFFFF, 0X0000 or 0XAAAA order is respectively used to detection signal high level, low level and baud rate; By Quality Detection image data; Control processing module the data of collection are further analyzed, draw analysis conclusion; Responding device receives after BC sense command by serial line interface, 1553B communication interface is set as to BC mode of operation and configures simultaneously the correlation parameter of BC; 0XFFFF, the 0X0000 receiving according to serial communication interface or 0XAAAA order, BC sends respectively 31 0XFFFF, 0X0000 or 0XAAAA data from the subaddressing of specifying; Judge whether serial communication interface receives the finish command, if received, finish BC and detect, otherwise continue to carry out said process.
2. a kind of 1553B communication interface detection method according to claim 1, is characterized in that: affiliated detection responder and detection control end are received and dispatched detection signal as BC or RT from 1~31 subaddressing respectively.
3. a kind of 1553B communication interface detection method according to claim 1, is characterized in that: under signal quality detecting pattern, the detection signal of described set form is 0XFFFF, 0X0000 or 0XAAAA.
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 CN102508754A (en) 2012-06-20
CN102508754B true 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 (1)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105281972B (en) * 2014-11-20 2018-10-30 天津市英贝特航天科技有限公司 The comparison acquisition structure and comparison acquisition method of 1553B buses
CN106712868B (en) * 2015-11-13 2021-06-22 航天信息股份有限公司 Method, device and system for detecting interface fault of Bluetooth terminal equipment
CN109344019B (en) * 2018-09-21 2021-09-10 北京计算机技术及应用研究所 System and method for semi-automatically testing 1553B protocol universal interface based on SOPC system
CN109921958B (en) * 2019-03-19 2021-05-18 北京润科通用技术有限公司 1553B bus detection equipment, system and method
CN113009261B (en) * 2021-03-05 2023-05-16 上海广川科技有限公司 Interface testing device and 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 (5)

* Cited by examiner, † Cited by third party
Title
1553B总线测试***的设计与实现;李志刚;《中国优秀硕士学位论文全文数据库2005年》;20050627(第6期);全文 *
基于FPGA的1553B总线接口技术研究及实现;贾永来;《中国优秀硕士学位论文全文数据库2009年》;20090312(第3期);第7页第2段、第41页第2段、44页第2段、54页第2段-62页第1段;附图3-27、4-1、4-11--4-18 *
李志刚.1553B总线测试***的设计与实现.《中国优秀硕士学位论文全文数据库2005年》.2005,(第6期),全文.
贾永来.基于FPGA的1553B总线接口技术研究及实现.《中国优秀硕士学位论文全文数据库2009年》.2009,(第3期),第7页第2段、第41页第2段、44页第2段、54页第2段-62页第1段
附图3-27、4-1、4-11--4-18.

Cited By (1)

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

Also Published As

Publication number Publication date
CN102508754A (en) 2012-06-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
CN107222362A (en) A kind of vehicle CAN network automatic test platform and its optimization method
CN102176140B (en) Remote control controlled area network (CAN) bus testing device and method
CN104656632A (en) Integrated interface test system and detection method for aircraft semi-physical simulation tests
CN104914845B (en) A kind of car body controller fault testing method and system based on industrial personal computer
CN103138988B (en) Positioning treatment method and positioning treatment device of network faults
CN102621432A (en) Method for automatically testing single board of protective relay device
CN103888308A (en) Method, system and device for serial port tests
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
US10613963B2 (en) Intelligent packet analyzer circuits, systems, and methods
CN106941434A (en) The detecting system and method for a kind of communication message
CN201126570Y (en) Remote diagnosis device for computer fault
CN207782829U (en) The diagnostic device of PROFIBUS-DP communication networks
CN102946335B (en) A kind of network condition detection method and system
CN105117311A (en) System deployment environment inspection method and system
CN106291159B (en) Intelligent acceptance device and acceptance method for main station side power distribution automatic signals
CN202394222U (en) 1553B communication interface detector
CN103853150A (en) Complete machine detection method for wireless switching locomotive signal and monitoring system vehicle-mounted device
CN104754620B (en) Mobile communication module detection device and method
CN203243346U (en) Command system network tester
CN112711502B (en) Gao Wenkao machine testing method, control end, tooling end and system for iMS-CPU board
CN106093623B (en) A kind of Arinc429 communication system self-checking system and self checking method
CN103531002B (en) A kind of remote debugging method based on TD-SCDMA

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