CN101533378A - Data load method and device - Google Patents

Data load method and device Download PDF

Info

Publication number
CN101533378A
CN101533378A CN200910082412A CN200910082412A CN101533378A CN 101533378 A CN101533378 A CN 101533378A CN 200910082412 A CN200910082412 A CN 200910082412A CN 200910082412 A CN200910082412 A CN 200910082412A CN 101533378 A CN101533378 A CN 101533378A
Authority
CN
China
Prior art keywords
data
buses
chip microcomputer
air equipment
sent
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.)
Pending
Application number
CN200910082412A
Other languages
Chinese (zh)
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.)
Sichuan Jiuzhou Electric Group Co Ltd
Original Assignee
Sichuan Jiuzhou Electric Group 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 Sichuan Jiuzhou Electric Group Co Ltd filed Critical Sichuan Jiuzhou Electric Group Co Ltd
Priority to CN200910082412A priority Critical patent/CN101533378A/en
Publication of CN101533378A publication Critical patent/CN101533378A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention relates to a data load method and a device thereof; wherein the data load method comprises: judging that the received data is the downward data transmitted by an upper computer and received by a USB interface or is the upward data transmitted by the 429 bus and received by the 429 bus interface; if the received data is the downward data, the downward data is transmitted to the corresponding aeronautical facility on the 429 bus through 429 bus interface; if the received data is the upward data, the upward data is transmitted to the upper computer through the USB interface. The data in the upper computer and the aeronautical facility can be updated by the USB interface and the 429 bus interface, the application is convenient for the compatibility of various upper computers and aeronautical facilities, and the cost is low.

Description

