Smart home control system and method based on NFC and UWB fusion
The smart home control system, which integrates NFC and UWB, achieves centimeter-level precise positioning and seamless device control, solving the problems of low positioning accuracy and poor user experience in existing technologies, and providing a safe and intelligent home control experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 山东水利职业学院
- Filing Date
- 2026-01-17
- Publication Date
- 2026-05-01
AI Technical Summary
Existing smart home control technologies cannot achieve high-precision, low-latency, and seamless automated control while ensuring user privacy and security, especially due to low positioning accuracy and poor user experience.
The smart home control system, which integrates NFC and UWB, uses NFC for identity authentication and permission activation, combined with UWB for centimeter-level precise positioning, and utilizes a scenario rule engine for device control, achieving seamless smart home control.
It achieves centimeter-level precise positioning, supports refined control at the regional and sub-regional levels, and combines user movement speed and trajectory prediction to provide a seamless, intelligent, and secure home control experience, reducing deployment costs and improving the smoothness of the user experience.
Abstract
Description
A smart home control system and method based on the integration of NFC and UWB Technical Field
[0001] This invention belongs to the field of smart home technology, and in particular relates to a smart home control system and method based on the integration of NFC and UWB. Background Technology
[0002] Currently, smart home automation control mainly employs the following technical solutions: 1. Control based on timing or simple sensors: such as controlling curtains based on light sensors or controlling lights based on a schedule. This method cannot sense the actual presence and location of people, has a low level of intelligence, and cannot achieve the experience of "moving with people".
[0003] 2. Manual control based on voice or mobile app: This method requires the user to actively issue commands. Essentially, it replaces the physical switch with a voice or virtual switch on the mobile app, failing to achieve true automation and resulting in a poor user experience.
[0004] 3. Control based on Bluetooth or Wi-Fi positioning: These technologies have low positioning accuracy (usually at the meter level), making it difficult to achieve precise room-level control. They also suffer from complex pairing, high power consumption, and susceptibility to interference.
[0005] 4. Camera-based visual recognition control: Although it can achieve accurate positioning, it poses a serious risk of privacy leakage, has low user acceptance, and performs poorly in dark environments.
[0006] In summary, existing technologies cannot achieve high-precision, low-latency, and seamless proactive control of smart homes while ensuring user privacy and security. The purpose of this invention is to resolve this core contradiction. Summary of the Invention
[0007] (I) Purpose of the Invention In order to overcome the above deficiencies, the purpose of this invention is to provide a smart home control system and method based on the integration of NFC and UWB, so as to solve the above technical problems.
[0008] (II) Technical Solution To achieve the above objectives, the technical solution provided in this application is as follows: A smart home control system based on the fusion of NFC and UWB, comprising: a mobile terminal with a built-in near-field communication (NFC) module and an ultra-wideband (UWB) communication module; multiple NFC / UWB dual-mode anchor tags, fixedly deployed in key locations in the indoor space, each of the dual-mode anchor tags integrating an NFC chip and a UWB anchor module; a home smart hub, communicatively connected to the multiple NFC / UWB dual-mode anchor tags, used to run a positioning engine, a scene rule engine, and a device control engine; multiple execution devices, including at least one smart lamp, smart air conditioner, smart TV, or smart home appliance; user authentication and system permission activation are completed through NFC contact between the mobile terminal and the dual-mode anchor tags, and after activation, the UWB communication module collaborates with the dual-mode anchor tags, the positioning engine of the home smart hub calculates the real-time centimeter-level precise location of the mobile terminal, and then the scene rule engine matches preset control rules according to the location information, and sends control commands to the execution devices through the device control engine to achieve seamless smart home control.
[0009] Preferably, the positioning engine of the home smart hub calculates the real-time centimeter-level precise location of the mobile terminal. Specific steps include: S1 performing distance measurement using a Time-of-Flight (TOF) algorithm; S11 the mobile terminal interacts bidirectionally with the anchor tag, recording key timestamps: terminal signal transmission time; Anchor point signal reception time: Anchor point response time: Terminal receiving reply signal time: S12 calculates the net propagation time, eliminating clock drift between the terminal and the anchor point through bidirectional ranging, to obtain the net propagation time of the signal in the air: ;in, Signal processing delay for anchor points; S13 raw distance calculation, combined with the speed of light Calculate the original distance between the terminal and the anchor point: S2 corrects for NLOS interference, which can cause changes in the original range. Greater than the actual distance The algorithm needs to be corrected; S21 identifies NLOS anchor points by signal strength abrupt changes or abnormal signal arrival angles. If the RSSI of the UWB signal received by the anchor point is more than 10dBm lower than the threshold for line-of-sight scenarios, it is determined to be an NLOS anchor point; S22 dynamically corrects the original distance of the NLOS anchor point using the following formula: ;in, The NLOS error estimate is updated in real time using the state equation obtained through Kalman filtering; the S3 multi-anchor point positioning solution removes anchor points with severe NLOS interference, retains line-of-sight anchor points or corrected anchor point data, and utilizes the corrected distance from three or more anchor points. The three-dimensional coordinates of the terminal are solved by the least squares method. S31 Let the coordinates of the anchor point be... The terminal coordinates are Then the distance equation is: S32 linearizes the equation and then solves it using the least squares method: Where H is the observation matrix and z is the distance residual vector. These are the estimated coordinates of the terminal.
[0010] The S4 positioning results output the precise centimeter-level location of the mobile terminal and provide real-time feedback to the scene rule engine of the home smart hub, triggering corresponding smart home control commands.
[0011] Preferably, the NFC touch-triggered security activation process includes: the mobile terminal sending an encrypted unique user identifier to the home smart hub via NFC; the home smart hub verifying the legitimacy of the user identifier; and upon successful verification, the home smart hub activating the user's UWB location service permission and waking up the UWB location network to establish a secure communication link.
[0012] Preferably, the preset control rules of the scenario rule engine include: when a user is detected entering the "living room" area, triggering the "homecoming mode" to control the smart lights to turn on and adjust to a preset brightness; when a user is detected moving from the living room to the bedroom and the moving speed is lower than a first threshold, predicting the user's intention, turning on the corridor lights leading to the bedroom in advance, and turning on the bedroom air conditioner to a preset sleep temperature when the user enters the bedroom; when a user is detected staying still in the "sofa" area for more than a second threshold, triggering the "movie viewing mode" to control the smart lights to dim, turn on the smart TV and audio system, and close the curtains; when a user is detected entering the "kitchen" area and staying in the "stove" sub-area for more than a third threshold, controlling the smart lights on the kitchen countertop to turn on and starting the range hood to a low setting, and adjusting it to a high setting if the system detects an open flame through other sensors; when the duration of no personnel signal in a room area exceeds a fourth threshold, automatically turning off the smart lights, smart air conditioner, and media devices in that room.
[0013] Preferably, the first threshold, the second threshold, and the third threshold can all be modified via a mobile terminal on the home smart hub.
[0014] Preferably, the home smart hub communicates with the execution device via Wi-Fi, Zigbee, or Bluetooth protocols to send the control commands, which are preset control rules of the scenario rule engine.
[0015] Preferably, the NFC / UWB dual-mode anchor tag is powered by a battery or PoE network and can be pasted or embedded in walls, door frames or furniture surfaces to achieve seamless deployment.
[0016] A smart home control method based on NFC and UWB integration, applying the aforementioned smart home control system based on NFC and UWB integration, includes the following steps: Step 1: The user uses a mobile terminal to touch an NFC / UWB dual-mode anchor tag deployed at the entrance, completing user authentication and system permission activation via NFC; Step 2: After system activation, the mobile terminal continuously emits UWB signals, and the positioning engine of the home smart hub calculates the precise location of the mobile terminal in real time based on the UWB signals received from multiple dual-mode anchor tags; Step 3: The scene rule engine of the home smart hub matches the real-time location information with preset rules to generate corresponding device control commands; Step 4: The device control engine sends the control commands to the corresponding execution devices to complete the automatic control of lights, air conditioners, televisions, or home appliances.
[0017] Preferably, in step three, the scenario rule engine also combines the user's movement speed, movement trajectory, and dwell time to predict the user's intent and generate pre-execution instructions to enable the device to respond in advance.
[0018] Preferably, after the user leaves the home environment, the mobile terminal loses its UWB signal connection with all dual-mode anchor tags, the home smart hub automatically shuts down the UWB positioning network, and enters a low-power standby state until the next NFC trigger.
[0019] Beneficial effects: 1. Advantages of technology integration: NFC provides strong identity authentication, solving the security risks of open access to UWB networks; UWB provides centimeter-level positioning accuracy, solving the limitation of NFC that can only be triggered in the near field and cannot be dynamically tracked. The two technologies complement each other to achieve a balance between security and accuracy.
[0020] 2. Dual-mode anchor tag offers high cost-effectiveness: It integrates an NFC chip and a UWB anchor module, enabling dual functions with a single device and reducing deployment costs; it supports battery / PoE power supply and can be pasted / embedded in walls and furniture for seamless deployment without compromising home aesthetics.
[0021] 3. Zero-learning-cost interaction: Activated by NFC touch (such as touching a door frame tag with a mobile phone), replacing the traditional manual login and voice wake-up operations of the APP, making it easy for the elderly and children to use; after activation, it automatically enters UWB positioning mode and can trigger the scene rules without secondary operation.
[0022] 4. Precise and intelligent response based on specific scenarios: Based on UWB centimeter-level positioning, it enables fine-grained control at the regional and sub-regional levels; combined with user movement speed and trajectory prediction intent, predictive services improve the smoothness of the experience. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments. It should be understood that these descriptions are merely exemplary and not intended to limit the scope of the invention. Furthermore, descriptions of well-known structures and technologies are omitted in the following description to avoid unnecessarily obscuring the concepts of the invention.
[0024] This invention provides a smart home control system based on the fusion of NFC and UWB, comprising: a mobile terminal with a built-in near-field communication (NFC) module and an ultra-wideband (UWB) communication module; multiple NFC / UWB dual-mode anchor tags, fixedly deployed in key locations within the indoor space, each dual-mode anchor tag integrating an NFC chip and a UWB anchor module; a home smart hub, communicatively connected to the multiple NFC / UWB dual-mode anchor tags, used to run a positioning engine, a scene rule engine, and a device control engine; and multiple execution devices, including at least one smart lamp, smart air conditioner, smart TV, or smart home appliance; user authentication and system permission activation are completed through NFC contact between the mobile terminal and the dual-mode anchor tags, and after activation, the UWB communication module collaborates with the dual-mode anchor tags, the positioning engine of the home smart hub calculates the real-time centimeter-level precise location of the mobile terminal, the scene rule engine matches preset control rules based on the location information, and the device control engine sends control commands to the execution devices to achieve seamless smart home control.
[0025] Preferably, the positioning engine of the home smart hub calculates the real-time centimeter-level precise location of the mobile terminal. Specific steps include: S1 performing distance measurement using a Time-of-Flight (TOF) algorithm; S11 the mobile terminal interacts bidirectionally with the anchor tag, recording key timestamps: terminal signal transmission time; Anchor point signal reception time: Anchor point response time: Terminal receiving reply signal time: S12 calculates the net propagation time, eliminating clock drift between the terminal and the anchor point through bidirectional ranging, to obtain the net propagation time of the signal in the air: ;in, Signal processing delay for anchor points; S13 raw distance calculation, combined with the speed of light Calculate the original distance between the terminal and the anchor point: S2 corrects for NLOS interference, which can cause changes in the original range. Greater than the actual distance The algorithm needs to be corrected; S21 identifies NLOS anchor points by signal strength abrupt changes or abnormal signal arrival angles. If the RSSI of the UWB signal received by the anchor point is more than 10dBm lower than the threshold for line-of-sight scenarios, it is determined to be an NLOS anchor point; S22 dynamically corrects the original distance of the NLOS anchor point using the following formula: ;in, The NLOS error estimate is updated in real time using the state equation obtained through Kalman filtering; the S3 multi-anchor point positioning solution removes anchor points with severe NLOS interference, retains line-of-sight anchor points or corrected anchor point data, and utilizes the corrected distance from three or more anchor points. The three-dimensional coordinates of the terminal are solved by the least squares method. S31 Let the coordinates of the anchor point be... The terminal coordinates are Then the distance equation is: S32 linearizes the equation and then solves it using the least squares method: Where H is the observation matrix and z is the distance residual vector. These are the estimated coordinates of the terminal.
[0026] The S4 positioning results output the precise centimeter-level location of the mobile terminal and provide real-time feedback to the scene rule engine of the home smart hub, triggering corresponding smart home control commands.
[0027] Preferably, the NFC touch-triggered security activation process includes: the mobile terminal sending an encrypted unique user identifier to the home smart hub via NFC; the home smart hub verifying the legitimacy of the user identifier; and upon successful verification, the home smart hub activating the user's UWB location service permission and waking up the UWB location network to establish a secure communication link.
[0028] Preferably, the preset control rules of the scenario rule engine include: when a user is detected entering the "living room" area, triggering the "homecoming mode" to control the smart lights to turn on and adjust to a preset brightness; when a user is detected moving from the living room to the bedroom and the moving speed is lower than a first threshold, predicting the user's intention, turning on the corridor lights leading to the bedroom in advance, and turning on the bedroom air conditioner to a preset sleep temperature when the user enters the bedroom; when a user is detected staying still in the "sofa" area for more than a second threshold, triggering the "movie viewing mode" to control the smart lights to dim, turn on the smart TV and audio system, and close the curtains; when a user is detected entering the "kitchen" area and staying in the "stove" sub-area for more than a third threshold, controlling the smart lights on the kitchen countertop to turn on and starting the range hood to a low setting, and adjusting it to a high setting if the system detects an open flame through other sensors; when the duration of no personnel signal in a room area exceeds a fourth threshold, automatically turning off the smart lights, smart air conditioner, and media devices in that room.
[0029] Preferably, the first threshold, the second threshold, and the third threshold can all be modified via a mobile terminal on the home smart hub.
[0030] Preferably, the home smart hub communicates with the execution device via Wi-Fi, Zigbee, or Bluetooth protocols to send the control commands, which are preset control rules of the scenario rule engine.
[0031] Preferably, the NFC / UWB dual-mode anchor tag is powered by a battery or PoE network and can be pasted or embedded in walls, door frames or furniture surfaces to achieve seamless deployment.
[0032] A smart home control method based on NFC and UWB integration, applying the aforementioned smart home control system based on NFC and UWB integration, includes the following steps: Step 1: The user uses a mobile terminal to touch an NFC / UWB dual-mode anchor tag deployed at the entrance, completing user authentication and system permission activation via NFC; Step 2: After system activation, the mobile terminal continuously emits UWB signals, and the positioning engine of the home smart hub calculates the precise location of the mobile terminal in real time based on the UWB signals received from multiple dual-mode anchor tags; Step 3: The scene rule engine of the home smart hub matches the real-time location information with preset rules to generate corresponding device control commands; Step 4: The device control engine sends the control commands to the corresponding execution devices to complete the automatic control of lights, air conditioners, televisions, or home appliances.
[0033] Preferably, in step three, the scenario rule engine also combines the user's movement speed, movement trajectory, and dwell time to predict the user's intent and generate pre-execution instructions to enable the device to respond in advance.
[0034] Preferably, after the user leaves the home environment, the mobile terminal loses its UWB signal connection with all dual-mode anchor tags, the home smart hub automatically shuts down the UWB positioning network, and enters a low-power standby state until the next NFC trigger.
[0035] This invention solves the security triggering and authentication issues through NFC and the problem of centimeter-level precise indoor positioning through UWB, thereby achieving a truly seamless, intelligent, and secure home control experience where "services follow the user, and lights turn off when the user leaves." Simultaneously, the centimeter-level positioning achieved using UWB technology allows control to be precise down to specific areas (such as sofas, beds, and stovetops), realizing a truly "manual-free" intelligent experience. The camera-free positioning using UWB perfectly solves the privacy concerns associated with visual solutions. Furthermore, this application not only reacts to the current location but also predicts user intent based on movement trajectory and speed, enabling pre-activation of devices and smooth scene transitions.
[0036] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0037] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A smart home control system based on the integration of NFC and UWB, characterized in that, include: The mobile terminal has a built-in near-field communication (NFC) module and an ultra-wideband (UWB) communication module; multiple NFC / UWB dual-mode anchor tags are fixedly deployed in key locations in the indoor space, and each dual-mode anchor tag integrates an NFC chip and a UWB anchor module; The home smart hub communicates with the multiple NFC / UWB dual-mode anchor tags and is used to run the positioning engine, the context rule engine and the device control engine. Multiple execution devices, including at least one smart light fixture, smart air conditioner, smart TV, or smart home appliance; User authentication and system permission activation are completed by NFC contact between the mobile terminal and the dual-mode anchor tag. After activation, the UWB communication module works in conjunction with the dual-mode anchor tag to calculate the real-time centimeter-level precise location of the mobile terminal through the positioning engine of the home smart hub. Then, the scene rule engine matches preset control rules based on the location information and sends control commands to the execution device through the device control engine to achieve seamless smart home control.
2. The smart home control system based on the fusion of NFC and UWB according to claim 1, characterized in that, The positioning engine of the home smart hub calculates the real-time, centimeter-level precise location of the mobile terminal. Specific steps include: S1 ranging using a Time-of-Flight (TOF) algorithm; S11 the mobile terminal interacts bidirectionally with the anchor tag, recording key timestamps: terminal signal transmission time; Anchor point signal reception time: Anchor point response time: Terminal receives reply signal time: S12 calculates the net propagation time, eliminating clock drift between the terminal and the anchor point through bidirectional ranging, to obtain the net propagation time of the signal in the air: ;in, Signal processing delay for anchor points; S13 raw distance calculation, combined with the speed of light Calculate the original distance between the terminal and the anchor point: S2 corrects for NLOS interference, which can cause changes in the original range. Greater than the actual distance The algorithm needs to be corrected; S21 identifies NLOS anchor points by signal strength abrupt changes or abnormal signal arrival angles. If the RSSI of the UWB signal received by the anchor point is more than 10dBm lower than the threshold for line-of-sight scenarios, it is determined to be an NLOS anchor point; S22 dynamically corrects the original distance of the NLOS anchor point using the following formula: ;in, The NLOS error estimate is updated in real time using the state equation obtained through Kalman filtering; the S3 multi-anchor point positioning solution removes anchor points with severe NLOS interference, retains line-of-sight anchor points or corrected anchor point data, and utilizes the corrected distance from three or more anchor points. The three-dimensional coordinates of the terminal are solved by the least squares method. S31 Let the coordinates of the anchor point be... The terminal coordinates are Then the distance equation is: S32 linearizes the equation and then solves it using the least squares method: Where H is the observation matrix and z is the distance residual vector. This provides the estimated coordinates of the terminal. The S4 positioning result outputs the precise centimeter-level location of the mobile terminal and feeds it back to the scene rule engine of the home smart hub in real time, triggering corresponding smart home control commands.
3. A smart home control system based on the fusion of NFC and UWB according to claim 1, characterized in that, The NFC touch-triggered security activation process includes: the mobile terminal sending an encrypted unique user identifier to the home smart hub via NFC; the home smart hub verifying the legitimacy of the user identifier; and upon successful verification, the home smart hub activating the user's UWB location service permission and waking up the UWB location network to establish a secure communication link.
4. A smart home control system based on the fusion of NFC and UWB according to claim 1, characterized in that, The preset control rules of the scenario rule engine include: when a user is detected entering the "living room" area, triggering "homecoming mode" to control the smart lights to turn on and adjust to a preset brightness; when a user is detected moving from the living room to the bedroom at a speed lower than a first threshold, predicting the user's intention, turning on the corridor lights leading to the bedroom in advance, and turning on the bedroom air conditioner to a preset sleep temperature when the user enters the bedroom; when a user is detected staying still in the "sofa" area for more than a second threshold, triggering "movie viewing mode" to control the smart lights to dim, turn on the smart TV and audio system, and close the curtains; when a user is detected entering the "kitchen" area and staying in the "stove" sub-area for more than a third threshold, controlling the smart lights on the kitchen countertop to turn on and starting the range hood to a low setting, and adjusting it to a high setting if the system detects an open flame through other sensors; when the duration of no human signal in a room area exceeds a fourth threshold, automatically turning off the smart lights, smart air conditioner, and media devices in that room.
5. A smart home control system based on the fusion of NFC and UWB according to claim 4, characterized in that, The first threshold, the second threshold, and the third threshold can all be modified via a mobile terminal on the home smart hub.
6. A smart home control system based on the fusion of NFC and UWB according to claim 1, characterized in that, The home smart hub communicates with the execution device via Wi-Fi, Zigbee, or Bluetooth protocols to send the control commands, which are preset control rules of the scenario rule engine.
7. A smart home control system based on the fusion of NFC and UWB according to claim 1, characterized in that, The NFC / UWB dual-mode anchor tag is powered by a battery or PoE network and can be pasted or embedded in walls, door frames or furniture surfaces to achieve seamless deployment.
8. A smart home control method based on the fusion of NFC and UWB, characterized in that, The application uses a smart home control system based on the fusion of NFC and UWB as described in any one of claims 1-7. The process includes the following steps: Step 1: The user uses a mobile terminal to touch an NFC / UWB dual-mode anchor tag deployed at the entrance to complete user authentication and system permission activation via NFC; Step 2: After system activation, the mobile terminal continuously emits UWB signals, and the positioning engine of the home smart hub calculates the precise location of the mobile terminal in real time based on the UWB signals received from multiple dual-mode anchor tags; Step 3: The scene rule engine of the home smart hub matches the real-time location information with preset rules to generate corresponding device control commands; Step 4: The device control engine sends the control commands to the corresponding execution devices to complete the automatic control of lights, air conditioners, televisions, or home appliances.
9. A smart home control method based on the fusion of NFC and UWB according to claim 8, characterized in that, In step three, the scenario rule engine also combines the user's movement speed, movement trajectory and dwell time to predict the user's intent and generate pre-execution instructions to enable the device to respond in advance.
10. A smart home control method based on the fusion of NFC and UWB according to claim 8, characterized in that, After the user leaves the home environment, the mobile terminal loses its UWB signal connection with all dual-mode anchor tags, the home smart hub automatically shuts down the UWB positioning network and enters a low-power standby state until the next NFC trigger.