A fully automatic intelligent door lock control method, system, medium and program product

By detecting the blocking characteristic cycle of the smart door lock and dynamically adjusting the driving torque, the problem of misjudgment and mechanical wear of the smart door lock when performing unlocking or locking operations is solved, and a smart door lock control method with high reliability, low cost and low power consumption is realized.

CN119825202BActive Publication Date: 2025-05-30SHENZHEN SHUNLI MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510320016.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-18
Publication Date
2025-05-30
Estimated Expiration
2045-03-18

AI Technical Summary

Technical Problem

The existing smart door locks lack effective feedback mechanisms when performing unlocking or locking operations, resulting in frequent misjudgment, affecting user experience, increasing energy consumption and mechanical wear, shortening product life, and difficulty in achieving the goals of low cost and low power consumption while ensuring reliability.

Method used

The blocking characteristic period is determined by detecting the motor blocking signal three times in a row, and a control strategy of decreasing driving torque is adopted between two adjacent blocking characteristic periods to reduce mechanical damage. When the blocking characteristic cycle shows a decreasing trend, the instructions continue to be executed; when the blocking characteristic cycle shows an increasing trend, a pulse control sequence is established based on the shortest blocking characteristic cycle, and the driving is actively interrupted before blocking to prevent mechanical wear.

Benefits of technology

It realizes accurate identification of abnormal states during the door lock switching process, reduces mechanical damage that may be caused by traditional fixed torque control, ensures the reliability of switch lock operation, reduces component damage caused by forced driving, and reduces cost and power consumption while improving the reliability of smart door locks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119825202B_ABST
    Figure CN119825202B_ABST
Patent Text Reader

Abstract

A fully automatic intelligent door lock control method, system, medium and program product. This application relates to the field of time registrars. In this method, a blocking feature period is established according to real-time working signals; the driving torque is decreased in a preset proportion at a preset time point before the arrival of the second period of two adjacent blocking feature periods; when the change trend of the blocking feature period shows a decreasing trend, it is determined that the current driving strategy is effective, and the unlocking or locking instruction is continued to be executed; when the change trend of the blocking feature period shows an increasing trend, a pulse control sequence is established based on the recorded shortest blocking feature period; the motor is actively interrupted before stalling through the pulse control sequence; the number of times of active interruption of driving within a preset time period is counted, and when the number exceeds a preset threshold, the intelligent door lock is controlled to give a failure prompt; when the number does not exceed the preset threshold, the intelligent door lock is controlled to complete unlocking or locking. This application is used to improve the reliability of the intelligent door lock while reducing costs and power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of time registrars, and particularly relates to a fully automatic intelligent door lock control method, system, medium, and program product. Background Art

[0002] With the popularization of smart homes, smart door locks play an increasingly important role in users' daily lives. However, when existing smart door locks perform unlocking or locking operations, due to the lack of an effective feedback mechanism, misjudgments often occur. Such misjudgments not only affect the normal user experience but also cause unnecessary energy consumption due to repeated switch operations, while increasing the wear of the door lock's mechanical structure and shortening the product's service life.

[0003] In related technologies, multiple pressure sensors or optical sensors can be integrated into smart door locks to assist in judging the switch state, and combined with deep learning algorithms to identify opening actions under various environmental conditions to improve the reliability of the system.

[0004] However, adding more sensors inevitably raises the overall cost of the product, and although complex calculation models can improve accuracy, they also mean higher power consumption. This makes it difficult for smart door locks to achieve the goals of low cost and low power consumption while ensuring reliability. Summary of the Invention

[0005] This application provides a fully automatic intelligent door lock control method, system, medium, and program product for reducing costs and power consumption while improving the reliability of smart door locks.

[0006] In a first aspect, this application provides a fully automatic intelligent door lock control method that, in response to a user's unlocking or locking instruction, obtains the real-time working signal of the smart door lock;

[0007] Based on the real-time working signal, a blocking feature period is established, and the blocking feature period is determined by the time interval after detecting three consecutive motor stall signals;

[0008] At a preset time point before the arrival of the second period of two adjacent blocking feature periods, the driving torque is decreased in a preset ratio, and the preset ratio is determined according to the maximum stall torque within the first blocking feature period;

[0009] When the change trend of the blocking feature period shows a decreasing trend, it is determined that the current driving strategy is effective, and the unlocking or locking instruction is continued to be executed;

[0010] When the change trend of the blocking feature period shows an increasing trend, a pulse control sequence is established based on the recorded shortest blocking feature period;

[0011] Control the motor to actively interrupt the drive before stalling through a pulse control sequence;

[0012] Count the number of times of actively interrupting the drive within a preset time period. When the number exceeds a preset threshold, control the intelligent door lock to give a failure prompt;

[0013] When the number does not exceed the preset threshold, control the intelligent door lock to complete unlocking or locking.

[0014] By adopting the above technical solution, the abnormal state during the door lock switching process can be accurately identified by detecting the motor stalling signals for three consecutive times to determine the blocking characteristic period. A control strategy of decreasing the driving torque by a preset ratio is adopted between two adjacent blocking characteristic periods, reducing the mechanical damage that may be caused by the traditional fixed torque control. When it is detected that the blocking characteristic period shows a decreasing trend, it indicates that the current driving strategy can effectively improve the lock / unlock process, and the system continues to execute the instruction; when it is detected that the blocking characteristic period shows an increasing trend, the system will establish a pulse control sequence based on the recorded shortest blocking characteristic period and actively interrupt the drive before stalling occurs, thus preventing mechanical wear caused by repeated stalling. By counting the number of times of actively interrupting the drive within a preset time period and comparing it with the preset threshold, the system can timely detect persistent abnormal conditions and make responses, ensuring both the reliability of the lock / unlock operation and reducing component damage caused by forced driving, while improving the reliability of the intelligent door lock and reducing costs and power consumption.

[0015] Combined with some embodiments of the first aspect, in some embodiments, establishing a blocking characteristic period according to the real-time working signal specifically includes:

[0016] Identify the stalling point based on the motor current signal in the real-time working signal, and compare the speed value corresponding to the stalling point with a preset speed threshold;

