Control system with HART protocol analog output

Through the dual-module arbitration and switching of the redundant control module, the reliability problem of the HART protocol analog output system when the transmitter module fails is solved, and the system's fast failover and output stability are achieved.

CN118625636APending Publication Date: 2024-09-10CHINA NUCLEAR CONTROL SYST ENG +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410658598.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing HART protocol analog output system cannot detect and handle the transmitter module failure in time, resulting in a decrease in system reliability.

Method used

Redundant control modules are used, including two AOHART modules connected through a synchronization bus and a communication bus. Based on the heartbeat signal and health value arbitration, one module is set as the main module and the other module is the backup module to ensure that the system can quickly switch in the event of a failure. And maintain the reliability of HART protocol analog output.

Benefits of technology

Through dual-module arbitration and switching, a single module failure is prevented from affecting the HART protocol analog output, and the reliability and stability of the system are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625636A
    Figure CN118625636A
Patent Text Reader

Abstract

The invention discloses a control system with HART protocol analog output, and relates to the technical field of automatic control, the system comprises a redundancy control module, a synchronous bus and a communication bus, the redundancy control module comprises a first AOHART module and a second AOHART module, and the two AOHART modules are both connected with the communication bus; the two AOHART modules are used for correspondingly generating a first health value and a second health value according to own fault data, and the two AOHART modules synchronize the first health value and the second health value through a synchronous bus; the redundancy control module is used for setting one of the first AOHART module and the second AOHART module as a main module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value; the main module is used for outputting HART protocol analog quantity. According to the invention, the control reliability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of automatic control, in particular to a control system with HART protocol analog output. Background Art

[0002] With the development of technology, Highway Addressable Remote Transducer (HART) communication instruments are widely used in industrial automation control fields such as energy and metallurgy. In some key control systems, there are high requirements for the reliability and stability of instruments. In this case, in order to ensure the reliability and stability of the system, a redundant architecture is required to improve the system reliability.

[0003] In the existing technology, two independent HART protocol analog output modules are usually used for redundant output through the control system. However, since the redundant control decision is completely controlled by the upper-level instructions, when a transmitter module fails, the system cannot detect and process the module in time, resulting in a decrease in system reliability. Summary of the invention

[0004] The purpose of the present invention is to provide a control system with HART protocol analog output, thereby improving the reliability of control.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] A control system with HART protocol analog output, comprising: a redundant control module, a synchronization bus and a communication bus, wherein the redundant control module comprises a first AOHART module and a second AOHART module, and the first AOHART module and the second AOHART module are both connected to the communication bus;

[0007] The first AOHART module is used to generate a first health value according to the fault data of the first AOHART module, the second AOHART module is used to generate a second health value according to the fault data of the second AOHART module, and the first AOHART module and the second AOHART module synchronize the first health value and the second health value through the synchronization bus;

[0008] The redundant control module is used to set one of the first AOHART module and the second AOHART module as a main module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value; the main module is used to output HART protocol analog quantity.

[0009] Optionally, in the aspect that the redundant control module is used to set one of the first AOHART module and the second AOHART module as a master module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value, the redundant control module is specifically used to:

[0010] When the first AOHART module fails to detect the heartbeat signal of the second AOHART module, setting the first AOHART module as the main module;

[0011] When the first AOHART module is able to monitor the heartbeat signal of the second AOHART module and the first health value is greater than the second health value, setting the first AOHART module as a standby module;

[0012] When the first AOHART module is able to monitor the heartbeat signal of the second AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both standby modules, if the priority of the first AOHART module is greater than the priority of the second AOHART module, the first AOHART module is set as the main module;

[0013] When the first AOHART module is able to monitor the heartbeat signal of the second AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both main modules, if the priority of the first AOHART module is less than the priority of the second AOHART module, the first AOHART module is set as a standby module.

[0014] Optionally, in the aspect that the redundant control module is used to set one of the first AOHART module and the second AOHART module as a master module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value, the redundant control module is specifically further used to:

[0015] When the second AOHART module fails to detect the heartbeat signal of the first AOHART module, setting the second AOHART module as the main module;

[0016] When the second AOHART module is able to monitor the heartbeat signal of the first AOHART module and the second health value is greater than the first health value, setting the second AOHART module as a standby module;

