A method and device for determining the motion state of an electric door when it is opened and closed

By acquiring and filtering the acceleration data of the electronically controlled door, and combining the running time and threshold, the motion state of the electronically controlled door is determined, which solves the problems of high cost and poor versatility in the existing technology, and realizes low-cost and versatile motion state judgment. .

CN114809856BActive Publication Date: 2024-08-23SHANGHAI SLAMTEC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210468412.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-08-23
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

When the existing technology is used to determine the motion status of electronically controlled doors, it is costly and has poor versatility. In particular, the computer vision method requires external equipment, and it is difficult to obtain the communication protocol, resulting in poor versatility.

Method used

By obtaining the original acceleration data of the electronically controlled door, using a filter for filtering, and combining the running time, distance threshold, acceleration threshold and time threshold of each motion state, the motion state of the electronically controlled door is determined, including acceleration, uniform speed, deceleration to open and close the door. , static opening and closing.

Benefits of technology

It realizes low-cost, easy-to-implement and universal motion status judgment of electronically controlled doors. It only needs acceleration data and running time to accurately judge the motion status, and has wide applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114809856B
    Figure CN114809856B
Patent Text Reader

Abstract

The purpose of the present application is to provide a method and device for determining the motion state of an electric door when it is switched. Compared with the prior art, the present application obtains the original acceleration data of the electric door during the operation time; filters the original acceleration data through a filter to determine the filtered acceleration data after filtering; determines the motion state according to the filtered acceleration data and the operation time and the pre-determined distance threshold, acceleration threshold and time threshold of each motion state, wherein the motion state includes acceleration, uniform speed, deceleration to open the door, static door opening, acceleration, uniform speed, deceleration to close the door and static door closing. In this way, the motion state of the electric door can be determined by only measuring the acceleration data and the operation time, and it has wide applicability and low application cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a technology for determining the motion state of an electric door when it is switched on or off. Background Art

[0002] In scenarios where it is necessary to judge the motion state of electric doors that automatically open and close according to a program, such as elevator doors, freight elevator doors, subway screen doors and car doors, for example, robots automatically enter and exit electric doors, the existing technology usually uses computer vision to judge the motion state. This method requires the installation of external equipment such as 2D or 3D cameras, has high application costs, and the software algorithm of computer vision has relatively high requirements for the operating environment. In addition, another feasible way is to obtain the communication protocol of the electric door, thereby accessing the software and hardware system of the electric door, so as to obtain the switch motion state of the electric door, but it is difficult to obtain the communication protocol, and due to the large number of electric door manufacturers, the versatility of this method is poor.

[0003] Therefore, there is a need for a technology that is low-cost, easy to implement and highly versatile in determining the motion state of an electric door when it is opened and closed. Summary of the invention

[0004] The purpose of the present application is to provide a method and device for determining the motion state of an electrically controlled door when it is opened or closed.

[0005] According to one aspect of the present application, a method for determining the motion state of an electric door when it is switched is provided, wherein the method comprises:

[0006] Obtain the original acceleration data of the electric door during operation;

[0007] Filtering the raw acceleration data through a filter to determine filtered acceleration data;

[0008] The motion state is determined based on the filtered acceleration data and the running time and the pre-determined distance threshold, acceleration threshold and time threshold of each motion state, wherein the motion state includes acceleration, uniform speed, deceleration door opening, stationary door opening, acceleration, uniform speed, deceleration door closing and stationary door closing.

[0009] Further, the raw acceleration data is acquired by using an IMU, wherein after filtering the raw acceleration data by a filter and determining the filtered acceleration data, the method further comprises:

[0010] Calculating the deviation value, and determining the detection data based on the deviation value and the filtered acceleration data;

[0011] Wherein, determining the motion state according to the detection data and the running time and a pre-determined distance threshold, acceleration threshold and time threshold of each motion state comprises:

[0012] The motion state is determined according to the detection data, the running time, and a pre-determined distance threshold, an acceleration threshold, and a time threshold of each motion state.

[0013] Furthermore, the calculated deviation value includes:

[0014] Measure the IMU measurement value in the static door open or static door closed state according to the preset cycle and the preset number of measurements;

[0015] Calculating the variance and mean of the IMU measurements;

[0016] If the variance is less than a preset variance threshold, the mean is set as the deviation value.

[0017] Preferably, the determining the motion state according to the filtered acceleration data and the running time and a pre-determined distance threshold, acceleration threshold and time threshold of each motion state comprises:

[0018] Performing a second integration of the detection data according to the running time to obtain distance data;

[0019] The motion state is determined according to the detection data, the running time, the distance data and the pre-determined distance threshold, the acceleration threshold and the time threshold of each motion state.

[0020] Further, the migration sequence of the motion state is acceleration, uniform speed, deceleration to open the door, static door opening, acceleration, uniform speed, deceleration to close the door and static door closing, wherein the motion state is determined according to the detection data, running time, distance data and pre-determined distance threshold, acceleration threshold and time threshold of each motion state, including:

[0021] If the detection data is greater than the acceleration threshold, the motion state is determined to be an accelerated door opening state;

[0022] If the detection data is less than the acceleration threshold or the running time is greater than the time threshold of accelerated door opening, the motion state is determined to be a uniform door opening state, and the running time is remeasured;

[0023] If the detection data is less than the reverse acceleration threshold or the running time is greater than the time threshold of uniform door opening, the motion state is determined to be a deceleration door opening state, and the running time is remeasured;

[0024] If the detection data is greater than the reverse acceleration threshold and the distance data is greater than the distance threshold, or the running time is greater than the time threshold for decelerating and opening the door, the motion state is determined to be a stationary door-opening state, and the running time is remeasured;

[0025] If the detection data is less than the reverse acceleration threshold, the motion state is determined to be an accelerated door closing state, and the running time is remeasured;

[0026] If the detection data is greater than the reverse acceleration threshold or the running time is greater than the accelerated door closing threshold, the motion state is determined to be a uniform door closing state, and the running time is remeasured;

[0027] If the detection data is greater than the acceleration threshold or the running time is greater than the uniform door closing threshold, the motion state is determined to be a deceleration door closing state, and the running time is remeasured;

[0028] If the detection data is less than the acceleration threshold and the distance data is greater than the distance threshold, or the running time is greater than the time threshold for decelerating and closing the door, the motion state is determined to be a stationary closing state, and the running time is remeasured.

[0029] Further, the determining the motion state according to the detection data and the running time and a pre-determined distance threshold, acceleration threshold and time threshold of each motion state further comprises:

[0030] Integrate the detection data once according to the running time to obtain speed data;

[0031] The motion state is determined according to the detection data, speed data, distance data, and a pre-determined distance threshold and acceleration threshold.

[0032] Further, wherein the determining the motion state according to the detection data, speed data, distance data and a pre-determined distance threshold and acceleration threshold comprises:

[0033] When in the deceleration door closing state, if the speed data is greater than or equal to 0 and the distance data is less than the distance threshold and the detection data is greater than the acceleration threshold, the motion state is changed to the acceleration door opening state and the running time is remeasured;

[0034] When in the deceleration door closing state, if the speed data is greater than or equal to 0, and the distance data is less than the distance threshold, and the detection data is greater than the reverse acceleration threshold and less than the acceleration threshold, the motion state is changed to the uniform speed door opening state, and the running time is remeasured;

[0035] When in the deceleration door closing state, if the speed data is greater than or equal to 0, the distance data is less than the distance threshold, and the detection data is less than the reverse acceleration threshold, the motion state is changed to the deceleration door opening state and the running time is remeasured.

[0036] Preferably, a delay threshold is preset, wherein after determining that the motion state is a static door opening or a static door closing, the method further comprises:

[0037] If the running time is less than the delay threshold, the original motion state is maintained.

[0038] Preferably, the filter comprises a second-order IIR bandpass filter.

[0039] According to another aspect of the present application, a computer-readable medium for determining the motion state of an electric door switch is provided, on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement operations as described above.

[0040] According to another aspect of the present application, there is also provided a device for determining the motion state of an electric-controlled door when it is switched, wherein the device comprises:

[0041] one or more processors; and

[0042] A memory storing computer readable instructions which, when executed, cause the processor to perform the operations of the above-described method.

