Analog quantity output device, control method thereof and industrial control system

By designing analog output devices in industrial control systems, including analog current output circuits and disconnection monitoring circuits, the problem of the system's lack of fault detection capabilities is solved, fast and accurate fault diagnosis is achieved, and the safety and efficiency of the system are improved. .

CN118605328APending Publication Date: 2024-09-06STATE NUCLEAR POWER AUTOMATION SYST ENGCO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410854435.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing industrial control systems lack fault detection capabilities and cannot detect faults in time, leading to accidents and endangering the safety of personnel and equipment.

Method used

An analog output device is designed, including an analog current output circuit, a current readback circuit, a first load disconnection monitoring circuit, a second load disconnection monitoring circuit and a controller. Through these circuits and controllers, judgments can be made quickly and accurately. The current output condition and the disconnection condition of the external load can be used to diagnose the cause of the fault.

Benefits of technology

It improves the safety, reliability and efficiency of industrial control systems, reduces maintenance costs, and ensures smooth production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118605328A
    Figure CN118605328A
Patent Text Reader

Abstract

The invention provides an analog quantity output device, a control method thereof and an industrial control system. The analog quantity output device comprises an analog quantity current output circuit, a current read-back circuit, a first load disconnection monitoring circuit, a second load disconnection monitoring circuit and a controller, the analog quantity current output circuit is used for outputting direct current; the current read-back circuit is used for monitoring the voltage value of the output end of the analog quantity current output circuit; the first load disconnection monitoring circuit measures the voltage value of the output end of the analog quantity current output circuit; the second load disconnection monitoring circuit measures a voltage signal of the output end of the analog quantity current output circuit; the controller outputs a fault result according to the above measured values, and rapidly and accurately judges the current output condition and the disconnection condition of the external load, thereby improving the safety, reliability and efficiency of the industrial control system, reducing the maintenance cost, and guaranteeing the smooth production.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of industrial control systems, and in particular, to an analog output device and a control method thereof, and an industrial control system. Background Art

[0002] In the field of industrial control systems based on computer technology, in order to ensure the reliability of the control system, the control system is required to have the ability of online fault diagnosis. Lack of fault diagnosis capability may lead to failure to timely discover faults in the system, thereby increasing the possibility of accidents and endangering the safety of personnel and equipment. Lack of fault diagnosis capability may also lead to failure to repair faults in time, resulting in production interruption and production loss. Timely fault diagnosis can reduce the cost of system maintenance, avoid production stagnation and equipment damage caused by faults, and improve the maintenance efficiency of the system. Through fault diagnosis, we can deeply understand the operation of the system, provide data support for performance optimization, and improve the operation efficiency and production quality of the system. In summary, fault diagnosis capability is an indispensable function in industrial control systems, which helps to improve the safety, reliability and efficiency of the system, reduce maintenance costs, and ensure smooth production. Summary of the invention

[0003] The technical problem to be solved by the present disclosure is to overcome the defects in the prior art that the industrial control system lacks fault detection capability, cannot timely discover faults that lead to accidents, and endangers the safety of personnel and equipment, and to provide an analog output device and its control method, and an industrial control system.

[0004] The present disclosure solves the above technical problems through the following technical solutions: The present disclosure provides an analog output device, including: an analog current output circuit, a current readback circuit, a first load disconnection monitoring circuit, a second load disconnection monitoring circuit and a controller;

[0005] The output end of the analog current output circuit is respectively connected to the external load, the input end of the current readback circuit, the input end of the first load disconnection monitoring circuit, and the input end of the second load disconnection monitoring circuit, and the analog current output circuit is used to output a direct current;

[0006] The current readback circuit is used to monitor the voltage value of the output end of the analog current output circuit;

[0007] The first load disconnection monitoring circuit is used to measure the voltage value of the output end of the analog current output circuit;

[0008] The second load disconnection monitoring circuit is used to measure the voltage signal at the output end of the analog current output circuit;

[0009] The controller is electrically connected to the current reading back circuit, the first load disconnection monitoring circuit, and the second load disconnection monitoring circuit respectively;

[0010] The controller is used to calculate the current value of the output end of the analog current output circuit according to the voltage value monitored by the current readback circuit;

[0011] The controller is further configured to output a disconnection diagnosis result according to the current value, the voltage value and the voltage signal.

[0012] Optionally, the analog current output circuit includes: a DA chip, a first operational amplifier, a second operational amplifier and a sampling resistor;

[0013] The DA chip is connected to the non-inverting input terminal of the first operational amplifier, the inverting input terminal of the first operational amplifier is connected to the output terminal of the first operational amplifier, the output terminal of the first operational amplifier is connected to the non-inverting input terminal of the second operational amplifier, the output terminal of the second operational amplifier is connected to the external load, one end of the sampling resistor is connected to the inverting input terminal of the second operational amplifier, and the other end is grounded.

[0014] Optionally, the analog current output circuit further includes: a switch; the output end of the analog current output circuit is connected to the external load through the switch; and the switch is used to control cutting off the current of the external load according to an input signal.

[0015] Optionally, the current readback circuit includes: a third operational amplifier, a fourth operational amplifier, a fifth operational amplifier and an AD chip;

[0016] The non-inverting input terminal of the third operational amplifier is connected to the sampling resistor, the inverting input terminal of the third operational amplifier is connected to the output terminal of the third operational amplifier, the output terminal of the third operational amplifier is connected to the non-inverting input terminal of the fourth operational amplifier, the inverting input terminal of the fourth operational amplifier is connected to the output terminal of the fourth operational amplifier, the output terminal of the fourth operational amplifier is connected to the non-inverting input terminal of the fifth operational amplifier, the inverting input terminal of the fifth operational amplifier is connected to the output terminal of the fifth operational amplifier, and the output terminal of the fifth operational amplifier is connected to the AD chip.

[0017] Optionally, the first load disconnection monitoring circuit includes: a sixth operational amplifier, a seventh operational amplifier, an eighth operational amplifier and a second AD chip;

[0018] The non-inverting input terminal of the sixth operational amplifier is connected to the output terminal of the second operational amplifier, the inverting input terminal of the sixth operational amplifier is connected to the output terminal of the sixth operational amplifier, the output terminal of the sixth operational amplifier is connected to the non-inverting input terminal of the seventh operational amplifier, the inverting input terminal of the seventh operational amplifier is connected to the output terminal of the seventh operational amplifier, the output terminal of the seventh operational amplifier is connected to the non-inverting input terminal of the eighth operational amplifier, the inverting input terminal of the eighth operational amplifier is connected to the output terminal of the eighth operational amplifier, and the output terminal of the eighth operational amplifier is connected to the second AD chip.

[0019] Optionally, the second load disconnection monitoring circuit comprises: a first comparator, a second comparator, a first resistor and a second resistor;

[0020] The analog current output circuit is respectively connected to the positive input terminal of the first comparator and the negative input terminal of the second comparator, one end of the first resistor is connected to the negative input terminal of the first comparator, and the other end is grounded, and one end of the second resistor is connected to the positive input terminal of the second comparator, and the other end is grounded.

[0021] Optionally, the second load disconnection monitoring circuit further includes: an oscilloscope;

[0022] The oscilloscope is connected to the output end of the first comparator and the output end of the second comparator respectively.

[0023] Optionally, the analog output device further includes: a display, which is electrically connected to the controller and is used to display the output fault result.

[0024] A control method for an analog output device, the control method for an analog output device being applied to any one of the above analog output devices, the control method for an analog output device comprising:

[0025] The analog current output circuit outputs a direct current;

[0026] The current readback circuit monitors the voltage value of the output end of the analog current output circuit;

[0027] The first load disconnection monitoring circuit measures the voltage value at the output end of the analog current output circuit;

[0028] The second load disconnection monitoring circuit measures the voltage signal at the output end of the analog current output circuit;

[0029] The controller calculates the current value of the output end of the analog current output circuit according to the voltage value monitored by the current readback circuit;

