CN103092106B - Remote intelligent interface unit and control method - Google Patents

Remote intelligent interface unit and control method Download PDF

Info

Publication number
CN103092106B
CN103092106B CN201210571411.7A CN201210571411A CN103092106B CN 103092106 B CN103092106 B CN 103092106B CN 201210571411 A CN201210571411 A CN 201210571411A CN 103092106 B CN103092106 B CN 103092106B
Authority
CN
China
Prior art keywords
interface
task
data
remote intelligent
message
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
CN201210571411.7A
Other languages
Chinese (zh)
Other versions
CN103092106A (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.)
AVIC No 631 Research Institute
Original Assignee
AVIC No 631 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 AVIC No 631 Research Institute filed Critical AVIC No 631 Research Institute
Priority to CN201210571411.7A priority Critical patent/CN103092106B/en
Publication of CN103092106A publication Critical patent/CN103092106A/en
Application granted granted Critical
Publication of CN103092106B publication Critical patent/CN103092106B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a remote intelligent interface unit and a control method. The problems that transmission of an existing sensor interface is in mutual interference, and signals of the sensor interface and signals of an effector interface are in mutual interference are mainly solved. The remote intelligent interface unit comprises an Avionics Full Duplex Switched Ethernet (AFDX) network interface which is connected with an integrated core processor, and the AFDX network interface is connected with an internal bus through a dual-port random access memory (DPRAM). The remote intelligent interface unit further comprises a storer, a control logic device, a power inverter and an external interface which are respectively connected with the internal bus. The storer is connected with the internal bus through a PPC 8245. The remote intelligent interface unit can achieve nearby collection, timely converting and distribution control of interface data, and enable a system to be expanded and updated conveniently.

Description

