Normalization interface circuit and method for ground / open discrete quantity output or input

By designing a ground/open discrete output or input normalized interface circuit for aircraft onboard systems, the interface multiplexing and high-reliability output input is achieved using current conversion and comparison units, the problem of traditional interfaces being unable to be reused is solved. , improves interface versatility and security, simplifies design and reduces maintenance costs.

CN115903579BActive Publication Date: 2024-11-19XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211319786.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-26
Publication Date
2024-11-19
Estimated Expiration
2042-10-26

AI Technical Summary

Technical Problem

The traditional ground/open discrete output interface and input interface are independent of functions in the aircraft on-board system, resulting in product reusability, poor versatility, low interface utilization, and high maintenance costs, which cannot meet the remote interface units of the new generation of aircraft or Adaptive, isomorphic and multiplexed reconstruction requirements for electromechanical management computer interfaces.

Method used

Design a normalized interface circuit for ground/open discrete output or input, including a multi-channel comparison unit, D/A conversion unit, current conversion unit, power switch tube and controller, through current conversion, comparison and drive unit It realizes interface multiplexing and highly reliable output input, adopts an inverse time-limited current protection method based on current energy accumulation, simplifies software and hardware design, and provides tripping self-test and output protection mechanisms.

Benefits of technology

It realizes interface multiplexing and highly reliable output input, improves interface security and versatility, has fast response and high reliability, simplifies design complexity, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115903579B_ABST
    Figure CN115903579B_ABST
Patent Text Reader

Abstract

The normalized interface circuit and method of ground / open discrete quantity output or input of the present invention relate to the technical field of airborne computer interface. It includes multiple channels, each channel includes a comparison unit, a D / A conversion unit, a current conversion unit, two pairs of mutually exclusive power switch tubes Q1, power switch tube Q4 and power switch tube Q2, power switch tube Q3 with conduction control logic, a controller and a ground / open discrete quantity input unit and a drive unit, and the drive unit includes a first drive unit, a second drive unit, a third drive unit and a fourth drive unit. The method includes configuring as a ground / open discrete quantity output interface or a ground / open discrete quantity input interface. Comprehensive application of the normalized interface and method described in the present invention can reduce the types of interfaces inside the remote interface unit or the electromechanical management computer, improve the versatility and interface utilization of the product, and realize the reuse, reconstruction and high-reliability output and input of the ground / open discrete quantity output or input interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of airborne computer interfaces, and in particular relates to a normalized interface circuit and method for ground / open discrete quantity output or input. Background Art

[0002] Aircraft onboard systems usually contain a large number of ground / open discrete output interfaces and ground / open discrete input interfaces, which are used for relay, contactor and solenoid valve output drive, or sensor status acquisition and precise control. With the development of electromechanical integration, this type of interface is integrated into the remote interface unit or electromechanical management computer, which is the core component of the electromechanical control and management system. The traditional ground / open discrete output interface and ground / open discrete input interface are implemented by different dedicated circuits. The two are independent of each other in function. When designing, a large number of external connector pins need to be configured as signal output or input. When the product needs to be reused in different aircraft, the number of ground / open discrete output interfaces and ground / open discrete input interfaces required by different aircraft is different, resulting in the inability to reuse the product. Functional design and interface definition need to be re-performed. The product has poor versatility, low interface utilization, complex types, high maintenance cost, long design cycle, and is not convenient for product standardization and pedigree planning. It does not meet the requirements of the new generation of aircraft for the adaptation, isomorphism and reuse reconstruction of the remote interface unit or electromechanical management computer interface. Summary of the invention

[0003] In view of this, the present invention provides a normalized interface circuit for ground / open discrete quantity output or input, which reduces the types of internal interfaces of a remote interface unit or an electromechanical management computer, improves the versatility and interface utilization of the product, and realizes the multiplexing, reconstruction and high-reliability output and input of the ground / open discrete quantity output and input interface.

