CN218734356U - Industrial gateway electric quantity monitoring circuit - Google Patents

Industrial gateway electric quantity monitoring circuit Download PDF

Info

Publication number
CN218734356U
CN218734356U CN202222854040.5U CN202222854040U CN218734356U CN 218734356 U CN218734356 U CN 218734356U CN 202222854040 U CN202222854040 U CN 202222854040U CN 218734356 U CN218734356 U CN 218734356U
Authority
CN
China
Prior art keywords
pin
interface
resistor
capacitor
mcu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202222854040.5U
Other languages
Chinese (zh)
Inventor
陶银超
张晓岱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Zhenghua Iot Technology Co ltd
Original Assignee
Tianjin Zhenghua Iot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Zhenghua Iot Technology Co ltd filed Critical Tianjin Zhenghua Iot Technology Co ltd
Priority to CN202222854040.5U priority Critical patent/CN218734356U/en
Application granted granted Critical
Publication of CN218734356U publication Critical patent/CN218734356U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application provides an electric quantity monitoring circuit of an industrial gateway, which comprises an MCU (microprogrammed control unit), wherein the MCU is connected with a battery, and the battery is connected with a power supply conversion circuit; the MCU is respectively connected with a display screen module, a storage module and an RTC real-time clock module, and the battery is connected with the electric quantity detection circuit; the electric quantity detection circuit detects the voltage of the battery, then feeds the voltage back to the MCU, the MCU calculates the electric quantity according to the voltage value, and the electric quantity is displayed through the display screen module, so that the electric quantity monitoring of the wireless gateway is realized; the battery voltage detection circuit is simple in structure, does not need to be internally provided with a Bluetooth module and does not need to be networked to realize data transmission, and can detect the electric quantity by detecting the voltage of the battery through the detection circuit; in addition, remote control can be realized through the LORA wireless module, and the LORA wireless module is very simple, convenient and practical.

Description

