Waterproof gateway control circuit and gateway equipment

By designing a waterproof gateway control circuit, the problems of fixed interface configuration and insufficient environmental protection in traditional industrial gateways are solved, realizing high-precision, low-latency industrial Ethernet data transmission, adapting to various industrial scenarios, and improving the reliability and environmental adaptability of the equipment.

CN224205101UActive Publication Date: 2026-05-05SHENZHEN SANMING ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
SHENZHEN SANMING ELECTRIC CO LTD
Filing Date
2025-05-06
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Traditional industrial gateways suffer from fixed interface configurations and insufficient environmental protection, leading to increased system complexity, higher cabling costs, and high equipment failure rates, making them unsuitable for complex operating conditions.

Method used

A waterproof gateway control circuit was designed, including a main control module, a power supply module, a network port control module, a real-time industrial Ethernet slave module, a fixed wired serial communication module, and a switchable wired serial communication module. It realizes high-precision synchronous data transmission of real-time industrial Ethernet, is compatible with multiple communication protocols, and adopts an IP67 protection-rated enclosure.

Benefits of technology

It achieves low-latency, high-reliability real-time industrial Ethernet data transmission, adapts to the needs of various industrial scenarios, and improves the environmental adaptability and reliability of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224205101U_ABST
    Figure CN224205101U_ABST
Patent Text Reader

Abstract

The utility model discloses a waterproof gateway control circuit and gateway equipment. The waterproof gateway control circuit comprises a master control module, a power supply module, a network port control module, a real-time industrial Ethernet slave station module, a fixed wired serial port communication module and a first switchable wired serial port communication module, the power supply module is electrically connected with the master control module, the network port control module, the real-time industrial Ethernet slave station module, the fixed wired serial port communication module and the first switchable wired serial port communication module. The fixed wired serial port communication module is electrically connected with the main control module, the first switchable wired serial port communication module is electrically connected with the main control module, the main control module is electrically connected with the real-time industrial Ethernet slave station module, and the real-time industrial Ethernet slave station module is electrically connected with the network port control module. According to the utility model, high-precision synchronous data transmission of the real-time industrial Ethernet can be realized, the delay is low, the reliability is high, various communication protocols are compatible, and the requirements of different industrial scenes are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of gateway technology, and in particular to a waterproof gateway control circuit and gateway device. Background Technology

[0002] A gateway device is a network interconnection device used to achieve data conversion, protocol parsing, and information exchange between systems with different communication protocols, network architectures, or data transmission standards. Its core function is to act as a "bridge" between heterogeneous networks, ensuring data interoperability and collaborative operation across network devices.

[0003] With the development of the Industrial Internet of Things (IIoT), gateway devices, as conversion hubs between different communication protocols, face increasingly stringent requirements for reliability and environmental adaptability. Traditional industrial gateways suffer from the following technical shortcomings: 1) Fixed interface configuration: Conventional gateways often use fixed-type serial communication modules (such as independently configured RS485 and RS232), making switching based on field device protocols impossible. When connecting industrial devices with different interface standards, multiple gateways or external converters are required, increasing system complexity and cabling costs. 2) Insufficient environmental protection: Existing gateway devices often have enclosure sealing designs limited to IP54 protection levels, which are insufficient in high-temperature and high-humidity industrial applications, leading to high equipment failure rates. These technical shortcomings severely restrict the deployment and application of industrial gateways under complex operating conditions. Therefore, inventing a new gateway control circuit with enhanced environmental protection, flexible interface configuration, and improved reliability is a pressing issue for engineers in this field. Utility Model Content

[0004] The purpose of this application is to provide a waterproof gateway control circuit and gateway device. In this solution, high-precision synchronous data transmission of industrial Ethernet in real time can be achieved with low latency, high reliability, and compatibility with multiple communication protocols to meet the needs of different industrial scenarios.

[0005] To solve the above-mentioned technical problems, this application provides a waterproof gateway control circuit, including a main control module, a power supply module, a network port control module, a real-time industrial Ethernet slave module, a fixed wired serial communication module, and a first switchable wired serial communication module.

[0006] The power module is electrically connected to the main control module, the network port control module, the real-time industrial Ethernet slave module, the fixed wired serial communication module and the first switchable wired serial communication module, respectively.

[0007] The fixed wired serial communication module is electrically connected to the main control module, the first switchable wired serial communication module is electrically connected to the main control module, the main control module is electrically connected to the real-time industrial Ethernet slave module, and the real-time industrial Ethernet slave module is electrically connected to the network port control module.

