Apparatus for detecting the position of window handles or door handles based on the sensing of magnetic fields, and operating method for it
10400473 ยท 2019-09-03
Assignee
Inventors
- Fernando Suarez Lainez (Reutlingen, DE)
- Christoph Volk (Munich, DE)
- Frank Schindler (Reutlingen, DE)
- Juan Nogueira-Nine (Stuttgart, DE)
- Wolf-Bastian Poettner (Stuttgart, DE)
Cpc classification
E05B17/22
FIXED CONSTRUCTIONS
International classification
G01B7/14
PHYSICS
Abstract
An apparatus for detecting the position of window handles or door handles, the apparatus including a magnetic-field sensor and a microcontroller unit, the microcontroller unit being designed to read out data from the magnetic-field sensor, to record a magnetic fingerprint for at least one window-handle/door-handle position, and to detect the at least one window-handle/door-handle position by comparing data of the magnetic-field sensor with the recorded magnetic fingerprint. An operating method for such a window handle or door handle is also described.
Claims
1. An apparatus for detecting the position of a window handle or a door handle, comprising: a magnetic-field sensor; and a microcontroller unit configured to read out data from the magnetic-field sensor, to record a magnetic fingerprint for at least one window-handle position and/or door-handle position, and to detect the at least one window-handle position and/or door-handle position by comparing data of the magnetic-field sensor with the recorded magnetic fingerprint; wherein the magnetic field sensor is installed in a sensor location separate from a location of the window-handle and/or door-handle, so that the magnetic field sensor is alignable with a ferromagnetic part of a window-handle mechanism and/or door-handle mechanism, which are controlled by the window-handle and/or door-handle.
2. The apparatus of claim 1, wherein the ferromagnetic part includes a pin of a locking mechanism.
3. The apparatus of claim 1, wherein the ferromagnetic part includes a sliding pin of a locking mechanism.
4. An method for operating an apparatus for detecting the position of a window handle or a door handle the method comprising: reading out data from magnetic-field sensor, wherein the apparatus includes the magnetic-field sensor, and a microcontroller unit configured to read out data from the magnetic-field sensor, to record a magnetic fingerprint for at least one window-handle/door-handle position, and to detect the at least one window-handle/door-handle position by comparing data of the magnetic-field sensor with the recorded magnetic fingerprint; recording a magnetic fingerprint for at least one window-handle/door-handle position; and detecting the at least one window-handle/door-handle position by comparing data of the magnetic-field sensor with the recorded magnetic fingerprint; wherein the magnetic field sensor is installed in a sensor location separate from a location of the window-handle and/or door-handle, so that the magnetic field sensor is alignable with a ferromagnetic part of a window-handle mechanism and/or door-handle mechanism, which are controlled by the window-handle and/or door-handle.
5. The method of claim 4, wherein the ferromagnetic part includes a pin of a locking mechanism.
6. The method of claim 4, wherein the ferromagnetic part includes a sliding pin of a locking mechanism.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
(3)
(4) The present invention is realized as an apparatus (or part of an apparatus), which is mounted statically on the frame of a window/door or integrated into it, and includes the following components:
(5) A sensor 10, which measures magnetic fields in various axes. A magnetometer sensor may be installed in a certain position 100, for example, at the bottom or top on the frame of the window/door. Changes in handle lever position 220 place sliding pins 210 of window locking mechanism 200 into certain positions.
(6) The sensor may be aligned with the ferromagnetic parts of the inner sliding mechanism, which are controlled by the window handle/door handle. This makes it possible to detect the present state of the window handle/door handle, and thereby to warn the user if a window/door is closed but not locked.
(7) A microcontroller unit 20, which is integrated together with the sensor. The controller communicates with the sensor in order to request measurements, and executes the software that contains the detection algorithms.
(8) Algorithm 1310, a part of software 300 which runs on the microcontroller, is used to take fingerprints of magnetometer-sensor measured values. The algorithm makes it possible to take fingerprints based on magnetic-sensor data and to store them. Furthermore, it permits the comparison of the current magnetic-sensor measured-value data with the stored fingerprints. The present measurement and a fingerprint are regarded as alike if their difference lies below a configurable threshold.
(9) Algorithm 2320, a part of software 300 which runs on the microcontroller, uses algorithm 1 to determine the present position of the window handle/door handle. The algorithm is able to determine various position states: Handle for window/door locked in closed position; handle for window/door unlocked in open position; handle for window/door in tilt position (and other states, if usable on a special window/door), based on the similarity of the present measurement with the stored fingerprints.
(10) A wire-bound or wireless connectivity interface 400 (e.g., Bluetooth), which is used to transport the state of the window handle/door handle that was determined by the algorithm, to another application (actuator, access-control process, etc.).
(11) While software 300 is running, magnetometer sensor 10 periodically provides measurements, and the algorithm conditions the signals by a filtering process in order to reduce noise or unwanted data values.
(12) At the beginning, the application enables the user to record specific window handle/door handle states based on the measured magnetic field in each specific handle position. These values are then stored and used as fingerprints. As soon as fingerprints have been taken of all desired positions, the software starts the monitoring process, during which, in each iteration, the implemented algorithm evaluates the instantaneous sensor measurement and assesses whether or not it agrees with any of the recorded fingerprints. As a result, the software is able to detect and report the correct handle position.
(13) In order to improve the result, the algorithm may automatically update the fingerprints, in the event magnetic distortions impair the system. This is carried out in an automatic calibration process that communicates with the algorithm.
(14)
REFERENCE NUMERAL LIST
(15) 10 Sensor 100 Sensor position 20 Microcontroller unit 200 Window locking mechanism 210 Sliding pin 220 Handle position 300 Software 310 Algorithm 1 320 Algorithm 2 400 Wire-bound or wireless connectivity interface 500 Start 505 Initialization 510 Read out xyz-measurements of the magnetometer 515 Filtering process 520 Decision: Fingerprints recorded? 522 Record magnetic fingerprint for present position 525 Handle-position monitoring process 530 Decision: Do the sensor measurements agree with fingerprint 1? 532 Handle is in locked closed position 535 Decision: Do the sensor measurements agree with fingerprint 2? 538 Handle is in unlocked open position 540 Decision: Do the sensor measurements agree with fingerprint 3? 542 Handle is in unlocked tilt position 545 Position not yet determined 550 Report present handle position 590 End