[0030] The controller outputs a wire breakage diagnosis result according to the current value, the voltage value, and the voltage signal.

[0031] An industrial control system comprises any one of the analog output devices described above.

[0032] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.

[0033] The positive and progressive effect of the present disclosure is that the voltage value monitored by the current readback circuit is combined with the voltage value monitored by the first load disconnection monitoring circuit and the voltage signal monitored by the second load disconnection monitoring circuit to quickly and accurately judge the current output and disconnection of the external load, diagnose the cause of the fault, provide data support for performance optimization, and improve the operating efficiency and production quality of the system. The safety, reliability and efficiency of the industrial control system are improved, the maintenance cost is reduced, and the smooth production is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A module diagram of an analog output device provided by an exemplary embodiment of the present disclosure.

[0035] Figure 2 A circuit diagram of an analog current output circuit provided by an exemplary embodiment of the present disclosure.

[0036] Figure 3 A circuit diagram of a current readback circuit provided by an exemplary embodiment of the present disclosure.

[0037] Figure 4 A circuit diagram of a first load disconnection monitoring circuit provided by an exemplary embodiment of the present disclosure.

[0038] Figure 5 A circuit diagram of a second load disconnection monitoring circuit provided by an exemplary embodiment of the present disclosure.

[0039] Figure 6 A waveform diagram of an output result of a second load disconnection monitoring circuit provided by an exemplary embodiment of the present disclosure.

[0040] Figure 7 The present invention provides a flowchart of a control method for an analog output device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0041] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.

[0042] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.

[0043] Example 1

[0044] Figure 1 A block diagram of an analog output device provided by an exemplary embodiment of the present disclosure, the analog output device comprises: an analog current output circuit 101, a current readback circuit 102, a first load disconnection monitoring circuit 103, a second load disconnection monitoring circuit 104 and a controller 105;

[0045] The output end of the analog current output circuit 101 is respectively connected to the external load, the input end of the current readback circuit 102, the input end of the first load disconnection monitoring circuit 103, and the input end of the second load disconnection monitoring circuit 104. The analog current output circuit 101 is used to output a direct current;

[0046] The current readback circuit 102 is used to monitor the voltage value at the output end of the analog current output circuit 101;

[0047] The first load disconnection monitoring circuit 103 is used to measure the voltage value at the output end of the analog current output circuit 101;

[0048] The second load disconnection monitoring circuit 104 is used to measure the voltage signal at the output end of the analog current output circuit 101;

[0049] The controller 105 is electrically connected to the current reading circuit 102 , the first load disconnection monitoring circuit 103 , and the second load disconnection monitoring circuit 104 , respectively;

[0050] The controller 105 calculates the current value at the output end of the analog current output circuit 101 according to the voltage value monitored by the current read-back circuit 102;

[0051] The controller 105 is used to output a disconnection diagnosis result according to the current value, the voltage value and the voltage signal.

[0052] In this embodiment, the analog output device includes four circuits and a controller. The analog current output circuit 101 first outputs a certain range of direct current. The specific range can be changed by adjusting the circuit elements, such as adjusting the resistance value. The current readback circuit 102 monitors the voltage value at the output end of the analog current output circuit 101. The controller 105 calculates the current value output by the analog current output circuit 101 according to the monitored voltage value, and compares it with the current directly output by the analog current output circuit 101 to monitor whether the output of the analog current is normal. The first load disconnection monitoring circuit 103 monitors the voltage value at the output end of the analog current output circuit 101. When the external load is disconnected, the voltage at the output end of the analog current output circuit 101 will be the voltage value of the positive power supply or the negative power supply. The voltage value monitored by the first load disconnection monitoring circuit 103 is compared with the preset value to obtain the disconnection fault state of the load. When the voltage value is greater than the preset value, it indicates that the external load is in a disconnection state. The second load disconnection monitoring circuit 104 monitors the voltage signal at the output end of the analog current output circuit 101. The voltage signal is two signals SIG0 and SIG1. When one of the voltage signals is low and the other is high, it indicates that the monitored voltage value exceeds the normal operating range of the load and is in a disconnected state; when both of the voltage signals are high, it indicates that the second load disconnection monitoring circuit itself has a fault; when both of the voltage signals are low, it indicates that the monitored voltage value does not exceed the normal operating range of the load and is in an operating state. The controller 105 compares the results monitored by the first load disconnection monitoring circuit 103 and the second load disconnection monitoring circuit 104. When the results monitored by the first load disconnection monitoring circuit 103 and the second load disconnection monitoring circuit 104 are the same, the controller 105 quickly infers the disconnection of the external load in combination with the current value output by the analog current output circuit 101; when the results monitored by the first load disconnection monitoring circuit 103 and the second load disconnection monitoring circuit 104 are different, the current output by the analog current output circuit 103 is cut off.

