An intelligent toilet lid automatic control method
By using multimodal signal fusion and a occupancy locking mechanism, the problems of malfunction and safety hazards of smart toilet seats have been solved, achieving precise, safe, and convenient automatic control, and improving user experience and system reliability.
Patent Information
- Application Number
- CN202611105876.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-24
- Publication Date
- 2026-11-24
AI Technical Summary
Existing automatic control methods for smart toilet seats suffer from several drawbacks. They lack a synchronization mechanism for signal acquisition, leading to accidental opening and closing of the lid. They also lack a space-occupancy protection mechanism, cannot distinguish user intentions, have inflexible control logic, and lack signal conflict verification, resulting in safety hazards and low control accuracy.
Employing multimodal signal fusion technology, pressure, position, radar, and voice signals are synchronously sampled using a unified clock source. A occupancy locking mechanism is set up to distinguish between opening and closing priorities, and a placement mode is designed. Combining radar delay closing and voice closing, a signal verification mechanism is introduced to ensure safety and accuracy.
It improves control precision, reduces malfunctions, eliminates safety hazards, adapts to diverse scenarios, enhances user experience, meets different user needs, and improves system reliability.
Smart Images

Figure CN123147802A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of smart home technology, specifically relating to an automatic control method for a smart toilet seat and a system for implementing the method, and particularly to a smart toilet seat opening and closing control technology based on multimodal sensor fusion, which is suitable for improving the automation level, safety, and user experience of smart toilet seats. Background Technology
[0002] With the rapid development of smart home technology, smart toilet seats have been widely used in various scenarios such as homes, hotels, and public restrooms due to their convenience and hygiene advantages. Currently, most smart toilet seats on the market use a single sensor (such as an infrared sensor or radar sensor) or simple voice control to achieve automatic opening and closing, but their control logic has many defects, making it difficult to balance safety, convenience, and scenario adaptability.
[0003] In existing technologies, the automatic control of smart toilet seats mainly suffers from the following problems: First, the lack of a synchronization mechanism for multi-sensor signal acquisition leads to timing misalignment of pressure, radar, and voice signals, which can easily cause logical judgment errors and result in accidental opening or closing of the lid. Second, the lack of an effective occupancy protection mechanism means that during the user's time on the toilet, the radar may mistakenly detect the user leaving or the voice may trigger the lid to close, posing a safety hazard of pinching the user. Third, the absence of a designated item placement mode means that even when the user manually closes the toilet seat to place items, the radar sensor may still detect the user's proximity and trigger the lid to open. The system suffers from several drawbacks: First, the lid opening control logic lacks flexibility and cannot differentiate command priorities based on actual user needs; second, the lid opening restriction in storage mode lacks a reasonable way to be lifted; third, the lid closing control is not rigorous enough, the voice closing command is not combined with multi-sensor cross-verification, which may lead to the lid closing action being executed erroneously when someone is present, and the fixed closing delay time cannot adapt to different user behaviors and environmental disturbance scenarios; fourth, the system lacks signal conflict verification and fault indication mechanisms, which can easily lead to erroneous actions and failure to provide timely fault feedback when multiple sensor signals conflict, thus reducing system reliability.
[0004] Furthermore, existing control methods for smart toilet seats mostly employ single trigger logic, failing to fuse and prioritize multi-modal signals. This results in low control accuracy and weak anti-interference capabilities, making it difficult to meet the usage habits and diverse scenario needs of different users. Therefore, there is an urgent need for an automatic control method and system for smart toilet seats that can overcome these shortcomings and achieve precise, safe, and convenient control. Summary of the Invention
[0005] The purpose of this invention is to provide an automatic control method for an intelligent toilet seat in order to solve the problems mentioned above.
[0006] The technical solution adopted in this invention is as follows: An automatic control method for an intelligent toilet seat, comprising the following steps: S1: Acquire multimodal signals: Acquire monitoring signals from pressure sensors, position sensors, radar sensors, and voice recognition modules in real time; S2: When the pressure sensor detects a human body occupying the space, the system forcibly blocks all closing actions and enters the occupancy lock state; S3: Execute lid opening logic: When the toilet lid is closed and not in a locked position: If the radar sensor detects a human body approaching that meets the preset conditions, it controls the toilet seat to open. However, when the system is in the storage mode, the radar trigger signal is blocked. If the voice recognition module receives a voice command to open the lid, it will ignore the restrictions of the storage mode, directly execute the opening action, and then deactivate the storage mode after the action is completed. S4: Execute the lid-closing logic when the toilet lid is open: If the radar sensor detects a human body leaving the area, the system enters a delayed closing timer, and the closing action is performed after the timer expires. If the voice recognition module receives a voice command to close the lid, the system first retrieves the radar sensor signal and only executes the lid-closing action when the radar detects no one and the pressure sensor shows no occupied signal.
[0007] In a preferred embodiment, in step S1, the acquisition of multimodal signals uses a unified clock source to synchronously sample each sensor channel, ensuring that the four types of signals—pressure, position, radar, and voice—are aligned in timestamps, thus preventing malfunctions in subsequent logical judgments due to timing misalignment. Specifically, the pressure sensor uses a periodic... T p The system polls to detect the seat's load-bearing status, and a position sensor provides real-time feedback on the toilet seat's opening and closing angle via a Hall effect sensor or microswitch. A radar sensor periodically... T s Collect the radial velocity of the target human body relative to the center point of the toilet. v r The voice recognition module continuously monitors the "open lid" and "close lid" commands in the local keyword list and reports the parsing results along with the confidence score to the control module. All signals are packaged into structured multimodal data frames for subsequent steps to extract and cross-validate according to priority.
[0008] In a preferred embodiment, in step S2, when the pressure sensor detects a human body occupancy trigger signal, the system immediately switches its internal state machine to "occupancy lock" mode. In this mode, the blocking strategy has the highest execution priority, blocking not only all current and subsequent lid-closing actions, including radar-delayed lid closing and voice-activated lid closing, but also forcibly resetting any timed delayed lid-closing processes to prevent users from being pinched due to radar misjudgment or voice mis-triggered actions while sitting on the toilet. During the occupancy lock state, the system still maintains normal response capabilities to lid-opening signals and signals related to the placement mode; only the lid-closing path is locked unilaterally. The only condition for unlocking is that the pressure sensor signal is below the trigger threshold for N consecutive sampling periods to avoid accidental exit due to instantaneous pressure fluctuations.
[0009] In a preferred embodiment, the triggering logic for the placement mode in step S3 is as follows: Automatic entry: When the position sensor detects that the toilet seat has changed from open to closed, and the control module detects that the motor driving the toilet seat has not generated active drive current, it is determined that the user has manually closed the lid, and the system automatically enters the storage mode.
[0010] In a preferred embodiment, in step S3, the logic for deactivating the placement mode is as follows: the placement mode is deactivated only when a valid voice command to open the lid is received or when a physical displacement of manually pulling the toilet lid upward is detected.
[0011] When the toilet seat moves, the control module collects the sampling current I of the drive motor. s With reference command current I ref ; Calculate the deviation I = |I s -I ref When the load exceeds the sudden change threshold and no control command is received, it is determined that an external manual force has been applied. The system recognizes that the toilet seat is passively closed, and thus triggers the storage mode.
[0012] In a preferred embodiment, step S4, where the radar sensor determines the proximity signal of a human body using a displacement vector method, specifically includes: The control module calculates the human body's movement trajectory based on the radar feedback beam; A valid lid-opening signal is determined only when the human body's displacement vector points towards the default area of the toilet and the movement speed is within the default threshold range for a duration exceeding T1; if the displacement vector is determined to be passing by or moving away from the toilet, the lid-opening signal is not triggered.
[0013] Data acquisition: Radar sensors periodically T s Collect the radial velocity of the target human body relative to the center point of the toilet. v rand displacement vector d; Vector projection: Project the displacement vector d onto the central axis region facing the toilet and calculate the yaw angle θ; Trigger determination: Establish trigger weight function Where t is the continuous sensing time; only when W Exceeding the preset threshold W max If the angle θ is determined to be the intention of a person to use the toilet, the lid-opening action is performed; if the angle θ exceeds the preset threshold, it is determined to be a sideways passage, and the lid-opening action is blocked.
[0014] In a preferred embodiment, in step S4, the delay time for delayed cover shutdown is dynamically calculated based on user behavior characteristics, as shown in the following formula: in, T base Based on the fundamental delay constant, T use The duration of continuous occupancy detected by the pressure sensor; α For behavior correction coefficients, when T use When the first threshold is exceeded, α Take a positive value to extend the ventilation and deodorization time; β• This is an environmental correction term, based on the frequency of environmental disturbances detected by radar sensors. Adjust the delay: if environmental disturbances are high, shorten the timing to prevent accidental activation; if environmental disturbances are low, maintain the standard delay.
[0015] In a preferred embodiment, in step S4, when the lid-closing action is performed, the control module synchronously verifies the signals of the pressure sensor and the radar sensor. If a signal conflict occurs between the two, the lid-closing action is stopped and a voice fault prompt is given. During the delayed closing timer, if the radar sensor detects a human body movement signal or receives any voice command again, the system will immediately interrupt the timer and reset the closing process.
[0016] In a preferred embodiment, an automatic control system for an intelligent toilet seat is characterized in that: it is used to implement the automatic control method for an intelligent toilet seat as described in any one of claims 1 to 8, specifically including: Sensor group: includes pressure sensors for occupancy detection, position sensors for status detection, and radar sensors for human intent recognition; Voice module: Used to collect and parse user voice commands; Control module: Built-in central processing unit, used to perform space occupancy protection, object placement pattern recognition and multimodal signal fusion processing; Actuator: Includes a drive motor and transmission components, used to drive the toilet seat to open and close in response to commands from the control module.
[0017] In a preferred embodiment, the control module is equipped with a current monitoring unit for real-time monitoring of the current changes of the drive motor to determine whether the toilet seat is in an automatic drive state or a manual intervention state.
[0018] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are: 1. Improve control precision and reduce malfunctions: A unified clock source is used to synchronously sample four types of multimodal signals: pressure, position, radar, and voice, ensuring that the timestamps of each signal are aligned and avoiding logical judgment errors caused by timing misalignment. At the same time, by accurately analyzing the displacement vector and radial velocity of the radar signal and combining it with the yaw angle to judge human intention, the system can effectively distinguish between people approaching the toilet and passing by from the side, further reducing the probability of false triggering when the lid is opened and improving control precision.
[0019] 2. Enhance safety and eliminate potential hazards: A occupancy lock mechanism is set up. When the pressure sensor detects a human body occupying the space, all lid-closing actions are forcibly blocked, and the ongoing delayed lid-closing timer is forcibly reset to zero. This fundamentally avoids the risk of pinching injuries caused by accidental triggering during the user's toilet use. At the same time, before the voice lid-closing command is executed, it must be verified by both the radar sensor and the pressure sensor to ensure that the lid-closing action is only performed when no one is present, further improving safety.
[0020] 3. Adapt to diverse scenarios and enhance user experience: The toilet seat is designed with a storage mode that automatically enters storage mode upon detecting manual closing of the lid, blocking the radar trigger signal to prevent the toilet seat from accidentally opening when users place items on it; at the same time, voice commands to open the lid can ignore the storage mode restriction and automatically deactivate the storage mode after the action is completed, taking into account both storage scenarios and emergency lid opening needs, thus improving ease of use; in addition, manually lifting the toilet seat can directly deactivate the storage mode, which is in line with users' manual operation habits.
[0021] 4. Flexible control logic to adapt to different user needs: The lid opening logic distinguishes the priority of radar triggering and voice triggering. The voice lid opening command has the highest flexibility and can break through the limitations of the placement mode. The lid closing logic adopts a combination of radar delay closing and voice closing. The delay closing time is dynamically calculated based on the user's occupation time and the frequency of environmental disturbances, adapting to the usage habits of different users and the anti-interference requirements of different environments, avoiding the inconvenience caused by fixed delays. Attached Figure Description
[0022] Figure 1 This is a schematic diagram illustrating the process principle of the present invention. 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 the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0024] Please refer to Figure 1 This is a flowchart of an automatic control method for a smart toilet seat according to the present invention. The smart toilet seat control method of the present invention includes the following steps: S1: Multimodal signal acquisition After the control module is started, it controls each sensor and voice module to enter the working state. It uses an internal unified clock source to synchronously sample the monitoring signals of the pressure sensor, position sensor, radar sensor and voice recognition module to ensure that the four types of signals are completely aligned in timestamps, so as to avoid malfunctions in subsequent logical judgments due to timing misalignment.
[0025] The pressure sensor operates on a period of 100ms. T p The system polls to detect the seat's load-bearing status, converting each pressure data acquisition into a digital signal and reporting it; the position sensor uses a Hall element to provide real-time feedback on the toilet seat's opening and closing angle, reporting status data every 50ms; the radar sensor reports data every 50ms. T s Collect radial velocity of the target human body v r The displacement vector d is used to denoise the original signal and calculate the yaw angle θ of the displacement vector d in the central axis region of the toilet. The speech recognition module continuously monitors the ambient speech and analyzes the collected speech signal every 20ms. If the keywords "open lid" and "close lid" are recognized and the confidence score is ≥80%, the analysis result and confidence score are reported to the control module. All signals are packaged into structured multimodal data frames and arranged in the order of pressure signal, position signal, radar signal and speech signal for subsequent steps to extract and cross-validate according to priority.
[0026] S2: Position Locking Control When the pressure value detected by the pressure sensor is ≥20N (trigger threshold) for three consecutive sampling cycles (i.e., 300ms), it is determined to be a human body occupancy trigger signal. The control module immediately switches the internal state machine to the occupancy lock mode, which has the highest execution priority.
[0027] In the occupancy lock mode, the control module blocks all current and subsequent cover closing actions, including radar delayed cover closing and voice-activated cover closing. If the system is in the process of delaying cover closing, the timer is immediately forcibly reset to zero. At the same time, the system still maintains normal response capability to cover opening signals, such as radar cover opening, voice cover opening and placement mode related signals, with only the cover closing path being locked in one direction.
[0028] The condition for releasing the occupancy lock state is that the pressure value detected by the pressure sensor is less than 20N for 5 consecutive sampling cycles (i.e., 500ms), to avoid instantaneous pressure fluctuations, such as accidental exit caused by the user adjusting their sitting posture, and to ensure the reliability of the lock state.
[0029] S3: Lid opening logic execution When the position sensor detects that the toilet seat is closed (opening angle ≤ 5°) and the system is not in a locked position, the following opening logic is executed: (1) Radar-triggered opening: The radar sensor collects the radial velocity of the human body. v r After determining the displacement vector d, the control module calculates the yaw angle θ of the displacement vector d in the region of the toilet's positive central axis and establishes a trigger weight function. W=f(v r ,cosθ,t) ,in t Continuous sensing time; set trigger threshold W max =0.8, when v r Within the range of 0.3-1 m / s, θ ≤ 30° (preset angle threshold), and continuous sensing time t When ≥1s, the calculated W If the value is ≥0.8, it is considered a valid lid-opening signal. The control module sends an opening command to the actuator, driving the toilet lid to open slowly until the position sensor detects an opening angle ≥85°, at which point the opening action stops.
[0030] If the system is in the placement mode, the radar trigger signal will be blocked. Even if the radar detects a valid human body approaching, the lid will not be opened to prevent the toilet lid from being accidentally opened when the user places items on it.
[0031] (2) Voice-triggered lid opening: When the voice recognition module receives the "open lid" voice command and the confidence score is ≥80%, the control module directly sends the lid opening command to the actuator to drive the toilet lid to open, regardless of the placement mode restriction; when the position sensor detects that the opening angle is ≥85° and confirms that the lid opening action is completed, the control module automatically releases the placement mode and restores the radar-triggered lid opening function.
[0032] The triggering and deactivation logic for the placement mode is as follows: ① Triggering logic: When the position sensor detects that the toilet seat has changed from an open state (angle ≥ 85°) to a closed state (angle ≤ 5°), and the current monitoring unit of the control module detects the sampling current I of the drive motor... s When the current is 0 (i.e., the motor is not generating active drive current), it is determined that the user manually closed the lid, and the system automatically enters the storage mode. Furthermore, when the toilet lid moves, the control module collects the sampling current I of the drive motor in real time. s With reference command current I ref (Default value is 0.5A), calculate the deviation I = |I s -I ref If I exceeds the load mutation threshold (set to 0.3A) and no drive command is received from the control module, it is determined that the toilet seat is subjected to external manual force, the system recognizes it as passively closed, and thus triggers the placement mode.
[0033] ② Deactivation Logic: The toilet seat mode can be deactivated in only two ways: first, upon receiving a valid "open lid" voice command, it automatically deactivates after the lid is opened; second, the position sensor detects that the toilet seat has been manually pulled upwards, changing the opening angle from ≤5° to >10°, and the current monitoring unit detects I... s If there is no obvious change (no motor drive), it is determined to be a manual lifting action, and the placement mode is immediately deactivated.
[0034] S4: Close logic execution When the position sensor detects that the toilet seat is open (opening angle ≥ 85°), the following closing logic is executed: (1) Radar delay closing: The radar sensor monitors the human body status in real time. When the radial velocity of the human body is detected, the radar sensor will close the cover. v r When the speed is <0.1m / s, the displacement vector d>2m, and the continuous monitoring time is ≥2s, it is determined as a signal that the human body has left, and the system enters the delayed closing timer.
[0035] The delay time for closing the cover is dynamically calculated based on user behavior characteristics. The calculation formula is as follows: T delay = T base +α· T use + β· The parameters are set as follows: T base The base delay constant is 30s. α The behavior correction factor is 0.5, when T use When the duration of continuous occupation detected by the pressure sensor is greater than 10 minutes, αUse 0.8 to extend the ventilation and deodorization time; β The environmental correction factor is 5. ΔS The environmental disturbance frequency is defined as the number of non-human disturbance signals detected by the radar sensor within 10 seconds. ≥3 times (high environmental disturbance), then β· =15s, shorten the timer to prevent accidental closing of the lid; if <3 times (low environmental disturbance), then β· =5s, maintain standard delay.
[0036] During the delayed closing time, if the radar sensor detects a human body micro-motion signal again ( v r If the pressure is ≥0.1m / s and d≤2m or any voice command is received, the system will immediately interrupt the timing and reset the lid closing process. After the timing ends, the control module will first verify the signals of the pressure sensor and the radar sensor. After confirming that the pressure value is <20N and the radar detects that no one is in the state, it will send a lid closing command to the actuator to drive the toilet lid to close slowly until the position sensor detects that the opening and closing angle is ≤5° and the lid closing action will stop.
[0037] (2) Voice-triggered lid closing: When the voice recognition module receives the "close lid" voice command and the confidence score is ≥80%, the system first retrieves the real-time signals from the radar sensor and pressure sensor, and only closes the lid when the radar detects that no one is present. v r When the pressure is <0.1m / s and d>2m and there is no occupancy signal from the pressure sensor (pressure value <20N), the lid closing action is performed; if any sensor detects a person signal, the lid closing action is refused, and a prompt "There is currently someone here, the lid cannot be closed" is fed back through the voice module.
[0038] In addition, when the lid is closed, the control module simultaneously verifies the signals from the pressure sensor and the radar sensor. If a signal conflict occurs between the two, such as the pressure sensor detecting an occupied space while the radar detects no one, or vice versa, the lid closing action is stopped immediately, and a fault prompt "Signal abnormal, please check the equipment" is issued through the voice module to remind the user to troubleshoot the sensor fault and ensure the reliability of the system operation.
[0039] Furthermore, this invention provides another embodiment of an automatic control system for an intelligent toilet seat, used to implement the aforementioned automatic control method for an intelligent toilet seat. The specific selection, connection method, and functional implementation of each module are as follows: 1. Sensor group: (1) Pressure sensor: A patch pressure sensor is selected and attached to the upper surface of the toilet seat. It adopts analog output mode, the power supply voltage is 5V, the measurement range is 0-500N, and the trigger threshold is set to 20N. That is, when the detected pressure is ≥20N, it is determined as a human body occupancy trigger signal. The sampling period is... T p The system is set to 100ms to poll and detect the bearing status of the seat ring in real time. The detected pressure signal is converted into a digital signal and then reported to the control module.
[0040] (2) Position sensor: A Hall element sensor is used, which is installed at the hinge between the toilet seat and the toilet body. It rotates synchronously with the toilet seat, is powered by 3.3V, outputs digital signals, and provides real-time feedback on the opening and closing angle of the toilet seat (measurement range 0°-90°, accuracy ±1°). When the angle is ≤5°, it is determined that the toilet seat is closed. When the angle is ≥85°, it is determined that the toilet seat is open. When the angle is between 5° and 85°, it is determined that the opening and closing process is underway.
[0041] (3) Radar sensor: A 24GHz millimeter-wave radar sensor is selected and installed on the front side wall of the toilet, facing the area where people move around. The power supply voltage is 5V and the sampling period is [not specified]. T s Set to 50ms, it can collect the radial velocity v of the target human body relative to the center point of the toilet in real time. r (Measurement range 0.1-5m / s) and displacement vector d (measurement range 0.5-3m). The collected raw signals are filtered, amplified, packaged, and reported to the control module.
[0042] 2. Voice Module: An offline voice recognition module is used, with a built-in local keyword list. The keywords must include at least two core command words: "open lid" and "close lid". The recognition distance is 0.5-3m, and the recognition confidence threshold is set to 80% (that is, when the confidence score of the parsed result is ≥80%, it is judged as a valid voice command). It continuously monitors the ambient voice and synchronously reports the parsed command and confidence score to the control module. Command recognition can be achieved without network connection, reducing the threshold for use.
[0043] 3. Control Module: Features a built-in central processing unit (CPU) with multi-channel signal acquisition, data processing, and command output capabilities. It integrates a unified clock source for synchronous sampling of four types of signals: pressure, position, radar, and voice, ensuring timestamp alignment. A current monitoring unit is also included, employing a series current sampling resistor to monitor the sampling current I of the drive motor in real time. s The sampling accuracy is ±0.1A, which is used to determine whether the toilet seat is in automatic drive mode or manual intervention mode.
[0044] 4. Actuator: Includes a DC geared drive motor and gear transmission assembly. The motor has a rated voltage of 12V, a rated speed of 100rpm, and a transmission ratio of 1:50, which can realize the smooth opening and closing of the toilet seat. The opening and closing time is set to 3-5s. The actuator is connected to the control module through a GPIO interface, receives PWM drive commands from the control module, executes the opening or closing action, and feeds back the action status to the control module through a position sensor to form a closed-loop control.
[0045] The modules communicate with each other using the I2C protocol with a baud rate of 115200bps to ensure the stability and real-time performance of data transmission. The control module has a built-in storage unit to store the parameter thresholds of each sensor, user behavior feature data, and control logic parameters, which facilitates subsequent debugging and optimization.
[0046] In summary, this invention uses pressure occupancy detection as the highest priority physical safety barrier. Once someone is detected sitting down, all lid-closing actions are immediately frozen, and all pending delays are forcibly reset, fundamentally eliminating the risk of pinching injuries caused by accidental voice activation or radar misjudgment during toilet use. Simultaneously, a final round of synchronization verification between pressure and radar signals is introduced at the moment of each lid-closing operation. If the two signals contradict each other, the operation is decisively stopped, and a voice prompt is issued, forming a dual protection closed loop from normal locking to instantaneous verification. This ensures the product reliably maintains a safety baseline even in complex home environments. Furthermore, the radar no longer makes simple, coarse judgments but uses displacement vector analysis to identify the direction, speed, and intention of a person approaching the toilet. This effectively distinguishes between direct approach to the toilet and everyday distractions such as passing by sideways or briefly retrieving items, significantly reducing unnecessary lid-opening actions and making the automatic control rhythm more closely match real-life scenarios.
[0047] In this invention, subtle changes in motor current distinguish whether the lid is closed by a program or manually by the user, thus automatically entering a "placement mode" to block radar triggering the lid opening. This prevents users from being bothered by sudden automatic lid opening when temporarily placing items or cleaning. When the user actually needs to use the toilet, a voice command of "open lid" can open it directly, ignoring the placement restriction, or the system can be activated by gently lifting the lid to deactivate the mode. This interaction method is intuitive while giving the user complete control over the choice. The lid-closing logic demonstrates adaptability to the environment and habits. After the radar senses the user's departure, it does not act hastily but dynamically adjusts the delay time required for ventilation and deodorization based on the duration of occupancy. It also monitors the frequency of surrounding activities to appropriately shorten or lengthen the waiting time. This avoids premature closing and repeated opening and closing in scenarios with multiple users, and maintains a calm cleaning and ventilation rhythm in quiet environments. Voice-activated lid closing is not unconditional; it requires prior radar confirmation of occupancy before closing. This conditional response organically integrates the convenience of voice control with the spatial awareness advantages of radar, satisfying the direct needs of command control while preventing accidental closing due to misinterpretation of voice commands or commands from a distance. The entire method utilizes multi-dimensional cross-verification based on pressure, position, radar, voice, and motor current, ensuring complementary advantages among various sensors. Even in the event of a single-point failure, mutual exclusion logic and self-healing mechanisms maintain overall stable operation, enhancing the product's consistency and durability over long-term use.
[0048] It should be noted that, in this document, relational terms such as "first" and "second" are used merely 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 term "comprising" or any other variations thereof is 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.
[0049] 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. An automatic control method for an intelligent toilet seat, characterized in that: Includes the following steps: S1: Acquire multimodal signals: Acquire monitoring signals from pressure sensors, position sensors, radar sensors, and voice recognition modules in real time; S2: When the pressure sensor detects a human body occupying the space, the system forcibly blocks all closing actions and enters the occupancy lock state; S3: Execute lid opening logic: When the toilet lid is closed and not in a locked position: If the radar sensor detects a human body approaching that meets the preset conditions, it controls the toilet seat to open. However, when the system is in the storage mode, the radar trigger signal is blocked. If the voice recognition module receives a voice command to open the lid, it will ignore the restrictions of the storage mode, directly execute the opening action, and then deactivate the storage mode after the action is completed. S4: Execute the lid-closing logic when the toilet lid is open: If the radar sensor detects a human body leaving the area, the system enters a delayed closing timer, and the closing action is performed after the timer expires. If the voice recognition module receives a voice command to close the lid, the system first retrieves the radar sensor signal and only executes the lid-closing action when the radar detects no one and the pressure sensor shows no occupied signal.
2. The automatic control method for an intelligent toilet seat according to claim 1, characterized in that: In step S1, the acquisition of multimodal signals uses a unified clock source to synchronously sample each sensor channel, ensuring that the four types of signals—pressure, position, radar, and voice—are aligned in timestamps, thus preventing malfunctions in subsequent logical judgments due to timing misalignment. Specifically, the pressure sensor uses a periodic... The system polls to detect the seat's load-bearing status, and a position sensor provides real-time feedback on the toilet seat's opening and closing angle via a Hall effect sensor or microswitch. A radar sensor periodically... Collect the radial velocity of the target human body relative to the center point of the toilet. The voice recognition module continuously listens for the "open lid" and "close lid" commands in the local keyword list and reports the parsing results along with the confidence score to the control module. All signals are packaged into structured multimodal data frames for subsequent steps to extract and cross-validate according to priority.
3. The automatic control method for an intelligent toilet seat according to claim 1, characterized in that: In step S2, when the pressure sensor detects a human body occupancy trigger signal, the system immediately switches its internal state machine to occupancy lock mode. The shielding strategy in occupancy lock mode has the highest execution priority, blocking all current and subsequent lid-closing actions, and forcibly clearing the timed delayed lid-closing process to prevent users from being pinched due to radar misjudgment or voice mis-triggering during use. During the occupancy lock state, the system still maintains normal response capability to lid-opening signals and placement mode-related signals, with only the lid-closing path being unidirectionally locked. The only condition for unlocking is that the pressure sensor signal is below the trigger threshold for N consecutive sampling periods to avoid accidental exit caused by instantaneous pressure fluctuations.
4. The automatic control method for an intelligent toilet seat as described in claim 1, characterized in that: In step S3, the triggering logic for the placement mode is as follows: Automatic entry: When the position sensor detects that the toilet seat has changed from open to closed, and the control module detects that the motor driving the toilet seat has not generated active drive current, it is determined that the user has manually closed the lid, and the system automatically enters the storage mode.
5. The automatic control method for an intelligent toilet seat according to claim 1, characterized in that: In step S3, the logic for deactivating the placement mode is as follows: the placement mode is deactivated only when a valid voice command to open the lid is received or when a physical displacement of manually lifting the toilet lid is detected. When the toilet seat moves, the control module collects the sampling current I of the drive motor. s With reference command current I ref ; Calculate the deviation I = |I s -I ref When the load exceeds the sudden change threshold and no control command is received, it is determined that an external manual force has been applied. The system recognizes that the toilet seat is passively closed, and thus triggers the storage mode.
6. The automatic control method for an intelligent toilet seat according to claim 1, characterized in that: In step S4, the method of using displacement vectors to determine the proximity signal of a human body by the radar sensor specifically includes: The control module calculates the human body's movement trajectory based on the radar feedback beam; A valid lid-opening signal is determined only when the human body's displacement vector points towards the default area of the toilet and the movement speed is within the default threshold range for a duration exceeding T1; if the displacement vector is determined to be passing by or moving away from the toilet sideways, the lid-opening signal is not triggered. Data acquisition: Radar sensor with period T s Collect the radial velocity v of the target human body relative to the center point of the toilet. r and displacement vector d; Vector projection: Project the displacement vector d onto the central axis region facing the toilet and calculate the yaw angle θ; Trigger determination: Establish trigger weight function , where t is the continuous sensing time; only when W exceeds the preset threshold Wmax is it determined that there is an intention to use the toilet and the lid opening action is executed; if θ exceeds the preset angle threshold, it is determined that it is passing by side and the lid opening action is blocked.
7. The automatic control method for an intelligent toilet seat according to claim 1, characterized in that: In step S4, the delay time for delayed cover closing is dynamically calculated based on user behavior characteristics, using the following formula: in, T base Based on the fundamental delay constant, T use The duration of continuous occupancy detected by the pressure sensor; α For behavior correction coefficients, when T use When the first threshold is exceeded, α Take a positive value to extend the ventilation and deodorization time; β• This is an environmental correction term, based on the frequency of environmental disturbances detected by radar sensors. Adjust the delay: if environmental disturbances are high, shorten the timing to prevent accidental activation; if environmental disturbances are low, maintain the standard delay.
8. The automatic control method for an intelligent toilet seat according to claim 1, characterized in that: In step S4, when the lid-closing action is performed, the control module synchronously verifies the signals of the pressure sensor and the radar sensor. If a signal conflict occurs between the two, the lid-closing action is stopped and a voice fault prompt is given. During the delayed closing timer, if the radar sensor detects a human body movement signal or receives any voice command again, the system will immediately interrupt the timer and reset the closing process.
9. An intelligent toilet seat automatic control system, characterized in that: The method for implementing the automatic control of a smart toilet seat as described in any one of claims 1 to 8 specifically includes: Sensor group: includes pressure sensors for occupancy detection, position sensors for status detection, and radar sensors for human intent recognition; Voice module: Used to collect and parse user voice commands; Control module: Built-in central processing unit, used to perform space occupancy protection, object placement pattern recognition and multimodal signal fusion processing; Actuator: Includes a drive motor and transmission components, used to drive the toilet seat to open and close in response to commands from the control module.
10. The intelligent toilet seat automatic control system according to claim 9, characterized in that: The control module is equipped with a current monitoring unit, which is used to monitor the current changes of the drive motor in real time to determine whether the toilet seat is in automatic drive mode or manual intervention mode.
