Analog quantity input module

By setting up an isolated power supply circuit and an input drive circuit in the analog input module, the problem of strong interference signals in the analog signal acquisition module is solved, the service life of the power supply and controller is extended, and the cost is reduced.

CN221926975UActive Publication Date: 2024-10-29SHENZHEN ZIXI INSTRUMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420716702.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-09
Publication Date
2024-10-29
Estimated Expiration
2034-04-09

AI Technical Summary

Technical Problem

Existing analog signal acquisition modules have the problem of strong interference signals, which shortens the service life of the power module or controller and increases costs.

Method used

An analog input module is designed, including a power supply circuit, an input drive circuit, a controller and an RS485 communication circuit. By setting up a first isolated power supply circuit and a second isolated power supply circuit, interference to external interference signals and data transmission buses is achieved. Signal isolation to avoid damage to the power circuit and controller.

Benefits of technology

It effectively isolates interference signals, extends the service life of the power module and controller, reduces costs, and improves the reliability of analog signal collection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221926975U_ABST
    Figure CN221926975U_ABST
Patent Text Reader

Abstract

The utility model discloses an analog quantity input module, which comprises a power supply circuit, an input driving circuit, a controller and an RS485 communication circuit, the power supply circuit comprises a main control power supply circuit, a first isolation power supply circuit and a second isolation power supply circuit; the main control power supply circuit is used for supplying power to the controller, part of the input driving circuit and part of the RS485 communication circuit; the first isolation power supply circuit is used for supplying power to part of the input driving circuit; the second isolation power supply circuit is used for supplying power to part of the RS485 communication circuit; the input driving circuit is used for accessing an analog signal and outputting an electric signal representing the analog signal to the controller; the controller converts the electric signal into a digital signal and stores the digital signal; the RS485 communication circuit is connected with the controller, the RS485 communication circuit is further connected with the upper computer, and the controller communicates with the upper computer through the RS485 communication circuit. And the problem of cost increase caused by service life reduction of the power supply circuit, the controller and the like is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of automatic control, in particular to an analog quantity input module. Background Art

[0002] With the development of semiconductor technology and information technology, every process control in the industrial field currently involves a large amount of analog data collection.

[0003] At present, analog signal acquisition modules have the problem of strong interference signals, which greatly reduces the service life of power modules or controllers, resulting in increased costs. Utility Model Content

[0004] The utility model provides an analog quantity input module to solve the problem of strong interference signal in the analog quantity signal acquisition module.

[0005] According to one aspect of the utility model, an analog input module is provided, the module comprising: a power supply circuit, an input drive circuit, a controller and an RS485 communication circuit;

[0006] The power supply circuit includes a main control power supply circuit, a first isolated power supply circuit and a second isolated power supply circuit; the input end of the main control power supply circuit is connected to an external power supply, and the output end of the main control power supply circuit is connected to a controller, an input drive circuit and an RS485 communication circuit, and is used to supply power to the controller, part of the input drive circuit and part of the RS485 communication circuit; the input end of the first isolated power supply circuit is connected to the main control power supply circuit, and the output end of the first isolated power supply circuit is connected to the input drive circuit, and is used to supply power to part of the input drive circuit; the input end of the second isolated power supply circuit is connected to the main control power supply circuit, and the output end of the second isolated power supply circuit is connected to the RS485 communication circuit, and is used to supply power to part of the RS485 communication circuit;

[0007] The input drive circuit is connected to the controller, and the input drive circuit includes an analog signal input terminal for receiving the analog signal and outputting an electrical signal representing the analog signal to the controller; the controller converts the electrical signal into a digital signal and stores it;

[0008] The RS485 communication circuit is connected to the controller, and the RS485 communication circuit is also connected to the host computer. The controller communicates with the host computer through the RS485 communication circuit.

[0009] The technical solution of the utility model provides an analog input module, which realizes the collection of analog signals by setting a power supply circuit, an input drive circuit, a controller and an RS485 communication circuit, and at the same time realizes isolation of external interference signals and interference signals on the data transmission bus by setting a first isolated power supply circuit, a second isolated power supply circuit, an input drive circuit and an RS485 communication circuit, thereby avoiding the problem of reduced service life of the power supply circuit and the controller, thereby increasing costs.

[0010] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present utility model, nor are they intended to limit the scope of the present utility model. Other features of the present utility model will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of 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 creative work.

[0012] Figure 1 It is a structural schematic diagram of an analog input module provided by an embodiment of the utility model;

[0013] Figure 2 It is a structural schematic diagram of a main control power supply circuit provided by an embodiment of the utility model;

[0014] Figure 3 It is a structural schematic diagram of a main control power supply circuit and a first isolation power supply circuit provided by an embodiment of the utility model;

[0015] Figure 4 It is a structural schematic diagram of a main control power supply circuit and a second isolated power supply circuit provided by an embodiment of the utility model;

[0016] Figure 5 This is a schematic diagram of a structure in which an input drive circuit is connected to a controller according to an embodiment of the utility model;

[0017] Figure 6 The utility model is provided in an embodiment of the present invention, which is a structural diagram of a RS485 communication circuit connected with a controller and a host computer. DETAILED DESCRIPTION

[0018] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is only a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the utility model.

[0019] It should be noted that the terms "first", "second", etc. in the specification and claims of the utility model and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the utility model described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0020] Figure 1 Schematic diagram of the structure of an analog input module provided by the embodiment of the utility model. Figure 1 As shown, the module includes: a power supply circuit 1, an input drive circuit 2, a controller 3 and an RS485 communication circuit 4.

[0021] The power supply circuit 1 includes a main power supply circuit 11, a first isolated power supply circuit 12 and a second isolated power supply circuit 13; the input end of the main power supply circuit 11 is connected to the external power supply 6, and the output end of the main power supply circuit 11 is connected to the controller 3, the input drive circuit 2 and the RS485 communication circuit 4, for supplying power to the controller 3, part of the input drive circuit 2 and part of the RS485 communication circuit 4; the input end of the first isolated power supply circuit 12 is connected to the main power supply circuit 11, and the output end of the first isolated power supply circuit 12 is connected to the input drive circuit 2, for supplying power to part of the input drive circuit 2; the input end of the second isolated power supply circuit 13 is connected to the main power supply circuit 11, and the output end of the second isolated power supply circuit 13 is connected to the RS485 communication circuit 4, for supplying power to part of the RS485 communication circuit 4.

[0022] The input drive circuit 2 is connected to the controller 3. The input drive circuit 2 includes an analog input terminal for receiving an analog signal and outputting an electrical signal representing the analog signal to the controller 3. The controller 3 converts the electrical signal into a digital signal and stores it.

[0023] The RS485 communication circuit 4 is connected to the controller 3 , and the RS485 communication circuit 4 is also connected to the host computer 5 . The controller 3 communicates with the host computer 5 via the RS485 communication circuit 4 .

[0024] In an embodiment of the utility model, the first isolation power supply circuit 12 is a module for isolating the main power supply circuit 11 from the input analog signal to prevent external interference signals from damaging the main power supply circuit 11. The second isolation power supply circuit 13 is a module for isolating the main power supply circuit 11 from the data transmission bus to prevent interference signals on the data transmission bus from damaging the main power supply circuit 11. The input drive circuit 2 is a module for accessing analog signals and isolating the analog signals from the controller 3 to prevent external interference signals from damaging the controller 3. The controller 3 is a module that processes analog signals and communicates with the host computer 5. Exemplarily, the controller 3 can be a microcontroller unit (MCU). The RS485 communication circuit 4 is a module for signal conversion to realize communication between the controller 3 and the host computer 5.

[0025] Specifically, the power supply circuit 1 includes a main power supply circuit 11, a first isolated power supply circuit 12, and a second isolated power supply circuit 13. The main power supply circuit 11 is connected to the external power supply 6, and is connected to the power supply voltage of the external power supply 6 to power the controller 3, part of the input drive circuit 2, and part of the RS485 communication circuit 4. The first isolated power supply circuit 12 is connected to the main power supply circuit 11 to obtain the input voltage and power the part of the input drive circuit 2; the second isolated power supply circuit 13 is also connected to the main power supply circuit 11 to obtain the input voltage and power the part of the RS485 communication circuit 4. Ensure the normal operation of each circuit.

[0026] The input drive circuit 2 includes an analog signal input terminal for accessing an external analog signal. The input drive circuit 2 is also connected to the controller 3, and the input drive circuit 2 converts the analog signal and outputs an electrical signal representing the analog signal to the controller 3. Exemplarily, the analog signal can be a 0-20mA current signal, and the input drive circuit 2 can convert it into a voltage signal and output it, and use this voltage signal to represent the 0-20mA current signal. The input drive circuit 2 also isolates the analog signal from the controller 3, avoids the analog signal from exceeding the tolerable range of the controller 3, and also avoids some external interference signals from being transmitted to the controller 3, thereby damaging the controller 3. The controller 3 receives the electrical signal output by the input drive circuit 2, and converts this electrical signal into a digital signal that can be recognized by the host computer and stores it in a register.

[0027] The RS485 communication circuit 4 is connected to the controller 3 and the host computer 5. When the system is running, the controller 3 continuously listens to the Modbus polling from the host computer 5 through the RS485 communication circuit 4, and reads the digital signal stored in the register according to the needs of the host computer 5 and promptly replies to the host computer 5 to realize the communication between the controller 3 and the host computer 5. The RS485 communication circuit can automatically send and receive signals to improve the communication efficiency between the controller 3 and the host computer 5. The RS485 communication circuit 4 can also isolate the controller 3 from the data transmission bus, which can effectively isolate the impact of transient high voltage on the controller 3 and prevent the controller 3 from being damaged. The RS485 communication circuit 4 can achieve a maximum isolation protection of 3.75KVrms.

[0028] The technical solution of this embodiment provides an analog input module, which realizes the collection of analog signals by setting up a power supply circuit, an input drive circuit, a controller and an RS485 communication circuit. At the same time, by setting up a first isolated power supply circuit, a second isolated power supply circuit, an input drive circuit and an RS485 communication circuit, it realizes isolation of external interference signals and interference signals on the data transmission bus, thereby avoiding the problem of reduced service life of the power supply circuit and the controller, which leads to increased costs.

[0029] Figure 2 Schematic diagram of a main control power supply circuit provided by an embodiment of the utility model. Figure 2 As shown, the main control power circuit 11 includes a power chip U1, a common mode inductor L1, a diode D1, a first voltage regulator tube D4 and a second voltage regulator tube D2.

[0030] A first end of the common-mode inductor L1 is connected to the positive output end of the external power supply 6, a second end of the common-mode inductor L1 is connected to the negative output end of the external power supply 6, a third end of the common-mode inductor L1 is connected to the positive electrode of the diode D1, and a fourth end of the common-mode inductor L1 is grounded GND; it is used to filter the supply voltage of the external power supply 6.

[0031] The cathode of the diode D1 is connected to the input terminal VIN of the power chip U1 to prevent the external power source 6 from being reversely connected and damaging the power chip U1 .

[0032] The cathode of the first voltage regulator tube D4 is connected to the output terminal OUT of the main control power supply circuit 11 , and the anode of the first voltage regulator tube D4 is grounded GND.

[0033] The cathode of the second voltage regulator tube D2 is connected to the third end of the common mode inductor L1, and the anode of the second voltage regulator tube D2 is grounded GND, for outputting the first voltage value to the input end of the first isolation power supply circuit and the input end of the second isolation power supply circuit.

[0034] In the embodiment of the utility model, the common mode inductor L1 is a component for filtering common mode electromagnetic interference signals. The first voltage value is set according to the actual situation through the voltage stabilization value of the second voltage regulator D2. The first isolated power supply circuit and the second isolated power supply circuit provide input voltage.

[0035] Specifically, the main control power supply circuit 11 is connected to the external power supply 6, and the external power supply 6 outputs a power supply voltage to the main control power supply circuit 11. Exemplarily, the power supply voltage output by the external power supply 6 may be 24V, 36V, or 48V. The first end of the common mode inductor 11 is connected to the positive output end of the external power supply 6, and the second end of the common mode inductor L1 is connected to the negative output end of the external power supply 6. The common mode inductor 11 may filter the power supply voltage output by the external power supply 6, improve the power purity, and protect other electronic components of the main control power supply circuit 11.

[0036] The anode of the diode D1 is connected to the third end of the common mode inductor L1, and the cathode of the diode D1 is connected to the input terminal VIN of the power chip U1. The diode D1 has unidirectional conductivity, which can prevent the power chip U1 from being damaged when the external power supply 6 is reversely connected. The diode D1 can be a Schottky diode, which has an extremely low conduction voltage drop and can greatly reduce power consumption compared to ordinary diodes.

[0037] The cathode of the first voltage regulator D4 is connected to the output terminal OUT of the main control power circuit 11, and the anode of the first voltage regulator D4 is grounded GND. The first voltage regulator D4 can prevent the output voltage of the output terminal OUT of the main control power circuit 11 from exceeding a certain voltage value, effectively avoiding the output of high voltage when the power chip U1 fails, thereby damaging the controller.

[0038] The cathode of the second voltage regulator tube D2 is connected to the third end of the common mode inductor L1, and the anode of the second voltage regulator tube D2 is grounded GND. The second voltage regulator tube D2 can stabilize the supply voltage output by the external power supply 6 at a first voltage value, and illustratively, the first voltage value can be 24V. The cathode of the second voltage regulator tube D2 is connected to the first isolated power supply circuit and the second isolated power supply circuit, and is used to output the first voltage value to the input end of the first isolated power supply circuit and the input end of the second isolated power supply circuit, and provide input voltage for the first isolated power supply circuit and the second isolated power supply circuit.

[0039] Continue to refer Figure 2, the main control power supply circuit 11 also includes a diode D3, an inductor L2 and a capacitor C5; the power supply chip U1 includes an input terminal VIN, a feedback terminal FB, an output terminal VOUT and a ground terminal D, the cathode of the diode D3 is connected to the output terminal VOUT, the anode of the diode D3 is grounded GND, one end of the inductor L2 is connected to the cathode of the diode D3, the other end of the inductor L2 is connected to the feedback terminal FB, one end of the capacitor C5 is also connected to the feedback terminal FB, and the other end of the capacitor C5 is grounded GND. The power supply chip U1 can be a step-down chip. The power supply chip U1 cooperates with the diode D3, the inductor L2 and the capacitor C5 to realize the step-down processing of the supply voltage output by the external power supply 6. For example, the output voltage of the output terminal OUT of the main control power supply circuit 11 can be 5V.

[0040] Continue to refer Figure 2 The main power supply circuit 11 may also include capacitors C1, C2, C3, C4, C6, C7, C8 and fuse F1; capacitors C1, C2, C3, C4, C6, C7 and C8 mainly play a filtering role in the circuit, and fuse F1 mainly protects the main power supply circuit 11. When a fault occurs in the main power supply circuit 11 and the loop current is too high, fuse F1 can be blown to disconnect the main power supply circuit 11, thereby effectively protecting other electronic components of the main power supply circuit 11.