[0004] A normalized interface circuit for ground / open discrete quantity output or input is provided, which is suitable for power control of airborne electromechanical systems, including multiple channels, each channel including a comparison unit, a D / A conversion unit, a current conversion unit, two pairs of mutually exclusive power switch tubes Q1, power switch tube Q4 and power switch tube Q2, power switch tube Q3 with conduction control logic, a controller, a ground / open discrete quantity input unit and a drive unit, wherein the drive unit includes a first drive unit, a second drive unit, a third drive unit and a fourth drive unit, wherein:

[0005] The output current of the load in the electromechanical system is converted into a voltage by the current conversion unit and then transmitted to the comparison unit;

[0006] The comparison unit is used to compare the output of the current conversion unit with the output of the D / A conversion unit, and input the comparison result to the controller;

[0007] The D / A conversion unit is used to receive the control instruction of the controller and convert it into voltage;

[0008] The output end of each channel is connected to the "common area" through a diode D3, that is, the copper plane on the PCB circuit board. The "common area" is connected to a TVS tube for lightning protection, and the TVS tube is connected to the chassis ground. A diode D4, a diode D5 and a capacitor C are connected in parallel between the chassis ground and the power ground to limit the voltage difference between the chassis ground and the power ground.

[0009] Four power switch tubes Q1, Q2, Q3, and Q4 together form an H power bridge, wherein: Q1 and Q4 form one arm of the H bridge, Q2 and Q3 form another arm of the H bridge, Q1 and Q2 use P-channel field effect tubes, Q3 and Q4 use P-channel field effect tubes, and each arm is anti-parallel connected with freewheeling diodes D1 and D2 respectively;

[0010] The ground / open discrete quantity input unit comprises a first ground / open discrete quantity input unit, a second ground / open discrete quantity input unit, a third ground / open discrete quantity input unit and a fourth ground / open discrete quantity input unit, wherein the first ground / open discrete quantity input unit and the second ground / open discrete quantity input unit are connected to the output end of the power unit, the third ground / open discrete quantity input unit is connected to the midpoint of the bridge arm composed of Q2 and Q3 of the power unit, and the fourth ground / open discrete quantity input unit is connected to the midpoint of the bridge arm composed of Q1 and Q4 of the power unit;

[0011] The controller is connected to the gates of the four power switch tubes Q1 , Q2 , Q3 , and Q4 respectively through a first driving unit, a second driving unit, a third driving unit, and a fourth driving unit.

[0012] The technical beneficial effects of the present invention are:

[0013] The present invention adopts an inverse time current protection method based on current energy accumulation to realize the power-driven current protection function, and can be dynamically configured for different load current protection points and durations, and has the characteristics of fast response speed and high reliability. In view of the difficulty that the current sampling accuracy is restricted by the accuracy of the A / D conversion unit and the susceptibility of the system to interference in the traditional overcurrent protection algorithm, the present invention proposes to use the D / A conversion unit and compare it to replace the A / D conversion unit to simplify the complexity of software and hardware design. The present invention provides a complete tripping self-test and output protection mechanism, which improves the safety and versatility of the interface. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0015] Figure 1 It is a functional block diagram of a ground / open discrete quantity output input normalization interface;

[0016] Figure 2 A flow chart of a method for normalizing ground / open discrete quantity output and input;

[0017] Figure 3 It is a logic control block diagram of ground / open discrete input. DETAILED DESCRIPTION

[0018] The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0019] The following describes the embodiments of the present disclosure through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0020] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.

[0021] like Figure 1The normalized interface circuit for ground / open discrete quantity output or input shown is suitable for power control of airborne electromechanical systems, including multiple channels, generally 20-50 channels, each channel includes a comparison unit, a D / A conversion unit, a current conversion unit, two pairs of mutually exclusive power switch tubes Q1, power switch tube Q4 and power switch tube Q2, power switch tube Q3 with conduction control logic, a controller and a ground / open discrete quantity input unit and a drive unit, the drive unit includes a first drive unit 1, a second drive unit 2, a third drive unit 3 and a fourth drive unit 4, wherein:

[0022] The output current of the load in the electromechanical system is converted into a voltage by the current conversion unit and then transmitted to the comparison unit;

[0023] A comparison unit, used for comparing the output of the current conversion unit with the output of the D / A conversion unit, and inputting the comparison result to the controller;

[0024] A D / A conversion unit, used for receiving control instructions from the controller and converting them into voltage;

[0025] The output end of each channel is connected to the "common area" through diode D3, that is, the copper plane on the PCB circuit board. The "common area" is connected to a TVS tube for lightning protection, and the TVS tube is connected to the chassis ground. Diode D4, diode D5 and capacitor C are connected in parallel between the chassis ground and the power ground to limit the voltage difference between the chassis ground and the power ground. If there is a pressure difference, airborne disturbances are likely to interfere with the control signal, so the interference should be reduced as much as possible.

[0026] Four power switch tubes Q1, Q2, Q3, and Q4 together form an H power bridge, wherein: Q1 and Q4 form one arm of the H bridge, Q2 and Q3 form another arm of the H bridge, Q1 and Q2 use P-channel field effect tubes, Q3 and Q4 use P-channel field effect tubes, and each arm is anti-parallel connected with freewheeling diodes D1 and D2 respectively;

[0027] The ground / open discrete quantity input unit comprises a first ground / open discrete quantity input unit 1, a second ground / open discrete quantity input unit 2, a third ground / open discrete quantity input unit and a fourth ground / open discrete quantity input unit 4, wherein the first ground / open discrete quantity input unit 1 and the second ground / open discrete quantity input unit 2 are connected to the output end of the power unit, the third ground / open discrete quantity input unit is connected to the midpoint of the bridge arm composed of Q2 and Q3 of the power unit, and the fourth ground / open discrete quantity input unit 4 is connected to the midpoint of the bridge arm composed of Q1 and Q4 of the power unit;

[0028] The controller is connected to the gates of four power switch tubes Q1 , Q2 , Q3 , and Q4 respectively through a first drive unit 1 , a second drive unit 2 , a third drive unit 3 , and a fourth drive unit 4 .

[0029] Using a CPU processor, realizing the configuration of interface output, input type and the configuration of the current protection point and duration of the protection unit, and comprehensively judging the BIT state and tripping overcurrent state of the interface;

[0030] FPGA controller, realizing configuration and acquisition of the protection unit and the ground / open discrete quantity input unit, sending the drive unit control signal, and realizing output protection in combination with the information sent by the protection unit and the CPU controller;

[0031] The combination of the current conversion unit, the comparison unit and the D / A conversion unit realizes the overcurrent protection status indication, the input "+" level of the comparison unit is connected to the output of the D / A conversion unit, the input "-" level of the comparison unit is connected to the output of the current conversion unit, and the output of the comparison unit is connected to the general I / O of the FPGA controller;

[0032] Four ground / open discrete input units realize the acquisition of interface output and input status respectively;

[0033] Power unit, realizing ground / open discrete output;

[0034] Lightning protection unit, to realize interface lightning protection;

[0035] The grounding unit realizes reliable grounding of the interface power part.

[0036] Secondly, Figure 2 As shown, a normalized interface method for grounding / opening discrete output or input is provided, using the above circuit, including a CPU processor communicating with a controller, the controller being an FPGA controller, and the method comprising:

[0037] The interface is configured as a ground / open discrete output interface, or the interface is configured as a ground / open discrete input interface, wherein: the interface can be repeatedly configured during the same power-on period and time-division multiplexed.

[0038] As a specific implementation method provided in this case, the step of configuring the interface as a ground / open discrete output interface includes:

[0039] The steps to configure the output ground and output open include:

[0040] Step 1: The CPU processor configures the signals of the third drive unit 3 and the fourth drive unit 4 to be in the "on" state through the controller. The CPU processor collects the states of the first ground / open discrete input unit 1, the second ground / open discrete input unit 2, the third ground / open discrete input unit and the fourth ground / open discrete input unit 4 through the FPGA controller. If the collected results are all in the "on" state, execute step 2. Otherwise, simultaneously lock the drive signals of the first drive unit 1, the second drive unit 2, the third drive unit 3 and the fourth drive unit 4 to the "on" state, and report a ground / open discrete output interface fault.

[0041] Step 2: The CPU processor configures the signal of the fourth drive unit 4 to be in the "ground" state through the FPGA controller. The CPU processor collects the fourth ground / open discrete input unit 4 through the FPGA controller. If the collection result is the "ground" state, execute step 3, otherwise execute step 5, and report the ground / open discrete output interface Q4 fault;

[0042] Step 3: The CPU processor configures the signal of the first drive unit 1 to be in the "ground" state through the FPGA controller. The CPU processor collects the first ground / open discrete input unit 1 and the second ground / open discrete input unit 2 through the FPGA controller. If the collected results are both in the "open" state, the ground / open discrete output interface Q1 fault is reported;

[0043] Step 4: The CPU processor configures the first drive unit 1, the second drive unit 2, the third drive unit 3 and the fourth drive unit 4 signals to the "on" state through the FPGA controller;

[0044] Step 5: The CPU processor configures the third drive unit 3 signal to be in the "ground" state through the FPGA controller. The CPU processor collects the third ground / open discrete input unit through the FPGA controller. If the collection result is the "ground" state, execute step 6, otherwise execute step 7 and report the ground / open discrete output interface Q3 fault;

[0045] Step 6: The CPU processor configures the signal of the second drive unit 2 to be in the "ground" state through the FPGA controller. The CPU processor collects the first ground / open discrete input unit 1 and the second ground / open discrete input unit 2 through the FPGA controller. If the collected results are both in the "open" state, the ground / open discrete output interface Q2 fault is reported;

[0046] Step 7: When one set of bridge arms of the H bridge of the power unit fails, select another set of bridge arms for output; when two sets of bridge arms of the H bridge fail at the same time, lock the drive signals of the first drive unit 1, the second drive unit 2, the third drive unit 3 and the fourth drive unit 4 to the "on" state, and report a ground / open discrete output interface fault.

[0047] Further, the steps of configuring the interface to ground / open discrete quantity and configuring output "on" include:

[0048] The CPU processor configures the signals of the first drive unit 1, the second drive unit 2, the third drive unit 3 and the fourth drive unit 4 to the "on" state through the FPGA controller; the CPU processor collects the states of the first ground / open discrete input unit 1 and the second ground / open discrete input unit 2 through the FPGA controller; if the collection results of the first ground / open discrete input unit 1 and the first ground / open discrete input unit 1 are both "ground", a discrete output interface fault is reported, and the signals of the first drive unit 1, the second drive unit 2, the third drive unit 3 and the fourth drive unit 4 are locked to the "on" state.

[0049] As a specific implementation method provided in this case, the steps of outputting the ground and outputting the opening are:

[0050] Configure the trip threshold: When the interface is configured as ground / open discrete output, the CPU processor configures the output voltage of the D / A conversion unit through the FPGA controller and configures the current amplitude threshold of the overcurrent protection of the ground / open discrete output interface;

[0051] Configure the tripping time: The CPU processor configures the sustainable time of the overcurrent protection of the ground / open discrete output interface through the FPGA controller, and the duration of the high level of the comparator output accumulated by the FPGA controller. The FPGA controller sets the tripping state by comparing the sustainable time configured by the CPU processor and the accumulated duration in real time.

[0052] Configure the tripping strategy: When the interface is configured as ground / open discrete output: When the interface is in a tripped state, perform three clear trip and retry operations. When the clear trip fails three times in a row, the tripping state is locked, and the drive signals of the first drive unit 1 and the second drive unit 2 are locked to the "open" state, and a discrete output interface fault is reported.

[0053] As a specific implementation method provided in this case, it also includes the step of configuring the interface as a ground / open discrete quantity input, such as Figure 3 As shown:

[0054] Step 1: The FPGA controller simultaneously places the acquisition results of the first ground / open discrete input unit 1 and the second ground / open discrete input unit 2 into the data register 1 and the data register 2;

[0055] Step 2: The FPGA controller compares the results of data register 1 and data register 2 according to the principle of bit-by-bit comparison;

[0056] Step 3: When the FPGA controller compares the same bit of data register 1 and data register 2 and the results are the same, it stores the result in the redundant register, otherwise it sends a "FAULT" signal.

[0057] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A normalized interface circuit for grounding / opening discrete output or input, suitable for power control of airborne electromechanical systems, characterized in that: It includes multiple channels, each channel includes a comparison unit, a D / A conversion unit, a current conversion unit, a power unit, a controller, a ground / open discrete input unit and a drive unit, the drive unit includes a first drive unit, a second drive unit, a third drive unit and a fourth drive unit, the power unit includes two pairs of power switch tubes Q1, power switch tube Q4 and power switch tube Q2, power switch tube Q3 and freewheeling diodes D1 and D2 with mutually exclusive conduction control logic, wherein: The output current of the load in the electromechanical system is converted into a voltage by the current conversion unit and then transmitted to the comparison unit; The comparison unit is used to compare the output of the current conversion unit with the output of the D / A conversion unit, and input the comparison result to the controller; The D / A conversion unit is used to receive the control instruction of the controller and convert it into voltage; The output end of each channel is connected to the "common area" through a diode D3, that is, the copper plane on the PCB circuit board. The "common area" is connected to a TVS tube for lightning protection, and the TVS tube is connected to the chassis ground. A diode D4, a diode D5 and a capacitor C are connected in parallel between the chassis ground and the power ground to limit the voltage difference between the chassis ground and the power ground. Four power switch tubes Q1, Q2, Q3, and Q4 together form an H-type power bridge, wherein: Q1 and Q4 form one group of bridge arms of the H-bridge, Q2 and Q3 form another group of bridge arms of the H-bridge, Q1 and Q2 use P-channel field effect tubes, Q3 and Q4 use P-channel field effect tubes, and each bridge arm is anti-parallel connected with the freewheeling diodes D1 and D2 respectively; The ground / open discrete quantity input unit comprises a first ground / open discrete quantity input unit, a second ground / open discrete quantity input unit, a third ground / open discrete quantity input unit and a fourth ground / open discrete quantity input unit, wherein the first ground / open discrete quantity input unit and the second ground / open discrete quantity input unit are connected to the output end of the power unit, the third ground / open discrete quantity input unit is connected to the midpoint of the bridge arm composed of Q2 and Q3 of the power unit, and the fourth ground / open discrete quantity input unit is connected to the midpoint of the bridge arm composed of Q1 and Q4 of the power unit; The controller is connected to the gates of the four power switch tubes Q1 , Q2 , Q3 , and Q4 respectively through a first driving unit, a second driving unit, a third driving unit, and a fourth driving unit.

2. A normalized interface method for grounding / opening discrete output or input, characterized in that: The circuit of claim 1 is used to collect the output and input states of an interface, and includes a CPU processor communicating with a controller, wherein the controller is an FPGA controller, and the method includes: The interface output and input states are collected through the ground / open discrete input unit, and the interface is configured as a ground / open discrete output interface, or the interface is configured as a ground / open discrete input interface, wherein: the interface can be repeatedly configured and time-division multiplexed during the same power-on period.

