Building structure safety detection method, system and terminal based on edge calculation
Through edge computing and deep neural networks, the energy distribution value and relative energy model of vibration signals are used to solve the problem of environmental impact and natural frequency acquisition in building safety monitoring, and realize real-time and accurate safety detection and abnormal alarm of building structures.
Patent Information
- Application Number
- CN202410541429.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-08-30
AI Technical Summary
Existing building structure safety monitoring methods cannot effectively reflect the impact of the building's surrounding environment on structural safety, and accurate natural frequencies are difficult to obtain, resulting in inaccurate monitoring data and inability to effectively protect the safety of the building.
Using an edge computing-based method, the vibration signal of the building is collected through vibration sensors, discrete Fourier transform or wavelet transform is performed, the energy distribution value is calculated and a relative energy model is constructed, and a deep neural network is used for training and optimization to predict the building in real time. If the structure is abnormal, call the police in time.
It achieves real-time and accurate detection of building structural safety, can dynamically reflect the impact of external environmental factors on the structure, detect abnormal conditions in a timely manner, and effectively ensure the safety of buildings.
Smart Images

Figure CN118568623A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of safety detection technology, and in particular to a building structure safety detection method, system, terminal and computer-readable storage medium based on edge computing. Background Art
[0002] Safety monitoring of building structures is of great significance to society and individuals. It can not only protect life and property, but also prevent any problems that may endanger people and property while ensuring the safety of the building structure. This includes preventing the impact of natural disasters such as building tilt and earthquakes on the structure. Automated safety monitoring of building structures can also help improve work efficiency. It can also help save maintenance costs and avoid greater repair or reconstruction costs. Traditional building structure safety monitoring methods are mainly carried out through regular field inspections and maintenance. Engineering personnel will conduct a comprehensive inspection of the building structure to ensure its safety, which has a large subjective factor and requires high personal quality of personnel.
[0003] To solve the above problems, the existing technology generally judges the safety of a building by monitoring the degree of inclination of the building or using a frequency method to calculate the characteristic frequency or natural frequency of the system itself. However, monitoring the degree of inclination of the building cannot effectively reflect the impact of the surrounding environment of the building on the structural safety of the building, and the accurate natural frequency of the building is difficult to obtain, resulting in inaccurate monitoring data on the structural safety of the building, and the structural safety of the building cannot be effectively guaranteed.
[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0005] The main purpose of the present invention is to provide a building structure safety detection method, system, terminal and computer-readable storage medium based on edge computing, aiming to solve the problem that the existing technology cannot effectively reflect the impact of the building's surrounding environment on the building's structural safety, and the accurate building's natural frequency is difficult to obtain, resulting in inaccurate monitoring data on the building's structural safety and the structural safety of the building cannot be effectively guaranteed.
[0006] To achieve the above object, the present invention provides a building structure safety detection method based on edge computing, and the building structure safety detection method based on edge computing comprises the following steps:
[0007] Acquire a monitoring vibration signal of a target building in a preset time period under a normal state, and perform discrete Fourier transform processing or discrete wavelet transform processing on the monitoring vibration signal to obtain energy distribution values of the monitoring vibration signal in each frequency band;
[0008] Calculate the relative energy corresponding to the energy distribution value, and train a preset deep neural network model and optimize model parameters according to the relative energy to obtain a relative energy prediction model for signals in each frequency band;
[0009] Acquire the current monitored vibration signal of the target building, calculate the real relative energy corresponding to the current monitored vibration signal, and input the current monitored vibration signal into the relative energy prediction model to obtain the current predicted relative energy;
[0010] It is determined whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and an alarm is given when the structure of the target building is abnormal.
[0011] Optionally, the building structure safety detection method based on edge computing, wherein the step of acquiring a monitoring vibration signal of a target building in a preset time period under a normal state, and performing discrete Fourier transform processing or discrete wavelet transform processing on the monitoring vibration signal to obtain an energy distribution value of the monitoring vibration signal in each frequency band, specifically includes:
[0012] The vibration sensor collects the monitoring vibration signal of the target building at each moment within a preset time period under normal conditions, and performs discrete Fourier transform processing on the monitoring vibration signal to obtain the energy distribution value of the monitoring vibration signal in each frequency band;
[0013] Or, a vibration sensor is used to collect a monitoring vibration signal of the target building at each moment within a preset time period under normal conditions, and the monitoring vibration signal is processed by discrete wavelet transform to obtain the time-frequency characteristics of the monitoring vibration signal at different scales, and the energy distribution value of the monitoring vibration signal in each frequency band is obtained according to the time-frequency characteristics.
[0014] Optionally, the method for detecting building structure safety based on edge computing, wherein the relative energy corresponding to the energy distribution value is calculated, and a preset deep neural network model is trained and model parameter optimization is performed according to the relative energy to obtain a relative energy prediction model of signals in each frequency band, specifically includes:
[0015] Calculate the relative energy corresponding to the energy distribution value, wherein the expression for calculating the relative energy is:
[0016]
[0017] Among them, R i is the relative energy, E i To monitor the energy corresponding to each frequency band of the vibration signal, E total To monitor the total energy of all frequency bands of vibration signals;
[0018] A relative energy data set is constructed according to the relative energy, and the preset deep neural network model is trained and model parameters are optimized according to the relative energy data set to obtain a relative energy prediction model.
[0019] Optionally, the building structure safety detection method based on edge computing, wherein the relative energy data set is constructed according to the relative energy, and the preset deep neural network model is trained and model parameter optimization is performed according to the relative energy data set to obtain a relative energy prediction model, specifically comprising:
[0020] The relative energy is moved according to the time window, the relative energy before the preset time window node is used as a relative energy data set, and the relative energy data set is divided into a relative energy training set and a relative energy test set;
[0021] The preset deep neural network model is trained according to the relative energy training set to obtain an initial relative energy prediction model, wherein the preset deep neural network model includes an RNN model and an LSTM model;
[0022] The model parameters of the initial relative energy prediction model are optimized according to the relative energy test set to obtain the relative energy prediction model.
[0023] Optionally, the building structure safety detection method based on edge computing, wherein the obtaining of the current monitoring vibration signal of the target building, calculating the real relative energy corresponding to the current monitoring vibration signal, and inputting the current monitoring vibration signal into the relative energy prediction model to obtain the current predicted relative energy, specifically includes:
[0024] Collecting a current monitoring vibration signal corresponding to the target building at the current moment through a vibration sensor, and calculating a real relative energy corresponding to the current monitoring vibration signal;
[0025] The current monitoring vibration signal is input into the relative energy prediction model, and the current monitoring vibration signal is processed by relative energy prediction through the relative energy prediction model to obtain the current predicted relative energy corresponding to the current monitoring vibration signal.
[0026] Optionally, the building structure safety detection method based on edge computing, wherein the step of judging whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and giving an alarm when the structure of the target building is abnormal, specifically includes:
[0027] Calculating an error value between the current predicted relative energy and the actual relative energy, and determining whether the error value is greater than a preset threshold;
[0028] If so, it is determined that the structure of the target building is abnormal, and an abnormal result is generated;
[0029] The abnormal result is uploaded to the cloud server, and an alarm is issued through the cloud server.
[0030] Optionally, the building structure safety detection method based on edge computing, wherein the step of judging whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and giving an alarm when the structure of the target building is abnormal, further comprises:
[0031] The target vibration sensor corresponding to the currently monitored vibration signal is searched according to the abnormal result, and the specific position causing the abnormality in the structure of the target building is determined according to the position corresponding to the target vibration sensor.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a building structure safety detection system based on edge computing, wherein the building structure safety detection system based on edge computing includes:
[0033] An energy distribution value calculation module is used to obtain a monitoring vibration signal of a target building in a preset time period under a normal state, and to perform discrete Fourier transform processing or discrete wavelet transform processing on the monitoring vibration signal to obtain an energy distribution value of the monitoring vibration signal in each frequency band;
[0034] A prediction model generation module, used to calculate the relative energy corresponding to the energy distribution value, and train a preset deep neural network model and optimize model parameters according to the relative energy to obtain a relative energy prediction model for signals in each frequency band;
[0035] A relative energy prediction module is used to obtain the current monitoring vibration signal of the target building, calculate the real relative energy corresponding to the current monitoring vibration signal, and input the current monitoring vibration signal into the relative energy prediction model to obtain the current predicted relative energy;
[0036] The structural abnormality alarm module is used to determine whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and to issue an alarm when the structure of the target building is abnormal.
[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and an edge computing-based building structure safety detection program stored on the memory and executable on the processor, wherein the edge computing-based building structure safety detection program, when executed by the processor, implements the steps of the edge computing-based building structure safety detection method as described above.
[0038] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a building structure safety detection program based on edge computing, and when the building structure safety detection program based on edge computing is executed by a processor, the steps of the building structure safety detection method based on edge computing as described above are implemented.
[0039] In the present invention, a monitoring vibration signal of a target building under normal conditions within a preset time period is obtained, and the monitoring vibration signal is subjected to discrete Fourier transform processing or discrete wavelet transform processing to obtain energy distribution values of the monitoring vibration signal in each frequency band; the relative energy corresponding to the energy distribution value is calculated, and a preset deep neural network model is trained and model parameters are optimized according to the relative energy to obtain a relative energy prediction model for signals in each frequency band; the current monitoring vibration signal of the target building is obtained, the real relative energy corresponding to the current monitoring vibration signal is calculated, and the current monitoring vibration signal is input into the relative energy prediction model to obtain the current predicted relative energy; whether the structure of the target building is abnormal is determined according to the real relative energy and the current predicted relative energy, and when the structure of the target building is abnormal, an alarm is issued. The present invention collects the monitoring vibration signal of the target building through a vibration sensor, and performs Fourier transform on the monitoring vibration signal, so as to obtain the energy change of each frequency band corresponding to the detection signal of the target building, and can dynamically reflect the influence of external environmental factors on the structure of the target building; further, the present invention predicts the relative energy of the detection signal by training a deep neural network, and performs error calculation between the real relative energy collected in real time and the predicted relative energy, and can reflect the change of the building structure itself through the error, so as to detect the structure of the target building in real time and accurately, and can timely discover the structural abnormality of the building, thereby effectively ensuring the structural safety of the target building. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a flow chart of a preferred embodiment of the building structure safety detection method based on edge computing of the present invention;
[0041] Figure 2It is a flowchart of a multi-level discrete wavelet transform of a monitoring vibration signal of a preferred embodiment of a building structure safety detection method based on edge computing of the present invention;
[0042] Figure 3 It is a schematic diagram of system network deployment of a preferred embodiment of the building structure safety detection method based on edge computing of the present invention;
[0043] Figure 4 It is a structural diagram of a preferred embodiment of the building structure safety detection system based on edge computing of the present invention;
[0044] Figure 5 It is a structural diagram of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0046] Safety monitoring of building structures is of great significance to society and individuals. It can not only protect life and property, but also prevent any problems that may endanger people and property while ensuring the safety of the building structure. This includes preventing the impact of natural disasters such as building tilt and earthquakes on the structure. Safety monitoring of building structures can also help improve work efficiency. It can also help save maintenance costs and avoid greater repair or reconstruction costs.
[0047] The traditional method of monitoring the safety of building structures is mainly through regular on-site inspections and maintenance. Engineering personnel will conduct a comprehensive inspection of the building structure to ensure its safety, which has a large number of subjective factors and requires high personal qualities of personnel.
[0048] The sensor monitoring technology mainly uses inclination sensors to judge the safety of buildings by monitoring the inclination of buildings. When the inclination angle of the building exceeds the preset threshold, an alarm is triggered. However, the use of inclination sensors for monitoring is only a static state monitoring of the building. The factors that cause building safety problems include not only the structural problems of the building itself, but also external environmental factors, such as earthquakes, changes in the geological state of the surrounding environment, etc. Therefore, it is not enough to just detect the static parameters of the building structure.
[0049] In the frequency method for building structure safety detection, the characteristic frequency or natural frequency of the calculation system itself is used. When the characteristic frequency of the system deviates from the characteristic frequency of the original system, it is determined that the building structure has changed, thereby realizing the monitoring of the building structure safety. However, monitoring the characteristic frequency of the system itself is a complex and difficult process, because when monitoring the characteristic frequency of the system, it will be interfered by external signals. It is also unrealistic to input specific excitations into the system for the actual long-term monitoring of the characteristic frequency of the structure, and it may also cause damage to the building structure itself. At the same time, the characteristic frequency of the system only reflects the changes in the building structure itself, and cannot effectively reflect the impact of environmental factors around the building on the safety of the building structure.
[0050] On the other hand, with the development of IoT cloud platform technology, a large amount of sensor data is transmitted to the cloud platform through the network, and the data is analyzed in the background to predict the status of the building. As the number of sensors continues to increase, the network load also increases, which poses a challenge to the stability of the network.
[0051] Based on the above problems existing in the existing building structure safety monitoring methods, the present invention proposes an edge computing method for realizing building structure safety detection by monitoring vibration energy changes.
[0052] The building structure safety detection method based on edge computing described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the building structure safety detection method based on edge computing includes the following steps:
[0053] Step S10: Acquire a monitoring vibration signal of the target building in a preset time period under a normal state, and perform discrete Fourier transform processing or discrete wavelet transform processing on the monitoring vibration signal to obtain energy distribution values of the monitoring vibration signal in each frequency band.
[0054] The safety of building structures is not only affected by changes in the building structure itself, but also by external environmental factors. Therefore, the solution of the present invention is to analyze the energy of the signals collected by the vibration sensor to reflect the comprehensive effect of the external environment and the building structure itself on the safety of the building structure. By continuously updating the energy changes of the signal within a certain time range, the safety of the entire building structure can be dynamically reflected. The use of multiple sensor nodes to collect signals can effectively reflect the impact of the entire surrounding environmental factors on various different building structures in space. By comprehensively analyzing the signals of multiple sensor nodes through sensor network technology, the essential causes of the safety of the building structure can be effectively distinguished, and the influence of the structure itself or external environmental factors can be distinguished. On the basis of traditional sensor network nodes, the intelligent algorithm processing capability and network interconnection communication capability of each node are increased, and the rapid response of monitoring is effectively improved through edge computing methods, which avoids the problem of reduced data communication efficiency of cloud servers after a large number of sensor nodes are deployed and the network architecture is continuously expanded as the number of nodes increases. The use of intelligent network nodes to realize edge computing will effectively improve the robustness of the system.
[0055] Obtain the vibration signal of the target building structure in a healthy state; install the vibration sensor at the appropriate position of the target building structure to record the vibration behavior of the target building structure under different conditions. Since the acquired monitoring vibration signal contains noise and interference from multiple sources such as environmental noise, measurement errors and other structural vibration signals, the effect corresponding to the monitoring vibration signal at this time is the comprehensive effect of the external environment and the building structure itself on the safety of the building structure.
[0056] Specifically, a vibration sensor is used to collect a monitoring vibration signal of the target building at each moment in a preset time period under a normal state, and the monitoring vibration signal is subjected to discrete Fourier transform processing to obtain energy distribution values of the monitoring vibration signal in each frequency band.
[0057] Monitoring the energy changes of vibration signals in various frequency bands will reflect the impact of external environmental factors on the building structure. In order to obtain the energy distribution of each frequency band per unit time of the vibration sensor acquisition signal, it can be obtained by calculating the square of the discrete Fourier transform (Discrete Fourier Transform, DFT, Fourier analysis method is the most basic method of signal analysis, Fourier transform is the core of Fourier analysis, through which the signal is transformed from the time domain to the frequency domain, and then the spectrum structure and change law of the signal are studied) of the signal (the coefficients of the Fourier transform of the signal can also be divided into different frequency bands and the energy of each frequency band can also be obtained using the following formula).
[0058] Calculate the energy E of each frequency band i , energy Ei The calculation expression is as follows: Among them, E i is the energy of each frequency band, x i (k) is the result obtained by discrete Fourier transform.
[0059] Or, a vibration sensor is used to collect a monitoring vibration signal of the target building at each moment within a preset time period under normal conditions, and the monitoring vibration signal is processed by discrete wavelet transform to obtain the time-frequency characteristics of the monitoring vibration signal at different scales, and the energy distribution value of the monitoring vibration signal in each frequency band is obtained according to the time-frequency characteristics.
[0060] like Figure 2 As shown, discrete wavelet transform is used to obtain the time-frequency characteristics of the monitored vibration signal x[n] at different scales, and the energy of different levels (i=1...α) is calculated to characterize the energy changes of different frequency bands of the signal (this part uses the commonly used fast algorithm of pyramid multi-resolution analysis and reconstruction, that is, the Mallat algorithm (Mallat, multi-resolution analysis (or multi-scale analysis) of wavelet transform is a theory based on the concept of function. Multi-resolution analysis (Multiresolution Analysis, MRA) vividly illustrates the multi-resolution characteristics of wavelets from the concept of space. As the scale changes from large to small, different characteristics of the signal can be observed from coarse to fine at each scale. At large scale, the envelope of the signal is observed, and in small-scale space, the details of the signal can be observed). Figure 2 The transformation of the three layers is shown in Figure 1, and the corresponding frequency bands after the transformation are shown). The decomposition result of the i-th layer is as follows:
[0061]
[0062]
[0063] Among them, g[k] is a low-pass filter, which is used to filter out the high-frequency signal of the signal; h[k] is a high-pass filter, which is used to filter out the low-frequency signal of the signal and output the high-frequency part, and x i,L [n] is the low-frequency signal part of the i-th layer after discrete wavelet transform, x i,H [n] is the high-frequency signal part of the i-th layer after discrete wavelet transform, k is the sequence number of the wavelet transform result sequence, x i-1,L [2n-k] is the low-frequency signal part of the previous wavelet transform. The monitoring vibration signal is transformed by discrete wavelet transform to obtain the sequence: {x α,L , x α,H , ..., x 2,H , x 1,H}.
[0064] Combination Figure 2The frequency band division is as follows: i is the number of layers, L represents the low-frequency part obtained after the transformation, H is the high-frequency part, and each transformation transforms the L part of the previous transformation. Therefore, the final sequence only has the L part of the last layer, and the rest are H parts. n is the serial number represented from the perspective of the entire sequence.
[0065] Step S20, calculate the relative energy corresponding to the energy distribution value, and train the preset deep neural network model and optimize the model parameters according to the relative energy to obtain the relative energy prediction model of the signals in each frequency band.
[0066] Specifically, the relative energy corresponding to the energy distribution value is calculated, wherein the expression for calculating the relative energy is: Among them, R i is the relative energy, E i To monitor the energy corresponding to each frequency band of the vibration signal, E total To monitor the total energy of all frequency bands of the vibration signal.
[0067] The changes in the building structure itself can be observed by calculating the difference between the predicted value and the measured value of the relative energy of the monitoring vibration signal, wherein the relative energy value calculated at this time is the relative energy of the building structure under normal conditions.
[0068] The relative energy is moved according to the time window, the relative energy before the preset time window node is used as the relative energy data set, and the relative energy data set is divided into a relative energy training set and a relative energy test set; the preset deep neural network model is trained according to the relative energy training set to obtain an initial relative energy prediction model, wherein the preset deep neural network model includes but is not limited to an RNN model and an LSTM model, and may also include other related models; the model parameters of the initial relative energy prediction model are optimized according to the relative energy test set to obtain the relative energy prediction model.
[0069] The present invention sets the time interval and duration of monitoring, which refer to the frequency and range of multimodal monitoring of the target building, and can be determined according to the risk level and monitoring requirements of the target building to ensure the validity and adequacy of the monitoring data. The risk level refers to the risk level of the building to be detected, which can be evaluated according to the risk coefficient matrix in the supermatrix. The higher the risk level, the shorter and longer the time interval and duration of monitoring should be, so as to timely discover and prevent risks. Monitoring requirements refer to the monitoring purpose and requirements for the target building, which can be determined according to factors such as the type, function, location, and environment of the building. The more complex and strict the monitoring requirements are, the shorter and longer the time interval and duration of monitoring should be, so as to comprehensively and accurately monitor the status and risks of the building, thereby forming a multimodal monitoring data set to provide a data source for subsequent data processing and analysis.
[0070] Based on relative energy (in the process of signal monitoring, the vibration signal at each moment is obtained through Fourier transform and relative energy calculation to obtain the relative energy at each moment, and the data at each moment can be stored as historical data), the current relative energy is predicted through neural networks (RNN, LSTM, etc. can predict the current data based on historical data), thereby calculating the error e between the predicted value and the current measured value. Among them, R l is the current measured value, is the predicted value, and α is the number of layers.
[0071] like Figure 3 As shown in the figure, the prediction process is a conventional deep learning neural network method. The data of a period of time can be moved in a window in chronological order. The last data in the window is used as the current data, and the previous data is used as the historical data point to produce the training and test data of the model. After the model training is completed, it can be deployed to the edge computing node to realize the error calculation between the predicted data and the current data.
[0072] In addition, the present invention can also adjust the deep learning model by increasing the number of training times, so that the training data is more sufficient, and use test data to optimize and correct the model parameters of the deep learning model, so that the input and output of the deep learning model are more matched, which is convenient for more accurate judgment of the safety monitoring indicators of the main structure, improves the accuracy of the judgment, and further makes the safety judgment of the target building more accurate, thereby improving the judgment efficiency.
[0073] Step S30, obtaining the current monitoring vibration signal of the target building, calculating the real relative energy corresponding to the current monitoring vibration signal, and inputting the current monitoring vibration signal into the relative energy prediction model to obtain the current predicted relative energy.
[0074] When the relative energy prediction model is trained, it is configured in the edge server and processed and calculated based on the newly collected data to provide specific analysis results.
[0075] Specifically, a current monitoring vibration signal corresponding to the target building at the current moment is collected by a vibration sensor, and the real relative energy corresponding to the current monitoring vibration signal is calculated; the current monitoring vibration signal is input into the relative energy prediction model, and the current monitoring vibration signal is subjected to relative energy prediction processing by the relative energy prediction model to obtain the current predicted relative energy corresponding to the current monitoring vibration signal.
[0076] The current predicted relative energy is the relative energy of the current building structure in a normal state corresponding to the current monitored vibration signal.
[0077] Among them, the relative energy prediction model runs on the edge computing node. Each edge computing node is connected to multiple intelligent sensor nodes, which can effectively improve the prediction calculation efficiency. At the same time, it can reduce the network transmission congestion caused by a large number of sensor nodes directly communicating with the cloud server, improve the detection efficiency, and reduce the system prediction delay.
[0078] In addition, the present invention collects the monitoring vibration signal of the target building in a normal state within a preset time period, and after discrete Fourier transform processing or discrete wavelet transform processing, the energy distribution values of each frequency band can be accumulated to obtain the cumulative energy distribution values of all frequency bands. Further, the cumulative energy distribution values are averaged to obtain the average energy distribution value. Afterwards, the preset deep neural network model can be trained and the model parameters can be optimized according to the average energy distribution value. In this way, when the relative energy prediction model after training receives the current monitoring vibration signal of the target building, it can output the average relative energy of the building structure in a normal state, and then compare this average relative energy with the real relative energy.
[0079] Step S40: judging whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and giving an alarm when the structure of the target building is abnormal.
[0080] Check the consistency between the predicted relative energy and the measured relative energy, and determine whether the error is within the predetermined range. For example, set an error threshold, such as 5%, and calculate the difference and ratio of the two data. If so, it is considered that the two data are consistent and the target building structure is normal. If not, it is considered that the two data are inconsistent and it is determined that the target building structure is abnormal, and an abnormal result needs to be generated.
[0081] In addition, final risk warnings and corresponding suggestions can be given based on abnormal results. Risk warnings include no risk, low risk, medium risk and high risk; suggestions include continued monitoring of target buildings, enhanced inspections and emergency repairs, etc.
[0082] Specifically, the error value between the current predicted relative energy and the actual relative energy is calculated, and it is determined whether the error value is greater than a preset threshold; if so, it is determined that the structure of the target building is abnormal, and an abnormal result is generated; the abnormal result is uploaded to a cloud server, and an alarm is issued through the cloud server.
[0083] Afterwards, the target vibration sensor corresponding to the currently monitored vibration signal is searched according to the abnormal result, and the specific position causing the abnormality in the structure of the target building is determined according to the position corresponding to the target vibration sensor.
[0084] It can be understood that according to the above Fourier transform formula, the energy change of a single sensor node reflecting environmental factors can be obtained, and combined with the geographical distribution of each node, the edge computing node can determine the location of the source causing the energy change.
[0085] When the error e is greater than three times the standard deviation 3δ (in the process of continuous calculation of the relative wavelet energy error, statistical analysis is continuously performed, and the calculated standard deviation is the square root of the variance. The sum of the squares of the differences between each number in a set of error data and the average of this set of data is divided by the number of data, and then the square root is taken), it indicates that the building structure has undergone a major change and the system needs to alarm.
[0086] like Figure 3 As shown, the wavelet transform of the signal and the energy calculation of each frequency band will be completed in the intelligent sensor node, and the system algorithm will be deployed in the edge computing node.
[0087] The present invention uses the relative energy before the preset time window node as the relative energy data set to determine the error between the output predicted relative energy and the actually measured relative energy during the input-output process of the deep learning model, and determines the safety of the structural body based on the comparison between the error value and the standard deviation 3δ, thereby improving the sensitivity of the early warning mechanism for the target building.
[0088] Technical effects:
[0089] 1. The present invention can dynamically reflect the impact of external environmental factors on the building structure by monitoring the energy changes in each frequency band of the vibration signal.
[0090] 2. The present invention can reflect the changes in the building structure itself by calculating the error between the predicted value and the measured value of the relative wavelet energy of the monitoring vibration signal.
[0091] 3. The present invention sends signals from multiple adjacent smart sensor nodes to corresponding edge computing nodes. The system algorithm deployed on the edge computing node can well determine the location of the influencing source of the surrounding external environmental factors.
[0092] 4. The present invention effectively improves the rapid response of signal monitoring through edge computing methods, avoids the problem of reduced data communication efficiency of cloud servers after a large number of sensor nodes are deployed and the continuous expansion of network architecture as the number of nodes increases. The use of intelligent network nodes to implement edge computing will effectively improve the robustness of the monitoring system.
[0093] Furthermore, if Figure 4 As shown, based on the above-mentioned building structure safety detection method based on edge computing, the present invention also provides a building structure safety detection system based on edge computing, wherein the building structure safety detection system based on edge computing includes:
[0094] The energy distribution value calculation module 51 is used to obtain the monitoring vibration signal of the target building in a preset time period under normal conditions, and perform discrete Fourier transform processing or discrete wavelet transform processing on the monitoring vibration signal to obtain the energy distribution value of the monitoring vibration signal in each frequency band;
[0095] A prediction model generation module 52 is used to calculate the relative energy corresponding to the energy distribution value, and train a preset deep neural network model and optimize model parameters according to the relative energy to obtain a relative energy prediction model for signals in each frequency band;
[0096] The relative energy prediction module 53 is used to obtain the current monitoring vibration signal of the target building, calculate the real relative energy corresponding to the current monitoring vibration signal, and input the current monitoring vibration signal into the relative energy prediction model to obtain the current predicted relative energy;
[0097] The structural abnormality alarm module 54 is used to determine whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and to issue an alarm when the structure of the target building is abnormal.
[0098] Furthermore, if Figure 5 As shown, based on the above-mentioned edge computing-based building structure safety detection method and system, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 5Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0099] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores a building structure safety detection program 40 based on edge computing, and the building structure safety detection program 40 based on edge computing can be executed by the processor 10, thereby realizing the building structure safety detection method based on edge computing in this application.
[0100] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the edge computing-based building structure safety detection method.
[0101] The interface 30 is used to establish a communication connection between the edge computing node and the cloud server. The components 10-30 of the terminal communicate with each other through a system bus.
[0102] In one embodiment, when the processor 10 executes the building structure safety detection program 40 based on edge computing in the memory 20, the following steps are implemented:
[0103] Acquire a monitoring vibration signal of a target building in a preset time period under a normal state, and perform discrete Fourier transform processing or discrete wavelet transform processing on the monitoring vibration signal to obtain energy distribution values of the monitoring vibration signal in each frequency band;
[0104] Calculate the relative energy corresponding to the energy distribution value, and train a preset deep neural network model and optimize model parameters according to the relative energy to obtain a relative energy prediction model for signals in each frequency band;
[0105] Acquire the current monitored vibration signal of the target building, calculate the real relative energy corresponding to the current monitored vibration signal, and input the current monitored vibration signal into the relative energy prediction model to obtain the current predicted relative energy;
[0106] It is determined whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and an alarm is given when the structure of the target building is abnormal.
[0107] The step of acquiring a monitoring vibration signal of a target building in a preset time period under a normal state and performing discrete Fourier transform processing or discrete wavelet transform processing on the monitoring vibration signal to obtain energy distribution values of the monitoring vibration signal in each frequency band specifically includes:
[0108] The vibration sensor collects the monitoring vibration signal of the target building at each moment within a preset time period under normal conditions, and performs discrete Fourier transform processing on the monitoring vibration signal to obtain the energy distribution value of the monitoring vibration signal in each frequency band;
[0109] Or, a vibration sensor is used to collect a monitoring vibration signal of the target building at each moment within a preset time period under normal conditions, and the monitoring vibration signal is processed by discrete wavelet transform to obtain the time-frequency characteristics of the monitoring vibration signal at different scales, and the energy distribution value of the monitoring vibration signal in each frequency band is obtained according to the time-frequency characteristics.
[0110] The step of calculating the relative energy corresponding to the energy distribution value, and training and optimizing the model parameters of a preset deep neural network model according to the relative energy to obtain a relative energy prediction model for signals in each frequency band specifically includes:
[0111] Calculate the relative energy corresponding to the energy distribution value, wherein the expression for calculating the relative energy is:
[0112]
[0113] Among them, R i is the relative energy, E i To monitor the energy corresponding to each frequency band of the vibration signal, E total To monitor the total energy of all frequency bands of vibration signals;
[0114] A relative energy data set is constructed according to the relative energy, and the preset deep neural network model is trained and model parameters are optimized according to the relative energy data set to obtain a relative energy prediction model.
[0115] The step of constructing a relative energy data set according to the relative energy, and training and optimizing model parameters of the preset deep neural network model according to the relative energy data set to obtain a relative energy prediction model specifically includes:
[0116] The relative energy is moved according to the time window, the relative energy before the preset time window node is used as a relative energy data set, and the relative energy data set is divided into a relative energy training set and a relative energy test set;
[0117] The preset deep neural network model is trained according to the relative energy training set to obtain an initial relative energy prediction model, wherein the preset deep neural network model includes an RNN model and an LSTM model;
[0118] The model parameters of the initial relative energy prediction model are optimized according to the relative energy test set to obtain the relative energy prediction model.
[0119] The step of acquiring the current monitored vibration signal of the target building, calculating the real relative energy corresponding to the current monitored vibration signal, and inputting the current monitored vibration signal into the relative energy prediction model to obtain the current predicted relative energy specifically includes:
[0120] Collecting a current monitoring vibration signal corresponding to the target building at the current moment through a vibration sensor, and calculating a real relative energy corresponding to the current monitoring vibration signal;
[0121] The current monitoring vibration signal is input into the relative energy prediction model, and the current monitoring vibration signal is processed by relative energy prediction through the relative energy prediction model to obtain the current predicted relative energy corresponding to the current monitoring vibration signal.
[0122] The step of judging whether the structure of the target building is abnormal based on the real relative energy and the current predicted relative energy, and giving an alarm when the structure of the target building is abnormal, specifically includes:
[0123] Calculating an error value between the current predicted relative energy and the actual relative energy, and determining whether the error value is greater than a preset threshold;
[0124] If so, it is determined that the structure of the target building is abnormal, and an abnormal result is generated;
[0125] The abnormal result is uploaded to the cloud server, and an alarm is issued through the cloud server.
[0126] Wherein, judging whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and giving an alarm when the structure of the target building is abnormal, further comprising:
[0127] The target vibration sensor corresponding to the currently monitored vibration signal is searched according to the abnormal result, and the specific position causing the abnormality in the structure of the target building is determined according to the position corresponding to the target vibration sensor.
[0128] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a building structure safety detection program based on edge computing, and when the building structure safety detection program based on edge computing is executed by a processor, the steps of the building structure safety detection method based on edge computing as described above are implemented.
[0129] In summary, the present invention provides a building structure safety detection method based on edge computing and related equipment, the method comprising: obtaining a monitoring vibration signal of a target building within a preset time period under a normal state, and performing discrete Fourier transform processing or discrete wavelet transform processing on the monitoring vibration signal to obtain the energy distribution value of the monitoring vibration signal in each frequency band; calculating the relative energy corresponding to the energy distribution value, and training a preset deep neural network model and optimizing model parameters according to the relative energy to obtain a relative energy prediction model for signals in each frequency band; obtaining the current monitoring vibration signal of the target building, calculating the true relative energy corresponding to the current monitoring vibration signal, and inputting the current monitoring vibration signal into the relative energy prediction model to obtain the current predicted relative energy; judging whether the structure of the target building is abnormal according to the true relative energy and the current predicted relative energy, and issuing an alarm prompt when the structure of the target building is abnormal. The present invention collects the monitoring vibration signal of the target building through a vibration sensor, and performs Fourier transform on the monitoring vibration signal, so as to obtain the energy change of each frequency band corresponding to the detection signal of the target building, and can dynamically reflect the influence of external environmental factors on the structure of the target building; further, the present invention predicts the relative energy of the detection signal by training a deep neural network, and performs error calculation between the real relative energy collected in real time and the predicted relative energy, and can reflect the change of the building structure itself through the error, so as to detect the structure of the target building in real time and accurately, and can timely discover the structural abnormality of the building, thereby effectively ensuring the structural safety of the target building.
[0130] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.
[0131] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.
[0132] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A building structure safety detection method based on edge computing, characterized in that: The building structure safety detection method based on edge computing includes: Acquire a monitoring vibration signal of a target building in a preset time period under a normal state, and perform discrete Fourier transform processing or discrete wavelet transform processing on the monitoring vibration signal to obtain energy distribution values of the monitoring vibration signal in each frequency band; Calculate the relative energy corresponding to the energy distribution value, and train a preset deep neural network model and optimize model parameters according to the relative energy to obtain a relative energy prediction model for signals in each frequency band; Acquire the current monitored vibration signal of the target building, calculate the real relative energy corresponding to the current monitored vibration signal, and input the current monitored vibration signal into the relative energy prediction model to obtain the current predicted relative energy; It is determined whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and an alarm is given when the structure of the target building is abnormal.
2. The building structure safety detection method based on edge computing according to claim 1 is characterized in that: The step of obtaining a monitoring vibration signal of a target building in a preset time period under a normal state, and performing discrete Fourier transform processing or discrete wavelet transform processing on the monitoring vibration signal to obtain energy distribution values of the monitoring vibration signal in each frequency band specifically includes: The vibration sensor collects the monitoring vibration signal of the target building at each moment within a preset time period under normal conditions, and performs discrete Fourier transform processing on the monitoring vibration signal to obtain the energy distribution value of the monitoring vibration signal in each frequency band; Or, a vibration sensor is used to collect a monitoring vibration signal of the target building at each moment within a preset time period under normal conditions, and the monitoring vibration signal is processed by discrete wavelet transform to obtain the time-frequency characteristics of the monitoring vibration signal at different scales, and the energy distribution value of the monitoring vibration signal in each frequency band is obtained according to the time-frequency characteristics.
3. The building structure safety detection method based on edge computing according to claim 1 is characterized in that: The calculating the relative energy corresponding to the energy distribution value, and training and optimizing the model parameters of a preset deep neural network model according to the relative energy to obtain a relative energy prediction model for signals in each frequency band specifically includes: Calculate the relative energy corresponding to the energy distribution value, wherein the expression for calculating the relative energy is: Among them, R i is the relative energy, E i To monitor the energy corresponding to each frequency band of the vibration signal, E total To monitor the total energy of all frequency bands of vibration signals; A relative energy data set is constructed according to the relative energy, and the preset deep neural network model is trained and model parameters are optimized according to the relative energy data set to obtain a relative energy prediction model.
4. The building structure safety detection method based on edge computing according to claim 3 is characterized in that: The step of constructing a relative energy data set according to the relative energy, and training and optimizing model parameters of the preset deep neural network model according to the relative energy data set to obtain a relative energy prediction model specifically includes: The relative energy is moved according to the time window, the relative energy before the preset time window node is used as a relative energy data set, and the relative energy data set is divided into a relative energy training set and a relative energy test set; The preset deep neural network model is trained according to the relative energy training set to obtain an initial relative energy prediction model, wherein the preset deep neural network model includes an RNN model and an LSTM model; The model parameters of the initial relative energy prediction model are optimized according to the relative energy test set to obtain the relative energy prediction model.
5. The building structure safety detection method based on edge computing according to claim 1 is characterized in that: The step of obtaining the current monitored vibration signal of the target building, calculating the real relative energy corresponding to the current monitored vibration signal, and inputting the current monitored vibration signal into the relative energy prediction model to obtain the current predicted relative energy specifically includes: Collecting a current monitoring vibration signal corresponding to the target building at the current moment through a vibration sensor, and calculating a real relative energy corresponding to the current monitoring vibration signal; The current monitoring vibration signal is input into the relative energy prediction model, and the current monitoring vibration signal is processed by relative energy prediction through the relative energy prediction model to obtain the current predicted relative energy corresponding to the current monitoring vibration signal.
6. The building structure safety detection method based on edge computing according to claim 1 is characterized in that: The determining whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and giving an alarm when the structure of the target building is abnormal, specifically includes: Calculating an error value between the current predicted relative energy and the actual relative energy, and determining whether the error value is greater than a preset threshold; If so, it is determined that the structure of the target building is abnormal, and an abnormal result is generated; The abnormal result is uploaded to the cloud server, and an alarm is issued through the cloud server.
7. The building structure safety detection method based on edge computing according to claim 6 is characterized in that: The method further comprises: judging whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and giving an alarm when the structure of the target building is abnormal. The target vibration sensor corresponding to the currently monitored vibration signal is searched according to the abnormal result, and the specific position causing the abnormality in the structure of the target building is determined according to the position corresponding to the target vibration sensor.
8. A building structure safety detection system based on edge computing, characterized in that: The building structure safety detection system based on edge computing includes: An energy distribution value calculation module is used to obtain a monitoring vibration signal of a target building in a preset time period under a normal state, and to perform discrete Fourier transform processing or discrete wavelet transform processing on the monitoring vibration signal to obtain an energy distribution value of the monitoring vibration signal in each frequency band; A prediction model generation module, used to calculate the relative energy corresponding to the energy distribution value, and train a preset deep neural network model and optimize model parameters according to the relative energy to obtain a relative energy prediction model for signals in each frequency band; A relative energy prediction module is used to obtain the current monitoring vibration signal of the target building, calculate the real relative energy corresponding to the current monitoring vibration signal, and input the current monitoring vibration signal into the relative energy prediction model to obtain the current predicted relative energy; The structural abnormality alarm module is used to determine whether the structure of the target building is abnormal according to the real relative energy and the current predicted relative energy, and to issue an alarm when the structure of the target building is abnormal.
9. A terminal, characterized in that: The terminal includes: a memory, a processor, and an edge computing-based building structure safety detection program stored in the memory and executable on the processor. When the edge computing-based building structure safety detection program is executed by the processor, the steps of the edge computing-based building structure safety detection method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an edge computing-based building structure safety detection program, and when the edge computing-based building structure safety detection program is executed by a processor, the steps of the edge computing-based building structure safety detection method as described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Data analysis method based on real-time intelligent monitoring of urban and rural building groups
CN119052299A
Data analysis method based on real-time intelligent monitoring of urban and rural building complexes
CN119052299B
