Data acquisition gateway circuit for low-cost 4G communication

By combining a microcontroller control module, an RS232 communication module, a 4G communication module, and an EEPROM storage module, the limitations of traditional data acquisition gateways in high-speed data transmission and processing capabilities are solved, achieving stability and flexibility in high-speed data transmission and remote control.

CN224083549UActive Publication Date: 2026-04-03SHENZHEN XIN YUPENG ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-05-10
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Traditional microcontroller-based data acquisition gateways have limitations in high-speed data transmission and processing capabilities, and cannot meet the needs of high bandwidth and fast transmission.

Method used

The system employs a combination of a microcontroller control module, an RS232 communication module, a 4G communication module, and an EEPROM storage module. The RS232 module enables reliable data transmission between the microcontroller and the 4G module, and voltage compatibility is ensured through level conversion. The EEPROM storage module is used to store control commands and parameters.

Benefits of technology

It has improved high-speed data transmission and processing capabilities, ensuring the stability and flexibility of the system and meeting the needs of remote control and data acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224083549U_ABST
    Figure CN224083549U_ABST
Patent Text Reader

Abstract

The utility model relates to a low-cost 4G communication data acquisition gateway circuit, which comprises a single-chip microcomputer control module, an RS232 communication module, a 4G communication module and an EEPROM (Electrically Erasable Programmable Read-Only Memory) storage module, and is characterized in that a first data communication end of the single-chip microcomputer control module is connected with a first data communication end of the RS232 communication module; a first data communication end of the RS232 communication module is connected with a communication end of the 4G communication module, a first data communication end of the single-chip microcomputer control module is connected with a data communication end of the EEPROM storage module, and the RS232 communication module is used for realizing data transmission operation between the single-chip microcomputer control module and the 4G communication module. And voltage compatibility in data transmission operation is adapted through corresponding level conversion. Reliable data transmission between the single-chip microcomputer and the 4G module is realized through the RS232 module, voltage compatibility is ensured through level conversion, stability and flexibility of the system are ensured, and requirements of remote control and data acquisition are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of data acquisition gateways, and in particular to a low-cost 4G communication data acquisition gateway circuit. Background Technology

[0002] Currently, with the popularization of IoT technology, the demand for remote data acquisition and device control is constantly growing. However, traditional microcontroller-based data acquisition gateways have certain limitations in high-speed data transmission, mainly due to their low communication rate. Although most data acquisition gateways on the market use microcontroller solutions and can support basic communication functions, these solutions have certain limitations in terms of processing power and communication rate, and cannot meet the requirements of high bandwidth and fast transmission. Utility Model Content

[0003] To address the limitations of traditional microcontroller-based data acquisition gateways in high-speed data transmission and processing capabilities, and to meet the growing demand for remote data acquisition and equipment control, this application provides a low-cost 4G communication data acquisition gateway circuit.

[0004] A low-cost 4G communication data acquisition gateway circuit includes a microcontroller control module, an RS232 communication module, a 4G communication module, and an EEPROM storage module. The first data communication terminal of the microcontroller control module is connected to the first data communication terminal of the RS232 communication module, which is also connected to the communication terminal of the 4G communication module. The first data communication terminal of the microcontroller control module is connected to the data communication terminal of the EEPROM storage module. The EEPROM storage module stores control commands and parameters issued by the microcontroller control module. The RS232 communication module enables data transmission between the microcontroller control module and the 4G communication module, and adapts for voltage compatibility during data transmission through corresponding level conversion.

[0005] By adopting the above technical solution, which combines a microcontroller control module with an RS232 communication module, a 4G communication module, and an EEPROM storage module, the problems of low communication speed and weak data transmission capability in traditional data acquisition gateways are solved. This solution achieves reliable data transmission between the microcontroller and the 4G module through the RS232 module, ensures voltage compatibility through level conversion, and stores control commands and parameters through the EEPROM storage module, ensuring system stability and flexibility and meeting the needs of remote control and data acquisition.

[0006] Preferably, the RS232 communication module includes a first RS232 communication transceiver and a second RS232 communication transceiver. The first data communication terminal of the first RS232 communication transceiver is connected to the data communication terminal of the 4G communication module. The second data communication terminal of the first RS232 communication transceiver and the first data communication terminal of the second RS232 communication transceiver are connected through a zero-ohm resistor. The second data communication terminal of the second RS232 communication transceiver is connected to the first data communication terminal of the microcontroller control module.

[0007] By adopting the above technical solution, introducing a first RS232 communication transceiver and a second RS232 communication transceiver, and connecting these two transceivers with a zero-ohm resistor, the reliability and flexibility of data communication are improved. This design ensures stable data transmission while making the connections between modules more precise, simplifying circuit design, and improving the overall system compatibility.

[0008] Preferably, the low-cost 4G communication data acquisition gateway circuit further includes an external terminal JP4, the RS232 serial communication terminal of the external terminal JP4 is connected to the third data communication terminal of the second RS232 communication transceiver, and the fourth data communication terminal of the second RS232 communication transceiver is connected to the third data communication terminal of the microcontroller control module to realize RS232 serial communication operation.

[0009] By adopting the above technical solution, an external terminal JP4 is added to the circuit and connected to the communication terminal of the second RS232 transceiver, realizing RS232 serial communication operation. This design provides an additional external interface, offering greater flexibility and scalability for remote control and data acquisition of the device, adapting to the connection needs of different application scenarios.

[0010] Preferably, the RS485 serial communication port of the external terminal JP4 is connected to an RS485 communication module.

[0011] By adopting the above technical solution, an RS485 communication module was added as an expansion interface for the external terminal JP4, further expanding the communication capabilities of the data acquisition gateway. The introduction of RS485 enables the device to support multi-point communication over longer distances, enhancing the system's applicability, especially in industrial applications requiring the connection of multiple devices.

[0012] Preferably, the low-cost 4G communication data acquisition gateway circuit further includes a switch control module. The switch control module includes an optocoupler U7, a transistor Q2, and a relay RE1. The optical signal input terminal of the optocoupler U7 is connected to the switch control signal output terminal of the microcontroller control module. The optical signal output terminal of the optocoupler U7 is connected to the power supply. The electrical signal input terminal of the optocoupler U7 is connected to the power supply. The electrical signal output terminal of the optocoupler U7 is connected to the controlled terminal of the transistor Q2. The first conducting terminal of the transistor Q2 is connected to the power supply, and the second conducting terminal of the transistor Q2... The transistor Q2 is grounded, and the common node between the first conducting terminal of the transistor Q2 and the power supply is connected to the control signal input terminal of the relay RE1. The normally open contact of the relay RE1 is connected to the normally open contact connection terminal of the external terminal JP4, and the common contact of the relay RE1 is connected to the common contact connection terminal of the external terminal JP4. The switch control signal output terminal of the microcontroller control module is used to output a level signal to turn on the light-emitting diode in the optocoupler U7, so that the transistor Q2 is turned on, thereby causing the relay RE1 to switch from a normally closed contact to a normally open contact.

[0013] By adopting the above technical solution and introducing a switch control module, remote switch control of the equipment can be achieved. The microcontroller controls the state switching of the relays through optocouplers and transistors, thereby controlling the switching of external devices. This enhances the functionality of the data acquisition gateway in remote device management and enables efficient device control through the relays.

[0014] Preferably, a reverse protection diode D10 is connected between the first conducting terminal of the transistor Q2 and the power supply. The negative terminal of the reverse protection diode D10 is connected to the power supply, and the positive terminal of the reverse protection diode D10 is connected to the first conducting terminal of the transistor Q2. The control signal input terminal of the relay RE1 is connected between the positive terminal of the reverse protection diode D10 and the first conducting terminal of the transistor Q2.

[0015] By adopting the above technical solution and adding a reverse protection diode D10, the relay control circuit and transistor are effectively protected from damage caused by reverse current. This design improves the stability and reliability of the system, ensures the safety of the relay module during operation, and thus enhances the protection capability of the entire circuit.

[0016] Preferably, the switch control module further includes a light-emitting diode D9, a resistor R22, and a resistor R23. The optical signal input terminal of the optocoupler U7 is connected to the first terminal of the resistor R23, the second terminal of the resistor R23 is connected to the positive terminal of the light-emitting diode D9, the negative terminal of the light-emitting diode D9 is connected to the switch control signal output terminal of the microcontroller control module, the first terminal of the resistor R22 is connected to the optical signal output terminal of the optocoupler U7, and the second terminal of the resistor R22 is connected to the power supply.

[0017] By adopting the above technical solution, and introducing the connection between the input terminal of the optocoupler and components such as resistors R22 and R23, and LED D9, the signal transmission of the switch control module and the smooth execution of relay control operations are ensured. This design further optimizes the control signal transmission of the circuit, reduces system power consumption, and enhances signal accuracy and stability.

[0018] Preferably, the data communication end of the 4G communication module includes a 4G communication receiving port and a 4G communication transmitting port. The 4G communication module includes a 4G communication chip U10 and a resistor switching network. The resistor switching network includes resistors R44, R45, R46, and R47. The 7600 serial port receiving end of the 4G communication chip U10 is connected to the first end of resistor R44. The EC20 serial port receiving end of the 4G communication chip U10 is connected to the first end of resistor R45. The second end of resistor R44 and the second end of resistor R45 are combined to form the 4G communication receiving port. The 7600 serial port transmitting end of the 4G communication chip U10 is connected to the first end of resistor R46. The EC20 serial port transmitting end of the 4G communication chip U10 is connected to the first end of resistor R47. The second end of resistor R46 and the second end of resistor R47 are combined to form the 4G communication transmitting port.

[0019] By adopting the above technical solution and designing a resistor switching network and the receive / transmit ports of the 4G communication module, level matching and signal switching between different communication interfaces were achieved. The use of the resistor switching network not only optimizes signal transmission but also enables the 4G communication module to flexibly switch between multiple data transmission ports, improving the stability and flexibility of data transmission and ensuring efficient system communication.

[0020] Preferably, the low-cost 4G communication data acquisition gateway circuit further includes a power management module, which includes a first power chip U1 and a step-down chip U2. The power input terminal of the first power chip U1 is connected to a power source, and the power output terminal of the first power chip U1 outputs 5V power and is connected to the power input terminal of the step-down chip U2. The voltage output terminal of the step-down chip U2 outputs 3.3V power for power supply.

[0021] By adopting the above technical solution, multiple voltage outputs are provided, ensuring the power supply required for the stable operation of each module. This design guarantees the power management flexibility and stability of the data acquisition gateway circuit, avoids damage to circuit components caused by voltage mismatch, and improves the reliability of the entire system.

[0022] Preferably, the power management module further includes a second power chip U3, wherein the power output terminal of the first power chip U1 is connected to the power input terminal of the second power chip U3, and the voltage output terminal of the second power chip U3 outputs 3.8V power for power supply.

[0023] By adopting the above technical solution and adding a second power chip to provide a 3.8V power output, the power management design was further refined. This ensured the power supply requirements of the 4G communication module, improved the accuracy and efficiency of power management, enabled the entire circuit to operate stably under different power requirements, and enhanced the system's adaptability and reliability.

[0024] In summary, this application includes at least one of the following beneficial technical effects:

[0025] This application employs a low-cost microcontroller solution combined with a 4G communication module to implement the communication function of a data acquisition gateway. An RS232 communication module is used for level conversion to overcome the limitations of traditional microcontroller-based data acquisition gateways in high-speed data transmission and processing capabilities. Specifically, by using a microcontroller control module as the core processing unit, necessary data processing and control tasks can be performed while controlling costs, ensuring the system meets basic communication requirements at a low cost. The RS232 communication module bridges the data transmission between the microcontroller and the 4G communication module, enabling effective communication between the two and ensuring signal voltage compatibility through level conversion, thus avoiding data transmission errors or system damage caused by voltage mismatch. Furthermore, the introduction of an EEPROM storage module further enhances the system's flexibility and reliability. It can store control commands and parameters issued by the microcontroller, ensuring the persistence of control commands even after system restarts or power outages. In summary, this design effectively solves the problem of traditional microcontroller solutions failing to meet high-speed data transmission requirements, while maintaining low cost and ensuring the stability and reliability of remote device control and data acquisition. Attached Figure Description

[0026] Figure 1 This is a flowchart of a low-cost 4G communication data acquisition gateway circuit according to one embodiment of this application.

[0027] Figure 2This is a partial circuit diagram of the microcontroller control module in a low-cost 4G communication data acquisition gateway according to an embodiment of this application;

[0028] Figure 3 This is a partial circuit diagram of the first RS232 communication transceiver in a low-cost 4G communication data acquisition gateway according to an embodiment of this application.

[0029] Figure 4 This is a partial circuit diagram of the second RS232 communication transceiver in a low-cost 4G communication data acquisition gateway according to an embodiment of this application;

[0030] Figure 5 This is a partial circuit structure diagram of a zero-ohm resistance data acquisition gateway for low-cost 4G communication in one embodiment of this application.

[0031] Figure 6 This is a partial circuit diagram of the external terminal JP4 in a low-cost 4G communication data acquisition gateway according to an embodiment of this application;

[0032] Figure 7 This is a partial circuit structure diagram of the RS485 communication module in a low-cost 4G communication data acquisition gateway according to an embodiment of this application;

[0033] Figure 8 This is a partial circuit diagram of the switch control module in a low-cost 4G communication data acquisition gateway according to one embodiment of this application;

[0034] Figure 9 This is a partial circuit structure diagram of the 4G communication chip in a low-cost 4G communication data acquisition gateway according to an embodiment of this application.

[0035] Figure 10 This is a partial circuit diagram of the resistor switching network in a low-cost 4G communication data acquisition gateway according to one embodiment of this application.

[0036] Figure 11 This is a partial circuit diagram of the first power chip in a low-cost 4G communication data acquisition gateway according to an embodiment of this application.

[0037] Figure 12 This is a partial circuit structure diagram of a step-down chip in a low-cost 4G communication data acquisition gateway according to an embodiment of this application.

[0038] Figure 13 This is a partial circuit diagram of the second power supply chip in a low-cost 4G communication data acquisition gateway according to an embodiment of this application. Detailed Implementation

[0039] The present application will be further described in detail below with reference to the accompanying drawings.

[0040] In one embodiment, such as Figures 1-2 As shown, this application discloses a low-cost 4G communication data acquisition gateway circuit. The low-cost 4G communication data acquisition gateway circuit includes a microcontroller control module, an RS232 communication module, a 4G communication module, and an EEPROM storage module. The first data communication terminal of the microcontroller control module is connected to the first data communication terminal of the RS232 communication module, the first data communication terminal of the RS232 communication module is connected to the communication terminal of the 4G communication module, and the first data communication terminal of the microcontroller control module is connected to the data communication terminal of the EEPROM storage module. The EEPROM storage module is used to store control commands and control parameters issued by the microcontroller control module. The RS232 communication module is used to implement data transmission operations between the microcontroller control module and the 4G communication module, and adapts voltage compatibility in data transmission operations through corresponding level conversion.

[0041] In this embodiment, in this low-cost 4G communication data acquisition gateway circuit, the microcontroller control module, RS232 communication module, 4G communication module, and EEPROM storage module are interconnected through a series of data communication ports to jointly realize data acquisition, transmission, and storage. First, the first data communication terminal of the microcontroller control module is connected to the first data communication terminal of the RS232 communication module, forming a communication channel between the microcontroller and the RS232 communication module. The microcontroller control module is responsible for receiving or sending data from external devices and sending the data to the RS232 communication module for further transmission.

[0042] The first data communication port of the RS232 communication module connects to the communication port of the 4G communication module, ensuring that data is forwarded from the microcontroller control module to the 4G communication module via the RS232 communication protocol. The RS232 communication module plays a crucial role here, converting the microcontroller's low-voltage signal (typically 3.3V) to the voltage level required by the 4G communication module and adapting for voltage compatibility between different modules through level conversion. This level conversion is essential because different modules may operate at different voltages; direct connection would lead to voltage mismatch, causing signal transmission errors or device damage. The RS232 communication module's function is to ensure signal integrity and reliability during communication, enabling data to be successfully transmitted from the microcontroller to the 4G communication module.

[0043] The microcontroller control module's first data communication terminal is connected to the EEPROM storage module's data communication terminal. This connection ensures that the microcontroller control module can send control commands and parameters to the EEPROM storage module. The EEPROM storage module persistently stores these control commands and parameters, ensuring that control commands and related configuration information can be restored after a power outage or restart, thus maintaining system continuity and stability. This storage function is crucial for controlling remote devices because it guarantees that even after a power outage, the system can restore to its pre-outage operating state without reconfiguration.

[0044] In summary, the microcontroller control module establishes a data transmission channel with the RS232 communication module through the first data communication terminal. The RS232 communication module transmits signals to the 4G communication module through level conversion. Simultaneously, the connection between the microcontroller control module and the EEPROM storage module ensures the persistent storage of system data. This circuit design provides an efficient and stable remote data transmission and device control scheme. Through a reasonable level conversion and data storage mechanism, it achieves a low-cost and high-efficiency remote control system.

[0045] Furthermore, such as Figures 3-5 As shown, the RS232 communication module includes a first RS232 communication transceiver and a second RS232 communication transceiver. The first data communication terminal of the first RS232 communication transceiver is connected to the data communication terminal of the 4G communication module. The second data communication terminal of the first RS232 communication transceiver is connected to the first data communication terminal of the second RS232 communication transceiver through a zero-ohm resistor. The second data communication terminal of the second RS232 communication transceiver is connected to the first data communication terminal of the microcontroller control module.

[0046] In this embodiment, the RS232 communication module consists of two RS232 transceivers: a first RS232 transceiver and a second RS232 transceiver. First, the first data communication port of the first RS232 transceiver is connected to the data communication port of the 4G communication module, ensuring that data is transmitted from the 4G communication module to the first RS232 transceiver via the RS232 protocol. This connection converts the data from the 4G communication module into a signal conforming to the RS232 standard and further transmits it to the next-level device. Through this port, the 4G communication module can exchange data with the RS232 communication module, ensuring network communication stability and signal compatibility.

[0047] The second data communication terminal of the first RS232 transceiver is connected to the first data communication terminal of the second RS232 transceiver via a zero-ohm resistor, forming a signal bridge between the two transceivers. The zero-ohm resistor acts as a connection, essentially a jumper, allowing data to be transmitted from the first RS232 transceiver to the second while maintaining circuit simplicity and flexibility. Using a zero-ohm resistor means that the circuit configuration can be quickly modified as needed; this design simplifies the circuit and allows signals to flow directly without additional complex connections.

[0048] Next, the second data communication terminal of the second RS232 transceiver is connected to the first data communication terminal of the microcontroller control module, forming a communication channel between the microcontroller control module and the RS232 communication module. Through this connection, the microcontroller control module can transmit data with the RS232 communication module, thereby enabling control and data processing of the 4G communication module. This connection ensures that data can be transmitted from the microcontroller control module to the 4G communication module and guarantees the correct transmission of data during communication.

[0049] In summary, the first RS232 transceiver is responsible for converting data from the 4G communication module and transmitting it to the second RS232 transceiver. The second RS232 transceiver then transmits data from the first RS232 transceiver to the microcontroller control module, completing the data transmission and processing from the remote device to the microcontroller control module. The use of zero-ohm resistors simplifies the circuit design, making the connections more concise and easier to modify, while ensuring unimpeded data transmission between modules in the system. This circuit design ensures the functionality of the communication module and the efficient operation of the circuit.

[0050] Furthermore, such as Figure 6 As shown, the low-cost 4G communication data acquisition gateway circuit also includes an external terminal JP4. The RS232 serial communication terminal of the external terminal JP4 is connected to the third data communication terminal of the second RS232 transceiver, and the fourth data communication terminal of the second RS232 transceiver is connected to the third data communication terminal of the microcontroller control module to realize RS232 serial communication operation.

[0051] In this embodiment, external terminal JP4 provides an additional RS232 serial communication port, which connects to the third data communication port of the second RS232 transceiver, forming a communication interface with external devices. Through this connection, external devices can exchange data with the system via RS232 serial communication. Simultaneously, the fourth data communication port of the second RS232 transceiver connects to the third data communication port of the microcontroller control module, enabling serial data transmission between the microcontroller control module and external devices. This design allows the microcontroller control module to interact with external devices via the second RS232 transceiver, further expanding the system's communication capabilities and supporting the connection of more devices and more flexible remote control. The entire process ensures smooth and stable data transmission from external devices to the microcontroller control module via the RS232 serial port, completing data acquisition and control operations.

[0052] Furthermore, such as Figure 7 As shown, the RS485 serial communication port of the external terminal JP4 is connected to an RS485 communication module.

[0053] In this embodiment, the RS485 serial communication port of external terminal JP4 is connected to the RS485 communication module, allowing the system to exchange data with external devices via the RS485 communication protocol. RS485 is a differential communication standard suitable for long-distance and multi-point communication, thus providing stronger anti-interference capabilities and longer communication distances than RS232. By connecting the RS485 communication module to the RS485 port of external terminal JP4, the system can achieve stable communication with multiple devices, especially in applications requiring long-distance data transmission, such as industrial automation and remote monitoring. This design expands the communication capabilities of the data acquisition gateway, enabling the system to perform efficient and reliable data transmission and control with multiple devices via RS485.

[0054] Furthermore, such as Figure 8As shown, the low-cost 4G communication data acquisition gateway circuit further includes a switch control module. The switch control module includes an optocoupler U7, a transistor Q2, and a relay RE1. The optical signal input terminal of the optocoupler U7 is connected to the switch control signal output terminal of the microcontroller control module. The optical signal output terminal of the optocoupler U7 is connected to the power supply. The electrical signal input terminal of the optocoupler U7 is connected to the power supply. The electrical signal output terminal of the optocoupler U7 is connected to the controlled terminal of the transistor Q2. The first conducting terminal of the transistor Q2 is connected to the power supply, and the second conducting terminal of the transistor Q2... The transistor Q2 is grounded, and the common node between the first conducting terminal of the transistor Q2 and the power supply is connected to the control signal input terminal of the relay RE1. The normally open contact of the relay RE1 is connected to the normally open contact connection terminal of the external terminal JP4, and the common contact of the relay RE1 is connected to the common contact connection terminal of the external terminal JP4. The switch control signal output terminal of the microcontroller control module is used to output a level signal that turns on the light-emitting diode in the optocoupler U7, so that the transistor Q2 is turned on, thereby causing the relay RE1 to switch from the normally closed contact to the normally open contact.

[0055] In this embodiment, the switch control module consists of an optocoupler U7, a transistor Q2, and a relay RE1, and is responsible for controlling the switching operation of external devices. First, the optical signal input terminal of the optocoupler U7 is connected to the switch control signal output terminal of the microcontroller control module. The microcontroller control module outputs a control signal through this port to control the LED of the optocoupler U7 to conduct. When the optical signal input terminal of the optocoupler U7 receives the control signal from the microcontroller control module, the LED inside the optocoupler conducts, activating the electrical signal output terminal of the optocoupler U7 through optocoupler coupling, thus connecting the electrical signal output terminal to the power supply and completing the photoelectric conversion.

[0056] The electrical signal input terminal of optocoupler U7 is connected to the power supply, ensuring that optocoupler U7 receives the necessary voltage support during signal transmission. The electrical signal output terminal is connected to the controlled terminal of transistor Q2. Therefore, the optical signal is converted into an electrical signal through the optocoupler and activates transistor Q2. The first conducting terminal of transistor Q2 is connected to the power supply, and the second conducting terminal is grounded, forming a basic switching circuit. When transistor Q2 is activated, current flows through its conducting terminal to ground, completing the circuit closure, thereby allowing current to be obtained at the control signal input terminal of relay RE1.

[0057] The common node between the first conducting terminal of transistor Q2 and the power supply is connected to the control signal input terminal of relay RE1, controlling the relay's switching operation. The normally open contact of the relay is connected to the normally open contact connection terminal of external terminal JP4, allowing the relay's normally open contact to close when activated, thus connecting the power supply to the external device. The common contact of the relay is connected to the common contact connection terminal of external terminal JP4, allowing current to switch between the relay's common contact and normally open contact, thereby controlling the external device.

[0058] Through this control logic, the microcontroller control module outputs a switch control signal to turn on the LED in optocoupler U7, further activating transistor Q2. After the transistor turns on, the normally open contact of the relay closes, controlling the power switch of the external device. This design ensures that the external device can achieve precise switching control according to the instructions of the microcontroller control module.

[0059] Furthermore, such as Figure 8 As shown, a reverse protection diode D10 is connected between the first conducting terminal of the transistor Q2 and the power supply. The negative terminal of the reverse protection diode D10 is connected to the power supply, and the positive terminal of the reverse protection diode D10 is connected to the first conducting terminal of the transistor Q2. The control signal input terminal of the relay RE1 is connected between the positive terminal of the reverse protection diode D10 and the first conducting terminal of the transistor Q2.

[0060] In this embodiment, the reverse protection diode D10 protects transistor Q2 from damage caused by reverse current. Specifically, a reverse protection diode D10 is connected between the first conducting terminal of transistor Q2 and the power supply. The negative terminal of the reverse protection diode D10 is connected to the power supply, while the positive terminal is connected to the first conducting terminal of transistor Q2. When current flows through transistor Q2, the normal current direction will cause the diode to conduct and allow current to flow normally. However, if a reverse current occurs (e.g., a reverse current generated by the load), the reverse protection diode D10 provides a conductive path through its positive terminal to the first conducting terminal of transistor Q2, preventing the reverse current from damaging transistor Q2 and its related circuitry. Furthermore, the connection between the control signal input terminal of relay RE1, the positive terminal of the reverse protection diode D10, and the first conducting terminal of transistor Q2 ensures that the relay's control signal input terminal receives the appropriate voltage, activating the relay for switching operation. This design guarantees circuit stability and safety, avoiding circuit damage that could be caused by reverse current.

[0061] Furthermore, such as Figure 8As shown, the switch control module also includes a light-emitting diode D9, a resistor R22, and a resistor R23. The optical signal input terminal of the optocoupler U7 is connected to the first terminal of the resistor R23, the second terminal of the resistor R23 is connected to the positive terminal of the light-emitting diode D9, the negative terminal of the light-emitting diode D9 is connected to the switch control signal output terminal of the microcontroller control module, the first terminal of the resistor R22 is connected to the optical signal output terminal of the optocoupler U7, and the second terminal of the resistor R22 is connected to the power supply.

[0062] In this embodiment, LED D9, along with resistors R22 and R23, constitutes part of the switch control module. The optical signal input terminal of optocoupler U7 is connected to the first terminal of resistor R23, and current flows through resistor R23 to the positive terminal of LED D9. The negative terminal of LED D9 is connected to the switch control signal output terminal of the microcontroller control module. When the microcontroller control module outputs a switch control signal, LED D9 emits light, activating the optical signal input terminal of optocoupler U7. Thus, the photoelectric signal of optocoupler U7 is connected to its optical signal output terminal through the first terminal of resistor R22, and connected to the power supply through the second terminal of resistor R22, ensuring the circuit's operating state and stability. This design ensures photoelectric conversion of the signal, enabling the microcontroller control module to control subsequent electrical signal transmission via the optocoupler, thereby achieving effective control of relays and external devices. Simultaneously, resistors R23 and R22 also serve to limit current and regulate voltage, ensuring current and voltage stability and preventing component damage.

[0063] Furthermore, such as Figures 9-10 As shown, the data communication end of the 4G communication module includes a 4G communication receiving port and a 4G communication transmitting port. The 4G communication module includes a 4G communication chip U10 and a resistor switching network. The resistor switching network includes resistors R44, R45, R46, and R47. The 7600 serial port receiving end of the 4G communication chip U10 is connected to the first end of resistor R44. The EC20 serial port receiving end of the 4G communication chip U10 is connected to the first end of resistor R45. The second end of resistor R44 and the second end of resistor R45 are combined to form the 4G communication receiving port. The 7600 serial port transmitting end of the 4G communication chip U10 is connected to the first end of resistor R46. The EC20 serial port transmitting end of the 4G communication chip U10 is connected to the first end of resistor R47. The second end of resistor R46 and the second end of resistor R47 are combined to form the 4G communication transmitting port.

[0064] In this embodiment, the 4G communication module implements data reception and transmission functions through the 4G communication chip U10 and a resistor switching network. The 7600 serial port receiver of the 4G communication chip U10 is connected to the first end of resistor R44, and the EC20 serial port receiver of the 4G communication chip U10 is connected to the first end of resistor R45. The second ends of resistors R44 and R45 are combined to form a 4G communication receiver port, through which the 4G communication chip U10 can receive data transmitted from external devices. Simultaneously, the 7600 serial port transmitter of the 4G communication chip U10 is connected to the first end of resistor R46, and the EC20 serial port transmitter of the 4G communication chip U10 is connected to the first end of resistor R47. The second ends of resistors R46 and R47 are combined to form a 4G communication transmitter port, through which data can be transmitted from the 4G communication chip U10 to external devices. The function of these resistors is to adjust and switch the communication signal level through the resistor switching network, ensuring that signals from different serial ports can be correctly switched and compatible, thereby achieving bidirectional data transmission. With this design, the 4G communication module can select the appropriate serial port receiving and sending paths according to different communication needs, while ensuring accurate signal transmission.

[0065] Furthermore, such as Figures 11-12 As shown, the low-cost 4G communication data acquisition gateway circuit further includes a power management module. The power management module includes a first power chip U1 and a step-down chip U2. The power input terminal of the first power chip U1 is connected to a power source. The power output terminal of the first power chip U1 outputs 5V power and is connected to the power input terminal of the step-down chip U2. The voltage output terminal of the step-down chip U2 outputs 3.3V power for power supply.

[0066] Furthermore, such as Figure 13 As shown, the power management module also includes a second power chip U3. The power output terminal of the first power chip U1 is connected to the power input terminal of the second power chip U3, and the voltage output terminal of the second power chip U3 outputs 3.8V power for power supply.

[0067] In this embodiment, the power management module effectively provides power at different voltages through three power chips. The first power chip U1 connects to an external power source, converting the external power input to 5V and outputting it through its power output terminal. Simultaneously, the power output terminal of the first power chip U1 connects to the power input terminal of a step-down chip U2, which further steps down the 5V voltage to 3.3V, supplying power to modules or circuits requiring 3.3V. This design allows the system to use a unified 5V power input while providing adaptable voltage outputs for different voltage requirements. Furthermore, the power management module includes a second power chip U3, whose power input terminal connects to the power output terminal of the first power chip U1. The second power chip U3 converts the 5V power to 3.8V, supplying power to modules requiring 3.8V, such as 4G communication modules. Through this power management design, the system can efficiently and stably provide the different voltages required by each module, while ensuring the overall circuit's power supply reliability and power consumption optimization.

[0068] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A low cost 4G communication's data acquisition gateway circuit, characterized by, The low-cost 4G communication data acquisition gateway circuit includes a single-chip microcomputer control module, an RS232 communication module, a 4G communication module and an EEPROM storage module, the first data communication end of the single-chip microcomputer control module is connected with the first data communication end of the RS232 communication module, the first data communication end of the RS232 communication module is connected with the communication end of the 4G communication module, the first data communication end of the single-chip microcomputer control module is connected with the data communication end of the EEPROM storage module, the EEPROM storage module is used for storing control instructions and control parameters issued by the single-chip microcomputer control module, the RS232 communication module is used for realizing data transmission operation between the single-chip microcomputer control module and the 4G communication module, and voltage compatibility in the data transmission operation is adapted through corresponding level conversion.

2. The low cost 4G communication data acquisition gateway circuit according to claim 1, wherein, The RS232 communication module includes a first RS232 communication transceiver and a second RS232 communication transceiver, the first data communication end of the first RS232 communication transceiver is connected with the data communication end of the 4G communication module, the second data communication end of the first RS232 communication transceiver is connected with the first data communication end of the second RS232 communication transceiver through a zero-ohm resistor, and the second data communication end of the second RS232 communication transceiver is connected with the first data communication end of the single-chip microcomputer control module.

3. The low-cost 4G communication data acquisition gateway circuit according to claim 2, wherein, The low-cost 4G communication data acquisition gateway circuit further includes an external terminal JP4, the RS232 serial communication end of the external terminal JP4 is connected with the third data communication end of the second RS232 communication transceiver, and the fourth data communication end of the second RS232 communication transceiver is connected with the third data communication end of the single-chip microcomputer control module, so as to realize RS232 serial communication operation.

4. The low-cost 4G communication data acquisition gateway circuit according to claim 3, wherein, The RS485 serial communication end of the external terminal JP4 is connected with an RS485 communication module.

5. The low cost 4G communication data acquisition gateway circuit according to claim 3, wherein, The low-cost 4G communication data acquisition gateway circuit further comprises a switch control module, the switch control module comprises an optical coupler U7, a transistor Q2 and a relay RE1, the optical signal input end of the optical coupler U7 is connected with the switch control signal output end of the single-chip microcomputer control module, the optical signal output end of the optical coupler U7 is connected with a power supply, the electrical signal input end of the optical coupler U7 is connected with the power supply, the electrical signal output end of the optical coupler U7 is connected with the controlled end of the transistor Q2, the first conduction end of the transistor Q2 is connected with the power supply, the second conduction end of the transistor Q2 is grounded, the common node between the first conduction end of the transistor Q2 and the power supply is connected with the control signal input end of the relay RE1, the normally open contact of the relay RE1 is connected with the normally open contact connection end of the external terminal JP4, the common contact of the relay RE1 is connected with the common contact connection end of the external terminal JP4, and the switch control signal output end of the single-chip microcomputer control module is used for outputting a level signal for turning on the light-emitting diode in the optical coupler U7, so that the transistor Q2 is turned on, and then the relay RE1 is switched from the normally closed contact to the normally open contact.

6. The low-cost 4G communication data acquisition gateway circuit according to claim 5, wherein, The first conduction end of the transistor Q2 is connected with the power supply through a reverse protection diode D10, the negative electrode of the reverse protection diode D10 is connected with the power supply, the positive electrode of the reverse protection diode D10 is connected with the first conduction end of the transistor Q2, and the control signal input end of the relay RE1 is connected between the positive electrode of the reverse protection diode D10 and the first conduction end of the transistor Q2.

7. The low-cost 4G communication data acquisition gateway circuit according to claim 5, wherein, The switch control module further comprises a light-emitting diode D9, a resistor R22 and a resistor R23, the optical signal input end of the optical coupler U7 is connected with the first end of the resistor R23, the second end of the resistor R23 is connected with the positive electrode of the light-emitting diode D9, the negative electrode of the light-emitting diode D9 is connected with the switch control signal output end of the single-chip microcomputer control module, the first end of the resistor R22 is connected with the optical signal output end of the optical coupler U7, and the second end of the resistor R22 is connected with the power supply.

8. The low cost 4G communication data acquisition gateway circuit according to claim 1, wherein, The data communication end of the 4G communication module includes a 4G communication receiving port and a 4G communication sending port, the 4G communication module includes a 4G communication chip U10 and a resistance switching network, the resistance switching network includes resistors R44, R45, R46 and R47, the 7600 serial port receiving end of the 4G communication chip U10 is connected with the first end of the resistor R44, the EC20 serial port receiving end of the 4G communication chip U10 is connected with the first end of the resistor R45, the second end of the resistor R44 and the second end of the resistor R45 are combined as the 4G communication receiving port, the 7600 serial port sending end of the 4G communication chip U10 is connected with the first end of the resistor R46, the EC20 serial port sending end of the 4G communication chip U10 is connected with the first end of the resistor R47, the second end of the resistor R46 and the second end of the resistor R47 are combined as the 4G communication sending port.

9. The low cost 4G communication data acquisition gateway circuit according to claim 1, wherein, The low-cost 4G communication data acquisition gateway circuit further includes a power management module, the power management module includes a first power supply chip U1 and a step-down chip U2, the power input end of the first power supply chip U1 is connected with a power supply, the power output end of the first power supply chip U1 outputs a 5V power supply, and is connected with the power input end of the step-down chip U2, the voltage output end of the step-down chip U2 outputs a 3.3V power supply for power supply.

10. The low-cost 4G communication data acquisition gateway circuit of claim 9, wherein, The power management module further includes a second power supply chip U3, the power output end of the first power supply chip U1 is connected with the power input end of the second power supply chip U3, and the voltage output end of the second power supply chip U3 outputs a 3.8V power supply for power supply.