A kind of remote intelligent interface unit and control method
Technical field
Technical field belongs to embedded computer system designing technique.
Background technology
Along with the various interface complexity of airborne embedded system improve constantly, interface signal transfer distance increase and applied environment become more come about severe, occur that sensor interface transmission interferes with each other problem and interferes with each other problem between sensor interface signal and effector interface signal, these problems have had a strong impact on the quality of signals collecting, and then have influence on the safety of system.
Summary of the invention
The invention provides a kind of remote intelligent interface unit and control method, mainly solve existing sensor interface and transmit the problem interfered with each other interfered with each other and between sensor interface signal and effector interface signal.
Concrete technical solution provided by the invention is as follows:
This remote intelligent interface unit comprises the AFDX network interface be connected with comprehensive core processor, AFDX network interface is connected with internal bus by DPRAM, also comprises storer, steering logic device and the power supply changeover device and external interface that are connected with internal bus respectively; Described storer is connected with internal bus by PPC8245.
Above-mentioned external interface comprises ARINC429 interface, RS422 interface, discrete magnitude interface and the debugging interface for being connected with commissioning device for being connected with passenger cabin MFD and control panel.
This remote intelligent control method, comprises the following steps:
1] set up and complete initiating task
1.1] according to the initial setting up of application allocation list, the original state of output interface is set;
1.2] according to the information initializing interface data structure of application allocation list;
1.3] synchronous required various synchronizing signal amounts between creation task;
1.4] create periodic duty house dog, when report cycle arrives, release reports semaphore, and activation data reports task, and enters step 2 and process;
1.5] activation cycle sampling task, and enter step 3 and process;
1.6], after step 1.1 has worked to 1.5, initiating task has been cancelled;
2] after step 1.4 is activated by initiating task, carry out data and report task process; When described activation specifically refers to that report cycle arrives or reports order to arrive, this task is activated;
3] after step 1.5 is activated by initiating task, according to the frequency characteristic of the signal of user's input, determine the sampling period, according to this sampling period, signal is sampled, and upgrade the sampled value stored.
Above-mentioned steps 2 data report the object of task process to comprise analog input, discrete magnitude input and data communication input, and according to the difference of signal attribute, take different processing policies, it specifically; Analog quantity data report be by periodic sampling task obtain latest data report; Discrete magnitude reports and is instant sample variance amount state and reports; It is that communication data interface adopts interrupt mode receive data at any time and put it in reception data buffer that communication data reports, and reports during mission-enabling and the data in buffer zone are reported system; After above-mentioned work completes, suspension data reports task.
When in above-mentioned steps 1 to 3, any interface interrupt produces, enter step 4] interrupt processing, it is specifically: 4.1] interface being set to interrupt working manner is managed, when this interface interrupt produces, interrupt handler software obtains this interface data, after the data structure packaging of regulation, activate bus and send task transmission data;
4.2] serial data stream is processed, when serial data stream device interrupt produces, interrupt handling routine receives data, and by data temporary storage in the buffer, when report cycle arrival or when reporting order to arrive, data report task to extract data from buffer zone and report;
4.3] periodic sampling timing is managed.
Above-mentioned steps 4.2 serial data stream device interrupt specifically RS422 or RS429 is interrupted.
The periodic sampling of above-mentioned steps 4.3 specifically comprises bus task, message handling task and Interface Controller task, its specifically:
4.3.1] bus receives initiating task activation of leaving, and its testbus message activates message handling task;
4.3.2] when bus reception task detects bus message, activate message handling task, message handling task is resolved message, message is put in corresponding interface buffer, the new data semaphore of relevant device is set, and activation interface control task carries out interface output control.
4.3.3] Interface Controller task is activated by message handling task, and this task obtains the new data semaphore of interface, and extracts message from the message buffer of corresponding interface, controls the corresponding interface according to message content.
The invention has the advantages that:
This remote intelligent interface unit can realize that interface data gathers, conversion and the function of distributed controll in time nearby, makes system carry out expansions and upgrade in aspect very much.Specifically, remote intelligent interface unit carries out overall treatment again exporting to core processor by AFDX network after the Signal Pretreatment gathered nearby, various like this analog interface signal, discrete interface signal and sensor small-signal change into data-signal transmission from interference, also reduce power stage interface simultaneously and bring pressure to system EMC, improve system reliability; In addition remote intelligent interface unit have low in energy consumption, volume is little, lightweight feature can natural heat dissipation mode Remote Installation by sensor and the closer position of actuator, alleviate the weight of cable like this, improve system maintenance maintainability.
Accompanying drawing explanation
Fig. 1 is remote intelligent interface unit theory diagram;
Fig. 2 is long-distance intelligent interface control method FB(flow block).
Embodiment
As shown in Figure 1, it realizes passenger cabin man-machine interface and keyboard operation process thereof to remote intelligent interface unit inner structure, gathers discrete magnitude, I/O interface data that the equipment such as HOCAS, AAP export, row relax of going forward side by side.Signal type comprises RS422 interface, ARINC429 interface, and 27V/ ground, 27V pulse, 27V/ open circuit ,/open discrete magnitude signal.Pass to core processor by AFDX network after the signal gathered carries out pre-service and carry out overall treatment, core processing control output signal is passed to remote intelligent interface unit by AFDX network and is carried out control driver output.
Long-distance intelligent interface software control method is described below:
Initiating task: this task mainly completes following several work:
(1) according to the original state of the initial setting up output interface of application allocation list.
(2) according to the information initializing interface data structure of application allocation list.
(3) synchronous required various synchronizing signal amounts between creation task.
(4) create periodic duty house dog, when report cycle arrives, release reports semaphore, activates and reports task.
(5) activation cycle sampling task, determine the sampling period according to analog signals characteristic.
(6), after above-mentioned work completes, this task is cancelled.
Periodic sampling task: this task is activated by initiating task, according to the frequency characteristic of the signal of user's input, determines the sampling period, samples according to this sampling period to signal, and upgrade the sampled value stored.
Data report task: when report cycle arrive or when reporting order to arrive, this task is activated.Data report task handling object to comprise analog input, and discrete magnitude input and data communication input, according to the difference of signal attribute, take different processing policies.
Analog quantity data report: reported by the latest data that periodic sampling task obtains.
Discrete magnitude reports: instant sample variance amount state also reports.
Communication data reports: communication data interface adopts interrupt mode receive data at any time and put it in reception data buffer, reports during mission-enabling and the data in buffer zone are reported system.
After above-mentioned work completes, hang up this task.
Should pack according to the data structure of regulation before should noting all data reporting systems, then call bus communication software and be sent to bus interface.
Interrupt processing function:
(1) manage the interface being set to interrupt working manner, when this interface interrupt produces, interrupt handler software obtains this interface data, after the data structure packaging of regulation, activates bus and sends task transmission data.
(2) serial data stream is processed, when serial data flow device is (as RS422, RS429 etc.) interrupt produce time, interrupt handling routine receives data, and by data temporary storage in the buffer, when report cycle arrival or when reporting order to arrive, data report task to extract data from buffer zone and report.
(3) periodic sampling timing is managed.
Bus receives task: this task is activated by initiating task, its testbus message, activates message handling task.
Message handling task: when bus reception task detects bus message, activate message handling task.This task is resolved message, message is put in corresponding interface buffer, arranges the new data semaphore of relevant device, and activation interface control task carries out interface output control.
Interface Controller task: Interface Controller task is activated by message handling task, this task obtains the new data semaphore of interface, and extracts message from the message buffer of corresponding interface, controls the corresponding interface according to message content.