[0053] This embodiment combines the voltage value monitored by the current readback circuit 102 with the voltage value monitored by the first load disconnection monitoring circuit 103 and the voltage signal monitored by the second load disconnection monitoring circuit 104 to quickly and accurately determine the current output and disconnection of the external load, diagnose the cause of the fault, provide data support for the performance optimization of the external load, and improve the operating efficiency and production quality of the system. The safety, reliability and efficiency of the industrial control system are improved, the maintenance cost is reduced, and the smooth production is guaranteed.

[0054] Figure 2 A circuit diagram of an analog current output circuit provided by an exemplary embodiment of the present disclosure, the analog current output circuit 101 includes: a DA chip U9, a first operational amplifier U10, a second operational amplifier U11 and a sampling resistor R34;

[0055] The DA chip U9 is connected to the non-inverting input terminal of the first operational amplifier U10, the inverting input terminal of the first operational amplifier U10 is connected to the output terminal of the first operational amplifier U10, the output terminal of the first operational amplifier U10 is connected to the non-inverting input terminal of the second operational amplifier U11, the output terminal of the second operational amplifier U11 is connected to an external load, one end of the sampling resistor R34 is connected to the inverting input terminal of the second operational amplifier U11, and the other end is grounded.

[0056] In this embodiment, the DA (digital-to-analog converter) chip U9 controls the output of the DC voltage through the SPI (serial peripheral interface), the VOUT pin of the DA chip U9 is connected to the positive input of the first operational amplifier U10, and the negative input of the first operational amplifier U10 is connected to the output of the first operational amplifier U10; the positive power interface of the first operational amplifier U10 is connected to the +15V power supply, and the negative power interface is connected to the -15V power supply. The specific power supply voltage connected can be changed according to actual needs. The output of the first operational amplifier U10 is connected to the positive input of the second operational amplifier U11, and the negative input of the second operational amplifier U11 is connected to the sampling resistor R34 and the external load; the positive power interface of the second operational amplifier U11 is connected to the +15V power supply, and the negative power interface is connected to the -15V power supply; the output of the second operational amplifier U11 is connected to the external load and outputs a DC current, and the size of the DC current can be obtained by changing the circuit design according to actual needs. The resistance values ​​of other resistors and the capacitance values ​​of capacitors in the circuit can be changed according to the output current requirements.

[0057] In this embodiment, the DA chip U9 is connected to two operational amplifiers and an external load in sequence, the positive voltage output by the DA chip U9 is converted into positive and negative voltages, and the output range of the voltage, the output voltage and the analog current are adjusted. The value of the output analog current can be precisely controlled by changing the values ​​of the circuit elements, such as adjusting the resistance value to control the output current, thereby providing suitable analog current power supply for the external load.

[0058] In one embodiment, the analog current output circuit 101 further includes: a switch U13; the output end of the analog current output circuit 101 is connected to an external load through the switch U13; the switch U13 is used to control cutting off the current of the external load according to an input signal.

[0059] When it is necessary to disconnect the power supply to the external load, the controller 105 obtains the instruction input by the user and converts it into a signal input to the switch U13, and the switch U13 is disconnected to cut off the power supply to the external load.

[0060] In this embodiment, a switch U13 is provided between the second operational amplifier U11 and the external load. The connection and disconnection of the switch U13 are controlled by a signal, so that the power supply of the external load is automatically cut off or restored according to the input instruction converted into a signal.

