Intelligent door control method and device, storage medium and electronic equipment
By combining humanoid sensors and image recognition devices with multiple sensors to collaboratively control the motor, the damage and safety hazards caused by abnormal smart door sensors are solved, and safer smart door control is achieved.
Patent Information
- Application Number
- CN202510912426.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-03
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2045-07-03
AI Technical Summary
In existing smart door control systems, abnormal door sensors can easily cause damage to the smart door and pose a safety hazard. Existing technologies cannot effectively avoid this problem.
The presence of people is detected by a humanoid sensor, and the image recognition device and multiple sensors (anti-pinch sensor, through-beam sensor) are combined to collaboratively control the motor to open or close the smart door. Multiple control conditions are set to ensure that the motor stops when the door sensor is abnormal, record the opening time, and close the door when appropriate.
It improves the safety of smart doors, avoids damage caused by continuous movement due to sensor abnormalities, and improves user experience and safety.
Smart Images

Figure CN120401922B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart door control, and in particular to a smart door control method and device, a storage medium and an electronic device. Background Art
[0002] With the rapid development of science and technology and the improvement of people's living standards, various types of automation equipment have been widely used in many fields such as daily life and industrial production. The automatic opening and closing smart door is one of the most representative technological achievements.
[0003] Currently, when using smart doors, a controller typically controls a motor to open or close the smart door. During this process, a door sensor installed on the door detects whether the door is fully opened or fully closed. If it is, the door sensor sends a signal, at which point the controller controls the motor to stop opening the door. In actual use, the door sensor installed on the door may experience unstable signals or be improperly installed, resulting in the door sensor's inaccurate detection of whether the smart door is in place. If the door sensor cannot provide timely feedback on whether the smart door is fully opened or fully closed, the motor will continue to control the door to open or close. Therefore, in the prior art, if the door's opening and closing is controlled solely based on the signal transmitted by the door sensor, the smart door may be easily damaged if the door sensor is malfunctioning, and this can also pose certain safety risks if someone passes by. Summary of the Invention
[0004] In view of this, the present invention provides a smart door control method, through which the continuous control of the opening and closing of the door can be avoided when the door sensor is abnormal, thereby further improving the safety of the use of the smart door.
[0005] The present invention also provides an intelligent door control device to ensure the implementation and application of the above method in practice.
[0006] A smart door control method, applied to a controller, comprising:
[0007] When receiving a signal transmitted by a humanoid sensor, the motor is controlled to open the smart door. The humanoid sensor is used to detect whether there is a person in the detection area corresponding to the smart door;
[0008] Waiting for a preset door sensor to transmit a signal, the signal transmitted by the door sensor is used to indicate that the smart door has been opened or closed;
[0009] If the first control condition or the second control condition corresponding to the smart door is triggered without receiving the signal transmitted by the door sensor, the motor is controlled to stop opening the smart door, the first control condition being that the waiting time for the signal transmitted by the door sensor reaches a preset waiting time, and the second control condition being that the signals transmitted by the preset anti-pinch sensor and the preset through-beam sensor are received in sequence;
[0010] Recording the duration of time the smart door is open;
[0011] When the humanoid sensor, the anti-pinch sensor, and the through-beam sensor all stop transmitting signals, the motor is controlled to close the smart door according to the opening duration.
[0012] In the above method, optionally, controlling the motor to open the smart door includes:
[0013] Activating a preset image recognition device to capture a dynamic image of the person;
[0014] Based on the dynamic image, identifying the movement direction of the person;
[0015] If the movement direction of the person indicates that the person needs to pass through the smart door, the motor is controlled to open the smart door.
[0016] In the above method, optionally, controlling the motor to open the smart door includes:
[0017] determining an average speed of movement of the person;
[0018] setting a motor speed of the motor based on the average motion speed;
[0019] Control the motor to open the smart door according to the motor speed.
[0020] In the above method, optionally, a beaming area is provided on both sides of the smart door, and a plurality of beaming sensors are included in the beaming area. When the person passes through the beaming area on either side of the smart door, the controller receives signals emitted sequentially by the beaming sensors in the beaming area according to the direction of movement of the person.
[0021] Determining the average movement speed of the person includes:
[0022] After the person enters the radio area for the first time, obtaining the emission time of each radio sensor in the radio area transmitting a signal in sequence;
[0023] Based on the respective emission times, an average movement speed of the person is determined.
[0024] In the above method, optionally, controlling the motor to stop opening the smart door includes:
[0025] Determine the number of people currently passing through the smart door;
[0026] When the number of people is less than the target threshold, if the first control condition or the second control condition is triggered, controlling the motor to stop opening the smart door;
[0027] When the number of people is not less than the target threshold, after the first control condition is triggered, the motor is controlled to stop opening the smart door.
[0028] The above method, optionally, further comprises:
[0029] If the smart door is temporarily closed based on the triggering of the first control condition, a sensor failure message corresponding to the door sensor is issued.
[0030] The above method, optionally, further comprises:
[0031] If no signal transmitted by the door sensor is received after the motor is controlled to close the smart door according to the opening time, a sensor failure message corresponding to the door sensor is issued.
[0032] An intelligent door control device, which is applied to a controller and includes:
[0033] A first control unit is configured to control the motor to open the smart door upon receiving a signal transmitted by a humanoid sensor, wherein the humanoid sensor is configured to detect whether a person is within a detection area corresponding to the smart door;
[0034] A waiting unit, configured to wait for a preset door sensor to transmit a signal, wherein the signal transmitted by the door sensor is used to indicate that the smart door has been opened or closed;
[0035] a second control unit, configured to control the motor to stop opening the smart door if a first control condition or a second control condition corresponding to the smart door is triggered without receiving a signal transmitted by the door sensor, wherein the first control condition is that a waiting time for the door sensor to transmit a signal reaches a preset waiting time, and the second control condition is that signals transmitted by a preset anti-pinch sensor and a preset through-beam sensor are received in sequence;
[0036] A recording unit, used to record the opening time of the smart door;
[0037] The third control unit is used to control the motor to close the smart door according to the opening time when the human sensor, the anti-pinch sensor and the through-beam sensor all stop transmitting signals.
[0038] A storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above-mentioned smart door control method.
[0039] An electronic device includes a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform the above-mentioned smart door control method.
[0040] Compared with the prior art, the present invention has the following advantages:
[0041] The present invention provides a smart door control method, the method using a controller, the method comprising: when receiving a signal transmitted by a humanoid sensor, controlling a motor to open the smart door, the humanoid sensor being used to detect whether a person is within a detection area corresponding to the smart door; waiting for a preset door sensor to transmit a signal, the signal transmitted by the door sensor being used to indicate that the smart door has been opened or closed; if a first control condition or a second control condition corresponding to the smart door is triggered without receiving a signal transmitted by the door sensor, controlling the motor to stop opening the smart door, the first control condition being that the waiting time for the door sensor to transmit a signal reaches a preset waiting time, and the second control condition being that signals transmitted by a preset anti-pinch sensor and a preset through-beam sensor are received in sequence; recording the opening time of the smart door; and when the humanoid sensor, the anti-pinch sensor, and the through-beam sensor all stop transmitting signals, controlling the motor to close the smart door according to the opening time. The method provided by the present invention can avoid continuously controlling the opening and closing of the door in the event of an abnormality in the door sensor, further improving the safety of the use of the smart door. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0043] Figure 1 A spatial structure diagram of a smart door and various sensors provided by an embodiment of the present invention;
[0044] Figure 2 A method flow chart of an intelligent door control method provided by an embodiment of the present invention;
[0045] Figure 3 Another method flow chart of an intelligent door control method provided by an embodiment of the present invention;
[0046] Figure 4 A device structure diagram of an intelligent door control device provided by an embodiment of the present invention;
[0047] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0049] In this application, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. The terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or apparatus comprising the element.
[0050] The present invention can be used in a variety of general-purpose or special-purpose computing device environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multi-processor devices, and distributed computing environments including any of the above.
[0051] An embodiment of the present invention provides a smart door control method, which is applied to a controller connected to multiple sensors and configured to receive signals emitted by the sensors in real time. Figure 1 , Figure 1The figure is a schematic diagram of the spatial structure of each sensor. The smart door is equipped with a door sensor, a human shape sensor, an image recognition device and an anti-pinch sensor. The door sensor is mainly used to sense whether the smart door is in place during the opening or closing process. If the smart door is a left-right sliding door, a door sensor can be set on only one side of the door, or on both the left and right doors. The door sensor is composed of two sensors, one of which is used to detect whether the smart door is fully opened, and the other is used to detect whether the smart door is fully closed. The human shape sensor is mainly used to identify whether there are people moving in the designated area inside and outside the door, and combined with the image recognition device, it can determine whether the people in the designated area want to enter or exit the smart door. The anti-pinch sensor is used to prevent people from closing the smart door when passing by. Multiple through-beam sensors are set on both sides of the smart door. The through-beam sensor includes a transmitter and a receiver. When a person does not pass through the detection area of the through-beam sensor, the transmitter continuously sends rays to the receiver. When a person passes through the detection area of the through-beam sensor, the rays emitted by the transmitter will be blocked. At this time, the receiver stops receiving the rays, triggering the receiver to send a signal to the controller.
[0052] In the present invention, the controller controls the method of opening, stopping opening and closing of the intelligent door as shown in the flowchart. Figure 2 As shown, specifically including:
[0053] S1: When receiving the signal from the human sensor, it controls the motor to open the smart door.
[0054] S2: Wait for the preset door sensor to transmit a signal.
[0055] S3: If the first control condition or the second control condition corresponding to the smart door is triggered without receiving the signal transmitted by the door sensor, the motor is controlled to stop opening the smart door.
[0056] S4: Record the duration of the smart door opening.
[0057] S5: When the human sensor, anti-pinch sensor, and through-beam sensor all stop transmitting signals, the motor is controlled to close the smart door according to the opening time.
[0058] The following are the instructions for steps S1 to S5:
[0059] S1: When receiving the signal from the human sensor, it controls the motor to open the smart door.
[0060] Among them, the humanoid sensor is used to detect whether there is a person in the detection area corresponding to the smart door.
[0061] In the present invention, the motor controls the smart door to open or close by moving it horizontally to the left and right sides, or by pushing or pulling it forward and backward.
[0062] In one embodiment, when a person is within the detection area, the controller can directly control the motor to open the smart door.
[0063] In another embodiment, a humanoid sensor and an image recognition device are combined. When it is determined that a person in the detection area corresponding to the humanoid sensor needs to enter or exit the smart door, the controller controls the motor to open the smart door.
[0064] The process of combining the humanoid sensor and the image recognition device to control the motor to turn on the smart phone is as follows:
[0065] Activate a preset image recognition device to capture a dynamic image of a person; based on the dynamic image, identify the person's movement direction; if the person's movement direction indicates that the person needs to pass through the smart door, control the motor to open the smart door.
[0066] The image recognition device may specifically be a portrait camera. The dynamic images of the person collected by the image recognition device are continuous animated images. The controller determines the movement direction of the person by analyzing the movement trajectory of the person in the continuous images.
[0067] In an optional embodiment, if the movement trajectory of the person's displacement indicates that the person has been stationary within the detection area corresponding to the image recognition device, the controller will not control the motor to open the smart door. For example: if the person stops walking the moment he enters the detection area, the image captured by the image recognition device each time cannot identify the person's true intention. At this time, the controller will not control the motor to open the smart door; if the person stops at a certain position after entering the detection area, the image captured by the image recognition device can still identify the person's movement trajectory. The controller determines the direction of movement based on the movement trajectory, and then determines whether the person wants to enter or exit the smart door. If so, the controller controls the motor to open the smart door.
[0068] For the smart doors currently on the market, when a person is detected to need to pass through, the smart door will open at a set speed. However, due to the differences in the movement speed of people entering and exiting the smart door, sometimes when the person's movement speed is slow, the door is already open before they enter the smart door, and automatically closes after waiting for a short period of time, which can easily pinch the person entering and exiting the smart door; and when the person's movement speed is fast, the degree of opening of the smart door is not enough for the person to enter and exit, and the person needs to wait in front of the door to open, which brings a bad experience to the person entering and exiting the smart door. Therefore, for different people entering and exiting the smart door, the present invention needs to pre-determine the average movement speed of the person when controlling the motor to open the smart door, and set the motor speed based on the average movement speed to control the motor to open the smart door according to the motor speed.
[0069] It is understandable that the corresponding motor speed can be set for different people according to their different movement speeds to ensure that when people enter and exit the smart door, the degree of opening of the door can meet the people's entry and exit needs.
[0070] It should be noted that if the smart door is opened at a certain motor speed, then when the smart door is closed, the motor speed of the motor is consistent with the motor speed when the smart door is opened.
[0071] Specifically, the process of determining the average movement speed of personnel is as follows:
[0072] After a person enters a radio area for the first time, the emission time of each radio sensor in the radio area transmitting a signal in sequence is obtained; based on each emission time, the average movement speed of the person is determined.
[0073] Among them, there are shooting areas on both sides of the smart door, which contain multiple shooting sensors. When a person passes through the shooting area on either side of the smart door, the controller receives the signals emitted by each shooting sensor in the shooting area in sequence according to the direction of the person's movement.
[0074] In the present invention, the detection areas on both sides of the smart door can be adjacent to the corresponding beam area, or the detection areas can overlap with the corresponding beam area. If the detection areas on both sides of the smart door completely overlap with the corresponding beam area, the human sensor and the corresponding beam sensor at the front end of the corresponding beam area will simultaneously transmit signals to the controller.
[0075] It should be noted that if there are multiple people entering the detection area of the humanoid sensor, the humanoid sensor will emit signals in sequence according to the order in which each person enters the detection area. When the controller receives the signal corresponding to the first person entering the detection area and determines that he or she needs to pass through the smart door, it sets the motor speed according to the average movement speed of the person.
[0076] In the smart door control method provided by an embodiment of the present invention, a person's movement direction is determined through a humanoid sensor and an image recognition device. If the movement direction indicates that the person needs to enter or exit the smart door, the person's average movement speed is determined, and the motor speed is set according to the average movement speed; the motor is controlled according to the motor speed to open the smart door. Through the method provided by the present invention, the opening and closing speed of the smart door can be set according to the movement speed of different people. When people enter or exit the smart door, the smart door can be opened to a degree that allows people to enter and exit, avoiding the risk of people being pinched by the door when entering or exiting, and also avoiding people having to wait for the smart door to open after reaching the door.
[0077] S2: Wait for the preset door sensor to transmit a signal.
[0078] The signal emitted by the door sensor is used to indicate whether the smart door has been opened or closed.
[0079] Optionally, when the smart door is opening, if the motor speed is set, the waiting time required for the smart door to open properly can be calculated based on the motor speed. The door sensor can be waited for to transmit a signal according to the waiting time.
[0080] S3: If the first control condition or the second control condition corresponding to the smart door is triggered without receiving the signal transmitted by the door sensor, the motor is controlled to stop opening the smart door.
[0081] Among them, the first control condition is that the waiting time for the door sensor to transmit a signal reaches a preset waiting time, and the second control condition is that the signals transmitted by the preset anti-pinch sensor and the preset through-beam sensor are received in sequence.
[0082] The waiting time is the length of time it takes for the smart door to fully open from closed. This waiting time can be calculated based on the motor speed and the distance the smart door needs to move. If no signal is received from the door sensor after the waiting time has expired, this indicates a possible door sensor failure. Therefore, if no signal is received from the door sensor, the first control condition is triggered, and a fault message corresponding to the door sensor is issued.
[0083] Similarly, if the smart door is fully closed and the controller does not receive the signal transmitted by the door sensor, it will also issue a fault message corresponding to the door sensor.
[0084] When the waiting time of the door sensor does not reach the waiting time, the second control condition is triggered, indicating that the current opening degree of the smart door has met the opening degree for people to enter and exit, and the person has completed the needs of entering and exiting the smart door. There is no need to continue opening the smart door. At this time, the motor can be controlled to stop opening the smart door.
[0085] Based on the method provided in the above embodiment, refer to Figure 3 The specific process of the controller controlling the intelligent door from opening to stopping opening in the present invention is as follows:
[0086] (1) The controller receives the signal emitted by the humanoid sensor and determines through the image recognition device that a person needs to pass through the smart door.
[0087] (2) Set the motor speed according to the movement speed of the person, and control the motor to open the smart door according to the motor speed.
[0088] (3) When the smart door is opening, the controller waits for the door sensor to send a signal.
[0089] (4) When one of the following conditions is met, the intelligent door is controlled to stop opening:
[0090] Condition 1: Receive the signal transmitted by the door sensor;
[0091] Condition 2: When no signal from the door sensor is received, the waiting time reaches the preset waiting time;
[0092] Condition 3: When the signal transmitted by the door sensor is not received and the waiting time has not reached the waiting time, the signals transmitted by the anti-pinch sensor and the through-beam sensor are received in sequence.
[0093] Optionally, during the process of the smart door opening and stopping, the interaction process between the controller, human shape sensor, anti-pinch sensor, through-beam sensor, door sensor, motor, and portrait camera can be as follows:
[0094] (1) The humanoid sensor detects a person;
[0095] (2) The portrait camera detects the walking direction and speed of the person and determines whether the person wants to enter the smart door;
[0096] (3) When it is determined that a person needs to enter the smart door, the humanoid sensor sends a signal to the controller;
[0097] (4) The controller sends a door opening signal to the motor based on the signal;
[0098] (5) The motor receives the door opening signal and controls the smart door to open;
[0099] (6) The controller detects whether the door sensor transmits a signal. If so, it jumps to (11). Otherwise, it jumps to (7).
[0100] (7) Does the anti-pinch sensor detect that someone passes through the smart door? If so, jump to (8); otherwise, jump to (9);
[0101] (8) The beam sensor detects whether someone has passed through the smart door. If so, jump to (11); otherwise, jump to (9);
[0102] (9) Whether the number of detections by the anti-pinch sensor or the through-beam sensor exceeds N times (for example, 3 times), if so, jump to (10); otherwise, jump to (6)
[0103] (10) Based on the image recognition in (2), the person's entry time is determined, and the door is automatically opened in about M seconds (for example, 5 seconds), and the process jumps to (11);
[0104] (11) The controller sends the door opening position information to the motor;
[0105] (12) The motor stops opening the smart door and the process ends.
[0106] In an optional embodiment, the controller can set trigger conditions for controlling the motor to stop opening the smart door based on the actual scenario of people entering or exiting the smart door. Specifically, when no signal from the door sensor is received, the controller determines the number of people currently passing through the smart door. If the number of people is less than a target threshold, the controller controls the motor to stop opening the smart door if the first control condition or the second control condition is triggered. If the number of people is not less than the target threshold, the controller controls the motor to stop opening the smart door after the first control condition is triggered.
[0107] As can be seen from this, the present invention can set trigger conditions based on the number of people entering and exiting the smart door. If the number of people entering and exiting the smart door is less than the target threshold (for example, 3 people), the smart door does not need to be fully opened due to the small number of people entering and exiting the smart door, and each person entering and exiting the smart door can pass through unimpeded. Therefore, if the number of people entering and exiting the smart door is less than the target threshold and the second control condition is triggered first (at this time, the smart door is not fully opened), the smart door can be controlled to stop opening. If the number of people entering and exiting the smart door is not less than the target threshold, congestion may occur if the smart door is only slightly opened. Therefore, if the number of people entering and exiting the smart door is not greater than the target threshold and the second control condition is triggered first (at this time, the smart door is not fully opened), the smart door will not be controlled to stop opening until the first control condition is triggered after the second control condition is triggered (at this time, the smart door is fully opened), or the controller receives a signal from the door sensor and then controls the motor to stop opening the smart door.
[0108] In the present invention, if the corresponding trigger conditions for controlling the smart door to stop opening are set according to the number of people entering and exiting the smart door, on the one hand, the running time of the motor can be reasonably planned, and on the other hand, excessive congestion of people entering and exiting the smart door can be avoided.
[0109] It's important to note that the smart door has through-beam sensors on both sides. When a person passes through the smart door, the sensors that transmit signals are: humanoid sensor, through-beam sensor, anti-pinch sensor, through-beam sensor, and humanoid sensor. When the controller receives signals from the anti-pinch sensor and then the through-beam sensor, it indicates that a person has fully passed through the smart door and can also determine whether the smart door is open enough to allow entry or exit.
[0110] When the controller controls the motor to open or close the smart door, if it receives a signal from the door sensor, it controls the motor to stop opening or closing the smart door. However, if the door sensor is in an abnormal state, the controller cannot detect whether the door sensor is abnormal. Therefore, if it does not receive a signal from the door sensor, even if the smart door is fully opened or closed, the motor will continue to control the smart door to keep it in motion, which can easily cause damage to the smart door. Therefore, in the present invention, when a person passes through the smart door, it can be ensured that the current opening degree of the smart door is sufficient to allow the person to enter or exit. Even if multiple people are entering and exiting the smart door continuously, each person can pass through.
[0111] S4: Record the duration of the smart door opening.
[0112] The opening duration refers to the time it takes for the smart door to start opening and stop opening. If the controller controls the motor to stop opening the smart door upon receiving a signal from the door sensor or when the first control condition is triggered, the opening duration of the smart door is the waiting time for the door sensor to transmit the signal. If the controller controls the motor to stop opening the smart door upon triggering the second control condition, the opening duration of the smart door is the time it takes for the smart door to start opening and stop opening, and this opening duration is less than the waiting time.
[0113] It should be noted that if the opening time of the smart door is consistent with the waiting time, and the condition for suspending the opening of the smart door is that the first control condition is triggered, a sensor fault message corresponding to the door sensor is issued.
[0114] S5: When the human sensor, anti-pinch sensor, and through-beam sensor all stop transmitting signals, the motor is controlled to close the smart door according to the opening time.
[0115] When the humanoid sensor, anti-pinch sensor, and through-beam sensor all stop emitting signals, it indicates that no one needs to pass through the smart door at the moment, so the motor is controlled to close the smart door according to the opening time.
[0116] In the present invention, after controlling the motor to close the smart door according to the opening duration, if no signal is received from the door sensor, a sensor fault message corresponding to the door sensor is issued. Under normal operating conditions, the door sensor transmits a signal to the controller when the smart door is fully opened or fully closed. Under abnormal operating conditions, the door sensor does not transmit a signal to the controller when the smart door is fully opened or fully closed.
[0117] Specifically, the door sensor may include a first door sensor and a second door sensor; the first door sensor is used to detect whether the smart door is fully opened, and the second door sensor is used to detect whether the smart door is fully closed; if the first control condition is triggered without receiving a signal emitted by the door sensor, a sensor fault message corresponding to the first door sensor is issued; if the signal emitted by the second door sensor is not received after the motor is controlled to close the smart door according to the opening time, a sensor fault message corresponding to the second door sensor is issued.
[0118] Applying the method provided in the above embodiment, if the door sensor fails to detect that the smart door is in position, the human presence sensor signal is used to determine whether a person has left; the anti-pinch sensor detects whether a person has entered or exited; and the through-beam sensor determines whether a person has entered the through-beam area. When all three conditions are met, the door is determined to be fully opened. The controller sends a position-in-place signal to the motor, forcibly stopping the smart door from opening. This prevents the motor from controlling the smart door to continue opening due to a door sensor failure, thereby preventing damage to the smart door and improving safety for people entering and exiting the smart door.
[0119] and Figure 1 Corresponding to the above method, the embodiment of the present invention further provides an intelligent door control device for controlling Figure 1 In the specific implementation of the method, the intelligent door control device provided by the embodiment of the present invention is applied to the controller, and its structural diagram is shown as follows Figure 4 As shown, specifically including:
[0120] The first control unit 401 is configured to control the motor to open the smart door upon receiving a signal transmitted by a humanoid sensor, wherein the humanoid sensor is configured to detect whether a person is within a detection area corresponding to the smart door;
[0121] A waiting unit 402 is configured to wait for a preset door sensor to transmit a signal, wherein the signal transmitted by the door sensor is used to indicate that the smart door has been opened or closed to the desired position;
[0122] a second control unit 403, configured to control the motor to stop opening the smart door if a first control condition or a second control condition corresponding to the smart door is triggered without receiving a signal transmitted by the door sensor, wherein the first control condition is that a waiting time for the door sensor to transmit a signal reaches a preset waiting time, and the second control condition is that signals transmitted by a preset anti-pinch sensor and a preset through-beam sensor are received in sequence;
[0123] Recording unit 404, used to record the opening time of the smart door;
[0124] The third control unit 405 is used to control the motor to close the smart door according to the opening time when the human sensor, the anti-pinch sensor and the through-beam sensor all stop transmitting signals.
[0125] In the device provided by the embodiment of the present invention, the first control unit 401 controls the motor to open the smart door, specifically for:
[0126] Activate a preset image recognition device to capture a dynamic image of the person; based on the dynamic image, identify the movement direction of the person; if the movement direction of the person indicates that the person needs to pass through the smart door, control the motor to open the smart door.
[0127] In the device provided by the embodiment of the present invention, the first control unit 401 controls the motor to open the smart door, specifically for:
[0128] Determine the average movement speed of the person; set the motor speed of the motor based on the average movement speed; and control the motor to open the smart door according to the motor speed.
[0129] In the device provided by an embodiment of the present invention, a beaming area is provided on both sides of the smart door, and the beaming area includes a plurality of beaming sensors. When the person passes through the beaming area on either side of the smart door, the controller receives signals emitted sequentially by the beaming sensors in the beaming area according to the direction of movement of the person.
[0130] The first control unit 401 determines the average movement speed of the person, specifically for:
[0131] After the person enters a radio area for the first time, the emission time of each radio sensor in the radio area transmitting a signal in sequence is obtained; and based on each emission time, the average movement speed of the person is determined.
[0132] In the device provided by the embodiment of the present invention, the second control unit 403 controls the motor to stop opening the smart door, specifically for:
[0133] Determine the number of people currently passing through the smart door; when the number of people is less than the target threshold, if the first control condition or the second control condition is triggered, control the motor to stop opening the smart door; when the number of people is not less than the target threshold, after the first control condition is triggered, control the motor to stop opening the smart door.
[0134] In the device provided by the embodiment of the present invention, the device further includes:
[0135] A fault prompt unit is used to issue a sensor fault message corresponding to the door sensor if the smart door is temporarily closed based on the triggering of the first control condition.
[0136] In the device provided by the embodiment of the present invention, the fault prompt unit is further configured to:
[0137] If no signal transmitted by the door sensor is received after the motor is controlled to close the smart door according to the opening time, a sensor failure message corresponding to the door sensor is issued.
[0138] The specific working process of each unit in the intelligent door control device disclosed in the above embodiment of the present invention can be found in the corresponding content in the intelligent door control method disclosed in the above embodiment of the present invention, and will not be repeated here.
[0139] An embodiment of the present invention further provides a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above-mentioned smart door control method.
[0140] The embodiment of the present invention further provides an electronic device, the structural diagram of which is shown in FIG. Figure 5 As shown, it specifically includes a memory 501 and one or more instructions 502, wherein the one or more instructions 502 are stored in the memory 501 and are configured to be executed by one or more processors 503 to perform the following operations:
[0141] When receiving a signal transmitted by a humanoid sensor, the motor is controlled to open the smart door. The humanoid sensor is used to detect whether there is a person in the detection area corresponding to the smart door;
[0142] Waiting for a preset door sensor to transmit a signal, the signal transmitted by the door sensor is used to indicate that the smart door has been opened or closed;
[0143] If the first control condition or the second control condition corresponding to the smart door is triggered without receiving the signal transmitted by the door sensor, the motor is controlled to stop opening the smart door, the first control condition being that the waiting time for the signal transmitted by the door sensor reaches a preset waiting time, and the second control condition being that the signals transmitted by the preset anti-pinch sensor and the preset through-beam sensor are received in sequence;
[0144] Recording the duration of time the smart door is open;
[0145] When the humanoid sensor, the anti-pinch sensor, and the through-beam sensor all stop transmitting signals, the motor is controlled to close the smart door according to the opening duration.
[0146] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple. For relevant parts, refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative work.
[0147] Those skilled in the art may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented by electronic hardware, computer software, or a combination of both.
[0148] To clearly illustrate the interchangeability of hardware and software, the above descriptions have generally described the components and steps of each example by function. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Professionals may use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of the present invention.
[0149] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A smart door control method, characterized in that: The method is applied to a controller, and the method includes: When receiving a signal transmitted by a humanoid sensor, the motor is controlled to open the smart door. The humanoid sensor is used to detect whether there is a person in the detection area corresponding to the smart door; Waiting for a preset door sensor to transmit a signal, the signal transmitted by the door sensor is used to indicate that the smart door has been opened or closed; If the first control condition or the second control condition corresponding to the smart door is triggered without receiving the signal transmitted by the door sensor, the motor is controlled to stop opening the smart door, the first control condition being that the waiting time for the signal transmitted by the door sensor reaches a preset waiting time, and the second control condition being that the signals transmitted by the preset anti-pinch sensor and the preset through-beam sensor are received in sequence; Recording the duration of time the smart door is open; When the humanoid sensor, the anti-pinch sensor, and the through-beam sensor all stop transmitting signals, controlling the motor to close the smart door according to the opening time; Wherein, controlling the motor to stop opening the smart door includes: Determine the number of people currently passing through the smart door; When the number of people is less than the target threshold, if the first control condition or the second control condition is triggered, controlling the motor to stop opening the smart door; When the number of people is not less than the target threshold, after the first control condition is triggered, controlling the motor to stop opening the smart door; Among them, there are through-beam sensors on both sides of the smart door. When a person passes through the smart door, the sensors that transmit signals are: humanoid sensor-through-beam sensor-anti-pinch sensor-through-beam sensor-humanoid sensor.
2. The method according to claim 1, characterized in that The control motor to open the smart door includes: Activating a preset image recognition device to capture a dynamic image of the person; Based on the dynamic image, identifying the movement direction of the person; If the movement direction of the person indicates that the person needs to pass through the smart door, the motor is controlled to open the smart door.
3. The method according to claim 2, characterized in that The controlling the motor to open the smart door comprises: determining an average speed of movement of the person; setting a motor speed of the motor based on the average motion speed; Control the motor to open the smart door according to the motor speed.
4. The method according to claim 3, characterized in that The smart door is provided with a beaming area on both sides, and the beaming area contains a plurality of beaming sensors. When the person passes through the beaming area on either side of the smart door, the controller receives the signals emitted in sequence by the beaming sensors in the beaming area according to the direction of movement of the person; Wherein, determining the average movement speed of the person includes: After the person enters the radio area for the first time, obtaining the emission time of each radio sensor in the radio area transmitting a signal in sequence; Based on the respective emission times, an average movement speed of the person is determined.
5. The method according to claim 1 or 4, characterized in that The method further comprises: If the smart door is temporarily closed based on the triggering of the first control condition, a sensor failure message corresponding to the door sensor is issued.
6. The method according to claim 1, characterized in that The method further comprises: If no signal transmitted by the door sensor is received after the motor is controlled to close the smart door according to the opening time, a sensor failure message corresponding to the door sensor is issued.
7. An intelligent door control device, characterized in that: The device is applied to a controller, and the device includes: A first control unit is configured to control the motor to open the smart door upon receiving a signal transmitted by a humanoid sensor, wherein the humanoid sensor is configured to detect whether a person is within a detection area corresponding to the smart door; A waiting unit, configured to wait for a preset door sensor to transmit a signal, wherein the signal transmitted by the door sensor is used to indicate that the smart door has been opened or closed; a second control unit, configured to control the motor to stop opening the smart door if a first control condition or a second control condition corresponding to the smart door is triggered without receiving a signal transmitted by the door sensor, wherein the first control condition is that a waiting time for the door sensor to transmit a signal reaches a preset waiting time, and the second control condition is that signals transmitted by a preset anti-pinch sensor and a preset through-beam sensor are received in sequence; A recording unit, used to record the opening time of the smart door; a third control unit, configured to control the motor to close the smart door according to the opening duration when the human sensor, the anti-pinch sensor, and the through-beam sensor all stop transmitting signals; The second control unit controls the motor to stop opening the smart door, specifically: determining the number of people currently passing through the smart door; if the number of people is less than a target threshold, and if the first control condition or the second control condition is triggered, controlling the motor to stop opening the smart door; if the number of people is not less than the target threshold, and after the first control condition is triggered, controlling the motor to stop opening the smart door; Among them, there are through-beam sensors on both sides of the smart door. When a person passes through the smart door, the sensors that transmit signals are: humanoid sensor-through-beam sensor-anti-pinch sensor-through-beam sensor-humanoid sensor.
8. A storage medium, characterized in that: The storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the smart door control method according to any one of claims 1 to 6.
9. An electronic device, characterized in that: It includes a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to execute the one or more instructions to perform the smart door control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Intelligent door system and working method thereof
CN104499871A
Method for operating door system
CN114922533A
Electric foldable garage door
CN2703847Y
Automatic sliding door
JP2002168047A
Automatic door
JP2013023829A