Communication system integrating multiple communication circuits and capable of automatically switching communication circuits
By integrating the automatic switching system of multiple communication circuits, the adaptability and power consumption issues of electronic equipment in different communication environments are solved, and automatic switching and low-power network communication are realized, which is suitable for solar-powered outdoor equipment.
Patent Information
- Application Number
- CN202422766283.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2034-11-13
AI Technical Summary
In the prior art, the network communication function integration solutions of electronic devices have problems such as low adaptability to communication environments, cumbersome manual switching and high power consumption. Especially in solar-powered outdoor devices, the increased power consumption leads to increased costs.
A communication system integrating RJ45, WIFI and 4G network communication circuits is designed. The data processing module and the selector are used to realize the automatic switching of the hardware communication circuit. The power management module adopts the power supply switching circuit to automatically control the power supply according to the communication mode to reduce power consumption.
It eliminates the need to manually switch hardware communication circuits, automatically adapts to different communication methods, significantly reduces the power consumption of the communication system, and is suitable for solar-powered outdoor equipment.
Smart Images

Figure CN223379259U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of communications, in particular to a communication system which integrates multiple communication circuits and can automatically switch the communication circuits. Background Art
[0002] With the development of Internet of Things (IoT) technology, network communication capabilities are often required during the design and use of electronic products to ensure network access. Currently, there are two main solutions for connecting electronic devices to the internet. One involves externally extending communication modules to finished devices. However, this approach has limited adaptability to communication environments. Different communication methods often require the replacement of different modules. Manually switching between modules is cumbersome and can introduce multiple failure points, reducing development efficiency in both software initialization and hardware design. Another approach involves integrating the required communication circuits into a single system during the R&D phase based on user needs. For example, patent CN105528316A discloses a multifunctional communication module with RS485, RS232, and RJ45 communication interfaces, accommodating devices using different communication interfaces, such as RS485, RS232, or RJ45. However, in this patent, all RS485, RS232, or RJ45 interfaces are connected to a PLC controller, requiring manual selection of the communication method to connect to the PLC controller, which is relatively cumbersome. Furthermore, there are often many network access methods, such as serial ports, Bluetooth, Wi-Fi, 4G, or 5G. While integrating all of these into a system might meet design requirements, it would also increase overall system power consumption. Outdoor devices, particularly those powered by solar cells, often require long-term online operation and therefore have particularly high power requirements. The cost of solar power is closely tied to device power consumption, and increased power consumption translates to significantly higher costs. Summary of the Invention
[0003] The utility model provides a communication system that integrates multiple communication circuits and can automatically switch communication circuits. The communication system integrates network communication circuits such as RJ45, WIFI and 4G, as well as serial communication circuits such as RS232 and RS485. The data processing module realizes automatic switching of hardware communication circuits by controlling the selector, and can automatically control the corresponding communication circuits for power supply according to different communication modes, which can effectively reduce the power consumption of the communication system.
[0004] In order to solve the above technical problems, the technical solution of the utility model is:
[0005] A communication system that integrates multiple communication circuits and can automatically switch communication circuits is installed in a main device and is used for communication between the main device and external devices. The communication system includes a digital interface, a data processing module, a sorter and multiple different hardware communication circuits. The external device is connected to the digital interface, the digital interface is connected to the data processing module, and the data processing module is connected to the multiple different hardware communication circuits through the sorter. The data flow of the external device is transmitted to the data processing module through the digital interface. The data processing module controls the sorter to select different hardware communication circuits according to the communication mode, thereby realizing automatic switching of the hardware communication circuit.
[0006] The communication system is equipped with a power supply, which is powered by the power supply; the communication system also includes a power management module, which includes multiple power supply switching circuits. The power supply is connected to a variety of different hardware communication circuits through multiple power supply switching circuits. The power supply switching circuits are all connected to the data processing module. The data processing module controls the output high and low levels according to the communication mode, thereby controlling the on and off of the corresponding power supply switching circuit to realize the power supply of the corresponding hardware communication circuit.
[0007] The power supply switch circuit adopts two MOS tubes connected back to back.
[0008] The power supply is provided with an overcurrent and anti-reverse connection protection circuit and an isolation DC-DC circuit.
[0009] A digital isolator is connected between the digital interface and the data processing module, and the communication system is isolated from the main device through the digital isolator.
[0010] The digital interface adopts a UART interface.
[0011] The data processing module uses a Cotex-M4 processor with RTOS.
[0012] The selector adopts a single-ended 8-channel multiplexer, and the selector uses two sets of multiplexers designed independently for data transmission and reception.
[0013] The hardware communication circuit includes at least RJ45, WIFI and 4G network communication circuits and RS232 and RS485 serial port communication circuits.
[0014] The data processing module is connected to a memory, and the data processing module automatically loads an algorithm from the memory to process the data frame according to the protocol type.
[0015] Compared with the prior art, the beneficial effects of the present invention are: (1) The communication module provided by the present invention integrates network communication circuits such as RJ45, WIFI and 4G and serial communication circuits such as RS232 and RS485, integrating commonly used network and serial port functions. The data processing module realizes automatic switching of hardware communication circuits by controlling the selector, without the need for manual switching.
[0016] (2) The power management module in the present invention supplies power to each hardware communication circuit separately through the power supply switch circuit, and automatically controls the corresponding communication circuit to supply power according to different communication modes, which can effectively reduce the power consumption of the communication system. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a functional block diagram of a communication system that integrates multiple communication circuits and can automatically switch communication circuits, provided by the present invention;
[0018] Figure 2 This is a circuit diagram of the data processing module in the present utility model;
[0019] Figure 3 This is a circuit diagram of the separator in the utility model;
[0020] Figure 4 This is a block diagram of the connection between the communication system and the power supply in the present utility model;
[0021] Figure 5 This is the power supply switch circuit diagram corresponding to the RJ45 network communication circuit in the present utility model; DETAILED DESCRIPTION
[0022] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0023] This embodiment provides a communication system that integrates multiple communication circuits and automatically switches between them. It is installed within a host device and is used to communicate with external devices. The communication system includes a digital interface, a data processing module, a sorter, and various hardware communication circuits. Specifically, the communication system is installed within the host device, and the host device is connected to the communication system's digital interface.
[0024] The digital interface is connected to an external device, which in turn is connected to a data processing module. The data processing module is connected to a variety of different hardware communication circuits via a selector. Data streams from the external device are transmitted through the digital interface to the data processing module. The data processing module controls the selector to select different hardware communication circuits based on the communication method, automatically switching between hardware communication circuits. Specifically, the digital interface uses a UART interface for receiving and transmitting data streams. Specifically, a digital isolator is connected between the digital interface and the data processing module, isolating the communication system from the host device and protecting the circuits within the communication system. The digital isolator uses a magnetically coupled dual-channel digital isolator.
[0025] In this embodiment, the data processing module uses a Cotex-M4 processor with an RTOS. Figure 2 As shown, the data processing module's circuitry primarily consists of an STM32 minimum system. Data flows enter the data processing module through the UART2 pin. Depending on the communication method, the module outputs control signals from the A0, A1, and A2 pins to control the sorter. The data processing module is also connected to a memory. Based on the protocol type, the module automatically loads algorithms from the memory to process data frames. These frames are then processed and packaged into the corresponding application layer protocol. The code and temporary data generated during the packaging process are stored in the memory.
[0026] In this embodiment, the sorter adopts a single-ended 8-channel multiplexer CD4051. Figure 3 As shown, the selector is designed using a CMOS single-channel 8-channel analog multiplexer and a multiplexer with logic level conversion function. The selector uses two sets of multiplexers to independently design data transmission and reception.
[0027] The hardware communication circuits in this embodiment include network communication circuits such as RJ45, WIFI, and 4G, as well as serial communication circuits such as RS232 and RS485. Specifically, the RJ45 network communication circuit uses the CH9121 network serial port transparent transmission chip; the WIFI network communication circuit uses the USR-WIFI232-B2 module; and the 4G network communication circuit uses the WH-LTE-7S1 module.
[0028] The communication system is equipped with a power supply, which is used to supply power to the system. Specifically, the power supply is connected to the digital interface, digital isolator, data processing module, memory, sorter and each hardware communication circuit to supply power to each module. Figure 4As shown. Since the system integrates many hardware communication circuits, resulting in increased power consumption, the communication system in this embodiment also includes a power management module, which uses a separate power supply control for each hardware communication circuit. Specifically, the power management module includes a plurality of power supply switch circuits, and the power supply is respectively connected to a variety of different hardware communication circuits through a plurality of power supply switch circuits. The power supply switch circuits are all connected to the data processing module. The data processing module controls the output high and low levels of the IO port according to the user's communication method, thereby controlling the on and off of the corresponding power supply switch circuit, and automatically controlling the corresponding hardware communication circuit to supply power. Specifically, the power supply switch circuit uses two MOS tubes to connect the circuit back to back. Taking the RJ45 network communication circuit as an example, its corresponding power supply switch circuit is as follows Figure 5 Furthermore, the power supply is provided with an overcurrent and anti-reverse connection protection circuit and an isolated DC-DC circuit.
[0029] The communication system provided in this embodiment integrates multiple communication circuits and can automatically switch between them. The operating process is as follows: both the external device and the main device are connected to the communication system via a digital interface. The communication system selects the communication mode and protocol type through AT commands, configures the corresponding communication parameters, and then exits configuration mode to enter data transparent transmission mode. The data stream from the external device enters the communication system through the digital interface. A digital isolator isolates the communication system from the main device and external device, improving communication signal quality. After the data stream enters the data processing module, an algorithm is loaded based on the user's communication mode and protocol type to encapsulate and process the data frames. Simultaneously, the data processing module controls a selector to select different hardware communication circuits based on the communication mode, thereby achieving automatic switching of hardware communication circuits. After processing by the data processing module, the data is transmitted through the corresponding hardware communication circuit. After receiving data from the external device, the communication system enters the data processing module, processes the data according to the different protocols to retain useful information, and finally transmits the received data to the main device via a serial port line. Furthermore, the power management circuit is responsible for powering each functional module. To achieve low power consumption, a unique back-to-back connection of two MOS transistors is used to power down unused circuits, significantly reducing power consumption.
Claims
1. A communication system that integrates multiple communication circuits and can automatically switch communication circuits, which is installed in a main device and is used for communication between the main device and external devices, characterized by: The communication system includes a digital interface, a data processing module, a sorter and a variety of different hardware communication circuits. The external device is connected to the digital interface, the digital interface is connected to the data processing module, the data processing module is connected to the various different hardware communication circuits through the sorter, the data flow of the external device is transmitted to the data processing module through the digital interface, and the data processing module controls the sorter to select different hardware communication circuits according to the communication mode, thereby realizing automatic switching of the hardware communication circuits.
2. The communication system integrating multiple communication circuits and capable of automatically switching communication circuits according to claim 1, characterized in that: The communication system is equipped with a power supply, which is powered by the power supply; the communication system also includes a power management module, which includes multiple power supply switching circuits. The power supply is connected to a variety of different hardware communication circuits through multiple power supply switching circuits. The power supply switching circuits are all connected to the data processing module. The data processing module controls the output high and low levels according to the communication mode, thereby controlling the on and off of the corresponding power supply switching circuit to realize the power supply of the corresponding hardware communication circuit.
3. The communication system integrating multiple communication circuits and capable of automatically switching communication circuits according to claim 2, characterized in that: The power supply switch circuit adopts two MOS tubes connected back to back.
4. The communication system integrating multiple communication circuits and capable of automatically switching communication circuits according to claim 2, characterized in that: The power supply is provided with an overcurrent and anti-reverse connection protection circuit and an isolation DC-DC circuit.
5. The communication system integrating multiple communication circuits and capable of automatically switching communication circuits according to claim 1, characterized in that: A digital isolator is connected between the digital interface and the data processing module, and the communication system is isolated from the main device through the digital isolator.
6. The communication system integrating multiple communication circuits and capable of automatically switching communication circuits according to claim 1, characterized in that: The digital interface adopts a UART interface.
7. The communication system integrating multiple communication circuits and capable of automatically switching communication circuits according to claim 1, characterized in that: The data processing module uses a Cotex-M4 processor with RTOS.
8. The communication system integrating multiple communication circuits and capable of automatically switching communication circuits according to claim 1, characterized in that: The selector adopts a single-ended 8-channel multiplexer, and the selector uses two sets of multiplexers designed independently for data transmission and reception.
9. The communication system integrating multiple communication circuits and capable of automatically switching communication circuits according to claim 1, characterized in that: The hardware communication circuit includes at least RJ45, WIFI and 4G network communication circuits and RS232 and RS485 serial port communication circuits.
10. The communication system integrating multiple communication circuits and capable of automatically switching communication circuits according to claim 1, characterized in that: The data processing module is connected to a memory, and the data processing module automatically loads an algorithm from the memory to process the data frame according to the protocol type.
Citation Information
Patent Citations
Multifunctional communication module
CN105528316A