[0017] When the second AOHART module is able to monitor the heartbeat signal of the first AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both standby modules, if the priority of the second AOHART module is greater than the priority of the first AOHART module, the second AOHART module is set as the main module;

[0018] When the second AOHART module is able to monitor the heartbeat signal of the first AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both main modules, if the priority of the second AOHART module is lower than the priority of the first AOHART module, the second AOHART module is set as a standby module.

[0019] Optionally, the first AOHART module and the second AOHART module each include a solid-state relay, an AO interface circuit, a HART interface circuit, a communication circuit and an MCU;

[0020] The MCU of the first AOHART module and the MCU of the second AOHART module are connected via the synchronous bus;

[0021] In the first AOHART module or the second AOHART module:

[0022] The communication circuit is used to connect the MCU and the communication bus;

[0023] The AO interface circuit is used to convert the digital signal output by the digital-to-analog conversion interface of the MCU into an analog signal and output it to the solid-state relay;

[0024] The HART interface circuit is used to convert the HART command output by the MCU into a HART signal and output it to the solid-state relay;

[0025] The MCU is used to set the current AOHART module as a main module or a standby module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value; the current AOHART module is the first AOHART module or the second AOHART module;

[0026] The solid-state relay is used to output the HART protocol analog quantity when the MCU sets the current AOHART module as the main module, and not output the HART protocol analog quantity when the MCU sets the current AOHART module as the standby module; the HART protocol analog quantity is the result of the superposition of the analog quantity signal and the HART signal.

[0027] Optionally, the analog signal is a 4-20mA analog signal.

[0028] Optionally, in the aspect that the first AOHART module is used to generate a first health value according to the fault data of the first AOHART module, the first AOHART module is specifically used to:

[0029] Sorting the fault data of the first AOHART module from low to high according to severity level to generate a first fault set;

[0030] Assign a value to each fault element in the first fault set to obtain a first fault value set; the first fault value set satisfies: on the premise that the order of the fault value elements in the first fault value set remains unchanged, the fault value elements in the first fault value set are divided into multiple subsets, and any fault value in the i-th subset is greater than the sum of all fault values ​​in the 1st subset to the i-1th subset, where i is an integer greater than 1;

[0031] The values ​​in the first fault value set are summed to obtain a first health value.

[0032] Optionally, in the aspect that the second AOHART module is used to generate a second health value according to the fault data of the second AOHART module, the second AOHART module is specifically used to:

[0033] sorting the fault data of the second AOHART module from low to high according to the severity level to generate a second fault set;

[0034] Assign a value to each fault element in the second fault set to obtain a second fault value set; the second fault value set satisfies: on the premise that the order of the fault value elements in the second fault value set remains unchanged, the fault value elements in the second fault value set are divided into multiple subsets, and any fault value in the i-th subset is greater than the sum of all fault values ​​in the 1st subset to the i-1th subset, where i is an integer greater than 1;

[0035] The values ​​in the second fault value set are summed to obtain a second health value.

[0036] Optionally, the synchronization bus includes a synchronization signal line and a synchronization heartbeat line, the synchronization heartbeat line is used to synchronize the heartbeat signal of the first AOHART module and the heartbeat signal of the second AOHART module, and the synchronization signal line is used to synchronize the first health value and the second health value.

[0037] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0038] The present invention sets one of the two AOHART modules as a master module according to the heartbeat signals and health values ​​of the two AOHART modules, thereby preventing the failure of one of the AOHART modules from affecting the accurate output of the HART protocol analog quantity, thereby improving the reliability of control. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 A schematic diagram of the structure of a control system with HART protocol analog output provided by an embodiment of the present invention;

[0041] Figure 2 A schematic diagram of a redundant design embedded software flow with HART protocol analog output provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] The purpose of the present invention is to provide a control system with HART protocol analog output, thereby improving the reliability of control.

[0044] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0045] like Figure 1As shown, this embodiment provides a control system with HART protocol analog output, including: a redundant control module, a synchronization bus and a communication bus, the redundant control module includes a first AOHART module and a second AOHART module, and the first AOHART module and the second AOHART module are both connected to the communication bus.

[0046] The first AOHART module is used to generate a first health value according to the fault data of the first AOHART module, and the second AOHART module is used to generate a second health value according to the fault data of the second AOHART module. The first AOHART module and the second AOHART module synchronize the first health value and the second health value through the synchronization bus.

