Method for ascertaining operation of door or window in one or more rooms
By calculating the rate of change and global extreme value of the pressure sensor at multiple time points, combined with threshold comparison, the difficulty of identifying windows or doors in multiple rooms is solved, and reliable monitoring and small monitoring of multiple windows and/or doors is achieved. Operational identification of energy consumption.
Patent Information
- Application Number
- CN202380036519.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-04-25
- Filing Date
- 2023-04-19
- Publication Date
- 2024-12-06
AI Technical Summary
Due to natural pressure fluctuations, interference effects and signal drift, it is difficult to obtain windows or doors from pressure sensor signals in multiple rooms, especially when only one pressure sensor is to monitor the operation of multiple doors and/or windows. .
By detecting pressure values at multiple time points, calculating the sum of the first and second order absolute rate of change, the global maximum and minimum values within the time window are determined, the local extreme values are identified based on these values, and compared with the threshold to determine the gate or window operation.
Reliable monitoring of multiple windows and/or doors is achieved, reducing the influence of sensor drift and background noise, enabling identification of operational events with small energy consumption, and without requiring sensors to be directly close to windows or doors.
Smart Images

Figure CN119096277A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for ascertaining an actuation of a door or a window in one or more rooms by means of a pressure sensor arranged in one of one or more rooms.
[0002] The invention further relates to an ascertainment device which is designed to ascertain an actuation of a door or a window in one or more rooms by means of a pressure sensor arranged in one of the one or more rooms. Background Art
[0003] It is known that the opening or closing of windows and doors in a room can cause sudden pressure changes. This pressure change can be measured by means of a pressure sensor.
[0004] However, due to natural pressure fluctuations, interference effects and signal drift, it is difficult to determine the actuation of a window or door from the pressure sensor signal, in particular if only one pressure sensor is to monitor the actuation of multiple doors and / or windows. Summary of the invention
[0005] In one embodiment, the invention provides a method for ascertaining an actuation of a door or window in one or more rooms by means of a pressure sensor arranged in one of the one or more rooms, comprising the steps of:
[0006] - Detecting pressure values at multiple time points with the help of a pressure sensor;
[0007] - determining the sum of the first-order absolute rates of change of the temporally most recent pressure values and determining the sum of the second-order absolute rates of change at the plurality of time points;
[0008] -Determine the global maximum and minimum of the sum of the rates of change within a time window;
[0009] - identifying local extrema of the sum of first-order absolute rates of change and / or the sum of second-order absolute rates of change based on the global maximum and minimum of the sum within the time window;
[0010] - determining a gate and / or window operation by comparing the determined local extrema with a threshold value.
[0011] In one embodiment, the present invention provides a determination device, which is configured to determine an operation of a door or a window in one or more rooms by means of a pressure sensor arranged in one of the one or more rooms, comprising:
[0012] a detection device, designed to detect pressure values at a plurality of points in time by means of a pressure sensor;
[0013] a first determination device, which is designed to determine the sum of first-order absolute rates of change of temporally most recent pressure values at a plurality of points in time and / or to determine the sum of second-order absolute rates of change;
[0014] - a second determination device configured to determine a global maximum and a global minimum of the sum of the rates of change within the time window;
[0015] - an identification device configured to identify local extrema of the sum of first-order absolute rates of change and the sum of second-order absolute rates of change based on global maxima and minima of the sum within a time window;
[0016] An ascertainment device is designed to determine an actuation event of a door and / or window by means of a comparison of the ascertained local extreme value with a threshold value.
[0017] A door is understood to be a door between two interior rooms of a building, between an interior room and a corridor of a building and / or between an interior room and the surroundings outside the building.
[0018] In particular, the method makes it possible to monitor a plurality of windows and / or doors, in particular to monitor whether at least one of the windows and / or doors is operated.
[0019] One of the advantages achieved thereby is that the actuation of windows or doors in one or more rooms can be determined in a reliable manner. Another advantage is that the actuation of multiple windows and / or doors can be determined by only one pressure sensor. Furthermore, the pressure sensor can be arranged at a distance from the window or door, in particular not directly adjacent to the window or door. Furthermore, the influence of sensor drift and background noise on the signal quality of the pressure sensor can be reduced. Furthermore, the actuation of windows or doors can be determined with minimal energy consumption.
[0020] The concept of "obtaining the operation of doors and / or windows" is defined as detecting the operation events of doors and / or windows, especially the conversion of doors and / or windows from a closed state to an open state or vice versa. In addition, obtaining is also understood as the classification of operation events, especially whether the window and / or door is opened or closed.
[0021] A first-order rate of change is defined as the mathematical rate of change of a function through a range of values, specifically the derivative of a function through a range of values. A second-order rate of change is defined as the mathematical rate of change of a function through a range of values, specifically the second-order derivative of a function through a range of values.
[0022] The time window is defined as a time interval, which includes a plurality of time points, and the time window particularly includes a plurality of recent time points at which pressure values are measured. For example, the time window may be 2 to 5 seconds.
[0023] Additional features, advantages and further embodiments of the invention are described below or are disclosed thereby.
[0024] According to an advantageous development of the invention, the detected pressure value is filtered by an edge-preserving filter, in particular a bilateral filter. Alternatively or additionally, a total variation filter can be used. Background noise can be filtered out from the pressure signal value by the edge-preserving filter. This has the advantage that the operation of the window or door can be reliably determined from the pressure signal value. By using an edge-preserving filter, changes in the pressure signal value can be particularly easily and reliably detected.
[0025] According to an advantageous development of the invention, when an operation is detected, the detection of the operation is interrupted for a period of 5 seconds, preferably 3 seconds. The pressure signal value after the operation is detected can have a high variance, so that multiple false operations can be detected, although only one operation of a window or door has occurred. By interrupting the method for a period of time, erroneous determinations can be reduced in a simple manner.
[0026] According to an advantageous development of the invention, the operation is determined based on additional statistical characteristics, in particular the standard deviation of the detected pressure values, the number of times a mean value is exceeded and / or the ratio of the maximum and minimum pressure values. This has the advantage that the operation of the window or door can still be reliably determined. The additional statistical characteristics mentioned allow the determined operation to be verified and / or to be arranged more accurately. The additional statistical characteristics can be analyzed similarly to the sum of the absolute rates of change of the maximum and minimum values within a time window. In particular, the maximum and minimum values can be used for the calculation of threshold values for the statistical characteristics.
[0027] According to an advantageous development of the invention, the topology of one or more rooms is taken into account for determining the operation. The topology of the room includes in particular the floor plan, the height, position, and inclination of the walls in the room, the arrangement of windows and doors, i.e. the position and orientation, and the arrangement of pressure sensors in the room. Furthermore, the topology includes in particular the closing direction of the windows and doors - opening inwards or outwards. This makes it easier to determine the operation of the window or door, in particular whether the window or door is closed or open.
[0028] According to an advantageous extension of the present invention, a threshold value is determined with the aid of historical data and / or machine learning. The threshold value is used to distinguish whether a local extreme value of the pressure value means that the window or door is operated, or whether it is only caused by ambient noise. A single operation may not be recognized by a too high threshold value, especially when the operated window or the operated door is at a large distance relative to the pressure sensor. On the contrary, a smaller threshold value increases the number of false positive operations. By determining the threshold value based on historical data and / or machine learning, the probability of false operations or undetected operations can be reduced. In particular, in order to determine the threshold value, it can be based on data sets of different scenarios, such as different opening and closing processes, different distances between the window and the pressure sensor, additional ventilation by a fan, etc. If multiple statistical feature numbers are used to obtain the operation of a window or door, a threshold value can be determined for each statistical feature number, especially based on historical data and / or machine learning.
[0029] According to an advantageous development of the invention, between 1 and 100, in particular between 10 and 50, preferably between 20 and 30 pressure values are measured per second. The operation of the window or door can thereby be reliably ascertained and the energy requirement of the method can be reduced at the same time.
[0030] According to an advantageous development of the invention, the determination of the operation includes determining the distance between the pressure sensor and the window or door, determining the speed of the window or door and / or determining the closing direction of the window or door. Additional information about the operation of the window or door can be obtained based on the analyzed pressure signal, especially taking into account the topology of the room. In particular, by comparing the pressure signal with a historical or learned known pressure signal, information such as the distance between the pressure sensor and the open window can be determined.
[0031] Further important features and advantages of the invention emerge from the dependent claims, the drawings and the associated description of the figures.
[0032] It goes without saying that the features mentioned above and those yet to be explained below can be used not only in the respectively specified combination but also in other combinations or alone without departing from the scope of the present invention.
[0033] Preferred embodiments and embodiments of the invention are depicted in the drawings and are explained in more detail in the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In the attached figure
[0035] Figure 1 The steps of the method according to an embodiment of the present invention are shown in schematic form;
[0036] Figure 2 A diagram showing a change curve of a pressure value according to an embodiment of the present invention is shown in schematic form;
[0037] Figure 3 A variation curve diagram of the pressure value after filtering according to an embodiment of the present invention is shown in a schematic form;
[0038] Figure 4 A variation curve diagram of the sum of absolute rates of change of pressure values according to an embodiment of the present invention is shown in schematic form;
[0039] Figure 5 A threshold comparison curve diagram according to an embodiment of the present invention is shown in schematic form;
[0040] Figure 6 A room with a requesting device according to one embodiment of the invention is shown in schematic form. DETAILED DESCRIPTION
[0041] Figure 1 The steps of a method according to an embodiment of the invention are shown in schematic form.
[0042] exist Figure 1 The steps of a method for ascertaining an actuation of a door or window in one or more rooms by means of a pressure sensor arranged in one of a plurality of rooms are shown in FIG.
[0043] In step S1, pressure values are detected at multiple time points by means of a pressure sensor. The pressure sensor can have a sampling rate of 25 Hz, for example. The pressure sensor detects the pressure at multiple time points so that an operation of the window or door can be inferred from the variation curve. The pressure values can be smoothed by an edge-preserving filter to remove ambient noise.
[0044] In step S2, the sum of the first-order absolute change rates and the sum of the second-order absolute change rates of the temporally most recent pressure values are determined at a plurality of time points. To this end, the first-order change rate, in particular the value of the first-order derivative, and the second-order change rate, in particular the value of the second-order derivative, are first determined from the change curves of the pressure values at a plurality of time points. Then the temporally most recent, quantitatively most recent, value is determined. The sum of the first-order rates of change. This means, in particular, that the rates of change in quantity are summed for the most recent 50-300, preferably 100-200, measured pressure values. Similarly, the sum of the temporally most recent second-order rates of change in quantity is determined. Thus, a curve of the sum of the first- and second-order rates of change in quantity is obtained over a plurality of time points.
[0045] In step S3, the global maximum and minimum values of the sum of the rates of change within the time window are determined. The limits of the rate of change within the time window are determined by the global maximum and minimum values. This can reduce the influence of ambient pressure fluctuations or sensor drift, for example, because a possible "basic change" in pressure can be taken into account when determining the operation of the door or window. In particular, the height of the detected extreme value and the "basic change" in pressure can be compared in order to be able to determine the relevant possible operation of the window or door. In a similar manner, the global maximum and minimum values of other statistical characteristics (such as the standard deviation or the peak-to-valley ratio) can also be taken into account.
[0046] In step S4, local extreme values of the sum of first-order absolute rates of change and / or the sum of second-order absolute rates of change are identified based on the global maximum and minimum values of the sum in the time window. In particular, possible operations of the window or door can be determined with the help of the local maximum of the first-order rates of change. Local extreme values that are close to the minimum of the sum and far from the maximum of the sum, i.e., small compared to the values in the time window, can be disregarded, since these local extreme values may not be caused by the operation of the window or door.
[0047] In step S5, the operation of the door and / or window is determined by comparing the determined local extrema with a threshold value. The determined local extrema indicate a possible operation, but may also be a false positive result. False positive results are reduced by comparison with the threshold value. If the value of the local extrema is in particular greater than the threshold value, an operation of the window or door may have been performed. The determination may also include a classification of the operation. For example, it can be determined by means of the sum of the absolute second-order rates of change and / or by means of the corresponding pressure value whether the window or door is opened or closed. It is possible that, in addition to the sum of the rates of change, other statistical characteristics derived from the pressure value are compared with the threshold value to improve the reliability of the method.
[0048] Figure 2 A variation curve diagram of pressure values according to an embodiment of the present invention is shown in a schematic form.
[0049] exist Figure 2 A variation curve diagram 200 of a pressure value 203 is described in FIG. Such a variation curve can be obtained, for example, according to Figure 1 The pressure value detected in step S1 is generated. The time in s (seconds) is shown on the X-axis 201 and the pressure in hPa (hPa) is shown on the Y-axis 202. There are two amplitudes 204, 205, which can be used to infer an operating event. Thus, a local maximum 204 is first visible, and a local minimum 205 is seen later in time. This can mean, for example, that the opening of a door or window is followed by its closing.
[0050] Figure 3 A variation curve diagram of the filtered pressure value according to an embodiment of the present invention is shown in a schematic form.
[0051] exist Figure 3 The variation curve 300 of the filtered pressure value 303 is described in FIG. Figure 2 The curve of the pressure value 203 is obtained by smoothing the curve. The X-axis shows the time in seconds and the Y-axis shows the pressure in hPa. Two amplitudes 304 and 305 can be seen, which can be used to infer possible operating events.
[0052] Figure 4 A variation curve diagram of the sum of absolute change rates of pressure values according to an embodiment of the present invention is shown in a schematic form.
[0053] exist Figure 4 The change curve diagram 400 of the sum of the absolute change rates of the pressure values 403 is shown in FIG. Such a change curve can be obtained, for example, according to Figure 1 The sum of the first order absolute rates of change of step S2 is calculated. The time in seconds is depicted on the X-axis and the dimensionless rate of change of the absolute sum is depicted on the Y-axis. Two amplitudes 404, 405 are visible, which indicate possible operation. By using the Figure 3 The filtered pressure change curve can have a smaller sum of the first-order change rates of the pressure values than the unfiltered pressure change curve, and the extreme values can be more clearly seen.
[0054] Figure 5 A graph with a threshold comparison according to an embodiment of the present invention is shown in schematic form.
[0055] exist Figure 5 5 shows a curve diagram 500 with a comparison of statistical characteristic numbers and threshold values. Such a curve diagram can be obtained, for example, according to Figure 1 Step S5 of the method compares the obtained local extrema with the threshold values. The dimensionless sum of the first-order absolute change rates of the pressure values is shown on the X-axis 501, the dimensionless peak-to-valley ratio of the pressure values is shown on the Y-axis 502, and the standard deviation of the pressure values is shown on the Z-axis 503. In the graph 500, the threshold 505 of the sum of the first-order absolute change rates, the threshold 501' of the peak-to-valley ratio, and the threshold 505" of the standard deviation are shown as planes. Some of the identified local extrema 504 are above all three thresholds. Therefore, these local extrema 504 correspond to windows or doors being operated.
[0056] In order to classify a local extremum as an operation, it can be required that all used statistical characteristics are above a corresponding threshold value or at least a subset of the statistical characteristics are above a corresponding threshold value. These threshold values can be determined, for example, based on historical data and / or with the aid of machine learning. It is also possible that the threshold value of a statistical characteristic value is dependent on other statistical characteristics values. In this case, the planes 505, 505' and 505" will not be perpendicular to the axis, but will be inclined or curved.
[0057] The number and type of statistical characteristic numbers used for determining the operation of the window or door can be determined according to Figure 5 For example, 1 to 5 statistical features can be used to obtain the operation. Figure 5 In addition to the statistical characteristic numbers shown in , possible statistical characteristic numbers are the sum of the second-order absolute rates of change or the number of crossings over the mean value.
[0058] Figure 6 A room with a requesting device according to an embodiment of the present invention is shown in schematic form.
[0059] Figure 6 A room 600 is shown with a window 601, a pressure sensor 602 and an ascertainment device 603. The ascertainment device 603 is designed to ascertain an actuation of the window 601 in the room 600 by means of the pressure sensor 602 arranged in the room. The ascertainment device 603 comprises a detection device 604, which is designed to detect pressure values at a plurality of points in time by means of the sensor 602, corresponding to the pressure values according to Figure 1 The determining device 603 further comprises a determining device 605, which is configured to determine the sum of the first-order absolute change rates and the sum of the second-order absolute change rates for the temporally closest pressure values at multiple time points, corresponding to the sum of the first-order absolute change rates according to Figure 1 The obtaining means 603 further comprises a second determining device 606, which is configured to determine a global maximum and a minimum of the sum of the rates of change within the time window, corresponding to the values according to Figure 1 In addition, the obtaining device 603 includes an identification device 607, which is configured to identify the local extreme value of the sum of the first-order absolute change rate and / or the sum of the second-order absolute change rate based on the global maximum and minimum values of the sum in the time window, corresponding to the local extreme value of the sum of the first-order absolute change rate and / or the sum of the second-order absolute change rate according to Figure 1 Step S4, and comprising an ascertainment device 608, which is configured to ascertain an operation event of a door and / or a window based on a comparison of the ascertained local extreme value with a threshold value, corresponding to Figure 1 Step S5.
[0060] If the window 601 or the door (not shown) is opened or closed, pressure fluctuations are generated in the room 600, which can be detected by the pressure sensor 602. The pressure sensor 602 supplies data about the pressure to the determination device 603, which determines whether the pressure fluctuation is caused by the operation of the window 601. It is possible that the pressure sensor 602 and the determination device 601 form a unit.
[0061] The pressure sensor 602 is arranged in particular at a fixed position in the room 600 .
[0062] It is also possible to arrange a plurality of windows 601 or doors in the room 600 or in a plurality of rooms 600 , for which an operation can be requested.
[0063] In summary, at least one embodiment of the present invention has at least one of the following features and / or provides at least one of the following advantages:
[0064] -Reliable detection of door or window operation;
[0065] -More energy-efficient operation;
[0066] -Monitor multiple windows / doors with one pressure sensor.
[0067] Although the invention has been described with reference to preferred exemplary embodiments, it is not restricted to these embodiments but can be modified in many ways.
Claims
1. A method for determining an operation of a door or window (601) in one of one or more rooms (600) by means of a pressure sensor (602) arranged in one of the one or more rooms (600), comprising the following steps: - detecting (S1) pressure values (203) at a plurality of time points by means of the pressure sensor (602); - determining (S2) a sum of first-order absolute rates of change (403) and a sum of second-order absolute rates of change for the temporally closest pressure values (203) at the plurality of time points; - determining (S3) the global maximum and minimum of the sum of the rates of change within the time window; - identifying (S4) local extrema (404, 405) of the sum of first-order absolute rates of change (403) and / or the sum of second-order absolute rates of change based on the global maximum and minimum of the sum within the time window; - determining ( S5 ) an actuation of the door and / or window ( 601 ) by comparing the determined local extrema ( 404 , 405 ) with a threshold value ( 505 , 505 ′, 505 ″).
2. The method according to claim 1, wherein: The detected pressure value (203) is filtered by an edge-preserving filter, preferably a bilateral filter.
3. The method according to any one of claims 1 to 2, wherein: If an operation is detected, the detection of the operation ( S1 ) is interrupted for a period of 5 seconds, preferably for 3 seconds.
4. The method according to any one of claims 1 to 3, wherein: The determination ( S5 ) of the operation is based on additional statistical features, in particular the standard deviation of the detected pressure values ( 203 ), on the number of exceedances of a mean value and / or on the ratio of a maximum to a minimum pressure value.
5. The method according to any one of claims 1 to 4, wherein: To obtain (S5) operation, the topology of one or more rooms (600) is considered.
6. The method according to any one of claims 1 to 5, wherein: The thresholds (505, 505', 505") are determined based on historical data and / or machine learning.
7. The method according to any one of claims 1 to 6, wherein: Between 1 and 100, in particular between 10 and 50, preferably between 20 and 30 pressure values are measured per second (203).
8. The method according to any one of claims 1 to 7, wherein: The obtaining (S5) of the operation includes: determining the distance between the pressure sensor (602) and the window (601) or the door, determining the speed of the window (601) or the door and / or determining the closing direction of the window (601) or the door.
9. A determination device, the determination device being configured to determine, by means of a pressure sensor (602) arranged in one of the one or more rooms (600), an operation of a door or a window (601) in the one or more rooms (600), comprising: a detection device, configured to detect pressure values (203) at a plurality of time points by means of the pressure sensor (602); a first determination device, configured to determine a sum of first-order absolute rates of change (403) and a sum of second-order absolute rates of change for temporally most recent pressure values (203) at a plurality of time points; - a second determination device configured to determine a global maximum and a global minimum of the sum of the rates of change within the time window; - an identification device configured to identify local extreme values (404, 405) of the sum of first-order absolute rates of change (403) and / or the sum of second-order absolute rates of change based on global maximum and minimum values of the sum within the time window; An ascertaining device is designed to ascertain an actuation event of the door and / or window (601) by comparing the ascertained local extrema (404, 405) with a threshold value (505, 505', 505'').