[0041] Figure 3 Schematic diagram of a structure in which a main control power supply circuit and a first isolation power supply circuit are connected according to an embodiment of the utility model. Figure 3 As shown, the first isolated power supply circuit 12 includes a first power isolation chip U2, the input end V1+ of the first power isolation chip U2 serves as the input end of the first isolated power supply circuit 12, and is connected to the negative pole of the second voltage regulator tube D2, and the output end of the first power isolation chip U2 serves as the output end of the first isolated power supply circuit 12, and is connected to the input drive circuit, and is used to power part of the input drive circuit.

[0042] Specifically, the first power isolation chip U2 includes an input terminal V1+, a negative input terminal V1- and an output terminal, and the output terminal of the first power isolation chip U2 includes a positive output terminal VO1+ and a negative output terminal VO1-. The input terminal V1+ of the first power isolation chip U2 serves as the input terminal of the first isolated power supply circuit 12, is connected to the negative pole of the second voltage regulator tube D2, and the input terminal V1+ of the first power isolation chip U2 inputs a first voltage value. The negative input terminal V1- of the first power isolation chip U2 is grounded GND. The output terminal of the first power isolation chip U2 serves as the output terminal of the first isolated power supply circuit 12, and is used to power part of the input drive circuit.

[0043] Continue to refer Figure 3The first isolated power supply circuit 12 may further include a capacitor C9 and a capacitor C10, which are connected in parallel between the positive output terminal VO1+ and the negative output terminal VO1-, and mainly play a filtering role on the output voltage of the first power isolation chip U2.

[0044] Figure 4 Schematic diagram of the structure of a main control power supply circuit and a second isolation power supply circuit connected to each other provided by an embodiment of the utility model. Figure 4 As shown, the second isolated power supply circuit 13 includes a second power isolation chip U3, the input terminal V2+ of the second power isolation chip U3 serves as the input terminal of the second isolated power supply circuit 13, and is connected to the negative pole of the second voltage regulator tube D2, and the output terminal of the second power isolation chip U3 serves as the output terminal of the second isolated power supply circuit 13, and is connected to the RS485 communication circuit, and is used to power part of the RS485 communication circuit.

[0045] Specifically, the second power isolation chip U3 includes an input terminal V2+, a negative input terminal V2- and an output terminal, and the output terminal of the second power isolation chip U3 includes a positive output terminal VCOM and a negative output terminal GCOM. The input terminal V2+ of the second power isolation chip U3 serves as the input terminal of the second isolated power supply circuit 13, is connected to the negative pole of the second voltage regulator tube D2, and the input terminal V2+ of the second power isolation chip U3 inputs a first voltage value. The negative input terminal V2- of the second power isolation chip U3 is grounded GND. The output terminal of the second power isolation chip U3 serves as the output terminal of the second isolated power supply circuit 13, and is used to power part of the RS485 communication circuit.

[0046] Continue to refer Figure 4 The second isolated power supply circuit 13 also includes a capacitor C11 and a capacitor C12. The capacitor C11 and the capacitor C12 are connected in parallel between the positive output terminal VCOM and the negative output terminal GCOM, and mainly play a filtering role on the output voltage of the second power isolation chip U3.

[0047] Figure 5 Schematic diagram of the structure of an input drive circuit connected to a controller provided by an embodiment of the utility model. Figure 5 As shown, the input drive circuit 2 includes a first resistor R1, an isolation chip U4 and a subtraction circuit 21; the output end of the first isolation power supply circuit includes a first positive output end and a first negative output end.

[0048] The first power supply terminal VDD1 of the isolation chip U4 is connected to the first positive output terminal, the second power supply terminal VDD2 of the isolation chip U4 is connected to the output terminal OUT of the main control power supply circuit, the first ground terminal GND1 of the isolation chip U4 is connected to the first negative output terminal, the second ground terminal GND2 of the isolation chip U4 is grounded GND, the input terminal VIN1 of the isolation chip U4 is connected to the first end of the first resistor R1, the first end of the first resistor R1 is used as an analog signal input terminal for connecting the analog signal, the second end of the first resistor R1 is connected to the first negative output terminal, the first resistor R1 is used to convert the analog signal into a voltage signal and transmit it to the input terminal VIN1 of the isolation chip U4, the second positive output terminal VOUTP and the second negative output terminal VOUTN of the isolation chip U4 are respectively connected to the input terminal of the subtraction circuit 21, and the output terminal of the subtraction circuit 21 is connected to the controller 3, which is used to perform a subtraction operation on the electrical signals output from the second positive output terminal VOUTP and the second negative output terminal VOUTN and output an electrical signal representing the analog signal to the controller 3.

[0049] Specifically, the output end of the first power isolation chip U4 includes a positive output end VO1+ and a negative output end VO1-. The positive output end VO1+ of the first power isolation chip serves as the first positive output end of the first isolated power supply circuit, and the negative output end VO1- of the first power isolation chip serves as the first negative output end of the first isolated power supply circuit.

[0050] The first power supply terminal VDD1 of the isolation chip U4 is connected to the positive output terminal VO1+, and the first ground terminal GND1 of the isolation chip U4 is connected to the negative output terminal VO1-; the second power supply terminal VDD2 of the isolation chip U4 is connected to the output terminal OUT of the main control power supply circuit, and the second ground terminal GND2 of the isolation chip U4 is grounded GND. The first isolation power supply circuit and the main control power supply circuit respectively supply power to the isolation chip U4. The isolation chip U4 also includes a port SHTDN, which is also connected to the negative output terminal VO1-.

[0051] The first resistor R1 is connected between the input terminal VIN1 and the negative output terminal VO1- of the isolation chip U4. The first resistor R1 converts the analog signal into a voltage signal and transmits it to the input terminal VIN1 of the isolation chip U4. The second positive output terminal VOUTP and the second negative output terminal VOUTN of the isolation chip U4 respectively output voltage signals to the input terminal of the subtraction circuit 21. The subtraction circuit 21 performs subtraction processing on the voltage signals of the second positive output terminal VOUTP and the second negative output terminal VOUTN and amplifies them by a certain multiple before transmitting them to the controller 3. Exemplarily, the first resistor R1 can convert the analog signal into a 1V voltage signal to the input terminal VIN1 of the isolation chip U4. The second positive output terminal VOUTP and the second negative output terminal VOUTN of the isolation chip U4 respectively output 1.8V and 0.8V voltage signals to the input terminal of the subtraction circuit 21. The subtraction circuit 21 performs subtraction processing on the voltage signals of the second positive output terminal VOUTP and the second negative output terminal VOUTN to obtain a 1V voltage signal and amplifies it by 1.5 times before outputting it to the controller 3. The controller 3 will correspondingly reduce the input voltage signal by 1.5 times to obtain a voltage signal representing the analog signal and convert the voltage signal into a digital signal.

[0052] Continue to refer Figure 5 The input drive circuit also includes a resistor R2, a capacitor C13, a capacitor C14, a capacitor C15, a capacitor C16, a capacitor C17, a resistor R7, and a capacitor C21. The resistor R2 and the capacitor C13 constitute an RC filter circuit, which is used to filter the voltage signal input from the input terminal VIN1 of the isolation chip U4. The capacitors C14 and C15 mainly filter the power supply voltage input from the first power supply terminal VDD1 of the isolation chip U4, the capacitors C16 and C17 mainly filter the power supply voltage input from the second power supply terminal VDD2 of the isolation chip U4, the resistor R7 mainly limits the output of the subtraction circuit 21, and protects the controller 3, and the capacitor C21 mainly filters the output of the subtraction circuit 21.

[0053] Continue to refer Figure 5 The input drive circuit 2 also includes: a third voltage regulator tube D5.

[0054] The cathode of the third voltage regulator D5 is connected to the first power supply terminal VDD1 of the isolation chip U4, and the anode of the third voltage regulator D5 is connected to the first negative output terminal, so as to stabilize the input voltage of the first power supply terminal VDD1 of the isolation chip U4 at a certain voltage value.

[0055] Specifically, the negative electrode of the third voltage regulator D5 is connected to the first power supply terminal VDD1 of the isolation chip U4, that is, the negative electrode of the third voltage regulator D5 is connected to the positive output terminal VO1+ of the first power isolation chip, and the positive electrode of the third voltage regulator D5 is connected to the negative output terminal VO1- of the first power isolation chip. The third voltage regulator D5 stabilizes the voltage between the positive output terminal VO1+ and the negative output terminal VO1- of the first power isolation chip at a certain value to avoid excessive voltage between the positive output terminal VO1+ and the negative output terminal VO1- and damage the isolation chip U4.

[0056] Continue to refer Figure 5 In one embodiment, the subtraction circuit 21 includes: a subtractor U5, a second resistor R3, a third resistor R4, a fourth resistor R5 and a fifth resistor R6.

[0057] The power supply end of the subtractor U5 is connected to the output end OUT of the main control power supply circuit, and the ground end of the subtractor U5 is grounded GND; the non-phase input end of the subtractor U5 is connected to the first end of the second resistor R3, the second end of the second resistor R3 is connected to the second positive output end VOUTP of the isolation chip U4, the inverting input end of the subtractor U5 is connected to the first end of the third resistor R4, and the second end of the third resistor R4 is connected to the second negative output end VOUTN of the isolation chip U4.

[0058] The non-inverting input terminal of the subtractor U5 is also connected to the first end of the fourth resistor R5, and the second end of the fourth resistor R5 is grounded GND; the inverting input terminal of the subtractor U5 is also connected to the first end of the fifth resistor R6, and the second end of the fifth resistor R6 is connected to the output terminal of the subtractor U5; the output terminal of the subtractor U5 serves as the output terminal of the subtraction circuit 21.

[0059] The second resistor R3 and the third resistor R4 have the same resistance value; the fourth resistor R5 and the fifth resistor R6 have the same resistance value.

[0060] Specifically, the power supply end of the subtractor U5 is connected to the output end OUT of the main control power supply circuit, the ground end of the subtractor U5 is grounded GND, and the main control power supply circuit supplies power to the subtractor U5. The second resistor R3 is connected between the second positive output end VOUTP of the isolation chip U4 and the positive input end of the subtractor U5, and the third resistor R4 is connected between the second negative output end VOUTN of the isolation chip U4 and the inverting input end of the subtractor U5, and the second resistor R3 and the third resistor R4 have the same resistance value.

