CN103092797B - Discrete magnitude interface synchronization control device, discrete magnitude collection and output control method - Google Patents
Discrete magnitude interface synchronization control device, discrete magnitude collection and output control method Download PDFInfo
- Publication number
- CN103092797B CN103092797B CN201210540398.9A CN201210540398A CN103092797B CN 103092797 B CN103092797 B CN 103092797B CN 201210540398 A CN201210540398 A CN 201210540398A CN 103092797 B CN103092797 B CN 103092797B
- Authority
- CN
- China
- Prior art keywords
- discrete magnitude
- control channel
- interface
- magnitude interface
- control device
- 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
Links
Landscapes
- Communication Control (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
A kind of discrete magnitude interface synchronization control device, comprise one group of control channel, and this control channel has multiple port, this discrete magnitude interface synchronization control device also comprises an access port mapping register in addition, this access port mapping register is control channel corresponding to each discrete magnitude interface configuration and its port according to each discrete magnitude interface preset to the corresponding relation of control channel and port thereof, avoid traditional asynchronous controlling mode to the critical impact of device security, and by simplifying interface operation step, shorten the running time.
Description
[technical field]
The present invention relates to discrete magnitude Interface Control Technology, particularly relate to the discrete magnitude Interface Control Technology of safety/mission critical avionic device.
[background technology]
In avionics system, widely use discrete magnitude interface, the avionic device of difference in functionality may have One's name is legion, discrete magnitude interface that type is different.The difference of discrete magnitude interface type is embodied in the impedance transformation of discrete magnitude signal, signal isolation; The digital interface that these discrete interface adopt software operation microcontroller or microprocessor to connect usually controls.Comprise discrete magnitude input according to controlling party to, discrete magnitude interface to gather and discrete magnitude exports and controls, discrete magnitude input for the collection of sensor or the instruction of equipment state, as shown in Figure 1A; Discrete magnitude exports and is used for the control of actuator or the operational order of characterization device, as shown in Figure 1B.The state of roads even up to a hundred, collection tens tunnel discrete magnitude input such as may be needed for the equipment of aircraft engine parameter acquisition, record; Based on the aircraft (as A380, B787) of comprehensively modularized avionics system framework, the remote input output interface device of areal distribution is used for the information transmission of backbone network on feasible region scope inner sensor, actuator and machine, and its discrete magnitude interface may reach road up to a hundred.
The early stage of carrying out avionic device exploitation is difficult to capture the requirement relevant to discrete magnitude Interface Controller from the demand of upper strata, and deviser also often have ignored the meaning of discrete interface control to security of system, system requirements change or system architecture change may affect the control overflow of discrete magnitude interface in addition, make equipment can not meet requirement of system design well, even affect device security/mission critical.The impact of discrete magnitude Interface Controller on security of system/mission critical simultaneously has very strong disguise, even is all difficult to be found in the whole life cycle of equipment.
Avionic device requires very high safety/mission critical, and the control mode of its discrete magnitude interface can affect its safety/mission critical.
Because demand analysis is imperfect and design is entirely inconsiderate, the control of current aerospace electronic equipment discrete magnitude interface adopts asynchronous controlling mode mostly, this control mode is by the impact of the aspect such as task priority dispatching and break in service, make to there is potential safety hazard, the action of meeting triggering system false-alarm or mistake; There is the risk producing mistake and export in the sequential control that such as discrete magnitude exports, triggers the action not meeting expection and require, affect handling safety; The order of discrete magnitude input obtains and can not ensure the state obtaining one group of associated discrete amount at synchronization, thus the state of mistake during discrete magnitude saltus step, can be gathered, the logic identification causing mistake does the action made mistake, and order operation can increase time delay, affect the performance of equipment executable operations.Specifically can be operating as the routine process on asynchronous controlling mode based on one group of discrete magnitude Interface Controller of certain hypothesis and analyze its impact that may cause system.
First suppose: the state of (1) A, B group discrete magnitude before this operation is vacation; (2) supposing that discrete magnitude input state detects the running time all identical, is Ti, and it is all identical that discrete magnitude exports the control operation time, and be To, the Logic judgment time is ignored; (3) supposition is really 1, and vacation is 0.
Operation requirements:
Equipment Inspection A group (2 tunnels, be respectively I1, I2) the equal true time of discrete magnitude logic state, it is true for exporting B group (three tunnels, are respectively O1, O2, O3) discrete magnitude logic, and on machine, actuator is by selecting two votings to allow aircraft make a certain action to B group discrete magnitude three.
Wherein concrete rate-determining steps as shown in Figure 2, comprises the steps:
Step 1: by the acquisition interface of I1, equipment detects that the logic state of I1 is 1, now the state of [O3..O1] is 000;
Step 2: by the acquisition interface of I2, equipment detects that the logic state of I2 is 1, now the state of [O3..O1] is 000;
Step 3: equipment judges that the logic state of [I2..I1] is 11, and now the state of [O3..O1] is 000;
Step 4: the control output that equipment arranges O1 by the control interface of O1 is 1, and the state of [O3..O1] is 001;
Step 5: the control output that equipment arranges O2 by the control interface of O2 is 1, and now the state of [O3..O1] is 011;
Step 6: the control output that equipment arranges O3 by the control interface of O3 is 1, and now the state of [O3..O1] is 111.
In aforesaid operations step (being S1, S2, S3, S4, S5, the S6 shown in Fig. 3 A) continuous print situation, the change of logic control state [O3..O1] can as shown in Figure 3A; Logic control state i.e. [O3..O1]=001 and 011 of operation steps 4 (i.e. S4), step 5 (i.e. S5) meeting output error.Although two the error condition retention time is very short and 011 state actuator can identify consistent with dbjective state, if make 001 state retention time longer because of certain reason, and by the actuator meeting of detecting and then produce false-alarm or do the action made mistake.The reason that the state that affects keeps has multiple, such as, occur higher priority task preemption resource, break in service etc., and especially occur when frequent interface operation that system exception causes crashing or restarting, these just should cause serious consequence to system.Fig. 3 B is that example error-logic state continues longer a kind of situation, wherein 001 error condition retention time T
s4high-priority task can be kept consistent with the working time of interrupt service routine.
In addition, when adopting asynchronous controlling mode to carry out exemplary operations, need to carry out twice discrete magnitude input acquisition operations to I1 and I2, and three discrete magnitudes output control operations are carried out to O1, O2 and O3, its running time T=2Ti+3To.
In addition, logic control method demand fulfillment system upgrade or changes in demand are to the requirement of its flexible configuration.Although the change of hardware circuit or the laying again of the interconnected cable of airborne equipment this requirement can be met, very large workload, cost and risk can be brought.
Therefore for meeting the requirement of various system application, avionic device discrete magnitude Interface Control Technology wants flexible, reliable, and meets the requirement of real-time.
[summary of the invention]
The object of the present invention is to provide a kind of discrete magnitude interface synchronization control device, discrete magnitude collection and output control method, to solve existing asynchronous controlling mode to the critical impact of device security, and the problem that interface operation step is complicated, the running time is longer.
For achieving the above object, implement discrete magnitude interface synchronization control device of the present invention and comprise one group of control channel, and each control channel has multiple ports of equal number or not equal number, this discrete magnitude interface synchronization control device also comprises an access port mapping register, access port allocation list and multiple discrete magnitude interface in addition, and this access port mapping register is that each discrete magnitude interface configures corresponding control channel and its port one by one according to each discrete magnitude interface preset in access port allocation list to the corresponding relation of control channel and port thereof.
For achieving the above object, utilize above-mentioned discrete magnitude interface synchronization control device to carry out the method for discrete magnitude collection, wherein the method is the information of control channel and the port synchronous acquisition discrete magnitude interface input thereof configured by the access port mapping register of discrete magnitude interface synchronization control device.
For achieving the above object, utilize above-mentioned discrete magnitude interface synchronization control device to carry out discrete magnitude and export the method controlled, wherein the method is that the control channel that configured by the access port mapping register of discrete magnitude interface synchronization control device and port thereof are synchronously carried out discrete magnitude and export control operation.
According to above-mentioned principal character, each discrete magnitude interface preset according to the requirement of system configuration management, can change passage mapping relations when certain control channel fault in real time to the corresponding relation of control channel and port thereof.
According to above-mentioned principal character, discrete magnitude interface synchronization control device is realized by a programmable logic device (PLD).
According to above-mentioned principal character, above-mentioned discrete magnitude interface has 64 tunnels, control channel has 4, and this control channel is 16 bit wides, access port allocation list has 6 bit data to be that discrete magnitude interface indicates corresponding passage and port, wherein 4 control channels require that the passage configuration bit of discrete magnitude interface is 2, and 16 bit widths of control channel require that the port arrangement position of discrete magnitude interface is 4.
Compared with prior art, the present invention proposes according to requirement of system design, by the form of allocation list, the passage and the port mapping relationship that carry out each road discrete magnitude interface are configured, avoid traditional asynchronous controlling mode to the critical impact of device security, and by simplifying interface operation step, shorten the running time.
[accompanying drawing explanation]
Figure 1A is the schematic diagram that discrete magnitude input gathers.
Figure 1B is that discrete magnitude exports the schematic diagram controlled.
Fig. 2 is the rate-determining steps schematic diagram of existing discrete magnitude interface asynchronous control mode.
Fig. 3 A and Fig. 3 B is the logic control view of the discrete magnitude interface asynchronous control mode shown in Fig. 2.
Fig. 3 C is the logic control view implementing discrete magnitude interface synchronization control method of the present invention.
Fig. 4 is the rate-determining steps schematic diagram of the specific embodiment implementing discrete magnitude interface synchronization control method of the present invention.
Fig. 5 implements the system framework figure of discrete magnitude interface synchronization control device of the present invention.
Fig. 6 is the access port allocation list in the embodiment shown in Fig. 5.
[embodiment]
Refer to shown in Fig. 4, for implementing the rate-determining steps schematic diagram of a specific embodiment of the present invention, wherein hypothesis and the operation requirements of this embodiment all as shown in Figure 2 the same, its concrete rate-determining steps comprises:
Step 1: by the acquisition interface of I1 and I2, equipment detects that the logic state of [I2..I1] is 11, now the state of [O3..O1] is 000, as shown in the S1 in Fig. 3 C;
Step 2: equipment judges that the logic state of [I2..I1] is 11, and now the state of [O3..O1] is 000, as shown in the S2 in Fig. 3 C;
Step 3: the control output that equipment arranges [O3..O1] by the control interface of [O3..O1] is effective, and the state of [O3..O1] is 111, as shown in the S3 in Fig. 3 C.
As shown in Figure 3 C, when adopting synchronous control mode, logic control state [O3..O1] meeting synchronized update in each step (as illustrated in the drawing S1, S2 and S3), avoid the Wrong control state 001 and 011 in asynchronous controlling mode, avoid the possibility of initiating system safety/task key sex chromosome mosaicism so well.
In addition, when adopting synchronous control mode to carry out exemplary operations, only need gather [I2..I1] respectively by two step operations and control [O3..O1], its running time T=Ti+To, compare the mistiming that asynchronous controlling mode shortens Microsecond grade (the project equipment single-step operation duration is 0.5uS): Δ T=Ti+2To, this mistiming gathers discrete magnitude input with needing order due to asynchronous controlling mode and discrete magnitude exports control introducing; Adopt synchronous control mode can shorten the interface operation time; Particularly fly ginseng collecting device and remote input output unit for what there is a large amount of discrete magnitude interface, cause interface One's name is legion, periodically gathering these Interface status obviously can increase task time, such as remote input output unit needs to realize various discrete signal, forwarding between low speed bus data and core network data, and the frequency of its signals collecting and forwarding delay are the important indicators weighing these equipment, the application of mission critical even can be had influence on.Meanwhile, synchronous control mode obviously can shorten the interface operation time.
Above-mentioned discrete magnitude interface synchronization control method is realized by discrete magnitude interface synchronization control device as shown in Figure 5, this discrete magnitude interface synchronization control device comprises one group of control channel, and this control channel has multiple port, this discrete magnitude interface synchronization control device also comprises an access port mapping register in addition, each discrete magnitude interface can be configured by access port mapping register according to application demand to the corresponding relation of control channel and port thereof, these configuration informations can be loaded in equipment with the form of allocation list or file (as shown in Figure 6) according to requirement of system design, the passage of discrete magnitude interface, the configuration of port are relevant to the bit wide of overall channel number and control interface.In the specific implementation, the discrete magnitude interface synchronization control device shown in Fig. 5 realizes by a programmable logic device (PLD).Meanwhile, in the specific implementation, according to the requirement of system configuration management, passage mapping relations can be changed in real time when certain channel failure.
Represented by Fig. 5, Shi Wei 64 road discrete magnitude interface is to the example of 4 16 bit wide control channels.Fig. 6 is the access port allocation list in the embodiment shown in Fig. 5, supports the synchronous control mode of [O3..O1] shown in Fig. 5.
In Fig. 5,4 control channels require that the passage configuration bit of discrete magnitude interface is 2; 16 bit widths of control channel require that the port arrangement position of discrete magnitude interface is 4, and namely access port allocation list needs 6 bit data to be that discrete magnitude interface indicates corresponding passage and port altogether.
As mentioned above, when carrying out discrete magnitude and gathering, the information of the control channel that the access port mapping register by above-mentioned discrete magnitude interface synchronization control device configures and the input of port synchronous acquisition discrete magnitude interface thereof.And when carrying out discrete magnitude output control, the control channel that the access port mapping register by discrete magnitude interface synchronization control device configures and port thereof synchronously carry out discrete magnitude and export control operation.So, do not need to gather discrete magnitude input and discrete magnitude output control with needing order with existing asynchronous controlling mode, adopt this synchronous control mode can shorten the interface operation time, be specially adapted to fly ginseng collecting device and remote input output unit for what there is a large amount of discrete magnitude interface.
From the above mentioned known the present invention adopt a kind of can the synchronous control mode of flexible configuration, according to requirement of system design, by the form of allocation list, the passage and the port mapping relationship that carry out each road discrete magnitude interface are configured, avoid traditional asynchronous controlling mode to the critical impact of device security, and by simplifying interface operation step, shorten the running time, the performance of the equipment that improves in mission critical.And above-mentioned discrete magnitude interface synchronization control mode can realize in the programmable logic device, the optimization that discrete magnitude exports control mode can be realized, digital interface can be solved well and control impact on avionic device safety/mission critical, and the firmware of flexible configuration FPGA (Field Programmable Gate Array) or software can eliminate system requirements and change the impact brought; And firmware or software can be configured easily and manage, greatly reduce the cost that asynchronous controlling mode is brought; And the state minimizing discrete magnitude input interface obtains time delay.
Be understandable that, for those of ordinary skills, can be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, and all these change or replace the protection domain that all should belong to the claim appended by the present invention.
Claims (10)
1. a discrete magnitude interface synchronization control device, it is characterized in that this discrete magnitude interface synchronization control device comprises one group of control channel, and each control channel has multiple ports of equal number or not equal number, this discrete magnitude interface synchronization control device also comprises an access port mapping register in addition, access port allocation list and multiple discrete magnitude interface, this access port mapping register is that each discrete magnitude interface configures corresponding control channel and its port one by one according to each discrete magnitude interface preset in access port allocation list to the corresponding relation of control channel and port thereof.
2. discrete magnitude interface synchronization control device as claimed in claim 1, it is characterized in that: each discrete magnitude interface preset according to the requirement of system configuration management, can change passage mapping relations when certain control channel fault in real time to the corresponding relation of control channel and port thereof.
3. discrete magnitude interface synchronization control device as claimed in claim 1, is characterized in that: discrete magnitude interface synchronization control device is realized by a programmable logic device (PLD).
4. discrete magnitude interface synchronization control device as claimed in claim 1, it is characterized in that: above-mentioned discrete magnitude interface has 64 tunnels, control channel has 4, and this control channel is 16 bit wides, access port allocation list has 6 bit data to be that discrete magnitude interface indicates corresponding passage and port, wherein 4 control channels require that the passage configuration bit of discrete magnitude interface is 2, and 16 bit widths of control channel require that the port arrangement position of discrete magnitude interface is 4.
5. utilize the discrete magnitude interface synchronization control device described in claim 1 to carry out a method for discrete magnitude collection, it is characterized in that: the information of the control channel that the method is configured by the access port mapping register of discrete magnitude interface synchronization control device and the input of port synchronous acquisition discrete magnitude interface thereof.
6. method as claimed in claim 5, is characterized in that: each discrete magnitude interface preset according to the requirement of system configuration management, can change passage mapping relations when certain control channel fault in real time to the corresponding relation of control channel and port thereof.
7. method as claimed in claim 5, is characterized in that: the method is realized by a programmable logic device (PLD).
8. utilize the discrete magnitude interface synchronization control device described in claim 1 to carry out discrete magnitude and export the method controlled, it is characterized in that: the control channel that the method is configured by the access port mapping register of discrete magnitude interface synchronization control device and port thereof synchronously carry out discrete magnitude and export control operation.
9. method as claimed in claim 8, is characterized in that: each discrete magnitude interface preset according to the requirement of system configuration management, can change passage mapping relations when certain control channel fault in real time to the corresponding relation of control channel and port thereof.
10. method as claimed in claim 8, is characterized in that: the method is realized by a programmable logic device (PLD).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210540398.9A CN103092797B (en) | 2012-12-13 | 2012-12-13 | Discrete magnitude interface synchronization control device, discrete magnitude collection and output control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210540398.9A CN103092797B (en) | 2012-12-13 | 2012-12-13 | Discrete magnitude interface synchronization control device, discrete magnitude collection and output control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103092797A CN103092797A (en) | 2013-05-08 |
CN103092797B true CN103092797B (en) | 2016-02-03 |
Family
ID=48205387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210540398.9A Active CN103092797B (en) | 2012-12-13 | 2012-12-13 | Discrete magnitude interface synchronization control device, discrete magnitude collection and output control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103092797B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110018847B (en) * | 2018-01-10 | 2021-01-12 | 北京思朗科技有限责任公司 | Configurable register and data access method based on same |
CN108387838A (en) * | 2018-03-07 | 2018-08-10 | 天津芯海创科技有限公司 | The method of chip detecting method, device, chip and design chips |
CN109143959A (en) * | 2018-09-11 | 2019-01-04 | 陕西千山航空电子有限责任公司 | A kind of highly reliable anti-interference discrete magnitude output control circuit |
CN111857088B (en) * | 2019-04-30 | 2022-06-17 | 上海微电子装备(集团)股份有限公司 | Fault diagnosis system of synchronous drive equipment and diagnosis method thereof |
CN111176227B (en) * | 2019-12-06 | 2021-09-28 | 南京国电南自维美德自动化有限公司 | System and method for realizing synchronous triggering of control task and input/output data |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5379382A (en) * | 1991-04-22 | 1995-01-03 | Pilkington Micro-Electronics Limited | Uni and bi-directional signal transfer modes in peripheral controller and method of operating same |
CN1382277A (en) * | 1999-08-30 | 2002-11-27 | 英特尔公司 | Input/output (I/O) address translation in bridge proximate to local (I/O) bus |
CN101882126A (en) * | 2010-07-13 | 2010-11-10 | 中国科学院计算技术研究所 | Device and method for bridging multiple HT (Hyper Transport) buses to single PCIe (Peripheral Component Interface Express) bus |
CN202502407U (en) * | 2012-01-05 | 2012-10-24 | 中国商用飞机有限责任公司 | Avionics equipment testing device |
-
2012
- 2012-12-13 CN CN201210540398.9A patent/CN103092797B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5379382A (en) * | 1991-04-22 | 1995-01-03 | Pilkington Micro-Electronics Limited | Uni and bi-directional signal transfer modes in peripheral controller and method of operating same |
CN1382277A (en) * | 1999-08-30 | 2002-11-27 | 英特尔公司 | Input/output (I/O) address translation in bridge proximate to local (I/O) bus |
CN101882126A (en) * | 2010-07-13 | 2010-11-10 | 中国科学院计算技术研究所 | Device and method for bridging multiple HT (Hyper Transport) buses to single PCIe (Peripheral Component Interface Express) bus |
CN202502407U (en) * | 2012-01-05 | 2012-10-24 | 中国商用飞机有限责任公司 | Avionics equipment testing device |
Non-Patent Citations (2)
Title |
---|
数字化检验在飞机综合航电系统中的应用;孙国兴等;《飞机设计》;20120430;全文 * |
飞机接口组件仿真器设计;喻玉华;《洪都科技》;20061231;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103092797A (en) | 2013-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103092797B (en) | Discrete magnitude interface synchronization control device, discrete magnitude collection and output control method | |
US8996754B2 (en) | Integrated counters in an input module for an industrial controller | |
CN105357077B (en) | The serial data processing unit and method of more equipment | |
CN104506376B (en) | A kind of multi-channel redundant formula CAN test system with frame starting sensitive control Trigger Function | |
CN103685980B (en) | Video signal backup method and system and video signal transmission method and system | |
CN109936420B (en) | Method and apparatus for synchronizing data collected by multiple sensors | |
CN102521087B (en) | Method for remotely obtaining real-time graded debugging information of kernel module | |
CN108958225B (en) | Nuclear power plant safety level DCS platform integration testing device | |
CN107247650B (en) | A kind of servo drive system long-range monitoring method | |
CN103792419A (en) | Synchronous sampling method achieving hybrid access of analog quantity and digital quantity | |
CN103616888B (en) | Function test board for traction control unit of internal combustion locomotive | |
CN105468811A (en) | Fight parameter system automation testing method | |
CN104298623B (en) | Electronic installation, operating system and access control method | |
CN107908129A (en) | DSP and the control method of FPGA/CPLD multidimensional interconnection | |
CN102981096B (en) | A kind of data grid fault identification method of decomposing based on WAMS sequential | |
CN107014432B (en) | A kind of analog signal monitoring system and method | |
CN106352911B (en) | Realize that the single of multichannel low frequency pick-up signal acquisition interrupts CPU verification systems and calibrating acquisition method | |
CN203117618U (en) | Faceplate inner circuit system with electrostatic protection function | |
CN107069683A (en) | A kind of method and apparatus of influence of the elimination compensator to circuit distance protection | |
CN102281105A (en) | Method and device for detecting optical fiber state | |
CN104283197A (en) | Relay protection system | |
CN103413012B (en) | Based on synchronisation control means and the device of electric system and communication system combined simulation | |
CN105425776A (en) | Subway-signal-system vehicle-mounted equipment switching value input channel fault self-inspection system | |
CN105373115A (en) | Configuration management-based exciter and exciter interface test method | |
CN109026399A (en) | The real time multi-channel synchrodata processing method and system of Fuel On Board system |
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 |