Relay device with stable and safe data communication

By combining ultra-wideband carrier-free communication, national secret encryption chips and magnetic latching relays, it solves the security risks of relay equipment in confidential scenarios, realizes stable data transmission and remote control, and is suitable for smart homes and industrial automation.

CN223414880UActive Publication Date: 2025-10-03YUXI DIGITAL ASSET MANAGEMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422796074.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-10-03
Estimated Expiration
2034-11-15

AI Technical Summary

Technical Problem

Existing relay equipment has security risks in confidential scenarios, such as incomplete network closure, weak authentication mechanism, insufficient circuit stability and lack of external power supply function, which cannot meet the needs of high security and stability.

Method used

It adopts ultra-wideband carrier-free communication technology, national secret encryption chip, magnetic latching relay and high-performance main control unit, combined with power conversion module to ensure safe and reliable data transmission and support remote management and control.

Benefits of technology

It achieves stable data transmission and secure control in complex electromagnetic environments, and is suitable for smart home and industrial automation scenarios, providing stable power supply and efficient remote device control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223414880U_ABST
    Figure CN223414880U_ABST
Patent Text Reader

Abstract

The utility model provides a relay device with stable and safe data communication. The relay device comprises a housing, a power supply module, a UWB communication module, an encryption module, a magnetic latching relay and a main control chip. The main control chip is connected with the UWB communication module, the encryption module and the magnetic latching relay, can configure the UWB communication module, establishes a communication link with the main control chip, and supports a carrier-free communication characteristic; before and after data are sent and received, data communication can be encrypted and decrypted through the encryption module; the on / off of the relay device can be controlled through the state of the magnetic latching relay. The relay equipment with stable and safe data communication combines efficient power supply conversion, an advanced UWB communication technology, strong safety measures, a reliable magnetic latching relay and a high-performance main control unit, forms a comprehensive solution, and is particularly suitable for wireless control application scenes requiring high stability, safety and low power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of intelligent network equipment, mainly a relay device, specifically a relay device with stable and safe data communication. Background Art

[0002] Relay devices primarily receive and forward signals to expand communication range or improve signal quality. They act as a bridge in data communication networks, overcoming signal attenuation caused by obstacles, increasing network coverage, and improving transmission speed and reliability. They are widely applicable and are a common form of network infrastructure.

[0003] However, current conventional relay devices often have security issues, making them unsuitable for scenarios requiring high security and stability, such as those involving classified information. Data communication security risks and causes include: Incomplete network isolation: If a wireless network is not configured correctly or uses a weak encryption algorithm, it is vulnerable to hacker attacks. For example, the WEP protocol is no longer recommended due to vulnerabilities; Weak authentication mechanisms: Without a strong user authentication process (such as two-factor authentication), unauthorized users can impersonate legitimate users to access the network. Regarding circuit stability and security, in addition to basic data processing capabilities, they must also ensure normal operation even in the face of unexpected situations (such as power fluctuations). Lack of external power supply: To meet the needs of certain scenarios, enabling relay devices to power other small devices can be a beneficial feature expansion. For example, when used with surveillance cameras, separate wiring for the cameras is required. Current relay devices lack additional output interfaces and reasonable energy distribution logic.

[0004] For relay devices used by confidential departments, ensuring adequate security is crucial. This means not only addressing known security risks from a technical perspective, but also continuously monitoring emerging threat patterns and implementing corresponding countermeasures. Furthermore, good scalability and ease of use are also important factors when evaluating such products. Summary of the Invention

[0005] To address the shortcomings and deficiencies of existing technologies, the inventors' team meticulously designed and launched an improved and optimized data security relay device. This device cleverly integrates ultra-wideband (UWB) carrier-free communication technology with a nationally recognized encryption chip mechanism, making it particularly suitable for applications with extremely high information security requirements. It not only ensures the security and reliability of information transmission but also enables efficient remote management and control of the access and installation of various intelligent monitoring devices. Its compact size and strong compatibility allow it to be integrated with a variety of smart devices and hardware. This stable and secure data communication relay device combines efficient power conversion, advanced UWB communication technology, robust security measures, a reliable magnetic latching relay, and a high-performance main control unit, forming a comprehensive solution ideal for wireless control applications requiring high stability, security, and low power consumption.

[0006] Specifically, the utility model is achieved as follows:

[0007] A relay device with stable and secure data communication comprises: a shell for mounting an integrated circuit board therein and serving as a protective shell for the relay device; a power supply module mounted on the integrated circuit board for supplying power to components and integrated circuits on the integrated circuit board; a UWB communication module, a TR wireless transceiver module based on UWB technology, capable of wirelessly receiving and transmitting data communications without a carrier; an encryption module for encrypting data transmission for wirelessly receiving and transmitting data communications; a magnetic latching relay connected to the circuit on the integrated circuit board, capable of maintaining the state of the circuit and controlling the circuit on the integrated circuit board to remain in an on or off state; a main control chip connected to the UWB communication module, the encryption module and the magnetic latching relay, capable of configuring the UWB communication module, establishing a communication link with the main control chip, and supporting carrier-free communication characteristics; the encryption module can encrypt and decrypt data communications before and after sending and receiving data; and the relay device can be controlled to be on or off by the state of the magnetic latching relay.

[0008] Furthermore, the power supply module also includes: a rectifier bridge, used to convert the input 220V AC power into DC power; a power transformer, used to step down the rectified high-voltage DC power to a suitable voltage level; a high-power DC electromagnetic relay, used to perform switching operations of high-current loads; a three-terminal voltage-stabilizing integrated circuit, used to provide a stable output voltage to the circuit on the integrated circuit board; and a voltage-stabilizing chip, which ensures the stability of the circuit voltage.

[0009] Furthermore, the integrated circuit board is placed in the middle of the inner part of the shell in a suspension installation manner, leaving hardware installation space for the upper and lower areas and providing heat dissipation space; the rectifier bridge is installed on the front of the integrated circuit board, which is connected to the AC input line set on the integrated circuit board and connected to the power transformer; the power transformer is installed on the bottom surface of the integrated circuit board and connected to the high-power DC electromagnetic relay; the three-terminal voltage regulator integrated circuit and the voltage regulator chip are installed on the front of the integrated circuit board to provide a stable output voltage to the downstream circuit; and are connected to the low-voltage DC output line at the other end of the front of the integrated circuit board.

[0010] Furthermore, the encryption module includes several pins, including a ground pin and a power pin. The power pin is connected to a 3.3 volt power supply. Two capacitors CC9 and C11 are provided on the power line, which can be used for filtering or decoupling purposes to ensure the stability of the power supply; the capacitance values ​​of capacitors CC9 and C11 are 2.2uF and 100nF respectively; the SDA / MOSI / TXD / GP6 and SCL / SCK / RXD / GP7 pins correspond to serial data and serial clock, as well as the functions of receiving and sending data TXD and RXD, respectively; and a reset pin is also included.

[0011] Furthermore, the power supply circuit of the power module includes: an input power supply, which is connected to the AC input port through a fuse J3 and then rectified by a rectifier bridge GBU1502 to convert the AC power into DC power; a filter: composed of an electrolytic capacitor C1, used to reduce the ripple component in the rectified pulsating DC power and improve the smoothness of the output voltage; a three-terminal voltage regulator LM7805, which stabilizes the input voltage at a fixed value and can provide an output voltage of 5V; a voltage regulator SPX1117, which can provide an output voltage of 3.3V; a resistor R4 and a diode D1 together constitute an anti-reverse connection protection circuit to prevent damage caused by reverse connection of the positive and negative poles of the power supply; several capacitors for filtering; and an LED as a status indicator.

[0012] Furthermore, the circuit design of the main control chip includes: several power pins, the power supply is used to power the entire integrated circuit and components; a reset circuit, connected to an RC network reset circuit configuration consisting of a capacitor C10 and a resistor R1 through the RST pin, used to ensure that the microcontroller starts correctly when powered on; a crystal oscillator circuit, consisting of two external crystal resonators and two bypass capacitors, connected to the XTAL1 and XTAL2 pins, used to provide a clock signal; a serial communication interface, several pins PB6 / I2C_SCL / USART0_TX, PB7 / I2C_SDA / USART0_RX for asynchronous serial communication; can support I2C and UART protocols; LED drive; the LED is connected to a GPIO pin of the microcontroller through a resistor R3 to indicate the system status; a peripheral interface, the circuit also includes SWDIO and SWCLK dedicated pins for debugging and programming the microcontroller.

[0013] Furthermore, the shell includes an upper shell and a lower shell, which are connected by bolts or snap-fit ​​parts, and a number of heat dissipation holes or heat dissipation mesh plates can be opened on the shell, and a reserved groove is left corresponding to the power interface for exposing the power interface to facilitate plugging in the power supply.

[0014] The working principle of this utility model is as follows: In the structural design of this utility model, 220V AC power is input to the rectifier bridge after being protected by a fuse, and is converted into pulsating DC power after being rectified; the pulsating DC power is smoothed by a filter and then stepped down to an appropriate voltage level by a power transformer; it is further stabilized by a three-terminal voltage-stabilizing integrated circuit (such as LM7805) and a voltage-stabilizing chip (such as SPX1117) to provide the stable DC power required by various components on the integrated circuit board; it can convert 220V AC mains power into 12V DC or other required voltages are used for the device itself and possible additional devices; the UWB communication module is responsible for sending and receiving data, and its operating frequency band is between 6.1GHz and 6.9GHz. It uses nanosecond narrow pulses for communication and does not require a carrier, which improves spectrum utilization and anti-interference capabilities; before data is sent, the main control chip will encrypt the data with the SM4 national encryption algorithm through the connected encryption module; after receiving the data, it also needs to be decrypted before processing; the encryption module ensures the data security of wireless communication and prevents data from being intercepted or tampered with; the magnetic holding relay is used to maintain the state of a specific circuit (on / off), and can maintain the last set state even if the power is interrupted; the main control chip is based on the UWB communication module The system receives commands and controls the latching relay to determine whether to supply power to external devices or the on / off state of its own circuits. The main control chip (such as the GD32F103TBU6) serves as the command center for the entire system, managing the operation of the UWB communication module, encryption module, and latching relay. It also includes a reset circuit, a crystal oscillator circuit, and other components to ensure normal system operation. It supports multiple interface protocols, such as I2C and UART, to facilitate interaction with other system components. The housing not only provides physical protection but also facilitates heat dissipation through heat dissipation holes or a mesh panel. A power port is also provided for easy connection to an external power source. Due to its use of UWB technology and strong encryption, it can operate stably in complex electromagnetic environments and reduce signal interference. This relay device is suitable for applications requiring secure and reliable data transmission and remote control, such as smart homes and industrial automation.

[0015] Beneficial technical effects of the utility model:

[0016] (1) Voltage conversion and power management: This device can convert 220V AC power into 12V DC power, which not only provides a stable power supply for itself, but also provides appropriate power for other connected devices, making it easier to install and connect other devices to the network. For example, for surveillance cameras installed in confidential places, the power access can be controlled by a relay device; the design of the power module includes a rectifier bridge, a power transformer, a high-power DC electromagnetic relay, and a voltage regulator circuit (a three-terminal voltage regulator integrated circuit and a voltage regulator chip), ensuring the stability and smoothness of the output voltage. The magnetic latching relay is used to maintain the state of the circuit and can remotely control the switch state through the main control chip. It can maintain the on or off state without consuming additional energy and is suitable for systems that run for a long time. In manufacturing or factory automation, the power supply of the equipment can also be connected from the data security relay device, which can effectively and conveniently remotely control the power on and off of the factory equipment. The switching power supply of the equipment is also protected.

[0017] (2) Ultra-wideband (UWB) wireless communication: UWB communication modules use nanosecond to microsecond non-sinusoidal narrow pulses to transmit data, operating in the 6.1GHz to 6.9GHz frequency band. This method has better penetration and anti-interference performance than traditional wireless technologies. Carrier-free communication technology directly transmits information without the need for an additional carrier, improving spectrum utilization and reducing energy consumption.

[0018] (3) Data encryption and security: The encryption module uses the national secret algorithm SM4 for data transmission encryption, enhancing the security of the communication process. By encrypting and decrypting the sent and received data, it can effectively resist the risk of illegal intruders intercepting or tampering with the data, ensuring the security of user information. The main control chip integrates multiple peripheral interfaces and supports multi-protocol serial communication capabilities, facilitating the implementation of complex control logic and seamless integration with other systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a structural perspective diagram of a relay device that is stable and secure in data communication;

[0020] Figure 2 This is a three-dimensional schematic diagram of the internal structure of a relay device for stable and secure data communication;

[0021] Figure 3 A three-dimensional schematic diagram of the front structure of the integrated circuit board;

[0022] Figure 4 A three-dimensional schematic diagram of the reverse structure of the integrated circuit board;

[0023] Figure 5 This is a schematic diagram of the circuit structure of the encryption module;

[0024] Figure 6 A schematic diagram of the circuit structure of the power supply circuit of the power module;

[0025] Figure 7 This is a schematic diagram of the circuit structure of the main control chip circuit;

[0026] Among them: 1—UWB communication module, 2—magnetic holding relay, 3—encryption module, 4—main control chip, 5—rectifier bridge, 6—power transformer, 7—high-power DC electromagnetic relay, 8—three-terminal voltage regulator integrated circuit, 9—voltage regulator chip, 10—integrated circuit board, 11—AC input line, 12—low-voltage DC output line, 13—upper shell, 14—lower shell, 15—reserved slot. DETAILED DESCRIPTION

[0027] To make the objectives, technical solutions, and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are merely illustrative and are not intended to limit the scope of the present invention. Furthermore, descriptions of known structures and technologies are omitted in the following description to avoid unnecessary confusion regarding the concepts of the present invention.

[0028] Example 1: A relay device with stable and secure data communication, the basic structure of which is as follows:

[0029] Enclosure: The physical protective casing of a device, designed to contain and protect the electronic components inside from external environmental factors such as dust, moisture, and physical shock.

[0030] Integrated circuit board 10: This is where the core electronic components are integrated. All key functional modules are installed here, and it is the brain center of the equipment operation.

[0031] Power supply module: responsible for providing the necessary power supply for the components on the entire integrated circuit board 10, usually including rectification, voltage transformation and voltage stabilization to ensure the stability and safety of power supply.

[0032] Ultra-Wideband (UWB) communication module utilizes nanosecond-level narrow pulses for high-speed data transmission, offering strong anti-interference capabilities and high positioning accuracy. It is suitable for short-distance, high-bandwidth, and low-power wireless communication scenarios. The TR wireless transceiver module supports carrier-free communication, meaning it does not rely on traditional continuous carrier frequencies to carry information. Instead, it transmits data directly by sending data pulses, improving communication security and efficiency.

[0033] Encryption module 3: Encrypts and decrypts wireless data before and after data transmission, using advanced encryption algorithms to ensure the security of data during air transmission and prevent unauthorized access or tampering.

[0034] Magnetic Latching Relay 2: This is a special type of relay that can maintain the circuit open or closed without a continuous control signal. This is very useful in situations where power or control signals need to be switched at specific times, increasing system reliability and control flexibility. The control signal comes from a remote control terminal.

[0035] Main control chip 4: As the device's core processor, it manages and coordinates the operations of various modules, such as configuring UWB communication parameters, managing encryption processes, and controlling the device's on / off state via magnetic latching relay 2. It supports carrier-free communication links with external devices via UWB technology, ensuring efficient and secure communication connections.

[0036] In the product's structural design, the integrated circuit board 10 is cleverly positioned in the center of the device's housing and is suspended. This optimizes space utilization while ensuring ample space above and below for other hardware components. This also promotes air circulation and provides an effective heat dissipation path for the system. The rectifier bridge 5 component is fixed to the front of the integrated circuit board 10. It acts as a "gatekeeper," responsible for converting the incoming 220V AC power into DC power. This conversion process is achieved by connecting to the pre-set AC input interface on the integrated circuit board 10. The converted high-voltage DC power then flows to the adjacent power transformer 6. The power transformer 6, located at the bottom of the integrated circuit board 10, works closely with the rectifier bridge 5 to reduce the high-voltage DC power to a lower voltage level suitable for circuit operation. This transformer is also directly connected to a high-power DC electromagnetic relay 7, which acts as a control element, capable of carrying and managing the on and off of high-current loads, ensuring efficient and safe power transmission. A three-terminal voltage-stabilizing integrated circuit 8 and a voltage-stabilizing chip 9 are carefully arranged on the front of the integrated circuit board 10. They provide a continuous and stable voltage to the various circuit components on the integrated circuit board 10, which is crucial for maintaining stable system operation. This stable voltage is ultimately distributed to other downstream components of the system through a low-voltage DC output interface located at the other end of the front of the integrated circuit board 10, ensuring a reliable and efficient power supply for the entire device.

[0037] Circuit design

[0038] The encryption module 3 circuit includes:

[0039] Pin functions include power, ground, and communication pins such as SDA / MOSI / TXD for data transmission and SCL / SCK / RXD for clock synchronization and reset. The power supply is 3.3V, and capacitors CC9 (2.2uF) and C11 (100nF) are used to filter out noise and ensure power quality.

[0040] Communication interface: supports serial data transmission and is compatible with multiple communication protocols such as I²C and UART.

[0041] The power module circuit includes:

[0042] Power supply process: Starting from the AC input, after being protected by fuse J3, the GBU1502 rectifier bridge 5 is used to convert the AC power into DC power.

[0043] Voltage fluctuation and stabilization: Electrolytic capacitor C1 is used to filter and reduce voltage fluctuations, and then the LM7805 and SPX1117 provide stable 5V and 3.3V DC respectively to ensure the normal operation of the circuit. At the same time, the circuit composed of resistor R4 and diode D1 prevents reverse power connection.

[0044] Status display: Use LED as power status indication.

[0045] The main control chip 4 circuit includes:

[0046] Power supply and reset: Multiple power pins ensure power supply to the chip and peripheral components. The reset circuit ensures reliable system startup through the RC network capacitor C10 and resistor R1.

[0047] Clock system: uses internal crystal resonator to generate accurate clock signal.

[0048] Communication interface: supports asynchronous serial communication of I²C and UART protocols, implemented through pins such as PB6 and PB7.

[0049] LED status indication: The LED is controlled by the GPIO pin and the current-limiting resistor R3 to reflect the system working status.

[0050] Debug interface: SWDIO and SWCLK pins provide a way to debug and program the microcontroller.

[0051] Example 2: In actual use:

[0052] Within a highly sensitive, confidential location, there is a critical surveillance area equipped with several high-definition surveillance cameras, which are essential for around-the-clock monitoring and recording of critical activities. To ensure a stable and secure power supply for the surveillance system, a stable and secure data communication relay device, as provided in Example 1, is used to securely access and manage the power supply and network connection for these cameras.

[0053] Deployment Phase: 1. Installation Location Selection: First, technicians will select a secure and easily maintained location to install the relay device. This location is typically near the camera cluster, but out of direct line of sight to minimize the risk of physical damage. 2. Power Connection: Technicians connect a 220V AC power cord to the designated port on the relay device. The device's internal power module immediately begins operating, converting the AC power to a stable 12V DC voltage suitable for sharing power between multiple surveillance cameras. 3. Encryption Configuration: To ensure secure communication, technicians will use a dedicated controller device to establish a connection with the relay device via UWB wireless communication technology. During the initial connection, both parties perform authentication and key exchange using the SM4 national encryption algorithm, establishing an encrypted communication link to prevent unauthorized access. 4. Remote Control Setup: Within a secure network environment, technicians configure the relay device's control parameters, such as timed camera power on and off and automatic power-off protection in the event of an abnormality, using encrypted wireless signals. All commands are transmitted in an encrypted state to ensure confidentiality and integrity.

[0054] Daily operation: Dynamic monitoring: The relay device continuously receives encrypted instructions from the control center and adjusts the power status of the camera in real time according to the instructions.

[0055] Regular maintenance: Maintenance personnel regularly check the relay device's status via an encrypted wireless connection, including the stability of the power module, the health of the communication module, and the effectiveness of the encryption module3, ensuring the device is always in optimal working condition. Through this deployment and operation, the data security relay device not only provides stable and reliable power conversion and wireless control functions, but also effectively prevents the risk of power manipulation through advanced encryption technology and strict security policies, ensuring the security and continuity of the monitoring system.

[0056] It should be understood that the above-described specific embodiments of the present invention are merely illustrative of or explanation of the principles of the present invention and do not constitute limitations of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention shall be included within the scope of protection of the present invention. In addition, the appended claims of the present invention are intended to cover all variations and modifications that fall within the scope and metes and bounds of the appended claims, or equivalents thereof.

Claims

1. A relay device for stable and secure data communication, characterized in that include: The housing is used to install an integrated circuit board (10) therein and serve as a protective housing for the relay device; the integrated circuit board (10) is installed with: A power module for supplying power to components and circuits on the integrated circuit board (10); UWB communication module (1), a TR wireless transceiver module based on UWB technology, capable of wirelessly receiving and sending data without a carrier; An encryption module (3) is used to encrypt data transmission for wireless receiving and sending data communications; A magnetic latching relay (2) is connected to the circuit on the integrated circuit board (10) and can be used to maintain the state of the circuit and can control the circuit on the integrated circuit board (10) to maintain an open or closed state; The main control chip (4) is connected to the UWB communication module (1), the encryption module (3), and the magnetic latching relay (2), and can configure the UWB communication module (1) to establish a communication link with the main control chip (4), supporting carrier-free communication characteristics; can encrypt and decrypt data communication through the encryption module (3) before and after sending and receiving data; and can control the opening or closing of the relay device through the state of the magnetic latching relay (2).

2. The relay device according to claim 1, wherein: The power module further includes: A rectifier bridge (5) is used to convert the input 220V AC power into DC power; A power transformer (6) is used to step down the rectified high-voltage direct current to a suitable voltage level; A high-power DC electromagnetic relay (7) for performing switching operations on high-current loads; A three-terminal voltage-stabilizing integrated circuit (8) for providing a stable output voltage to a circuit on an integrated circuit board (10); The voltage stabilizing chip (9) ensures the circuit voltage is stable.

3. The relay device according to claim 2, wherein: The integrated circuit board (10) is placed in the middle of the housing in a suspension installation manner, leaving space for hardware installation in the upper and lower areas and providing heat dissipation space; The rectifier bridge (5) is mounted on the front of the integrated circuit board (10), connected to the AC input line (11) provided on the integrated circuit board (10), and connected to the power transformer (6); The power transformer (6) is mounted on the bottom surface of the integrated circuit board (10) and connected to the high-power DC electromagnetic relay (7); The three-terminal voltage-stabilizing integrated circuit (8) and the voltage-stabilizing chip (9) are mounted on the front of the integrated circuit board (10) to provide a stable output voltage to the downstream circuit; and are connected to the low-voltage direct current output line (12) at the other end of the front of the integrated circuit board (10).

4. The relay device according to claim 1, wherein: The encryption module (3) includes a plurality of pins, including a ground pin and a power pin. The power pin is connected to a 3.3 volt power supply. Two capacitors CC9 and C11 are provided on the power supply circuit and can be used for filtering or decoupling to ensure the stability of the power supply. The capacitance values ​​of the capacitors CC9 and C11 are 2.2uF and 100nF respectively. The SDA / MOSI / TXD / GP6 and SCL / SCK / RXD / GP7 pins correspond to the serial data and serial clock, as well as the functions of receiving and sending data TXD and RXD respectively; A reset pin is also included.

5. The relay device according to claim 1, wherein: The power supply circuit of the power module includes: The input power is connected to the AC input port through the fuse J3, and then rectified by the rectifier bridge (5) GBU1502 to convert the AC power into DC power; Filter: It is composed of electrolytic capacitor C1 and is used to reduce the ripple component in the rectified pulsating DC power and improve the smoothness of the output voltage; The three-terminal voltage regulator LM7805 stabilizes the input voltage at a fixed value and can provide an output voltage of 5V; The voltage regulator SPX1117 can provide an output voltage of 3.3V; Resistor R4 and diode D1 together form an anti-reverse polarity protection circuit to prevent damage caused by reverse polarity of the power supply; Several capacitors for filtering; LEDs serve as status indicators.

6. The relay device according to claim 1, wherein: The circuit design of the main control chip (4) includes: Several power pins, the power supply is used to power the entire integrated circuit and components; The reset circuit is configured by connecting the RST pin to an RC network consisting of capacitor C10 and resistor R1 to ensure that the microcontroller starts correctly when powered on; The crystal oscillator circuit, consisting of two external crystal resonators and two bypass capacitors, is connected to the XTAL1 and XTAL2 pins to provide clock signals. Serial communication interface, several pins for asynchronous serial communication PB6 / I2C_SCL / USART0_TX, PB7 / I2C_SDA / USART0_RX; can support I2C and UART protocols LED driver: The LED is connected to a GPIO pin of the microcontroller through a resistor R3 to indicate the system status. Peripheral interface, the circuit also contains SWDIO and SWCLK dedicated pins for debugging and programming the microcontroller.

7. The relay device according to claim 1, wherein: The housing comprises an upper housing (13) and a lower housing (14), and the upper and lower housings (14) are connected by bolts or snap-fit ​​components. The housing can be provided with a plurality of heat dissipation holes or heat dissipation screens, and a reserved slot (15) is left corresponding to the power interface for exposing the power interface to facilitate plugging in a power source.