[0061] The fourth resistor R5 is connected between the non-inverting input terminal of the subtractor U5 and the ground GND, and the fifth resistor R6 is connected between the inverting input terminal of the subtractor U5 and the output terminal of the subtractor U5. The output voltage formula of the output terminal of the subtractor U5 can be:

[0062]

[0063] Where V1 is the output voltage of the output terminal of subtractor U5, V VOUTP is the output voltage of the second positive output terminal VOUTP of the isolation chip U4, V VOUTN is the output voltage of the second negative output terminal VOUTN of the isolation chip U4.

[0064] Continue to refer Figure 5 Optionally, the subtraction circuit 21 further includes: capacitor C18, capacitor C19 and capacitor C20. Capacitor C18 and capacitor C19 mainly play the role of stabilizing the output of the subtraction circuit 21. Capacitor C20 is connected between the power supply terminal of the subtractor U5 and the ground GND, and mainly plays a filtering role on the input voltage of the power supply terminal of the subtractor U5.

[0065] Figure 6 This is a schematic diagram of the structure of the RS485 communication circuit connected to the controller and the host computer provided by the embodiment of the utility model. Figure 6 As shown, the RS485 communication circuit 4 includes: a digital isolation chip U6, an RS485 chip U7, a sixth resistor R8, a seventh resistor R9 and an eighth resistor R10; the output end of the second isolation power supply circuit includes a third positive output end and a third negative output end.

[0066] The first power supply terminal VDDA of the digital isolation chip U6 is connected to the output terminal OUT of the main power supply circuit, and the first ground terminal GNDA of the digital isolation chip U6 is grounded GND; the second power supply terminal VDDB of the digital isolation chip U6 is connected to the third positive output terminal, and the second ground terminal GNDB of the digital isolation chip U6 is connected to the third negative output terminal.

[0067] The first output terminal VO1 and the first input terminal VI2 of the digital isolation chip U6 are respectively connected to the signal receiving terminal RXD and the signal sending terminal TXD of the controller 3; the second input terminal VI1 of the digital isolation chip U6 is connected to the receiving pin RO of the RS485 chip U7, and the second output terminal VO2 of the digital isolation chip U6 is connected to the sending pin DI of the RS485 chip U7.

[0068] The receive enable pin RE and the transmit enable pin DE of the RS485 chip U7 are both connected to the first end of the sixth resistor R8, and the second end of the sixth resistor R8 is connected to the third positive output end; the power pin VCC of the RS485 chip U7 is connected to the third positive output end; the ground pin GNDC of the RS485 chip U7 is connected to the third negative output end; the seventh resistor R9 is connected between the first communication pin A of the RS485 chip U7 and the third positive output end, the eighth resistor R10 is connected between the second communication pin B of the RS485 chip U7 and the third negative output end, and the first communication pin A and the second communication pin B are also connected to the host computer 5 respectively.

[0069] Specifically, the output end of the second power isolation chip includes a positive output end VCOM and a negative output end GCOM. The positive output end VCOM of the second power isolation chip serves as the third positive output end of the second isolated power supply circuit, and the negative output end GCOM of the second power isolation chip serves as the third negative output end of the second isolated power supply circuit.

[0070] The first power supply terminal VDDA of the digital isolation chip U6 can be connected to the output terminal OUT of the main control power supply circuit. The output voltage of the output terminal OUT of the main control power supply circuit can output a 3.3V voltage through a linear voltage regulator circuit. The first power supply terminal VDDA of the digital isolation chip U6 can also be connected to a 3.3V voltage. The first ground terminal GNDA of the digital isolation chip U6 is grounded GND; the second power supply terminal VDDB of the digital isolation chip U6 is connected to the positive output terminal VCOM of the second power isolation chip, and the second ground terminal GNDB of the digital isolation chip U6 is connected to the negative output terminal GCOM of the second power isolation chip. The main control power supply circuit and the second isolation power supply circuit respectively supply power to the digital isolation chip U6.

[0071] The power pin VCC of the RS485 chip U7 is connected to the positive output terminal VCOM of the second power isolation chip; the ground pin GNDC of the RS485 chip U7 is connected to the negative output terminal GCOM of the second power isolation chip, and the second isolated power supply circuit supplies power to the RS485 chip U7.

[0072] The receiving enable pin RE and the sending enable pin DE of the RS485 chip U7 are both connected to the first end of the sixth resistor R8, and the second end of the sixth resistor R8 is connected to the positive output terminal VCOM of the second power isolation chip; the receiving enable pin RE is a low-level enable pin, and the sending enable pin DE is a high-level enable pin. When the first communication pin A and the second communication pin B receive the differential data signal sent by the host computer 5, the RS485 chip U7 automatically pulls the receiving enable pin RE and the sending enable pin DE low, otherwise the receiving enable pin RE and the sending enable pin DE are pulled to a high level through the sixth resistor R8.

[0073] When the controller 3 communicates with the host computer 5, the host computer 5 can send a differential data signal to the first communication pin A and the second communication pin B of the RS485 chip U7 through the differential data bus. At this time, the RS485 chip U7 pulls down the receiving enable pin RE and the sending enable pin DE, so the receiving enable pin RE is effectively enabled and the sending enable pin DE is invalidly enabled. The receiving pin RO of the RS485 chip U7 receives the differential data signal from the first communication pin A and the second communication pin B, and transmits it to the signal receiving terminal RXD of the controller 3 through the second input terminal VI1 and the first output terminal VO1 of the digital isolation chip U6. The controller 3 listens to the Modbus polling from the host computer 5.