Data load method and device
Technical field
The present invention relates to the loading technique of aeronautical data, particularly a kind of data load method and device belong to the aeronautical technology field.
Background technology
The aviation bus kind that air equipment adopts is different, and for example ARINC453, ARINC461/568, ARINC573, ARINC575, ARINC582 etc. are difficult to compatible between the different aviation buses.The present generation aircraft electronic system requires each airborne air equipment to use unified aviation bus, makes things convenient for the system integration.ARINC429 has formed standard exactly under this needs.US Airways wireless provider (AeronauticalRadio Incorporated; Hereinafter to be referred as ARINC) ARINC429 be a kind of aviation electronic bus, also claim 429 buses, with between each system of aircraft or the interconnection of system and equipment room, is between each system or the predominating path of system and equipment room digital information transmission by twisted-pair feeder, also is the neural network of aircraft.ARINC429 has characteristics such as interface is convenient, data transmission is reliable, be the most widely used aviation electronic bus of commercial affairs transportation aviation field at present, the aircraft of using ARINC429 is of a great variety, for example: the A310/A320 of airbus, A330/A340 aircraft, 727,737,747 and 767 aircrafts of Boeing etc.ARINC429 also is applied in guided missile, field of radar in addition.
On the now domestic aircraft during Data Update of each air equipment, adopt for example RS232 etc. or adopt the integrated circuit board of embeddeding computer mainboard to carry out data load of serial ports more, use inconveniently, cost is higher, and is unfavorable for compatible between the distinct device.
Summary of the invention
The objective of the invention is: a kind of data load method and device are provided, in order to the high and incompatible problem of Data Update inconvenience, cost that solves air equipment on the aircraft, not only convenient the realization followed new to the data of air equipment, make the easy compatibility of the data transmission between the plurality of devices, and can reduce the cost that Data Update needs.
The invention provides a kind of data load method, comprising:
Judge that the data that receive are to receive the downlink data of host computer transmission or receive the upstream data that 429 buses send from 429 bus interface from the general-purpose serial bus USB interface;
If the data that receive are downlink datas, then described downlink data is sent in the air equipment corresponding on described 429 buses by 429 bus interface;
If the data that receive are upstream datas, then described upstream data is sent to described host computer by USB interface.
The present invention provides a kind of data loading device again, comprising:
The general-purpose serial bus USB interface is used to receive the downlink data that host computer sends, and the upstream data in the single-chip microcomputer is sent to described host computer;
Single-chip microcomputer, be connected with described USB interface, be used for reading the downlink data of USB interface and the upstream data in 429 bus interface, by USB interface described upstream data is sent to described host computer, described downlink data is sent in the air equipment corresponding on 429 buses by 429 bus interface;
429 bus interface are used to receive the upstream data that 429 buses send, and the upstream data in the described single-chip microcomputer is sent in the air equipment corresponding on described 429 buses.
The invention provides a kind of data load method and device, single-chip microcomputer carries out Data Update in host computer and the air equipment by USB interface and 429 bus interface, and it is convenient to use, and be easy to the compatibility of multiple host computer and air equipment, and cost is low.
Description of drawings
Fig. 1 is the process flow diagram of data load method embodiment of the present invention;
Fig. 2 is the structural representation of data loading device first embodiment of the present invention;
Fig. 3 is the structural representation of data loading device second embodiment of the present invention.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Fig. 1 is the process flow diagram of data load method embodiment of the present invention, and as shown in Figure 1, this data load method may further comprise the steps:
The data that step 101, judgement receive are to receive the downlink data of host computer transmission or receive the upstream data that 429 buses send from 429 bus interface from the general-purpose serial bus USB interface.
Single-chip microcomputer is finished USB (universal serial bus) (Universal Serial Bus; Hereinafter to be referred as USB) behind the protocol initializing, can in interruption, handle the usb data bag, the usb data bag is meant the data through USB interface.Single-chip microcomputer also needs 429 bus interface are carried out initialization, and parameters such as word length, speed are configured.Host computer is called downlink data by USB interface and single-chip microcomputer to the data that 429 buses send in the embodiment of the invention, air equipment is called upstream data by 429 bus interface and single-chip microcomputer to the data that host computer sends, wherein host computer is meant and the relative definition of air equipment on the aircraft, can be the equipment such as computing machine that have USB interface.
Step 102, if the data that receive are downlink datas, then described downlink data is sent in the air equipment corresponding on described 429 buses by 429 bus interface.
When USB interface received the downlink data of host computer transmission, single-chip microcomputer read described downlink data from this USB interface, and described downlink data is temporary to 429 downlink data buffer zones.Single-chip microcomputer is sent to the described downlink data in the described 429 downlink data buffer zones in the air equipment corresponding on 429 buses by 429 bus interface.Specifically comprise: when the transmission buffer zone of 429 bus interface was sky, described 429 bus interface sent downlink data handling interrupt signal to single-chip microcomputer; After single-chip microcomputer receives downlink data handling interrupt signal, if have downlink data in the 429 downlink data buffer zones, this downlink data is write described transmission buffer zone, the downlink data in the described transmission buffer zone is sent in the air equipment corresponding on 429 buses.
Load-on module in the data loading device is opened the file that will load, according to configuration file, passage to 429 buses carries out initialization, the transfer rate of 429 buses is set to identical with data loading device, and the size of each data block of transmitting downlink data and the identification number of air equipment be set.The above-mentioned setting after the success, load-on module begin to 429 bus broadcast command words.When single-chip microcomputer receives the air equipment transmission feedback command word that the match is successful, shake hands successfully by command word between host computer and the air equipment, can begin according to the identification number of the air equipment that feeds back to send data block to this air equipment.If in certain time interval, the number of times of the command word of broadcasting reaches setting range, but does not receive the feedback command word of air equipment, and this command word of can going off the air checks whether the reception program or the hardware of air equipment goes wrong.Owing to once can only transmit one 429 frame, therefore can between two 429 frames, add certain time interval, by being set, parameter determines, adjust the air equipment that the time interval can adapt to different size.The joining day is not at interval yet between 429 frames.After a data block had loaded, the wait air equipment was sent the affirmation command word.Represent that the data block of receiving is incorrect if confirm command word, air equipment just requires host computer this data block that retransfers so, transmits correct up to these data.After file transfer finishes, send the finish command word, can remind user file to load successfully simultaneously to air equipment.
Step 103, if the data that receive are upstream datas, then described upstream data is sent to described host computer by USB interface.
When 429 bus interface received the upstream data of 429 buses transmission, single-chip microcomputer write 429 up data buffers with described upstream data read the upstream data of described 429 buses transmission from described 429 bus interface after.Particularly, when 429 bus interface received the upstream data of 429 buses transmission, described 429 bus interface sent upstream data handling interrupt signal to single-chip microcomputer; Single-chip microcomputer reads upstream data after receiving upstream data handling interrupt signal from 429 bus interface, after the upstream data packing is handled, write 429 up data buffers.When treating that USB interface produces upstream data handling interrupt signal, single-chip microcomputer sends to the upstream data in 429 up data buffers in the host computer by interrupt service routine.Wherein step 102 does not have sequential relationship with step 103.
Single-chip microcomputer is loaded on host computer by USB interface with the upstream data of air equipment in the present embodiment, by 429 bus interface the downlink data of host computer is loaded on air equipment, USB interface can plug and play, compatible height and cost are low, simply adjust the load time at interval according to the characteristics between the distinct device, the data load process that is applied to multiple host computer and air equipment that can be convenient, flexible.
Fig. 2 is the structural representation of data loading device first embodiment of the present invention, and as shown in Figure 2, this data loading device comprises: general-purpose serial bus USB interface 21, single-chip microcomputer 23 and 429 bus interface 25.Wherein USB interface 21 is used to receive the downlink data that host computer sends, and the upstream data in the single-chip microcomputer is sent to described host computer.Single-chip microcomputer 23 is connected with USB interface 21, be used for reading the downlink data of USB interface 21 and the upstream data in 429 bus interface 25, by USB interface 21 described upstream data is sent to described host computer, described downlink data is sent in the air equipment corresponding on 429 buses by 429 bus interface 25.429 bus interface 25 are used to receive the upstream data that 429 buses send, and the upstream data in the described single-chip microcomputer is sent in the air equipment corresponding on described 429 buses.
Wherein USB interface 21 can be divided with single-chip microcomputer 23 and is arranged, and also can be set to integrative-structure, and for example the high speed 8051 kernel single-chip microcomputer C8051F340 of Silicon Laboratories company are a kind of single-chip microcomputers that has USB interface.Single-chip microcomputer 23 carries out exchanges data by USB interface 21 and host computer, downlink data in the host computer can be sent to air equipment corresponding on 429 buses, or upstream data temporary in 429 up data buffers of single-chip microcomputer 23 is sent to host computer.Single-chip microcomputer 23 carries out exchanges data by air equipment corresponding on 429 bus interface 25 and 429 buses, upstream data in the air equipment can be sent in the host computer, or downlink data temporary in the 429 downlink data buffer zones of single-chip microcomputer 23 is sent to air equipment.Particularly can be with reference to the associated description among the data load method embodiment of the present invention.
Single-chip microcomputer is loaded on host computer by USB interface with the upstream data of air equipment in the present embodiment, by 429 bus interface the downlink data of host computer is loaded on air equipment, the data loading device of band USB interface can plug and play, use with easy to carry, the data load that can adapt to multiple host computer and air equipment, compatible height and cost are low.
Fig. 3 is the structural representation of data loading device second embodiment of the present invention, as shown in Figure 3, on the basis of data loading device first embodiment of the present invention, this data loading device also comprises: voltage conversion circuit 27 is used for the voltage transitions that USB interface 21 provides is become the required voltage of 429 bus interface 25.Single-chip microcomputer 23 comprises voltage regulation unit 231, is used for voltage transitions with USB interface 21 and is the required voltage of single-chip microcomputer 23.Further, single-chip microcomputer also comprises: USB control module 232,429 bus control modules 233 and load-on module 234.Wherein, USB control module 232 is used for 23 pairs of USB interface of control single chip computer 21 and carries out initialization, read-write operation and status checking.429 bus control modules 233 are used for 23 pairs 429 buses of control single chip computer and carry out initialization and rate configuration.Load-on module 234 is used to set in advance the transfer rate of described 429 buses, the size of data block of the described downlink data of transmission and the identification number of air equipment, to described 429 bus broadcast command words, send the feedback command word that the match is successful if receive air equipment, then the identification number according to described air equipment sends described data block to described air equipment.
Particularly, this data loading device can use USB interface 21 power supplies fully, and wherein single-chip microcomputer 23 required power supplys can adopt the voltage regulation unit 231 of single-chip microcomputer inside directly to change.Need external ± 15V voltage during 25 work of 429 bus interface, can adopt voltage conversion circuit 27 to change.For example adopt the MAX734 of MAXIM company and MAX765 as the DC-to-dc change-over circuit, with USB interface provide+the 5V voltage transitions is ± 15V voltage, gives 429 bus interface 25 power supplies.
After USB control module 232 is carried out initialization according to usb protocol to USB interface 21, in interruption, handle the usb data bag, if it is USB interface 21 receives the downlink data that host computer sends, that this downlink data is temporary in 429 downlink data buffer zones.233 pairs 429 bus interface of 429 bus control modules 25 are carried out initialization, parameters such as word length, speed are configured, and the data layout that USB interface 21 and 429 bus interface 25 are carried out exchanges data is defined.Can realize functions such as 429 Bus Speed switching controls, data total flow statistics, System self-test by this data layout.234 of load-on modules can be provided with the transfer rate of 429 buses and data loading device synchronously in advance, and the size of data block of transmitting downlink data and the identification number of air equipment be set, to 429 bus broadcast command words, send the feedback command word that the match is successful if receive air equipment, then can send the data block of bearing downlink data to this air equipment according to the identification number of this air equipment.Concrete can be with reference to the associated description in the data load method of the present invention.
During downlink transfer, when the transmission buffer zone of 429 bus interface 25 is sky, 429 bus interface 25 send downlink data handling interrupt signal to single-chip microcomputer 23, single-chip microcomputer 23 writes the downlink data in the 429 downlink data buffer zones in this transmission buffer zone, is sent to then in the air equipment corresponding on 429 buses.During uplink, when 429 bus interface 25 receive the upstream data that sends on 429 buses, produce upstream data handling interrupt signal, notice single-chip microcomputer 23 in time reads upstream data in 429 bus interface 25, and after the operation such as processing that this upstream data packed it is write row buffer on 429.When treating in the USB interface 21 to produce upstream data handling interrupt signal, single-chip microcomputer 23 is sent to host computer by interrupt service routine with the upstream data of row buffer on 429.
The present embodiment data loading device can be powered by USB interface, is 429 bus interface changing voltages by voltage conversion circuit, is the single-chip microcomputer changing voltage by voltage regulation unit; Single-chip microcomputer can be realized exchanges data between air equipment and the host computer by USB control module, 429 bus control modules and load-on module; The data loading device of band USB interface can plug and play, uses with easy to carry, can adapt to the data load of multiple host computer and air equipment, and compatible height and cost are low.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1, a kind of data load method is characterized in that, comprising:
Judge that the data that receive are to receive the downlink data of host computer transmission or receive the upstream data that 429 buses send from 429 bus interface from the general-purpose serial bus USB interface;
If the data that receive are downlink datas, then described downlink data is sent in the air equipment corresponding on described 429 buses by 429 bus interface;
If the data that receive are upstream datas, then described upstream data is sent to described host computer by USB interface.
2, data load method according to claim 1 is characterized in that, described is downlink datas as if the data that receive, and then by 429 bus interface described downlink data is sent in the air equipment corresponding on described 429 buses, comprising:
When described USB interface received the downlink data of host computer transmission, described single-chip microcomputer read described downlink data from described USB interface, and described downlink data is temporary to 429 downlink data buffer zones;
Described single-chip microcomputer is sent to the described downlink data in the described 429 downlink data buffer zones in the air equipment corresponding on 429 buses by 429 bus interface.
3, data load method according to claim 2 is characterized in that, described 429 bus interface are sent to the described downlink data in the described 429 downlink data buffer zones in the air equipment corresponding on 429 buses, comprising:
When the transmission buffer zone of described 429 bus interface was sky, described 429 bus interface sent downlink data handling interrupt signal to described single-chip microcomputer;
After described single-chip microcomputer receives described downlink data handling interrupt signal,, described downlink data is write described transmission buffer zone if having downlink data in the described 429 downlink data buffer zones;
Described downlink data in the described transmission buffer zone is sent in the air equipment corresponding on described 429 buses.
4, data load method according to claim 3 is characterized in that, described described downlink data in the described transmission buffer zone is sent on described 429 buses in the corresponding air equipment, comprising:
Set in advance the transfer rate of described 429 buses, the size of data block of the described downlink data of transmission and the identification number of air equipment;
To described 429 bus broadcast command words, send the feedback command word that the match is successful if receive air equipment, then the identification number according to described air equipment sends described data block to described air equipment.
5, data load method according to claim 1 is characterized in that, described is upstream datas as if the data that receive, and then by USB interface described upstream data is sent to described host computer, comprising:
When described 429 bus interface received the upstream data of 429 buses transmission, described single-chip microcomputer write 429 up data buffers with described upstream data read the upstream data of described 429 buses transmission from described 429 bus interface after;
Described single-chip microcomputer is sent to described host computer by USB interface with the upstream data in described 429 up data buffers.
6, data load method according to claim 5, it is characterized in that, it is described when 429 bus interface receive the upstream data of 429 buses transmission, single-chip microcomputer reads the upstream data of described 429 buses transmission from described 429 bus interface after, described upstream data is write 429 up data buffers, comprising:
When 429 bus interface received the upstream data of 429 buses transmission, described 429 bus interface sent upstream data handling interrupt signal to described single-chip microcomputer;
Described single-chip microcomputer reads described upstream data after receiving described upstream data handling interrupt signal from described 429 bus interface, after described upstream data packing is handled, write described 429 up data buffers.
7, a kind of data loading device is characterized in that, comprising:
The general-purpose serial bus USB interface is used to receive the downlink data that host computer sends, and the upstream data in the single-chip microcomputer is sent to described host computer;
Single-chip microcomputer, be connected with described USB interface, be used for reading the downlink data of USB interface and the upstream data in 429 bus interface, by USB interface described upstream data is sent to described host computer, described downlink data is sent in the air equipment corresponding on 429 buses by 429 bus interface;
429 bus interface are used to receive the upstream data that 429 buses send, and the upstream data in the described single-chip microcomputer is sent in the air equipment corresponding on described 429 buses.
8, data loading device according to claim 7 is characterized in that, also comprises:
Voltage conversion circuit is used for the voltage transitions that described USB interface provides is become the required voltage of described 429 bus interface.
9, according to claim 7 or 8 described data loading devices, it is characterized in that described single-chip microcomputer comprises:
Voltage regulation unit, the voltage transitions that is used for described USB interface is the required voltage of described single-chip microcomputer.
10, according to claim 7 or 8 described data loading devices, it is characterized in that described single-chip microcomputer comprises:
The USB control module is used to control described single-chip microcomputer described USB interface is carried out initialization, read-write operation and status checking;
429 bus control modules are used to control described single-chip microcomputer described 429 buses are carried out initialization and rate configuration;
Load-on module, be used to set in advance the transfer rate of described 429 buses, the size of data block of the described downlink data of transmission and the identification number of air equipment, to described 429 bus broadcast command words, send the feedback command word that the match is successful if receive air equipment, then the identification number according to described air equipment sends described data block to described air equipment.
CN200910082412A 2009-04-15 2009-04-15 Data load method and device Pending CN101533378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910082412A CN101533378A (en) 2009-04-15 2009-04-15 Data load method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910082412A CN101533378A (en) 2009-04-15 2009-04-15 Data load method and device