[0017] When the speed value is greater than the preset speed threshold, it is determined as an effective stalling point;

[0018] Calculate the time interval between two adjacent effective stalling points, and take the time interval as a blocking characteristic period;

[0019] Perform weighted averaging on three consecutive blocking characteristic periods to obtain the final blocking characteristic period.

[0020] By adopting the above technical solution, the effective locked-rotor point is determined by comparing the speed value corresponding to the locked-rotor point with the preset speed threshold, and the invalid locked-rotor signals caused by instantaneous interference or slight jamming can be filtered out. Taking the time interval between two adjacent effective locked-rotor points as the blocking characteristic period, and performing weighted average processing on three consecutive blocking characteristic periods can reduce the random error of single measurement, improve the accuracy and stability of the blocking characteristic period, accurately reflect the actual working state of the mechanical system of the door lock, reduce the blindness and uncertainty of the control strategy, and improve the operation stability and control accuracy of the entire intelligent door lock system.

[0021] Combined with some embodiments of the first aspect, in some embodiments, the driving torque is decreased in a preset ratio, specifically including:

[0022] Obtain the locked-rotor torque curve within the first blocking characteristic period;

[0023] Identify the maximum locked-rotor torque point and the minimum locked-rotor torque point in the locked-rotor torque curve;

[0024] Calculate the difference between the maximum locked-rotor torque and the minimum locked-rotor torque, divide the difference by the preset number of decrements to obtain the torque step size for each decrement, and the torque step size is the preset ratio;

[0025] Starting from a preset time point before the arrival of the second blocking characteristic period, gradually decrease the driving torque in a preset ratio step by step.

[0026] By adopting the above technical solution, by analyzing the locked-rotor torque curve within the first blocking characteristic period, identifying the maximum and minimum locked-rotor torque points, calculating the torque difference and determining the torque step size according to the preset number of decrements, the precise control of the driving torque is realized. Starting from a preset time point before the arrival of the second blocking characteristic period, gradually decrease the driving torque in a preset ratio step by step, making the torque decrease process smoother, avoiding the mechanical shock that may be caused by the sudden torque adjustment, and enabling the driving torque to always be maintained at the minimum necessary level required to complete the unlocking and locking operations, which not only ensures the normal realization of the unlocking and locking functions, but also reduces the stress loss of mechanical components, and improves the working efficiency and service life of the entire door lock system.

[0027] Combined with some embodiments of the first aspect, in some embodiments, after controlling the intelligent door lock to complete unlocking or locking when the number does not exceed the preset threshold, the method further includes:

[0028] Obtain the sequence of blocking characteristic periods in previous unlocking and locking processes, and calculate the change rate of adjacent blocking characteristic periods;

[0029] When it is detected that the change rate exceeds the first change rate threshold for three consecutive times, mark the current time point as the characteristic turning point;

[0030] Count the number of times the door lock is locked and unlocked between every two characteristic turning points, and use this number as the stable working interval of the blocking characteristic period.

[0031] When the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, trigger a maintenance prompt.

[0032] By adopting the above technical solution, by calculating the change rate of adjacent blocking characteristic periods and detecting the situation where it exceeds the threshold three times in a row to mark the characteristic turning points, the significant changes in the working state of the door lock can be accurately captured. Defining the number of times the door lock is locked and unlocked between two characteristic turning points as the stable working interval, by comparing the length of the latest stable working interval with historical data, the abnormal changes in the performance of the door lock can be discovered in a timely manner. When the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, a maintenance prompt is triggered, enabling the system to take preventive maintenance measures before the performance of the door lock deteriorates. This state monitoring method based on the analysis of the stable working interval can effectively identify the performance degradation trend of the door lock system, achieve early warning of maintenance requirements, and reduce door lock failures and safety hazards caused by untimely maintenance.

[0033] Combined with some embodiments of the first aspect, in some embodiments, calculating the change rate of adjacent blocking characteristic periods specifically includes:

[0034] Record the blocking characteristic period value and the corresponding ambient temperature during each locking and unlocking process.

[0035] Perform temperature compensation on the blocking characteristic period value according to the ambient temperature.

[0036] Arrange the compensated blocking characteristic period values in chronological order to form a data sequence.

[0037] Calculate the difference between two adjacent period values in the data sequence and divide it by the previous period value to obtain the change rate.

[0038] By adopting the above technical solution, recording the blocking characteristic period value and the ambient temperature during the locking and unlocking process, a temperature compensation mechanism is established to eliminate the influence of the ambient temperature on the blocking characteristic period. Performing chronological arrangement and change rate calculation on the temperature-compensated data, a more accurate change trend of the blocking characteristic period is obtained, reducing the interference of temperature changes on the evaluation of the lock body state, and enabling the system to accurately identify the performance changes caused by mechanical wear of the lock body.

[0039] Combined with some embodiments of the first aspect, in some embodiments, after triggering the maintenance prompt when the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, the method further includes:

[0040] Obtain all the blocking characteristic period data within the current stable working interval.

[0041] Segment all the blocked characteristic period data, and the data length of each segment is the preset sampling window;

[0042] Calculate the mean, variance, and skewness of the blocked characteristic period within each preset sampling window;

[0043] Based on the changing trends of the mean, variance, and skewness, determine the degradation rate of the lock body's working state;

[0044] Adjust the maintenance time interval according to the degradation rate.

[0045] By adopting the above technical solution, segmenting the blocked characteristic period data within the stable working range and extracting statistical characteristics, a comprehensive assessment of the lock body's working state is achieved. By calculating the three statistical characteristics of the mean, variance, and skewness within the preset sampling window, the system can characterize the working state of the lock body from multiple dimensions. The mean reflects the overall level of the blocked characteristics, the variance represents the working stability, and the skewness reflects the symmetry of the blocked characteristic distribution. Based on the changing trends of these three characteristics, the system can more accurately identify the patterns and speeds of the lock body's performance degradation. By dynamically adjusting the maintenance time interval according to the degradation rate, the reliability of the lock body performance monitoring is improved, making the maintenance strategy more precise, ensuring both the reliable operation of the intelligent door lock and optimizing the usage efficiency of maintenance resources.

[0046] Combined with some embodiments of the first aspect, in some embodiments, based on the changing trends of the mean, variance, and skewness, determining the degradation rate of the lock body's working state specifically includes:

[0047] Perform a difference operation on the mean sequence within the preset sampling window to obtain a first-order difference sequence;

[0048] Calculate the cumulative sum of the first-order difference sequence to obtain a cumulative deviation curve;

[0049] Identify the inflection points on the cumulative deviation curve, and use the slope between adjacent inflection points as the degradation rate.

[0050] By adopting the above technical solution, performing a difference operation and cumulative summation on the mean sequence, a cumulative deviation curve reflecting the lock body's performance change is constructed. The difference operation eliminates the linear trend in the data sequence and highlights the fluctuation characteristics of the lock body's performance change. The construction of the cumulative deviation curve converts the discrete performance changes into a continuous trend expression, making it easier to identify the inflection points of the performance changes and providing a more stable and reliable degradation rate assessment result. The inflection point identification mechanism enables the system to timely detect the critical moments of the lock body's performance change, providing an accurate time reference for predictive maintenance and enhancing the operation reliability and maintenance efficiency of the intelligent door lock.

[0051] In a second aspect, an embodiment of the present application provides a full-automatic intelligent door lock control system, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program code, and the computer program code includes computer instructions. The one or more processors call the computer instructions to cause the system to execute the method described in the first aspect and any possible implementation manner in the first aspect.

[0052] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, including instructions, when the above instructions run on the system, causing the above system to execute the method described in the first aspect and any possible implementation manner in the first aspect.

[0053] In a fourth aspect, an embodiment of the present application provides a computer program product, when the computer program product runs on the system, causing the system to execute the method described in any possible implementation manner in the first aspect.

[0054] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0055] 1. The present application provides a full-automatic intelligent door lock control method. By detecting the motor stall signal three times in a row to determine the blocking characteristic period, the abnormal state during the door lock switching process can be accurately identified. A control strategy of decreasing the driving torque in a preset ratio is adopted between two adjacent blocking characteristic periods, reducing the mechanical damage that may be caused by the traditional fixed torque control. When it is detected that the blocking characteristic period shows a decreasing trend, it indicates that the current driving strategy can effectively improve the door lock switching process, and the system continues to execute the instructions; when it is detected that the blocking characteristic period shows an increasing trend, the system will establish a pulse control sequence based on the recorded shortest blocking characteristic period and actively interrupt the drive before the stall occurs, thereby preventing mechanical wear caused by repeated stalls. By counting the number of times of actively interrupting the drive within a preset time period and comparing it with a preset threshold, the system can timely detect persistent abnormal conditions and make responses, ensuring the reliability of the door lock switching operation and reducing component damage caused by forced driving, while improving the reliability of the intelligent door lock and reducing costs and power consumption.

[0056] 2. The present application provides a fully automatic intelligent door lock control method. By calculating the change rate of adjacent blockage characteristic periods and detecting the situation where it exceeds the threshold three times in a row to mark the characteristic turning points, it can accurately capture the significant changes in the working state of the door lock. The number of times of locking and unlocking between two characteristic turning points is defined as the stable working interval. By comparing the length of the latest stable working interval with historical data, abnormal changes in the door lock performance can be detected in a timely manner. When the length of the latest stable working interval is less than a preset percentage of the historical stable working interval length, a maintenance prompt is triggered, enabling the system to take preventive maintenance measures before the door lock performance deteriorates. This state monitoring method based on the analysis of the stable working interval can effectively identify the performance degradation trend of the door lock system, realize early warning of maintenance requirements, and reduce door lock failures and safety hazards caused by untimely maintenance.

[0057] 3. The present application provides a fully automatic intelligent door lock control method. It performs segmented processing and statistical feature extraction on the blockage characteristic period data within the stable working interval, achieving a comprehensive assessment of the working state of the lock body. By calculating three statistical features, namely the mean, variance, and skewness, within a preset sampling window, the system can describe the working state of the lock body from multiple dimensions. The mean reflects the overall level of the blockage characteristics, the variance characterizes the working stability, and the skewness reflects the symmetry of the blockage characteristic distribution. Based on the change trends of these three features, the system can more accurately identify the patterns and speeds of the lock body performance degradation. By dynamically adjusting the maintenance time interval according to the degradation rate, the reliability of the lock body performance monitoring is improved, making the maintenance strategy more precise, ensuring the reliable operation of the intelligent door lock and optimizing the usage efficiency of maintenance resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 is a flowchart of a fully automatic intelligent door lock control method in an embodiment of the present application.

[0059] Figure 2 is a flowchart of a predictive maintenance method based on historical data analysis in an embodiment of the present application.

[0060] Figure 3 is a schematic structural diagram of an entity device of a fully automatic intelligent door lock control system provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0061] The terms used in the following embodiments of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. As used in the specification and appended claims of this application, the singular forms "a", "an", "the", "above-mentioned", "said", and "this" are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in this application refers to any or all possible combinations of one or more of the listed items.

[0062] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and should not be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of this application, unless otherwise specified, the meaning of "a plurality" is two or more.

[0063] Next, an embodiment is used in combination with Figure 1 to describe a full-automatic intelligent door lock control method in the embodiments of this application:

[0064] Please refer to Figure 1 , which is a schematic flowchart of a full-automatic intelligent door lock control method in the embodiments of this application.

[0065] S101. In response to a user's unlocking instruction or locking instruction, obtain the real-time working signal of the intelligent door lock;

[0066] In this step, the system responds to the user's unlocking instruction or locking instruction. The user can issue unlocking or locking instructions in various ways, such as using a mobile application, voice control, gesture control, password input, etc. After the system receives the user instruction, it starts to obtain the real-time working signal of the intelligent door lock. The real-time working signal can include various signals such as motor current, motor speed, and door lock status.

[0067] The system can obtain the real-time working signal through a variety of sensors and monitoring devices. For example, a current sensor can be installed on the motor to detect the motor current in real time; an encoder can be installed on the motor to detect the motor speed in real time; a status sensor can be installed on the door lock to detect the opening and closing status of the door lock in real time. These sensors transmit the collected signals to the system in real time for use in subsequent steps.