[0074] When the controller 3 replies to the host computer 5 according to the Modbus polling of the host computer 5, the sending enable pin DE is enabled effectively and the receiving enable pin RE is enabled invalidly. The signal sending end TXD of the controller 3 sends the digital signal to the sending pin DI of the RS485 chip U7 through the first input end VI2 and the second output end VO2 of the digital isolation chip U6, and the first communication pin A and the second communication pin B send the digital signal received by the sending pin DI to the host computer 5 in the form of a differential data signal.

[0075] The seventh resistor R9 is connected between the first communication pin A and the positive output terminal VCOM of the second power isolation chip, and the eighth resistor R10 is connected between the second communication pin B and the negative output terminal GCOM of the second power isolation chip. The setting of the seventh resistor R9 and the eighth resistor R10 can pull the first communication pin A to a high level and the second communication pin B to a low level when the differential data bus is idle. At this time, the RS485 chip U7 defaults that the controller 3 does not communicate with the host computer 5, thereby avoiding the interference signal on the differential data bus causing the controller 3 and the host computer 5 to communicate incorrectly.

[0076] Continue to refer Figure 6 The RS485 communication circuit 4 further includes: capacitor C22, capacitor C23, magnetic beads R11 and magnetic beads R12. Capacitor C22 and capacitor C23 filter the input voltages of the first power supply terminal VDDA and the second power supply terminal VDDB of the digital isolation chip U6 respectively. Magnetic beads R11 and magnetic beads R12 can filter out high-frequency noise or spike interference on the differential data bus.

[0077] Continue to refer Figure 6 , the RS485 communication circuit 4 also includes: a transient suppression diode Z1.

[0078] A first end of the transient suppression diode Z1 is connected to a first communication pin A of the RS485 chip U7, a second end of the transient suppression diode Z1 is connected to a second communication pin B of the RS485 chip U7, and a third end of the transient suppression diode Z1 is connected to the third negative output end.

[0079] In the embodiment of the utility model, the transient voltage suppressor diode Z1 is an electronic component that plays a protective role and can absorb peak voltage to protect other electronic components in the circuit.

[0080] Specifically, the first end of the transient suppression diode Z1 is connected to the first communication pin A of the RS485 chip U7, the second end of the transient suppression diode Z1 is connected to the second communication pin B of the RS485 chip U7, and the third end of the transient suppression diode Z1 is connected to the negative output terminal GCOM of the second power isolation chip. The transient suppression diode Z1 can absorb the peak voltage on the differential data bus, thereby protecting the RS485 chip U7.

[0081] Optionally, the analog input module includes 8 analog signal input terminals, and each input is independent of each other.

[0082] Specifically, the analog input module may include 8 analog signal input terminals, which include 8 independent input drive modules, each of which is connected to a different pin of the controller. The analog input module can collect 8 analog signals at the same time.

[0083] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0084] The above specific implementations do not constitute a limitation on the protection scope of the present utility model. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present utility model shall be included in the protection scope of the present utility model.

Claims

1. An analog input module, characterized in that: include: Power supply circuit, input drive circuit, controller and RS485 communication circuit; The power supply circuit includes a main control power supply circuit, a first isolated power supply circuit and a second isolated power supply circuit; the input end of the main control power supply circuit is connected to an external power supply, and the output end of the main control power supply circuit is connected to the controller, the input drive circuit and the RS485 communication circuit, for supplying power to the controller, part of the input drive circuit and part of the RS485 communication circuit; the input end of the first isolated power supply circuit is connected to the main control power supply circuit, and the output end of the first isolated power supply circuit is connected to the input drive circuit, for supplying power to part of the input drive circuit; The input end of the second isolated power supply circuit is connected to the main control power supply circuit, and the output end of the second isolated power supply circuit is connected to the RS485 communication circuit, so as to supply power to part of the RS485 communication circuit; The input drive circuit is connected to the controller, and the input drive circuit includes an analog signal input terminal for receiving an analog signal and outputting an electrical signal representing the analog signal to the controller; the controller converts the electrical signal into a digital signal and stores the digital signal; The RS485 communication circuit is connected to the controller, and the RS485 communication circuit is also connected to a host computer. The controller communicates with the host computer via the RS485 communication circuit.

2. The analog input module according to claim 1, characterized in that: The main control power supply circuit includes a power chip, a common mode inductor, a diode, a first voltage regulator tube and a second voltage regulator tube; The first end of the common-mode inductor is connected to the positive output end of the external power supply, the second end of the common-mode inductor is connected to the negative output end of the external power supply, the third end of the common-mode inductor is connected to the positive electrode of the diode, and the fourth end of the common-mode inductor is grounded; used for filtering the power supply voltage of the external power supply; The cathode of the diode is connected to the input end of the power chip to prevent the external power supply from being reversely connected and damaging the power chip; The cathode of the first voltage regulator tube is connected to the output end of the main control power supply circuit, and the anode of the first voltage regulator tube is grounded; The cathode of the second voltage regulator is connected to the third end of the common-mode inductor, and the anode of the second voltage regulator is grounded, so as to output a first voltage value to the input end of the first isolated power supply circuit and the input end of the second isolated power supply circuit.

