Digital quantity acquisition circuit with self-diagnosis function
By introducing the self-diagnosis function and the MCU's on-chip ADC into the digital acquisition circuit, combined with the resistor and operational amplifier circuit, the failure problem of the acquisition circuit in a high-voltage environment is solved, achieving true and effective acquisition of signals, reducing the risk of failure, and is suitable for Industrial control system applications.
Patent Information
- Application Number
- CN202420371998.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-28
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2034-02-28
AI Technical Summary
Existing digital acquisition circuits have a high failure rate in industrial control systems. In particular, optocoupler devices are prone to failure in high-voltage environments, resulting in inaccurate signal acquisition. Existing technologies cannot effectively solve this problem.
A digital acquisition circuit with self-diagnosis is designed. Different excitation voltages are provided through the diagnostic circuit. The on-chip ADC of the MCU is used to collect on-site switching signals. Combined with the resistor and operational amplifier circuit, the status of the acquisition circuit is judged and the risk of failure is reduced. , and is connected to the signal acquisition system through electrical isolation devices to ensure the reliability of signal acquisition.
The self-diagnosis function ensures that the collected signal status is real and effective, reducing the problem of mistaken acquisition due to acquisition circuit failure, improving the reliability and practicality of the circuit, and is suitable for industrial field applications without adding additional component costs. .
Smart Images

