Internet of Things control system

By designing a multi-module collaboration and communication mechanism in the Internet of Things control system, the problems of single point of failure, inaccurate feedback and poor scalability in the existing system are solved, and the reliability and stability of the system are improved, as well as the accuracy of fault location and feedback are enhanced.

CN120029147APending Publication Date: 2025-05-23BEIJING SIX WAYS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510153992.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-12
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The existing IoT control system has problems such as risk of single point failure, inaccurate feedback and poor scalability.

Method used

An IoT control system was designed, including an IoT platform module, an IoT main control module, an IoT backup module, an IoT fault monitoring module and a control circuit module. Through the communication and collaboration of these modules, automatic fault switching, remote restart, real-time monitoring and power supply protection can be achieved.

Benefits of technology

The system can quickly restore system functions when the IoT main control module fails, ensure the reliable operation of the equipment in various environments, improve the reliability and stability of the system, and enhance the accuracy of fault location and feedback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029147A_ABST
    Figure CN120029147A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Internet of Things control, in particular to an Internet of Things control system. The Internet of Things platform module communicates with the Internet of Things master control module, the standby module and the fault monitoring module through a network, receives and issues a control instruction, and receives and processes master control and control circuit execution state information at the same time; the internet-of-things main control module receives the control instruction and outputs a corresponding level signal to control the on-off state of the circuit module. The internet-of-things standby module monitors the output state of the main control module and feeds back the execution state to the internet-of-things platform; the internet-of-things fault monitoring module monitors the execution state of the control instruction in the control circuit module and sends feedback information to the internet-of-things platform; the control circuit module controls the on-off state of the controlled circuit module according to the level signal, and provides a feedback signal to the fault monitoring module for fault monitoring. According to the invention, through real-time monitoring and feedback, the problems of single-point fault, inaccurate feedback and poor expansibility in a traditional control system are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of Internet of Things control, and in particular relates to an Internet of Things control system. Background Art

[0002] The current building electrical IoT control system is widely used in smart homes and building automation, mainly to achieve remote control and status monitoring of lighting, air conditioning, security and other equipment. In the current IoT control system, controllers based on single-chip microcomputers, PLCs or embedded Linux platforms are usually used to connect to the IoT platform through wireless communication protocols (such as Wi-Fi, Zigbee) to provide basic device control. Most of them use single-chip microcomputers or ARM architecture chips as the main control chip, and output control signals through the GPIO interface. The fault monitoring method usually relies on the platform to simply judge whether the instruction is executed by feedback of the device status (such as current detection and voltage monitoring). The control circuit of the existing IoT control system usually uses relays or semiconductor switches (such as MOS tubes) to realize circuit on-off control; the communication mechanism is based on the TCP / IP protocol, and the transmission and feedback of control instructions are realized through the cloud platform.

[0003] The existing Internet of Things control system has the following defects:

[0004] 1. Single point failure risk: In current systems, the main control chip is usually a separate unit. If the main control chip or communication link fails, the entire control system may be paralyzed;

[0005] 2. Inaccurate feedback: Conventional status feedback mostly relies on simple detection of current, voltage or equipment working status, which makes it difficult to accurately locate the fault point;

[0006] 3. Poor scalability: Most existing control circuits are fixed in design and difficult to flexibly adapt to different voltage levels or types of electrical appliances. Summary of the invention

[0007] In order to solve the above-mentioned technical problems existing in the prior art, the present invention provides an Internet of Things control system, which has functions such as automatic fault switching, remote restart, real-time monitoring and power supply protection. It can quickly restore system functions when a fault occurs in the Internet of Things main control module, thereby ensuring the reliable operation of the equipment in various environments.

[0008] The objective of the present invention is achieved through the following technical solutions:

[0009] An Internet of Things control system, comprising:

[0010] The IoT platform module is used to communicate with the IoT main control module, the IoT backup module and the IoT fault monitoring module through the network, receive control instructions and issue control instructions to the IoT main control module through the network, receive and process the main control execution status information of the IoT backup module and the control circuit execution status information of the IoT fault monitoring module; and judge the execution status of the control instruction through the main control execution status information and the control circuit execution status information;