Industrial gateway electric quantity monitoring circuit
Technical Field
The application relates to the technical field of detection, in particular to an electric quantity monitoring circuit of an industrial gateway.
Background
The industrial gateway is a communication gateway applied to an industrial field, also called an internetwork connector, a protocol converter and the like, and is mainly responsible for translating and converting different protocols (such as a Siemens PLC protocol, a Mitsubishi PLC protocol, an ohm dragon PLC protocol, a Schneider PLC protocol, a MODBUS protocol and the like) of field equipment into languages and protocols which can be understood by a cloud platform (a common cloud platform adopts a JSON data format and is accessed by using an MQTTTCP or an HTTP protocol, such as Ariyun cloud, baidu cloud and the like), the gateway realizes network interconnection above a network layer, and the gateway can be used for interconnection of a wide area network and a local area network.
The gateway need supply power when using, and in order to place and operate in the prior art, the gateway uses rechargeable battery to carry out work, in order to guarantee industrial gateway's smooth work, needs to carry out timely monitoring to the electric quantity, in time supplements or changes, prevents the unable condition of normally working of appearance.
The application numbers in the prior art are: in a non-contact high-precision electric quantity monitoring bluetooth wireless gateway of CN202021061602.5, a technical scheme is provided, including a current detection gateway and an electric wire, the inside of the current detection gateway is respectively provided with a physical interface, a gigabit interaction module, a WIFWLANSOC, an NB-loT communication unit, a bluetooth 5.0 wireless module and a WIFI module, the physical interface is bidirectionally and electrically connected with the gigabit interaction module, the utility model adopts the solution of a distributed sensor + an intelligent current monitoring gateway, each monitoring point only needs to install a current sensor with a built-in bluetooth module, the cost is very low as long as dozens of yuan, a large number of current sensors can be deployed to form a refined current monitoring network, the actual operability is achieved in the construction of the power internet of things, the cost of the current monitoring gateway is reduced, and the installation is convenient, and the use is convenient for people; this scheme need all embed bluetooth module, still involve giga interactive module, WIFWLANSOC, NB-loT communication unit etc. at every check point, must the networking just can detect, through monitoring the electric current, realizes the monitoring to the electric quantity, and this circuit structure is complicated, and the cost is higher.
In summary, a new technical solution is needed to solve the above technical problems.
SUMMERY OF THE UTILITY MODEL
The application provides an electric quantity monitoring circuit of an industrial gateway, which comprises an MCU (microprogrammed control unit), wherein the MCU is connected with a battery, and the battery is connected with a power supply conversion circuit; the MCU is also respectively connected with a display screen module, a storage module and an RTC real-time clock module, the battery is connected with an electric quantity detection circuit, the electric quantity detection circuit comprises a resistor R11 and a triode Q3 which are arranged in parallel, one end of the resistor R11 is connected with a resistor R19, the resistor R19 is connected with a collector of the triode Q8, an emitter of the triode Q8 is grounded, a base of the triode Q8 is connected with a POWER interface, the POWER interface is connected with a pin 34 of the MCU, and a POWER interface between the resistor R19 and the collector of the triode Q8 is connected with a switch button pin 2; the triode Q3 is further connected with a first line and a second line which are connected in parallel, the first line comprises a resistor R12, one end of the resistor R12 is connected with a resistor R15, the resistor R15 is connected with a capacitor C15 in parallel, the connection position of the capacitor C15, the resistor R15 and the resistor R12 is connected with a POWADC interface, the POWADC interface is connected with a pin 15 of the MCU, the second line comprises a resistor R13, the resistor R13 is connected with a resistor R16, one end of the resistor R16 is grounded together with the resistor R15 and the capacitor C15, and a PEN interface between the resistor R13 and the resistor R16 is connected with a power supply conversion circuit.
As a preferred scheme, the MCU comprises a chip U2, a pin 1 of the U2 is connected with a 3.3V power supply, a pin 3, a pin 4, a pin 5, a pin 6 and a pin 7 of the U2 are respectively extended with an MCUX32I interface, an MCU X32O interface, an MCUXII interface, an MCUXIO interface and an MCUREST interface, a pin 10 and a pin 11 of the U2 are respectively extended with a TFMISO interface and a TFMOSI interface, a pin 12 of the U2 is grounded, a pin 13 of the U2 is extended with a VREF + interface, a pin 15 and a pin 16 of the U2 are respectively extended with a POWADC interface and a CHARADAC interface, a pin 18 of the U2 is grounded, a pin 19 of the U2 is connected with the 3.3V power supply, a pin 20, a pin 21, a pin 22, a pin 23, a pin 24, a pin 25 and a pin 26 of the U2 are respectively extended with a LORANSS interface, a LORASCK interface, a LORARARARARARARARARARARARARARARARARE interface, a LOINT interface, a RALOINT interface, a LOST 0 interface is extended with a TFK interface 29 of the U2, pin 30 of U2 is connected with capacitor C4, pin 31 of capacitor C4 and U2 are grounded together, pin 32 of U2 is connected with 3.3V power supply, pin 33 and pin 34 of U2 extend TFNSS interface and POWERON interface respectively, pin 40 of U2 extends USBPWR interface, pin 42 of U2 extends USBVBUS interface, pin 44, pin 45 and pin 46 of U2 extend USBDM interface, USBDP interface and syssdvio interface respectively, pin 47 of U2 is grounded, pin 48 of U2 is connected with 3.3V power supply, pin 49 and pin 50 of U2 extend syssvclk interface and LED2 interface respectively, pin 55, pin 56, pin 57, pin 58, pin 59, pin 60, pin 61 and pin 62 of U2 extend but interface, LED1 interface, LCD interface, dtx interface, drx interface, lcscot interface, bocscl interface, rtcsot interface, csda interface 63, rtda interface and pin 64 of U2 are connected with pin 3.3V power supply.
Preferably, the battery is a 36V battery.
Preferably, the power conversion circuit comprises a 12V conversion circuit, a 5V conversion circuit i, a 5V conversion circuit ii and a 3.3V conversion circuit.
As a preferred scheme, the 12V conversion circuit includes a chip U1, a pin 1 of the U1 is connected with a capacitor C11, the other end of the capacitor C11 is connected with a pin 10 of the U1, the pin 10 is connected with a 12V voltage output line, and an inductor L1 is arranged on the 12V voltage output line; a power interface extends from a pin 2 of the U1 and is connected with a battery, a resistor R1 is arranged on the power interface, a pin 3 of the U1 is connected with a PEN interface, a pin 4 of the U1 is connected with a capacitor C9, one end of the capacitor C9 is connected with a ground wire, a capacitor C7 and a capacitor C8 are connected between an extension line between the pin 2 and the resistor R1 and the ground wire in parallel, a pin 5 of the U1 is connected with the resistor R9, and the other end of the resistor R9 is connected with the ground wire; an FB interface extends from a pin 7 of the U1, a pin 8 of the U1 is connected with a capacitor C10, the other end of the capacitor C10 is connected with a ground wire, the pin 8 of the U1 is also connected with a resistor R5 and a capacitor C11 which are arranged in series, one end of the capacitor C11 is grounded, and the resistor R5 and the capacitor C11 which are arranged in series are connected with the capacitor C10 in parallel; u1's pin 9 ground connection, pin 9 is connected with the earth connection promptly, be equipped with diode D1 between earth connection and the 12V voltage output line, diode D1 sets up before inductance L1's input, still is equipped with parallelly connected electric capacity C2, electric capacity C3, electric capacity C5, electric capacity C6 that set up between earth connection and the 12V voltage output line, electric capacity C2, electric capacity C3, electric capacity C5, electric capacity C6 set up behind inductance L1's output, still be equipped with the resistance R2 and the resistance R8 of series connection setting between earth connection and the 12V voltage output line, be equipped with interface FB between resistance R2 and the resistance R8, interface FB is connected with U1's pin 7, and resistance R2 and electric capacity C4 are parallelly connected, are equipped with interface FB between capacitance C4's one end and resistance R2 and the resistance R8 and are connected.
As a preferable scheme, the 5V conversion circuit includes a chip U3, a pin 5 of the chip U3 is connected to a 12V voltage input line, a pin 2 of the chip U3 is connected to a ground line, a capacitor C13 is arranged between the 12V voltage input line and the ground line, a resistor R10 and a resistor R20 are arranged in series between the 12V voltage input line and the ground line, the resistor R10 and the resistor R20 are arranged in series and connected in parallel with the capacitor C13, the resistor R10 and the resistor R20 are connected to a pin 4 of the chip U3, a pin 1 of the chip U3 is connected to a capacitor C19 and a diode D2 in sequence, one end of the diode D2 is connected to the ground line, a pin 6 of the chip U3 is connected to a 5V voltage output line, an inductor L2 is arranged on the 5V voltage output line, a capacitor C19, a capacitor C18, a capacitor C17, a capacitor C16 are arranged in parallel between the 5V voltage output line and the ground line, a capacitor C14, a resistor R21 and a resistor R12 are arranged in series between the 5V voltage output line and the ground line, and a chip 3 are connected to the chip through a lead wire.
Preferably, the 5V conversion circuit includes a chip U9, a pin 1 and a pin 2 of the U9 are connected to a 42V power supply, a pin 3 and a pin 4 of the U9 are connected to a battery, a pin 5 of the U9 is connected to a ground line, a pin 7 of the U9 is connected to a resistor R29, a pin 8 of the U9 is connected to a 5V voltage output line, a capacitor C30 is arranged between the 5V voltage output line and the ground line, a resistor R30 and a capacitor C45 are arranged in parallel between an extension line of the pin 7 of the U9 and the ground line, and the resistor R30 and the capacitor C45 are arranged behind an output end of the resistor R29.
As a preferable scheme, the 3.3V conversion circuit includes a chip U5, a pin 3 of the U5 is connected to a 5V voltage output line, a pin 1 of the U5 is connected to a ground line, a capacitor C25 is disposed between the 5V voltage output line and the ground line, a pin 2 of the U5 is connected to the 3.3V voltage output line, and a capacitor C23, a capacitor C22, and a capacitor C21 are disposed between the 3.3V voltage output line and the ground line in parallel.
As a preferable scheme, the switch button comprises a plug J6, a pin 1 of the plug J6 is connected with a ground wire, a capacitor C3 is arranged on the ground wire, a pin 2 of the plug J6 is connected with a diode D3 and a diode D4 which are arranged in parallel, one end of the diode D3 is connected with a pin 55 of the MCU, one end of the diode D4 is connected with a powerphosh interface of the electric quantity detection circuit, the pin 3 of the plug J6 is connected with a collector of a triode Q7, an emitter of the triode Q7 is grounded, a base of the triode Q7 is connected with a resistor R38, one end of the resistor R38 is connected with a pin 56 of the MCU, and a resistor R40 is arranged between the resistor R38 and the base of the triode Q7 and between the base and the ground wire.
Preferably, the storage module comprises a USB module and an SD card storage module.
As a preferred scheme, the industrial gateway electric quantity monitoring circuit further comprises an LORA wireless module, and the LORA wireless module is connected with the MCU.
As a preferred scheme, the LORA wireless module includes a chip U7, a pin 1, a pin 2, a pin 3, and a pin 4 of the chip U7 are respectively connected to a pin 22, a pin 23, a pin 20, and a pin 21 of the MCU, the pin 7 of the chip U7 is grounded, a pin 8 of the chip U7 is connected to a resistor R41, one end of the resistor R41 is connected to a plug J7, the plug J7 and the resistor R41 are connected to a pin 3 of a plug J9, and the pin 2 and the pin 1 of the plug J9 are grounded; the pin 9, the pin 10 and the pin 11 of the U7 are respectively connected with the pin 26, the pin 25 and the pin 24 of the MCU, the pin 15 of the U7 is connected with a grounding wire, the pin 16 of the U7 is connected with a 3.3V voltage input wire, and a capacitor C32 and a capacitor C31 are arranged between the grounding wire and the voltage input wire in parallel.
In the application, the electric quantity detection circuit detects the voltage of the battery, the voltage is fed back to the MCU through the PWADC interface, the MCU calculates the electric quantity according to the voltage value, and the electric quantity is displayed through the display screen module to realize electric quantity monitoring of the wireless gateway; preferably, still be connected with the wireless module of LORA, send the electric quantity to another equipment through the wireless module of LORA, realize the electric quantity detection of certain extent again, make things convenient for the staff to look over.
The battery voltage detection circuit is simple in structure, a Bluetooth module is not required to be arranged in the battery voltage detection circuit, data transmission is achieved without networking, and the detection of the electric quantity can be achieved by detecting the voltage of the battery through the detection circuit; in addition, remote control can be realized through the LORA wireless module, and the LORA wireless module is very simple, convenient and practical.
Drawings
FIG. 1 is a circuit diagram of the present application;
FIG. 2 is a circuit diagram of the MCU of the present application;
FIG. 3 is a circuit diagram of a 12V conversion circuit, a 5V conversion circuit I, and a 5V conversion circuit II;
FIG. 4 is a circuit diagram of the 3.3V conversion circuit of the present application;
FIG. 5 is a circuit diagram of the switch button of the present application;
fig. 6 is a circuit diagram of the power detection circuit of the present application;
FIG. 7 is a circuit diagram of a USB module of the present application;
FIG. 8 is a circuit diagram of the SD card memory module of the present application;
FIG. 9 is a circuit diagram of the LORA wireless module of the present application;
FIG. 10 is a circuit diagram of the RTC real time clock module of the present application;
FIG. 11 is a circuit diagram of a display screen module of the present application;
Detailed Description
The following detailed description of the embodiments of the present invention will be made with reference to the accompanying drawings. It should be noted that the embodiments described herein are only for illustrating and explaining the present invention, and are not to be construed as limiting the present invention.
The first embodiment is as follows:
the application provides an industrial gateway electric quantity monitoring circuit, which comprises an MCU (microprogrammed control unit), wherein the MCU is connected with a battery, the battery is connected with a power supply conversion circuit, the battery adopts a 36V battery power supply conversion circuit to convert voltage into 12V, 5V and 3.3V, and power is supplied to required components; MCU still is connected with respectively and shows the vision, screen module, storage module, RTC real-time clock module, and wherein, storage module includes USB module and SD card storage module, as shown in FIG. 7, FIG. 8, FIG. 10, FIG. 11, above-mentioned show screen module, storage module, USB module, SD card storage module, RTC real-time clock module are prior art, and this application does not do specific details to it, the battery is connected with electric quantity detection circuitry, and electric quantity detection circuitry is used for measuring the voltage of battery, analyzes through MCU, reachs the electric quantity value, shows through the display screen module, supplies the staff to look over.
Specifically, the method comprises the following steps: the electric quantity detection circuit comprises a resistor R11 and a triode Q3 which are arranged in parallel, one end of the resistor R11 is connected with a resistor R19, the resistor R19 is connected with a collector of the triode Q8, an emitter of the triode Q8 is grounded, a base electrode of the triode Q8 is connected with a POWER interface, the POWER interface is connected with a pin 34 of the MCU, and a POWER interface between the resistor R19 and the collector of the triode Q8 is connected with a switch button pin 2; the switch button is used for waking up the electric quantity detection circuit, triode Q3 still is connected with parallelly connected circuit one and circuit two, circuit one includes resistance R12, and resistance R12's one end is connected with resistance R15, and resistance R15 is parallelly connected with electric capacity C15, and electric capacity C15, resistance R12's junction are connected with the POWADC interface, and the POWADC interface is connected with MCU's pin 15, circuit two includes resistance R13, and resistance R13 is connected with resistance R16, and resistance R16's one end and resistance R15, electric capacity C15 ground connection jointly, and the PEN interface between resistance R13 and the resistance R16 is connected with power conversion circuit.
The battery is connected into the electric quantity detection circuit to detect the voltage of the battery, the detected data is transmitted to the MCU through the POWADC, and the MCU converts the voltage value into an electric quantity value and then transmits the electric quantity value to the display screen module to be displayed for a worker to check; the electric quantity detection circuit is simple, monitoring of the residual electric quantity of the battery can be achieved without configuring an extra module, the circuit structure is simplified, and cost is saved.
Example two:
the embodiment describes the MCU, specifically:
the MCU comprises a chip U2, a pin 1 of the chip U2 with the model number of STM32F401-64P, a 3.3V power supply is connected with the MCU, the 3.3V power supply supplies power for the MCU, a pin 3, a pin 4, a pin 5, a pin 6 and a pin 7 of the U2 are respectively extended with an MCUX32I interface, an MCUX32O interface, an MCUXII interface, an MCU XIO interface and an MCUREST interface, a pin 10 and a pin 11 of the U2 are respectively extended with a TFMISO interface and a TFMOSI interface, the TFMISO interface and the TFMOSI interface are connected with a storage card SD, a pin 12 of the U2 is grounded, a pin 13 of the U2 is extended with a VREF + interface, a pin 15 and a pin 16 of the U2 are extended with a POWADC interface and a CHARADC interface, the POWADC interface is connected with the junctions of a circuit capacitor C15, a resistor R15 and a resistor R12 in the electric quantity detection circuit, pin 18 of U2 is grounded, pin 19 of U2 is connected to a 3.3V power supply, pin 20, pin 21, pin 22, pin 23, pin 24, pin 25, and pin 26 of U2 are respectively extended with a lorans interface, a LORASCK interface, a LORAMISO interface, a LORAMOSI interface, a LORAINT1 interface, a LORAINT0 interface, and a LORARST interface, which are used to connect with the LORA module, so as to realize wireless data transmission, display electric quantity through another display device, terminal, etc., for more convenient viewing, and the operator can select the terminal, etc., and can also view through the display screen module on site; a TFSCK interface extends from a pin 29 of U2, the TFSCK interface is used for being connected with a pin 5 of an SD memory card, a pin 30 of U2 is connected with a capacitor C4, the capacitor C4 and a pin 31 of U2 are grounded together, a pin 32 of U2 is connected with a 3.3V power supply, a pin 33 and a pin 34 of U2 are respectively extended with a TFNSS interface and a POWERON interface, the TFNSS interface is used for being connected with a pin 2 of the SD memory card, the POWERON interface is connected with the POWERON interface of a power detection circuit, a pin 40 of U2 is extended with a USBPWR interface, a pin 42 of U2 is extended with a USBVBUS interface, the USBPWR interface and the USBVBUS interface are used for being connected with a USB module, a pin 44, a pin 45 and a pin 46 of U2 are respectively extended with a USBDM interface, a USBDP interface and a sybdsswdio interface, and a bdp interface are used for being connected with the USB module; pin 47 of U2 is grounded, pin 48 of U2 is connected with a 3.3V power supply, pin 49 and pin 50 of U2 are respectively extended with a SYSSWCLK interface and an LED2 interface, pin 55, pin 56, pin 57, pin 58, pin 59, pin 60, pin 61 and pin 62 of U2 are respectively extended with a BUTTON interface, an LED1 interface, an LCDON interface, an LCDTX interface, an LCDRX interface, a BOOT interface, an RTCSCL interface and an RTCSDA interface, pin 63 of U2 is grounded, and pin 64 of U2 is connected with the 3.3V power supply; the BUTTON interface is connected with a diode D3 of the switch BUTTON; the LED1 interface is connected with a resistor R38 of a switch button, the LCDON interface, the LCDTX interface and the LCDRX interface are used for being connected with the display screen module, and the BOOT interface, the RTCSCL interface and the RTCSDA interface are used for being connected with the RTC real-time clock module.
Example three:
in this embodiment, a 12V conversion circuit, a 5V conversion circuit i, a 5V conversion circuit ii, and a 3.3V conversion circuit are described;
12V voltage is used for supplying power to display screen module, shift knob, and 5V voltage is used for supplying power to the USB module, and 3.3V voltage is used for supplying power to MCU, SD storage module, RTC real-time clock module, LORA wireless module.
The 12V conversion circuit comprises a chip U1, and the type of the chip U1 is as follows; the TPS54260 comprises a pin 1 of U1, a capacitor C11, a pin 10 of U1, a pin 10 of 12V, and an inductor L1, wherein the other end of the capacitor C11 is connected with the pin 1; a power interface extends from a pin 2 of the U1, the power interface is connected with a battery, a resistor R1 is arranged on the power interface, a pin 3 of the U1 is connected with a PEN interface, a pin 4 of the U1 is connected with a capacitor C9, one end of the capacitor C9 is connected with a ground wire, a capacitor C7 and a capacitor C8 are connected in parallel between an extension line between the pin 2 and the resistor R1 and the ground wire, a pin 5 of the U1 is connected with the resistor R9, and the other end of the resistor R9 is connected with the ground wire; an FB interface extends from a pin 7 of the U1, a pin 8 of the U1 is connected with a capacitor C10, the other end of the capacitor C10 is connected with a ground wire, the pin 8 of the U1 is also connected with a resistor R5 and a capacitor C11 which are arranged in series, one end of the capacitor C11 is grounded, and the resistor R5 and the capacitor C11 which are arranged in series are connected with the capacitor C10 in parallel; u1's pin 9 ground connection, pin 9 is connected with the earth connection promptly, be equipped with diode D1 between earth connection and the 12V voltage output line, diode D1 sets up before inductance L1's input, still is equipped with parallelly connected electric capacity C2, electric capacity C3, electric capacity C5, electric capacity C6 that set up between earth connection and the 12V voltage output line, electric capacity C2, electric capacity C3, electric capacity C5, electric capacity C6 set up behind inductance L1's output, still be equipped with the resistance R2 and the resistance R8 of series connection setting between earth connection and the 12V voltage output line, be equipped with interface FB between resistance R2 and the resistance R8, interface FB is connected with U1's pin 7, and resistance R2 and electric capacity C4 are parallelly connected, are equipped with interface FB between capacitance C4's one end and resistance R2 and the resistance R8 and are connected.
The 5V conversion circuit comprises a chip U3, and the type of the chip U3 is as follows: MP2451, pin 5 and 12V voltage input line of chip U3 are connected, pin 2 and the earth connection of chip U3 are connected, be equipped with electric capacity C13 between 12V voltage input line and the earth connection, it is provided with resistance R10 and resistance R20 to establish ties between 12V voltage input line and the earth connection, it is parallelly connected with electric capacity C13 to establish ties resistance R10 and resistance R20, be connected with pin 4 of chip U3 between resistance R10 and resistance R20, pin 1 and electric capacity C19 of U3, diode D2 connect gradually, the one end of diode D2 is connected with the earth connection, pin 6 and the 5V voltage output line of U3 are connected, be equipped with inductance L2 on the 5V voltage output line, parallelly connected being equipped with electric capacity C19, electric capacity C18, electric capacity C17 between 5V voltage output line and the earth connection, be provided with electric capacity C14, resistance R21 between 5V voltage output line and the earth connection, be provided with electric capacity R14, resistance R12 between resistance R14 and the electric capacity R12, between electric capacity C14 and the resistance R21 through the pin and the chip 6 of U3 of lead wire between 5V voltage output line and the earth connection.
The 5V conversion circuit II comprises a chip U9, and the type of the chip U9 is as follows: CC6902SO-05A, pin 1 and pin 2 of U9 are connected with 42V power, pin 3 and pin 4 of U9 are connected with battery, pin 5 of U9 is connected with the earth connection, pin 7 of U9 is connected with resistance R29, pin 8 of U9 is connected with 5V voltage output line, be equipped with electric capacity C30 between 5V voltage output line and the earth connection, be provided with resistance R30 and electric capacity C45 between the extension line of pin 7 of U9 and the earth connection in parallel, resistance R30, electric capacity C45 set up behind the output terminal of resistance R29.
Two 5V conversion circuits are arranged to ensure that when one of the two conversion circuits goes wrong, the other one can be normally used, so that the normal operation of the USB module is ensured, and the data loss is prevented.
The 3.3V conversion circuit comprises a chip U5, a pin 3 of the U5 is connected with a 5V voltage output line, a pin 1 of the U5 is connected with a grounding line, a capacitor C25 is arranged between the 5V voltage output line and the grounding line, a pin 2 of the U5 is connected with the 3.3V voltage output line, and a capacitor C23, a capacitor C22 and a capacitor C21 are arranged between the 3.3V voltage output line and the grounding line in parallel.
Example four:
the present embodiment defines the switch button, specifically:
the shift knob includes plug J6, plug J6 adopts the switch, the earth connection is connected to plug J6's pin 1, be equipped with electric capacity C3 on the earth connection, plug J6's pin 2 is connected with parallelly connected diode D3 and diode D4 who sets up, diode D3's one end is connected with MCU's pin 55, diode D4's one end and electric quantity detection circuitry's POWER interface connection, plug J6's pin 3 is connected with triode Q7's collecting electrode, triode Q7's projecting pole ground connection, triode Q7's base is connected with resistance R38, resistance R38's one end is connected with MCU's pin 56, be equipped with resistance R40 between resistance R38 and triode Q7's the base, and the earth connection.
Example five:
the present embodiment describes a LORA wireless module, specifically:
LORA wireless module includes chip U7, and chip U7's model is: the LSD4RF-2F717N30, a pin 1, a pin 2, a pin 3 and a pin 4 of a chip U7 are respectively connected with a pin 22, a pin 23, a pin 20 and a pin 21 of the MCU, the pin 7 of the U7 is grounded, a pin 8 of the U7 is connected with a resistor R41, one end of the resistor R41 is connected with a plug J7, the plug J7 is connected with the resistor R41 and a pin 3 of a plug J9, and the pin 2 and the pin 1 of the plug J9 are grounded; the pin 9, the pin 10 and the pin 11 of the U7 are respectively connected with the pin 26, the pin 25 and the pin 24 of the MCU, the pin 15 of the U7 is connected with a grounding wire, the pin 16 of the U7 is connected with a 3.3V voltage input wire, and a capacitor C32 and a capacitor C31 are arranged between the grounding wire and the voltage input wire in parallel.
To sum up, in this application, electric quantity detection circuitry detects the voltage of battery, feeds back MCU with voltage through PWADC interface, and MCU calculates the height of electric quantity according to the height of magnitude of voltage, shows through showing the screen module, realizes the electric quantity monitoring to wireless gateway, preferably, still is connected with the wireless module of LORA, sends the electric quantity to another equipment through the wireless module of LORA, realizes the electric quantity detection of certain within range again, makes things convenient for the staff to look over.
The battery voltage detection circuit is simple in structure, does not need to be internally provided with a Bluetooth module and does not need to be networked to realize data transmission, and can detect the electric quantity by detecting the voltage of the battery through the detection circuit; in addition, remote control can be realized through the LORA wireless module, and the LORA wireless module is very simple, convenient and practical.
The wiring modes are all conventional technical means, and the wiring modes are not described in detail in the application; the present application is not described herein in detail, and the skilled person may select the content according to the specific situation.
The preferred embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the details of the above embodiments, and various simple modifications can be made to the technical solution of the present invention within the technical idea of the present invention, and these simple modifications are included in the scope of protection of the present invention.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present application will not be described separately.
In addition, any combination of the various embodiments of the present application can be made, and the application should be considered as the disclosure of the present application as long as the idea of the present application is not violated.