[0047] The redundant control module is used to set one of the first AOHART module and the second AOHART module as a main module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value; the main module is used to output HART protocol analog quantity.

[0048] In the aspect that the redundant control module is used to set one of the first AOHART module and the second AOHART module as the main module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value, that is, the arbitration process between the main module and the standby module, the redundant control module is specifically used to:

[0049] When the first AOHART module cannot detect the heartbeat signal of the second AOHART module, the first AOHART module sets the first AOHART module as the master module.

[0050] When the first AOHART module is able to monitor the heartbeat signal of the second AOHART module and the first health value is greater than the second health value, the first AOHART module sets the first AOHART module as a standby module.

[0051] When the first AOHART module is able to monitor the heartbeat signal of the second AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both standby modules, if the priority of the first AOHART module is greater than the priority of the second AOHART module, the first AOHART module sets the first AOHART module as the main module.

[0052] When the first AOHART module is able to monitor the heartbeat signal of the second AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both main modules, if the priority of the first AOHART module is less than the priority of the second AOHART module, the first AOHART module sets the first AOHART module as a standby module.

[0053] In the aspect that the redundant control module is used to set one of the first AOHART module and the second AOHART module as a master module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value, the redundant control module is specifically further used to:

[0054] When the second AOHART module fails to detect the heartbeat signal of the first AOHART module, the second AOHART module sets the second AOHART module as the master module.

[0055] When the second AOHART module is able to monitor the heartbeat signal of the first AOHART module and the second health value is greater than the first health value, the second AOHART module sets the second AOHART module as a standby module.

[0056] When the second AOHART module is able to monitor the heartbeat signal of the first AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both standby modules, if the priority of the second AOHART module is greater than the priority of the first AOHART module, the second AOHART module sets the second AOHART module as the main module.

[0057] When the second AOHART module is able to monitor the heartbeat signal of the first AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both main modules, if the priority of the second AOHART module is lower than the priority of the first AOHART module, the second AOHART module sets the second AOHART module as a standby module.

[0058] The first AOHART module and the second AOHART module each include a solid-state relay, an analog output (AO) interface circuit, a HART interface circuit, a communication circuit and a microcontroller unit (MCU).

[0059] The above arbitration process between the main module and the standby module is implemented in the MCU.

[0060] The MCU of the first AOHART module and the MCU of the second AOHART module are connected via the synchronous bus.

[0061] In the first AOHART module or the second AOHART module:

[0062] The communication circuit is used to connect the MCU and the communication bus.

[0063] The communication bus is used to connect the first AOHART module and the second AOHART module to an external controller, mainly to realize the control of AO signal and HART signal. The external controller is a controller for controlling the HART instrument. The HART instrument is connected to a power supply.

[0064] The AO interface circuit is connected to the MCU, and is used to convert the digital signal output by the digital-to-analog conversion (DAC) interface of the MCU into an analog signal and output it to the solid-state relay. More specifically, the AO interface circuit is used to convert the voltage value output by the DAC interface of the MCU into a 4-20mA analog signal that can be recognized by a field HART instrument.

[0065] The HART interface circuit is connected to the MCU, and is used to convert the HART command output by the MCU into a HART signal that can be recognized by the on-site HART instrument, and then output it to the solid-state relay after being superimposed on the 4-20mA analog signal.

[0066] The HART signal itself is a frequency-modulated low-current signal, but it cannot be directly sent by the MCU. The HART command is an unmodulated HART message signal, generally an RS232 serial communication protocol message, and the message content complies with the HART protocol. This command will be modulated into a HART signal through the HART interface circuit. Similarly, the HART signal can be demodulated into a HART command through the HART interface circuit.

[0067] MCU is responsible for data conversion, data processing and synchronization. MCU is connected to the communication circuit, AO interface circuit, HART interface circuit and solid-state relay respectively. MCU mainly includes DAC interface, communication interface and synchronization interface.

[0068] 1) DAC interface: unidirectional output, can convert binary data into corresponding voltage values.

[0069] 2) Communication interface: a two-way interface that can receive and reply to interactive information with an external controller.

[0070] 3) Synchronous interface: A bidirectional interface that allows the first AOHART module and the second AOHART module to send and receive synchronization information to each other and determine the redundant status.