[0011] The IoT main control module is used to receive the control instructions issued by the IoT platform module, parse the control instructions and output a level signal to the control circuit module to control the operating state of the control circuit module;

[0012] The IoT standby module is used to monitor the output status of the IoT main control module and determine the main control execution status information, and feed back the main control execution status information to the IoT platform module;

[0013] An IoT fault monitoring module, used to monitor the running status of the control instruction in the control circuit module, determine the control circuit execution status information, and send the control circuit execution status information to the IoT platform module;

[0014] The control circuit module is used to receive the level signal sent by the IoT main control module, and control its own operating state by monitoring the state of the level signal, thereby realizing the operating state control of the control circuit module.

[0015] Furthermore, it also includes a system restart module, which includes a key restart unit and / or a remote restart unit;

[0016] A button restart unit: used to trigger the power-off and power-on function of the IoT fault monitoring module through a self-reset button to implement a mandatory hardware restart operation of the system; the button is an automatic reset button of the IoT fault monitoring module;

[0017] Remote restart unit: used to send a restart instruction to the IoT fault monitoring module through the IoT platform module. After receiving the instruction, the IoT fault monitoring module performs power-off and power-on operations for the IoT main control module, and realizes seamless connection of the state switching of the IoT main control module through cooperation with the IoT backup module.

[0018] Furthermore, the restart module sends a restart instruction to the IoT fault monitoring module through a remote instruction or a key instruction. When a system failure occurs, the IoT fault monitoring module switches the IoT backup module to the control mode and restores the level state of the control circuit through the backup program.

[0019] Furthermore, it also includes a temperature sensor module, which is used to monitor the temperature information of the system equipment in real time.

[0020] Furthermore, the control circuit execution status information includes: a level signal of the NMOS tube gate and an ADC value.

[0021] Furthermore, it also includes:

[0022] The power supply module is used to provide 24V DC power to the system and ensure the normal operation of each functional module through current monitoring. If abnormal current is detected, a fault indication and protection mechanism are provided.

[0023] Furthermore, the IoT main control module outputs TTL level signals through multiple GPIO pins to respectively control the gates of the NMOS tubes of the multi-channel control circuit modules.

[0024] Furthermore, the IoT main control module exchanges data with the IoT backup module and the IoT fault monitoring module through IIC serial port communication.

[0025] Furthermore, the IoT fault monitoring module collects current change data of the control circuit module through the ADC interface, and can identify abnormal current fluctuations through the current change data, thereby determining whether the IoT main control module has a fault.

[0026] Further, the IoT standby module includes: a control mode and a non-control mode;

[0027] Control mode: When the IoT main control module is detected to have a fault, the IoT backup module switches the control mode and takes over the control operation of the control circuit module, restores the control circuit through the GPIO pin, and sends the main control execution status information to the IoT platform module;

[0028] Non-control mode: When the IoT standby module is in standby state, the IoT standby module switches to non-control mode and waits for instructions from the IoT main control chip.

[0029] The Internet of Things control system provided by the present invention communicates with the Internet of Things main control module, the Internet of Things backup module and the fault monitoring module through the Internet of Things platform module, receives control instructions and feeds back the execution status, the Internet of Things main control module parses the instructions to control the circuit module to run, the Internet of Things backup module monitors the main control status and feeds back, and the Internet of Things fault monitoring module monitors the circuit status and feeds back, thereby realizing comprehensive monitoring and control of the control circuit module. Therefore, the Internet of Things control system provided by the present invention solves the problems of single point failure, inaccurate feedback and poor scalability in traditional control systems.

[0030] In addition, the present invention ensures that the system can be quickly restored when an abnormality occurs by setting a system restart module, thereby maintaining the stability and reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1A schematic diagram of the architecture of an Internet of Things control system provided by an embodiment of the present invention;

[0032] Figure 2 A schematic diagram of the IoT master control chip provided by an embodiment of the present invention;

[0033] Figure 3 A schematic diagram of an NMOS field effect transistor provided in an embodiment of the present invention;

[0034] Figure 4 The schematic diagram of the TPS54560 voltage regulator chip provided by the embodiment of the present invention;

[0035] Figure 5 A schematic diagram of the components of the IoT backup chip provided by an embodiment of the present invention;