Claims (6)

1. a remote intelligent control method, is characterized in that, comprises the following steps:
1] set up and complete initiating task
1.1] according to the initial setting up of application allocation list, the original state of output interface is set;
1.2] according to the information initializing interface data structure of application allocation list;
1.3] synchronous required various synchronizing signal amounts between creation task;
1.4] create periodic duty house dog, when report cycle arrives, release reports semaphore, and activation data reports task, and enters step 2 and process;
1.5] activation cycle sampling task, and enter step 3 and process;
1.6], after step 1.1 has worked to 1.5, initiating task has been cancelled;
2] after step 1.4 is activated by initiating task, carry out data and report task process; When described activation specifically refers to that report cycle arrives or reports order to arrive, this task is activated;
3] after step 1.5 is activated by initiating task, according to the frequency characteristic of the signal of user's input, determine the sampling period, according to this sampling period, signal is sampled, and upgrade the sampled value stored;
The method adopts remote intelligent interface unit to carry out, described remote intelligent interface unit comprises the AFDX network interface be connected with comprehensive core processor, AFDX network interface is connected with internal bus by DPRAM, also comprises storer, steering logic device and the power supply changeover device and external interface that are connected with internal bus respectively; Described storer is connected with internal bus by PPC8245.
2. remote intelligent control method according to claim 1, is characterized in that: described external interface comprises ARINC 429 interface, RS422 interface, discrete magnitude interface and the debugging interface for being connected with commissioning device for being connected with passenger cabin MFD and control panel.
3. remote intelligent control method according to claim 2, it is characterized in that: described step 2 data report the object of task process to comprise analog input, discrete magnitude input and data communication input, according to the difference of signal attribute, take different processing policies, it specifically; Analog quantity data report be by periodic sampling task obtain latest data report; Discrete magnitude reports and is instant sample variance amount state and reports; It is that communication data interface adopts interrupt mode receive data at any time and put it in reception data buffer that communication data reports, and reports during mission-enabling and the data in buffer zone are reported system; After above-mentioned work completes, suspension data reports task.
4. remote intelligent control method according to claim 3, it is characterized in that: when in described step 1 to 3, any interface interrupt produces, enter step 4] interrupt processing, it is specifically: 4.1] interface being set to interrupt working manner is managed, when this interface interrupt produces, interrupt handler software obtains this interface data, after the data structure packaging of regulation, activates bus and sends task transmission data;
4.2] serial data stream is processed, when serial data stream device interrupt produces, interrupt handling routine receives data, and by data temporary storage in the buffer, when report cycle arrival or when reporting order to arrive, data report task to extract data from buffer zone and report;
4.3] periodic sampling timing is managed.
5. remote intelligent control method according to claim 4, is characterized in that: described step 4.2 serial data stream device interrupt specifically RS422 or RS429 is interrupted.
6. remote intelligent control method according to claim 5, is characterized in that: the periodic sampling of described step 4.3 specifically comprises bus task, message handling task and Interface Controller task, its specifically:
4.3.1] bus receives initiating task activation of leaving, and its testbus message activates message handling task;
4.3.2] when bus reception task detects bus message, activate message handling task, message handling task is resolved message, message is put in corresponding interface buffer, the new data semaphore of relevant device is set, and activation interface control task carries out interface output control;
4.3.3] Interface Controller task is activated by message handling task, and this task obtains the new data semaphore of interface, and extracts message from the message buffer of corresponding interface, controls the corresponding interface according to message content.
CN201210571411.7A 2012-12-25 2012-12-25 Remote intelligent interface unit and control method Active CN103092106B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210571411.7A CN103092106B (en) 2012-12-25 2012-12-25 Remote intelligent interface unit and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210571411.7A CN103092106B (en) 2012-12-25 2012-12-25 Remote intelligent interface unit and control method