[0071] More specifically, the MCU is used to set the current AOHART module as the main module or the backup module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value; the current AOHART module is the first AOHART module or the second AOHART module.

[0072] The solid-state relay is used to output the HART protocol analog quantity when the MCU sets the current AOHART module as the main module, and does not output the HART protocol analog quantity when the MCU sets the current AOHART module as the standby module, that is, the solid-state relay is used to connect or disconnect the 4-20mA analog quantity signal and the HART signal with the on-site HART instrument. The HART protocol analog quantity is the result of the superposition of the analog quantity signal and the HART signal.

[0073] The synchronous bus includes a synchronous signal line and a synchronous heartbeat line, the synchronous heartbeat line is used for redundant state judgment, and the synchronous communication line is used for redundant information transmission. More specifically, the synchronous heartbeat line is used to synchronize the heartbeat signal of the first AOHART module and the heartbeat signal of the second AOHART module, and the synchronous signal line is used to synchronize the first health value and the second health value. The synchronous bus is mainly responsible for the redundant information transmission of the two AOHART modules.

[0074] In terms of the first AOHART module being used to generate a first health value according to the fault data of the first AOHART module, the first AOHART module is specifically used to:

[0075] The fault data of the first AOHART module is sorted from low to high according to severity level to generate a first fault set.

[0076] Assign a value to each fault element in the first fault set to obtain a first fault value set. The first fault value set satisfies: on the premise that the order of the fault value elements in the first fault value set remains unchanged, the fault value elements in the first fault value set are divided into multiple subsets, and any fault value in the i-th subset is greater than the sum of all fault values ​​in the 1st subset to the i-1th subset, where i is an integer greater than 1.

[0077] The values ​​in the first fault value set are summed to obtain a first health value.

[0078] The value corresponding to each fault element is agreed upon in advance.

[0079] In terms of the second AOHART module being used to generate a second health value according to the fault data of the second AOHART module, the second AOHART module is specifically used to:

[0080] The fault data of the second AOHART module is sorted from low to high according to the severity level to generate a second fault set.

[0081] Assign a value to each fault element in the second fault set to obtain a second fault value set. The second fault value set satisfies: on the premise that the order of the fault value elements in the second fault value set remains unchanged, the fault value elements in the second fault value set are divided into multiple subsets, and any fault value in the i-th subset is greater than the sum of all fault values ​​in the 1st subset to the i-1th subset, where i is an integer greater than 1.

[0082] The values ​​in the second fault value set are summed to obtain a second health value.

[0083] The embedded software process of a control system with HART protocol analog output in this embodiment includes two parts: initialization and main task.

[0084] The present invention can be applied to the DCS system control field of nuclear power plants, and can also be applied to other automation control fields.

[0085] The main tasks include bus communication and monitoring, channel output and HART communication processing tasks, module diagnosis, heartbeat generation, heartbeat monitoring, synchronous data interaction and master-slave arbitration, such as Figure 2 shown.

[0086] 1. Bus communication and monitoring

[0087] The master and standby modules (the first AOHART module and the second AOHART module) receive the communication from the host computer (external controller) through the communication bus. The host (master module) replies to the communication, and the standby (standby module) listens to the host's reply and synchronizes the status and information according to the reply message. The host replies with the reply response message between the controller, and the content can be customized according to the base protocol.

[0088] The synchronized information includes the main module channel type parameter configuration, the main module channel output tracking value and the main diagnostic information.

[0089] The main diagnostic information includes health values ​​and specific information of faults. The arbitration result is generally not transmitted through synchronous information, but directly reflected through the heartbeat line.

[0090] 2. Channel output and HART communication processing tasks

[0091] The master and standby modules control the channel output and HART message interaction according to the communication with the host computer. Among them, the channel output and HART messages (including HART protocol analog quantities) of the standby module will be truncated by the solid-state relay.

[0092] 3. Module Diagnosis

[0093] The master and standby modules diagnose their own module status, generate diagnostic data, and generate a health value based on the diagnostic data. The calculation method of the health value includes:

[0094] Generate a fault set Q = {q0…, q a ,…q b ,…q n} based on n fault types in ascending order of severity. Where 0 < a < b < n.