Publications (1)

Publication Number Publication Date
CN101533378A true CN101533378A (en) 2009-09-16

Family

ID=41103991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910082412A Pending CN101533378A (en) 2009-04-15 2009-04-15 Data load method and device

Country Status (1)

Country Link
CN (1) CN101533378A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361656A (en) * 2014-11-24 2015-02-18 成都中远信电子科技有限公司 Data recorder for aviation
CN107197232A (en) * 2017-06-20 2017-09-22 中航华东光电(上海)有限公司 ARINC818 aviation audio frequency and video bus data analyzers based on USB3.0 interfaces
CN109842575A (en) * 2017-11-27 2019-06-04 中国航空工业集团公司西安航空计算技术研究所 A kind of big tolerance sample circuit of 429 bus receiving nodes

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361656A (en) * 2014-11-24 2015-02-18 成都中远信电子科技有限公司 Data recorder for aviation
CN104361656B (en) * 2014-11-24 2016-10-26 成都中远信电子科技有限公司 A kind of data logger for aviation
CN107197232A (en) * 2017-06-20 2017-09-22 中航华东光电(上海)有限公司 ARINC818 aviation audio frequency and video bus data analyzers based on USB3.0 interfaces
CN109842575A (en) * 2017-11-27 2019-06-04 中国航空工业集团公司西安航空计算技术研究所 A kind of big tolerance sample circuit of 429 bus receiving nodes
CN109842575B (en) * 2017-11-27 2021-08-03 中国航空工业集团公司西安航空计算技术研究所 429 bus receiving node large-tolerance sampling circuit

