CN114019358A - Door handle state detection device and method - Google Patents

Door handle state detection device and method Download PDF

Info

Publication number
CN114019358A
CN114019358A CN202111214727.6A CN202111214727A CN114019358A CN 114019358 A CN114019358 A CN 114019358A CN 202111214727 A CN202111214727 A CN 202111214727A CN 114019358 A CN114019358 A CN 114019358A
Authority
CN
China
Prior art keywords
door handle
angle
state
current
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111214727.6A
Other languages
Chinese (zh)
Inventor
韩天恒
赵春生
范晓群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Lifesmart Technology Co ltd
Original Assignee
Hangzhou Lifesmart Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Lifesmart Technology Co ltd filed Critical Hangzhou Lifesmart Technology Co ltd
Priority to CN202111214727.6A priority Critical patent/CN114019358A/en
Publication of CN114019358A publication Critical patent/CN114019358A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • G01R31/3277Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches
    • G01R31/3278Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches of relays, solenoids or reed switches
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B1/00Knobs or handles for wings; Knobs, handles, or press buttons for locks or latches on wings

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

The invention discloses a door handle state detection device, which is arranged in a door handle and comprises: the setting module is used for presetting the angle of the door handle in an open state and the angle of a closed state; the acquisition module is used for acquiring the current angle of the door handle in real time; the processor is used for respectively comparing the current angle with the angle of the open state and the angle of the closed state, judging that the current state of the door handle is the open state if the current angle is consistent with the angle of the open state, and judging that the current state of the door handle is the closed state if the current angle is consistent with the angle of the closed state; the communication module is used for sending the current state of the door handle to the gateway. By installing the detection device in the door handle, the opening and closing state monitoring of a door or a window in the intelligent home system can be realized at low cost.

Description

Door handle state detection device and method
Technical Field
The invention relates to the technical field of intelligent control of the Internet of things, in particular to a door handle state detection device and method.
Background
With the rapid development of the internet of things technology in recent years, people have higher and higher requirements on household intelligence. The door lock is a necessary product of a family, and is gradually a primary choice for providing intelligence for the family compared with other intelligent products. However, most families generally only use the intelligent door lock for the gate because the price of the intelligent door lock is more expensive than that of the traditional door lock, but the families can use structures similar to the door lock in bedrooms, kitchens, windows and the like besides the large door. In an intelligent home system, the state of a door or a window generally needs to be intelligently monitored. If use current intelligent lock in the family to be used in door or window to the realization is to the state control of door or window, can bring the increase of cost for the user, also does not benefit to the popularization of product market simultaneously.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a door handle state detection apparatus and method, which can implement the monitoring of the opening and closing state of a door or a window in a smart home system at low cost by installing the detection apparatus in a door handle.
To achieve the above object, the present invention provides a door handle state detecting device provided in a door handle, comprising:
the setting module is used for presetting the angle of the door handle in an open state and the angle of a closed state;
the acquisition module is used for acquiring the current angle of the door handle in real time;
the processor is used for respectively comparing the current angle with the angle of the open state and the angle of the closed state, judging that the current state of the door handle is the open state if the current angle is consistent with the angle of the open state, and judging that the current state of the door handle is the closed state if the current angle is consistent with the angle of the closed state;
and the communication module is used for sending the current state of the door handle to the gateway.
Preferably, the first and second liquid crystal materials are,
the communication module receives a setting instruction of a door handle opening position from the APP client;
the acquisition module acquires a first angle of the current door handle;
the setting module sets the first angle to an angle at which the door handle is in an open state.
Preferably, the first and second liquid crystal materials are,
the communication module receives a setting instruction of a door closing position from the APP client;
the acquisition module acquires a second angle of the current door handle;
the setting module sets the second angle as an angle at which the door handle is in an off state.
Preferably, the door handle state detecting device further comprises a calibration timer and a calibration module,
the setting module is used for setting an angle reference value when the door handle is at a calibration reference position;
the calibration timer is used for setting a calibration time;
the communication module receives a calibration instruction from the APP client;
the acquisition module is used for setting the door handle to be at a calibration reference position within the calibration time, and acquiring the angle of the door handle;
the calibration module is used for forming a door handle angle data set by the door handle angle data collected within one second, collecting N door handle angle data sets in total, if two adjacent data in a certain door handle angle data set are inconsistent, discarding the door handle angle data set, otherwise, reserving the door handle angle data set, averaging the reserved multiple door handle angle data sets to obtain an angle average value, and performing difference operation on the angle average value and an angle reference value to obtain an error; and if the degree error is within the threshold value range, the calibration is successful.
Preferably, the door handle state detecting means includes a memory:
the memory stores the error;
the processor is used for summing the current angle and the error to obtain an actual current angle, comparing the actual current angle with the angle of the on state and the angle of the off state respectively, judging that the current state of the door handle is the on state if the actual current angle is consistent with the angle of the on state, and judging that the current state of the door handle is the off state if the actual current angle is consistent with the angle of the off state.
Preferably, the processor includes a wake-up timer and a cache module:
the wake-up timer is used for setting the wake-up time of the door handle state detection device;
the acquisition module acquires the angle of the door handle in real time within the wake-up time;
the cache module caches the door handle angle data acquired each time to acquire a plurality of groups of door handle angle data;
the processor arranges the plurality of groups of door handle angle data based on acquisition time, judges that the position of the door handle is changed if the door handle angle data of two adjacent groups are inconsistent, and keeps the door handle state detection device in an awakening state; otherwise, the position of the door handle is judged not to be changed, and the door handle state detection device is put into a dormant state.
Preferably, when the door handle state detection device is in the wake-up state, the acquired current angle of the door handle is compared with the angle of the open state and the angle of the closed state respectively, and if the acquired current angle of the door handle is consistent with the angle of the open state for three consecutive times, the current state of the door handle is determined to be the open state; and if the angle is consistent with the angle of the off state, judging that the current state of the door handle is the off state.
Preferably, the door handle state detecting device further includes a battery and voltage detecting module:
the battery provides power for the door handle state detection device;
the voltage detection module executes a battery voltage rapid detection mode within a preset voltage detection time after the door handle state detection device is successfully paired and networked, wherein the battery voltage rapid detection mode comprises the following steps: detecting the battery voltage once every a first preset time, and if the variation range of the battery voltage for three times is within a voltage threshold value, taking the battery voltage detected for the last time as a voltage detection result, and exiting from the rapid detection mode; and after exiting the battery voltage rapid detection mode, executing a normal voltage detection mode, wherein the normal voltage detection mode is to detect once every second preset time.
Preferably, the voltage detection module executes the normal voltage detection mode after delaying a third preset time when exiting the battery voltage fast detection mode and when detecting that the door handle state detection device executes the radio frequency transmission.
To achieve the above object, the present invention provides a door handle state detection method, comprising:
presetting the angle of a door handle in an open state and the angle of a closed state;
collecting the current angle of the door handle in real time;
respectively comparing the current angle with the angle of the open state and the angle of the closed state, if the current angle is consistent with the angle of the open state, judging that the current state of the door handle is the open state, and if the current angle is consistent with the angle of the closed state, judging that the current state of the door handle is the closed state;
the current status of the door handle is sent to the gateway.
Compared with the prior art, the door handle state detection device and the door handle state detection method have the beneficial effects that: by installing the detection device in the door handle, the opening and closing state monitoring of a door or a window in the intelligent home system can be realized at low cost; the intelligent door handle monitoring system is suitable for intelligent monitoring of various products with door handles in living environments, and is wide in application range; by carrying out the calibration function on the door handle state detection device, the opening and closing states of the door handle can be reported more accurately, and the satisfaction degree of a user is improved; the door handle state detection device has a low power consumption function, so that the service life of a battery is longer; the technical problem of inaccurate battery voltage measurement is solved, and more accurate battery voltage can be obtained so as to avoid false alarm.
Drawings
Fig. 1 is a system diagram of a door handle state detection apparatus according to an embodiment of the present invention.
FIG. 2 is a system diagram of a door handle condition detection device in accordance with one embodiment of the present invention.
FIG. 3 is a flow chart illustrating a door handle status detection method according to an embodiment of the present invention.
Detailed Description
The present invention will be described in detail with reference to the specific embodiments shown in the drawings, which are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to the specific embodiments are included in the scope of the present invention.
In one embodiment of the present invention shown in fig. 1, the present invention provides a door handle state detection device provided in a door handle, including:
a setting module 10 for setting in advance an angle at which the door handle is in an open state and an angle at which the door handle is in a closed state;
the acquisition module 11 is used for acquiring the current angle of the door handle in real time;
the processor 12 is configured to compare the current angle with the angle in the on state and the angle in the off state, determine that the current state of the door handle is the on state if the current angle is consistent with the angle in the on state, and determine that the current state of the door handle is the off state if the current angle is consistent with the angle in the off state;
and a communication module 13 for transmitting the current status of the door handle to the gateway.
The invention sets the detection device in the door handle, detects the position change of the door handle through the detection device, compares the position change with the preset opening position and closing position of the door handle, thereby being capable of judging the opening and closing state of the door handle and reporting the opening and closing state of the door handle to the gateway in the intelligent home system, so that the gateway can monitor the states of various doors in the user environment. Meanwhile, the user can check the on-off states of the door and the window through the APP client side, or the gateway sends the on-off states to the APP client side, so that the user can know the state change in time. For example, in a rainy day scene, a user wants to know whether a window of a home or a company is closed, the door handle state detection device can directly check whether the window is closed at the APP client side, the user does not need to check the window on the spot, the user can know the opening and closing state, and manpower is saved. The door handle is not only suitable for gates and bedroom doors in general meanings, but also suitable for products such as windows and the like with the door handle capable of being installed, so that the door handle is suitable for various products with the door handle in a living environment, the opening and closing states of the products can be intelligently monitored, and the intelligence of household products is realized.
The door handle state detection device comprises a setting module, an acquisition module, a processor and a communication module. The setting module sets in advance an angle at which the door handle is in an open state and an angle at which the door handle is in a closed state. The angle of the door handle in the opening state and the angle of the door handle in the closing state can be set by a user. The user adjusts the open position and the closed position of the door handle, and the position is set through the APP client. The user adjusts the position of the door handle to the open position, and the open position instruction is set at the APP client. The communication module receives a setting instruction of a doorknob opening position from an APP client side, the acquisition module acquires a first angle of a current doorknob, and the setting module sets the first angle to be an angle of an opening state of the doorknob. Similarly, the user adjusts the position of the door handle to the off position, and the off position command is set at the APP client. The communication module receives a setting instruction of a door handle closing position from the APP client side, the acquisition module acquires a second angle of the current door handle, and the setting module sets the second angle to be an angle of the door handle in a closing state. The angle at which the door handle is in the open state and the angle at which the door handle is in the closed state may be set as reference values by default in the system.
The acquisition module acquires the current angle of the door handle in real time. The acquisition module comprises a three-axis acceleration sensor, and the position of the door handle is positioned by utilizing the three-axis acceleration sensor. The three-axis acceleration sensor measures the acceleration of gravity values in the three axial directions of x, y and z, calculates the acceleration of gravity component on each axis, and converts the acceleration of gravity component into the included angle between each axial direction and the gravity direction, when the position of the door handle changes, the three-axis acceleration sensor of the detection device installed in the door handle measures the change of the included angle between each axial direction and the acceleration of gravity, and therefore the current position of the door handle is positioned. The gravity acceleration components in three axial directions are different according to the position of the triaxial acceleration sensor. For example, when the three-axis acceleration sensor is horizontally placed, the gravity acceleration coincides with the z axis, the gravity acceleration on the z axis is 1g, and the gravity acceleration on the x axis and the y axis is 0 g. When the triaxial acceleration sensor is obliquely arranged, the distribution of the three-axis gravity acceleration changes along with the distribution of the three-axis gravity acceleration, and the included angle between each axial direction and the gravity direction also changes along with the distribution of the three-axis gravity acceleration, so that the current angle of the door handle is obtained.
And the processor respectively compares the current angle with the angle of the on state and the angle of the off state, judges that the current state of the door handle is the on state if the current angle is consistent with the angle of the on state, and judges that the current state of the door handle is the off state if the current angle is consistent with the angle of the off state. For example, the door handle is set to be in an open state angle of 90 degrees on an x-axis, 90 degrees on a y-axis and 0 degrees on a z-axis, and when the current angles of the door handle in the x-axis, the y-axis and the z-axis correspond to 90 degrees on the x-axis, 90 degrees on the y-axis and 0 degree on the z-axis, the current state of the door handle is determined to be in the open state; setting the closing state angle of the door handle as 0 degree on the x axis, 0 degree on the y axis and 180 degrees on the z axis, and judging that the current state of the door handle is the closing state when the angles of the current door handle in the x, y and z axial directions correspond to 0 degree on the x axis, 0 degree on the y axis and 180 degrees on the z axis.
The communication module sends the current status of the door handle to the gateway. The gateway monitors the current state of the door handle and sends the current state of the door handle to the APP client side, so that a user can know the state of the door and the window in time. The communication module may be a Zigbee communication module.
The acceleration sensor has data acquisition errors, and in order to enable the door handle state detection device to accurately report the opening and closing states of the door handle, the door handle state detection device has the function of calibrating data acquired by the sensor. In one embodiment of the present invention as shown in fig. 2, the door handle status detecting apparatus further includes a calibration timer 14 and a calibration module 15. The setting module is also used for setting an angle reference value when the door handle is at the calibration reference position when the door handle state detection device is calibrated. The calibration reference position of the door handle may be set to be a position where the door handle is in an open state, a position where the door handle is in a closed state, or other positions of the door handle. The calibrated reference position of the doorknob can be set by the APP client user himself, and a default value can be set in the device. For example, when the detection device is placed in a horizontal state, namely the door handle calibration reference position is set to be in an off state, the acceleration sensor is used for acquiring acceleration data, and the door handle is calculated to obtain an angle reference value. The calibration instruction is issued to the accessible APP customer end, realizes the calibration to door handle state detection device. The communication module receives a calibration instruction from an APP client. The calibration timer is used for setting calibration time, and after the processor receives a calibration instruction, the timing function of the calibration timer is started to start the calibration function of the detection device. The calibration time was set to 20 seconds. And setting the door handle to be in a calibration reference position in the calibration time, and acquiring the door handle angle by the acquisition module. The calibration module is used for forming a door handle angle data set by the door handle angle data collected within one second, and collecting N door handle angle data sets. And if two adjacent data in a certain door handle angle data group are inconsistent, the calibration module discards the door handle angle data group, otherwise, the door handle angle data group is reserved, the reserved multiple door handle angle data groups are subjected to averaging operation to obtain an angle average value, and the angle average value and an angle reference value are subjected to difference operation to obtain an error. And if the degree error is within the threshold value range, the calibration is successful. The value of N is 50.
In one embodiment of the present invention, the door handle state detection device includes a memory 16 for storing the error. And the processor carries out summation operation on the current angle and the error to obtain an actual current angle, compares the actual current angle with the angle of the on state and the angle of the off state respectively, judges that the current state of the door handle is the on state if the actual current angle is consistent with the angle of the on state, and judges that the current state of the door handle is the off state if the actual current angle is consistent with the angle of the off state. Through calibrating door handle state detection device, the current position of judging door handle that can be accurate, and then the state of judging door handle that can be accurate to the wrong report or miss report are avoided.
In practical application, the door handle state detection device needs to be provided with a battery to provide power for the device, but because the door handle is frequently used, the door handle state detection device needs to consider that the detection device has a low power consumption function. The invention utilizes the wake-up reference to realize the low power consumption function. The processor includes a wake-up timer for setting a wake-up time of the door handle state detection apparatus, for example, setting the wake-up time to 2 seconds, i.e., waking up the door handle state detection apparatus once every 2 seconds, and a cache module. And in the awakening time, the door handle state detection device is in an awakening state, and the acquisition module acquires the angle of the door handle in real time. The cache module caches the door handle angle data acquired every time, and acquires a plurality of groups of door handle angle data. The processor arranges the plurality of groups of door handle angle data based on the acquisition time, and if the door handle angle data of two adjacent groups are inconsistent, the processor judges that the position of the door handle is changed and keeps the door handle state detection device in the awakening state. And after the position of the door handle is judged to be changed, the current angle of the door handle collected by the processor is respectively compared with the angle of the open state and the angle of the closed state, if the current angle of the door handle collected for three times continuously is consistent with the angle of the open state, the current state of the door handle is judged to be the open state, and if the current angle of the door handle is consistent with the angle of the closed state, the current state of the door handle is judged to be the closed state. The communication module sends the current status of the door handle to the gateway. And if the two adjacent groups of door handle angle data in the plurality of groups of door handle angle data are consistent, judging that the position of the door handle is not changed, and enabling the door handle state detection device to enter a dormant state to wait for awakening next time. In the embodiment of the invention, the awakening time is 2S, the acceleration sensor collects 32 groups of acceleration component data of the gravity acceleration on x, y and z axes in 2S, and if the 32 groups of data have different conditions of two adjacent groups of data, the door handle position is changed. Through the three-time comparison, error data caused by other factors can be filtered, interference caused by other factors is effectively filtered, and the accuracy of door handle state reporting is ensured. Through this technical scheme, through actual test, the average about 30 microwatts of whole door handle state detection device uses ordinary dry battery to supply power for detection device, and the battery life can reach a year.
In the product opening process of the door handle state detection device, when the analog-digital conversion chip is used for measuring a battery in the device, the fluctuation of the battery voltage is very large, for example, the voltage value read by the analog-digital conversion chip of a 3.3V button battery is generally 2.7-3.3V, the voltage value measured by a voltmeter is 3.3V, and the analog-digital conversion chip is verified to be normal through various tests and is determined as the problem of the structure of the battery. Whether the battery is a common disposable dry battery or a rechargeable battery, internal resistance exists in the battery, and the circuit structure of the battery can be understood as that a power supply is connected with a resistor (internal resistance) in series, and the voltage of the battery is reduced by increasing the internal resistance or increasing the circuit, so that the influence of the internal resistance voltage on the voltage of the battery is reduced when the accurate measurement of the voltage of the battery is needed. The internal resistance of the battery refers to the resistance received by the current flowing through the battery when the battery works, and comprises ohmic internal resistance and polarization internal resistance. The internal resistance of the battery is not constant and changes with time during the charging and discharging process because the composition of the active material, the concentration of the electrolyte and the temperature are constantly changing. Ohmic internal resistance obeys ohm's law, and polarization internal resistance increases with increasing current density, but is not a linear relationship, and increases linearly with increasing logarithm of current density. The large current will therefore change phase by increasing the temperature and reducing the cell, resulting in an increase in the internal resistance of the cell, resulting in a decrease in the measured cell voltage. The invention provides a voltage detection scheme, and the door handle state detection device further comprises a battery and a voltage detection module. The battery is used for providing power for the door handle state detection device. When the door handle state detection device is successfully paired and networked, the voltage detection module executes a battery voltage rapid detection mode within a preset voltage detection time, wherein the battery voltage rapid detection mode comprises the following steps: and detecting the battery voltage once every a first preset time, and if the variation range of the battery voltage for three times is within a voltage threshold value, taking the battery voltage detected for the last time as a voltage detection result, and exiting the rapid detection mode. And when the battery voltage rapid detection mode exits, executing a normal voltage detection mode, wherein the normal voltage detection mode detects once every second preset time. The voltage detection time was set to 3 minutes. The first preset time is set to 7 seconds. The second predetermined time is one hour. In order to eliminate the influence of large current on voltage detection during device message reporting, after the rapid detection mode of the battery voltage is exited, and when the door handle state detection device is detected to execute radio frequency transmission, a normal voltage detection mode is executed after a third preset time is delayed. The third preset time is set to 10 seconds.
In an embodiment of the present invention shown in fig. 3, the present invention provides a door handle state detection method, including:
s301, presetting an angle of a door handle in an open state and an angle of a door handle in a close state;
s302, collecting the current angle of the door handle in real time;
s303, respectively comparing the current angle with the angle of the open state and the angle of the closed state, if the current angle is consistent with the angle of the open state, judging that the current state of the door handle is the open state, and if the current angle is consistent with the angle of the closed state, judging that the current state of the door handle is the closed state;
s304, sending the current state of the door handle to the gateway.
The angle at which the door handle is in the open state and the angle at which the door handle is in the closed state are set in advance. The door handle is in the angle of open state and the angle of close state, and the angle that sets up the door handle and be in the angle of open state and the angle of close state can be the default setting value of system as the reference value through APP customer end issue setting command. The current angle of the door handle is collected in real time, the gravity acceleration values in the x, y and z axial directions are measured through three-axis acceleration sensing, and the included angle between each axial direction and the gravity direction is calculated, so that the current angle of the door handle is determined. And respectively comparing the current angle with the angle of the open state and the angle of the closed state, if the current angle is consistent with the angle of the open state, judging that the current state of the door handle is the open state, and if the current angle is consistent with the angle of the closed state, judging that the current state of the door handle is the closed state. The current status of the door handle is sent to the gateway. The gateway monitors the current state of the door handle and sends the current state of the door handle to the APP client side, so that a user can know the state of the door and the window in time.
According to an embodiment of the present invention, there is provided a method of verifying a door handle state detection apparatus, which sets an angle reference value when a door handle is at a calibration reference position; receiving a calibration instruction from an APP client; setting the door handle at a calibration reference position within the calibration time, collecting the angle of the door handle, forming a door handle angle data set by the door handle angle data collected within one second, and collecting N groups of door handle angle data sets; and if two adjacent data in a certain door handle angle data group are inconsistent, the calibration module discards the door handle angle data group, otherwise, the door handle angle data group is reserved, the reserved multiple door handle angle data groups are subjected to averaging operation to obtain an angle average value, and the angle average value and an angle reference value are subjected to difference operation to obtain an error. And summing the current angle and the error to obtain an actual current angle, comparing the actual current angle with the angle of the on state and the angle of the off state respectively, if the actual current angle is consistent with the angle of the on state, judging that the current state of the door handle is the on state, and if the actual current angle is consistent with the angle of the off state, judging that the current state of the door handle is the off state. Through calibrating door handle state detection device, the current position of judging door handle that can be accurate, and then the state of judging door handle that can be accurate to the wrong report or miss report are avoided.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.

Claims (10)

1. A door handle state detecting device provided in a door handle, comprising:
the setting module is used for presetting the angle of the door handle in an open state and the angle of a closed state;
the acquisition module is used for acquiring the current angle of the door handle in real time;
the processor is used for respectively comparing the current angle with the angle of the open state and the angle of the closed state, judging that the current state of the door handle is the open state if the current angle is consistent with the angle of the open state, and judging that the current state of the door handle is the closed state if the current angle is consistent with the angle of the closed state;
and the communication module is used for sending the current state of the door handle to the gateway.
2. The door handle state detecting device according to claim 1,
the communication module receives a setting instruction of a door handle opening position from the APP client;
the acquisition module acquires a first angle of the current door handle;
the setting module sets the first angle to an angle at which the door handle is in an open state.
3. The door handle state detecting device according to claim 1,
the communication module receives a setting instruction of a door closing position from the APP client;
the acquisition module acquires a second angle of the current door handle;
the setting module sets the second angle as an angle at which the door handle is in an off state.
4. The door handle state detecting device according to claim 1, further comprising a calibration timer and a calibration module,
the setting module is used for setting an angle reference value when the door handle is at a calibration reference position;
the calibration timer is used for setting a calibration time;
the communication module receives a calibration instruction from the APP client;
the acquisition module is used for setting the door handle to be at a calibration reference position within the calibration time, and acquiring the angle of the door handle;
the calibration module is used for forming a door handle angle data set by the door handle angle data collected within one second, collecting N door handle angle data sets in total, if two adjacent data in a certain door handle angle data set are inconsistent, discarding the door handle angle data set, otherwise, reserving the door handle angle data set, averaging the reserved multiple door handle angle data sets to obtain an angle average value, and performing difference operation on the angle average value and an angle reference value to obtain an error; and if the degree error is within the threshold value range, the calibration is successful.
5. The door handle state detecting device according to claim 4, wherein the door handle state detecting device includes a memory,
the memory stores the error;
the processor is used for summing the current angle and the error to obtain an actual current angle, comparing the actual current angle with the angle of the on state and the angle of the off state respectively, judging that the current state of the door handle is the on state if the actual current angle is consistent with the angle of the on state, and judging that the current state of the door handle is the off state if the actual current angle is consistent with the angle of the off state.
6. The door handle state detection apparatus of claim 1, wherein the processor includes a wake-up timer and a cache module;
the wake-up timer is used for setting the wake-up time of the door handle state detection device;
the acquisition module acquires the angle of the door handle in real time within the wake-up time; the cache module caches the door handle angle data acquired each time to acquire a plurality of groups of door handle angle data;
the processor arranges the plurality of groups of door handle angle data based on acquisition time, judges that the position of the door handle is changed if the door handle angle data of two adjacent groups are inconsistent, and keeps the door handle state detection device in an awakening state; otherwise, judging that the position of the door handle is not changed, and entering the door handle state detection device into a dormant state.
7. The door handle state detecting device according to claim 6,
the processor is used for respectively comparing the collected current angle of the door handle with the angle of the open state and the angle of the closed state when the door handle state detection device is in the awakening state, and judging that the current state of the door handle is the open state if the collected current angle of the door handle is consistent with the angle of the open state for three times; and if the angle is consistent with the angle of the off state, judging that the current state of the door handle is the off state.
8. The door handle state detecting device according to claim 1, further comprising a battery and voltage detecting module:
the battery provides power for the door handle state detection device;
the voltage detection module executes a battery voltage rapid detection mode within a preset voltage detection time after the door handle state detection device is successfully paired and networked, wherein the battery voltage rapid detection mode comprises the following steps: detecting the battery voltage once every a first preset time, and if the variation range of the battery voltage for three times is within a voltage threshold value, taking the battery voltage detected for the last time as a voltage detection result, and exiting from the rapid detection mode; and after exiting the battery voltage rapid detection mode, executing a normal voltage detection mode, wherein the normal voltage detection mode is to detect once every second preset time.
9. The door handle state detecting apparatus of claim 8, wherein the voltage detecting module performs the normal voltage detecting mode after a third preset time is delayed when exiting the battery voltage rapid detecting mode and when detecting that the door handle state detecting apparatus performs the rf transmission.
10. A door handle state detection method, comprising:
presetting the angle of a door handle in an open state and the angle of a closed state;
collecting the current angle of the door handle in real time;
respectively comparing the current angle with the angle of the open state and the angle of the closed state, if the current angle is consistent with the angle of the open state, judging that the current state of the door handle is the open state, and if the current angle is consistent with the angle of the closed state, judging that the current state of the door handle is the closed state;
the current status of the door handle is sent to the gateway.
CN202111214727.6A 2021-10-19 2021-10-19 Door handle state detection device and method Pending CN114019358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111214727.6A CN114019358A (en) 2021-10-19 2021-10-19 Door handle state detection device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111214727.6A CN114019358A (en) 2021-10-19 2021-10-19 Door handle state detection device and method

Publications (1)

Publication Number Publication Date
CN114019358A true CN114019358A (en) 2022-02-08

Family

ID=80056400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111214727.6A Pending CN114019358A (en) 2021-10-19 2021-10-19 Door handle state detection device and method

Country Status (1)

Country Link
CN (1) CN114019358A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101598767A (en) * 2008-06-04 2009-12-09 丹东奥龙射线仪器有限公司 The detection method of the X-ray tube pipeline crawler energy content of battery
CN103223948A (en) * 2013-04-26 2013-07-31 株洲南车时代电气股份有限公司 Locomotive voltage collecting and recording system
CN107175994A (en) * 2017-06-19 2017-09-19 江西昌河汽车有限责任公司 The control method and system of a kind of tire pressure monitoring sensor
CN109064612A (en) * 2018-09-07 2018-12-21 深圳中泰智丰物联网科技有限公司 Smart motion door lock
CN109270467A (en) * 2017-07-18 2019-01-25 美的智慧家居科技有限公司 The battery electricity detection method and device of equipment
CN109707232A (en) * 2018-11-14 2019-05-03 杭州柚家科技有限公司 A kind of door lock state detection method, intelligent door lock and storage medium
CN111911003A (en) * 2020-08-05 2020-11-10 美新半导体(天津)有限公司 Intelligent door lock capable of automatically unlocking and unlocking judging method
CN113496560A (en) * 2020-03-21 2021-10-12 云丁网络技术(北京)有限公司 Intelligent lock control method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101598767A (en) * 2008-06-04 2009-12-09 丹东奥龙射线仪器有限公司 The detection method of the X-ray tube pipeline crawler energy content of battery
CN103223948A (en) * 2013-04-26 2013-07-31 株洲南车时代电气股份有限公司 Locomotive voltage collecting and recording system
CN107175994A (en) * 2017-06-19 2017-09-19 江西昌河汽车有限责任公司 The control method and system of a kind of tire pressure monitoring sensor
CN109270467A (en) * 2017-07-18 2019-01-25 美的智慧家居科技有限公司 The battery electricity detection method and device of equipment
CN109064612A (en) * 2018-09-07 2018-12-21 深圳中泰智丰物联网科技有限公司 Smart motion door lock
CN109707232A (en) * 2018-11-14 2019-05-03 杭州柚家科技有限公司 A kind of door lock state detection method, intelligent door lock and storage medium
CN113496560A (en) * 2020-03-21 2021-10-12 云丁网络技术(北京)有限公司 Intelligent lock control method and system
CN111911003A (en) * 2020-08-05 2020-11-10 美新半导体(天津)有限公司 Intelligent door lock capable of automatically unlocking and unlocking judging method

Similar Documents

Publication Publication Date Title
US20220211303A1 (en) Method and System for Providing Calibration of an Analyte Sensor in an Analyte Monitoring System
CN107907832B (en) Metering instrument battery residual capacity calculation method
US20100315037A1 (en) Resistor testing circuit and battery charger including resistor testing circuit
US9645200B2 (en) Battery power measuring method, measuring device and battery-powered equipment
CN110196075A (en) A kind of environmental test equipment calibration long-range temperature and humidity test system and test method
Serra et al. Domestic power consumption measurement and automatic home appliance detection
CN109471036B (en) Battery evaluation and early warning method for sensor network node
CN107015153B (en) Voltage and current sampling control method for storage battery SOH
US20220384858A1 (en) Battery monitoring system
CN109100322A (en) Food near-infrared spectrum rapid detection method and portable detector based on temperature self-correcting
CN114019358A (en) Door handle state detection device and method
CN106289578A (en) A kind of temperature sensor intelligent checking system
CN115917337A (en) Method and apparatus for voltage droop detection and temperature compensation of low battery voltage thresholds in medical devices
CN116918131A (en) Tracking state of charge of non-rechargeable batteries using impedance spectroscopy
CN117284151A (en) Method and system for monitoring battery power of self-adaptive new energy vehicle
CN106197759B (en) A kind of temperature sensor control system
CN114323179A (en) Non-magnetic metering filtering method and device for intelligent water meter
CN108318940A (en) A kind of enviromental monitoring equipment
Li et al. The development of a wireless sensor network sensing node utilising adaptive self-diagnostics
CN112068067A (en) On-load error detection system of epitope isolation transformer of assembly line metrological verification device
CN116625550B (en) Wrist body temperature dynamic monitoring method based on intelligent watch
CN111121987A (en) Special refrigerator temperature monitoring system of hospital
CN113075556B (en) Battery voltage early warning threshold evaluation method, wireless sensor and sensor network
Chen et al. Design of the Highly Integrated Indoor Environment Monitoring System with Dual Data Transmission Mode Based on the Interconnect of Things
CN216899049U (en) Intelligent water meter non-magnetic metering filtering equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination