Indoor intelligent power control system based on Internet of Things door lock
The intelligent power control system, which combines IoT door locks with Bluetooth and 485 communication modules, solves the problems of users forgetting to unplug the power and the inconvenience of traditional circuit breakers. It achieves safe and convenient indoor power management, extends equipment life, and reduces installation difficulty.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- NEWCAPEC ELECTRONICS CO LTD
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-17
AI Technical Summary
In smart offices and smart apartments, users often find it difficult to remember to unplug electrical equipment. Traditional power-off operations are inconvenient and can easily damage equipment. Furthermore, power outages without delay may cause equipment damage and make it impossible to effectively manage electrical safety.
The system adopts an intelligent power control system based on the Internet of Things (IoT) for door locks. It monitors the power supply through lock tongue detection signals and combines Bluetooth and RS-485 communication modules to achieve wireless control of indoor power. It supports voice prompts and delayed power-off, and integrates identity recognition and button operation to simplify user operation.
It achieves user-friendly intelligent power-off control, avoids misoperation, extends equipment life, reduces installation difficulty and wiring costs, meets diverse user certification needs, and improves power safety.
Smart Images

Figure CN121879232A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electrical safety equipment technology for smart offices and smart apartments, specifically an indoor intelligent power control system based on an Internet of Things (IoT) door lock. Background Technology
[0002] In the field of electrical safety in smart offices and smart apartments, there are usually many electrical devices indoors. When users leave their rooms, it is impossible to unplug all electrical devices, such as mobile phone adapters and computer power supplies, which poses a potential electrical safety hazard. Especially during holidays, many companies, institutions, and campus dormitory managers issue holiday safety notices requiring employees to unplug their electrical devices when leaving the office or students to unplug their dormitories. Security guards also patrol 24 hours a day during holidays to prevent fire accidents. Based on electrical safety considerations, in recent years, with the introduction of the concept of "disconnecting power when leaving and restoring power when returning," especially in some office spaces, apartments, hotels, or employee and student dormitories, how to promptly disconnect indoor power when no one is present to eliminate safety hazards is a problem that every public safety manager is concerned about and considers.
[0003] In the field of electrical safety in smart offices and smart apartments, to achieve the goal of turning off the power when people leave, on the one hand, safety management personnel need to regulate users to unplug the power supply in the room or turn off the main switch in the room in a timely manner through safety knowledge dissemination or administrative means.
[0004] Users often forget to unplug electrical appliances when leaving a room, especially in multi-person offices or dormitories. This is difficult to control and cannot fully restrain users or eliminate potential electrical hazards.
[0005] Traditional methods of switching off the main power switch are not user-friendly. Generally, main power switches are 220V, posing a challenge for users unfamiliar with electricity who are hesitant to operate them. Furthermore, some main switches are installed too high or inside distribution cabinets, making it inconvenient to operate when disconnecting power outside the room, thus failing to achieve the desired energy-saving effect. Even with an electrician managing the distribution cabinet, it's impossible to simultaneously monitor whether personnel in the office or dormitory area have stopped using power or have all left. Sudden power outages can easily lead to data loss from critical equipment or irreversible hardware damage to specialized equipment, hindering daily dynamic management.
[0006] Technical problems and shortcomings of existing technologies:
[0007] Operational issues: Traditional power on / off methods require direct operation of the 220V power supply, which is challenging for most users and easily forgotten. If the circuit breaker is located inside the distribution cabinet, operation may be inconvenient for some users who are unsure which is the main switch or do not have the distribution cabinet key.
[0008] Safety concerns: Traditional power-off operations typically involve immediate power cut-off or restoration without delay, resulting in significant instantaneous current that can easily damage equipment. Therefore, overcoming these technical problems and shortcomings is a key issue that needs to be addressed. Summary of the Invention
[0009] In order to overcome the above-mentioned problems in the prior art, this application provides a technical solution that adopts the following technical solution:
[0010] This application provides an indoor intelligent power control system based on an IoT door lock, including:
[0011] The lock body detection end transmits the bolt detection signal to the Bluetooth microcontroller of the IoT door lock through the wiring harness interface, realizing real-time monitoring and status judgment of the bolt action;
[0012] The IoT door lock control terminal is used to send control commands from the IoT door lock's Bluetooth microcontroller to the Bluetooth switch controller via the Bluetooth antenna based on the movement of the lock tongue, so as to achieve linkage control with the Bluetooth switch controller;
[0013] The Bluetooth switch controller receives control commands via a Bluetooth module and connects to the smart circuit breaker control terminal via a 485 communication module to control indoor power supply. It supports binding and unbinding operations via QR code.
[0014] The intelligent circuit breaker control terminal has a built-in microcontroller and a 485 communication module. The built-in microcontroller receives control commands from the Bluetooth switch controller through the 485 communication module, and combines them with the detection signals from the power on / off control module to realize the control of indoor power supply and the detection of on / off status.
[0015] Furthermore, the IoT door lock integrates an identity recognition module, a button module, and a voice module. Users can control the door lock through identity recognition authentication or button operation, and confirm whether they need to perform other operations or exit through voice prompts.
[0016] Furthermore, the IoT door lock is equipped with a handle. After identity authentication, the user presses the handle to perform the lock / unlock action. The Bluetooth microcontroller controls the motor to unlock, which in turn drives the smart electronic lock body to lock the bolt to achieve the locking or unlocking.
[0017] Furthermore, the electronic lock body and the IoT door lock are connected via a wiring harness interface.
[0018] This application has the following beneficial effects:
[0019] 1. This application realizes intelligent indoor power control through IoT door locks. The operation is simple and conforms to user habits. Users can operate the room's power on and off through IoT door locks, which is convenient and quick.
[0020] 2. The IoT door lock of this application supports voice prompts and delayed power-off, which avoids user misoperation.
[0021] 3. The IoT door lock of this application supports conventional card / fingerprint / password opening functions, meeting users' needs for keyless door opening while also controlling indoor power supply and cutoff. It only requires the addition of simple components such as Bluetooth switch controller and smart circuit breaker. For most users, the current mainstream door types can meet the installation requirements of IoT door lock and smart electronic lock body. The door lock installation threshold is low and easily accepted by most users.
[0022] 4. This application is simple to install with no wiring costs. The IoT door lock and Bluetooth switch controller communicate wirelessly via Bluetooth, eliminating the need for wiring. Both the Bluetooth door opener and the smart circuit breaker are rail-mounted and can be directly clipped onto the distribution cabinet rail, making installation simple.
[0023] 5. The intelligent circuit breaker of this application supports indoor 220V power supply on / off detection. Even if the user frequently operates the power-on or power-off operation, as long as the on / off status of the indoor power supply is consistent with the user's final on / off requirements, the operation will not be repeated, thereby improving the service life of indoor electrical equipment. Attached Figure Description
[0024] Figure 1 This is a framework diagram of an indoor intelligent power control system based on an IoT door lock, according to an embodiment of this application.
[0025] Figure 2 This is a topology diagram of the front panel of an IoT door lock provided in an embodiment of this application;
[0026] Figure 3 The accompanying drawings are schematic diagrams of the front and rear panels of the IoT door lock according to embodiments of this application;
[0027] Figure 4 This is a schematic diagram of the Bluetooth switch controller according to an embodiment of this application;
[0028] Figure 5 This is a framework diagram of an intelligent circuit breaker provided in an embodiment of this application. Detailed Implementation
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.
[0030] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0031] The meter terminal of the distribution cabinet is mainly used for metering the electricity in the room and is generally uninterrupted; the circuit breaker terminal is used to control the power supply of the room, with a 220V output, which is also generally uninterrupted and is installed in the distribution cabinet or at a high position indoors or outdoors.
[0032] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0033] Please refer to Figure 1 This is a framework diagram of an indoor intelligent power control system based on an IoT door lock, provided in an embodiment of this application. The system includes: an IoT door lock control terminal, a lock body detection terminal, a Bluetooth switch controller, and an intelligent circuit breaker control terminal.
[0034] The IoT door lock control terminal is used to send control commands from the Bluetooth microcontroller of the IoT door lock to the Bluetooth switch controller through the Bluetooth antenna according to the movement of the lock tongue, so as to realize linkage control with the Bluetooth switch controller and support wireless communication access to the Internet of Things.
[0035] In one possible implementation, please refer to Figure 2 This is a topology diagram of the front panel of an IoT door lock provided in an embodiment of this application. The IoT door lock of this application includes a front panel and a rear panel. This application implements intelligent control on the front panel of the IoT door lock. (Refer to...) Figure 3 The attached diagram shows the front and rear panels. The front panel is equipped with a dedicated circuit board. The microcontroller on the circuit board uses a low-power Bluetooth chip. A Bluetooth communication antenna is set on the circuit board. The microcontroller can send control commands to the Bluetooth switch controller through the Bluetooth antenna and implement linkage control with the Bluetooth switch controller.
[0036] In one possible implementation, the IoT door lock supports wireless communication terminals to access the Internet of Things (IoT). For example, the wireless communication terminals may optionally support LoRa, WiFi, or Cat1 connections.
[0037] The IoT door lock supports an identity recognition module, a button module, and a voice module. Users can authenticate their identity or operate the lock via buttons. The voice module provides voice prompts to confirm whether further operation is needed or to exit the lock. The IoT door lock is equipped with a handle. Users unlock and close the lock using the handle. After authentication via the identity recognition module or button operation, the Bluetooth microcontroller controls the motor to unlock. Pressing the handle then activates the smart electronic lock body and the bolt.
[0038] The lock body detection end transmits the bolt detection signal to the Bluetooth microcontroller of the IoT door lock through the wiring harness interface, realizing real-time monitoring and status judgment of the bolt action.
[0039] In one possible implementation, the IoT door lock is equipped with a latch detection switch, and the electronic lock body and the IoT door lock are connected through a wiring harness interface, thereby enabling the microcontroller on the IoT door lock circuit board to detect the latch action of the electronic lock body through the lock body detection terminal.
[0040] In one possible implementation, the handle of the IoT door lock is linked to the electronic lock body via a square shaft. When the user performs the lock / unlock action using the door lock handle, the bolt extends and retracts to its original position following the handle's movement. Based on user habits, when the user performs the unlocking action, the bolt of the smart electronic lock body retracts into the lock body; when the user performs the locking action, the bolt extends out from inside the lock body.
[0041] It should be noted that, to confirm whether a user is entering or leaving, this application only specially treats the front panel of the IoT door lock. When the user inputs a key or completes authentication, the motor activates, and the user presses the handle to activate the square shaft, thus unlocking the door. The bolt retracts into the lock body, and the microcontroller detects this retraction via the bolt detection end. For the IoT door lock's Bluetooth microcontroller, successful authentication and bolt retraction detection indicate a normal door opening action, meaning someone has entered the room. At this point, the IoT door lock's Bluetooth microcontroller can send a power-on command to the Bluetooth switch microcontroller via Bluetooth. If someone is leaving and requires a power cut, the user needs to perform a locking action, extending the bolt from the lock body. The door lock's microcontroller detects the bolt extension and immediately issues a voice prompt asking the user if they need to perform an indoor power cut. The user can confirm by pressing the # key on the panel. The IoT door lock's Bluetooth microcontroller detects the bolt extension and the user pressing the # key, confirming that a power cut command can be issued.
[0042] The Bluetooth switch controller receives control commands via a Bluetooth module and connects to the smart circuit breaker control terminal via a 485 communication module to control indoor power supply. It also supports binding and unbinding operations via QR code.
[0043] In one possible implementation, please refer to Figure 4 This is a framework diagram of a Bluetooth switch controller according to an embodiment of this application, wherein the Bluetooth switch controller has a built-in microcontroller, a Bluetooth terminal, a Bluetooth antenna and a 485 communication module.
[0044] The Bluetooth switch controller receives commands from the IoT door lock via Bluetooth and establishes a connection with the smart circuit breaker control terminal via a 485 communication module. The Bluetooth switch controller and the IoT door lock support binding via QR code scanning, enabling one-to-one control between the IoT door lock and the Bluetooth switch controller. Both the Bluetooth switch controller and the IoT door lock have a device ID QR code; scanning this code with a mobile phone connects to the backend, establishing a one-to-one binding relationship. After binding, the backend notifies the IoT door lock, which stores the Bluetooth switch controller's device ID, allowing one door lock to control one Bluetooth switch controller. When the Bluetooth switch controller receives a power-off or power-on command, it sends the command via the 485 line to the smart circuit breaker, achieving indoor power control. Unbinding the Bluetooth switch controller from the IoT door lock is achieved simply by issuing the unbinding command to the IoT door lock in the backend; no manual operation is required on either the IoT door lock or the Bluetooth switch controller.
[0045] For the intelligent circuit breaker control terminal, please refer to... Figure 5The diagram below shows the framework of the intelligent circuit breaker control terminal provided in this application embodiment. The intelligent circuit breaker control terminal has a built-in microcontroller and a 485 communication module. The built-in microcontroller receives control commands from the Bluetooth switch controller through the 485 communication module, and combines them with the detection signals from the power on / off control module to realize the control of indoor power supply and the detection of on / off status.
[0046] In one possible implementation, the power on / off control module detects the consistency between the current power on / off state and the control command. That is, whether the current on / off state and the received control command are consistent. If they are consistent, no command is issued to perform the power on / off action; if they are inconsistent, the power on / off action is issued to ensure accurate control of the indoor power on / off state.
[0047] Specifically, the intelligent circuit breaker control unit integrates a microcontroller, a RS-485 communication module, and a power on / off control module. The power on / off control module controls the switching on and off of the indoor 220V power supply and also supports power on / off detection. The microcontroller in the intelligent circuit breaker control unit receives commands from the Bluetooth switch controller via the RS-485 communication module. The microcontroller then checks the current on / off status against the received command using the on / off detection signal from the power on / off control module. If they match, no command is issued to perform the power on / off action; otherwise, the power on / off action is executed, thus achieving the effect of controlling the indoor 220V power supply. The purpose of the built-in power on / off detection signal in the power on / off control module is twofold: firstly, to reduce the number of power on / off operations, extending the lifespan of the circuit breaker and indoor power supply equipment; and secondly, to provide a fundamental guarantee for accurate control of the indoor power on / off status.
[0048] Accidental Power Cut-off Prevention and Delay Technology: To ensure that users do not accidentally cut off the power when leaving the room, the microcontroller of the IoT door lock provides a buffer time for the user. After the user completes the locking action using the door handle on the front panel, the door lock can immediately issue a voice prompt. If the user confirms the power cut-off, they can confirm by pressing the # key on the panel. If the # key is not pressed, it is assumed that no power cut-off is needed. The door lock's microcontroller detects the bolt extending and the user pressing the # key to determine that a power cut-off command can be issued. However, the power cut-off command is not sent immediately; it is buffered in the microcontroller for 5 seconds after being generated. If the user presses the # key and then presses the cancel button within 5 seconds, it is assumed that no power cut-off is needed. The aforementioned 5-second buffer time can be set through the IoT door lock's backend. In short, it can be summarized as follows:
[0049] "Lock closing action (lock tongue extended)" + no operation = uninterrupted power supply;
[0050] "Lock action (latch extended)" + "# key" + "No operation within 5 seconds" = Power off;
[0051] "Lock action (latch extended)" + "# key" + "Cancel key pressed within 5 seconds" = uninterrupted power supply;
[0052] Power outage status feedback function: After the smart circuit breaker control terminal completes the indoor power outage, it can send the successful power outage status back to the Bluetooth switch controller via 485 communication. The Bluetooth switch controller can then send the indoor power outage status to the IoT door lock via Bluetooth.
[0053] Power outage status query and extended functions: Any door lock that supports IoT communication can send the power outage status to the user's mobile phone via IoT after receiving the status that the indoor switch has been de-energized. Similarly, the user can send power outage and power restoration commands to the smart door lock via mobile phone, and can also remotely control the door lock switch and monitor the door lock status via mobile phone.
[0054] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application.
Claims
1. An indoor intelligent power control system based on an Internet of Things (IoT) door lock, characterized in that, include: The lock body detection end transmits the bolt detection signal to the Bluetooth microcontroller of the IoT door lock through the wiring harness interface, realizing real-time monitoring and status judgment of the bolt action; The IoT door lock control terminal is used to send control commands from the IoT door lock's Bluetooth microcontroller to the Bluetooth switch controller via the Bluetooth antenna based on the movement of the lock tongue. The Bluetooth switch controller receives control commands via a Bluetooth module and connects to the smart circuit breaker control terminal via a 485 communication module to control indoor power supply. The intelligent circuit breaker control terminal has a built-in microcontroller and a 485 communication module. The built-in microcontroller receives control commands from the Bluetooth switch controller through the 485 communication module, and combines them with the detection signals from the power on / off control module to realize the control of indoor power supply and the detection of on / off status.
2. The indoor intelligent power control system based on IoT door locks according to claim 1, characterized in that, The IoT door lock integrates an identity recognition module, a button module, and a voice module. Users can control the door lock through identity recognition authentication or button operation, and confirm whether they need to perform other operations or exit through voice prompts.
3. The indoor intelligent power control system based on IoT door locks according to claim 1, characterized in that, The IoT door lock is equipped with a handle. After identity authentication, the user presses the handle to perform the lock / unlock action. The Bluetooth microcontroller controls the motor to unlock, which in turn drives the smart electronic lock body to lock the bolt to unlock or lock.
4. The indoor intelligent power control system based on IoT door locks according to claim 1, characterized in that, The electronic lock body and the IoT door lock are connected via a wiring harness interface.
5. The indoor intelligent power control system based on IoT door locks according to claim 4, characterized in that, The IoT door lock handle is linked to the electronic lock body via a square shaft. When the user performs the lock opening and closing action through the door lock handle, the bolt extends and retracts back to its original position following the action of the door lock handle. When the user performs the unlocking action, the bolt of the smart electronic lock body retracts into the lock body; when the user performs the locking action, the bolt of the smart electronic lock body extends out from the lock body.
6. The indoor intelligent power control system based on IoT door locks according to claim 5, characterized in that, When the Bluetooth microcontroller of the IoT door lock detects successful authentication and the retraction of the bolt, it indicates that someone has entered the room. The Bluetooth microcontroller of the IoT door lock then sends a power supply command to the Bluetooth switch microcontroller via Bluetooth.
7. The indoor intelligent power control system based on IoT door locks according to claim 5, characterized in that, When only the user performs the locking action, the bolt extends from inside the lock body, requiring a power-off operation. The IoT Bluetooth microcontroller detects the bolt extension and immediately issues a voice prompt, asking the user if they need to perform an indoor power-off operation, which the user then confirms.
8. The indoor intelligent power control system based on IoT door lock according to claim 7, characterized in that, The Bluetooth microcontroller of the IoT door lock sends a power-off command to the Bluetooth switch controller based on the bolt extension action and information confirmation.
9. The indoor intelligent power control system based on IoT door locks according to claim 1, characterized in that, Bluetooth switch controllers and IoT door locks support establishing a binding relationship by scanning a code, enabling one-to-one control between the IoT door lock and the Bluetooth switch controller.
10. The indoor intelligent power control system based on IoT door locks according to claim 1, characterized in that, The power on / off control module detects the consistency between the current power on / off status and the control command. That is, whether the current on / off status and the received command are consistent. If they are consistent, no command is issued to perform the power on / off action. If they are inconsistent, the power on / off action is issued to ensure accurate control of the indoor power on / off status.