Claims (10)

1. An industrial gateway electric quantity monitoring circuit comprises an MCU (microprogrammed control unit), wherein the MCU is connected with a battery, the battery is connected with a POWER supply conversion circuit, and the MCU is also respectively connected with a display screen module, a storage module and an RTC (real time clock) real-time clock module, and is characterized in that the battery is connected with an electric quantity detection circuit, the electric quantity detection circuit comprises a resistor R11 and a triode Q3 which are arranged in parallel, one end of the resistor R11 is connected with a resistor R19, the resistor R19 is connected with a collector of a triode Q8, an emitter of the triode Q8 is grounded, a base of the triode Q8 is connected with a POWER ON interface, the POWER ON interface is connected with a pin 34 of the MCU, and a POWER PUSH interface between the resistor R19 and the collector of the triode Q8 is connected with a switch button pin 2; triode Q3 still is connected with parallelly connected circuit one and circuit two, circuit one includes resistance R12, and resistance R12's one end is connected with resistance R15, and resistance R15 is parallelly connected with electric capacity C15, and electric capacity C15, resistance R12's junction is connected with the POW ADC interface, and the POW ADC interface is connected with MCU's pin 15, circuit two includes resistance R13, and resistance R13 is connected with resistance R16, and resistance R16's one end and resistance R15, electric capacity C15 ground connection jointly, the PEN interface between resistance R13 and the resistance R16 are connected with power switching circuit.
2. The POWER monitoring circuit of claim 1, wherein the MCU comprises a chip U2, pin 1 of U2 is connected to a 3.3V POWER supply, pin 3, pin 4, pin 5, pin 6, and pin 7 of U2 are respectively extended with an MCU X32I interface, an MCU X32O interface, an MCU XII interface, an MCU XIO interface, and an MCU REST interface, pin 10 and pin 11 of U2 are respectively extended with a TF MISO interface and a TF MOSI interface, pin 12 of U2 is grounded, pin 13 of U2 is extended with a VREF + interface, pin 15 and pin 16 of U2 are extended with a POW ADC interface and a CHAR ADC interface, pin 18 of U2 is grounded, pin 19 of U2 is connected to a 3.3V POWER supply, pin 20, pin 21, pin 22, pin 23, pin 24, pin 25 and pin 26 of U2 are respectively extended with a LONSS interface, a LORA SCK interface, a LORA MISO interface, a RALORA 1 RST interface, a LORA 0 interface, and a LORA REST interface, a TF SCK interface extends from a pin 29 of U2, a capacitor C4 is connected to a pin 30 of U2, the capacitor C4 and a pin 31 of U2 are grounded together, a 3.3V POWER supply is connected to a pin 32 of U2, a TF NSS interface and a POWER ON interface extend from a pin 33 and a pin 34 of U2 respectively, a USB PWR interface extends from a pin 40 of U2, a USB VBUS interface extends from a pin 42 of U2, a USB DM interface, a USB DP interface and a SYS SWDIO interface extend from a pin 44, a pin 45 and a pin 46 of U2 respectively, a pin 47 of U2 is grounded, a 3.3V POWER supply is connected to a pin 48 of U2, a SYS SWCLK interface and an LED2 interface extend from a pin 55, a pin 56, a pin 57, a pin 58, a pin 59, a pin 60, a pin 61 and a pin 62 of U2 respectively extend BUTTON interfaces, LED1 interfaces, LCD interfaces, POTS interfaces and POTS interfaces, LCD RX interface, BOOT interface, RTC SCL interface, RTC SDA interface, pin 63 ground connection of U2, pin 64 and the 3.3V power connection of U2.
3. The industrial gateway power monitoring circuit of claim 1, wherein the battery is a 36V battery.
4. The electric quantity monitoring circuit of the industrial gateway according to claim 3, wherein the power conversion circuit comprises a 12V conversion circuit, a 5V conversion circuit I, a 5V conversion circuit II and a 3.3V conversion circuit.
5. The power monitoring circuit of the industrial gateway according to claim 4, wherein the 12V conversion circuit comprises a chip U1, a pin 1 of the U1 is connected with a capacitor C11, the other end of the capacitor C11 is connected with a pin 10 of the U1, the pin 10 is connected with a 12V voltage output line, and an inductor L1 is arranged on the 12V voltage output line; a power interface extends from a pin 2 of the U1, the power interface is connected with a battery, a resistor R1 is arranged on the power interface, a pin 3 of the U1 is connected with a P EN interface, a pin 4 of the U1 is connected with a capacitor C9, one end of the capacitor C9 is connected with a ground wire, a capacitor C7 and a capacitor C8 are connected in parallel between an extension line between the pin 2 and the resistor R1 and the ground wire, a pin 5 of the U1 is connected with the resistor R9, and the other end of the resistor R9 is connected with the ground wire; an FB interface extends from a pin 7 of the U1, a pin 8 of the U1 is connected with a capacitor C10, the other end of the capacitor C10 is connected with a ground wire, the pin 8 of the U1 is also connected with a resistor R5 and a capacitor C11 which are arranged in series, one end of the capacitor C11 is grounded, and the resistor R5 and the capacitor C11 which are arranged in series are connected with the capacitor C10 in parallel; u1's pin 9 is connected with the earth connection, be equipped with diode D1 between earth connection and the 12V voltage output line, diode D1 sets up before inductance L1's input, still is equipped with parallelly connected electric capacity C2, electric capacity C3, electric capacity C5, the electric capacity C6 that sets up between earth connection and the 12V voltage output line, electric capacity C2, electric capacity C3, electric capacity C5, electric capacity C6 set up behind inductance L1's output, still be equipped with resistance R2 and the resistance R8 that establishes ties and set up between earth connection and the 12V voltage output line, be equipped with interface FB between resistance R2 and the resistance R8, interface FB is connected with U1's pin 7, and resistance R2 is parallelly connected with electric capacity C4, is equipped with interface FB between electric capacity C4's one end and resistance R2 and the resistance R8 and is connected.
6. The industrial gateway electric quantity monitoring circuit according to claim 5, characterized in that the 5V conversion circuit comprises a chip U3, a pin 5 of the chip U3 is connected with a 12V voltage output line, a pin 2 of the chip U3 is connected with a ground line, a capacitor C13 is arranged between the 12V voltage output line and the ground line, a resistor R10 and a resistor R20 are arranged between the 12V voltage output line and the ground line in series, the resistor R10 and the resistor R20 are arranged in series and connected with the capacitor C13 in parallel, the resistor R10 and the resistor R20 are connected with a pin 4 of the chip U3, a pin 1 of the U3 is sequentially connected with a capacitor C19 and a diode D2, one end of the diode D2 is connected with the ground line, a pin 6 of the U3 is connected with the 5V voltage output line, an inductor L2 is arranged on the 5V voltage output line, a capacitor C19, a capacitor C18, a capacitor C17, a capacitor C16, a resistor R14 and a resistor R12 are arranged between the 5V voltage output line and the ground line in series and connected with the ground line in parallel, and a resistor R14, a resistor R12 and a resistor R14 and a resistor R12 are connected between the chip U3 through a lead wire.
7. The industrial gateway power monitoring circuit according to claim 5, wherein the 5V conversion circuit comprises a U9 chip, the pin 1 and the pin 2 of the U9 chip are connected to a 42V power supply, the pin 3 and the pin 4 of the U9 chip are connected to a battery, the pin 5 of the U9 chip is connected to a ground line, the pin 7 of the U9 chip is connected to a resistor R29, the pin 8 of the U9 chip is connected to a 5V voltage output line, a capacitor C30 is arranged between the 5V voltage output line and the ground line, a resistor R30 and a capacitor C45 are arranged between an extension line of the pin 7 of the U9 chip and the ground line in parallel, and the resistor R30 and the capacitor C45 are arranged behind the output end of the resistor R29.
8. The electric quantity monitoring circuit of the industrial gateway, according to claim 5, characterized in that the 3.3V conversion circuit comprises a chip U5, a pin 3 of U5 is connected with a 5V voltage output line, a pin 1 of U5 is connected with a ground line, a capacitor C25 is arranged between the 5V voltage output line and the ground line, a pin 2 of U5 is connected with the 3.3V voltage output line, and a capacitor C23, a capacitor C22 and a capacitor C21 are arranged between the 3.3V voltage output line and the ground line in parallel.
9. The POWER monitoring circuit of claim 1, wherein the switch button comprises a plug J6, pin 1 of the plug J6 is connected to a ground line, a capacitor C3 is disposed on the ground line, pin 2 of the plug J6 is connected to a diode D3 and a diode D4 which are disposed in parallel, one end of the diode D3 is connected to pin 55 of the MCU, one end of the diode D4 is connected to the POWER PUSH interface of the POWER detection circuit, pin 3 of the plug J6 is connected to the collector of the transistor Q7, the emitter of the transistor Q7 is grounded, the base of the transistor Q7 is connected to the resistor R38, one end of the resistor R38 is connected to pin 56 of the MCU, and a resistor R40 is disposed between the resistor R38 and the base of the transistor Q7 and the ground line.
10. The electric quantity monitoring circuit of the industrial gateway according to claim 1, wherein the MCU is further connected with a LORA wireless module, and the LORA wireless module is connected with the MCU.
CN202222854040.5U 2022-10-28 2022-10-28 Industrial gateway electric quantity monitoring circuit Active CN218734356U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202222854040.5U CN218734356U (en) 2022-10-28 2022-10-28 Industrial gateway electric quantity monitoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202222854040.5U CN218734356U (en) 2022-10-28 2022-10-28 Industrial gateway electric quantity monitoring circuit