[0061] Figure 3 A circuit diagram of a current readback circuit provided by an exemplary embodiment of the present disclosure, the current readback circuit 102 includes: a third operational amplifier U19, a fourth operational amplifier U16, a fifth operational amplifier U18 and an AD chip U15;

[0062] The non-inverting input terminal of the third operational amplifier U19 is connected to the sampling resistor R34, the inverting input terminal of the third operational amplifier U19 is connected to the output terminal of the third operational amplifier U19, the output terminal of the third operational amplifier U19 is connected to the non-inverting input terminal of the fourth operational amplifier U16, the inverting input terminal of the fourth operational amplifier U16 is connected to the output terminal of the fourth operational amplifier U16, the output terminal of the fourth operational amplifier U16 is connected to the non-inverting input terminal of the fifth operational amplifier U18, the inverting input terminal of the fifth operational amplifier U18 is connected to the output terminal of the fifth operational amplifier U18, and the output terminal of the fifth operational amplifier U18 is connected to the AD chip U15.

[0063] In this embodiment, the input end of the third operational amplifier U19 is connected to the sampling resistor R34, and the voltage signal passes through the third operational amplifier U19, the fourth operational amplifier U16 and the fifth operational amplifier U18 in sequence, and the voltage collected on the sampling resistor R34 is provided to the AD chip U15 for sampling. The corresponding electronic component parameters on the current readback circuit 102 can be changed according to demand, such as the resistance value and the capacitance value. The current readback circuit 102 outputs the measured voltage value of the sampling resistor R34, that is, the voltage value output by the second operational amplifier U11. The controller 105 calculates the current value output by the second operational amplifier U11 based on the voltage value. The specific calculation method is to use the monitored voltage value and the amplification factor of the current readback circuit 102 to calculate the actual voltage value, and then remove the resistance value of the corresponding component in the circuit to obtain the actual measured current value, and compare the current value with the current value output by the analog current output circuit 101 to obtain the fault result.

[0064] In this embodiment, the voltage value of the sampling resistor R34 is monitored by the current readback circuit 102, and the current value is obtained through a series of calculations, and compared with the current value output by the analog current output circuit 101 to obtain a fault result. For example, when the difference between the monitored current and the output current exceeds ±0.5% of the output current, it indicates that there is a fault in the analog current output circuit, and the output current quality is monitored in real time.

[0065] Figure 4A circuit diagram of a first load disconnection monitoring circuit provided by an exemplary embodiment of the present disclosure, the first load disconnection monitoring circuit 103 comprises: a sixth operational amplifier U5, a seventh operational amplifier U4, an eighth operational amplifier U6, and a second AD chip U3;

[0066] The non-inverting input terminal of the sixth operational amplifier U5 is connected to the output terminal of the second operational amplifier U11, the inverting input terminal of the sixth operational amplifier U5 is connected to the output terminal of the sixth operational amplifier U5, the output terminal of the sixth operational amplifier U5 is connected to the non-inverting input terminal of the seventh operational amplifier U4, the inverting input terminal of the seventh operational amplifier U4 is connected to the output terminal of the seventh operational amplifier U4, the output terminal of the seventh operational amplifier U4 is connected to the non-inverting input terminal of the eighth operational amplifier U6, the inverting input terminal of the eighth operational amplifier U6 is connected to the output terminal of the eighth operational amplifier U6, and the output terminal of the eighth operational amplifier U6 is connected to the second AD chip U3.

[0067] In this embodiment, the input end of the sixth operational amplifier U5 in the first load disconnection monitoring circuit 103 is connected to the output end of the second operational amplifier U11 to obtain the voltage value output by the second operational amplifier U11, and the analog signal is converted into a digital signal after being amplified by the sixth operational amplifier U5, the seventh operational amplifier U4 and the eighth operational amplifier U6 and input into the AD chip U3 to obtain the voltage value output by the second operational amplifier U11, and the voltage value is compared with the preset value to obtain the disconnection fault state of the external load. The preset value is obtained by multiple experiments. For example, when the preset value is +13V, when the monitored voltage value is less than +13V, it indicates that the circuit is in a disconnection state.