[0043] Compared with the prior art, the present application obtains the original acceleration data of the electric door during the operation time; filters the original acceleration data through a filter to determine the filtered acceleration data after filtering; determines the motion state according to the filtered acceleration data and the operation time and the pre-determined distance threshold, acceleration threshold and time threshold of each motion state, wherein the motion state includes acceleration, uniform speed, deceleration door opening, static door opening, acceleration, uniform speed, deceleration door closing and static door closing. In this way, the motion state of the electric door can be determined by only measuring the acceleration data and the operation time, and it has wide applicability and low application cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0045] Figure 1 A flow chart of a method for determining the motion state of an electric door when it is switched according to one aspect of the present application is shown;

[0046] Figure 2 A flow chart of a method for determining the motion state of an electric-controlled door when it is opened and closed according to a preferred embodiment of the present application is shown;

[0047] FIG3( a ) shows a sliding average filtering effect diagram of an embodiment of the present application;

[0048] FIG3( b ) shows a first-order delay filtering effect diagram of an embodiment of the present application;

[0049] FIG3( c ) shows a Kalman filter effect diagram of an embodiment of the present application;

[0050] FIG3( d ) shows a second-order IIR bandpass filtering effect diagram of an embodiment of the present application;

[0051] FIG. 4( a ) shows a data diagram obtained by an IMU inertial measurement unit according to an embodiment of the present application;

[0052] FIG. 4( b ) shows a data diagram of a second-order IIR bandpass filter performed on the data of FIG. 4( a ) according to an embodiment of the present application.

[0053] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION

[0054] The present invention is further described in detail below in conjunction with the accompanying drawings.

[0055] In a typical configuration of the present application, the terminal, the device of the service network and the trusted party all include one or more processors (CPU), input / output interfaces, network interfaces and memories.

[0056] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0057] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0058] The electric-controlled doors described in this application include electric-controlled doors that automatically open and close according to a preset program, such as elevator doors, freight elevator doors, subway screen doors, and car doors, etc. The preset programs usually include door opening, static, and door closing programs. This application does not limit the specific types of electric-controlled doors. All electric-controlled doors that automatically open and close according to a preset program and can use this application to determine the movement state when opening and closing are within the protection scope of this application.

[0059] In order to further explain the technical means adopted by the present application and the effects achieved, the technical solution of the present application is clearly and completely described below in combination with the accompanying drawings and preferred embodiments.

[0060] Figure 1 A method for determining the motion state of an electric door switch provided by one aspect of the present application is shown, wherein the method comprises:

[0061] S11 obtains the original acceleration data of the electric control door during the operation time;

[0062] S12: filtering the original acceleration data through a filter to determine filtered acceleration data;

[0063] S13 determines the motion state according to the filtered acceleration data, the running time, and a pre-determined distance threshold, an acceleration threshold, and a time threshold of each motion state.

[0064] In this embodiment, in step S11, the original acceleration data of the electric-controlled door during the operation time is acquired.

[0065] In this step, the raw acceleration data refers to acceleration data directly measured by a measuring element, and the raw acceleration data is continuously monitored when the electric-controlled door is in operation.

[0066] Furthermore, the measuring element includes but is not limited to an IMU inertial measurement unit. When the IMU is used, it is fixed on the door panel of the electric door that can be opened and closed, and the acceleration data of the electric door in the opening and closing direction can be obtained. Here, it should be clear that this application does not restrict the opening and closing direction of the electric door. The electric door can be opened and closed in the horizontal direction, such as an elevator door and a subway screen door, or in the vertical direction, such as a food delivery door in some restaurants.

[0067] In this embodiment, in step S12, since the raw acceleration data directly measured has large fluctuations, the raw acceleration data must be filtered through a filter to obtain relatively stable acceleration data, so as to improve the availability of the data and thus improve the accuracy of the judgment result.

[0068] Commonly used filtering algorithms include but are not limited to sliding average filtering, first-order delay filtering, second-order IIR bandpass filtering and Kalman filtering. Figures 3(a), (b), (c) and (d) show the same acceleration data obtained by the IMU subjected to sliding average filtering, first-order delay filtering, Kalman filtering and second-order IIR bandpass filtering. By comparing the filtering effect diagrams of each filtering algorithm, it can be seen that the second-order IIR bandpass filtering has the best filtering effect. The obtained filtered acceleration data curve is smoother and the loss of the maximum value data is small. Therefore, the second-order IIR bandpass filter is selected to filter the original acceleration data. At the same time, as shown in Figure 4(b), when the IMU is used to monitor the original acceleration data, filtering the IMU acceleration data of Figure 4(a) through the second-order IIR bandpass filter can effectively reduce the high-frequency interference and low-frequency drift problems existing in the IMU itself.

