Convolutional neural network-based constructional engineering material performance detection method and system
By segmenting and filling the construction engineering material performance detection method of the convolutional neural network, combining multiple sets of structural material data sets and detection templates, and analyzing the material's performance indicators such as pressure resistance and density, it solves the problem of accurate detection in the existing technology. Solve the problem of low reliability and achieve efficient and accurate material performance testing.
Patent Information
- Application Number
- CN202311602745.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing construction engineering material performance detection methods based on convolutional neural networks have problems such as insufficient sample number, poor feature extraction effect and high system complexity, resulting in low detection accuracy.
By obtaining the original input feature map data of the convolution layer, perform block processing and filling processing, combine multiple sets of structural material data sets and detection templates to perform data structure calculations, analyze the material's performance indicators such as pressure resistance and density, and determine whether the material meets the standards. .
It improves the accuracy and adaptability of detection, can quickly and accurately determine material performance parameters, reduces system complexity and calculation volume, and enhances the comprehensiveness and accuracy of detection.
Smart Images

Figure CN118691533A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of construction material detection, and specifically relates to a construction material performance detection method and system based on a convolutional neural network. Background Art
[0002] In construction projects, it is very important to accurately evaluate the performance of materials. Common construction material properties include strength, hardness, durability, etc. Traditional material performance detection methods require manual operation and sample testing, which is time-consuming, labor-intensive and costly. The material performance detection method based on convolutional neural networks can automatically extract the characteristics of materials and make accurate performance predictions by analyzing and processing material images.
[0003] The existing construction material performance detection methods and systems based on convolutional neural networks have some existing technical defects in practical applications, including the following aspects:
[0004] A. Insufficient number of samples: Convolutional neural networks require a large number of data samples for training to improve their accurate prediction of material properties. In actual applications, due to the wide variety of construction materials and numerous performance parameters, it is difficult to collect enough data samples, resulting in low accuracy of the training model.
[0005] B. Poor feature extraction: Due to the complex and diverse features of construction materials, it is difficult for traditional convolutional neural network models to effectively extract features, resulting in low model accuracy. Therefore, further research is needed on how to improve the feature extraction capability of convolutional neural networks to improve the accuracy of the model.
[0006] C. High system complexity: The construction material performance detection system based on convolutional neural networks requires the use of multiple technologies, such as cache technology, address mapping technology, cache management technology, etc., which makes the system complex and difficult to implement.
[0007] To this end, a method and system for detecting performance of construction materials based on convolutional neural networks are provided. Summary of the invention
[0008] In view of this, the embodiments of the present invention hope to provide a method and system for detecting the performance of construction materials based on convolutional neural networks to solve or alleviate the technical problems existing in the prior art and to provide at least a beneficial option for the above-mentioned technical problems.
[0009] To achieve the above object, the present invention provides the following technical solutions:
[0010] A construction material performance detection method based on a convolutional neural network, the method comprising the following steps:
[0011] S1. Obtain the total number of channels of the original input feature map data of the current convolutional layer; wherein the original input feature map data is stored in an off-chip memory;
[0012] S2. When the total number of channels is less than a preset channel number threshold, determining whether the size of the original input feature map data is greater than a preset size threshold;
[0013] S3, when it is determined that the size of the original input feature map data is greater than a preset size threshold, the original input feature map data is processed into blocks to obtain a plurality of input feature map data;
[0014] S4, obtaining address information of any input feature map data;
[0015] S5. According to the address information, the input feature map data is spliced into a to-be-filled input data, and the remaining channels of the to-be-filled input data are filled to obtain an input data;
[0016] S6. Using the pre-read weight data, perform a multiplication and accumulation operation on the input data to obtain a convolution calculation result;
[0017] S7, determining the building material type information and building structure parameters of the building material to be tested;
[0018] S8, determining multiple groups of structural material data sets based on multiple structural material data in the preset sample detection data set, performing data structure calculation on the target material data detected in the acquisition device according to the structural material attribute information in each group of structural material data sets, obtaining multiple structural material detection templates corresponding to the multiple groups of structural material data sets respectively, and using the building structure parameters of the structural material data set corresponding to each structural material detection template as the index weight of each structural material detection template; wherein the parameters of each detection item included in each group of structural material data sets are different, and one detection item corresponds to one parameter;
[0019] S9, determining a plurality of actual material data from the acquisition device respectively according to the plurality of structural material detection templates, and performing a pressure resistance analysis corresponding to the building material on the plurality of actual material data collected according to the plurality of structural material detection templates based on the index weight of each structural material detection template to obtain a first performance index parameter; wherein each structural material detection template is used to detect actual material data corresponding to different building material type information, and the structural material detection template is obtained after performing data structure calculation based on the sample detection data set;
[0020] S10, analyzing the material density index of the building material to be tested based on the sample test data set and multiple building material type information to obtain a second performance index parameter;
[0021] S11. Statistically analyze the first performance indicator parameter and the second performance indicator parameter to obtain a performance indicator parameter set, and determine whether the performance indicator parameter set is proportional to a preset indicator parameter. If so, determine that the building material to be tested is a qualified material.
[0022] As a further solution of the present invention: the input feature map data is spliced into a to-be-filled input data according to the address information, and the remaining channels of the to-be-filled input data are filled to obtain an input data, including: reading the input feature map data from the off-chip memory according to the address information, and temporarily storing the read input feature map data in a cache area of an on-chip memory; wherein the number of columns of the input feature map data is less than the number of columns of the cache area;
[0023] In the process of temporarily storing the read input feature map data in the buffer area, obtaining the position of the currently temporarily stored input feature map data in the buffer area;
[0024] Determine whether the position is located at a predetermined position, and if so, perform sliding window processing on the buffer area based on the size of the convolution kernel and the convolution step size of the current convolution layer;
[0025] When performing sliding window processing, all input feature map data in the sliding window are spliced into one input data to be filled, and the remaining channels of the input data to be filled are filled to obtain one input data.
[0026] As a further solution of the present invention: data structure calculation is performed on the target material data detected in the acquisition device according to the structural material attribute information in each group of structural material data sets to obtain multiple structural material detection templates corresponding to the multiple groups of structural material data sets, specifically including: collecting the detection point information detected by the acquisition device corresponding to each group of structural material data sets within a preset detection range and the detection image corresponding to the detection point information;
[0027] Acquire structural material attribute information determined in a corresponding detection image based on the detection point information;
[0028] Determine a plurality of detection distribution points corresponding to the acquisition device based on a detection image corresponding to the detection point information detected by the acquisition device and a feature edge and a corner of a pre-set detection range;
[0029] For each detection distribution point, determine the structural material attribute information of the detection point information included in the detection distribution point in the corresponding detection image, obtain the structural material attribute information corresponding to the detection distribution point, cluster different structural material attribute information in the detection image corresponding to the detection distribution point, and obtain clustering feature values;
[0030] Matching the clustering feature value with a preset threshold value to determine the target material data corresponding to the detection distribution point;
[0031] Based on the determined target material data corresponding to each detection distribution point, a data structure matching each group of structural material data sets is determined, and data structure calculation is performed on the target material data to obtain multiple structural material detection templates corresponding to the multiple groups of structural material data sets respectively.
[0032] As a further solution of the present invention: determining a plurality of actual material data from the acquisition device respectively according to the plurality of structural material detection templates, specifically comprising: obtaining building material strength data collected from the acquisition device based on the structural material detection template, the building material strength data comprising a stress state coefficient, a compressive strength coefficient and a bearing coefficient;
[0033] Analyzing the stress state coefficient, the target compressive coefficient obtained by changing the key information in the compressive coefficient, and the coefficient of the compressive coefficient that has not been changed to the target compressive coefficient to obtain a reference coefficient;
[0034] The load-bearing coefficient is screened based on the reference coefficient to obtain a screened load-bearing coefficient, and the reference coefficient and the screened load-bearing coefficient are analyzed respectively according to the multiple structural material detection templates to obtain multiple actual material data.
[0035] As a further solution of the present invention: the determining whether the position is located at a predetermined specified position, and if so, performing sliding window processing on the buffer area based on the size of the convolution kernel and the convolution step size of the current convolution layer, comprises: determining whether the position is located at a predetermined specified position;
[0036] If so, use each pre-constructed sliding window to perform sliding window processing on the input feature map data of each channel in the buffer area; wherein the size of the sliding window is determined according to the size of the convolution kernel; and the sliding step size of the sliding window is determined according to the convolution step size of the current convolution layer.
[0037] As a further solution of the present invention: based on the index weight of each structural material detection template, a plurality of actual material data collected according to the plurality of structural material detection templates are subjected to pressure resistance analysis corresponding to the building material to obtain a first performance index parameter, specifically comprising: based on at least one target key information preset in each structural material detection template, actual material data matching the target key information is collected, data analysis is performed on the collected actual material data including material adhesion and adhesion evaluation coefficient, to obtain a target material adhesion value and a target adhesion evaluation value;
[0038] Constructing a data processing relationship between the target material adhesion value and the target adhesion evaluation value and storing the target material adhesion value and the target adhesion evaluation value;
[0039] Based on the data processing relationship between the target material adhesion value and the target adhesion evaluation value, the target material adhesion value and the target adhesion evaluation value are preprocessed to obtain the preprocessed target material adhesion value and the target adhesion evaluation value;
[0040] According to the target material adhesion value after pretreatment and the target adhesion evaluation value, the pressure resistance analysis corresponding to the building material is performed to obtain the first performance index parameter.
[0041] As a further solution of the present invention: the step of reading the input feature map data from the off-chip memory according to the address information, and temporarily storing the read input feature map data in a cache area of the on-chip memory includes:
[0042] Input feature map data is read starting from the address information. When the address of the input feature map data crosses an address boundary, the input feature map data that exceeds the address boundary is truncated, and the input feature map data continues to be read from the truncation point until all the input feature map data in the off-chip memory are read, and the input feature map data is temporarily stored from the off-chip memory to a cache area of an on-chip memory.
[0043] As a further solution of the present invention: an input buffer module is used to connect with the computing unit to receive data;
[0044] N levels of write-back nodes, the top level of the write-back node is connected to the input cache module, and one lower level of the write-back node is connected to at least two upper level of the write-back nodes, and N is a natural number greater than 1;
[0045] A write-back control module connected to the write-back node at the lowest level to receive data from the write-back node at the lowest level and transmit the data to the bus;
[0046] The write-back node comprises a first output cache unit, a selection unit, at least two receiving cache units, an arbitration unit and a cache management unit, wherein the output end of the receiving cache unit is connected to the input end of the selection unit, the output end of the selection unit is connected to the input end of the first output cache unit, the arbitration unit is connected to the selection unit, and the cache management unit is respectively connected to the receiving cache unit and the first output cache unit;
[0047] The number of the write-back nodes at the previous level matches the number of the receiving cache units of the write-back nodes at the next level;
[0048] The write-back control module includes an address mapping unit. The data received by the write-back control module from the write-back node at the lowest level includes calculation unit address information and calculation result data. The address mapping unit calculates the write-back address according to the calculation address information and the starting address information.
[0049] As a further solution of the present invention: the receiving cache unit includes a first cache status unit and a first data cache unit which are connected to each other, and the first cache status unit is connected to the cache management unit.
[0050] As a further solution of the present invention: the first output cache unit includes a second cache status unit and a second data cache unit connected to each other, and the second cache status unit is connected to the cache management unit.
[0051] The embodiment of the present invention has the following advantages due to the adoption of the above technical solution:
[0052] (1) Efficient and accurate: This method uses convolutional neural networks to detect and analyze building materials, which can quickly and accurately determine the performance parameters of the materials. By processing and filling the input feature map data, the detection accuracy of the model can be effectively improved.
[0053] (2) Strong adaptability: This method performs adaptive processing based on the size and number of channels of the input feature map data, and can adapt to input data of different sizes and numbers of channels. At the same time, by matching multiple sets of structural material data sets with detection templates, it can adapt to building materials of different types and properties.
[0054] (3) Data structure calculation: This method calculates the data structure of the target material data detected by the acquisition device to obtain a structural material detection template corresponding to multiple sets of structural material data sets. This can better reflect the structural properties of the material and improve the accuracy of detection.
[0055] (4) Comprehensive performance index: This method comprehensively judges whether the building material to be tested is qualified by analyzing the first performance index parameter and the second performance index parameter. In this way, multiple performance indicators such as the material's pressure resistance and density can be comprehensively considered to improve the comprehensiveness and accuracy of the evaluation.
[0056] (5) Cache hierarchy: The system uses a cache hierarchy of input cache modules and N-level write-back nodes, which can improve the access speed to data and reduce the time that computing units wait for data, thereby improving the overall performance of the system.
[0057] (6) Write-back mechanism: The system adopts a write-back mechanism, which stores the modified data in the cache and writes it back to the main memory when the cache is full or the data is replaced. This mechanism can reduce the frequent access to the main memory and improve the efficiency of data transmission.
[0058] (7) Multi-level cache management unit: The system introduces a multi-level cache management unit to effectively manage cache status and cache data and ensure the consistency and correctness of cache data. This can reduce the possibility of system errors and improve system reliability and stability.
[0059] (8) Address mapping unit: The address mapping unit in the write-back control module is responsible for calculating the write-back address to ensure that the data is correctly written back to the main memory. This can prevent conflicts between different data and ensure the correctness and integrity of data transmission.
[0060] (9) Adaptability and connectivity: The number of write-back nodes at the previous level is matched to the number of receive cache units at the next level to ensure balanced data transmission. The connectivity between modules is also carefully designed to achieve smooth data transmission and processing.
[0061] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0063] Figure 1 The present invention is a flow chart of a method for detecting properties of construction materials based on a convolutional neural network.
[0064] Figure 2 This is a flow chart of the construction material performance detection system based on convolutional neural network of the present invention. DETAILED DESCRIPTION
[0065] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0066] It should be noted that the terms "first", "second", "symmetrical", "array", etc. are only used to distinguish between description and position description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the definition of "first", "symmetrical", etc. can explicitly or implicitly include one or more of these features; similarly, when the quantity of certain features is not limited in the form of words such as "two" or "three", it should be noted that this feature also explicitly or implicitly includes one or more feature quantities;
[0067] In the present invention, unless otherwise clearly specified and limited, the terms such as "installation", "connection", "fixation" and the like should be understood in a broad sense; for example, it can be a fixed connection, a detachable connection, or an integral molding; it can be a mechanical connection, a direct connection, welding, or an indirect connection through an intermediate medium, or it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood based on the description and drawings combined with specific circumstances.
[0068] like Figure 1 As shown, the present invention provides a construction material performance detection method based on a convolutional neural network, the method comprising the following steps:
[0069] S1. Obtain the total number of channels of the original input feature map data of the current convolutional layer; wherein the original input feature map data is stored in an off-chip memory;
[0070] S2. When the total number of channels is less than a preset channel number threshold, determine whether the size of the original input feature map data is greater than a preset size threshold;
[0071] S3, when it is determined that the size of the original input feature map data is greater than a preset size threshold, the original input feature map data is processed into blocks to obtain a plurality of input feature map data;
[0072] S4, obtaining address information of any input feature map data;
[0073] S5. According to the address information, the input feature map data is spliced into a to-be-filled input data, and the remaining channels of the to-be-filled input data are filled to obtain an input data;
[0074] S6. Using the pre-read weight data, perform multiplication and accumulation operations on the input data to obtain a convolution calculation result;
[0075] S7, determining the building material type information and building structure parameters of the building material to be tested;
[0076] S8. Determine multiple groups of structural material data sets based on multiple structural material data in the preset sample detection data set, perform data structure calculation on the target material data detected in the acquisition device according to the structural material attribute information in each group of structural material data sets, obtain multiple structural material detection templates corresponding to the multiple groups of structural material data sets, and use the building structure parameters of the structural material data set corresponding to each structural material detection template as the index weight of each structural material detection template; wherein the parameters of each detection item included in each group of structural material data sets are different, and one detection item corresponds to one parameter;
[0077] S9. Determine a plurality of actual material data from the acquisition device according to the plurality of structural material detection templates respectively, and perform a pressure resistance analysis corresponding to the building material on the plurality of actual material data collected according to the plurality of structural material detection templates based on the index weight of each structural material detection template to obtain a first performance index parameter; wherein each structural material detection template is used to detect the actual material data corresponding to different building material type information, and the structural material detection template is obtained after performing data structure calculation based on the sample detection data set;
[0078] S10, analyzing the material density index of the building material to be tested based on the sample test data set and multiple building material type information to obtain a second performance index parameter;
[0079] S11. Count the first performance index parameter and the second performance index parameter to obtain a performance index parameter set, and determine whether the performance index parameter set is proportional to the preset index parameter. If so, determine that the building material to be tested is a qualified material.
[0080] According to the address information, the input feature map data is spliced into a to-be-filled input data, and the remaining channels of the to-be-filled input data are filled to obtain an input data, including: according to the address information, the input feature map data is read from the off-chip memory, and the read input feature map data is temporarily stored in the cache area of the on-chip memory; wherein the number of columns of the input feature map data is less than the number of columns of the cache area;
[0081] In the process of temporarily storing the read input feature map data in the buffer area, obtaining the position of the currently temporarily stored input feature map data in the buffer area;
[0082] Determine whether the position is at a predetermined position. If so, perform sliding window processing on the buffer area based on the size of the convolution kernel and the convolution step size of the current convolution layer.
[0083] When performing sliding window processing, all input feature map data in the sliding window are concatenated into one input data to be filled, and the remaining channels of the input data to be filled are filled to obtain one input data.
[0084] According to the structural material attribute information in each group of structural material data sets, data structure calculation is performed on the target material data detected by the acquisition device to obtain multiple structural material detection templates corresponding to the multiple groups of structural material data sets, specifically including: collecting the detection point information detected by the acquisition device corresponding to each group of structural material data sets within a preset detection range and the detection image corresponding to the detection point information;
[0085] Acquire structural material attribute information determined in a corresponding detection image based on the detection point information;
[0086] Determine a plurality of detection distribution points corresponding to the acquisition device based on a detection image corresponding to the detection point information detected by the acquisition device and a characteristic edge and a corner of a pre-set detection range;
[0087] For each detection distribution point, determine the structural material attribute information of the detection point information included in the detection distribution point in the corresponding detection image, obtain the structural material attribute information corresponding to the detection distribution point, cluster different structural material attribute information in the detection image corresponding to the detection distribution point, and obtain clustering feature values;
[0088] The clustering feature value is matched with the preset threshold to determine the target material data corresponding to the detection distribution point;
[0089] Based on the determined target material data corresponding to each detection distribution point, a data structure matching each group of structural material data sets is determined, and the data structure calculation is performed on the target material data to obtain multiple structural material detection templates corresponding to the multiple groups of structural material data sets.
[0090] Determining a plurality of actual material data from the acquisition equipment respectively according to the plurality of structural material detection templates, specifically including: obtaining the strength data of the building materials collected from the acquisition equipment based on the structural material detection template, the strength data of the building materials including the stress state coefficient, the compressive strength coefficient and the bearing coefficient;
[0091] The stress state coefficient, the target compressive coefficient obtained by changing the key information in the compressive coefficient, and the coefficient in the compressive coefficient that has not been changed to the target compressive coefficient are analyzed to obtain the reference coefficient;
[0092] The load-bearing factor is screened based on the reference factor to obtain the screened load-bearing factor, and the reference factor and the screened load-bearing factor are analyzed according to multiple structural material detection templates to obtain multiple actual material data.
[0093] Determining whether the position is located at a predetermined position, and if so, performing sliding window processing on the buffer area based on the size of the convolution kernel and the convolution step size of the current convolution layer, including: determining whether the position is located at a predetermined position;
[0094] If so, use each pre-constructed sliding window to perform sliding window processing on the input feature map data of each channel in the buffer area; wherein the size of the sliding window is determined according to the size of the convolution kernel; and the sliding step size of the sliding window is determined according to the convolution step size of the current convolution layer.
[0095] Based on the index weight of each structural material detection template, a plurality of actual material data collected according to the plurality of structural material detection templates are subjected to a pressure resistance analysis corresponding to the building material to obtain a first performance index parameter, specifically comprising: based on at least one target key information preset in each structural material detection template, actual material data matching the target key information is collected, and data is analyzed on the collected actual material data including material adhesion and adhesion evaluation coefficient to obtain a target material adhesion value and a target adhesion evaluation value;
[0096] Constructing a data processing relationship between a target material adhesion value and a target adhesion evaluation value and storing the target material adhesion value and the target adhesion evaluation value;
[0097] Based on the data processing relationship between the target material adhesion value and the target adhesion evaluation value, the target material adhesion value and the target adhesion evaluation value are preprocessed to obtain the preprocessed target material adhesion value and the target adhesion evaluation value;
[0098] According to the target material adhesion value after pretreatment and the target adhesion evaluation value, the pressure resistance analysis corresponding to the building material is performed to obtain the first performance index parameter.
[0099] Reading input feature map data from an off-chip memory according to the address information, and temporarily storing the read input feature map data in a cache area of an on-chip memory, including:
[0100] The input feature map data is read starting from the address information. When the address of the input feature map data crosses the address boundary, the input feature map data that exceeds the address boundary is truncated, and the input feature map data continues to be read from the truncation point until all the input feature map data in the off-chip memory is read, and the input feature map data is temporarily stored from the off-chip memory to the cache area of the on-chip memory.
[0101] S1. Get the total number of channels of the original input feature map data of the current convolutional layer;
[0102] After obtaining the total number of channels, the dimensionality reduction of the number of channels can be performed to reduce the model complexity and the amount of calculation.
[0103] S2, determining whether the size of the original input feature map data is greater than a preset size threshold;
[0104] A step of preprocessing and adjusting the size of the input feature map data can be added to accommodate input data of different sizes.
[0105] S3, processing the original input feature map data into blocks to obtain a number of input feature map data;
[0106] We can further consider using different blocking strategies, such as sliding windows or overlapping areas, to increase the diversity and information content of the input feature map data.
[0107] S4, obtaining address information of any input feature map data;
[0108] More advanced address encoding methods, such as hash coding or spatial indexing, can be introduced to improve the efficiency and accuracy of address information.
[0109] S5, concatenating the input feature map data into a to-be-filled input data, and performing a filling process to obtain an input data;
[0110] Consider applying appropriate padding strategies, such as boundary padding, zero padding, or reflection padding, to improve the integrity and consistency of the input data.
[0111] S6. Using the pre-read weight data, perform multiplication and accumulation operations on the input data to obtain a convolution calculation result;
[0112] You can explore using different activation functions, optimization algorithms, or network structures to improve the accuracy and efficiency of convolution calculations.
[0113] S7, determining the building material type information and building structure parameters of the building material to be tested;
[0114] More characteristic information, such as material density, thermal conductivity, etc., can be introduced to expand the range of building material type information and parameters.
[0115] S8. Determine multiple groups of structure material data sets according to the preset sample detection data set, and calculate the indicator weight of each data set;
[0116] Extension: You can explore the use of machine learning algorithms, data mining techniques, or expert systems to automatically determine data sets and indicator weights to improve the intelligence and adaptability of the method.
[0117] S9. Analyze the collected actual material data according to multiple structural material detection templates to obtain a first performance index parameter;
[0118] The analysis method can be further expanded, such as introducing techniques such as feature extraction, pattern recognition or regression analysis, to obtain more comprehensive and accurate performance indicator parameters.
[0119] S10, analyzing the material density index of the building material to be tested according to the sample test data set to obtain a second performance index parameter;
[0120] Statistical methods, data modeling or empirical formulas can be combined to analyze material density indicators from multiple perspectives to improve the comprehensiveness and reliability of the analysis results.
[0121] S11, collecting statistics on the first performance indicator parameter and the second performance indicator parameter to determine whether they reach the preset indicator parameter;
[0122] More complex decision algorithms or fuzzy logic methods can be introduced to consider the trade-offs and correlations between different performance indicators and improve the accuracy and reliability of the decision results.
[0123] The method uses a convolution layer to extract features, and determines whether it is necessary to perform block processing and channel filling on the input feature map data through a preset threshold. By reading the pre-trained weight data, the input data is convoluted to obtain the convolution calculation result. Then, according to the building material type information and building structure parameters of the building materials to be detected, multiple groups of structural material data sets are determined based on multiple structural material data in the preset sample detection data set, and the target material data detected in the acquisition device are calculated according to the structural material attribute information in each group of structural material data sets to obtain multiple structural material detection templates corresponding to the multiple groups of structural material data sets, and the building structure parameters of the structural material data set corresponding to each structural material detection template are used as the index weight of each structural material detection template. Then, according to the multiple structural material detection templates, multiple actual material data are determined from the acquisition device, and according to the index weight of each structural material detection template, the multiple actual material data collected according to the multiple structural material detection templates are subjected to the pressure resistance analysis corresponding to the building material to obtain the first performance index parameter. At the same time, based on the sample detection data set and multiple building material type information, the material density index of the building material to be detected is analyzed to obtain a second performance indicator parameter, and then the first performance indicator parameter and the second performance indicator parameter are statistically analyzed to obtain a performance indicator parameter set, and it is determined whether the performance indicator parameter set is proportional to the preset indicator parameter. If so, it is determined that the building material to be detected is a qualified material.
[0124] like Figure 2 As shown, the system of the construction material performance detection method based on the convolutional neural network, the input cache module is used to connect with the computing unit to receive data;
[0125] N-level write-back nodes, the top-level write-back node is connected to the input cache module, and a lower-level write-back node is connected to at least two upper-level write-back nodes, where N is a natural number greater than 1;
[0126] A write-back control module is connected to the lowest level write-back node to receive data from the lowest level write-back node and transmit it to the bus;
[0127] The write-back node includes a first output cache unit, a selection unit, at least two receiving cache units, an arbitration unit and a cache management unit, wherein the output end of the receiving cache unit is connected to the input end of the selection unit, the output end of the selection unit is connected to the input end of the first output cache unit, the arbitration unit is connected to the selection unit, and the cache management unit is connected to the receiving cache unit and the first output cache unit respectively;
[0128] The number of the previous level write-back nodes matches the number of the receiving cache units of the next level write-back nodes;
[0129] The write-back control module includes an address mapping unit. The data received by the write-back control module from the lowest level write-back node includes calculation unit address information and calculation result data. The address mapping unit calculates the write-back address according to the calculation address information and the start address information.
[0130] The receiving cache unit includes a first cache state unit and a first data cache unit which are connected to each other, and the first cache state unit is connected to the cache management unit.
[0131] The first output cache unit includes a second cache state unit and a second data cache unit connected to each other, and the second cache state unit is connected to the cache management unit.
[0132] The input cache module of the system is used to connect to the computing unit to receive data. The N-level write-back node is composed of multiple components, wherein the top-level write-back node is connected to the input cache module, and the next-level write-back node is connected to at least two previous-level write-back nodes. The write-back control module is connected to the bottom-level write-back node and is responsible for receiving data and transmitting it to the bus.
[0133] Each write-back node includes a first output buffer unit, a selection unit, at least two receiving buffer units, an arbitration unit, and a buffer management unit. The output end of the receiving buffer unit is connected to the input end of the selection unit, the output end of the selection unit is connected to the input end of the first output buffer unit, the arbitration unit is connected to the selection unit, and the buffer management unit is connected to the receiving buffer unit and the first output buffer unit, respectively.
[0134] In order to ensure the matching of data transmission, the number of write-back nodes at the previous level must match the number of receiving cache units at the write-back nodes at the next level.
[0135] The write-back control module includes an address mapping unit for calculating the write-back address. The data received from the lowest level write-back node by the module includes the address information of the calculation unit and the calculation result data. The address mapping unit calculates according to the calculation address information and the starting address information to obtain the write-back address.
[0136] The receiving cache unit is composed of a first cache state unit and a first data cache unit, which are connected to each other and to the cache management unit.
[0137] The first output cache unit includes a second cache state unit and a second data cache unit, which are connected to each other and to the cache management unit.
[0138] In this system, the input cache module and the N-level write-back node form a high-speed cache in the memory hierarchy to improve the access speed to data. As the highest level of cache, the input cache module is responsible for receiving data from the computing unit and storing it in the cache to improve the access speed. The N-level write-back node is the second highest level of cache. When the input cache module cannot meet the data access requirements, it obtains data from the lower level cache and stores it in the cache to improve the access speed.
[0139] In the write-back node, the selection unit plays a key role in determining which receiving cache unit to obtain data from. The output of the selection unit is connected to the input of the first output cache unit, so that the data obtained from the selected receiving cache unit can be stored in the first output cache unit and provided to the subsequent computing unit. The arbitration unit ensures fairness when selecting data among multiple receiving cache units, avoids data bias, and improves the reliability and stability of the system.
[0140] To ensure the correctness and integrity of data transmission, the system adopts a write-back mechanism, that is, after the data is modified, it is not immediately written back to the main memory, but stored in the cache, and then written back to the main memory when the cache is full or the data needs to be replaced. The address mapping unit is responsible for calculating the write-back address to ensure that the data is correctly written back to the main memory and prevent conflicts between different data.
[0141] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0142] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. The above is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the description and drawings of this application, or directly or indirectly used in other related technical fields, is also included in the patent protection scope of the present application.
Claims
1. A construction material performance detection method based on convolutional neural network, characterized in that: The method comprises the following steps: S1. Obtain the total number of channels of the original input feature map data of the current convolutional layer; wherein the original input feature map data is stored in an off-chip memory; S2. When the total number of channels is less than a preset channel number threshold, determining whether the size of the original input feature map data is greater than a preset size threshold; S3, when it is determined that the size of the original input feature map data is greater than a preset size threshold, the original input feature map data is processed into blocks to obtain a plurality of input feature map data; S4, obtaining address information of any input feature map data; S5. According to the address information, the input feature map data is spliced into a to-be-filled input data, and the remaining channels of the to-be-filled input data are filled to obtain an input data; S6. Using the pre-read weight data, perform a multiplication and accumulation operation on the input data to obtain a convolution calculation result; S7, determining the building material type information and building structure parameters of the building material to be tested; S8, determining multiple groups of structural material data sets based on multiple structural material data in the preset sample detection data set, performing data structure calculation on the target material data detected in the acquisition device according to the structural material attribute information in each group of structural material data sets, obtaining multiple structural material detection templates corresponding to the multiple groups of structural material data sets respectively, and using the building structure parameters of the structural material data set corresponding to each structural material detection template as the index weight of each structural material detection template; wherein the parameters of each detection item included in each group of structural material data sets are different, and one detection item corresponds to one parameter; S9, determining a plurality of actual material data from the acquisition device respectively according to the plurality of structural material detection templates, and performing a pressure resistance analysis corresponding to the building material on the plurality of actual material data collected according to the plurality of structural material detection templates based on the index weight of each structural material detection template to obtain a first performance index parameter; wherein each structural material detection template is used to detect actual material data corresponding to different building material type information, and the structural material detection template is obtained after performing data structure calculation based on the sample detection data set; S10, analyzing the material density index of the building material to be tested based on the sample test data set and multiple building material type information to obtain a second performance index parameter; S11. Statistically analyze the first performance indicator parameter and the second performance indicator parameter to obtain a performance indicator parameter set, and determine whether the performance indicator parameter set is proportional to a preset indicator parameter. If so, determine that the building material to be tested is a qualified material.
2. The construction material performance detection method based on convolutional neural network according to claim 1 is characterized in that: The step of splicing the input feature map data into a to-be-filled input data according to the address information, and performing filling processing on the remaining channels of the to-be-filled input data to obtain an input data comprises: reading the input feature map data from the off-chip memory according to the address information, and temporarily storing the read input feature map data in a cache area of an on-chip memory; wherein the number of columns of the input feature map data is less than the number of columns of the cache area; In the process of temporarily storing the read input feature map data in the buffer area, obtaining the position of the currently temporarily stored input feature map data in the buffer area; Determine whether the position is located at a predetermined position, and if so, perform sliding window processing on the buffer area based on the size of the convolution kernel and the convolution step size of the current convolution layer; When performing sliding window processing, all input feature map data in the sliding window are spliced into one input data to be filled, and the remaining channels of the input data to be filled are filled to obtain one input data.
3. The construction material performance detection method based on convolutional neural network according to claim 1 is characterized in that: According to the structural material attribute information in each group of structural material data sets, data structure calculation is performed on the target material data detected in the acquisition device to obtain multiple structural material detection templates corresponding to the multiple groups of structural material data sets, specifically including: collecting the detection point information detected by the acquisition device corresponding to each group of structural material data sets within a preset detection range and the detection image corresponding to the detection point information; Acquire structural material attribute information determined in a corresponding detection image based on the detection point information; determine a plurality of detection distribution points corresponding to the acquisition device based on the detection image corresponding to the detection point information detected by the acquisition device and the characteristic edges and corners of a pre-set detection range; For each detection distribution point, determine the structural material attribute information of the detection point information included in the detection distribution point in the corresponding detection image, obtain the structural material attribute information corresponding to the detection distribution point, cluster different structural material attribute information in the detection image corresponding to the detection distribution point, and obtain clustering feature values; Matching the clustering feature value with a preset threshold value to determine the target material data corresponding to the detection distribution point; Based on the determined target material data corresponding to each detection distribution point, a data structure matching each group of structural material data sets is determined, and data structure calculation is performed on the target material data to obtain multiple structural material detection templates corresponding to the multiple groups of structural material data sets respectively.
4. The construction material performance detection method based on convolutional neural network according to claim 1 is characterized in that: Determining a plurality of actual material data from the acquisition device respectively according to the plurality of structural material detection templates, specifically comprising: acquiring building material strength data collected from the acquisition device based on the structural material detection template, the building material strength data comprising a stress state coefficient, a compressive strength coefficient and a bearing coefficient; Analyzing the stress state coefficient, the target compressive coefficient obtained by changing the key information in the compressive coefficient, and the coefficient of the compressive coefficient that has not been changed to the target compressive coefficient to obtain a reference coefficient; The load-bearing coefficient is screened based on the reference coefficient to obtain a screened load-bearing coefficient, and the reference coefficient and the screened load-bearing coefficient are analyzed respectively according to the multiple structural material detection templates to obtain multiple actual material data.
5. The construction material performance detection method based on convolutional neural network according to claim 1 is characterized in that: The determining whether the position is located at a predetermined position, and if so, performing sliding window processing on the buffer area based on the size of the convolution kernel and the convolution step size of the current convolution layer, comprises: determining whether the position is located at a predetermined position; If so, use each pre-constructed sliding window to perform sliding window processing on the input feature map data of each channel in the buffer area; wherein the size of the sliding window is determined according to the size of the convolution kernel; and the sliding step size of the sliding window is determined according to the convolution step size of the current convolution layer.
6. The construction material performance detection method based on convolutional neural network according to claim 1 is characterized in that: Based on the index weight of each structural material detection template, a plurality of actual material data collected according to the plurality of structural material detection templates are subjected to pressure resistance analysis corresponding to the building material to obtain a first performance index parameter, specifically comprising: based on at least one target key information preset in each structural material detection template, actual material data matching the target key information is collected, and data analysis is performed on the collected actual material data including material adhesion and adhesion evaluation coefficient to obtain a target material adhesion value and a target adhesion evaluation value; Constructing a data processing relationship between the target material adhesion value and the target adhesion evaluation value and storing the target material adhesion value and the target adhesion evaluation value; Based on the data processing relationship between the target material adhesion value and the target adhesion evaluation value, the target material adhesion value and the target adhesion evaluation value are preprocessed to obtain the preprocessed target material adhesion value and the target adhesion evaluation value; According to the target material adhesion value after pretreatment and the target adhesion evaluation value, the pressure resistance analysis corresponding to the building material is performed to obtain the first performance index parameter.
7. The construction material performance detection method based on convolutional neural network according to claim 1 is characterized in that: The step of reading the input feature map data from the off-chip memory according to the address information and temporarily storing the read input feature map data in a cache area of an on-chip memory includes: reading the input feature map data starting from the address information, and when the address of the input feature map data crosses an address boundary, truncating the input feature map data that exceeds the address boundary, continuing to read the input feature map data from the truncation point, until all the input feature map data in the off-chip memory are read, and temporarily storing the input feature map data from the off-chip memory to the cache area of the on-chip memory.
8. A system for detecting construction material properties based on a convolutional neural network, characterized in that: An input buffer module, used for connecting with the computing unit to receive data; N levels of write-back nodes, the top level of the write-back node is connected to the input cache module, and one lower level of the write-back node is connected to at least two upper level of the write-back nodes, and N is a natural number greater than 1; A write-back control module connected to the write-back node at the lowest level to receive data from the write-back node at the lowest level and transmit the data to the bus; The write-back node comprises a first output cache unit, a selection unit, at least two receiving cache units, an arbitration unit and a cache management unit, wherein the output end of the receiving cache unit is connected to the input end of the selection unit, the output end of the selection unit is connected to the input end of the first output cache unit, the arbitration unit is connected to the selection unit, and the cache management unit is respectively connected to the receiving cache unit and the first output cache unit; The number of the write-back nodes at the previous level matches the number of the receiving cache units of the write-back nodes at the next level; The write-back control module includes an address mapping unit. The data received by the write-back control module from the write-back node at the lowest level includes calculation unit address information and calculation result data. The address mapping unit calculates the write-back address according to the calculation address information and the start address information.
9. The system for detecting construction material properties based on convolutional neural network according to claim 8 is characterized in that: The receiving cache unit includes a first cache state unit and a first data cache unit connected to each other, and the first cache state unit is connected to the cache management unit.
10. The system for detecting construction material properties based on convolutional neural network according to claim 8, characterized in that: The first output cache unit includes a second cache state unit and a second data cache unit connected to each other, and the second cache state unit is connected to the cache management unit.
