APPARATUS FOR DETECTING THE POSITION OF WINDOW HANDLES OR DOOR HANDLES BASED ON THE SENSING OF MAGNETIC FIELDS, AND OPERATING METHOD FOR IT

20180051479 ยท 2018-02-22

    Inventors

    Cpc classification

    International classification

    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-2. (canceled)

    3. An apparatus for detecting the position of window handles or door handles, the apparatus comprising: a magnetic-field sensor; and a microcontroller unit 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.

    4. An operating method for an apparatus for detecting the position of window handles or door handles including a magnetic-field sensor, and a microcontroller unit 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, the method comprising: reading out of data from the magnetic-field sensor; 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.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0019] FIG. 1 shows a window and a sensor according to the present invention.

    [0020] FIG. 2 in a flowchart, shows an example of the operating method according to the present invention.

    DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS

    [0021] FIG. 1 shows a window and a sensor according to the present invention. The object of the present invention is to detect the present position of a window handle/door handle by sensing magnetic fields, without the use of additional parts such as reed switches, magnets or additional mechanical components. This is realized by placing a magnetometer sensor in a carefully thought-out position close to the window/door locking mechanism where, based on moving ferromagnetic parts that are responsible for the locking/unlocking operations of the window/door (handle drive equipment), the sensor is able to measure changes in the magnetic field. The locking mechanism determines whether the window/door is able to attain one of the following states: open, closed, or tilted (naturally, more states are possible and are likewise able to be detected). Reference to FIG. 1. The determined state may then be reported via communication means like, for instance, wire-bound or wireless (Bluetooth, Wi-Fi, zigbee, Lora, . . . ) to another application.

    [0022] 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:

    [0023] 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.

    [0024] 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.

    [0025] 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.

    [0026] 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.

    [0027] 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.

    [0028] 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.

    [0029] 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.).

    [0030] 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.

    [0031] 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.

    [0032] 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.

    [0033] FIG. 2, in a flowchart, shows an example of the operating method according to the present invention. The operating method according to the invention functions in this example as follows:

    [0034] 500 Start

    [0035] 505 Initialization

    [0036] 510 Read out xyz-measurements of the magnetometer

    [0037] 515 Filtering process

    [0038] 520 Decision: Fingerprints recorded?

    [0039] 522 Record magnetic fingerprint for present position

    [0040] 525 Handle-position monitoring process

    [0041] 530 Decision: Do the sensor measurements agree with fingerprint 1?

    [0042] 532 Handle is in locked closed position

    [0043] 535 Decision: Do the sensor measurements agree with fingerprint 2?

    [0044] 538 Handle is in unlocked open position

    [0045] 540 Decision: Do the sensor measurements agree with fingerprint 3?

    [0046] 542 Handle is in unlocked tilt position

    [0047] 545 Position not yet determined

    [0048] 550 Report present handle position

    [0049] 590 End

    REFERENCE NUMERAL LIST

    [0050] 10 Sensor

    [0051] 100 Sensor position

    [0052] 20 Microcontroller unit

    [0053] 200 Window locking mechanism

    [0054] 210 Sliding pin

    [0055] 220 Handle position

    [0056] 300 Software

    [0057] 310 Algorithm 1

    [0058] 320 Algorithm 2

    [0059] 400 Wire-bound or wireless connectivity interface

    [0060] 500 Start

    [0061] 505 Initialization

    [0062] 510 Read out xyz-measurements of the magnetometer

    [0063] 515 Filtering process

    [0064] 520 Decision: Fingerprints recorded?

    [0065] 522 Record magnetic fingerprint for present position

    [0066] 525 Handle-position monitoring process

    [0067] 530 Decision: Do the sensor measurements agree with fingerprint 1?

    [0068] 532 Handle is in locked closed position

    [0069] 535 Decision: Do the sensor measurements agree with fingerprint 2?

    [0070] 538 Handle is in unlocked open position

    [0071] 540 Decision: Do the sensor measurements agree with fingerprint 3?

    [0072] 542 Handle is in unlocked tilt position

    [0073] 545 Position not yet determined

    [0074] 550 Report present handle position

    [0075] 590 End