[0008] Preferably, the waterproof gateway control circuit further includes a second switchable wired serial communication module;

[0009] The second switchable wired serial communication module is electrically connected to the main control module and the power supply module respectively.

[0010] Preferably, the first switchable wired serial communication module includes a first RS485 wired serial communication unit, a first RS232 wired serial communication unit, and a first AND gate control unit;

[0011] The transmit pin of the main control module is electrically connected to the data input pin of the first RS485 wired serial communication unit and the data input pin of the first RS232 wired serial communication unit, respectively. The data output pin of the first RS485 wired serial communication unit is electrically connected to the first input pin of the first AND gate control unit. The data output pin of the first RS232 wired serial communication unit is electrically connected to the second input pin of the first AND gate control unit. The output pin of the first AND gate control unit is electrically connected to the receive pin of the main control module.

[0012] Preferably, the fixed wired serial communication module includes a first fixed wired serial communication unit; the first fixed wired serial communication unit includes a first interface subunit and a first wired serial transceiver control subunit;

[0013] The first interface subunit is used to electrically connect to a wired serial port device, the first wired serial port transceiver control subunit is electrically connected to the first interface subunit, and the main control module is electrically connected to the first wired serial port transceiver control subunit.

[0014] Preferably, the fixed wired serial communication module includes a second fixed wired serial communication unit; the second fixed wired serial communication unit includes a second interface subunit and a second wired serial transceiver control subunit;

[0015] The second interface subunit is used for electrical connection with a wired serial port device, the second wired serial port transceiver control subunit is electrically connected to the second interface subunit, and the main control module is electrically connected to the second wired serial port transceiver control subunit.

[0016] Preferably, the first wired serial port transceiver control subunit is configured with either RS485 protocol or RS232 protocol.

[0017] Preferably, the second switchable wired serial communication module includes a second RS485 wired serial communication unit, a second RS232 wired serial communication unit, and a second AND gate control unit;

[0018] The transmit pin of the main control module is electrically connected to the data input pin of the second RS485 wired serial communication unit and the data input pin of the second RS232 wired serial communication unit, respectively. The data output pin of the second RS485 wired serial communication unit is electrically connected to the first input pin of the second AND gate control unit. The data output pin of the second RS232 wired serial communication unit is electrically connected to the second input pin of the second AND gate control unit. The output pin of the second AND gate control unit is electrically connected to the receive pin of the main control module.

[0019] Preferably, the network port control module includes a network port unit, an electrostatic protection unit, and a network port pulse transformer unit;

[0020] The network port unit is electrically connected to the electrostatic discharge protection unit, the electrostatic discharge protection unit is electrically connected to the network port pulse transformer unit, and the network port pulse transformer unit is electrically connected to the real-time industrial Ethernet slave module.

[0021] Preferably, the waterproof gateway control circuit further includes a USB module;

[0022] The USB module is electrically connected to both the main control module and the power module.

[0023] To address the aforementioned technical problems, this application provides a gateway device, including the aforementioned waterproof gateway control circuit.

[0024] This utility model discloses a waterproof gateway control circuit and gateway device with the following beneficial effects. The waterproof gateway control circuit includes: a main control module, a power supply module, a network port control module, a real-time industrial Ethernet slave module, a fixed wired serial communication module, and a first switchable wired serial communication module. The power supply module is electrically connected to the main control module, the network port control module, the real-time industrial Ethernet slave module, the fixed wired serial communication module, and the first switchable wired serial communication module. The fixed wired serial communication module is electrically connected to the main control module, the first switchable wired serial communication module is electrically connected to the main control module, the main control module is electrically connected to the real-time industrial Ethernet slave module, and the real-time industrial Ethernet slave module is electrically connected to the network port control module. Therefore, this utility model can achieve high-precision synchronous data transmission of real-time industrial Ethernet with low latency, high reliability, and compatibility with multiple communication protocols, meeting the needs of different industrial scenarios. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the utility model will be further described below in conjunction with the accompanying drawings and embodiments. The drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This is a schematic diagram of the structure of a waterproof gateway control circuit according to a preferred embodiment of the present invention.

[0027] Figure 2 This is a schematic diagram of another waterproof gateway control circuit according to a preferred embodiment of the present invention.

[0028] Figure 3 This is a schematic diagram of a first switchable wired serial communication module according to a preferred embodiment of the present invention.