[0069] In this embodiment, in step S13, after the filtered acceleration data is obtained, the motion state is determined by combining the running time of the electric door, the pre-determined distance threshold, the acceleration threshold and the time threshold of each motion state.

[0070] In this step, the distance threshold of the electric door in the opening and closing direction and the time threshold of each motion state are measured in advance, and the acceleration threshold is set. Among them, the distance threshold refers to the approximate value of the maximum motion distance of the door panel that the electric door can open and close (for example, 80% of the maximum motion distance, etc.); the time threshold refers to the duration of the electric door in each motion state of acceleration, uniform speed, deceleration opening, static opening, acceleration, uniform speed, deceleration closing and static closing. The acceleration threshold is a hyperparameter. In situations where the acceleration is relatively stable, the acceleration threshold can be set to an empirical data without specifically adjusting this parameter; in situations where the acceleration is relatively large, the acceleration threshold can be adjusted through the configuration interface by first collecting the original acceleration data, observing and analyzing the filtered acceleration data.

[0071] In another preferred embodiment, see Figure 2 As shown, Figure 2 Steps S21 and S22 in Figure 1 Steps S11 and S12 in the embodiment are the same or substantially the same, so they are not described here in detail, and are only included here by reference. Wherein, the step S23 includes: calculating the deviation value, and after determining the filtered acceleration data, determining the detection data according to the deviation value and the filtered acceleration data. Here, when using IMU to monitor the original acceleration data, since the IMU itself has a zero bias problem, this problem is overcome by calculating the deviation value.

[0072] Furthermore, the method for calculating the deviation value includes measuring the IMU measurement value in a static open door or static closed door state according to a preset period and a preset number of measurements; calculating the variance and mean of the IMU measurement value; if the variance is less than a preset variance threshold, setting the mean as the deviation value.

[0073] Here, in order to solve the zero bias problem inherent in the IMU itself, the acceleration values ​​of the electric door in a static state are measured multiple times. Since the variance reflects the stability of the data, the variance of multiple acceleration values ​​is used as the basis for judging whether the deviation value needs to be updated. When the deviation value needs to be updated, the mean of the measured multiple acceleration values ​​is used as the deviation value, and the difference between the filtered acceleration data and the deviation value is used as the detection data value. Here, the static state includes a static door-opening state and / or a static door-closing state. At the same time, it should be clear that the static states described in this application are all procedural temporary stillness of the electric door during operation, specifically including static door-opening and static door-closing, rather than the opposite state of the operating state.

[0074] Continuing in this step, specifically, according to a preset data collection cycle or a preset number of data collections, multiple acceleration data of the electric-controlled door in a static state are collected, so as to calculate a deviation value. When the next preset update cycle or update number is reached, if the electric-controlled door is just in a static door-opening state or a static door-closing state, multiple acceleration data of the electric-controlled door in the static state are collected according to the preset data collection cycle or the preset number of data collections; if the electric-controlled door is in a moving state, multiple acceleration data of the electric-controlled door are collected according to the preset data collection cycle or the preset number of data collections when the electric-controlled door reaches the next static state.

[0075] This method realizes the adaptive update of the deviation value and further improves the accuracy of the detection data.

[0076] Continuing in the preferred embodiment, after the detection data is determined based on the deviation value and the filtered acceleration value, the step S24 includes: determining the motion state based on the detection data and the running time and the pre-determined distance threshold, acceleration threshold and time threshold of each motion state.

[0077] Furthermore, determining the motion state based on the detection data and the running time and a pre-determined distance threshold, acceleration threshold and time threshold of each motion state includes: performing a second integration of the detection data based on the running time to obtain distance data; determining the motion state based on the detection data, running time, distance data and a pre-determined distance threshold, acceleration threshold and time threshold of each motion state.

[0078] Further, when the motion state migration sequence of the electric-controlled door in the non-interference state is acceleration, uniform speed, deceleration to open the door, static opening, acceleration, uniform speed, deceleration to close the door and static closing the door, wherein the motion state is determined according to the detection data, the running time, the distance data and the pre-determined distance threshold, the acceleration threshold and the time threshold of each motion state, including:

[0079] If the detection data is greater than the acceleration threshold, the motion state is determined to be an accelerated door opening state;

[0080] If the detection data is less than the acceleration threshold or the running time is greater than the time threshold of accelerated door opening, the motion state is determined to be a uniform door opening state, and the running time is remeasured;

[0081] If the detection data is less than the reverse acceleration threshold or the running time is greater than the time threshold of uniform door opening, the motion state is determined to be a deceleration door opening state, and the running time is remeasured;

[0082] If the detection data is greater than the reverse acceleration threshold and the distance data is greater than the distance threshold, or the running time is greater than the time threshold for decelerating and opening the door, the motion state is determined to be a stationary door-opening state, and the running time is remeasured;

[0083] If the detection data is less than the reverse acceleration threshold, the motion state is determined to be an accelerated door closing state, and the running time is remeasured;

[0084] If the detection data is greater than the reverse acceleration threshold or the running time is greater than the accelerated door closing threshold, the motion state is determined to be a uniform door closing state, and the running time is remeasured;

[0085] If the detection data is greater than the acceleration threshold or the running time is greater than the time threshold of uniform door closing, the motion state is determined to be a deceleration door closing state, and the running time is remeasured;

[0086] If the detection data is less than the acceleration threshold and the distance data is greater than the distance threshold, or the running time is greater than the time threshold for deceleration and door closing, the motion state is determined to be a stationary door closing state, and the running time is remeasured.

[0087] Here, if it is determined that the motion state has changed, the running time is monitored until the motion state changes again, thereby measuring the specific running time of each motion state.

[0088] This method is based on acceleration data and integrates distance and time factors to determine the motion state of the electric door. Compared with a single acceleration determination method, this multi-factor comprehensive determination method is faster and more accurate.

[0089] Furthermore, in actual application scenarios, the electric door may experience acceleration oscillation during the opening and closing process. Based on the above state determination method, the correction of the motion state misjudgment caused by acceleration oscillation during the opening and closing process can be achieved, for example:

[0090] When the motion state is mistakenly judged as a uniform door opening state, if the detection data is greater than the acceleration threshold, the motion state is corrected to an accelerated door opening state;

[0091] When the motion state is mistakenly judged as the deceleration door opening state, if the detection data is greater than the reverse acceleration threshold and the distance is less than the distance threshold, the motion state is corrected to the acceleration door opening state;

[0092] When the motion state is mistakenly judged as the accelerated door opening state, if the running time is greater than the total door opening time threshold (and the sum of the time thresholds for acceleration, uniform speed and deceleration door opening), the motion state is corrected to the static door opening state;

[0093] When the motion state is mistakenly judged as a uniform door opening state, if the running time is greater than the total door opening time threshold (and the sum of the time thresholds for acceleration, uniform speed and deceleration door opening), the motion state is corrected to a static door opening state;

[0094] When the motion state is mistakenly judged as a uniform door closing state, if the detection data is less than the reverse acceleration threshold, the motion state is corrected to an accelerated door closing state.

[0095] In this way, the correction of the misjudgment of the motion state caused by the acceleration oscillation is achieved.

[0096] Preferably, it should be clear that in actual application scenarios, when the movement distance of the electric door is close to the maximum movement distance of the door panel that can be opened and closed by the electric door, it can be determined that a certain movement state has been entered. Therefore, according to the time application scenario, the distance threshold is set to a proportional reduction value of the maximum movement distance. For example, when the movement distance of the door panel that can open and close the electric door reaches 80% of the maximum movement distance, it can be determined that the next movement state of the electric door is a static door opening state. Therefore, when making a judgment, the distance threshold can be set to 80% of the maximum movement distance. Here, since there may be fluctuations in acceleration during each door opening and closing process, the fluctuation in acceleration will cause fluctuations in the moving distance obtained by integration. Therefore, if the pre-determined maximum moving distance is used to judge the movement state of the moving distance obtained by integration, state judgment errors may occur. Therefore, setting the distance threshold to a proportional reduction value of the maximum movement distance (the reduction ratio should not be too large) can effectively avoid errors in the judgment of the movement state caused by acceleration fluctuations.