Publications (1)

Publication Number Publication Date
CN218734356U true CN218734356U (en) 2023-03-24

Family

ID=85592257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202222854040.5U Active CN218734356U (en) 2022-10-28 2022-10-28 Industrial gateway electric quantity monitoring circuit

Country Status (1)

Country Link
CN (1) CN218734356U (en)

Similar Documents

Publication Publication Date Title
CN203138477U (en) Portable electrocardiogram machine
CN218734356U (en) Industrial gateway electric quantity monitoring circuit
CN214503743U (en) Electric quantity acquisition circuit and electric quantity acquisition device
CN112666383A (en) Dynamic detection device and method for current, voltage and power of mobile equipment
CN108023897B (en) Communication port and electronic equipment with same
CN205608442U (en) A signal transmission device that be used for magnetic resonance vision transmission based on thing networking
CN214895149U (en) Household formaldehyde monitoring system
CN210273852U (en) Network power adapter and electronic equipment and network power system based on same
CN114422876B (en) Data transmission device of total station
CN203482204U (en) USB-optical fiber Ethernet converter
CN207993185U (en) A kind of outdoor photovoltaic lamps and lanterns with alarm system
CN209181806U (en) A kind of environmental monitoring system
CN218673496U (en) Attitude sensor device for monitoring on-column switch state
CN207321303U (en) A kind of remote control equipment for hazardous area
CN217307331U (en) Power distribution information transmission device
CN217587363U (en) Electric parameter detection circuit and electric quantity isolation transmitter
CN213661589U (en) Four-wire elevator flat-layer groove type photoelectric switch circuit
CN203025700U (en) Intelligent HART (Highway Addressable Remote Transducer) converter
CN215956574U (en) Gas data teletransmission circuit
CN211506472U (en) Peripheral interface expansion equipment
CN210807341U (en) Multifunctional data conversion device
CN216355210U (en) Synchronous electric quantity display data line
CN216410482U (en) Pressure testing system of hydraulic switch machine
CN217155477U (en) Soil state monitoring system based on singlechip
CN217063565U (en) Robot charging device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant