Redundant controllers that perform redundant control
By designing a redundant controller, redundant switching of input and output modules across the rack is achieved, which solves the problems of inflexible use of redundant slots and insufficient reliability in the prior art, and improves the reliability and flexibility of the system.
Patent Information
- Application Number
- CN202411137397.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-08-19
AI Technical Summary
The existing redundant control technology of input and output modules cannot achieve redundant switching across frames, and the redundant slots are inflexible, resulting in insufficient system reliability.
A redundant controller is designed to connect the input and output modules through the first interface unit, the second interface unit and the third interface unit, and use the redundant switching module and the redundant control module to realize redundant switching at different locations, supporting Various redundant modes, such as analog current input, analog voltage input, digital input and digital output redundant mode.
It realizes the redundant switching function of non-redundant boards, and can redundant between the same type of modules between different racks, improving the reliability and flexibility of the system and ensuring that the system can be normal in the event of failure. run.
Smart Images

Figure CN118672120B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of system control, and in particular to a redundant controller for performing redundant control on input and output (input and output modules) modules. Background Art
[0002] As industrial automation develops faster and faster, control systems are increasingly used in all walks of life, and the reliability requirements for the entire system are also getting higher and higher. Non-redundant modules are difficult to meet actual reliability requirements due to their low reliability. Therefore, the system needs to add redundancy to improve its reliability. The essence of redundancy is to replicate components such as devices, circuits or modules within the system. When a system fails, the replicated devices, circuits or modules can replace the failed components to ensure that the entire system can work normally.
[0003] The general input and output module redundancy control adopts adjacent redundancy. When using adjacent redundancy, a redundant switching circuit is integrated above each input and output module, and two of them are adjacent to each other above the redundant rack. When one of the input and output modules fails, the redundant switching circuit will detect the problem and switch through the redundant circuit to give the initiative to the normal board.
[0004] When using adjacent redundancy, only redundant applications of local racks can be realized, and redundancy on two independent racks cannot be achieved. In addition, the redundancy is between designated slots, which is not flexible enough. Secondly, when adjacent redundant racks realize a specific number of redundancy groups, the remaining redundant slots cannot be used and their space is wasted. Finally, racks are divided into redundant racks, non-redundant racks or racks with specific redundant slots, which are of various types. Summary of the invention
[0005] In view of the above problems, the present disclosure provides a redundant controller for performing redundant control of input and output modules in the industrial Internet. The redundant controller can realize the redundant switching function of non-redundant boards and can realize the redundancy of the same type of modules in different locations, such as different slots in the same rack and different racks.
[0006] According to a first aspect of the present disclosure, there is provided a redundant controller for performing redundant control on an input-output module, the redundant controller comprising: a first interface unit and a second interface unit, the first interface unit and the second interface unit both comprising an input interface and an output interface, the first interface unit and the second interface unit being connected to two input-output modules via the input interface and the output interface respectively included therein; a third interface unit, the third interface unit comprising an input interface and an output interface, the third interface unit being connected to an external circuit via the input interface and the output interface included therein; a redundant switching module configured to receive a redundant control signal and switch the redundant control module to one of a plurality of redundant modes based on the received redundant control signal; and a redundant control module configured to connect an internal circuit according to the redundant control signal, thereby performing redundant control on the two input-output modules.
[0007] In some embodiments, the multiple redundancy modes include: an analog current input redundancy mode, an analog voltage input and digital input redundancy mode, and a digital output and analog output redundancy mode.
[0008] In some embodiments, the redundant control module includes: a first diode unit and a first switch unit for controlling a first interface unit; a second diode unit and a second single-pole switch unit for controlling a second interface unit; and a third switch unit and a fourth switch unit for controlling a third interface unit.
[0009] In some embodiments, the first switch unit, the second switch unit, and the third switch unit are single-pole single-throw switches and the fourth switch unit is a single-pole double-throw switch.
[0010] In some embodiments, the redundant control module is configured to: in response to the redundant switching module switching the redundant control module to the analog current input redundant mode, close the first switch unit, close the second switch unit, open the third switch unit, and close the first contact of the fourth switch unit, and open the second contact; in response to the redundant switching module switching the redundant control module to the analog voltage input and digital input redundant mode, close the first switch unit, close the second switch unit, close the third switch unit, and open the first contact of the fourth switch unit, and close the second contact; and in response to the redundant switching module switching the redundant control module to the digital output and analog output redundant mode, open the first switch unit, open the second switch unit, close the third switch unit, and open the first contact of the fourth switch unit, and close the second contact.
[0011] In some embodiments, the redundant switching module includes: a main control MCU, which is configured to switch the redundant control module to one of multiple redundant modes based on a received redundant control signal; a communication interface, which is configured to receive a redundant control signal; and a display device, which is configured to display the currently switched redundant mode.
[0012] In some embodiments, the communication interface is configured as follows: in response to the mode setting button being not activated, the master control MCU maintains the redundant control module in an analog current input redundant mode; in response to the mode setting button being activated once, the master control MCU switches the redundant control module to a digital output and analog output redundant mode; and in response to the mode setting button being activated twice, the master control MCU switches the redundant control module to an analog voltage input and digital input redundant mode.
[0013] In some embodiments, the two input-output modules are installed in different slots on a controller chassis.
[0014] In some embodiments, the two input-output modules are respectively installed in slots of two independent controller racks.
[0015] In some embodiments, the slots include: current sampling resistors and analog-to-digital converters corresponding to analog current input redundant modes; sampling resistors and circuit followers corresponding to analog voltage input and digital input redundant modes; and digital current output sources and analog voltage output sources corresponding to digital output and analog output redundant modes.
[0016] Using the above technical solutions, the redundant controller of the input and output module can realize the redundant function of the non-redundant card. The redundant controller of the IO module can realize the redundant backup of AI, AO, DI and DO modules according to the corresponding wiring. The redundant signal type can be configured by software or hardware according to the redundancy requirements.
[0017] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements.
[0019] Figure 1 FIG. 1 is a schematic diagram of a redundant controller 100 according to an embodiment of the present invention.
[0020] Figure 2 FIG. 2 shows a schematic diagram of a redundant controller 200 according to an embodiment of the present invention.
[0021] Figure 3 A circuit diagram of a redundant controller according to an embodiment of the present invention is shown.
[0022] Figure 4 A schematic diagram showing a redundant controller switching to an analog current input redundant mode according to an embodiment of the present invention is shown.
[0023] Figure 5 A schematic diagram showing a redundant controller switching to an analog voltage input and digital quantity input redundant mode according to an embodiment of the present invention is shown.
[0024] Figure 6 A schematic diagram showing a redundant controller switching to a digital output and analog output redundant mode according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0025] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0026] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0027] The IO redundant controller proposed by the present invention can be applied to the redundant implementation of multi-slot IO modules on a single controller rack and the redundant implementation of IO modules on two independent controller racks. Figure 1 Schematic diagram of a redundant controller 100 according to an embodiment of the present invention is shown. The redundant controller 100 for performing redundant control on input and output modules includes a first interface unit and a second interface unit, a third interface unit, a redundant switching module (not shown) and a redundant control module (not shown), all of which are connected to a first controller chassis.
[0028] like Figure 1As shown, the first interface unit and the second interface unit are connected to the input and output module (IO module) of slot 1 and the input and output module (IO module) of slot 2 via their respective first input interface and second output interface. The third interface unit includes a first input interface and a second output interface, and the third interface unit is connected to an external circuit, that is, an external sensor and an actuator, via the first input interface and the second output interface.
[0029] In this embodiment, the two input-output modules are installed in different slots on a controller rack or in the slots of two independent controller racks. The controller rack independently supplies power to the two input-output modules and has corresponding controller modules, buses and power supplies, wherein the controller rack also includes current sampling resistors and analog-to-digital converters corresponding to analog current input redundant mode, sampling resistors and circuit followers corresponding to analog voltage input and digital input redundant mode, and digital current output sources and analog voltage output sources corresponding to digital output and analog output redundant mode. Figure 1 As shown, the redundant controller 100 can be used for redundancy implementation on a single rack. The input and output modules of slot 1 and slot 2 are connected to the first interface unit and the second interface unit of the redundant controller, and the external sensor and actuator are connected to the third interface unit of the redundant controller. By setting the mode of the redundant controller, redundant switching of multiple input and output modes on a single rack can be achieved. The input and output modes include analog input AI mode, analog output AO mode, digital input DI mode and digital output DO mode. For the above modes, as long as the module redundancy is the same type of input and output modules, the redundant function of the redundant card can be realized between the slots on any controller rack.
[0030] A redundant switching module configured to receive a redundant control signal and switch the redundant control module to one of multiple redundant modes based on the received redundant control signal, and a redundant control module configured to connect the internal circuit according to the redundant control signal to perform redundant control on two input-output modules will be specifically described in the following embodiments.
[0031] Figure 2 Schematic diagram of a redundant controller 200 according to an embodiment of the present invention is shown. The redundant controller 200 that performs redundant control on input and output modules includes a first interface unit connected to a first controller rack, a second interface unit connected to a second controller rack, a third interface unit, a redundant switching module (not shown), and a redundant control module (not shown).
[0032] like Figure 2As shown, the first interface unit is connected to the input-output module in slot 1 of the first controller rack via the first input interface and the second output interface. Meanwhile, the second interface unit is connected to the input-output module in slot 1 of the second controller rack via the first input interface and the second output interface.
[0033] The third interface unit includes a first input interface and a second output interface, and the third interface unit is connected to an external circuit, ie, an external sensor and an actuator, via the first input interface and the second output interface.
[0034] In this embodiment, the two input-output modules are installed in the slots of two independent controller racks. The two independent controller racks independently power the two input-output modules and have corresponding controller modules, buses and power supplies, wherein the two controller racks also include current sampling resistors and analog-to-digital converters corresponding to the analog current input redundant mode, sampling resistors and circuit followers corresponding to the analog voltage input and digital input redundant modes, and digital current output sources and analog voltage output sources corresponding to the digital output and analog output redundant modes. Figure 2 As shown, the redundant controller 200 can be used for redundant implementation of IO modules on two controller racks. The IO module in slot 1 of the first controller rack and the IO module in slot 1 of the second controller rack are connected to the first interface unit and the second interface unit of the redundant controller. External sensors and actuators are connected to the third interface unit of the redundant controller. By setting the mode of the redundant controller, redundant switching of multiple inputs and outputs on the two racks can be achieved. As long as they are the same type of IO modules, any two IO modules on different racks can achieve redundancy.
[0035] Figure 3 FIG. 4 shows a circuit diagram of a redundant controller 300 according to an embodiment of the present invention. Figure 3 As shown, the redundant switching module 302 includes a redundant switching module 302 configured to receive a redundant control signal and switch the redundant control module to one of multiple redundant modes based on the received redundant control signal, and a redundant control module 304 configured to connect the internal circuit according to the redundant control signal to perform redundant control on the two input and output modules.
[0036] The redundant switching module 302 includes a first diode unit D1 and a first switch unit K1 for controlling the first interface unit, a second diode unit D2 and a second single-pole switch unit K2 for controlling the second interface unit, and a third switch unit K3 and a fourth switch unit K4 for controlling the third interface unit. According to the IO redundant switch, in order to achieve fault isolation, each module on the sensor wiring side is electrically isolated, which can facilitate electrical connection between modules, including series connection and parallel connection. The first switch unit, the second switch unit and the third switch unit are single-pole single-throw switches and the fourth switch unit is a single-pole double-throw switch.
[0037] The redundant switching module 302 includes a main control MCU, a communication interface, a display device and an optional button KEY, wherein the communication interface is configured to receive a redundant control signal, the main control MCU is configured to switch the redundant control module to one of multiple redundant modes based on the received redundant control signal, and the display device is configured to display the currently switched redundant mode.
[0038] In one embodiment, the main control MCU can receive external communication interface instructions to perform corresponding IO redundancy mode settings or can receive external setting button activation instructions to perform corresponding IO redundancy mode settings or display according to the corresponding IO redundancy mode, and display the current IO redundancy mode on the display device.
[0039] The main control MCU receives the IO redundancy mode and Figure 3 GPIO1~GPIO4 in the redundant control module are correspondingly set for the first switch unit K1, the second switch unit K2, the third switch unit K3 and the fourth switch unit K4 inside the redundant control module.
[0040] The external device can communicate with the main control MCU through the communication interface. The main control MCU receives the instruction of the external device to set the IO redundancy mode. In one embodiment, the communication interface can be configured as follows: in response to the mode setting button not being activated, the main control MCU keeps the redundant control module in the analog current input redundancy mode; in response to the mode setting button being activated once, the main control MCU switches the redundant control module to the digital output and analog output redundancy mode; and in response to the mode setting button being activated once, the main control MCU switches the redundant control module to the analog voltage input and digital input redundancy mode. Mode setting button KEY1.
[0041] For example, when the communication interface is button KEY1, clicking the button is equivalent to activation. Button KEY1 can set the IO redundancy mode. When the redundant control system is powered on, the default is AI current type redundancy mode. If you need to change its redundancy mode, you can click the button to adjust the redundancy mode. Click the button once to change the redundancy mode to DO and AO redundancy mode. Click the button again to change the redundancy mode to AI voltage type and DI redundancy mode. Click the button again to change the redundancy mode to the default AI current type redundancy mode. By setting button KEY1, the redundancy mode can be adjusted at will. It should be noted that those skilled in the art can arbitrarily set the number of times a button or communication interface is activated and the corresponding redundancy mode. The display interface displays the redundancy mode according to the IO redundancy mode set by the main control MCU, which can be implemented using a display screen or an indicator light. In the optional embodiment summary, if only IO redundancy needs to be implemented, an external dial switch such as a button can be retained to switch the IO redundancy mode to achieve redundancy of multiple IOs.
[0042] After receiving the redundant control signal, the redundant control module is configured to: in response to the redundant switching module switching the redundant control module to the analog current input redundant mode, i.e., the AI current type redundant mode, the first switch unit is closed, the second switch unit is closed, the third switch unit is opened, and the first contact of the fourth switch unit is closed and the second contact is opened; in response to the redundant switching module switching the redundant control module to the analog voltage input and digital input redundant mode, i.e., the AI voltage type and DI redundant mode, the first switch unit is closed, the second switch unit is closed, the third switch unit is closed, and the first contact of the fourth switch unit is opened and the second contact is closed; and in response to the redundant switching module switching the redundant control module to the digital output and analog output redundant mode, i.e., the DO and AO redundant mode, the first switch unit is opened, the second switch unit is opened, the third switch unit is closed, and the first contact of the fourth switch unit is opened and the second contact is closed.
[0043] Specifically, if Figure 3 As shown, the redundant switching module includes three interface units J1~J3, two diode units D1 and D2, a single-pole double-throw switch unit K4 and three single-pole single-throw switch units K1~K3. The above units can switch the IO redundancy mode under the control of the main control MCU. The specific mode switching of the redundant switching module is shown in Table 1:
[0044] Table 1 Redundant control module function table
[0045]
[0046] As shown in Table 1, the redundant switching module has three IO redundancy modes, which can be switched by the main control MCU. When the redundant switching module works in AI current type redundant mode, its external wiring diagram is shown below. The external sensor, AI current type slot 1 and AI current type slot 2 are connected in series through the redundant switching module, where the external interface J1 is connected to the rack slot 1 of the external controller (the rack is plugged with AI board), the external interface J2 is connected to the rack slot 2 of the external controller (the rack is plugged with AI board), and the external interface J3 is connected to the external sensor. The solid line is the internal connection of the redundant control module, and the dotted line is the connection between the external device and the redundant control module.
[0047] Figure 4 FIG. 2 is a schematic diagram showing a redundant controller switching to an analog current input redundant mode (AI current type redundant mode) according to an embodiment of the present invention. Figure 4 As shown, the external sensor outputs a current signal, which is connected in series through external wiring and the internal wiring of the redundant control module, so that the external sensor, the controller rack and the controller rack are connected in series. The current signal output by the external sensor will pass through two AI current type slots. AI current type boards are inserted above the two AI current type slots. There are precision resistors above the two AI current type boards, which can perform IV conversion on the current signal flowing through. The converted voltage signal is subjected to signal conditioning and AD conversion, and finally transmitted to the controller for processing. When the external sensor outputs current, the AI modules above the two slots can sense the output current signal, and AI current type redundant access can be realized.
[0048] Figure 5 FIG. 2 is a schematic diagram showing a redundant controller switching to analog voltage input and digital input redundant modes (AI voltage type and DI redundant modes) according to an embodiment of the present invention. Figure 5 As shown, when the redundant control module works in AI voltage type and DI redundant mode, the external interface J1 is connected to the external controller rack slot 1 (the rack is plugged with AI voltage type and DI board), the external interface J2 is connected to the external controller rack slot 2 (the rack is plugged with AI voltage type and DI board), and the external interface J3 is connected to the actuator. The solid line is the internal connection of the redundant control module, and the dotted line is the connection between the external device and the redundant control module. The AI voltage type and DI redundant mode can realize AI voltage type and DI module redundancy, and all modules are connected in parallel. When the slot above the rack is inserted with an AI voltage type module, AI voltage type module redundancy can be realized. When the slot above the rack is inserted with a DI module, DI module redundancy can be realized. The principle of AI power supply type module redundancy is similar to that of DI module redundancy.
[0049] The external sensor is now connected in parallel with slot 1 and slot 2. Both slots can obtain external sensor signals. When one of the AI voltage types works abnormally, the other AI voltage type can replace it to obtain the signal of the external sensor and realize AI voltage type redundant input. The DI implementation principle is similar to the AI implementation principle.
[0050] Figure 6 FIG. 2 is a schematic diagram showing a redundant controller switching to a digital output and analog output redundant mode (DO and AO redundant mode) according to an embodiment of the present invention. Figure 6 As shown, when the redundant switching module works in DO and AO redundant mode, its external wiring diagram is as follows, where the external interface J1 is connected to the external controller rack slot 1 (the rack is plugged with DO and AO boards), the external interface J2 is connected to the external controller rack slot 2 (the rack is plugged with DO and AO boards), and the external interface J3 is connected to the actuator. The solid lines are the internal connections of the redundant control module, and the dotted lines are the connections between the external device and the redundant control module.
[0051] From the wiring diagram of AO redundant mode, we can see that the current source symbol is used to replace the AO output current. When the AO modules of the two controller racks are working properly, each AO module outputs half of the current signal and outputs the current through its own diode. When one of them is not working properly, the other AO module will double the output current and output the current through its diode, so that the redundant output of the AO module can be realized.
[0052] From the wiring diagram of DO redundant mode, we can see that the voltage source symbol is used to replace the DO output voltage. When the DO modules of the two controller racks are working properly, the two diodes form an OR gate. When both are working properly, one of the DO modules with a higher voltage outputs the voltage, and the other DO module serves as a backup module. When one of them is not working properly, the other DO module outputs the voltage, which can realize the redundant output of the DO module.
[0053] DO and AO redundancy mode can realize DO and AO module redundancy. According to the above two wiring diagrams, in DO and AO redundancy mode, the redundant control module connects slot 1, slot 2 and the actuator ground on the rack together to form a common ground state. The positive ends of slot 1 and slot 2 are output through an OR gate formed by two diodes and output to the external actuator. When one of the DO or AO modules works abnormally, the other DO or AO module can replace it and output the corresponding DO or AO signal to realize the DO or AO module output.
[0054] In summary, the redundant controller can realize the redundancy of various IO modules according to different configurations. When the redundant controller is in AI current type redundancy mode, the redundant controller connects two AI modules and external sensors in series, and both AI modules can collect current values. When the redundant controller is in AO redundancy mode, the redundant controller shares the ground between the two AO modules and the external actuator. The two AO modules output half of the current through diodes respectively, and the sum is the current required by the external to drive the external actuator. When the redundant controller is in DO redundancy mode, the redundant controller shares the ground between the two DO modules and the external actuator. Both DO modules output the corresponding DO voltage to drive the external actuator. When the redundant controller is in AI voltage type and DI redundancy mode, the redundant controller connects the two modules and the external sensor in parallel, and the values of the external sensors can be collected by the modules.
[0055] Using the above technical solutions, the redundant controller of the input and output module can realize the redundant function of the non-redundant card. The redundant controller of the IO module can realize the redundant backup of AI, AO, DI and DO modules according to the corresponding wiring. The redundant signal type can be configured by software or hardware according to the redundancy requirements.
[0056] The present disclosure relates to methods, apparatuses, systems, electronic devices, computer-readable storage media and / or computer program products. The computer program products may include computer-readable program instructions for executing various aspects of the present disclosure.
[0057] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0058] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge computing devices. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing / processing device.
[0059] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of the computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute the computer-readable program instructions, thereby implementing various aspects of the present disclosure.
[0060] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0061] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0062] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0063] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0064] Those skilled in the art should understand that the present invention is not limited to the above-mentioned embodiments, and the present invention can be implemented in many other forms without departing from its purpose and scope. Therefore, the examples and embodiments shown are regarded as illustrative rather than restrictive, and the present invention may cover various modifications and substitutions without departing from the spirit and scope of the present invention as defined in the appended claims.
Claims
1. A redundant controller for performing redundant control of input and output modules, It is characterized in that The redundant controller comprises: A first interface unit and a second interface unit, wherein the first interface unit and the second interface unit both include an input interface and an output interface, and the first interface unit and the second interface unit are connected to two input-output modules via the input interface and the output interface respectively included therein; a third interface unit, the third interface unit comprising an input interface and an output interface, the third interface unit being connected to an external circuit via the input interface and the output interface; a redundant switching module configured to receive a redundant control signal and switch the redundant control module to one of a plurality of redundant modes based on the received redundant control signal, and the redundant control module includes a first diode unit and a first switch unit for controlling a first interface unit, a second diode unit and a second single-pole switch unit for controlling a second interface unit, a third switch unit and a fourth switch unit for controlling a third interface unit, and in response to the redundant switching module switching the redundant control module to an analog current input redundant mode, the first switch unit is closed, the second switch unit is closed, the third switch unit is opened, and the first contact of the fourth switch unit is closed and the second contact is opened, in response to the redundant switching module switching the redundant control module to an analog voltage input and digital quantity input redundant mode, the first switch unit is closed, the second switch unit is closed, the third switch unit is closed, and the first contact of the fourth switch unit is opened and the second contact is closed, in response to the redundant switching module switching the redundant control module to a digital quantity output and analog quantity output redundant mode, the first switch unit is opened, the second switch unit is opened, the third switch unit is closed, and the first contact of the fourth switch unit is opened and the second contact is closed; and The redundant control module is configured to connect the internal circuit according to the redundant control signal, thereby performing redundant control on the two input and output modules, wherein the multiple redundant modes include: analog current input redundant mode, analog voltage input and digital input redundant mode, digital output and analog output redundant mode.
2. The redundant controller according to claim 1, It is characterized in that The first switch unit, the second switch unit and the third switch unit are single-pole single-throw switches and the fourth switch unit is a single-pole double-throw switch.
3. The redundant controller according to claim 1, It is characterized in that The redundant switching module comprises: A main control MCU, wherein the main control MCU is configured to switch the redundant control module to one of a plurality of redundant modes based on the received redundant control signal; a communication interface configured to receive a redundant control signal; and A display device is configured to display a currently switched redundancy mode.
4. The redundant controller according to claim 3, It is characterized in that The communication interface is configured as follows: In response to the mode setting button not being activated, the main control MCU maintains the redundant control module in the analog current input redundant mode; In response to the mode setting button being activated once, the main control MCU switches the redundant control module to a digital output and analog output redundant mode; and In response to the mode setting button being activated twice, the main control MCU switches the redundant control module to the analog voltage input and digital quantity input redundant mode.
5. The redundant controller according to any one of claims 1 to 4, It is characterized in that The two input-output modules are installed in different slots on a controller rack.
6. The redundant controller according to any one of claims 1 to 4, It is characterized in that The two input and output modules are respectively installed in slots of two independent controller racks.
7. The redundant controller according to claim 6, It is characterized in that The slots include: A current sampling resistor and an analog-to-digital converter corresponding to an analog current input redundant mode; A sampling resistor and a circuit follower corresponding to analog voltage input and digital input redundant modes; and Digital current output source and analog voltage output source corresponding to the digital output and analog output redundant modes.
