Mobile closing device control method, system and equipment of building and storage medium
Through sensor arrays and advanced data processing algorithms, the control signal is dynamically adjusted to solve the problem of flexibility and accuracy of the mobile closure device in environmental changes and obstacle handling, achieving efficient, precise and intelligent control, and improving the system's Adaptability and user experience.
Patent Information
- Application Number
- CN202410735435.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing mobile closure devices lack flexibility and accuracy in handling environmental changes and obstacles, and insufficient sensor data processing results in insufficient control accuracy and energy consumption management.
It uses a sensor array combined with denoising algorithms and Kalman filters for real-time data processing, dynamically adjusts control signals, uses graphics processing and collision detection algorithms to optimize path planning, and improves system intelligence through online calibration.
It significantly improves the positioning accuracy and signal reliability of the mobile closure device, enhances environmental adaptability and safety, optimizes energy consumption management, and improves path planning efficiency and user experience.
Smart Images

Figure CN118778480A_ABST
Abstract
Description
Technical Field
[0001] The embodiments disclosed in the present invention relate to the field of building equipment control, and in particular to a method, system, equipment and storage medium for controlling a mobile closing device of a building. Background Art
[0002] In building automation control systems, mobile closing devices such as automatic doors and mobile partitions are used inside buildings to achieve effective separation and control of space. These devices usually use pre-programmed control logic and rely on limited sensor information for operation. However, the existing technology has several limitations, especially in adapting to dynamic environmental changes and providing precise control. First, the control systems of existing mobile closing devices often lack sensitivity to environmental changes and cannot respond to the appearance of obstacles or temporary changes in paths in a timely manner. Secondly, traditional control methods usually do not involve in-depth processing of sensor data, which makes it difficult to ensure control accuracy in the presence of noise and interference. In addition, the existing system also has deficiencies in energy consumption management and real-time performance, and cannot be optimized and adjusted according to the actual operating status.
[0003] In the process of realizing the present invention, the inventors found that there are at least the following problems in the prior art: First, when the mobile closing device performs the closing task, its path planning lacks adaptability to the complex structure inside the building, resulting in the inability to efficiently avoid obstacles. Second, when processing sensor data, the existing control algorithm fails to effectively filter out noise and predict the status of the equipment, affecting the real-time and accuracy of the control. In addition, the existing system fails to fully utilize sensor feedback for online calibration and dynamic adjustment of control signals, limiting the intelligence level and energy efficiency of the system.
[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention
[0005] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0006] Some embodiments of the present disclosure propose a method, system, device and storage medium for controlling a mobile closing device of a building to solve the technical problem mentioned in the above background technology section that it is difficult to accurately control and dynamically optimize the path of the mobile closing device.
[0007] In a first aspect, some embodiments of the present disclosure provide a method for controlling a mobile closing device of a building, comprising:
[0008] Detecting the current position state of the mobile closing device;
[0009] Calculating a target position of the mobile closing device according to a predetermined closing path;
[0010] Drive the mobile closing device from the current position to the target position through a control signal;
[0011] During the movement, the operating status of the mobile closing device and the surrounding environmental conditions are monitored in real time;
[0012] According to the monitoring result, the control signal is dynamically adjusted to ensure that the mobile closing device reaches the target position.
[0013] As a further improvement of the present application, the real-time monitoring of the operating status and surrounding environmental conditions of the mobile closing device includes:
[0014] Using a sensor array to collect environmental data of the mobile closure device, wherein each sensor in the sensor array corresponds to a preset measurement parameter;
[0015] Applying a preset denoising algorithm to perform denoising processing on each of the measurement parameters to obtain valid data of each of the measurement parameters;
[0016] Using a Kalman filter to filter each of the valid data, obtain processed state data, and predict the instantaneous state of the mobile closing device;
[0017] According to the processed state data, a control signal parameter of the next control cycle of the mobile closing device is calculated based on formula (1);
[0018]
[0019] Among them, u(t) is the control signal parameter, e(t) is the error between the current position and the target position, K p , K i and K d They are proportional, integral and derivative gains respectively.
[0020] As a further improvement of the present application, the applying a preset denoising algorithm to perform denoising processing on each of the measurement parameters includes:
[0021] Performing time-frequency analysis on the signal of each of the measurement parameters to identify noise components in the signal;
[0022] Applying wavelet transform to perform multi-scale decomposition on the signal, decomposing the signal of each measurement parameter into sub-signals of different frequencies;
[0023] Applying threshold processing to each of the sub-signals to remove or weaken noise components;
[0024] The processed sub-signals are reconstructed to obtain effective data after denoising.
[0025] As a further improvement of the present application, the control method further includes:
[0026] determining a starting position and a target position of the mobile closing device;
[0027] Using a graphics processing algorithm, calculating the shortest or optimal path for the mobile closure device on a map of the building;
[0028] Based on the internal structure and obstacles of the building, the collision detection algorithm is used to eliminate the obstacle path and generate a closed path;
[0029] The generated closed path is converted into an instruction set matching the mobile closed device format.
[0030] As a further improvement of the present application, the control method further includes:
[0031] receiving status updates of the sensor array in real time;
[0032] The data of the sensor array after the state update is calibrated online by the recursive least square method.
[0033] As a further improvement of the present application, the step of calculating the target position of the mobile closing device according to the predetermined closing path includes:
[0034] Determining a feasible movement area and obstacle positions of the mobile closing device based on the predetermined closed path;
[0035] generating all possible paths starting from the current position of the mobile closure device to the target position;
[0036] For each of the possible paths, calculating a path length and a risk assessment parameter, wherein the risk assessment parameter includes a potential risk of passing through an obstacle;
[0037] Applying a weighted path scoring function, assigning a comprehensive score to each of the possible paths based on formula (2);
[0038] S(p)=α·L(p)+β·R(p) (2)
[0039] Among them, S(p) is the comprehensive score of path p, L(p) is the length of path p, R(p) is the risk assessment parameter of path p, and α and β are weight parameters adjusted according to the actual application scenario;
[0040] Selecting a path with the lowest comprehensive score from all the possible paths as a predetermined closed path;
[0041] After determining the closed path, determining key node information on the closed path, the key node information including inflection points or obstacle edges, and generating reference points for navigation of the mobile closed device based on the key node information;
[0042] The target position and the reference point are converted into navigation instructions for the mobile closure device, wherein the navigation instructions include a steering angle, a driving distance, and a driving speed.
[0043] As a further improvement of the present application, dynamically adjusting the control signal according to the monitoring result includes:
[0044] The control signal is dynamically adjusted based on device parameters, including real-time feedback of position error, operating speed, and energy consumption status.
[0045] In a second aspect, some embodiments of the present disclosure provide a mobile closing device control system for a building, comprising:
[0046] A detection module, used to detect the current position state of the mobile closing device;
[0047] A target position module, used to calculate the target position of the mobile closing device according to a predetermined closing path;
[0048] A control module, used for driving the mobile closing device to move from a current position to a target position through a control signal;
[0049] A monitoring module, used to monitor the operating status and surrounding environmental conditions of the mobile closing device in real time during the movement process;
[0050] The adjustment module is used to dynamically adjust the control signal according to the monitoring result to ensure that the mobile closing device reaches the target position.
[0051] In a third aspect, some embodiments of the present disclosure provide a device, comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the one or more processors implement the method described in any implementation method in the above-mentioned first aspect.
[0052] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any one of the implementations in the first aspect above is implemented.
[0053] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: by adopting a sensor array combined with an advanced data processing algorithm, the positioning accuracy and signal reliability of the mobile closing device are significantly improved; the method of real-time monitoring and dynamic adjustment of the control signal enables the device to flexibly adapt to the dynamic changes of the internal environment of the building, thereby enhancing the safety and reliability of operation; by using the Kalman filter, the present invention not only realizes the precise control of the movement of the mobile closing device, but also optimizes the energy consumption management; in addition, the application of graphics processing algorithms and collision detection algorithms effectively improves the efficiency of path planning, avoids obstacles, and reduces waiting and detour time. The addition of the online calibration function further improves the intelligence level and adaptability of the system, ensuring the continuous improvement of user experience. The embodiments of the present invention realize efficient, precise and intelligent control of the mobile closing device, and have practical value. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0055] Figure 1 is a flow chart of a method for controlling a mobile closing device of a building according to an embodiment of the present invention;
[0056] Figure 2 It is a principle block diagram of a mobile closing device control system of a building according to an embodiment of the present invention.
[0057] Figure 3 is a schematic structural diagram of a device according to an embodiment of the present invention;
[0058] Figure 4 is a schematic diagram of the structure of a storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION
[0059] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0060] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0061] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0062] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0063] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0064] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0065] Figure 1 A flow chart 100 of some embodiments of a mobile closure control method for a building according to the present disclosure is shown.
[0066] It should be noted that the mobile closing device involved in the present invention is an automated device designed to automatically navigate in the internal environment of a building and perform closing actions according to preset conditions or instructions. This device can be in various forms, such as automatic doors, mobile partitions, protective covers or other similar movable barriers.
[0067] The mobile closing device involved in the present invention can be used as an application scenario in buildings that require automated control and safe navigation, such as hospitals, shopping malls, airports, warehouses and other public or private buildings. By providing precise control and flexible navigation, the mobile closing device of the present invention can improve the efficiency and safety of the use of the interior space of the building.
[0068] like Figure 1 As shown, the control method of the mobile closing device of the building comprises the following steps:
[0069] Step 101, detecting the current position state of the mobile closing device;
[0070] It should be noted that before starting to control the mobile closing device, the system needs to be initialized and configured. Ensure that all hardware devices of the mobile closing device, such as motors, sensors, communication modules, etc., are in normal working condition. Perform necessary hardware debugging and calibration to ensure the accuracy and stability of the device movement. Set relevant parameters in the control system, such as moving speed range, acceleration limit, steering sensitivity, etc. These parameters will serve as the basis for subsequent control signal generation. Import the floor plan or three-dimensional model of the building into the control system as the basis for path planning and navigation. Ensure the accuracy and real-time nature of the map data so that the mobile closing device can correctly identify the structure and obstacles in the building.
[0071] Preferably, after the mobile closing device is started, it first determines its current position through a built-in positioning system (such as laser radar, ultrasonic positioning, visual recognition, etc.). This position information will be used as the starting point for subsequent path planning and navigation. The current position is detected to determine the precise position of the mobile closing device in the building, which is the basis for navigation and path planning. For automatic doors or similar mobile closing devices, knowing their position is crucial to ensure that they move correctly along the intended path.
[0072] Preferably, the instantaneous status data generally includes the current position of the device, direction of movement, speed, acceleration, motor status (such as speed and temperature), battery charge, and any other environmental factors that may affect its movement.
[0073] Step 102, calculating the target position of the mobile closing device according to the predetermined closing path;
[0074] Preferably, the target location of the mobile closure device is specified on the building map according to user needs or preset tasks. This location can be a specific coordinate point or a functional area (such as a conference room, warehouse, etc.). The optimal or shortest path from the current location to the target location is calculated on the map using a path planning algorithm (such as A* algorithm, Dijkstra algorithm, etc.). This path should avoid obstacles and ensure movement efficiency.
[0075] The calculated path is converted into navigation instructions that the mobile closed device can understand. These instructions include steering angle, driving distance, driving speed, etc., to ensure that the device can move along the planned path.
[0076] Step 103, driving the mobile closing device from the current position to the target position through a control signal;
[0077] Preferably, a series of control commands can be generated according to the calculated target position and path, including start, stop, speed adjustment and steering instructions of the motor. An electronic control unit (ECU) or a microcontroller is used to execute these control commands, and the drive device moves to the target position.
[0078] Step 104, during the movement process, real-time monitoring of the operating state and surrounding environmental conditions of the mobile closing device;
[0079] Preferably, during the movement, the operating status and surrounding environmental conditions of the mobile closure device are monitored in real time by a sensor array. These sensors may include:
[0080] Distance sensor, used to detect the distance between the device and surrounding objects to prevent collision;
[0081] A speed sensor for monitoring the actual moving speed of the device to ensure that it complies with a preset speed range;
[0082] Direction sensors to ensure that the device moves in the intended direction;
[0083] Environmental perception sensors (such as cameras, infrared sensors, etc.) are used to detect changes in the surrounding environment, such as the sudden appearance of obstacles or pedestrians.
[0084] Based on the real-time monitoring data from these sensors, the control system can dynamically adjust the control signal to ensure the safety and efficiency of the mobile closing device. For example, when an obstacle is detected ahead, the control system can automatically adjust the direction or speed of the device to avoid a collision. At the same time, if the actual speed of the device is lower than the preset speed range, the control system can appropriately increase the speed command to improve the moving efficiency.
[0085] Step 105: dynamically adjust the control signal according to the monitoring result to ensure that the mobile closing device reaches the target position.
[0086] Preferably, when the mobile closing device reaches the target position, the control system will receive a corresponding confirmation signal. At this time, the device can perform a preset task, such as opening a door, taking an object, delivering an object, etc. After the task is completed, the device can wait for a new instruction or automatically return to the starting position.
[0087] During the movement process, if unforeseen errors or abnormal situations (such as sensor failure, blocked paths, etc.) are encountered, the control system should be able to handle them in a timely manner and take appropriate safety measures. This may include stopping the movement, sounding an alarm, or trying to re-plan the path. As the mobile closure device runs multiple times in the building, the control system can collect and analyze historical data to optimize path planning and navigation strategies. In addition, machine learning technology can also be used to improve the device's autonomous navigation capabilities and environmental adaptability.
[0088] Preferably, a feedback control algorithm (such as a PID controller) is used to dynamically adjust the control signal based on the real-time monitored operating status and environmental conditions. If an obstacle is detected, the control algorithm will re-plan the path and adjust the motor speed to avoid collision and ensure safety.
[0089] Furthermore, in some embodiments, in the above step 104, the real-time monitoring of the operating state and surrounding environmental conditions of the mobile closing device includes:
[0090] Using a sensor array to collect environmental data of the mobile closure device, wherein each sensor in the sensor array corresponds to a preset measurement parameter;
[0091] Preferably, an array comprising a variety of sensors is deployed, such as distance sensors (ultrasonic or laser), infrared sensors, cameras, etc., to collect data about the environment surrounding the mobile closure device.
[0092] Each sensor performs real-time monitoring for specific measurement parameters, such as distance, temperature, light intensity, etc.
[0093] Applying a preset denoising algorithm to perform denoising processing on each of the measurement parameters to obtain valid data of each of the measurement parameters;
[0094] Preferably, a denoising algorithm is applied to the raw data collected by the sensor to eliminate noise and interference. The denoising algorithm may include time-frequency analysis, wavelet transform, etc.
[0095] The signal of each measurement parameter is subjected to wavelet transform and decomposed into sub-signals of different frequencies. Then threshold processing is applied to each sub-signal, and finally the effective data after denoising is reconstructed.
[0096] Preferably, wavelet transform denoising can perform the following algorithm steps:
[0097] Time-frequency analysis to identify noise components in the signal;
[0098] Wavelet transform, decomposing the signal into multiple frequency sub-signals;
[0099] Threshold processing, processing each sub-signal, retaining the main signal components and removing noise;
[0100] Reconstruction: reconstruct the processed sub-signal into a denoised signal.
[0101] Using a Kalman filter to filter each of the valid data, obtain processed state data, and predict the instantaneous state of the mobile closing device;
[0102] It should be noted that the Kalman filter is a state estimation algorithm for linear dynamic systems that uses a series of noisy observations and produces a series of more accurate state estimates:
[0103] Specifically, before starting state prediction, the Kalman filter needs to be properly initialized. This includes setting the initial position estimate and uncertainty (covariance) estimate of the mobile closing device. These initial values are based on the best guess of the initial state of the device and the understanding of the system uncertainty.
[0104] The first stage of a Kalman filter is prediction. In this stage, the filter uses a dynamic model of the device to predict its future state. For example, if a mobile closure moves along a straight path, the prediction model might take into account the current velocity and acceleration of the device. At the same time, the filter also predicts the uncertainty of the next state, which is usually represented as a matrix.
[0105] When new sensor data becomes available, the Kalman filter enters an update phase. During this phase, the filter calculates a value called the Kalman gain, which is a trade-off between prediction uncertainty and observation uncertainty. The filter then uses the Kalman gain to combine the observed and predicted data to update the device's state estimate. This updated state estimate is a more accurate estimate of the device's current position. Finally, the filter also updates the uncertainty estimate of the state, which provides the basis for the next prediction step.
[0106] Furthermore, in the control method of the mobile closure device, the application of the Kalman filter can improve the accuracy of the estimation of the device state, especially when there is noise and interference in the sensor data. The filter provides a dynamic and adaptive state estimation by continuously fusing the real-time observations from the sensor and the dynamic model of the device.
[0107] For example, if an ultrasonic sensor provides measurements of the distance between a mobile closure and a wall, the Kalman filter can use this data to accurately estimate the location of the device, even if the sensor readings are affected by ambient noise. In this way, the filter enables the PID controller to calculate the control signal more accurately, thereby achieving precise control of the mobile closure.
[0108] To illustrate with a specific example, suppose the mobile closing device is an automatic door in a building, and a Kalman filter is used to process the distance data between the door and the wall provided by the ultrasonic sensor. At the beginning of the day, the filter is initialized with the estimated position and uncertainty of the door. As the door opens and closes, the filter uses the door's motion model to predict its future position and uncertainty in the prediction step. When new sensor data arrives, the filter uses this data in the update step to improve its estimate of the door's position. In this way, the filter can provide an accurate estimate of the door's position even in the presence of heavy traffic or other distractions, ensuring that the automatic door can respond smoothly and accurately to people entering and exiting.
[0109] According to the processed state data, a control signal parameter of the next control cycle of the mobile closing device is calculated based on formula (1);
[0110]
[0111] Among them, u(t) is the control signal parameter, e(t) is the error between the current position and the target position, K p , K i and K d They are proportional, integral and derivative gains respectively.
[0112] Preferably, the control signal parameters are calculated using a PID control algorithm based on the state data provided by the Kalman filter. The PID controller adjusts the control signal through three terms: proportional (P), integral (I) and differential (D).
[0113] The proportional term responds quickly to the current error, the integral term eliminates the steady-state error, and the differential term provides a prediction of the error change trend, increasing the stability of the system.
[0114] According to the dynamic characteristics and response requirements of the mobile closing device, adjust the gain K of the PID controller p , K i and K d .
[0115] Furthermore, the applying a preset denoising algorithm to perform denoising processing on each of the measurement parameters further includes:
[0116] Performing time-frequency analysis on the signal of each of the measurement parameters to identify noise components in the signal;
[0117] For each measured parameter signal, time-frequency analysis is first performed, which is a technique for analyzing the frequency components of a signal at different time points. Through time-frequency analysis, stable components and time-varying noise components in the signal can be identified, providing a basis for subsequent denoising.
[0118] Applying wavelet transform to perform multi-scale decomposition on the signal, decomposing the signal of each measurement parameter into sub-signals of different frequencies;
[0119] Preferably, the signal is decomposed into multiple scales by applying wavelet transform, which is a mathematical method that decomposes the signal into multiple sub-signals at different frequency levels by convolving wavelet functions of different scales with the signal.
[0120] This step involves choosing the appropriate wavelet basis functions, which determine the characteristics and effectiveness of the decomposition.
[0121] Applying threshold processing to each of the sub-signals to remove or weaken noise components;
[0122] Preferably, for each sub-signal obtained by wavelet transform decomposition, threshold processing is applied to remove or weaken the noise component. Threshold processing is a statistical method that sets a threshold according to the local characteristics of the signal and regards the components exceeding the threshold as noise.
[0123] The threshold is usually set based on the statistical properties of the noise, such as the standard deviation or mean. In some cases, the threshold can be adaptive, dynamically adjusted according to different regions or characteristics of the signal.
[0124] The processed sub-signals are reconstructed to obtain effective data after denoising.
[0125] The sub-signals processed by threshold need to be reconstructed to obtain the denoised signal. The reconstruction process is the inverse process of wavelet transform, which synthesizes the processed sub-signals into the final denoised signal.
[0126] During reconstruction, the main frequency components of the signal are usually retained while the noise frequency components are removed or weakened to obtain a clearer and more accurate signal.
[0127] Specifically, for example, the sensor array of the mobile closing device includes an ultrasonic sensor for measuring distance. The sensor will collect a signal containing noise when working. First, the signal is subjected to time-frequency analysis to identify the high-frequency noise component. Then, the signal is decomposed into sub-signals of different frequencies through wavelet transform, and a suitable threshold is determined for each sub-signal. Then, threshold processing is applied to remove or reduce noise, and finally the processed sub-signals are reconstructed into denoised signals. In this way, the distance data provided by the ultrasonic sensor is more accurate and can be used for subsequent processing of the Kalman filter, thereby improving the accuracy and reliability of the mobile closing device control method.
[0128] Furthermore, the above control method may also include:
[0129] determining a starting position and a target position of the mobile closing device;
[0130] Preferably, a positioning system (such as GPS or indoor positioning technology) is used to determine the current position (starting position) of the mobile closure.
[0131] Preferably, the position (target position) to which the mobile closing device needs to be moved is determined by user input or a preset program.
[0132] Using a graphics processing algorithm, calculating the shortest or optimal path for the mobile closure device on a map of the building;
[0133] Preferably, a graph processing algorithm is used to calculate the shortest or optimal path from the starting position to the target position on an existing building map. This may involve a shortest path algorithm in graph theory, such as a Dijkstra algorithm or an A* search algorithm.
[0134] Consider the length of the path, estimated transit time, energy consumption, and other possible optimization criteria.
[0135] Preferably, the calculated path is evaluated using a collision detection algorithm based on the building's internal structure and known obstacle information.
[0136] If there is an obstacle in the path, the algorithm replans the path to bypass the obstacle and ensure that the mobile closure can pass safely.
[0137] Based on the internal structure and obstacles of the building, the collision detection algorithm is used to eliminate the obstacle path and generate a closed path;
[0138] Specifically, in the building interior environment, the accurate location and size information of obstacles are collected through laser scanning, infrared sensing or pre-recorded building layout drawings. Obstacle information includes but is not limited to fixed structures such as walls, furniture, elevators, stairs, and potentially moving objects such as pedestrians or vehicles.
[0139] Using the collected obstacle information, an environment model is established or updated. The model is usually two-dimensional or three-dimensional and is used to represent the environment in which the mobile closed device is located. The environment model can be a rasterized map in which each cell represents a part of the environment and is marked as passable or impassable.
[0140] Using the path calculated by the graphics processing algorithm as input, the mobile closure is simulated moving along that path. The size and shape of the mobile closure is taken into account to ensure the accuracy of the simulation.
[0141] For each position on the simulated path, a collision detection algorithm is executed to check whether the device will collide with an obstacle. Collision detection can be geometric detection, comparing the positional relationship between the device boundary and the obstacle boundary, or it can be based on a physics engine, taking into account the motion characteristics of the device. If a potential collision is found during the simulation, the algorithm will re-plan the path to avoid the detected obstacle.
[0142] The adjusted path is checked for collisions again until a safe path without collisions is found. On the basis of ensuring no collisions, the path is further optimized, taking into account factors such as path length, number of turns, and energy consumption. Optimization can use heuristic search algorithms, such as genetic algorithms or particle swarm optimization, to find a better solution.
[0143] In some feasible embodiments, the mobile closing device of the present invention can be an automatic door in a hospital that needs to be moved from the lobby to the other end of the corridor. First, the obstacle information inside the hospital, including walls, nurse stations, and mobile treatment carts, is collected by a laser scanner. Then, an environmental model is established to mark these obstacles on the map. Next, the A* algorithm is used to calculate the shortest path from the current position to the target position. When simulating the door moving along the path, a collision detection algorithm is executed to check whether it will collide with the nurse station or the treatment cart. If a collision is detected, the algorithm replans the path, such as increasing the path length to bypass the obstacle. Finally, the new path is optimized to reduce energy consumption and moving time, ensuring that the automatic door can reach the target position safely and efficiently.
[0144] The generated closed path is converted into an instruction set matching the mobile closed device format.
[0145] Preferably, the generated closed path is converted into a series of control instructions that are compatible with the control system of the mobile closed device. The instruction set includes but is not limited to steering angle, travel distance, speed change, etc., for guiding the mobile closed device to move along the closed path.
[0146] In the present invention, the de-noised data is used to accurately determine the current position of the mobile closure. Then, the graphics processing algorithm works on a map of the building, which may include the location of walls, furniture and other fixed obstacles. The algorithm calculates a path from the current position to the target location that is as short as possible and avoids all obstacles.
[0147] The collision detection algorithm ensures the feasibility of the path by simulating the movement of the mobile closure along the path and detecting and eliminating paths that may cause collisions. This step is critical for safe navigation in complex or dynamically changing environments.
[0148] Finally, the closing path is converted into a set of control instructions that are executed by the device's control system, such as motor control signals, to achieve precise movement and closing operations. For example, if the mobile closing device is an automatic door, the control system will receive instructions to open or close the door, as well as information on the speed and angle of the door's movement.
[0149] Furthermore, the above control method also includes:
[0150] receiving status updates of the sensor array in real time;
[0151] Preferably, the sensor array on the mobile closing device monitors and records the operating status of the device in real time, including position, speed, acceleration, etc. The status update data can be transmitted to the central processing unit in real time through the output interface of the sensor array.
[0152] Preferably, the received status update data is first preprocessed, including filtering out outliers, normalization, etc., to ensure data quality and consistency. The need for online calibration is identified by analyzing the status update data of the sensor array. For example, calibration may be required when a significant deviation from the expected model is detected in the sensor reading.
[0153] The data of the sensor array after the state update is calibrated online by the recursive least square method.
[0154] It should be noted that recursive least squares is a mathematical algorithm used to update the statistical model of data in real time, such as the parameters of a linear regression model. Using recursive least squares to calibrate the data of the sensor array online can update the model parameters based on the new data without recalculating the entire data set.
[0155] When the algorithm is initialized, an initial estimate of the model parameters and an initial value of the covariance matrix are set. When new sensor data arrives, the recursive least squares method updates the model parameters and covariance matrix through the recursive formula to reflect the new data information.
[0156] Preferably, the model parameters updated by the recursive least squares method are applied to the data processing of the sensor array to improve the accuracy and reliability of the sensor data. The calibrated data can be used for state estimation of the Kalman filter or directly used in the control algorithm to achieve a more precise control effect.
[0157] In some feasible embodiments, the sensor array monitors the position and movement of the door in real time and transmits the data to the central processing unit. Over time, the sensor may produce deviations due to various reasons (such as temperature changes, mechanical wear, etc.). In this case, the sensor data is calibrated online through the recursive least squares method, and the model parameters of the sensor can be updated in real time to eliminate the deviation and ensure the accuracy of the sensor readings. The calibrated data is used in the control algorithm, so that the automatic door can respond to environmental changes more accurately, such as automatically adjusting the opening and closing state according to the flow of people.
[0158] Further, in some embodiments, the method of calculating the target position of the mobile closing device according to the predetermined closing path includes:
[0159] Determining a feasible movement area and obstacle positions of the mobile closing device based on the predetermined closed path;
[0160] Preferably, the map information and sensor data of the building are used to determine the feasible movement area of the mobile enclosure. This may include corridors, hallways and other open spaces. At the same time, the locations of obstacles on the map, such as walls, furniture or other devices, are identified to ensure that the device can avoid these obstacles during movement.
[0161] Preferably, the surrounding environment is scanned in real time by an environmental sensing device such as a laser radar (LIDAR) or an ultrasonic sensor to create or update an environmental map. A machine learning algorithm such as a support vector machine (SVM) or a neural network is used to identify feasible areas and obstacles from the scanned data.
[0162] generating all possible paths starting from the current position of the mobile closure device to the target position;
[0163] Preferably, all possible paths are generated from the current position of the mobile closure device to the target position using a path search algorithm (such as depth first search, breadth first search or A* algorithm), which takes into account the position of the feasible movement area and obstacles to ensure that the path of the mobile closure device is feasible.
[0164] For each of the possible paths, calculating a path length and a risk assessment parameter, wherein the risk assessment parameter includes a potential risk of passing through an obstacle;
[0165] Preferably, for each possible path, its length is calculated, which may be a straight-line distance or the actual number of steps along the path. Risk assessment parameters include potential risks on the path, such as approaching obstacles, crowded areas, or other possible dangerous factors.
[0166] Applying a weighted path scoring function, assigning a comprehensive score to each of the possible paths based on formula (2);
[0167] S(p)=α·L(p)+β·R(p) (2)
[0168] Among them, S(p) is the comprehensive score of path p, L(p) is the length of path p, R(p) is the risk assessment parameter of path p, and α and β are weight parameters adjusted according to the actual application scenario;
[0169] A weighted path scoring function is used to assign a comprehensive score to each possible path. The function takes into account the path length and risk assessment parameters. The weight parameters α and β can be adjusted according to the actual application scenario. For example, in a shopping mall with dense traffic, risk assessment may need to be given a higher weight.
[0170] Selecting a path with the lowest comprehensive score from all the possible paths as a predetermined closed path;
[0171] Preferably, the path with the highest comprehensive score is selected as the closed path. This path achieves the best balance between length and risk. Critical nodes on the closed path, such as turning points or obstacle edges, are determined, which will serve as important references during the navigation process.
[0172] After determining the closed path, determining key node information on the closed path, the key node information including inflection points or obstacle edges, and generating reference points for navigation of the mobile closed device based on the key node information;
[0173] The target position and the reference point are converted into navigation instructions for the mobile closure device, wherein the navigation instructions include a steering angle, a driving distance, and a driving speed.
[0174] Preferably, the target location and key node information are converted into navigation instructions. These instructions include:
[0175] Steering angle, indicating the direction the mobile closure should turn.
[0176] Travel distance, indicating the distance the mobile closure should travel in the current direction.
[0177] Travel speed, indicating how fast the mobile closure moves, may be adjusted based on a risk assessment of the path.
[0178] Specifically, in a feasible embodiment, first, an environmental map is created through an environmental perception device to identify feasible areas and obstacles. Then, the A* algorithm is used to generate all possible paths, and the length and risk assessment parameters of each path are calculated. Next, a weighted path scoring function is applied to select a path with the highest comprehensive score as a closed path. Key node information, such as turning points on the path, is determined and used to generate navigation instructions. These instructions include the specific angle that the door needs to turn, the distance to go forward, and the recommended speed on different sections of the road. Finally, the navigation instructions are sent to the control system of the automatic door, enabling it to move safely and accurately to the specified location.
[0179] Furthermore, in some embodiments, dynamically adjusting the control signal according to the monitoring result includes:
[0180] The control signal is dynamically adjusted based on device parameters, including real-time feedback of position error, operating speed, and energy consumption status.
[0181] Preferably, the acquisition of monitoring results can be understood as using sensors installed on the mobile closing device, such as position sensors, speed sensors and energy consumption monitors, to collect the operation data of the equipment in real time.
[0182] The position error is determined by comparing the current position with the target position or a preset path, the operating speed is directly measured by a speed sensor, and the energy consumption status can be evaluated by monitoring the power consumption of the motor or the battery charge.
[0183] Preferably, the control signal is dynamically adjusted based on the analysis results. For example, if the position error exceeds a preset threshold, the proportional (P) gain of the control signal is increased to quickly respond to the deviation; if the operating speed is lower than expected, the integral (I) gain may need to be adjusted to eliminate the steady-state error; if the energy consumption status shows that the battery is low, the operating speed can be reduced or unnecessary energy-consuming operations can be reduced to extend the battery life.
[0184] Preferably, a closed-loop feedback control mechanism is implemented to adjust the control signal according to the real-time monitored equipment parameters to ensure that the operating state of the mobile closing device meets the expectations. The adjustment of the control signal can be continuous or triggered by specific events, such as position deviation exceeding a certain value or sudden increase in energy consumption.
[0185] Preferably, the control strategy is optimized based on historical adjustment data and operating results. For example, a machine learning algorithm is used to analyze historical data to find the most effective control parameter adjustment rules. The optimized control strategy can improve the system's adaptability to different operating conditions, and improve control accuracy and response speed.
[0186] In some feasible embodiments, the control signal is dynamically adjusted according to the real-time feedback of the position error, operating speed and energy consumption status. The sensor array monitors the position and speed of the door in real time, and the energy consumption monitor tracks the energy consumption of the motor. The control system dynamically adjusts the operating parameters of the motor, such as speed and direction, based on these data to ensure that the mobile closing device can move smoothly and accurately to the target position. If the position error suddenly increases, the control system increases the P gain to quickly correct the deviation; if the energy consumption data shows that the battery is insufficient, the control system reduces the operating speed to save energy and extend battery life.
[0187] The above-mentioned embodiments of the present disclosure have the following beneficial effects: First, real-time monitoring and data analysis ensure the precise positioning and path tracking of the device. Secondly, the sensor array combined with the denoising algorithm and the Kalman filter effectively improves the responsiveness to environmental changes and enhances the system's resistance to noise and interference. In addition, the rapid planning of the optimal path and the effective avoidance of obstacles are achieved through the graphics processing algorithm and the collision detection algorithm. Real-time online calibration further improves the accuracy of sensor data, while dynamic control adjustment ensures real-time feedback of equipment parameters and precise adjustment of control signals. The application of risk assessment and weighted path scoring functions enables the device to select the safest and most economical path, improving the overall operating efficiency. The intelligent decision-making of this method reduces manual intervention, improves the level of automation, and also reduces maintenance costs and system energy consumption. In addition, the flexibility and scalability of the method enable it to adapt to the changing building structure and obstacle layout, and the combination of real-time monitoring and dynamic adjustment mechanisms enhances the robustness and safety of the system, ultimately improving user experience and reducing risks.
[0188] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a mobile closing device control system for a building, and these device embodiments are Figure 1 Corresponding to the method embodiment shown, the mobile closing device control system of the building can be specifically applied to various electronic devices.
[0189] like Figure 2 As shown, a mobile closing device control system 200 of a building in some embodiments includes:
[0190] A detection module 201 is used to detect the current position state of the mobile closing device;
[0191] A target position module 202, for calculating a target position of the mobile closing device according to a predetermined closing path;
[0192] A control module 203, used to drive the mobile closing device to move from a current position to a target position through a control signal;
[0193] The monitoring module 204 is used to monitor the operating status and surrounding environmental conditions of the mobile closing device in real time during the movement process;
[0194] The adjustment module 205 is used to dynamically adjust the control signal according to the monitoring result to ensure that the mobile closing device reaches the target position.
[0195] It is understood that the modules described in the mobile closure control system 200 of the building are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the mobile closing device control method for a building are also applicable to the mobile closing device control system 200 for a building and the modules contained therein, and will not be repeated here.
[0196] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device 300 suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0197] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0198] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0199] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0200] Further, Figure 4 The schematic diagram of the structure of the storage medium of an embodiment of the present application is that the storage medium 4 of the embodiment of the present application stores program instructions 41 that can implement all the above methods, wherein the program instructions 41 can be stored in the above storage medium in the form of a software product, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or terminal devices such as a computer, a server, a mobile phone, and a tablet.
[0201] It should be noted that in some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, device or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0202] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0203] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: detects the current position state of the mobile closing device; calculates the target position of the mobile closing device according to the predetermined closing path; drives the mobile closing device from the current position to the target position through a control signal; during the movement, monitors the operating state and surrounding environmental conditions of the mobile closing device in real time; and dynamically adjusts the control signal according to the monitoring result to ensure that the mobile closing device reaches the target position.
[0204] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0205] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0206] The units described in some embodiments of the present disclosure may be implemented in software or in hardware. The units described may also be provided in a processor, and the functions described above herein may be performed at least in part by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0207] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.
Claims
1. A method for controlling a mobile closing device of a building, characterized in that: include: Detecting the current position state of the mobile closing device; Calculating a target position of the mobile closing device according to a predetermined closing path; Drive the mobile closing device from the current position to the target position through a control signal; During the movement, the operating status of the mobile closing device and the surrounding environmental conditions are monitored in real time; According to the monitoring result, the control signal is dynamically adjusted to ensure that the mobile closing device reaches the target position.
2. The control method according to claim 1, characterized in that: The real-time monitoring of the operating status and surrounding environmental conditions of the mobile closing device includes: Using a sensor array to collect environmental data of the mobile closure device, wherein each sensor in the sensor array corresponds to a preset measurement parameter; Applying a preset denoising algorithm to perform denoising processing on each of the measurement parameters to obtain valid data of each of the measurement parameters; Using a Kalman filter to filter each of the valid data, obtain processed state data, and predict the instantaneous state of the mobile closing device; According to the processed state data, a control signal parameter of the next control cycle of the mobile closing device is calculated based on formula (1); Among them, u(t) is the control signal parameter, e(t) is the error between the current position and the target position, K p , K i and K d They are proportional, integral and derivative gains respectively.
3. The control method according to claim 2, characterized in that: The applying a preset denoising algorithm to perform denoising processing on each of the measurement parameters comprises: Performing time-frequency analysis on the signal of each of the measurement parameters to identify noise components in the signal; Applying wavelet transform to perform multi-scale decomposition on the signal, decomposing the signal of each measurement parameter into sub-signals of different frequencies; Threshold processing is applied to each of the sub-signals to remove or weaken noise components; the processed sub-signals are reconstructed to obtain effective data after denoising.
4. The control method according to claim 3, characterized in that: The control method further comprises: determining a starting position and a target position of the mobile closing device; Using a graphics processing algorithm, calculating the shortest or optimal path for the mobile closure device on a map of the building; Based on the internal structure and obstacles of the building, the collision detection algorithm is used to eliminate the obstacle path and generate a closed path; The generated closed path is converted into an instruction set matching the mobile closed device format.
5. The control method according to claim 4, characterized in that: The control method further comprises: receiving status updates of the sensor array in real time; The data of the sensor array after the state update is calibrated online by the recursive least square method.
6. The control method according to claim 1, characterized in that: The step of calculating the target position of the mobile closing device according to the predetermined closing path comprises: Determining a feasible movement area and obstacle positions of the mobile closing device based on the predetermined closed path; generating all possible paths starting from the current position of the mobile closure device to the target position; For each of the possible paths, calculating a path length and a risk assessment parameter, wherein the risk assessment parameter includes a potential risk of passing through an obstacle; Applying a weighted path scoring function, assigning a comprehensive score to each of the possible paths based on formula (2); S(p)=α·L(p)+β·R(p) (2) Among them, S(p) is the comprehensive score of path p, L(p) is the length of path p, R(p) is the risk assessment parameter of path p, and α and β are weight parameters adjusted according to the actual application scenario; Selecting a path with the lowest comprehensive score from all the possible paths as a predetermined closed path; After determining the closed path, determining key node information on the closed path, the key node information including inflection points or obstacle edges, and generating reference points for navigation of the mobile closed device based on the key node information; The target position and the reference point are converted into navigation instructions for the mobile closure device, wherein the navigation instructions include a steering angle, a driving distance, and a driving speed.
7. The control method according to claim 1, characterized in that: The dynamically adjusting the control signal according to the monitoring result includes: The control signal is dynamically adjusted based on device parameters, including real-time feedback of position error, operating speed, and energy consumption status.
8. A mobile closing device control system for a building, used to implement a mobile closing device control method based on a building according to any one of claims 1 to 7, characterized in that: include: A detection module, used to detect the current position state of the mobile closing device; A target position module, used to calculate the target position of the mobile closing device according to a predetermined closing path; A control module, used for driving the mobile closing device to move from a current position to a target position through a control signal; A monitoring module, used to monitor the operating status and surrounding environmental conditions of the mobile closing device in real time during the movement process; The adjustment module is used to dynamically adjust the control signal according to the monitoring result to ensure that the mobile closing device reaches the target position.
9. A device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Personnel movement dynamic state based intelligent anti-falling stage system and working method
CN111119529A
Navigation system, navigation control method and device, controller and AGV trolley
CN113848910A
Obstacle avoidance path planning method based on particle swarm and improved dynamic window method
CN116594407A
Multi-sensor data fusion method based on Kalman filtering parameter extraction and state updating
CN117313029A