Figure CN221926967U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of industrial control, in particular to a digital quantity acquisition circuit with self-diagnosis. Background Art
[0002] As industrial control technology develops towards intelligence, industrial control systems have higher and higher requirements for the reliability and security of signal acquisition and processing. Therefore, industrial control systems are required to diagnose the signal acquisition and processing circuits themselves and related equipment and facilities (such as signal cables). Sufficient channel diagnostic circuits can ensure the reliability and security of the collected and processed signals. If the channel of the collected signal is disconnected or fails, the problem can be diagnosed immediately so that the system can take corresponding countermeasures to ensure the stable and reliable operation of the industrial control system.
[0003] At present, digital quantity acquisition circuits are mostly collected by optocouplers, and the diagnosis of the acquisition circuit also mostly uses optocouplers or optically isolated solid-state relays to simulate the input signal of the field switch action to diagnose the acquisition circuit. The basic failure rate of optocouplers in Telcordia (telecommunication industry network equipment construction system standard) (excluding environmental factors) is 30 (unit FIT, 10-9 / h), and the basic failure rate in GJBZ 299C-2006 is 0.0104 (unit 10-6 / h), which is a device with a relatively high failure rate. In actual product applications, especially when the transistor side of the optocoupler is placed in the field loop, a relatively high failure rate occurs. The reason is that the transistor or MOS tube is a voltage-sensitive device. In the industrial field, the high voltage generated by the field equipment line coupling or space radiation causes the transistor of the optocoupler to fail.
[0004] Currently, no effective solution has been proposed for the problems in the related technologies. Utility Model Content
[0005] In view of the problems in the related art, the utility model proposes a digital quantity acquisition circuit with self-diagnosis to overcome the above technical problems existing in the existing related art.
[0006] To this end, the specific technical solutions adopted by the utility model are as follows:
[0007] A digital quantity acquisition circuit with self-diagnosis, the digital quantity acquisition circuit comprising: an acquisition circuit, a diagnostic circuit, an on-site switch signal, a cable, a terminal, an MCU, an electrical isolation device and a signal acquisition system; wherein two ends of the on-site switch signal are respectively connected to one end of the terminal through a cable, the other ends of the terminal are connected to one end of the acquisition circuit and one end of the diagnostic circuit, the other ends of the acquisition circuit and the other ends of the diagnostic circuit are connected to one end of the MCU, the communication port of the MCU is connected to one end of the electrical isolation device, and the other end of the electrical isolation device is connected to the signal acquisition system.
[0008] Further, the diagnostic circuit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a switch K1 and a switch K2;
[0009] Among them, one end of the resistor R1 is connected to the other end of one of the terminals, one end of the resistor R2 is connected to the other end of the other terminal, the other end of the resistor R1 is respectively connected to one end of the resistor R3 and the acquisition circuit, the other end of the resistor R3 is connected to one end of the switch K1, the other end of the switch K1 is connected to the 24V voltage, the other end of the resistor R2 is respectively connected to the acquisition circuit and one end of the resistor R4, the other end of the resistor R43 is connected to one end of the switch K2, the other end of the switch K2 is grounded, the sliding end of the switch K1 is connected to the output 1 of the MCU, and the sliding end of the switch K2 is connected to the output 2 of the MCU.
[0010] Furthermore, the acquisition circuit includes a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11, a resistor R12, a resistor R13, a resistor R14, an operational amplifier OPA1, an operational amplifier OPA2, a field effect transistor Q1, a diode D1 and an on-chip ADC;
[0011] Among them, the other end of the resistor R1 is connected to one end of the resistor R5, one end of the resistor R7 and one end of the resistor R11, the other end of the resistor R5 is grounded, the other end of the resistor R7 is respectively connected to one end of the resistor R8 and channel 1 of the on-chip ADC, the other end of the resistor R8 is grounded, the other end of the resistor R11 is connected to the in-phase input end of the operational amplifier OPA1, the inverting input end of the operational amplifier OPA1 is connected to the output end of the operational amplifier OPA1 and one end of the resistor R13, the other end of the resistor R13 is connected to the drain of the field effect transistor Q1, and the source of the field effect transistor Q1 is respectively connected to the anode of the diode D1 and the resistor R 14 is connected to channel 2 of the on-chip ADC, the other end of resistor R14 is grounded, and the cathode of diode D1 is connected to the 3V3 power supply; the other end of resistor R2 is connected to one end of resistor R6, one end of resistor R9 and one end of resistor R12, the other end of resistor R6 is grounded, the other end of resistor R9 is connected to one end of resistor R10 and channel 3 of the on-chip ADC, the other end of resistor R10 is grounded, the other end of resistor R12 is connected to the non-inverting input end of operational amplifier OPA2, and the inverting input end of operational amplifier OPA2 is connected to the output end of operational amplifier OPA2 and the gate of field effect transistor Q1.
[0012] Furthermore, the on-chip ADC is located inside the MCU, the MCU is powered by 5V, and the field effect transistor Q1 is a PMOS tube.
[0013] Furthermore, the communication port of the MCU and the electrical isolation device, as well as the electrical isolation device and the signal acquisition system are connected via a communication bus.
[0014] Furthermore, the maximum operating voltage of the switch K1 and the switch K2 is not less than 36V, and the operating voltage of the operational amplifier OPA1 and the operational amplifier OPA2 is not less than 36V.
[0015] The beneficial effects of the utility model are as follows: by providing different excitation voltages through the diagnostic circuit, the acquisition circuit can acquire the expected different voltages as expected, thereby proving that the acquisition circuit works normally and has not failed, and then the state of the field switch signal acquired by it is real and valid, thereby eliminating the problem of mis-acquisition due to failure of the acquisition circuit. At the same time, by connecting switches, operational amplifiers and other devices in the circuit in series with resistors to protect the channel, the risk of circuit failure is further reduced. At the same time, benefiting from the development of chip technology, the on-chip ADC component is integrated on the MCU, and the acquisition of analog signals is realized without increasing the component cost, thereby improving the practicability of the circuit and being suitable for promotion and application in product development. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the utility model 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 utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 It is a circuit overall block diagram of a digital quantity acquisition circuit with self-diagnosis according to an embodiment of the utility model;
[0018] Figure 2 It is a circuit detailed block diagram of a digital quantity acquisition circuit with self-diagnosis according to an embodiment of the utility model;
[0019] Figure 3 It is a schematic diagram of the working process of a digital quantity acquisition circuit with self-diagnosis according to an embodiment of the utility model;
[0020] Figure 4 It is a normally open detailed block diagram of a cable diagnosis of a digital quantity acquisition circuit with self-diagnosis according to an embodiment of the utility model;
[0021] Figure 5 The invention discloses a normally closed cable diagnosis refinement block diagram of a digital quantity acquisition circuit with self-diagnosis according to an embodiment of the utility model. DETAILED DESCRIPTION
[0022] To further illustrate each embodiment, the present invention provides drawings, which are part of the disclosure of the present invention and are mainly used to illustrate the embodiments. They can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in the field should be able to understand other possible implementation methods and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.
[0023] According to an embodiment of the utility model, a digital quantity acquisition circuit with self-diagnosis is provided.
[0024] The present invention is now further described in conjunction with the accompanying drawings and specific implementation methods. Figure 1-Figure 3 As shown, according to the embodiment of the utility model, the digital quantity acquisition circuit with self-diagnosis includes: an acquisition circuit, a diagnostic circuit, a field switch signal, a cable, a terminal, an MCU, an electrical isolation device and a signal acquisition system;
[0025] Among them, both ends of the field switch signal are connected to one end of the terminal through a cable, and the other ends of the terminal are connected to one end of the acquisition circuit and one end of the diagnosis circuit. The other end of the acquisition circuit and the other end of the diagnosis circuit are connected to one end of the MCU. The communication port of the MCU is connected to one end of the electrical isolation device, and the other end of the electrical isolation device is connected to the signal acquisition system.
[0026] In one embodiment, the diagnostic circuit includes a resistor R1 , a resistor R2 , a resistor R3 , a resistor R4 , a switch K1 , and a switch K2 .
[0027] Among them, one end of the resistor R1 is connected to the other end of one of the terminals, one end of the resistor R2 is connected to the other end of the other terminal, the other end of the resistor R1 is respectively connected to one end of the resistor R3 and the acquisition circuit, the other end of the resistor R3 is connected to one end of the switch K1, the other end of the switch K1 is connected to the 24V voltage, the other end of the resistor R2 is respectively connected to the acquisition circuit and one end of the resistor R4, the other end of the resistor R43 is connected to one end of the switch K2, the other end of the switch K2 is grounded, the sliding end of the switch K1 is connected to the output 1 of the MCU, and the sliding end of the switch K2 is connected to the output 2 of the MCU.
[0028] In one embodiment, the acquisition circuit includes a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11, a resistor R12, a resistor R13, a resistor R14, an operational amplifier OPA1, an operational amplifier OPA2, a field effect transistor Q1, a diode D1 and an on-chip ADC;
[0029] Among them, the other end of the resistor R1 is connected to one end of the resistor R5, one end of the resistor R7 and one end of the resistor R11, the other end of the resistor R5 is grounded, the other end of the resistor R7 is respectively connected to one end of the resistor R8 and channel 1 of the on-chip ADC, the other end of the resistor R8 is grounded, the other end of the resistor R11 is connected to the in-phase input end of the operational amplifier OPA1, the inverting input end of the operational amplifier OPA1 is connected to the output end of the operational amplifier OPA1 and one end of the resistor R13, the other end of the resistor R13 is connected to the drain of the field effect transistor Q1, and the source of the field effect transistor Q1 is respectively connected to the anode of the diode D1 and the resistor R 14 is connected to channel 2 of the on-chip ADC, the other end of resistor R14 is grounded, and the cathode of diode D1 is connected to the 3V3 power supply; the other end of resistor R2 is connected to one end of resistor R6, one end of resistor R9 and one end of resistor R12, the other end of resistor R6 is grounded, the other end of resistor R9 is connected to one end of resistor R10 and channel 3 of the on-chip ADC, the other end of resistor R10 is grounded, the other end of resistor R12 is connected to the non-inverting input end of operational amplifier OPA2, and the inverting input end of operational amplifier OPA2 is connected to the output end of operational amplifier OPA2 and the gate of field effect transistor Q1.
[0030] In one embodiment, the on-chip ADC is located inside the MCU, the MCU is powered by 5V, and the field effect transistor Q1 is a PMOS tube.
[0031] In one embodiment, the communication port of the MCU and the electrical isolation device, as well as the electrical isolation device and the signal acquisition system are connected via a communication bus.
[0032] In one embodiment, the maximum operating voltage of the switch K1 and the switch K2 is not less than 36V, and the operating voltage of the operational amplifier OPA1 and the operational amplifier OPA2 is not less than 36V.
[0033] The working principle of the digital quantity acquisition circuit with self-diagnosis of the utility model is as follows: by applying a 24V excitation voltage to the field switch signal (field switch quantity signal), the state information (closed and open) of the field switch signal is represented by three voltage signals, and then collected by the on-chip ADC of the MCU, and at the same time, a diagnostic circuit is added to diagnose the working state of the acquisition circuit, and sent to the signal acquisition system, and the signal acquisition system judges the validity of the acquisition value to ensure that the switch state is collected safely and reliably, and no optocoupler devices are used in the acquisition circuit and diagnostic circuit related to the field. The specific circuit includes: acquisition circuit, diagnostic circuit, field switch signal, cable, terminal, MCU communication port, electrical isolation device, signal acquisition system. Among them, the input acquisition circuit also includes: voltage divider resistor circuit, operational amplifier circuit, MCU on-chip ADC; the diagnostic circuit includes: MCU output pin, electronic switch with overvoltage and overcurrent protection function; the above two circuits are key circuits. The field switch signal, cable, terminal, MCU communication port, electrical isolation device, signal acquisition system and other parts are auxiliary circuits used to support the complete operation of this circuit.
[0034] The voltage divider resistor circuit of the acquisition circuit includes: R5, R6, R7, R8, R9, R10 and 24V power supply (see attached Figure 2 ), the function of this voltage divider resistor circuit is: connected to the field switch signal through the terminal, when the field switch signal state is different (closed and open), different voltage values can be obtained at U1, U3 in the voltage divider resistor circuit and U2 voltage obtained through the operational amplifier circuit, thereby obtaining the field switch signal state.
[0035] The voltage divider resistor circuit of the acquisition circuit is followed by an operational amplifier circuit, which includes: R11, R12, OPA1, OPA2, R13, Q1, R14, D1, 3V3 power supply (see attached Figure 2). R9 is connected to the input + end of OPA1 to realize overvoltage and overcurrent protection of the input + of OPA1 to prevent the high voltage signal on site from damaging OPA1. R13 is connected to the input + end of OPA2 and has the same function as R11. OPA1 and OPA2 are realized as 1:1 unidirectional buffer amplifiers to provide high-input impedance to ensure the accuracy of the voltage-dividing values U1 and U2 of the voltage-dividing resistor circuit connected to the front end. Q1 is PMOS. When Figure 2 When the Ub voltage is higher than the Ua voltage, the PMOS is turned on, and R13 and R14 perform voltage division; and when the voltage divided by R14 is higher than 3.3V, the D1 diode will clamp the voltage divided by R12 to the sum of 3.3V and the voltage drop of the D1 tube (maximum tube voltage drop 1.25V), thereby ensuring that the voltage entering the on-chip ADC of the subsequent MCU does not exceed its maximum allowable value (the MCU is powered by 5V).
[0036] The operational amplifier circuit of the acquisition circuit is followed by the MCU's on-chip ADC (see Appendix Figure 2 ), the MCU's on-chip ADC connects the three voltage signals of U1, U2, and U3, and converts them into digital signals for the MCU to make logical judgments. At present, due to the development of chip technology, many MCUs have on-chip ADCs, and the price is not high, with a good cost performance, which is suitable for large-scale application and promotion in industrial sites, and will not increase product costs.
[0037] The diagnostic circuit of the acquisition circuit is between the acquisition circuit and the terminal, including: R1, K1, R3, R2, K2, R4, 24V power supply, MCU output 1, output 2 (see attached Figure 2 ); The function of this diagnostic circuit is to control the opening and closing of K1 and K2 through the output 1 and output 2 of the MCU, so that U1, U2, and U3 in the voltage-dividing resistor circuit obtain different voltages, and by comparing them with the expected values, it can be determined whether the acquisition circuit is working normally.
[0038] The MCU communication port, electrical isolation device, and signal acquisition system of the acquisition circuit are located behind the acquisition circuit. The function of the circuit is to transmit the information of the diagnostic circuit and the acquisition circuit to the signal acquisition system through the MCU communication port, and the information acquisition system comprehensively determines whether the signal is available; the electrical isolation device realizes the electrical isolation between the MCU communication port and the signal acquisition system to ensure that the signal acquisition system is not affected when there is a fault on the MCU communication port side.
[0039] In order to facilitate understanding of the above technical solution of the present invention, the working principle or operation method of the present invention in the actual process is described in detail below.
[0040] In practical applications, the digital quantity acquisition circuit with self-diagnosis function ( Figure 2 ) are shown in Table 1:
[0041] Table 1: Component parameters
[0042]
[0043]
[0044] The acquisition circuit and the diagnostic circuit form a closed loop, and the "Test pattern" method recommended in IEC61508 is used for diagnosis, that is, K1 and K2 are alternately opened and closed to change the input voltage of the acquisition circuit, and the acquisition circuit is observed to see whether it is normal, so as to determine whether the closed loop formed by the channel input acquisition circuit and the diagnostic circuit is working normally.
[0045] The specific working status is calculated as follows: Through circuit analysis, the voltages of U1, U2, and U3 can be calculated using the following formula:
[0046]
[0047] Note: For the voltage calculation of Ua and Ub, since the resistance of R7+R8 is more than 50 times greater than that of R5, the shunt of R7+R8 can be approximately ignored. Similarly, since the resistance of R9+R10 is more than 50 times greater than that of R5, the shunt of R9+R10 can be approximately ignored. When calculating the collected voltage, the expected value error interval is set to expected ±1 / 10, which can cover the error of 1 / 50.
[0048] When the field switch signal is closed, the data shown in Table 2 are calculated according to the above formulas 1, 2, and 3.
[0049] Table 2: On-site switch signal closing process status table
[0050]
[0051] When the field switch signal is disconnected, the data shown in Table 3 are calculated according to the above formulas 1, 2, and 3.
[0052] Table 3: On-site switch signal disconnection process status table
[0053]
[0054]
[0055] Note 1: 0 for output 2 (control K2) and output 1 (control K1) is low level (corresponding to control switch disconnected), and 1 is high level (corresponding to control switch closed)
[0056] Note 2: The voltage division of U1, U2, and U3 is calculated based on 24V voltage.
[0057] Note 3: When the voltage of U2 is higher than the ADC reference source (2.5V), its output is maximum.
[0058] As attached Figure 3 As shown, the steps of the MCU workflow of a digital quantity acquisition circuit with self-diagnosis function are as follows:
[0059] Step 1: MCU is powered on, MCU is initialized, and then the MCU unit performs self-test. If the MCU self-test passes, execute step 2, otherwise it will remain in the self-test state;
[0060] Step 2: MCU executes according to output 2 and output 1 in Table 2 and Table 3 according to the flow program number ①→②→③→④→①. If the values collected by the MCU's ADC at U1, U2, and U3 are consistent with Table 1, it means that the field switch signal state is closed; if the values collected by the MCU's ADC at U1, U2, and U3 are consistent with Table 2, it means that the field switch signal state is disconnected and the acquisition circuit state is normal; otherwise, the acquisition circuit state is abnormal.
[0061] Step 3: The MCU sends the state of the acquisition circuit of the field switch signal state machine to the signal acquisition system through the communication port for further processing by the signal acquisition system.
[0062] It should be noted that: the above embodiment provides a digital quantity acquisition circuit with self-diagnosis function. When performing acquisition circuit diagnosis, only the above circuit principles and parameters are used as examples. In practical applications, the above principles and parameters can be optimized as needed, and necessary components, such as power supply filter capacitors of the device, can be added to complete the practical application of the circuit. In addition, as shown in the attached Figure 4 , 5 When cable diagnosis is required, a resistor needs to be connected in series or in parallel at the field switch signal. The embodiments provided in the above embodiments belong to the same concept and can be completed by selecting different parameters through mode setting, which will not be described one by one here.
[0063] To sum up, with the help of the above-mentioned technical scheme of the utility model, different excitation voltages are provided by the diagnostic circuit, and the acquisition circuit can collect the expected different voltages as expected, thereby proving that the acquisition circuit works normally and has not failed, and then the state of the field switch signal collected by it is real and valid, thereby eliminating the problem of miscollection due to failure of the acquisition circuit. At the same time, the circuit further reduces the risk of circuit failure by connecting switches, operational amplifiers and other devices in the resistance protection channel in series. At the same time, benefiting from the development of chip technology, the on-chip ADC component is integrated on the MCU, which realizes the acquisition of analog signals without increasing the cost of components, thereby improving the practicability of the circuit and being suitable for promotion and application in product development.
[0064] In the present utility model, unless otherwise clearly stipulated and limited, the terms such as "installation", "setting", "connection", "fixation" and "screw-on" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integrated connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. Unless otherwise clearly defined, ordinary technicians in this field can understand the specific meanings of the above terms in the utility model according to the specific circumstances.
[0065] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A digital quantity acquisition circuit with self-diagnosis, It is characterized in that The digital quantity acquisition circuit includes: an acquisition circuit, a diagnostic circuit, a field switch signal, cables, terminals, an MCU, an electrical isolation device and a signal acquisition system; Among them, both ends of the field switch signal are connected to one end of the terminal through the cable respectively, and the other ends of the terminal are connected to one end of the acquisition circuit and one end of the diagnostic circuit, the other end of the acquisition circuit and the other end of the diagnostic circuit are connected to one end of the MCU, the communication port of the MCU is connected to one end of the electrical isolation device, and the other end of the electrical isolation device is connected to the signal acquisition system.
2. A digital quantity acquisition circuit with self-diagnosis according to claim 1, It is characterized in that The diagnostic circuit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a switch K1 and a switch K2; Among them, one end of the resistor R1 is connected to the other end of one of the terminals, one end of the resistor R2 is connected to the other end of the other terminal, the other end of the resistor R1 is respectively connected to one end of the resistor R3 and the acquisition circuit, the other end of the resistor R3 is connected to one end of the switch K1, the other end of the switch K1 is connected to a 24V voltage, the other end of the resistor R2 is respectively connected to the acquisition circuit and one end of the resistor R4, the other end of the resistor R43 is connected to one end of the switch K2, the other end of the switch K2 is grounded, the sliding end of the switch K1 is connected to the output 1 of the MCU, and the sliding end of the switch K2 is connected to the output 2 of the MCU.
3. A digital quantity acquisition circuit with self-diagnosis according to claim 2, It is characterized in that The acquisition circuit includes resistors R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, operational amplifier OPA1, operational amplifier OPA2, field effect transistor Q1, diode D1 and on-chip ADC; Among them, the other end of the resistor R1 is connected to one end of the resistor R5, one end of the resistor R7 and one end of the resistor R11, the other end of the resistor R5 is grounded, the other end of the resistor R7 is respectively connected to one end of the resistor R8 and channel 1 of the on-chip ADC, the other end of the resistor R8 is grounded, the other end of the resistor R11 is connected to the in-phase input end of the operational amplifier OPA1, the inverting input end of the operational amplifier OPA1 is connected to the output end of the operational amplifier OPA1 and one end of the resistor R13, the other end of the resistor R13 is connected to the drain of the field effect transistor Q1, the source of the field effect transistor Q1 is respectively connected to the anode of the diode D1, one end of the resistor R14 and channel 2 of the on-chip ADC, the other end of the resistor R14 is grounded, and the cathode of the diode D1 is connected to the 3V3 power supply; The other end of the resistor R2 is connected to one end of the resistor R6, one end of the resistor R9 and one end of the resistor R12, the other end of the resistor R6 is grounded, the other end of the resistor R9 is connected to one end of the resistor R10 and channel 3 of the on-chip ADC, the other end of the resistor R10 is grounded, the other end of the resistor R12 is connected to the non-inverting input end of the operational amplifier OPA2, and the inverting input end of the operational amplifier OPA2 is connected to the output end of the operational amplifier OPA2 and the gate of the field effect transistor Q1.
4. A digital quantity acquisition circuit with self-diagnosis according to claim 3, It is characterized in that The on-chip ADC is located inside the MCU, the MCU is powered by 5V, and the field effect transistor Q1 is a PMOS tube.
5. A digital quantity acquisition circuit with self-diagnosis according to claim 4, It is characterized in that The communication port of the MCU and the electrical isolation device as well as the electrical isolation device and the signal acquisition system are connected via a communication bus.
6. A digital quantity acquisition circuit with self-diagnosis according to claim 3, It is characterized in that The maximum operating voltage of the switch K1 and the switch K2 is not less than 36V, and the operating voltage of the operational amplifier OPA1 and the operational amplifier OPA2 is not less than 36V.
