CN107592250B - Multi-rate self-adaptive test equipment based on aviation FC bus - Google Patents

Multi-rate self-adaptive test equipment based on aviation FC bus Download PDF

Info

Publication number
CN107592250B
CN107592250B CN201710840020.3A CN201710840020A CN107592250B CN 107592250 B CN107592250 B CN 107592250B CN 201710840020 A CN201710840020 A CN 201710840020A CN 107592250 B CN107592250 B CN 107592250B
Authority
CN
China
Prior art keywords
rate
sending
module
bus
aviation
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
CN201710840020.3A
Other languages
Chinese (zh)
Other versions
CN107592250A (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.)
China Aeronautical Radio Electronics Research Institute
Original Assignee
China Aeronautical Radio Electronics Research Institute
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 China Aeronautical Radio Electronics Research Institute filed Critical China Aeronautical Radio Electronics Research Institute
Priority to CN201710840020.3A priority Critical patent/CN107592250B/en
Publication of CN107592250A publication Critical patent/CN107592250A/en
Application granted granted Critical
Publication of CN107592250B publication Critical patent/CN107592250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an aviation FC bus-based multi-rate self-adaptive test device, which comprises a clock detection module, a master control detection interaction module and a sending control selection module, wherein the clock detection module is used for judging the sending rate of a tested device according to a received code element sent by the tested device and transmitting the judged sending rate and the received code element to the master control detection interaction module; the main control detection interaction module controls the sending rate of the sending control selection module according to the received sending rate, packs the related test data into a related frame format and transmits the related test data to the sending control selection module; and the sending control selection module sends the test data to the tested equipment according to the sending rate. The invention can detect the related code element speed of the related test bus port and complete the related test.

Description