[0029] Figure 4 This is a schematic diagram of a first RS485 wired serial communication unit according to a preferred embodiment of the present invention.

[0030] Figure 5 This is a schematic diagram of a first RS232 wired serial communication unit according to a preferred embodiment of the present invention.

[0031] Figure 6 This is a schematic diagram of a first AND gate control unit according to a preferred embodiment of the present invention.

[0032] Figure 7 This is a schematic diagram of a fixed wired serial communication module according to a preferred embodiment of the present invention.

[0033] Figure 8 This is a schematic diagram of a fixed wired serial communication unit according to a preferred embodiment of the present invention.

[0034] Figure 9 This is a schematic diagram of a second switchable wired serial communication module according to a preferred embodiment of the present invention.

[0035] Figure 10 This is a schematic diagram of a network port control module according to a preferred embodiment of the present invention. Detailed Implementation

[0036] The core of this application is to provide a waterproof gateway control circuit and gateway device. In this solution, high-precision synchronous data transmission of industrial Ethernet in real time can be achieved with low latency, high reliability, and compatibility with multiple communication protocols to meet the needs of different industrial scenarios.

[0037] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0038] Please see Figure 1 , Figure 1 The schematic diagram of a waterproof gateway control circuit provided in this application includes a main control module 1, a power supply module 2, a network port control module 3, a real-time industrial Ethernet slave module 4, a fixed wired serial communication module 5, and a first switchable wired serial communication module 6.

[0039] The power module 2 is electrically connected to the main control module 1, the network port control module 3, the real-time industrial Ethernet slave module 4, the fixed wired serial communication module 5, and the first switchable wired serial communication module 6, respectively.

[0040] The fixed wired serial communication module 5 is electrically connected to the main control module 1, the first switchable wired serial communication module 6 is electrically connected to the main control module 1, the main control module 1 is electrically connected to the real-time industrial Ethernet slave module 4, and the real-time industrial Ethernet slave module 4 is electrically connected to the network port control module 3.

[0041] Specifically, in this embodiment, the power supply module 2 provides multiple isolated power supplies to prevent mutual interference between modules; the main control module 1 implements protocol conversion control, coordinating the collaborative work of the real-time industrial Ethernet slave module 4, the fixed wired serial communication module 5, and the first switchable wired serial communication module 6; the network port control module 3 provides an RJ45 interface for connection to the PLC, realizing the conversion between Ethernet physical layer (PHY) signals and data link layer (MAC) signals; the real-time industrial Ethernet slave module 4 parses the industrial real-time Ethernet protocol, converting the raw Ethernet data into a standard data format for processing by the main control module, ensuring microsecond-level transmission delay; the fixed wired serial communication module 5 supports a fixed serial port protocol for communication with external devices such as industrial sensors and instruments; the first switchable wired serial communication module 6 supports a switchable serial port protocol, allowing the main control module 1 to switch to the corresponding protocol for communication by manually changing the connection cable type, adapting to multiple protocol devices.

[0042] Specifically, in this embodiment, the real-time industrial Ethernet slave module 4 includes one of the industrial Ethernet protocols such as EtherCAT, Profinet, EtherNet / IP, CC-Link IE, and Modbus-TCP, without being specifically limited here.

[0043] Specifically, in this embodiment, the various modules can cooperate with each other to achieve bidirectional gateway protocol conversion control.

[0044] Specifically, when the PLC is used as a signal input terminal, the network port control module 3 receives the Ethernet command signal from the PLC, the real-time industrial Ethernet slave module 4 obtains the industrial Ethernet physical layer signal from the network port control module 3, and then transmits it to the main control module 1 for protocol parsing and conversion; the fixed wired serial communication module 5 or the first switchable wired serial communication module 6 converts the data processed by the main control module 1 into a serial signal and sends it to the external serial port device.

[0045] Specifically, when the PLC is used as a signal output terminal, the fixed wired serial communication module 5 or the first switchable wired serial communication module 6 receives the raw data from the serial port device. The fixed wired serial communication module 5 or the first switchable wired serial communication module 6 transmits the serial data to the main control module 1. The main control module 1 performs protocol parsing and conversion, and sends control commands or forwards serial data to the real-time industrial Ethernet slave module 4. After receiving the commands from the main control module, the real-time industrial Ethernet slave module 4 generates industrial Ethernet protocol messages. The network port control module 3 converts the protocol messages generated by the real-time industrial Ethernet slave module 4 into physical layer signals and sends them to the PLC.

[0046] It is worth noting that the housing of the waterproof gateway control circuit of this application is designed with an IP67 protection rating, which is suitable for high temperature and high humidity industrial applications and has high reliability.

[0047] In summary, this application provides a waterproof gateway control circuit. This circuit includes a main control module 1, a power supply module 2, a network port control module 3, a real-time industrial Ethernet slave module 4, a fixed wired serial communication module 5, and a first switchable wired serial communication module 6. The power supply module 2 is electrically connected to the main control module 1, the network port control module 3, the real-time industrial Ethernet slave module 4, the fixed wired serial communication module 5, and the first switchable wired serial communication module 6. The fixed wired serial communication module 5 is electrically connected to the main control module 1, the first switchable wired serial communication module 6 is electrically connected to the main control module 1, the main control module 1 is electrically connected to the real-time industrial Ethernet slave module 4, and the real-time industrial Ethernet slave module 4 is electrically connected to the network port control module 3. Therefore, this invention can achieve high-precision synchronous data transmission of real-time industrial Ethernet with low latency, high reliability, and compatibility with multiple communication protocols, meeting the needs of different industrial scenarios.

[0048] Based on the above embodiments:

[0049] Please refer to Figure 2 , Figure 2 A schematic diagram of another waterproof gateway control circuit provided in this application.

[0050] In a preferred embodiment, a waterproof gateway control circuit further includes a second switchable wired serial communication module 7;

[0051] The second switchable wired serial communication module 7 is electrically connected to the main control module 1 and the power supply module 2 respectively.

[0052] Specifically, in this embodiment, two sets of switchable wired serial communication modules are provided. It is understood that the number of sets of switchable wired serial communication modules can be set as needed, and is not specifically limited here.

[0053] Please refer to Figure 3 , Figure 3 A schematic diagram of a first switchable wired serial communication module provided in this application.

[0054] Please refer to Figure 4 , Figure 4 A schematic diagram of a first RS485 wired serial communication unit provided in this application.

[0055] Please refer to Figure 5 , Figure 5 A schematic diagram of a first RS232 wired serial communication unit provided in this application.

[0056] Please refer to Figure 6 , Figure 6 A schematic diagram of a first AND gate control unit provided in this application.

[0057] In a preferred embodiment, the first switchable wired serial communication module 6 includes a first RS485 wired serial communication unit 61, a first RS232 wired serial communication unit 62, and a first AND gate control unit 63;

[0058] The transmit pin of the main control module 1 is electrically connected to the data input pin of the first RS485 wired serial communication unit 61 and the data input pin of the first RS232 wired serial communication unit 62, respectively. The data output pin of the first RS485 wired serial communication unit 61 is electrically connected to the first input pin of the first AND gate control unit 63. The data output pin of the first RS232 wired serial communication unit 62 is electrically connected to the second input pin of the first AND gate control unit 63. The output pin of the first AND gate control unit 63 is electrically connected to the receive pin of the main control module 1.

[0059] Specifically, in this embodiment, the first AND gate control unit 63 acts as a protocol switching logic controller, which switches between RS485 and RS232 communication modes through level control to avoid bus conflicts.

[0060] Specifically, in this embodiment, the transmit pin (TX) of the main control module 1 is connected to the input pins of both the first RS485 wired serial communication unit 61 and the first RS232 wired serial communication unit 62. The output pins of both are connected to the two inputs of an AND gate (SN74LVC1G08), and the output of the AND gate is connected to the receive pin (RX) of the main control module.

[0061] Data transmission process: When the main control module 1 sends data through the TX pin, the signal simultaneously drives the transmitting ends of RS485 and RS232. Due to the different physical layer protocols of RS485 and RS232, the two interfaces will generate corresponding differential signals (RS485) or single-ended level signals (RS232) respectively.

[0062] Specifically, in this embodiment, when both the RS485 and RS232 interfaces are simultaneously connected and activated, their receivers convert external signals into logic levels and input them to the two inputs of an AND gate. At this time, the output of the AND gate will be determined by the logic levels of both interfaces, leading to signal interference. Therefore, the user should manually select the interface to ensure that only one of the RS485 and RS232 interfaces is connected to the external device to avoid signal conflicts.

[0063] Data reception process: When using RS485 communication, the RS485 receiver in the first RS485 wired serial communication unit 61 converts the differential signal from the external device into a logic level and outputs it to the first input of the AND gate; the RS232 receiver outputs a high level in the idle state, at which time the second input of the AND gate is also high. AND gate logic: Output = RS485 signal & high level, therefore the AND gate output equals the valid RS485 data.

[0064] When using RS232 communication, the RS232 receiver in the first RS232 wired serial communication unit 62 converts the single-ended signal from the external device into a logic level and outputs it to the second input of the AND gate; the RS485 receiver outputs a high level in the idle state, at which time the first input of the AND gate is also high. AND gate logic: Output = High level & RS232 signal, therefore the AND gate output equals the valid RS232 data.

[0065] Therefore, this application can flexibly switch between RS485 and RS232 communication to adapt to the needs of different industrial scenarios.

[0066] Please refer to Figure 7 , Figure 7 The schematic diagram of a fixed wired serial communication module provided in this application.

[0067] Please refer to Figure 8 , Figure 8 This application provides a schematic diagram of a fixed wired serial communication unit.

[0068] In a preferred embodiment, the fixed wired serial communication module 5 includes a first fixed wired serial communication unit 51; the first fixed wired serial communication unit 51 includes a first interface subunit 511 and a first wired serial port transceiver control subunit 512;

[0069] The first interface subunit 511 is used to electrically connect to the wired serial port device, the first wired serial port transceiver control subunit 512 is electrically connected to the first interface subunit 511, and the main control module 1 is electrically connected to the first wired serial port transceiver control subunit 512.

[0070] In a preferred embodiment, the fixed wired serial communication module 5 includes a second fixed wired serial communication unit 52; the second fixed wired serial communication unit 52 includes a second interface subunit 521 and a second wired serial transceiver control subunit 522.

[0071] The second interface subunit 521 is used for electrical connection with the wired serial port device. The second wired serial port transceiver control subunit 522 is electrically connected to the second interface subunit 521. The main control module 1 is electrically connected to the second wired serial port transceiver control subunit 522.

[0072] In a preferred embodiment, the first wired serial port transceiver control subunit 512 is configured with either the RS485 protocol or the RS232 protocol.

[0073] Specifically, in this embodiment, the wired serial port transceiver control subunit in the fixed wired serial port communication module 5 can be configured with either the RS485 protocol or the RS232 protocol, without any specific limitation. Furthermore, the number of groups set in the wired serial port transceiver control subunit in the fixed wired serial port communication module 5 can be 4 or 6, which can be set by the user as needed, without any specific limitation.

[0074] Please refer to Figure 9 , Figure 9 A schematic diagram of a second switchable wired serial communication module provided in this application.

[0075] In a preferred embodiment, the second switchable wired serial communication module 7 includes a second RS485 wired serial communication unit 71, a second RS232 wired serial communication unit 72, and a second AND gate control unit 73;

[0076] The transmit pin of the main control module 1 is electrically connected to the data input pin of the second RS485 wired serial communication unit 71 and the data input pin of the second RS232 wired serial communication unit 72, respectively. The data output pin of the second RS485 wired serial communication unit 71 is electrically connected to the first input pin of the second AND gate control unit 73. The data output pin of the second RS232 wired serial communication unit 72 is electrically connected to the second input pin of the second AND gate control unit 73. The output pin of the second AND gate control unit 73 is electrically connected to the receive pin of the main control module 1.

[0077] Specifically, the circuit structure of the second switchable wired serial communication module 7 is the same as that of the first switchable wired serial communication module 6, and will not be described again here.

[0078] Please refer to Figure 10 , Figure 10 A schematic diagram of a network port control module provided in this application.

[0079] In a preferred embodiment, the network port control module 3 includes a network port unit 31, an electrostatic protection unit 32, and a network port pulse transformer unit 33;

[0080] The network port unit 31 is electrically connected to the electrostatic discharge protection unit 32, the electrostatic discharge protection unit 32 is electrically connected to the network port pulse transformer unit 33, and the network port pulse transformer unit 33 is electrically connected to the real-time industrial Ethernet slave module 4.

[0081] Specifically, in this embodiment, the network port unit 31 is connected to an external network device via an RJ45 interface; the electrostatic discharge protection unit 32 is used to filter out transient interference such as electrostatic discharge (ESD) and surge voltage; the network port pulse transformer unit 33 achieves isolation between the network port and the internal circuit through an integrated Ethernet transformer, adjusts the signal impedance, reduces reflection and signal distortion, and filters out common-mode interference.

[0082] In a preferred embodiment, a waterproof gateway control circuit further includes a USB module;

[0083] The USB module is electrically connected to both the main control module and the power module.

[0084] Specifically, in this embodiment, the USB module is connected to the main control module via a data cable (D+ / D-) to enable high-speed data transmission, such as firmware upgrades, device debugging, and peripheral expansion, without being specifically limited here.

[0085] This application also provides a gateway device, including a waterproof gateway control circuit.

[0086] For a description of the waterproof gateway control circuit provided in this application, please refer to the above embodiments; further details will not be repeated here.

[0087] It should be noted that, in this specification, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0088] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A waterproof gateway control circuit, characterized in that, It includes a main control module, a power supply module, a network port control module, a real-time industrial Ethernet slave module, a fixed wired serial communication module, and a first switchable wired serial communication module; The power module is electrically connected to the main control module, the network port control module, the real-time industrial Ethernet slave module, the fixed wired serial communication module and the first switchable wired serial communication module, respectively. The fixed wired serial communication module is electrically connected to the main control module, the first switchable wired serial communication module is electrically connected to the main control module, the main control module is electrically connected to the real-time industrial Ethernet slave module, and the real-time industrial Ethernet slave module is electrically connected to the network port control module.

2. The waterproof gateway control circuit according to claim 1, characterized in that, The waterproof gateway control circuit also includes a second switchable wired serial communication module. The second switchable wired serial communication module is electrically connected to the main control module and the power supply module respectively.

3. The waterproof gateway control circuit according to claim 1, characterized in that, The first switchable wired serial communication module includes a first RS485 wired serial communication unit, a first RS232 wired serial communication unit, and a first AND gate control unit; The transmit pin of the main control module is electrically connected to the data input pin of the first RS485 wired serial communication unit and the data input pin of the first RS232 wired serial communication unit, respectively. The data output pin of the first RS485 wired serial communication unit is electrically connected to the first input pin of the first AND gate control unit. The data output pin of the first RS232 wired serial communication unit is electrically connected to the second input pin of the first AND gate control unit. The output pin of the first AND gate control unit is electrically connected to the receive pin of the main control module.

4. The waterproof gateway control circuit according to claim 1, characterized in that, The fixed wired serial communication module includes a first fixed wired serial communication unit; the first fixed wired serial communication unit includes a first interface subunit and a first wired serial transceiver control subunit. The first interface subunit is used to electrically connect to a wired serial port device, the first wired serial port transceiver control subunit is electrically connected to the first interface subunit, and the main control module is electrically connected to the first wired serial port transceiver control subunit.

5. A waterproof gateway control circuit according to claim 4, characterized in that, The fixed wired serial communication module includes a second fixed wired serial communication unit; the second fixed wired serial communication unit includes a second interface subunit and a second wired serial transceiver control subunit; The second interface subunit is used for electrical connection with a wired serial port device, the second wired serial port transceiver control subunit is electrically connected to the second interface subunit, and the main control module is electrically connected to the second wired serial port transceiver control subunit.

6. The waterproof gateway control circuit according to claim 4, characterized in that, The first wired serial port transceiver control subunit is configured with either RS485 or RS232 protocol.

7. A waterproof gateway control circuit according to claim 2, characterized in that, The second switchable wired serial communication module includes a second RS485 wired serial communication unit, a second RS232 wired serial communication unit, and a second AND gate control unit; The transmit pin of the main control module is electrically connected to the data input pin of the second RS485 wired serial communication unit and the data input pin of the second RS232 wired serial communication unit, respectively. The data output pin of the second RS485 wired serial communication unit is electrically connected to the first input pin of the second AND gate control unit. The data output pin of the second RS232 wired serial communication unit is electrically connected to the second input pin of the second AND gate control unit. The output pin of the second AND gate control unit is electrically connected to the receive pin of the main control module.

8. A waterproof gateway control circuit according to claim 1, characterized in that, The network port control module includes a network port unit, an electrostatic protection unit, and a network port pulse transformer unit; The network port unit is electrically connected to the electrostatic discharge protection unit, the electrostatic discharge protection unit is electrically connected to the network port pulse transformer unit, and the network port pulse transformer unit is electrically connected to the real-time industrial Ethernet slave module.

9. A waterproof gateway control circuit according to claim 1, characterized in that, The waterproof gateway control circuit also includes a USB module; The USB module is electrically connected to both the main control module and the power module.

10. A gateway device, characterized in that, Includes a waterproof gateway control circuit as described in any one of claims 1 to 9.