3. The analog input module according to claim 2, characterized in that: The first isolated power supply circuit includes a first power isolation chip, the input end of the first power isolation chip serves as the input end of the first isolated power supply circuit and is connected to the negative pole of the second voltage regulator tube, the output end of the first power isolation chip serves as the output end of the first isolated power supply circuit and is connected to the input drive circuit for powering part of the input drive circuit.

4. The analog input module according to claim 2, characterized in that: The second isolated power supply circuit includes a second power isolation chip, the input end of the second power isolation chip serves as the input end of the second isolated power supply circuit and is connected to the negative pole of the second voltage regulator tube, the output end of the second power isolation chip serves as the output end of the second isolated power supply circuit and is connected to the RS485 communication circuit for powering part of the RS485 communication circuit.

5. The analog input module according to claim 1, characterized in that: The input drive circuit includes a first resistor, an isolation chip and a subtraction circuit; the output end of the first isolation power supply circuit includes a first positive output end and a first negative output end; The first power supply terminal of the isolation chip is connected to the first positive output terminal, the second power supply terminal of the isolation chip is connected to the output terminal of the main control power supply circuit, the first ground terminal of the isolation chip is connected to the first negative output terminal, the second ground terminal of the isolation chip is grounded, the input terminal of the isolation chip is connected to the first end of the first resistor, the first end of the first resistor is used as the analog signal input terminal for connecting the analog signal, the second end of the first resistor is connected to the first negative output terminal, the first resistor is used to convert the analog signal into a voltage signal and transmit it to the input terminal of the isolation chip, the second positive output terminal and the second negative output terminal of the isolation chip are respectively connected to the input terminal of the subtraction circuit, and the output terminal of the subtraction circuit is connected to the controller for performing subtraction operations on the electrical signals output from the second positive output terminal and the second negative output terminal and outputting electrical signals representing the analog signals to the controller.

6. The analog input module according to claim 5, characterized in that: The input drive circuit further includes: a third voltage regulator tube; The cathode of the third voltage regulator is connected to the first power supply terminal of the isolation chip, and the anode of the third voltage regulator is connected to the first negative output terminal, so as to stabilize the input voltage of the first power supply terminal of the isolation chip at a certain voltage value.

7. The analog input module according to claim 5, characterized in that: The subtraction circuit comprises: a subtractor, a second resistor, a third resistor, a fourth resistor and a fifth resistor; The power supply end of the subtractor is connected to the output end of the main control power supply circuit, and the ground end of the subtractor is grounded; the positive input end of the subtractor is connected to the first end of the second resistor, the second end of the second resistor is connected to the second positive output end of the isolation chip, the negative input end of the subtractor is connected to the first end of the third resistor, and the second end of the third resistor is connected to the second negative output end of the isolation chip; The non-inverting input terminal of the subtractor is also connected to the first terminal of the fourth resistor, and the second terminal of the fourth resistor is grounded; the inverting input terminal of the subtractor is also connected to the first terminal of the fifth resistor, and the second terminal of the fifth resistor is connected to the output terminal of the subtractor; the output terminal of the subtractor serves as the output terminal of the subtraction circuit; The second resistor has the same resistance value as the third resistor; the fourth resistor has the same resistance value as the fifth resistor.

8. The analog input module according to claim 1, characterized in that: The RS485 communication circuit includes: a digital isolation chip, an RS485 chip, a sixth resistor, a seventh resistor and an eighth resistor; the output end of the second isolation power supply circuit includes a third positive output end and a third negative output end; The first power supply terminal of the digital isolation chip is connected to the output terminal of the main control power supply circuit, and the first ground terminal of the digital isolation chip is grounded; the second power supply terminal of the digital isolation chip is connected to the third positive output terminal, and the second ground terminal of the digital isolation chip is connected to the third negative output terminal; The first output end and the first input end of the digital isolation chip are respectively connected to the signal receiving end and the signal sending end of the controller; the second input end of the digital isolation chip is connected to the receiving pin of the RS485 chip, and the second output end of the digital isolation chip is connected to the sending pin of the RS485 chip; The receive enable pin and the transmit enable pin of the RS485 chip are both connected to the first end of the sixth resistor, and the second end of the sixth resistor is connected to the third positive output end; the power pin of the RS485 chip is connected to the third positive output end; the ground pin of the RS485 chip is connected to the third negative output end; the seventh resistor is connected between the first communication pin of the RS485 chip and the third positive output end, the eighth resistor is connected between the second communication pin of the RS485 chip and the third negative output end, and the first communication pin and the second communication pin are also connected to the host computer respectively.

9. The analog input module according to claim 8, characterized in that: The RS485 communication circuit further includes: a transient suppression diode; The first end of the transient suppression diode is connected to the first communication pin of the RS485 chip, the second end of the transient suppression diode is connected to the second communication pin of the RS485 chip, and the third end of the transient suppression diode is connected to the third negative output end.

10. The analog input module according to claim 1, characterized in that: It includes 8 analog signal input terminals, and each input terminal is independent of each other.