3. The interface method according to claim 2, characterized in that: The method of configuring the interface as a ground / open discrete output interface includes: The steps to configure the output ground and output open include: Step 1: The CPU processor configures the signals of the third drive unit and the fourth drive unit to be in the "on" state through the controller, and the CPU processor collects the states of the first ground / open discrete input unit, the second ground / open discrete input unit, the third ground / open discrete input unit and the fourth ground / open discrete input unit through the FPGA controller. If the collected results are all in the "on" state, step 2 is executed, otherwise the driving signals of the first drive unit, the second drive unit, the third drive unit and the fourth drive unit are locked in the "on" state at the same time, and a ground / open discrete output interface fault is reported; Step 2: The CPU processor configures the fourth drive unit signal to be in the "ground" state through the FPGA controller, and the CPU processor collects the fourth ground / open discrete input unit through the FPGA controller. If the collection result is the "ground" state, step 3 is executed, otherwise step 5 is executed to report the ground / open discrete output interface Q4 fault; Step 3: The CPU processor configures the first drive unit signal to be in the "ground" state through the FPGA controller, and the CPU processor collects the first ground / open discrete input unit and the second ground / open discrete input unit through the FPGA controller. If the collected results are both in the "open" state, the ground / open discrete output interface Q1 fault is reported; Step 4: The CPU processor configures the first drive unit, the second drive unit signal, the third drive unit and the fourth drive unit signal to be in the "on" state through the FPGA controller; Step 5: The CPU processor configures the third drive unit signal to be in the "ground" state through the FPGA controller, and the CPU processor collects the third ground / open discrete input unit through the FPGA controller. If the collection result is the "ground" state, step 6 is executed, otherwise step 7 is executed to report the ground / open discrete output interface Q3 fault; Step 6: The CPU processor configures the second drive unit signal to be in the "ground" state through the FPGA controller, and the CPU processor collects the first ground / open discrete input unit and the second ground / open discrete input unit through the FPGA controller. If the collected results are both in the "open" state, the ground / open discrete output interface Q2 fault is reported; Step 7: When one group of bridge arms of the H bridge of the power unit fails, another group of bridge arms is selected for output; when two groups of bridge arms of the H bridge fail at the same time, the drive signals of the first drive unit, the second drive unit, the third drive unit and the fourth drive unit are locked to the "on" state, and a ground / open discrete output interface fault is reported.

4. The interface method according to claim 3, characterized in that: The method of configuring the interface to ground / open discrete quantity output "open" includes: The CPU processor configures the signals of the first drive unit, the second drive unit, the third drive unit and the fourth drive unit to be in the "on" state through the FPGA controller; the CPU processor collects the states of the first ground / open discrete input unit and the second ground / open discrete input unit through the FPGA controller; if the collection results of the first ground / open discrete input unit and the first ground / open discrete input unit are both "ground", a discrete output interface fault is reported, and the signals of the first drive unit, the second drive unit, the third drive unit and the fourth drive unit are locked to the "on" state.

5. The interface method according to claim 4, characterized in that: The steps for output ground and output opening are: Configuring the trip threshold: When the interface is configured as ground / open discrete output, the CPU processor configures the output voltage of the D / A conversion unit through the FPGA controller and configures the current amplitude threshold of the overcurrent protection of the ground / open discrete output interface; Configuring the tripping time: the CPU processor configures the sustainable time of the overcurrent protection of the ground / open discrete output interface through the FPGA controller, the FPGA controller accumulates and collects the duration of the high level output of the comparison unit, and the FPGA controller sets the tripping state by comparing the sustainable time configured by the CPU processor and the accumulated duration in real time; Configure the tripping strategy: When the interface is configured as ground / open discrete output: When the interface is in a tripped state, perform three clear trip retries. When three consecutive clear trips fail, the tripping state is locked, the drive unit and the drive signal of the drive unit are locked to the "open" state, and a discrete output interface fault is reported.

6. The interface method according to claim 5, characterized in that: Also included is a method for configuring the interface as a ground / open discrete input: Step 1: The FPGA controller simultaneously places the acquisition results of the ground / open discrete quantity input unit and the ground / open discrete quantity input unit into the data register and the data register; Step 2: The FPGA controller compares the data register and the result of the data register according to the principle of bit-by-bit comparison; Step 3: When the FPGA controller compares the data register and the same bit of the data register and the result is the same, the result is stored in the redundant register, otherwise a "FAULT" signal is issued.