Publications (2)

Publication Number Publication Date
CN103092106A CN103092106A (en) 2013-05-08
CN103092106B true CN103092106B (en) 2015-05-13

Family

ID=48204812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210571411.7A Active CN103092106B (en) 2012-12-25 2012-12-25 Remote intelligent interface unit and control method

Country Status (1)

Country Link
CN (1) CN103092106B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9497025B2 (en) * 2014-09-20 2016-11-15 Innovasic Inc. Ethernet interface module
CN105573961B (en) * 2015-12-10 2019-04-05 中国航空工业集团公司西安航空计算技术研究所 Comprehensive core processor system distributed multi-processor recognition methods
CN105550382B (en) * 2015-12-12 2019-03-05 中国航空工业集团公司西安航空计算技术研究所 A kind of AFDX data sampling recording equipment and method
DE102017210440B4 (en) * 2017-06-21 2019-07-11 Schmidhauser Ag Electric motor and a system with such an electric motor and a control device for driving the electric motor
CN109246081A (en) * 2018-08-07 2019-01-18 中国航空无线电电子研究所 Aerial Electronic Equipment AFDX bus and A429, RS422 bus data conversion method
CN109255889B (en) * 2018-09-20 2021-02-23 广州咖宇智能科技有限公司 Configuration method and device of beverage vending machine product manufacturing control system
CN109743241A (en) * 2018-12-26 2019-05-10 中国民航大学 A kind of long-range aeronautical data bus switch equipment based on high-performance processor
CN113050479B (en) * 2021-03-04 2024-04-09 中国航空工业集团公司西安航空计算技术研究所 Method for switching working modes of universal remote interface unit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419725A (en) * 2010-07-28 2012-04-18 空中客车运营简化股份公司 Method for testing input/output interface of integrated modular avionic type computing module in aircraft and device thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419725A (en) * 2010-07-28 2012-04-18 空中客车运营简化股份公司 Method for testing input/output interface of integrated modular avionic type computing module in aircraft and device thereof

Also Published As

Publication number Publication date
CN103092106A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103092106B (en) Remote intelligent interface unit and control method
CN102913278B (en) Modularization-based universal intelligent coal mine underground belt transport monitoring and controlling system
CN103522290B (en) Fieldbus Based distributed robot's control system
CN103970102A (en) Airport apron resource intelligent management and control system for airport
CN104834260A (en) Double-channel CAN bus controller based on frequency conversion control and double-CAN arbitration method
CN103399914B (en) Phasor data based on intelligent telecontrol processes system
CN106789511A (en) Train based on FPGA CAN communication switching control method and modular converter
CN103885821B (en) SCADA pre-procesors and its Multi-channel multi-line journey real-time scheduling method
CN205038478U (en) IP kernel takes place to use for wave form based on UART interface
CN103984290A (en) CANopen-based CNC mechanical arm control system and method thereof
CN109991905A (en) A kind of integrated small hydropower station automatic control system
CN201654555U (en) Intelligent node module system applied to industrial valve control
CN202661846U (en) Underground gas consumption monitoring equipment based on sensor network
CN203430524U (en) Double-network shield tunneling machine control system
CN204102323U (en) Based on the urban transportation intelligent emergent system of Internet of Things and computing machine
CN206296911U (en) A kind of bus intelligent servo drive system and robot
CN204836207U (en) Register is synthesized to 1394B bus interface protection type
CN204667169U (en) A kind of Chemical Manufacture control system
CN201421628Y (en) Door access controller
CN204408370U (en) A kind of CAN network monitor diagnostic system
CN104122869A (en) Integrated external connection optimization control system and method
CN202018594U (en) Viscose staple-fiber production-process control system
CN205015457U (en) Servo motor drives testing arrangement
Sun et al. Application of CAN in lifting and sliding mechanical parking garage
CN202084995U (en) Intelligent transformer station auxiliary facility integrated access device based on distributed network

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