[0095] On the premise of satisfying the previous condition, generate corresponding fault values for each member of the fault set Q, and generate a fault value set D = {d0…, d a ,…d b ,…d n}, where when a < b, d a <= d b .

[0096] On the premise of satisfying the previous condition and keeping the order of the set elements unchanged, divide D into k subsets B = {D0,…D a ,…D b ,…D k} based on the urgency of fault switching. Where when a < b, any fault value d b (d b belongs to D b ) is greater than the sum of the fault values of all elements in all sets from D0 to D a .

[0097] On the premise of satisfying the previous condition, assign values to the elements of the fault value set D.

[0098] On the premise of satisfying the previous condition, sum the fault values corresponding to the faults according to the diagnostic data to obtain the health value. The larger the health value, the more serious the fault degree of the module.

[0099] 4. Heartbeat Generation

[0100] The master and standby modules generate heartbeat signals with different frequencies according to their own master and standby situations and output them to the heartbeat line.

[0101] 5. Heartbeat Monitoring

[0102] The master and standby modules monitor the frequency of the other party's heartbeat line and judge the status of the other party.

[0103] 6. Synchronous Data Interaction

[0104] The active and standby module interaction synchronization information includes channel configuration information, module diagnostic information, and other host information that the standby machine cannot monitor and standby machine information that the host cannot obtain. The synchronization information includes the active and standby module health values ​​and HART instrument interaction state machine information and interaction information.

[0105] 7. Master-slave arbitration

[0106] The master and slave modules perform master-slave arbitration based on module information. The arbitration process includes:

[0107] When the absence of another module is detected, this module is set as the main module.

[0108] When it is detected that the health value of this module is greater than that of another module without satisfying the previous condition, this module is set as a standby module.

[0109] When it is detected that both the current module and another module are standby modules without satisfying the above condition, whether to set the current module as the main module is determined according to whether the current module has the feature information of the priority main module.

[0110] When it is detected that both this module and another module are main modules without satisfying the previous condition, whether to set this module as a backup module is determined based on whether this module has priority main module feature information.

[0111] The priority main module characteristic information includes the module device number, the module actual address and other difference information.

[0112] The arbitration process includes dual-principal arbitration, dual-backup arbitration and reduced-backup arbitration.

[0113] According to the instructions on the communication bus, the MCU outputs current through the AO interface circuit, outputs or receives HART signals through the HART interface circuit, and outputs to the solid-state relay by superimposing on the AO interface circuit. By judging the status of the synchronous heartbeat line, the master-slave arbitration and master-slave switching are carried out, and the conduction and disconnection of the solid-state relay are controlled to connect or disconnect the current signal and HART signal with the load, and the master-slave module information is synchronized through the synchronous communication line. At the same time, the MCU module re-encodes the HART readback information and uploads it to the communication bus.

[0114] The device of the present invention realizes redundant output of the module with HART protocol analog output, and redundant synchronization information and redundant state judgment can be directly sent, received and judged by the module with HART protocol analog output.

[0115] The present invention discloses a control system with HART protocol analog output, which is used to realize instrument-level redundant control, so as to optimize the HART instrument redundant control effect, reduce the controller decision process, realize faster redundant switching, and increase the reliability of the system.

[0116] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0117] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A control system with HART protocol analog output, characterized in that: include: A redundant control module, a synchronization bus and a communication bus, wherein the redundant control module includes a first AOHART module and a second AOHART module, and the first AOHART module and the second AOHART module are both connected to the communication bus; The first AOHART module is used to generate a first health value according to the fault data of the first AOHART module, the second AOHART module is used to generate a second health value according to the fault data of the second AOHART module, and the first AOHART module and the second AOHART module synchronize the first health value and the second health value through the synchronization bus; The redundant control module is used to set one of the first AOHART module and the second AOHART module as a main module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value; the main module is used to output HART protocol analog quantity.

2. The control system with HART protocol analog output according to claim 1, characterized in that: In the aspect that the redundant control module is used to set one of the first AOHART module and the second AOHART module as a master module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value, the redundant control module is specifically used to: When the first AOHART module fails to detect the heartbeat signal of the second AOHART module, setting the first AOHART module as the main module; When the first AOHART module is able to monitor the heartbeat signal of the second AOHART module and the first health value is greater than the second health value, setting the first AOHART module as a standby module; When the first AOHART module is able to monitor the heartbeat signal of the second AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both standby modules, if the priority of the first AOHART module is greater than the priority of the second AOHART module, the first AOHART module is set as the main module; When the first AOHART module is able to monitor the heartbeat signal of the second AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both main modules, if the priority of the first AOHART module is less than the priority of the second AOHART module, the first AOHART module is set as a standby module.