[0097] Furthermore, determining the motion state based on the detection data and the running time and a pre-determined distance threshold, acceleration threshold and time threshold of each motion state also includes: integrating the detection data once according to the running time to obtain speed data; and determining the motion state based on the detection data, speed data, distance data and a pre-determined distance threshold and acceleration threshold.

[0098] Specifically, determining the motion state according to the detection data, speed data, distance data and a pre-determined distance threshold and acceleration threshold includes:

[0099] When in the deceleration door closing state, if the speed data is greater than or equal to 0 and the distance data is less than the distance threshold and the detection data is greater than the acceleration threshold, the motion state is changed to the acceleration door opening state and the running time is remeasured;

[0100] When in the deceleration door closing state, if the speed data is greater than or equal to 0, and the distance data is less than the distance threshold, and the detection data is greater than the reverse acceleration threshold and less than the acceleration threshold, the motion state is changed to the uniform speed door opening state, and the running time is remeasured;

[0101] When in the deceleration door closing state, if the speed data is greater than or equal to 0, the distance data is less than the distance threshold, and the detection data is less than the reverse acceleration threshold, the motion state is changed to the deceleration door opening state and the running time is remeasured.

[0102] Here, since the electric door may interrupt and change its motion state when it is about to close, when the electric door is in the deceleration closing state, the above-mentioned determination method is added to capture the change of the motion state when the electric door is about to close, so as to avoid misjudgment and omission of the change of the motion state. When it is necessary to capture the reverse door opening action in the deceleration closing state, the determination method is the same.

[0103] Furthermore, a delay threshold is preset, wherein after determining that the motion state is a static door opening or a static door closing, it also includes: if the running time is less than the delay threshold, maintaining the original motion state.

[0104] Here, due to the vibration caused by the opening and closing actions of the electric door, there will be vibration of acceleration. Therefore, a delay threshold is set. When the movement state of the electric door is determined to be static opening or static closing, if the running time is less than the delay threshold, the original movement state is maintained to avoid misjudgment caused by the vibration of the door opening and closing.

[0105] Compared with the prior art, the present application obtains the original acceleration data of the electric-controlled door during the operation time; filters the original acceleration data through a filter to determine the filtered acceleration data after filtering; determines the motion state according to the filtered acceleration data and the operation time and the pre-determined distance threshold, acceleration threshold and time threshold of each motion state, wherein the motion state includes acceleration, uniform speed, deceleration door opening, static door opening, acceleration, uniform speed, deceleration door closing and static door closing. In this way, the motion state of the electric-controlled door can be determined by only measuring the acceleration data and the operation time, and it has wide applicability and low application cost.

[0106] In addition, an embodiment of the present application also provides a computer-readable medium on which computer-readable instructions are stored, and the computer-readable instructions can be executed by a processor to implement the aforementioned method.

[0107] The embodiment of the present application also provides a device for determining the motion state of an electric-controlled door when it is switched, wherein the device comprises:

[0108] one or more processors; and

[0109] A memory storing computer readable instructions which, when executed, cause the processor to perform the operations of the aforementioned method.

[0110] For example, the computer readable instructions, when executed, cause the one or more processors to:

[0111] Obtain the original acceleration data of the electric door during operation;

[0112] Filtering the raw acceleration data through a filter to determine filtered acceleration data;

[0113] The motion state is determined based on the filtered acceleration data and the running time and the pre-determined distance threshold, acceleration threshold and time threshold of each motion state, wherein the motion state includes acceleration, uniform speed, deceleration door opening, stationary door opening, acceleration, uniform speed, deceleration door closing and stationary door closing.

[0114] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

Claims

1. A method for determining the motion state of an electric door when it is switched, wherein: The method comprises: Obtain the original acceleration data of the electric door during operation; Filtering the raw acceleration data through a filter to determine filtered acceleration data; Determine the motion state according to the filtered acceleration data and the running time and the pre-determined distance threshold, acceleration threshold and time threshold of each motion state, wherein the motion state includes acceleration, uniform speed, deceleration door opening, static door opening, acceleration, uniform speed, deceleration door closing and static door closing; Wherein, the raw acceleration data is acquired by using an IMU inertial measurement unit, wherein, after filtering the raw acceleration data by a filter and determining the filtered acceleration data after filtering, the method further comprises: Calculating the deviation value, and determining the detection data based on the deviation value and the filtered acceleration data; Wherein, determining the motion state according to the filtered acceleration data and the running time and a pre-determined distance threshold, acceleration threshold and time threshold of each motion state comprises: Determine the motion state according to the detection data and the running time and a pre-determined distance threshold, acceleration threshold and time threshold of each motion state; Wherein, determining the motion state according to the detection data and the running time and a pre-determined distance threshold, acceleration threshold and time threshold of each motion state comprises: Performing a second integration of the detection data according to the running time to obtain distance data; Determine the motion state according to the detection data, the running time, the distance data and the pre-determined distance threshold, the acceleration threshold and the time threshold of each motion state; The migration sequence of the motion state is acceleration, uniform speed, deceleration to open the door, static door opening, acceleration, uniform speed, deceleration to close the door and static door closing. The motion state is determined according to the detection data, running time, distance data and pre-determined distance threshold, acceleration threshold and time threshold of each motion state, including: If the detection data is greater than the acceleration threshold, the motion state is determined to be an accelerated door opening state; If the detection data is less than the acceleration threshold or the running time is greater than the time threshold of accelerated door opening, the motion state is determined to be a uniform door opening state, and the running time is remeasured; If the detection data is less than the reverse acceleration threshold or the running time is greater than the time threshold of uniform door opening, the motion state is determined to be a deceleration door opening state, and the running time is remeasured; If the detection data is greater than the reverse acceleration threshold and the distance data is greater than the distance threshold, or the running time is greater than the time threshold for decelerating and opening the door, the motion state is determined to be a stationary door-opening state, and the running time is remeasured; If the detection data is less than the reverse acceleration threshold, the motion state is determined to be an accelerated door closing state, and the running time is remeasured; If the detection data is greater than the reverse acceleration threshold or the running time is greater than the accelerated door closing threshold, the motion state is determined to be a uniform door closing state, and the running time is remeasured; If the detection data is greater than the acceleration threshold or the running time is greater than the uniform door closing threshold, the motion state is determined to be a deceleration door closing state, and the running time is remeasured; If the detection data is less than the acceleration threshold and the distance data is greater than the distance threshold, or the running time is greater than the time threshold for deceleration and door closing, the motion state is determined to be a stationary door closing state, and the running time is remeasured.

2. The method according to claim 1, wherein: The measured deviation value includes: Measure the IMU measurement value in the static door open or static door closed state according to the preset cycle and the preset number of measurements; Calculate the variance and mean of the IMU measurements; If the variance is less than a preset variance threshold, the mean is set as the deviation value.

3. The method according to claim 1, wherein: The determining of the motion state according to the detection data and the running time and a pre-determined distance threshold, acceleration threshold and time threshold of each motion state further comprises: Integrate the detection data once according to the running time to obtain speed data; The motion state is determined according to the detection data, speed data, distance data, and a pre-determined distance threshold and acceleration threshold.

4. The method according to claim 3, wherein: Determining the motion state according to the detection data, speed data, distance data and a pre-determined distance threshold and acceleration threshold comprises: When in the deceleration door closing state, if the speed data is greater than or equal to 0 and the distance data is less than the distance threshold and the detection data is greater than the acceleration threshold, the motion state is changed to the acceleration door opening state and the running time is remeasured; When in the deceleration door closing state, if the speed data is greater than or equal to 0, and the distance data is less than the distance threshold, and the detection data is greater than the reverse acceleration threshold and less than the acceleration threshold, the motion state is changed to the uniform speed door opening state, and the running time is remeasured; When in the deceleration door closing state, if the speed data is greater than or equal to 0, the distance data is less than the distance threshold, and the detection data is less than the reverse acceleration threshold, the motion state is changed to the deceleration door opening state and the running time is remeasured.

5. The method according to claim 1, wherein a delay threshold is preset, wherein: After determining that the motion state is a static door opening or a static door closing, the method further includes: If the running time is less than the delay threshold, the original motion state is maintained.

6. The method according to claim 1, wherein: The filter comprises a second order IIR bandpass filter.

7. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the method according to any one of claims 1 to 6.

8. A device for determining the motion state of an elevator door when it is opened or closed, wherein: The equipment includes: one or more processors; and A memory storing computer readable instructions which, when executed, cause the processor to perform the operations of the method as claimed in any one of claims 1 to 6.