[0036] Figure 6 A schematic diagram of the components of the IoT backup chip provided by an embodiment of the present invention;

[0037] Figure 7 A schematic diagram of the components of the IoT backup chip provided by an embodiment of the present invention;

[0038] Figure 8 A schematic diagram of the components of the IoT backup chip provided by an embodiment of the present invention;

[0039] Fig. 9 A schematic diagram of the components of the IoT backup chip provided by an embodiment of the present invention;

[0040] Fig.10 A schematic diagram of the components of IoT fault monitoring provided by an embodiment of the present invention;

[0041] Fig.11 A schematic diagram of the components of IoT fault monitoring provided by an embodiment of the present invention;

[0042] Fig.12 A schematic diagram of the components of IoT fault monitoring provided by an embodiment of the present invention;

[0043] Fig.13 A schematic diagram of the components of IoT fault monitoring provided by an embodiment of the present invention;

[0044] Fig.14 Schematic diagram of the components of IoT fault monitoring provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The technical solution of the present invention will be clearly described below in conjunction with the accompanying drawings. Obviously, the described embodiments are not all embodiments of the present invention, and all other embodiments obtained by ordinary technicians in the field without making creative work are within the protection scope of the present invention.

[0046] It should be noted that, unless otherwise specifically stated, the relative arrangements of components and steps, and numerical expressions set forth in these embodiments should not be construed as limiting the scope of the present invention.

[0047] The following description of the exemplary embodiments is merely illustrative and is not intended to limit the present invention and its application or use in any sense. Techniques, methods and devices known to ordinary technicians in the relevant field may not be discussed in detail here, but where applicable, these techniques, methods and devices should be considered as part of this specification.

[0048] Embodiment 1

[0049] See also Figure 1 , Figure 1 The present invention provides a structural schematic diagram of an Internet of Things control system, including: an Internet of Things platform module, an Internet of Things main control module, an Internet of Things backup module, an Internet of Things fault monitoring module, a control circuit module, and a controlled circuit module. Each module is controlled and monitored through the Internet of Things platform, and the reliability and stability of the system are ensured through a redundant control mechanism; the specific functions of each module include:

[0050] A1. IoT platform module

[0051] The IoT platform module is used for the IoT platform module to communicate with various modules through the network; its specific functions may include:

[0052] A11, generate control instructions and send them to the IoT main control module; communicate with the IoT main control module, the IoT backup module and the IoT fault monitoring module through the network, receive control instructions and issue control instructions to the IoT main control module through the network, the control instructions form a control output combination according to the algorithm composed of the conditional execution logic relationship, and output it to the IoT main control chip through the local area network (wired or wireless signal);

[0053] A12, receiving and processing the main control execution status information of the IoT standby module and the control circuit execution status information of the IoT fault monitoring module; judging the execution status of the control instruction through the main control execution status information and the control circuit execution status information;

[0054] The IoT platform module supports remote control and can send instructions to the IoT main control module, IoT backup module and IoT fault monitoring module to control the working status of each functional module of the system and receive feedback information.

[0055] A2. IoT master control module

[0056] The IoT master module is used to handle all tasks related to device control and communication; see Figure 2For this module to use the IoT master chip for communication, refer to Figure 3 The schematic diagram of the NMOS field effect tube structure is shown in FIG. 1 , and its specific functions may include:

[0057] A21, receiving the control command issued by the IoT platform module, and outputting the level signal to the control circuit module through the corresponding GPIO pin;

[0058] A22. After parsing the control instruction, the 16 GPIO pins of the IoT main control chip are used to output TTL level signals to the gate of the NMOS tube in the control circuit. The NMOS tube realizes the on / off control between the drain and source according to the gate level, thereby realizing the on / off control of the controlled circuit module loop connected to the drain and source. It is connected to the external NMOS driver tube module and other peripheral chips through multiple GPIOs.

[0059] A3, IoT backup module

[0060] The IoT standby module is used to monitor the GPIO pin output status of the IoT master module, generate master execution status information according to the output status and feed it back to the IoT platform module; the master execution status information includes; Figure 5 , Figure 6 , Figure 7 , Figure 8 and Fig. 9 The combined module uses the IoT backup chip to communicate, and its specific functions may include:

[0061] A31. The IoT backup chip adjusts the 16 GPIO pins to digital input status to monitor the output of the 16 GPIO pins of the main control chip, and sends the actual output feedback signal to the IoT platform through the LAN protocol; the IoT platform module determines the execution status of the main control chip by comparing the feedback signal with the issued control instructions; thus forming a control-feedback loop that constitutes a fault monitoring loop at the IoT platform-main control chip level;

[0062] A32, the control state of the IoT standby chip includes control mode and non-control mode; in non-control mode, the IoT standby module is in standby state, waiting for instructions from the IoT main control chip;

[0063] When the IoT main control module fails, the IoT backup chip automatically switches to control mode, controls the circuit through the GPIO pin, takes over the operation of the control circuit, and ensures the continuous operation of the system; in control mode, the IoT backup chip controls each NMOS tube through a preset program to restore control of the control circuit.

[0064] A4. IoT fault monitoring module

[0065] The IoT fault monitoring module is used to monitor and control the running state of the control instruction in the control circuit module in real time, and determine the control circuit execution state information, which includes: the level signal and ADC value of the NMOS tube gate; and send the control circuit execution state information to the IoT platform module to ensure the stable operation of the system;

[0066] See also Fig.10 , Fig.11 , Fig.12 , Fig.13 and Fig.14 The combined structure is that this module uses the IoT fault monitoring chip to communicate. The IoT fault monitoring chip monitors whether there is an actual voltage change in the circuit where the drain and source of the NMOS tube are located, and monitors whether the switch command issued by the IoT platform module has realized actual feedback in the controlled circuit module loop; its specific functions may include:

[0067] A41. When the IoT platform issues a closed loop instruction, the IoT main control chip sends a high-level signal at the corresponding pin, the gate of the NMOS tube in the control circuit module receives the high-level signal, and the indicator light lights up. The IoT standby chip receives the high-level signal and feeds back to the IoT fault monitoring chip.

[0068] A42, current change monitoring, after the drain and source of the NMOS tube are connected, the current of the source will be fed back to the IoT fault monitoring chip, and the ADC value connected to the IoT fault monitoring chip at the source will increase from 0 to a value greater than 0;

[0069] A43. The IoT fault monitoring chip sends the control circuit execution status information to the IoT platform. The control circuit execution status information includes the signal collected by the gate of the NMOS tube and the signal collected by the drain. The IoT platform compares the two signal results to determine whether the instruction is executed at the controlled end.

[0070] A5. Control circuit module

[0071] The control circuit module is used to receive the level signal sent by the IoT main control chip or the IoT backup chip, control the on / off state of the circuit, and control the conduction and disconnection between the drain and the source by monitoring the level signal state, thereby realizing the on / off state control of the controlled circuit, and providing feedback signals to the fault monitoring module for fault monitoring. The specific functions implemented may include:

[0072] A51, the NMOS tube in the power-on control chip performs a switch operation according to the received level signal to adjust the on-off state of the circuit;

[0073] A52, the power-on control chip provides a feedback signal to the fault monitoring module for fault detection and supervision.

[0074] A6. System restart module

[0075] The system restart module is used when the IoT main control device encounters a long standby time and the IoT main control chip processor fails during operation, and needs to be restarted to restore the function. The device can be restarted by pressing the button on the device, or the IoT platform sends a restart command to the IoT fault monitoring chip. The specific functions it implements may include:

[0076] A61, button restart unit: used to trigger the power-off and power-on function of the IoT fault monitoring module through the self-reset button to implement the mandatory hardware restart operation of the system; the button is the automatic reset button of the IoT fault monitoring module; the specific implementation process may include:

[0077] The button restart is achieved through the self-reset button on the device. When the restart button is pressed, the IoT fault monitoring chip enters the power-off and power-on process. During the power-off process, the IoT fault monitoring chip will disconnect the previously turned-on power supply circuit. After the system is reconnected to the power supply, the IoT fault monitoring chip starts the current monitoring process to ensure the normal operation of each functional module.

[0078] A62, remote restart unit: used to send a restart instruction to the IoT fault monitoring module through the IoT platform module, and the IoT fault monitoring module performs a power-off and power-on operation for the IoT main control module after receiving the instruction, and realizes seamless connection of the state switching of the IoT main control module through cooperation with the IoT backup module. The specific implementation process may include:

[0079] Remote restart is achieved by sending a restart command from the IoT platform to the IoT fault monitoring chip. After receiving the restart command, the IoT fault monitoring chip switches the IoT standby chip to the control state and transmits the last level state to the IoT standby chip, so that it takes over the level state of the control circuit.

[0080] At the same time, the IoT fault monitoring chip performs a power-off and power-on operation on the IoT main control chip. During the startup of the IoT main control chip, the IoT fault monitoring chip ignores the changes in the power supply current of the IoT main control chip. After the IoT main control chip completes the startup, it feeds back its online status to the IoT platform. Based on the status of the main control chip, the IoT platform sends the last control output status to the IoT main control chip, and sends an instruction to restore control capability to the IoT fault monitoring chip. Subsequently, the IoT fault monitoring chip switches the IoT backup chip to the monitoring state, thereby restoring the normal control function of the IoT main control chip.

[0081] A7, temperature sensor module, this module uses LM35DZ temperature sensor to monitor the temperature information of the system in real time. The temperature information will be transmitted to the IoT platform module for temperature warning and fault diagnosis.

[0082] A8, power supply module

[0083] The power supply module is used to provide 24V DC power to the entire system and ensure the normal operation of each functional module of the system through the current monitoring function. If the current is abnormal (such as too high or too low), the power supply module will trigger a fault indication and start the protection mechanism to ensure that the equipment is not damaged; see Figure 4 This module uses the TPS54560 voltage regulator chip to power the module. Its specific functions include:

[0084] When the 24V power supply circuit of the main control device is connected, the TPS54560 voltage regulator chip outputs a 5V voltage to start the IoT fault monitoring chip and the IoT backup chip. The IoT fault monitoring chip turns on the IoT main control chip power supply circuit and monitors the current changes of the circuit after startup (about 1 minute). During this period, the IoT backup chip is on standby. The IoT fault monitoring chip transmits the current data back to the IoT platform. If the current is lower than or higher than the normal working threshold, the chip executes the power-off command, cuts off the IoT main control chip power supply circuit, and sends a backup control execution command to the IoT backup chip. If the current is within the normal working threshold, the chip sends a working condition monitoring command to the IoT backup chip.

[0085] When the IoT main control chip works normally, the instructions of the IoT platform are output to the GPIO pins through the IoT main control chip. The IoT backup chip receives and feeds back the instructions to the IoT fault monitoring chip through IIC serial port communication, and then transmits them back to the IoT platform. At the same time, the IoT main control chip sends the issued instructions to the fault monitoring chip through IIC serial port communication, and the chip stores them locally.

[0086] When the IoT main control chip is powered off (all pins are low level), or the GPIO pin output is changed due to other non-IoT platform instructions, the IoT backup chip will detect that the GPIO level state is inconsistent with the IIC serial port instruction information, and then determine that the change in the GPIO level state is not caused by the IoT platform instruction. The fault monitoring chip will then determine that the control is abnormal and feedback the "control abnormality" information to the IoT platform.

[0087] When a control anomaly occurs, the IoT fault monitoring chip will actively cut off the power supply circuit of the IoT main control chip, and switch the IoT backup chip from the monitoring state to the control state, and send the last retained level state to the IoT backup chip. The IoT backup chip will restore the level state of each controlled circuit and wait for manual intervention.

[0088] Embodiment 2

[0089] This embodiment relates to an Internet of Things control system, including an Internet of Things platform, an Internet of Things main control chip, an Internet of Things backup chip, an Internet of Things fault monitoring chip, and components such as an NMOS tube; wherein the fault monitoring module sends the signal collected by the gate and the signal collected by the drain of the NMOS tube in the control circuit module to the Internet of Things platform module respectively, and the Internet of Things platform compares the two signal results to determine whether the instruction is executed at the controlled end; the specific implementation method is as follows:

[0090] B1. Control instructions are executed correctly and completely

[0091] When the IoT platform sends a signal to connect a certain circuit X to the IoT main control chip, the IoT main control chip connects to the pin X of the corresponding circuit. 1 Output high level signal. At this time, the gate of NMOS and the backup chip X 2 The pins of the IoT chip receive high-level signals at the same time. The IoT standby chip feeds back the received high-level signal to the platform and the IoT platform, and the signal indicator light turns on.

[0092] In this state, if the NMOS loop is connected to the DC electrical circuit, the source and drain of the NMOS will be turned on, and the X corresponding to the loop of the IoT fault monitoring chip will be turned on. ADC The pin receives a non-zero voltage signal. Based on the voltage signal, the IoT platform confirms that the control instruction has been successfully executed and the circuit is working normally.

[0093] B2. The control instructions are issued correctly, but the execution is incomplete

[0094] When the IoT platform sends a signal to connect a certain circuit X to the IoT main control chip, the IoT main control chip connects to the pin X of the corresponding circuit. 1 Output high level signal, NMOS gate and IoT backup chip X 2 The pin receives a high-level signal. The IoT standby chip feeds back the received high-level signal to the platform and the IoT platform, and the signal indicator lights up.

[0095] However, if the NMOS loop is not connected to the DC appliance circuit, or the loop fails and cannot be connected normally, the source and drain of the NMOS will not be turned on. ADC The pin remains in a voltage-free state and this information is fed back to the IoT platform. The IoT platform determines that the control command has been correctly sent to the main control chip, but the controlled circuit has not been successfully connected, and then issues an alarm signal to prompt the user to check whether there is a problem with the wiring of the controlled circuit.

[0096] B3. The communication function of the main control chip is normal, but the control command is not sent correctly

[0097] When the IoT platform sends a signal to connect a certain circuit X to the IoT main control chip, the IoT main control chip connects to the pin X of the corresponding circuit.1 No high level is output, the gate of NMOS and the IoT backup chip X 2 The pin of the IoT does not receive a high-level signal. At this time, the IoT backup chip feeds back to the platform that it does not receive a high-level signal.

[0098] Based on this feedback information, the IoT platform determines that the control command has not been correctly issued to the IoT main control chip, and then issues an alarm, indicating that there is a fault in the main control chip and that the communication problem of the main control chip needs to be further investigated.

[0099] B4. The main control chip fails suddenly and the emergency control function is activated

[0100] In actual applications, the main control chip may have abnormal current, causing the main control chip to fail to work properly. At this time, the IoT fault monitoring chip will monitor the power supply current status of the main control chip through the current sensor. If the current is less than the startup threshold or greater than the chip protection threshold, and the circuit has not yet entered the self-resetting fuse disconnection state, the IoT fault monitoring chip will perform a disconnection operation and actively cut off the power supply of the main control chip, causing the main control chip to drop offline.

[0101] When the main control chip is offline, the IoT platform will detect the abnormality of the communication circuit and send out an alarm signal. At the same time, the IoT fault monitoring chip starts the IoT backup chip through the GPIO pin signal to enter the backup control function state. At this time, the IoT backup chip will switch to the backup control mode and take over the control of the NMOS tube. The backup control function will continue to maintain control of the circuit until manual intervention and troubleshooting of the power supply abnormality of the main control chip.

[0102] B5. System self-recovery and manual intervention

[0103] After the main control chip fails and switches to the backup control mode, the system will enter a state waiting for manual intervention. The IoT platform will continue to monitor the working status of the IoT backup chip and restore the normal function of the main control chip after manual intervention. This design ensures that when the main control chip fails, the system can maintain basic control functions and reduce the impact of the failure on the overall system.

[0104] By using the IoT fault monitoring chip to monitor each signal in the loop control process in real time and feeding it back to the IoT platform, the system can accurately determine the execution of control instructions and provide emergency backup control functions when the main control chip fails. This design can improve the reliability and stability of the system and ensure that problems can be discovered and solved in a timely manner when abnormal situations occur.

[0105] In summary, the present invention has the following advantages:

[0106] (1) Improve system reliability and reduce the risk of single point failure: Dual redundant protection is provided through the backup control function of the IoT backup module and the real-time current monitoring function of the fault monitoring module. If the IoT main control module fails, the IoT backup module automatically takes over control, reducing the risk of the system relying on a single module.