[0068] This embodiment directly measures the voltage value of the corresponding node by connecting three operational amplifiers and an AD chip in sequence, and compares it with the preset value to obtain the disconnection fault state of the external load. In the case of external load disconnection, it can measure the voltage value under continuous current change and perform multiple comparisons to improve the measurement accuracy and complete fault monitoring.

[0069] Figure 5 A circuit diagram of a second load disconnection monitoring circuit provided by an exemplary embodiment of the present disclosure, the second load disconnection monitoring circuit 104 comprises: a first comparator U23, a second comparator U24, a first resistor R51 and a second resistor R52;

[0070] The analog current output circuit 101 is respectively connected to the positive input terminal of the first comparator U23 and the negative input terminal of the second comparator U24, one end of the first resistor R51 is connected to the negative input terminal of the first comparator U23, and the other end is grounded, and one end of the second resistor R52 is connected to the positive input terminal of the second comparator U24, and the other end is grounded.

[0071] In this embodiment, the analog current output circuit 101 inputs the voltage signal into the positive input terminal of the first comparator U23 and the negative input terminal of the second comparator U24 respectively, the +13V voltage signal is input into the negative input terminal of the first comparator U23, and the -13V voltage signal is input into the positive input terminal of the second comparator U24. The two comparators compare the voltage signals and output two signals SIG0 and SIG1. When SIG0 outputs 0 and SIG1 outputs 1, it indicates that the monitored voltage value is greater than +13V; when SIG0 outputs 1 and SIG1 outputs 0, it indicates that the monitored voltage value is less than -13V; when SIG0 outputs 0 and SIG1 outputs 0, it indicates that the monitored voltage value is greater than -13V and less than +13V. The load disconnection state is determined according to the output signals. When the voltage signals are both low in one direction and high in the other, it indicates that the monitored voltage value exceeds the normal operating range of the load and is in a disconnected state; when the voltage signals are both low in one direction, it indicates that the monitored voltage value does not exceed the normal operating range of the load and is in an operating state.

[0072] This embodiment outputs two signals by inputting the voltage signal of the analog current output circuit 101 into two comparators respectively, and determines the disconnection status of the external load according to the logic of the two output signals, and intuitively determines the disconnection status of the external load according to the output signal results.

[0073] Figure 6 To provide a waveform diagram of the output result of the second load disconnection monitoring circuit for an exemplary embodiment of the present disclosure, the second load disconnection monitoring circuit 104 further includes: an oscilloscope;

[0074] The oscilloscope is connected to the output end of the first comparator U23 and the output end of the second comparator U24 respectively.

[0075] In this embodiment, two comparators are connected through an oscilloscope, and the output results of the comparators are displayed in the form of a waveform diagram. When the voltage signal is at a low level in one direction and a high level in the other direction, it indicates that the monitored voltage value exceeds the normal operating range of the load and is in a disconnected state; when the voltage signals are both at a high level, it indicates that the second load disconnection monitoring circuit itself has a fault; when the voltage signals are both at a low level, it indicates that the monitored voltage value does not exceed the normal operating range of the load and is in an operating state, which allows users to more clearly and intuitively judge the disconnection status of the external load.

[0076] In one embodiment, the analog output device further includes: a display, which is electrically connected to the controller 105 and is used to display the output fault result.

[0077] In this embodiment, the controller 105 in the analog output device is connected to a display. The controller 105 determines the cause of the fault according to the monitoring result and displays it on the display, so that the user can intuitively understand the cause of the fault.

[0078] Example 2

[0079] Corresponding to the aforementioned analog output device embodiment, the present disclosure also provides an embodiment of a control method of the analog output device.

[0080] Figure 7 A flowchart of a control method for an analog output device is provided for an exemplary embodiment of the present disclosure. The control method for the analog output device is applied to the analog output device described in any one of the above embodiments. The control method for the analog output device includes:

[0081] Step 701, the analog current output circuit 101 outputs a direct current;

[0082] Step 702, the current read-back circuit 102 monitors the voltage value at the output end of the analog current output circuit 101;

[0083] Step 703, the first load disconnection monitoring circuit 103 measures the voltage value at the output end of the analog current output circuit 101;

[0084] Step 704, the second load disconnection monitoring circuit 104 measures the voltage signal at the output end of the analog current output circuit 101;

[0085] Step 705, the controller 105 calculates the current value at the output end of the analog current output circuit 101 according to the voltage value monitored by the current read-back circuit 102;

[0086] Step 706 : The controller 105 outputs a disconnection diagnosis result according to the current value, the voltage value and the voltage signal.

[0087] In this embodiment, the analog output device includes four circuits and a controller. The analog current output circuit 101 first outputs a certain range of direct current. The specific range can be changed by adjusting the circuit elements, such as adjusting the resistance value. The current readback circuit 102 monitors the voltage value at the output end of the analog current output circuit 101. The controller 105 calculates the current value output by the analog current output circuit 101 according to the monitored voltage value, and compares it with the current directly output by the analog current output circuit 101 to monitor whether the output of the analog current is normal. The first load disconnection monitoring circuit 103 monitors the voltage value at the output end of the analog current output circuit 101. When the external load is disconnected, the voltage at the output end of the analog current output circuit 101 will be the voltage value of the positive power supply or the negative power supply. The voltage value monitored by the first load disconnection monitoring circuit 103 is compared with the preset value to obtain the disconnection fault state of the load. When the voltage value is greater than the preset value, it indicates that the external load is in a disconnection state. The second load disconnection monitoring circuit 104 monitors the voltage signal at the output end of the analog current output circuit 101. The voltage signal is two signals SIG0 and SIG1. When the voltage signals are both low level and high level, it means that the monitored voltage value exceeds the normal operating range of the load and is in a disconnected state; when the voltage signals are both low level, it means that the monitored voltage value does not exceed the normal operating range of the load and is in an operating state. The controller 105 compares the results monitored by the first load disconnection monitoring circuit 103 and the second load disconnection monitoring circuit 104 with each other, and then combines the current value output by the analog current output circuit 101 to quickly infer the disconnection of the external load.

[0088] This embodiment combines the voltage value monitored by the current readback circuit 102 with the voltage value monitored by the first load disconnection monitoring circuit 103 and the voltage signal monitored by the second load disconnection monitoring circuit 104 to quickly and accurately determine the current output and the disconnection of the external load, diagnose the cause of the fault, provide data support for performance optimization, and improve the operating efficiency and production quality of the system. The safety, reliability and efficiency of the industrial control system are improved, the maintenance cost is reduced, and the smooth production is guaranteed.

[0089] Embodiment 8 is an industrial control system, comprising the analog output device described in any one of the above embodiments.

[0090] This embodiment applies the analog output device to the industrial control system, expands the fault monitoring capability of the industrial control system itself, and improves the reliability of the industrial control system.

[0091] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.

Claims

1. An analog output device, characterized in that: include: Analog current output circuit, current readback circuit, first load disconnection monitoring circuit, second load disconnection monitoring circuit and controller; The output end of the analog current output circuit is respectively connected to the external load, the input end of the current readback circuit, the input end of the first load disconnection monitoring circuit, and the input end of the second load disconnection monitoring circuit, and the analog current output circuit is used to output a direct current; The current readback circuit is used to monitor the voltage value of the output end of the analog current output circuit; The first load disconnection monitoring circuit is used to measure the voltage value of the output end of the analog current output circuit; The second load disconnection monitoring circuit is used to measure the voltage signal at the output end of the analog current output circuit; The controller is electrically connected to the current reading back circuit, the first load disconnection monitoring circuit, and the second load disconnection monitoring circuit respectively; The controller is used to calculate the current value of the output end of the analog current output circuit according to the voltage value monitored by the current readback circuit; The controller is further configured to output a disconnection diagnosis result according to the current value, the voltage value and the voltage signal.

2. The analog output device according to claim 1, characterized in that: The analog current output circuit comprises: a DA chip, a first operational amplifier, a second operational amplifier and a sampling resistor; The DA chip is connected to the non-inverting input terminal of the first operational amplifier, the inverting input terminal of the first operational amplifier is connected to the output terminal of the first operational amplifier, the output terminal of the first operational amplifier is connected to the non-inverting input terminal of the second operational amplifier, the output terminal of the second operational amplifier is connected to the external load, one end of the sampling resistor is connected to the inverting input terminal of the second operational amplifier, and the other end is grounded.

3. The analog output device according to claim 2, characterized in that: The analog current output circuit also includes: a switch; the output end of the analog current output circuit is connected to the external load through the switch; the switch is used to control cutting off the current of the external load according to the input signal.

4. The analog output device according to claim 2, characterized in that: The current readback circuit includes: a third operational amplifier, a fourth operational amplifier, a fifth operational amplifier and an AD chip; The non-inverting input terminal of the third operational amplifier is connected to the sampling resistor, the inverting input terminal of the third operational amplifier is connected to the output terminal of the third operational amplifier, the output terminal of the third operational amplifier is connected to the non-inverting input terminal of the fourth operational amplifier, the inverting input terminal of the fourth operational amplifier is connected to the output terminal of the fourth operational amplifier, the output terminal of the fourth operational amplifier is connected to the non-inverting input terminal of the fifth operational amplifier, the inverting input terminal of the fifth operational amplifier is connected to the output terminal of the fifth operational amplifier, and the output terminal of the fifth operational amplifier is connected to the AD chip.

5. The analog output device according to claim 4, characterized in that: The first load disconnection monitoring circuit comprises: a sixth operational amplifier, a seventh operational amplifier, an eighth operational amplifier and a second AD chip; The non-inverting input terminal of the sixth operational amplifier is connected to the output terminal of the second operational amplifier, the inverting input terminal of the sixth operational amplifier is connected to the output terminal of the sixth operational amplifier, the output terminal of the sixth operational amplifier is connected to the non-inverting input terminal of the seventh operational amplifier, the inverting input terminal of the seventh operational amplifier is connected to the output terminal of the seventh operational amplifier, the output terminal of the seventh operational amplifier is connected to the non-inverting input terminal of the eighth operational amplifier, the inverting input terminal of the eighth operational amplifier is connected to the output terminal of the eighth operational amplifier, and the output terminal of the eighth operational amplifier is connected to the second AD chip.

6. The analog output device according to claim 4, characterized in that: The second load disconnection monitoring circuit comprises: a first comparator, a second comparator, a first resistor and a second resistor; The analog current output circuit is respectively connected to the positive input terminal of the first comparator and the negative input terminal of the second comparator, one end of the first resistor is connected to the negative input terminal of the first comparator, and the other end is grounded, and one end of the second resistor is connected to the positive input terminal of the second comparator, and the other end is grounded.

7. The analog output device according to claim 6, characterized in that: The second load disconnection monitoring circuit further includes: an oscilloscope; The oscilloscope is connected to the output end of the first comparator and the output end of the second comparator respectively.

8. The analog output device according to claim 1, characterized in that: The analog output device further includes: a display, which is electrically connected to the controller and is used to display the output fault result.

9. A control method for an analog output device, characterized in that: The control method of the analog output device is applied to the analog output device according to any one of claims 1 to 8, and the control method of the analog output device includes: The analog current output circuit outputs a direct current; The current readback circuit monitors the voltage value of the output end of the analog current output circuit; The first load disconnection monitoring circuit measures the voltage value at the output end of the analog current output circuit; The second load disconnection monitoring circuit measures the voltage signal at the output end of the analog current output circuit; The controller calculates the current value of the output end of the analog current output circuit according to the voltage value monitored by the current readback circuit; The controller outputs a wire breakage diagnosis result according to the current value, the voltage value, and the voltage signal.

10. An industrial control system, characterized in that: include: An analog output device as claimed in any one of claims 1 to 8.