Multi-rate self-adaptive test equipment based on aviation FC bus
Technical Field
The invention belongs to an avionics information integrated network bus technology, and relates to a multi-rate self-adaptive test device based on an FC bus, which can be compatible with 1G, 2G and 4G bandwidth transmission and is applied to the field of development of an avionics data bus transmission protocol.
Background
The Fiber Channel (FC) is the concept of integrating computer and network data communication, and is an open communication technology with high bandwidth, low time delay, reliable transmission and high cost performance, and adopts the channel control signal transmission technology, and uses arbitration or exchange means to deal with the problem of information sharing conflict, and in addition adopts the flow control technology, and compared with other network data bus protocols, the FC bus also adopts the mode of layered protocol, and is totally divided into 5 layers, namely a physical layer, a transmission layer, a control layer, a service layer, a protocol layer and the like. To accommodate the avionics data transmission environment, the united states promulgates the FC standard (FC-AE) for accommodating the avionics environment.
In recent years, the technology of domestic avionics data bus transmission is greatly developed, particularly, the application of an FC bus, a comprehensive aviation architecture and a general network transmission aviation bus switching device are beneficial to improving the avionics performance, but the design cost can be reduced due to the multi-rate compatibility problem, so that the design of a multi-rate compatible bus transmission architecture is a significant research subject.
Disclosure of Invention
The invention aims to provide multi-rate self-adaptive test equipment based on an aviation FC bus. The device can achieve the purpose of rapidly detecting the state of the aviation FC bus port, and provides an effective verification platform for subsequent aviation comprehensive radio and data bus communication verification.
The invention aims to be realized by the following technical scheme:
a multi-rate self-adaptive test device based on an aviation FC bus comprises a clock detection module, a master control detection interaction module and a sending control selection module;
the clock detection module is used for judging the sending rate of the tested equipment according to the received code element sent by the tested equipment and transmitting the judged sending rate and the received code element to the main control detection interaction module;
the main control detection interaction module controls the sending rate of the sending control selection module according to the received sending rate, packs the related test data into a related frame format and transmits the related test data to the sending control selection module;
and the sending control selection module sends the test data to the tested equipment according to the sending rate.
Preferably, the clock detection module judges the sending rate of the device to be tested by the following steps:
step A, sweeping frequency of the received code element;
step B, after parallel segmentation processing is carried out on the code elements after frequency sweeping, whether 2-order frequency points and 4-order frequency points exist or not is detected, if so, the step C is executed, and if not, the step D is executed;
step C, after the code elements with the frequency points of 2 orders or 4 orders are subjected to correlated downsampling, if the frequency points of 2 orders occur, the 1G sending rate is judged; if no 2-order frequency point appears, judging the rate to be 2G; executing the step E;
d, checking a main peak, if the main peak is only a pulse, judging that the main peak is jumping, and no FC signal exists; if the signal has a stray frequency band relative to the main peak and no obvious 2-order frequency band, judging the signal as an error signal or a signal which cannot be identified; otherwise, the rate is 4G; executing the step E;
and E, performing relevant frequency division on the sampling clock to obtain a corresponding code element rate clock, performing relevant down-sampling on the received code element according to the code element rate clock, performing serial-parallel conversion and decoding, and then putting the code element into a memory.
Preferably, the sending control selection module comprises a control selection setting unit, a plurality of sending units with different sending rates and a data buffer unit;
the control selection setting unit is used for selecting a sending unit with a corresponding sending rate after receiving the sending rate transmitted by the main control detection interaction module, and carrying out related frequency division processing on the 4G reference clock;
and the selected sending unit reads the test data from the data buffer unit and sends the test data to the tested device.
Preferably, the multi-rate adaptive test device based on the aviation FC bus further includes a display unit, and the main control detection interaction module is further configured to transmit the sending rate to the display unit for displaying.
Preferably, the multi-rate self-adaptive test device based on the aviation FC bus further comprises a power supply module, wherein the power supply module receives a power supply through a USB interface and supplies power to internal equipment of the multi-rate self-adaptive test device based on the aviation FC bus.
Preferably, the main control detection interaction module is implemented by an ARM chip, and codes executed by the ARM chip are programmed into Flash.
The invention has the beneficial effects that:
(1) a port code element rate detection mechanism is designed, so that the related code element rate of the related test bus port can be detected, the equipment state can be quickly detected, the related state is displayed, and the equipment bus detection capability is improved.
(2) A sending control selection mechanism is designed, different sending units can be set to meet different testing port communication, data sending can be completed quickly by combining the main control detection interaction module, communication at various rates is compatible, and the communication capacity of the equipment is improved.
(3) A master control detection interaction mechanism is designed, a man-machine interaction unit is mainly included, port detection information is normally displayed, a sending module is controlled according to the result of the port detection unit, and the portable using capacity of the device is improved by utilizing the power supply of a USB interface.
Drawings
Fig. 1 is a schematic structural diagram of an aviation FC bus based multi-rate adaptive test device.
FIG. 2 is a schematic diagram illustrating a transmission rate determination process of a clock detection module;
FIG. 3 is a schematic structural diagram of a clock detection module;
fig. 4 is a schematic structural diagram of a transmission control selection module.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
As shown in fig. 1, the multi-rate adaptive test device based on the aviation FC bus mainly includes a clock detection module, a main control detection interaction module, and a transmission control selection module, the clock detection module detects a symbol rate on a received physical cable, determines a transmission rate of the transmitting end FC, and transmits a test result to the main control detection interaction module, and the transmission control selection module adapts to data communication of the testing end by adjusting the symbol transmission rate and setting of a related frame format. The aviation FC bus multi-rate self-adaptive test device also comprises related peripheral equipment, wherein the peripheral equipment comprises a power supply module, a crystal oscillator, a memory, a flash, a display unit and the like.
The respective modules are explained in detail below.
(1) A clock detection module:
in order to realize the detection function of the FC port, the clock detection module must correctly recover the symbol clock of the port, and here, correlation detection processing such as fourier transform is mainly used. As shown in fig. 2, after the clock detection unit completes the release of the related resources through the initialization of the main control detection interaction unit, the clock detection unit enters a signal receiving state, and performs related sampling by using a high-power clock, and performs related fourier transform on the oversampled signals, where the related frequency sweep work is mainly performed. After parallel segmentation processing is carried out on related oversampling signals, whether 2-order or 4-order frequency points exist is detected, and if the frequency points exist, the rate is judged to be 1G or 2G; carrying out correlated downsampling on code elements with 2-order frequency points or 4-order frequency points, wherein if the rate of 2-order frequency points is 1G, the rate of 2G is not present; if no 2-order or 4-order frequency point exists, the main peak is seen, if the main peak is only a pulse, the main peak is judged to jump, no FC signal exists, and if the main peak is not a pulse, the main peak is judged to be at a 4G rate; in addition, if a stray frequency band relative to a main peak appears in the signal, no obvious 2-order frequency band is shown as an error or the signal cannot be identified, and relevant error marking processing is carried out.
After the rate detection is completed, the sampling clock is subjected to correlated frequency division and then correlated output, corresponding symbol rate clocks are obtained by frequency division sampling corresponding to two frequency divisions and four frequency divisions, correlated serial-parallel conversion is performed after correlated down sampling is performed on corresponding symbols for the purpose of back-end correlation processing, 10 bits are formed and then correlated 8B10B is decoded, the decoding is placed into a correlated buffer area, and the processing result is delivered to a main control detection mutual module, wherein the specific flow is shown in FIG. 3.
(2) A transmission control selection module:
the sending control selection module is a main communication module based on aviation FC bus multi-rate self-adaptive test equipment, and the module completes tasks such as communication, state inquiry and the like on a detection port. As shown in fig. 4, the module mainly includes a control selection setting unit, a plurality of sending units with different sending rates, and a data caching unit, and can ensure a real-time clock synchronization relationship between a physical node and a network platform. In the present embodiment, three transmission units of 1G rate, 2G rate, and 4G rate are designed. The control selection setting unit initializes the three sending units, clears the cache space, selects the corresponding sending unit after receiving a setting selection instruction of the main control detection interaction module, performs related frequency division processing on the 4G reference clock, sets the corresponding registration frame at the same time, and sends the registration frame to the corresponding port.
After the related setting is finished, the detection equipment inquires the state of the test port, if the port is normal, the main control detection interaction module is informed, the related data can be received and sent, and if the port is abnormal, the checking task is newly carried out. After the setting is normally completed, the main control detection interaction module may send data to the data cache unit for related normal communication, and the data cache unit may be set to a 16-packet 2048-word cache space to perform necessary cache processing for adapting to the minimum rate.
(3) The main control detection interaction module:
the main control detection interaction module is a core processing module based on aviation FC bus multi-rate self-adaptive test equipment, and communication coordination between tasks is completed by the module. The main control module receives the information of the clock detection module and displays the related information on the display unit after finishing the initialization work of the peripheral equipment, the clock detection module and the sending control selection module, the display unit receives the interactive information, and the main control detection interactive module sends the related data to the sending control selection module and carries out related processing.
In order to improve the portable use capacity of the multi-rate self-adaptive test equipment based on the aviation FC bus, the equipment is designed to be powered by a USB interface, and is powered by related circuits such as voltage stabilization and current limitation, a main control unit is relatively realized by an ARM chip with low energy consumption, and related initialization programs and related receiving polling thread codes are completed.
The invention has the following three main technical points.
(1) A port code element rate detection mechanism is designed, recovery of a port clock is achieved, frequency sweep detection is carried out through Fourier transformation, the code element clock is distinguished and distinguished into 1G, 2G, 3G, error types and the like, and the recovered clock is divided into a back-end processing module, and because the back-end processing module takes bytes as units, simple serial-parallel conversion is needed. And submitting the judgment result to a sending control module, and carrying out related data communication tasks by the module.
(2) A sending control selection setting mechanism is designed to be compatible with different data communication sending rates. Because the aviation service and the application environment are different, the service communication volume of data is also different, in order to improve the stability of the bus, the requirement of the bus speed is also different, in order to adapt to the communication speed of different ports, the test verification equipment should have the communication capacity of FC under different speeds, therefore, the equipment has at least 3 sending modes, the sending control module is selectively controlled by the main control unit according to the feedback result of the clock test module, a corresponding feedback loop is established, and the communication stability capacity is improved.
(3) And designing a master control detection interaction mechanism, initiating the state of the equipment, displaying a relevant result of clock detection and ensuring the normal operation of the equipment. The main control module of the design is completed by the charge of the microprocessor, mainly completes the initialization of related equipment, and performs the control selection of the related sending control module according to the result of the clock detection module. In addition, in order to improve the portability of the equipment and facilitate the use of the equipment, the equipment uses a USB interface to supply power correspondingly and adds a relevant chip for processing.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may occur to those skilled in the art, and all such modifications and alterations should fall within the scope of the appended claims.

Claims (5)

1. The multi-rate self-adaptive test equipment based on the aviation FC bus comprises a clock detection module, a main control detection interaction module and a sending control selection module, and is characterized in that the clock detection module is used for judging the sending rate of the tested equipment according to a received code element sent by the tested equipment and transmitting the judged sending rate and the received code element to the main control detection interaction module; the method comprises the following steps of judging the sending rate of the tested device:
step A, sweeping frequency of the received code element;
step B, after parallel segmentation processing is carried out on the code elements after frequency sweeping, whether 2-order frequency points or 4-order frequency points exist is detected, if yes, the step C is executed, and if not, the step D is executed;
step C, after the code elements with the frequency points of 2 orders or 4 orders are subjected to down sampling, if the frequency points of 2 orders occur, the 1G sending rate is judged; if no 2-order frequency point appears, judging the rate to be 2G; executing the step E;
d, checking a main peak, if the main peak is only a pulse, judging that the main peak is jumping, and no FC signal exists; if the signal has a stray frequency band relative to the main peak and no obvious 2-order frequency band, judging the signal as an error signal or a signal which cannot be identified; otherwise, the rate is 4G; executing the step E;
step E, the sampling clock is divided to obtain a corresponding code element rate clock, the received code element is subjected to down-sampling according to the code element rate clock, then serial-parallel conversion and decoding are carried out, and then the code element is placed into the memory;
the main control detection interaction module controls the sending rate of the sending control selection module according to the received sending rate, packs the test data into a corresponding frame format and transmits the frame format to the sending control selection module;
and the sending control selection module sends the test data to the tested equipment according to the sending rate.
2. The multi-rate self-adaptive test equipment based on the aviation FC bus according to claim 1, wherein the sending control selection module comprises a control selection setting unit, a plurality of sending units with different sending rates and a data caching unit;
the control selection setting unit is used for selecting a sending unit with a corresponding sending rate after receiving the sending rate transmitted by the main control detection interaction module, and carrying out related frequency division processing on the 4G reference clock;
and the selected sending unit reads the test data from the data buffer unit and sends the test data to the tested device.
3. The multi-rate adaptive test device based on the aviation FC bus according to claim 1, further comprising a display unit, wherein the main control detection interaction module is further configured to transmit the sending rate to the display unit for display.
4. The multi-rate adaptive test device based on the aviation FC bus according to claim 1, further comprising a power supply module, wherein the power supply module receives power through the USB interface and supplies power to internal devices of the multi-rate adaptive test device based on the aviation FC bus.
5. The multi-rate adaptive test device based on the aviation FC bus as claimed in claim 1, wherein the main control detection interaction module is implemented by an ARM chip, and codes executed by the ARM chip are programmed into Flash.
CN201710840020.3A 2017-09-18 2017-09-18 Multi-rate self-adaptive test equipment based on aviation FC bus Active CN107592250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710840020.3A CN107592250B (en) 2017-09-18 2017-09-18 Multi-rate self-adaptive test equipment based on aviation FC bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710840020.3A CN107592250B (en) 2017-09-18 2017-09-18 Multi-rate self-adaptive test equipment based on aviation FC bus

Publications (2)

Publication Number Publication Date
CN107592250A CN107592250A (en) 2018-01-16
CN107592250B true CN107592250B (en) 2020-07-07

Family

ID=61047127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710840020.3A Active CN107592250B (en) 2017-09-18 2017-09-18 Multi-rate self-adaptive test equipment based on aviation FC bus

Country Status (1)

Country Link
CN (1) CN107592250B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897303A (en) * 2019-05-06 2020-11-06 深圳市优必选科技有限公司 Eye pattern test method and eye pattern test system
CN111510219A (en) * 2020-04-15 2020-08-07 联合华芯电子有限公司 Bidirectional optical fiber communication method in bus type network
CN111682886B (en) * 2020-06-15 2021-06-08 北京国科天迅科技有限公司 Optical fiber avionics network system for data transmission by adopting coaxial cable
CN112865886B (en) * 2020-12-30 2023-01-31 洛阳伟信电子科技有限公司 Method for realizing FC communication rate detection based on FPGA
CN114221699A (en) * 2021-12-16 2022-03-22 黄冈师范学院 Dial display method for communication information rate detection

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159682A (en) * 2007-09-28 2008-04-09 中兴通讯股份有限公司 Method and equipment of implementing stream conversion
CN104734913A (en) * 2015-02-26 2015-06-24 北京奥普维尔科技有限公司 Multi-service integrated device and intelligent service matching testing method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9736548B2 (en) * 2011-06-08 2017-08-15 Qualcomm Incorporated Multipath rate adaptation
CN102932489B (en) * 2012-10-28 2015-01-14 中国电子科技集团公司第十研究所 Multi-channel ARINC429 bus interface
CN103560928A (en) * 2013-10-22 2014-02-05 东软集团股份有限公司 Method and system for testing forwarding performance of network equipment
CN106911388A (en) * 2015-12-22 2017-06-30 杭州华为企业通信技术有限公司 The method and apparatus of self-adaptative adjustment different rates device port
CN105871656B (en) * 2016-03-25 2020-03-06 新华三技术有限公司 Testing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159682A (en) * 2007-09-28 2008-04-09 中兴通讯股份有限公司 Method and equipment of implementing stream conversion
CN104734913A (en) * 2015-02-26 2015-06-24 北京奥普维尔科技有限公司 Multi-service integrated device and intelligent service matching testing method thereof

Also Published As

Publication number Publication date
CN107592250A (en) 2018-01-16

Similar Documents

Publication Publication Date Title
CN107592250B (en) Multi-rate self-adaptive test equipment based on aviation FC bus
US20210026796A1 (en) I3c point to point
US10635630B2 (en) Flexible protocol and associated hardware for one-wire radio frequency front-end interface
JP5767462B2 (en) COMMUNICATION MODE DETECTION METHOD BY RECEIVING DEVICE FOR NEAR RANGE COMMUNICATION
US10958110B2 (en) Parallel voltage and current multiple amplitude shift key demodulation
US20120290761A1 (en) USB Converter and Related Method
KR20180017035A (en) Test for 50 nanosecond spike filter
CN104008465B (en) Grid switching operation bill safety implemented systems
CN102124454A (en) Universal serial bus (usb) remote wakeup
EP3284229B1 (en) Clock and data recovery for pulse based multi-wire link
US10579581B2 (en) Multilane heterogeneous serial bus
WO2014171937A1 (en) Device, method and system for operation of a low power phy with a pcie protocol stack
CN106445853A (en) Transformation method of SPI (Serial Peripheral Interface) and UART (Universal Asynchronous Receiver/Transmitter) interface on the basis of FPGA (Field Programmable Gate Array)
CN201751896U (en) ARINC429 bus testing device
CN103124195A (en) Method for implementing fiber channel link speed negotiation
US20200097434A1 (en) Enhanced high data rate technique for i3c
CN107911288B (en) Train communication network card and train control management system
CN103440218A (en) CAN (Control Area Network) bus monitoring method based on USB-HID (Universal Serial Bus-Human Input Device) protocol
CN100460876C (en) Measuring system and its data interface converting device
US20100279632A1 (en) Communication apparatus
CN201910801U (en) Circuit for realizing hot-swapping function of optical fiber passage port
CN108347569A (en) Multi-channel high-speed serial digital video signal switching equipment, switching method and system
WO2017012356A1 (en) System and method for monitoring serial bus between super-speed chips, and computer storage medium
CN113485957B (en) Multi-protocol system control device and multi-protocol system control method for physical layer suitable for industrial-level application scene
US20130266044A1 (en) Communication system and test apparatus

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