Similar Documents

Publication Publication Date Title
US20160253280A1 (en) Usb hub and control method of usb hub
CN113391589B (en) Unified access and protocol conversion integrated circuit board for heterogeneous equipment of unmanned aerial vehicle
US10261930B2 (en) System, device and method for transmitting signals between different communication interfaces
US8751069B2 (en) Dynamically reconfigurable electrical interface
US20110022769A1 (en) Translation USB Intermediate Device and Data Rate Apportionment USB Intermediate Device
US7467308B2 (en) Method for transmitting the system command of a computer system
CN103646003A (en) 1553B bus protocol module based on DSP
CN204423250U (en) A kind of X86 embedded type CPU mainboard with multipath high-speed intelligent CAN
CN107391419A (en) Support the universal serial bus hub equipment of more main frames and automobile-used main frame
US20130103861A1 (en) Wake up state synchronization method between docked terminals and docking system using the same
CN101533378A (en) Data load method and device
CN105094687B (en) Solid state disk control circuit and Ssd apparatus access system with solid state disk
CN105549467A (en) Measurement and control device based on 1553B bus
CN102445981B (en) Data transmission system and data transmission method
US8799688B2 (en) Bridge capable of power saving by receiving a signal transmitted from a host through a power pin of a connector
CN205103813U (en) SpaceWire bus node communication module based on PCI interface
EP0130813A1 (en) Automatic write system for peripheral-controller
CN112835754A (en) Portable multi-bus test equipment
CN110345945A (en) A kind of transmission method, device and unmanned plane with reference to destination data
CN213182736U (en) Airborne equipment interface extension module
CN111679995B (en) Embedded management execution unit of space computer based on 1553B bus
Intel
CN101630296A (en) USB attached apparatus and internal data transmission method thereof
US20220092000A1 (en) Data Processing Apparatus Having Multiple Processors and Multiple Interfaces
CN103577359B (en) Support system and the method for managing power supply thereof of dual master control device access interface 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090916