3. The control system with HART protocol analog output according to claim 2, characterized in that: In the aspect that the redundant control module is used to set one of the first AOHART module and the second AOHART module as a master module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value, the redundant control module is specifically further used to: When the second AOHART module fails to detect the heartbeat signal of the first AOHART module, setting the second AOHART module as the main module; When the second AOHART module is able to monitor the heartbeat signal of the first AOHART module and the second health value is greater than the first health value, setting the second AOHART module as a standby module; When the second AOHART module is able to monitor the heartbeat signal of the first AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both standby modules, if the priority of the second AOHART module is greater than the priority of the first AOHART module, the second AOHART module is set as the main module; When the second AOHART module is able to monitor the heartbeat signal of the first AOHART module, the first health value is equal to the second health value, and it is detected that the first AOHART module and the second AOHART module are both main modules, if the priority of the second AOHART module is lower than the priority of the first AOHART module, the second AOHART module is set as a standby module.

4. The control system with HART protocol analog output according to claim 1, characterized in that: The first AOHART module and the second AOHART module each include a solid-state relay, an AO interface circuit, a HART interface circuit, a communication circuit and an MCU; The MCU of the first AOHART module and the MCU of the second AOHART module are connected via the synchronous bus; In the first AOHART module or the second AOHART module: The communication circuit is used to connect the MCU and the communication bus; The AO interface circuit is used to convert the digital signal output by the digital-to-analog conversion interface of the MCU into an analog signal and output it to the solid-state relay; The HART interface circuit is used to convert the HART command output by the MCU into a HART signal and output it to the solid-state relay; The MCU is used to set the current AOHART module as a main module or a standby module according to the heartbeat signal of the first AOHART module, the heartbeat signal of the second AOHART module, the first health value and the second health value; the current AOHART module is the first AOHART module or the second AOHART module; The solid-state relay is used to output the HART protocol analog quantity when the MCU sets the current AOHART module as the main module, and not output the HART protocol analog quantity when the MCU sets the current AOHART module as the standby module; the HART protocol analog quantity is the result of the superposition of the analog quantity signal and the HART signal.

5. The control system with HART protocol analog output according to claim 4, characterized in that: The analog signal is a 4-20mA analog signal.

6. The control system with HART protocol analog output according to claim 1, characterized in that: In terms of the first AOHART module being used to generate a first health value according to the fault data of the first AOHART module, the first AOHART module is specifically used to: Sorting the fault data of the first AOHART module from low to high severity levels to generate a first fault set; Assigning a value to each fault element in the first fault set to obtain a first fault value set; The first fault value set satisfies: on the premise that the order of the fault value elements in the first fault value set remains unchanged, the fault value elements in the first fault value set are divided into multiple subsets, and any fault value in the i-th subset is greater than the sum of all fault values ​​in the 1st subset to the i-1th subset, where i is an integer greater than 1; The values ​​in the first fault value set are summed to obtain a first health value.

7. The control system with HART protocol analog output according to claim 1, characterized in that: In terms of the second AOHART module being used to generate a second health value according to the fault data of the second AOHART module, the second AOHART module is specifically used to: sorting the fault data of the second AOHART module from low to high according to the severity level to generate a second fault set; Assign a value to each fault element in the second fault set to obtain a second fault value set; the second fault value set satisfies: on the premise that the order of the fault value elements in the second fault value set remains unchanged, the fault value elements in the second fault value set are divided into multiple subsets, and any fault value in the i-th subset is greater than the sum of all fault values ​​in the 1st subset to the i-1th subset, where i is an integer greater than 1; The values ​​in the second fault value set are summed to obtain a second health value.

8. The control system with HART protocol analog output according to claim 1, characterized in that: The synchronization bus includes a synchronization signal line and a synchronization heartbeat line, the synchronization heartbeat line is used to synchronize the heartbeat signal of the first AOHART module and the heartbeat signal of the second AOHART module, and the synchronization signal line is used to synchronize the first health value and the second health value.