[0068] S102. Establish a blocking feature period according to the real-time working signal;

[0069] The system establishes a blocking characteristic period based on the real-time working signal. The blocking characteristic period is determined by the time interval after detecting three consecutive motor stalling signals. Specifically: identify the stalling points based on the motor current signal in the real-time working signal, and compare the speed value corresponding to the stalling point with the preset speed threshold;

[0070] When the speed value is greater than the preset speed threshold, it is determined as a valid stalling point;

[0071] Calculate the time interval between two adjacent valid stalling points, and take the time interval as a blocking characteristic period;

[0072] Perform weighted averaging on three consecutive blocking characteristic periods to obtain the final blocking characteristic period.

[0073] In this step, the system establishes a blocking characteristic period based on the acquired real-time working signal. The blocking characteristic period reflects the periodic characteristics of the intelligent door lock being blocked during the unlocking or locking process. By analyzing the blocking characteristic period, it is possible to predict when the door lock will stall, thereby adjusting the driving strategy in advance to avoid damaging the motor.

[0074] The system can use various methods to establish the blocking characteristic period. A commonly used method is based on the motor stalling signal. Specifically, the system detects the motor current signal in the real-time working signal and identifies the stalling points where the current suddenly increases. Then compare the speed value corresponding to the stalling point with the preset threshold. If the speed value is greater than the threshold, it is determined as a valid stalling point. The system calculates the time interval between two adjacent valid stalling points and takes it as a blocking characteristic period. To improve reliability, the system can perform weighted averaging on three consecutive blocking characteristic periods to obtain the final blocking characteristic period.

[0075] When establishing the blocking characteristic period, the system may encounter problems such as unclear stalling signals and incorrect identification of stalling points. To solve these problems, the system can adopt technologies such as adaptive thresholds and pattern recognition. For example, the system can adaptively adjust the speed threshold according to factors such as the motor model and load; it can use machine learning algorithms to train the stalling point identification model through a large amount of sample data to improve the identification accuracy. Through these technical means, the quality of establishing the blocking characteristic period can be improved.

[0076] S103. At a preset time point before the arrival of the second period of two adjacent blocking characteristic periods, decrease the driving torque in accordance with a preset ratio;

[0077] The system decreases the driving torque in accordance with a preset ratio at a preset time point before the arrival of the second period of two adjacent blocking characteristic periods. The preset ratio is determined based on the maximum stalling torque within the first blocking characteristic period. Specifically: obtain the stalling torque curve within the first blocking characteristic period;

[0078] Identify the maximum locked-rotor torque point and the minimum locked-rotor torque point in the locked-rotor torque curve;

[0079] Calculate the difference between the maximum locked-rotor torque and the minimum locked-rotor torque, divide the difference by the preset number of decrements to obtain the torque step size for each decrement, and the torque step size is a preset ratio;

[0080] Starting from a preset time point before the arrival of the second blocking characteristic period, gradually decrease the driving torque in accordance with the preset ratio.

[0081] In this step, the system predicts the time point of impending locked-rotor according to the established blocking characteristic period and adjusts the driving torque in advance to reduce the risk of locked-rotor. Specifically, the system starts to gradually decrease the driving torque in accordance with the preset ratio at a preset time point before the arrival of the second period of two adjacent blocking characteristic periods.

[0082] The system can determine the preset time point and the preset ratio in various ways. A commonly used method is based on the locked-rotor torque characteristics within the first blocking characteristic period. Specifically, the system obtains the locked-rotor torque curve within the first period, identifies the maximum value point and the minimum value point, and calculates the difference between the two. Then divide the difference by the preset number of decrements to obtain the torque step size for each decrement, that is, the preset ratio. At the preset time point before the arrival of the second period, the system starts to gradually decrease the driving torque at this ratio until the second period arrives.

[0083] When adjusting the driving torque, the system may face problems such as too slow or too fast torque decrease. To solve these problems, the system can adopt technologies such as adaptive adjustment and feedback control. For example, the system can adaptively adjust the preset time point and the number of decrements according to the length of the blocking characteristic period; it can monitor the door lock state in real time and dynamically adjust the decrement ratio according to the feedback signal. Through these technical means, the timeliness and accuracy of the driving torque adjustment can be improved.

[0084] S104. When the change trend of the blocking characteristic period shows a decreasing trend, determine that the current driving strategy is effective and continue to execute the unlocking or locking instruction;

[0085] In this step, the system determines whether the current driving strategy is effective according to the established blocking characteristic period. If several consecutive blocking characteristic periods show a decreasing trend, it indicates that the driving torque adjustment is appropriate and the door lock blocking phenomenon is alleviated. At this time, the system determines that the driving strategy is effective and continues to execute the unlocking or locking instruction.

[0086] S105. When the change trend of the blocking characteristic period shows an increasing trend, establish a pulse control sequence based on the recorded shortest blocking characteristic period;

[0087] In this step, if several consecutive blocking characteristic cycles show an increasing trend, it indicates that the current driving strategy is not effective enough, and the door lock blocking phenomenon is aggravated. At this time, the system needs to adopt a new control strategy. A feasible solution is to establish a pulse control sequence based on the shortest blocking characteristic cycle recorded previously.

[0088] Specifically, the system traces back the historical data to find the shortest recorded blocking characteristic cycle. This cycle corresponds to the situation where the door lock resistance is the smallest. Based on this shortest cycle, the system establishes a pulse control sequence. Each pulse in the sequence corresponds to a short-term and high-frequency motor drive. Through pulse drive, the motor can be actively interrupted before stalling occurs, avoiding long-term stalling.

[0089] When establishing the pulse control sequence, the system needs to reasonably set pulse parameters such as pulse width, pulse interval, and number of pulses. These parameters can be determined through theoretical calculations or simulation tests according to factors such as the shortest blocking characteristic cycle and motor characteristics. At the same time, in order to adapt to changes in the door lock state, the system can dynamically adjust the pulse parameters during the execution process to improve the control effect.

[0090] S106. Control the motor to actively interrupt the drive before stalling through the pulse control sequence;

[0091] In this step, the system executes the previously established pulse control sequence to actively control the motor to interrupt the drive and avoid stalling.

[0092] Specifically, after detecting that the blocking characteristic cycle shows an increasing trend, the system starts to execute the pulse control sequence. When a certain pulse ends, the system actively cuts off the power supply of the motor, causing the motor to pause driving for a short period of time. During the pause, the mechanical structure of the intelligent door lock can automatically reset to release the lagging resistance. After the pause ends, the system reconnects the power supply to execute the next pulse. This cycle continues until the entire control sequence is executed.

[0093] When executing the pulse control, the system needs to precisely control the time point and duration of each pulse. For this purpose, the system can use a high-precision timer to generate pulse signals and achieve fast switching control of the motor through a power drive circuit. At the same time, the system also needs to monitor the door lock state in real time and optimize the pulse parameters according to the feedback information. For example, if it is detected that the door lock is still blocked during a certain pulse pause period, the system can appropriately extend the pause time of the next pulse.

[0094] S107. Count the number of times of actively interrupting the drive within a preset time period;

[0095] In this step, the system counts the number of times of actively interrupting the motor drive within a preset period of time. This number can reflect the effect of the pulse control and the operating state of the intelligent door lock.

[0096] Specifically, the system records the time from the start of the execution of the pulse control sequence to the current moment as the executed time. If the executed time exceeds the preset maximum time, the pulse control is stopped. During the execution, the system records the time points of each active interruption of the motor drive and accumulates the number of interruptions. At the end of the preset time, the system obtains the final statistical result of the number of interruptions.

[0097] To improve the statistical timeliness, the system can update the number of interruptions regularly within the preset time. For example, after each complete pulse cycle is executed, or after each fixed time interval, the system updates the count. At the same time, the system can also flexibly set the length of the preset time according to different application scenarios. For example, for the unlocking operation, the preset time can be set shorter; for the locking operation, the preset time can be set longer.

[0098] S108. When the number exceeds the preset threshold, control the intelligent door lock to give a failure prompt;

[0099] In this step, the system determines whether the intelligent door lock fails to execute according to the number of active interruption drives and gives corresponding prompts.

[0100] Specifically, the system compares the statistically obtained number of interruptions with the preset maximum number threshold. If the number of interruptions exceeds the maximum number threshold, the system determines that the intelligent door lock fails to execute the unlocking or locking operation. At this time, the system controls the intelligent door lock to issue a failure prompt to inform the user of the current state.

[0101] The failure prompt can take various forms, such as sound prompt, light prompt, mobile phone push prompt, etc. The system can automatically select the appropriate prompt method according to the user's settings. At the same time, to help the user analyze the cause of failure, the system can also attach some diagnostic information to the failure prompt, such as the statistical result of the number of interruptions, the recording of the blocking characteristic period, etc.

[0102] To avoid overly frequent failure prompts, the system can set the minimum interval time for failure prompts. After consecutive multiple execution failures, the system gives a prompt again only after the interval time ends. At the same time, to avoid false alarms, when determining failure, the system can also comprehensively consider other conditions, such as whether the mechanical structure of the door lock is in a normal state, whether the environmental temperature is abnormal, etc. Only when multiple conditions indicate failure does the system give a failure prompt.

[0103] S109. When the number does not exceed the preset threshold, control the intelligent door lock to complete the unlocking or locking.

[0104] In this step, if the number of times of active interruption of the drive does not exceed the preset maximum number threshold, the system determines that the operation of unlocking or locking the intelligent door lock is successful. At this time, the system controls the intelligent door lock to complete the final unlocking or locking action and returns to the normal working state.

[0105] Specifically, the system stops the pulse control sequence and resumes the continuous drive of the motor. According to the original instruction of the user, the system controls the motor to rotate forward or backward until the door lock reaches the fully open or fully closed position. During this process, the system continues to monitor the door lock status to ensure that the unlocking or locking action is stable and reliable.

[0106] After completing the unlocking or locking, the system enters the standby state, waiting for the user's next instruction. At the same time, the system can also perform some subsequent processing, such as updating the door lock status record, uploading data to the cloud server, etc. These processes can help users further analyze the usage of the door lock and optimize the product design.

[0107] To improve the fault tolerance of the system, when determining success, the system can also set a buffer threshold. Even if the number of interruptions is slightly higher than the maximum number threshold, as long as it is within the buffer range, the system also considers the execution to be successful. This can avoid misjudgment caused by accidental factors. At the same time, the system can also dynamically adjust the maximum number threshold according to historical data to better adapt to the current usage environment and usage habits.

[0108] In the above embodiment, by detecting the motor stall signal three times in a row to determine the blocking characteristic period, the abnormal state during the door lock switching process can be accurately identified. The control strategy of decreasing the driving torque in a preset ratio between two adjacent blocking characteristic periods reduces the mechanical damage that may be caused by the traditional fixed torque control. When it is detected that the blocking characteristic period shows a decreasing trend, it indicates that the current driving strategy can effectively improve the unlocking and locking process, and the system continues to execute the instruction; when it is detected that the blocking characteristic period shows an increasing trend, the system will establish a pulse control sequence based on the recorded shortest blocking characteristic period and actively interrupt the drive before the stall occurs, thus preventing mechanical wear caused by repeated stalls. By counting the number of times of active interruption of the drive within a preset time period and comparing it with the preset threshold, the system can timely detect persistent abnormal conditions and make responses, ensuring both the reliability of the unlocking and locking operations and reducing component damage caused by forced driving, while improving the reliability of the intelligent door lock and reducing costs and power consumption.

[0109] In the above embodiments, by monitoring the working signal of the door lock in real time, a blocking characteristic period is established based on the motor stall characteristic, and the driving strategy is dynamically adjusted according to the change trend of the blocking characteristic period. The system identifies abnormal states by analyzing the time intervals between adjacent stall points, reduces mechanical impact by using a preset proportional decreasing driving torque, and promptly starts a pulse control sequence for protection when detecting performance deterioration. This adaptive control scheme effectively solves problems such as repeated stalling and mechanical damage that may occur during the opening and closing processes of traditional intelligent door locks.

[0110] To further improve the service life and operation reliability of the intelligent door lock, the present application also provides a predictive maintenance method based on historical data analysis. This method realizes intelligent monitoring of the lock body state and scientific prediction of the maintenance timing by systematically analyzing the performance data during the long-term operation of the door lock. Different from the above embodiments that focus on real-time control during a single opening and closing process of the door lock, the embodiments introduced below pay more attention to the long-term performance change trend of the intelligent door lock, and provide a decision-making basis for preventive maintenance of the lock body by establishing the concept of a stable working range.

[0111] The following combines Figure 2 to describe a predictive maintenance method based on historical data analysis in the embodiments of the present application:

[0112] Please refer to Figure 2 which is a flow schematic diagram of a predictive maintenance method based on historical data analysis in the embodiments of the present application.

[0113] S201. Obtain the sequence of blocking characteristic periods during previous opening and closing processes of the door lock, and calculate the change rate of adjacent blocking characteristic periods;

[0114] The system obtains the sequence of blocking characteristic periods during previous opening and closing processes of the door lock, and calculates the change rate of adjacent blocking characteristic periods. Specifically: record the blocking characteristic period values and the corresponding ambient temperatures during each opening and closing process of the door lock;

[0115] Perform temperature compensation on the blocking characteristic period values according to the ambient temperature;

[0116] Arrange the compensated blocking characteristic period values in chronological order to form a data sequence;

[0117] Calculate the difference between two adjacent period values in the data sequence, and divide it by the previous period value to obtain the change rate.

[0118] In this step, the system obtains the blocking characteristic period data recorded during multiple opening and closing processes of the intelligent door lock, performs necessary preprocessing, and calculates the period change rate. The blocking characteristic period reflects the periodic change law of the door lock opening and closing resistance, and is an important indicator for evaluating the operation state of the lock body. By analyzing its change trend, the degradation signs of the lock body performance can be detected early.

[0119] The system can obtain historical cycle data in various ways. A common implementation method is to record the blocked characteristic cycle value and the ambient temperature at that time during each locking and unlocking process, and store them as a data point in the historical database. Since temperature changes can affect the deformation of the mechanical structure and the viscosity of the lubricant, thus interfering with the blocked characteristic cycle, it is necessary to compensate the cycle value according to the temperature before performing trend analysis. The compensated cycle value is more stable and can better reflect the performance state of the lock body itself.

[0120] After completing the temperature compensation, the system arranges all historical cycle values in chronological order of locking and unlocking times to form a time series. Then, the system calculates the difference between every two adjacent cycle values in the series one by one, and divides it by the previous cycle value to obtain the change rate of adjacent cycles. The change rate reflects the relative change amplitude of the blocked characteristic cycle and is a sensitive indicator for judging sudden changes in the lock body performance.

[0121] To meet the requirements in different scenarios, the system can introduce a weight coefficient when calculating the change rate. For example, higher weights are assigned to recent cycle data, while lower weights are assigned to earlier historical data, making the analysis results pay more attention to the current state changes of the lock body. At the same time, to eliminate the interference of individual abnormal data, the system can also perform smoothing filtering on the original data series before calculating the change rate.

[0122] S202. When it is detected that the change rate exceeds the first change rate threshold three times in a row, mark the current time point as a characteristic turning point;

[0123] In this step, the system judges the change rate through continuity to automatically identify the key turning points of the lock body performance. When the system detects that the change rate exceeds the preset first change rate threshold three times in a row, it is determined that the state of the lock body has changed significantly, and the time point of the last time exceeding the threshold is marked as a characteristic turning point.

[0124] The first change rate threshold is an important parameter for judging whether there is a sudden change in the lock body performance. The system can preset an empirical threshold according to factors such as the model, material, and structure of the lock body. When the change rate exceeds this threshold, it can be preliminarily determined that the change trend of the blocked characteristic cycle has changed, and the lock body has entered a new performance state.

[0125] Considering that single random fluctuations may cause misjudgments, the system requires that the threshold be exceeded three times in a row to be recognized as a state change. The choice of the consecutive number needs to balance the sensitivity and stability of the judgment. The more consecutive times, the higher the reliability of the judgment, but the confirmation time of the state change will also be delayed accordingly. The system can adjust the number of consecutive judgments according to the specific application scenario.

[0126] For each identified characteristic turning point, the system can record its corresponding timestamp and the value of the blocking characteristic period. These turning points divide the usage history of the lock body into several stages, and the performance of the lock body is relatively stable within each stage. By analyzing the changing trend of the characteristic period in different stages, a timeline model of the lock body performance evolution can be established.

[0127] S203. Count the number of lock opening and closing operations between every two characteristic turning points, and use this number as the stable working interval of the blocking characteristic period.

[0128] In this step, the system takes two consecutive characteristic turning points as boundaries, counts the number of lock opening and closing operations between them, and defines this number as a stable working interval. The stable working interval reflects the number of lock opening and closing operations that the blocking characteristic period can maintain when the performance of the lock body does not change significantly. It reflects the expected service life of the lock body in the current state.

[0129] Specifically, for every two adjacent identified characteristic turning points, the system queries the historical database to obtain all the lock opening and closing records between them. By accumulating the number of these records, the length of a stable working interval is obtained. The system stores this interval length together with the corresponding start and end turning points to construct a lock body performance model based on the number of lock opening and closing operations.

[0130] As the lock body continues to be used, the system continuously updates the characteristic turning points and the stable working intervals. By calculating statistics such as the average length and variance of different intervals, the system can grasp the reliable working time of the lock body at different performance levels. Generally speaking, the length of the later stable working intervals will gradually shorten. This reflects that as the lock body undergoes wear and aging, its performance will gradually decline, and the stability of its state will gradually decrease.

[0131] S204. When the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, trigger a maintenance prompt.

[0132] In this step, the system monitors the change in the length of the latest stable working interval in real time. When it is lower than the preset percentage of the historical same-period level, it determines that the performance of the lock body has significantly declined, and promptly triggers a maintenance prompt to remind the user to perform lock body maintenance or replacement.

[0133] Specifically, when the system identifies a new characteristic turning point, it starts to count the latest stable working interval. At the same time, the system retrieves historical data, calculates the average value of the lengths of all previous stable working intervals, and uses it as a baseline for measuring the performance of the lock body. When the length of the latest interval is lower than the preset percentage (such as 80%) of the baseline, the system infers that the lock body has entered a stage of rapid performance decline. If not intervened in time, there may be a risk of functional failure.

[0134] At this time, the system automatically generates a maintenance prompt record to inform the user of the performance status of the lock body and recommends arranging the maintenance or replacement of the lock body as soon as possible. The prompt information can be sent to relevant personnel through methods such as mobile App push, text message, email, etc. At the same time, the system can also automatically generate a maintenance work order according to the user's settings and contact the service personnel to come to the door for lock body repair and inspection.

[0135] In the above embodiment, by calculating the change rate of adjacent blocking characteristic periods and detecting the situation of exceeding the threshold three times in a row to mark the characteristic turning points, the significant changes in the working state of the door lock can be accurately captured. The number of lock opening and closing times between two characteristic turning points is defined as the stable working interval. By comparing the length of the latest stable working interval with the historical data, the abnormal changes in the performance of the door lock can be detected in a timely manner. When the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, a maintenance prompt is triggered, enabling the system to take preventive maintenance measures before the performance of the door lock deteriorates. This state monitoring method based on the analysis of the stable working interval can effectively identify the performance degradation trend of the door lock system, realize early warning of maintenance requirements, and reduce the door lock failures and potential safety hazards caused by untimely maintenance.

[0136] Further, in another embodiment, after triggering the maintenance prompt when the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, the method further includes:

[0137] Obtain all the blocking characteristic period data within the current stable working interval;

[0138] Perform segmentation processing on all the blocking characteristic period data, and the data length of each segment is a preset sampling window;

[0139] Calculate the mean, variance, and skewness of the blocking characteristic period within each preset sampling window;

[0140] Based on the change trends of the mean, variance, and skewness, determine the decline rate of the working state of the lock body. Specifically: perform a difference operation on the mean sequence within the preset sampling window to obtain a first-order difference sequence;

[0141] Calculate the cumulative sum of the first-order difference sequence to obtain a cumulative deviation curve;

[0142] Identify the inflection points on the cumulative deviation curve, and take the slope between adjacent inflection points as the decline rate;

[0143] Adjust the maintenance time interval according to the decline rate.

[0144] The system needs to extract all the blocked characteristic period records within the latest stable working range from the historical database and arrange them in chronological order into a data sequence. These data reflect the dynamic change process of the blocked characteristic period under the current performance level of the lock body and contain information about the decay rate. After completing the data preprocessing, the system needs to segment the entire data sequence. The length of each segment is a preset sampling window, which can be a fixed time span (such as 1 day, 1 week) or a fixed number of lock opening and closing times (such as 100 times, 500 times). The size of the sampling window needs to be set by weighing factors such as the usage frequency of the lock body and the stability of the data. If the window is too small, it is difficult to reflect the overall trend; if the window is too large, detailed information may be lost. The purpose of data segmentation is to provide a basic unit for subsequent statistical feature calculation. By sliding the sampling window, the system can generate a series of sub-datasets, and each subset reflects the distribution of the blocked characteristic period within a local range. This segmentation idea draws on the sliding window method commonly used in time series analysis and can balance trend grasping and anomaly detection.

[0145] For each subset of the blocked characteristic period within a sampling window, the system calculates three statistics: the mean, variance, and skewness. The mean reflects the average level of the blocked characteristic period within this window, the variance reflects the degree of dispersion of the blocked characteristic period, and the skewness reflects the asymmetry of the distribution of the blocked characteristic period.

[0146] The decay rate reflects the speed at which the performance of the lock body deteriorates and is a key parameter for formulating maintenance strategies. This embodiment proposes a method for obtaining the decay rate based on the change trend of the blocked characteristic period statistics. Its core is to use the first-order difference of the mean sequence to establish an accumulated deviation curve and obtain the decay rate through inflection point identification.

[0147] After obtaining the decay rate of the lock body, the system can dynamically adjust the maintenance schedule to achieve more accurate and efficient preventive maintenance. Generally speaking, the higher the decay rate, the faster the performance of the lock body deteriorates, and the shorter the maintenance interval should be; conversely, if the decay rate is lower and the performance of the lock body is relatively stable, the maintenance interval can be appropriately extended.

[0148] The system needs to establish a mapping relationship table between the decay rate and the maintenance interval, which can be described in the form of a piecewise linear function or a piecewise exponential function, etc. At the same time, in order to avoid overly frequent or overly slack maintenance, the system also needs to set the upper and lower limits of the maintenance interval. In practical applications, these mapping relationships and thresholds can be obtained through expert experience or machine learning methods according to factors such as the type of lock body, usage environment, and maintenance cost.

[0149] When the change in the decay rate is detected, the system automatically queries the mapping relation table and adjusts the time point of the next maintenance within the constraints. The adjusted maintenance plan can be sent to the service personnel and the user can be notified simultaneously.

[0150] In the above embodiments, the segmented processing and statistical feature extraction of the blocked characteristic period data in the stable working interval are performed, realizing the comprehensive evaluation of the working state of the lock body. By calculating the three statistical features of the mean, variance, and skewness within the preset sampling window, the system can characterize the working state of the lock body from multiple dimensions. The mean reflects the overall level of the blocked characteristics, the variance represents the working stability, and the skewness reflects the symmetry of the blocked characteristic distribution. Based on the change trends of these three features, the system can more accurately identify the patterns and speeds of the lock body performance degradation. By dynamically adjusting the maintenance time interval according to the decay rate, the reliability of the lock body performance monitoring is improved, making the maintenance strategy more accurate, ensuring both the reliable operation of the intelligent door lock and optimizing the usage efficiency of the maintenance resources.

[0151] The system in the embodiments of the present invention application will be described from the perspective of hardware processing. Please refer to Figure 3 which is a schematic structural diagram of an entity device of a full-automatic intelligent door lock control system provided by the embodiments of the present application.

[0152] It should be noted that Figure 3 the structure of the system shown is only an example and should not bring any limitations to the functions and usage scopes of the embodiments of the present invention.

[0153] As Figure 3 shown, the system includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 into the random access memory (RAM) 303, such as executing the method in the above embodiments. In the RAM 303, various programs and data required for the system operation are also stored. The CPU 301, ROM 302, and RAM 303 are connected to each other through the bus 304. The input / output (I / O) interface 305 is also connected to the bus 304.

[0154] The following components are connected to the I / O interface 305: an input section 306 including a camera, an infrared sensor, etc.; an output section 307 including a liquid crystal display (LCD), a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.

[0155] Specifically, according to an embodiment of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present invention includes a computer program product that includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for performing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 309, and / or installed from the removable medium 311. When the computer program is executed by a central processing unit (CPU) 301, various functions defined in the present invention are executed.

[0156] It should be noted that the computer-readable medium shown in the embodiments of the present invention can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.

[0157] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. Among them, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code, and the above module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0158] As another aspect, the present invention also provides a computer-readable storage medium, which may be included in the system described in the above embodiments; or may exist alone without being assembled into the system. The above storage medium carries one or more computer programs, and when the above one or more computer programs are executed by a processor of a system, the system implements the method provided in the above embodiments.

[0159] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the various embodiments of the present application.

[0160] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if detecting (the stated condition or event)" can be interpreted as "if determining...", "in response to determining...", "when detecting (the stated condition or event)", or "in response to detecting (the stated condition or event)".

[0161] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state drive), etc.

[0162] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by relevant hardware instructed by a computer program. This program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The foregoing storage media include: various media such as ROM, random access memory (RAM), magnetic disks, or optical discs that can store program codes.

Claims

1. A fully automatic intelligent door lock control method, characterized in that: include: Responding to the user's unlocking command or locking command, obtaining the real-time working signal of the smart door lock; Establishing a blocking characteristic period according to the real-time working signal, wherein the blocking characteristic period is determined by the time interval after three consecutive motor stall signals are detected; At a preset time point before the second period of two adjacent blocking characteristic periods arrives, the driving torque is reduced according to a preset ratio, wherein the preset ratio is determined according to the maximum stall torque in the first blocking characteristic period; When the change trend of the blocking characteristic period shows a decreasing trend, it is determined that the current driving strategy is effective, and the unlocking or locking instruction continues to be executed; When the change trend of the blocking characteristic period shows an increasing trend, a pulse control sequence is established based on the shortest blocking characteristic period recorded; Controlling the motor to actively interrupt driving before stalling by means of the pulse control sequence; Counting the number of active interrupt drive within a preset time period, and when the number exceeds a preset threshold, controlling the smart door lock to give a failure prompt; When the number of times does not exceed the preset threshold, controlling the smart door lock to complete unlocking or locking; Obtaining the blocking characteristic cycle sequence in the previous switch lock process and calculating the change rate of the adjacent blocking characteristic cycles, specifically including: Recording the blocking characteristic period value and the corresponding ambient temperature during each switch lock process; Performing temperature compensation on the blocking characteristic period value according to the ambient temperature; Arrange the compensated blocking characteristic period values ​​in chronological order to form a data sequence; Calculate the difference between two adjacent period values ​​in the data sequence, and divide it by the previous period value to obtain the rate of change; When it is detected that the change rate exceeds the first change rate threshold three times in a row, marking the current time point as a characteristic turning point; Counting the number of switch locks between every two characteristic turning points, and using the number of switch locks as the stable working interval of the blocking characteristic period; When the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, a maintenance prompt is triggered.

2. The method according to claim 1, characterized in that The step of establishing a blocking characteristic period according to the real-time working signal specifically includes: Identify a stall point based on a motor current signal in the real-time working signal, and compare a speed value corresponding to the stall point with a preset speed threshold; When the speed value is greater than the preset speed threshold, it is determined to be a valid stall point; Calculating the time interval between two adjacent effective stall points, and taking the time interval as a stall characteristic period; A weighted average is performed on three consecutive blocking characteristic periods to obtain a final blocking characteristic period.

3. The method according to claim 1, characterized in that The step of decreasing the driving torque according to a preset ratio specifically includes: Obtain the stall torque curve within the first blocking characteristic cycle; identifying a maximum stall torque point and a minimum stall torque point in the stall torque curve; Calculating the difference between the maximum stall torque and the minimum stall torque, dividing the difference by a preset number of decrements to obtain a torque step for each decrement, wherein the torque step is a preset ratio; Starting from a preset time point before the second blocking characteristic period arrives, the driving torque is gradually reduced according to the preset ratio.

4. The method according to claim 1, characterized in that: After triggering the maintenance prompt when the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, the method further includes: Obtain all blocking characteristic cycle data within the current stable working range; Processing all the blocking characteristic periodic data in segments, with the length of each segment being a preset sampling window; Calculating the mean, variance and skewness of the blocking characteristic period in each of the preset sampling windows; Determining a decay rate of a lock body working state based on a change trend of the mean, the variance, and the skewness; A maintenance time interval is adjusted based on the decay rate.

5. The method according to claim 4, characterized in that Determining the decay rate of the lock body working state based on the change trend of the mean, the variance and the skewness specifically includes: Performing a difference operation on the mean sequence within the preset sampling window to obtain a first-order difference sequence; Calculating the cumulative sum of the first-order difference sequence to obtain a cumulative deviation curve; Inflection points are identified on the cumulative deviation curve, and the slopes between adjacent inflection points are taken as the decay rate.

6. A fully automatic intelligent door lock control system, characterized in that: The system comprises: One or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the system to execute the method as described in any one of claims 1-5.

7. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on a system, the system is caused to execute the method according to any one of claims 1 to 5.

8. A computer program product, characterized in that When the computer program product is run on a system, the system is caused to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Full-automatic intelligent door lock control method, system, device, equipment and medium

    CN116386176A

  • Manual and automatic dual-drive intelligent lock

    CN209538863U