[0107] (2) Accurate fault location and feedback mechanism: The fault monitoring module combines the actual voltage signal and level feedback to more accurately judge the command execution status and provide timely feedback on fault information, thus improving the accuracy of fault feedback.

[0108] (3) Scalability and flexible adaptability: Through the combination of NMOS tubes and 16 GPIO outputs, it can flexibly adapt to various voltage levels and different types of electrical appliances. Each NMOS tube in the control circuit can be connected to different DC circuits, thereby flexibly supporting different loads and having strong scalability.

[0109] The above specific implementation methods are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to examples, a person skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.

Claims

1. An Internet of Things control system, characterized in that: include: The IoT platform module is used to communicate with the IoT main control module, the IoT backup module and the IoT fault monitoring module through the network, receive control instructions and issue control instructions to the IoT main control module through the network, receive and process the main control execution status information of the IoT backup module and the control circuit execution status information of the IoT fault monitoring module; and judge the execution status of the control instruction through the main control execution status information and the control circuit execution status information; The IoT main control module is used to receive the control instructions issued by the IoT platform module, parse the control instructions and output a level signal to the control circuit module to control the operating state of the control circuit module; The IoT standby module is used to monitor the output status of the IoT main control module and determine the main control execution status information, and feed back the main control execution status information to the IoT platform module; An IoT fault monitoring module, used to monitor the running status of the control instruction in the control circuit module, determine the control circuit execution status information, and send the control circuit execution status information to the IoT platform module; The control circuit module is used to receive the level signal sent by the IoT main control module, and control its own operating state by monitoring the state of the level signal, thereby realizing the operating state control of the control circuit module.

2. The Internet of Things control system according to claim 1, characterized in that: It also includes a system restart module, which includes a key restart unit and / or a remote restart unit; A button restart unit: used to trigger the power-off and power-on function of the IoT fault monitoring module through a self-reset button to implement a mandatory hardware restart operation of the system; the button is an automatic reset button of the IoT fault monitoring module; Remote restart unit: used to send a restart instruction to the IoT fault monitoring module through the IoT platform module. After receiving the instruction, the IoT fault monitoring module performs power-off and power-on operations for the IoT main control module, and realizes seamless connection of the state switching of the IoT main control module through cooperation with the IoT backup module.

3. The Internet of Things control system according to claim 2, characterized in that: The restart module sends a restart instruction to the IoT fault monitoring module through a remote instruction or a key instruction. When a system failure occurs, the IoT fault monitoring module switches the IoT backup module to the control mode and restores the level state of the control circuit through the backup program.

4. The Internet of Things control system according to claim 1, characterized in that: It also includes a temperature sensor module, which is used to monitor the temperature information of system equipment in real time.

5. The Internet of Things control system according to claim 1, characterized in that: The control circuit execution state information includes: a level signal of the NMOS tube gate and an ADC value.

6. The Internet of Things control system according to claim 1, characterized in that: Also includes: The power supply module is used to provide 24V DC power to the system and ensure the normal operation of each functional module through current monitoring. If abnormal current is detected, a fault indication and protection mechanism are provided.

7. The Internet of Things control system according to claim 1, characterized in that: The IoT main control module outputs TTL level signals through multiple GPIO pins to control the gates of the NMOS tubes of the multi-channel control circuit modules respectively.

8. The Internet of Things control system according to claim 1, characterized in that: The IoT main control module exchanges data with the IoT backup module and the IoT fault monitoring module through IIC serial port communication.

9. The Internet of Things control system according to claim 1, characterized in that: The IoT fault monitoring module collects current change data of the control circuit module through the ADC interface, and can identify abnormal current fluctuations through the current change data, thereby determining whether the IoT main control module has a fault.

10. The Internet of Things control system according to claim 1, characterized in that: The IoT standby module includes: a control mode and a non-control mode; Control mode: When the IoT main control module is detected to have a fault, the IoT backup module switches the control mode and takes over the control operation of the control circuit module, restores the control circuit through the GPIO pin, and sends the main control execution status information to the IoT platform module; Non-control mode: When the IoT standby module is in standby state, the IoT standby module switches to non-control mode and waits for instructions from the IoT main control chip.