Next Article in Journal
Inter Laminar Shear Strength of Flax-Glass Hybrid Polymer Composites for Automotive Frame: Numerical Modelling and Experimental Analysis
Previous Article in Journal
Challenges in Temperature Measurement in Hot Forging Processes: Impact of Measurement Method Selection on Accuracy and Errors in the Context of Tool Life and Forging Quality
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Determination of Composition of Masonry Mortars for Conservation of Historical Constructions Using Artificial Neural Networks

Instytut Techniki Budowlanej, Filtrowa Str. 1, 00-611 Warsaw, Poland
*
Author to whom correspondence should be addressed.
Materials 2025, 18(16), 3851; https://doi.org/10.3390/ma18163851 (registering DOI)
Submission received: 30 June 2025 / Revised: 6 August 2025 / Accepted: 15 August 2025 / Published: 17 August 2025
(This article belongs to the Section Construction and Building Materials)

Abstract

This study presents a novel approach to determine the composition of masonry mortars and their types from cement, lime, and cement–lime using an artificial neural network (ANN). It also allows the preparation of mortar recipes for the conservation of historical masonry objects with properties similar to the original ones, but using currently available raw materials. An ANN was trained using a set of cement, lime, and cement–lime mortars with known compositions. The properties chosen for the ANN’s analysis included total porosity, specific density, insoluble residue content, silicone (SiO2) content, calcium (CaO) content, Si/Ca ratio in grout, and compressive strength. The use of ANNs allows for the determination of mortar composition with a validation error of less than 5% and a method of classification of the type of mortar that gives correct answers in more than 93% of cases, proving the usefulness of ANNs in determining the type and composition of masonry mortars relevant for the conservation of historical masonry structures.

1. Introduction

Mortar is a binder used to bond masonry elements in masonry structures. The mortar permanently bonds the masonry elements and transfers loads to the entire masonry structure. The compressive strength of the mortar was slightly lower than that of the masonry elements. This allows a slight deformation of the mortar and prevents cracking of the masonry elements when local overloading occurs [1,2]. The use of mortars with significantly higher strengths than those of masonry elements is unacceptable because it does not ensure the proper operation of the masonry structure. However, the use of mortars with extremely low strengths weakens the entire structure [3]. Therefore, when performing repair work on masonry structures, it is crucial to reproduce the original mortar as accurately as possible. An additional aspect that may arise is working with historic structures, where the properties of the mortar and its type should be reproduced as faithfully as possible in relation to the original structure [4,5]. In this type of investigation, first of all, the type of mortar needs to be compatible with the original, and the properties need to be as close as possible to the original; however, composition might vary due to the major changes in the properties of binder materials (cement and lime). Working with masonry structures makes it impossible to take a mortar sample large enough to perform tests such as compressive strength tests according to standards, where 40 mm × 40 mm × 160 mm samples are required. Therefore, it is necessary to define the properties of mortar based on its composition. The components of the analysed mortars were Portland cement, lime, and fine aggregates. The amount of water was not considered because it is usually dosed in an amount appropriate to the desired consistency, which depends mainly on the type of ingredients used, their specific surface area, and water demand. Examining only the elemental composition of the hardened mortar does not provide sufficient information because the main elements in mortar are calcium, silicon, aluminium, and iron, which are also present in each of the mortar ingredients used. Therefore, several other determinable properties of hardened mortar must be investigated to determine possible correlations with the composition.
Another issue in determining the composition of masonry mortars might occur during the conservation of historical objects because the original mortars were cast using historical constituents made using different raw materials [6]. In addition, the details of the production and technology differ [4]. The finest binders used were significantly lower, which further determined mortar properties. This brings us to a crucial question: should the new mortar have the same composition as the original historical mortar, or should it have similar properties? Using constituents in the same proportions as in historical mortars, we would obtain a mortar with a higher compressive strength and lower porosity. As the compressive strength of the mortar should not be higher than that of the masonry unit, it can be concluded that the properties of the new mortar should be similar to those of the original mortar, and the composition is not critical. The type of mineral binder should be the same as that of the original, owing to historical compatibility.
Samples that might be collected from restored masonry objects are rather small, with a volume of approximately a few cubic centimetres. It is impossible to determine the full-scale compressive strength according to EN or ASTM standards [7,8]. Several other important properties, which might help describe a new mortar for renovation, such as porosity, density, chemical composition, and insoluble residue content, might be determined.
An artificial neural network (ANN) may be a useful tool for analysing the dataset obtained from the tests. ANNs are among the pillars of modern artificial intelligence, and their applications in various fields of science and industry are gaining importance. Built on a model of the human brain, an ANN can solve complex problems that traditional algorithms cannot solve efficiently. In recent years, there has been a noticeable increase in interest in the use of artificial neural networks in the construction industry, where their potential for data analysis, design process optimisation, and construction management has become invaluable [9,10,11]. The application of ANNs in building engineering covers a wide range of problems, including the prediction of loads on structures, forecasting of material consumption, and automatic design of building structures. Neural networks can support decision-making at every stage of the construction life cycle, leading to increased efficiency, cost reduction, and improved work quality. In addition, owing to their ability to learn from large datasets, ANNs can analyse and optimise construction processes that were previously difficult to predict using traditional analytical methods [12].
In recent years, artificial neural networks have gained popularity in the field of construction materials, including the design and optimisation of cementitious composites [13,14]. The composition of these materials is crucial for their mechanical properties, durability, and sustainability. Traditional methods for selecting the proportions of components, such as experimental studies or numerical methods, often require considerable time and funding. Consequently, the use of ANNs in the analysis and prediction of the composition of cementitious composites is becoming increasingly promising [15,16]. Molero et al. [17] used an ANN to determine the ratio of cement to sand in a mortar based on the results of non-destructive tests with ultrasonic techniques. Saridemir et al. [18] used an ANN to predict the long-term mechanical properties of cement composites with granulated blast furnace slag. The results of their research allowed the development of a method for determining the final compressive strength of composites without the need for a long-term maturation process, which is time-consuming. Saridemir [19] also used an ANN to determine the compressive strength of cement mortars with the addition of metakaolinite based on their composition, without the need for further performance or prolonged maturation. Asteris et al. [20] and Razavi et al. [21] dealt with the determination of the compressive strength of mortars using ANNs based on the knowledge of their composition. Terzic et al. [22] were using the ANNs to determine the performance of mortars with different types of cement and mineral additives. The above publications are thematically the most similar, among the others found, to the subject of this paper. It describes the process of predicting the compressive strength of mortars based on their composition using an ANN, while the purpose of this paper is to do the reverse, that is, to determine the composition based on the properties. Most investigated studies focused on predicting mechanical properties, mainly compressive strength, using ANNs and taking as input a dataset describing their composition. The novelty of the presented work is based on the use of ANNs to predict the type and composition of masonry mortars based on their properties. Another advantage is that the proposed method was developed to allow the use of small samples for tests, as only those are possible to collect from historical masonry buildings.
The aim of this study was to determine the composition of mortar with characteristic features consistent with empirical values. This study included the development of a database containing a set of characteristic features and reference mortars and then subjecting them to analysis using artificial neural networks. The proposed concept for determining mortar composition is novel because it is based on data from reference composites, whereas the dataset for the tested unknown mortar is relatively small. The proposed method was developed in a way that allows it to be used in real masonry and historical structures.

2. Materials and Methods

Preliminary tests with unpublished results involved a large number of tests, including volume density, water absorption, total porosity, macropore content, micropore content, nanopore content, compressive and flexural strength, phase composition, and elemental composition (SiO2, CaO, Al2O3, and Fe2O3). There are many other important properties of mortars, especially for the conservation of historical, old buildings, such as capillarity, water vapour permeability, and modulus of elasticity; however, it is impossible to perform standard tests because of the sizes of samples collected from the masonry construction. The use of a multi-criteria analysis of the test results helped limit the number of important characteristics that should be examined to reconstruct the composition of the original mortar. The basic characteristics examined and presented in this study are as follows:
-
Insoluble residue content;
-
Total porosity;
-
Specific density;
-
Silicon content (SiO2);
-
Calcium content (CaO);
-
Molar ratio of Si/Ca in the grout;
-
Compressive strength (as an additional characteristic).
The chosen basic input characteristics for further ANN investigations should depend on the mortar composition; however, they should be as independent of each other as possible, and one characteristic should not simply imply the other. The insoluble residue content is the amount of mortar that did not react with hydrochloric acid. This is related to the CaO content, as the Ca compounds are mostly soluble, and SiO2 is mostly insoluble in HCl. However, the results have shown that these characteristics are different from the CaO and SiO2 content determined by the XRF method and cannot be simply calculated from one another. Si/Ca ratio determined by examining the grout area using the SEM-EDX technique provides another set of independent chemical information related to the composition of mortars, as these analyses are performed only on the grout without aggregate grains.
The total porosity and specific density provide quite independent forms for each other ’s data sets. The total porosity provides information about the microstructure and total air voids in the mortar, and the specific density tests are carried out on ground samples of mortar and provide average information about the physical parameters of grout and aggregates without air voids.
Owing to the nature of the test samples, which are often taken from masonry structures, it may not be possible to test their compressive strength; therefore, this performance was not considered in the ANN analysis. The obtained values of the test results of the reference mortars with known compositions made it possible to train artificial neural networks. Two types of neural networks were prepared: classification and quantitative. The task of the classification networks is to determine the type of mortar from cement, cement–lime, and lime. The role of a quantitative ANN is to determine the proportion of the constituents used to prepare the mortar.

2.1. Materials

The compositions of the reference mortars were selected in accordance with the requirements of PN-B-10104, Polish national standard [23], and ASTM C270-10 [24]. Portland cement CEM I 42.5R in accordance with EN 197-1 [25], lime CL 90-S in accordance with EN 459-1 [26], and river sand were used for the preparation of mortar samples. Table 1 lists the elemental compositions of the constituents used for casting. The composition was determined using WD-XRF (X-ray fluorescence spectroscopy with wave diffraction), (Bruker AXS, Karlsruhe, Germany). The samples were melted with a flux before measurement.
The compositions of the reference mortars are listed in Table 2. The volume proportions rejection in the standard were converted into mass proportions after determining the bulk densities.

2.2. Methods

To achieve the aim of this study, the following characteristics were determined:
-
Total porosity;
-
Specific density;
-
Insoluble residue content;
-
Silicon content (SiO2);
-
Calcium content (CaO);
-
Molar ratio of Si/Ca in the grout;
-
Compressive strength (as an additional characteristic).

2.2.1. Total Porosity

The total porosity and pore size distribution were determined using mercury porosimetry. However, only the total porosity was found to be useful for further ANN analyses. The test was carried out on drilled cores approximately 25 mm in diameter and 35 mm in height, taken from larger cylindrical samples 160 mm in diameter and 60 mm in height, after maturation for 28 days. The cut specimens were first dried at 40 °C for 24 h and then under reduced pressure (20 mbar) for 4 h at room temperature to remove the maximum amount of moisture. The dried samples were immersed in anhydrous ethanol under a reduced-pressure atmosphere to stop hydration and were stored until testing. Immediately before the test, the samples were removed from ethanol and dried, as described above, at 40 °C and then under reduced pressure. The pore distribution test was performed using a mercury porosimeter (Quantachrome Poremaster model PM608, Anton Pear Group, Boynton Beach, FL, USA), which allowed the analysis of the distribution of pores with diameters greater than 3.6 nm. Each test was performed on three samples, and the average value was calculated.

2.2.2. Specific Density

The specific density of the hardened mortars was determined using the pycnometric method on mortar samples ground to grains with diameters less than 0.125 mm, in accordance with EN 1097-7:2023-04 [27]. Each test was performed on three samples, and the average value was calculated.

2.2.3. Insoluble Residue Content

The insoluble residue content was determined according to EN 196-2:2013-11 [28]. The test samples were dried at 40 °C and ground into grains smaller than 0.125 mm. Two determinations of the content of insoluble parts were performed for each mortar, and the average value was calculated according to the requirements of the standard.

2.2.4. Silicone (SiO2) and Calcium (CaO) Content

Silicon (SiO2) and calcium (CaO) contents were determined using X-ray fluorescence spectroscopy with a wave diffraction (WD-XRF) model Jaguar S6 produced by Bruker (Bruker Nano GmbH, Berlin, Germany). Samples of approximately 10 g of mortar were prepared by crushing and grinding to a particle size of <0.063 mm. Subsequently, they were ignited, and their loss on ignition (LOI) was determined. Samples after ignition were used to prepare fused samples using as a flux a mixture of 66.67% Li2B4O7, 32.83% LiBO2, and 0.5% LiBr.

2.2.5. Si/Ca Ratio in Grout

The polished sections were immersed in resin from each type of mortar. The details of the sample preparation are described in a previous publication [29]. The elemental composition of the grout (without aggregates) in the micro area of the mortars was analysed using a Sigma 500 VP scanning electron microscope (SEM) manufactured by ZEISS (Carl Zeiss Microscopy GmbH, Köln, Germany). The elemental composition was determined using an UltimMax 40 X-ray energy-dispersive X-ray detector (EDX) produced by Oxford Instruments (Oxford Instruments, High Wycombe, UK). For each type of sample, ten random areas were investigated, and molar compositions including only Ca, Si, and Al were determined. The average Si/Ca ratio was determined from the obtained data. Figure 1 presents an example of the analysed area of mortar with a marked area of grout whose composition was determined.

2.2.6. Compressive and Flexural Strength

The compressive and flexural strengths of the reference mortars were determined in accordance with EN 1015-11:2020-04 [7]. Each test was carried out on three 40 mm × 40 mm × 160 mm specimens, yielding six results for compressive strength and three for flexural strength. Samples were matured for 28 days before testing at a temperature of 20 ± 2 °C and humidity depending on the type of mortar (cement mortars in >95%, cement–lime mortars for 7 days in >95% and later in 60 ± 5%, and lime mortar in 60 ± 5%).

2.2.7. ANN Analysis

The results obtained from the reference mortars were analysed using ANNs. Two types of ANNs were developed: classification and quantitative ANNs. Four separate quantitative ANNs were prepared: one for CM and LM, and two for CLM prediction. ANN analyses were performed using Statistica. Statistical software package (StatSoft GmbH, TIBCO Software Inc. ver. 13, Palo Alto, CA, USA) were used in this study for data analysis. The adopted methodology assumes that the unknown mortar will first be classified, and then its material composition will be determined according to the scheme presented in Figure 2.

3. Results and Discussion

The results of the tests were analysed in the scope of their usefulness in further proceedings using an ANN. As a first step, a linear correlation between the binder content and the values of the analysed performance was determined using the regression value (square of the coefficient of multiple correlations, R2). To evaluate the sensitivity of each correlation, the value of the directional coefficient of a linear function was determined as tgα, where α is the angle of inclination of the line. The higher the absolute value of the directional coefficient, the more sensitive the correlation is. Analyses were performed separately for the sets of data for each mortar type. Different weights for each property were established using Statistica software, and an initial set of ANNs was generated. After their analysis, a few ANNs were chosen based on their properties (e.g., validation error) and further usability. A sensitivity analysis was conducted to test the significance of the mortar properties.

3.1. Total Porosity

During the analysis of the results obtained using MIP, the pore size distribution for each type and composition of mortar was analysed. However, sufficient correlations were found to be promising as a characteristic of the properties as a function of binder content. Only the total porosity values appear promising for further ANN analyses. Figure 3 shows the total porosity of the analysed mortars as a function of the binder content.
Analysis of the results of the total porosity test of the tested mortars showed that an increase in the binder content decreased the total porosity for each type of mortar. The highest values of porosity were obtained for lime mortars, and the lowest for cement mortars. It must be established that no air-entraining admixtures were added to the tested mortars. Such admixtures might be required to obtain mortars with high porosity. In such cases, the dataset for ANN training should be extended to include reference mortars.
The correlation between the total porosity of the mortar and binder content was found to be the best for the CM samples, where R2 = 0.97, and the absolute value of the directional coefficient of the linear function had a value of approximately 0.8, which should result in sufficient sensitivity. Total porosity is a useful property of CM for further investigation. For the CLM and LM samples, the R2 values were lower than those for CM. Although correlations in the range of approximately 0.79–0.80 might be found to be useful for further examinations using ANN, they were not rejected at this step. The values of the directional coefficients were also within the accepted range of 0.5–0.7.

3.2. Specific Density

Figure 4 shows the results of the specific density tests as a function of the binder content.
An increase in the binder content in all types of binders caused a slight decrease in their density. This relationship seems to be strange as the binder, especially cement, has a higher density than sand. In addition, the results of the total porosity tests showed a decrease in this feature by increasing the binder content, which should affect the increase in density. This observation might be explained by the increase in large macropores with an increase in binder content, and those macropores are out of the range of the MIP method.
Analysing the plots presented in Figure 4, a correlation of approximately 0.87 for CM and LM was observed. However, the linear coefficients for all three functions had very low values (less than 0.01), indicating the weak sensitivity of this property for further investigations. However, the uncertainty of the test method is at the level of about ±0.001 g/cm3, and these results might still be useful. The correlation coefficient for the CLM samples was very low (<0.6), indicating a very weak correlation. One of the causes of this observation may be related to the binder content, which was strictly defined as the sum of the cement and lime contents without any weights or coefficients, as they are not equal binders. All the results of the tests for specific density were further analysed using ANNs.

3.3. Insoluble Residue Content

Figure 5 shows the results of the insoluble residue tests as a function of the binder content.
The insoluble residue content in typical quartz sand used for mortars is very high, and in most cases, it is approximately 90–95%. For most binders, this feature is relatively low; for example, for OPC, it is approximately 5%. This leads to the conclusion that an increase in the binder content will decrease the insoluble content in mortars. Such a relationship was observed in all types of tested mortars.
Analysis of the results of insoluble particle tests for mortars showed a very high correlation R2 in the range from 0.93 for CLM to 0.98 for LM samples. The linear coefficients for each of the three functions had an absolute value of approximately one, indicating an acceptable sensitivity of this property for further ANN investigations in the future. The high correlation, even for CLM, might be caused by the fact that the cement and lime used have very low values of insoluble particle content (less than 5%). In such cases, the insoluble part content is highly related to the sand content of the mortar.

3.4. Silicon (SiO2) and Calcium (CaO) Content

The main elements of each mortar were determined using WD-XRF spectroscopy. However, in most cases, no significant correlation was found between the elemental and binder contents. Only the analysis of Si (SiO2) and Ca (CaO) content is promising for further investigation. Figure 6 presents a set of plots showing the elemental content as a function of the binder content. The CLM data were separated into two sets of plots: one for the cement content and the other for the lime content.
Analysis of the results of the SiO2 and CaO content tests showed that an increase in the binder content in all types of mortars decreased the SiO2 content and increased the CaO content. This may be explained by the fact that SiO2 is the main constituent of quartz sand (75%) and a minor constituent of cement (19%) and lime (1.5%). CaO content increased in all types of tested mortars with an increase in the binder content. This is caused by the high CaO content in cement and lime (62% and 70%, respectively) and the low CaO content in sand (8%).
By analysing the correlations between SiO2, CaO, and binder contents, it was found that there was a good correlation between CM, LM, and CLM for both constituents. R2 values were greater than 0.94. The linear coefficients for all analysed plots were in the range of 0.5 to 1.3, except for the CaO plot for CLM as a function of cement content, where a value of 0.4 was obtained. In most cases, the sensitivity of these functions is sufficient for further investigation.

3.5. Si/Ca Ratio in the Grout

Figure 7 shows plots of the Si/Ca ratio in the grout as a function of the binder content for each type of mortar.
The results of the received Si/Ca values in the grout as a function of the binder content showed differences for each type of mortar, including the different monotonicity of the function. The highest values for Si/Ca were observed for the CM samples because of the relatively high silicone content in the grout from the Portland cement hydration products and relicts. An increase in cement content causes a decrease in Si/Ca owing to the higher saturation of the grout with Ca ions.
In CLM, a different monotonicity was observed compared to CM. The increase in binder content causes an increase in the Si/Ca ratio, which may be caused by the various proportions of cement and lime in the binder, which affects the grout composition.
The Si/Ca ratio values in LM were not very diverse, which might be caused by the rapid saturation of grout with CaO, and further increases in lime content did not cause significant changes in grout.
Analysing the correlation for each type of mortar, it can be seen that CM and CLM have a good linear correlation, reaching R2 values of approximately 0.86 and 0.90, respectively. However, the R2 value for LM was very low (0.34), indicating no linear correlation. The linear coefficients for each of the analysed functions had low absolute values, showing the rather weak sensitivity of this method, especially for LM, where the value of this coefficient was approximately 0.002 g.

3.6. Compressive and Flexural Strength

Table 3 presents the results of the flexural and compressive strength tests. The flexural strength of LM was not recorded because of its very low values.
The compressive strength of the tested mortars was in the range of 8 ÷ 43 MPa for CM, 2 ÷ 19 MPa for CLM, and 0.09 ÷ 0.18 MPa for LM. The mechanical properties of the tested mortar cover the entire range typically used in masonry and historical constructions. The mechanical properties were not further investigated using ANNs. Their role was to establish a range of mortar properties, where the proposed method for determining the composition might be useful.

3.7. Artificial Neural Network Analysis

3.7.1. ANN—Classification

The purpose of the ANN classification was to determine the type of mortar from cement, cement–lime, and lime based on the determined values of the physical and chemical characteristics. Table 4 presents the data used for further examination with ANN.
Table 5 lists the basic characteristics of the input data used in this study.
The analysed data were randomly divided into the following groups according to the proportions given:
-
Learning, 70%;
-
Testing, 15%;
-
Validation, 15%.
During the analyses and subsequent iterations, the following ANNs were selected, the basic characteristics of which are listed in Table 6.
The selected classification ANNs are characterised by a varying number of neurons in the hidden layer and use a different activation function for the neurons in the hidden layer. This results in observed changes in the quality of learning and testing. ANN No. 2 exhibited the best testing quality, and ANN No. 3 exhibited the highest learning quality. All ANNs were further analysed. Table 7 presents a summary of the confusion matrices for the analysed ANNs.
By analysing the confusion matrix for the selected ANNs presented in Table 7, a variation in terms of correctness in the assessment of the type of mortar under investigation based on the values of the input data can be observed. For the determination of the type of mortar among cement, cement–lime, and lime, the best results were obtained for ANN No.3, which provided a typing accuracy of 93%, which is a very good result, demonstrating the potential usefulness of this method. The ANNs were subjected to a sensitivity analysis of the learning samples. Table 8 presents the results of these analyses.
The sensitivity analysis of the selected ANNs showed a moderate level of sensitivity for ANN Nos. 1 and 2, close to unity for each of the input parameters. In contrast, the sensitivities of SNF No. 3 were characterised by much wider ranges of values, exceeding the value of eight for the ‘total porosity’ attribute. From this analysis, it can be seen how significantly the individual components influence the outcome of the ANN analysis. The total porosity, insoluble residue content, SiO2, and CaO are important. In contrast, the specific density and Si/Ca ratio in the grout were parameters of lesser importance for ANN No. 3. This conclusion proves the initial analysis of the specific density and Si/Ca ratio as values with lower importance than others (p. 3.2 and p. 3.5)
ANN No. 3 is an example of an artificial neural network that can be used for the classification of mortar types.

3.7.2. ANN—Quantitative

To determine the material composition of the mortar to be tested, it is first necessary to classify the mortar using an ANN into one of the following types:
-
Cement mortar;
-
Lime mortar;
-
Cement–lime mortar.
The next step was to determine the cement or lime content of cement and lime mortar. The remainder of the composition was a fine aggregate. Water content was not included in the composition. When determining the composition of the cement–lime mortar, the cement content was determined using an ANN, and the lime content was determined using a different ANN. The remainder of the composition was a fine aggregate. It is possible to develop a single ANN to determine the cement and lime contents simultaneously, but this usually yields worse results than the two separate networks.
ANN quantitative—cement mortars
Based on these analyses, five different ANNs were selected for further verification. The basic parameters are listed in Table 9.
A preliminary evaluation of the parameters of the obtained networks showed that ANN No. 5 had the best learning quality; however, it also had the highest testing errors. This may be because the network has mastered the input dataset very well by matching it fully; however, this carries the risk of very limited versatility in processing data other than that of the initial dataset. ANN No. 1 exhibited a relatively high testing error. Therefore, ANN Nos. 1 and 5 were excluded from further analysis. The most promising ANNs among those analysed were ANN Nos. 2, 3, and 4. The sensitivity analyses of the networks are presented in Table 10.
Sensitivity analysis of the selected ANNs showed a very high variation in this characteristic among the different ANNs. The ANN with the most varied sensitivity was SSN No. 3. The sensitivity analysis presented in this study can be particularly useful in selecting a suitable network when there are incomplete analyses of an unknown mortar. In this case, the network with the lowest sensitivity should be selected.
ANN quantitative—lime mortars
Based on the analyses conducted, five ANNs for lime mortar were pre-selected, and their basic parameters are listed in Table 11.
Based on a preliminary parameter analysis of the obtained SSNs, SSN No. 2 and SSN No. 5 were rejected owing to their high values of validation and testing errors, respectively. The remaining networks were subjected to global sensitivity analysis. Table 12 presents the results of this study.
The results of the sensitivity analysis, as presented in Table 12, indicate similar properties for all ANNs. Further typing of a suitable network can be performed by selecting an ANN with a relatively small number of neurons in the hidden layer, owing to the small size of the learning dataset. Therefore, ANN No. 3 was the most suitable for this application.
ANN quantitative—Cement–Lime Mortars
Two types of ANNs were developed to determine the cement and lime contents separately. This approach provides better control of the network parameters than a single ANN, providing two parameters simultaneously in response, resulting in more reliable simulation results. Table 13 lists the pre-selected ANNs for determining the cement content of the cement–lime mortars.
The preliminary analysis of the selected ANNs allowed the rejection of ANNs 1, 4, and 5 because of their relatively high validation error values. The remaining networks were subjected to a global sensitivity analysis. The results of this assessment are shown in Table 14.
The sensitivity analysis results showed a similar range for both ANNs. However, ANN No. 2 was the most suitable network because of the smaller number of neurons in the hidden layer.
Table 15 lists the basic parameters of the pre-selected networks for determining the lime content of the cement–lime mortar.
The results of the sensitivity analysis indicated relatively low error values and the best learning quality. The other networks had similar sensitivity levels, except for ANN No. 5, which had a high validation error. The most promising networks in terms of application seem to be SSN No. 1 and SSN No. 4 because of the small number of neurons in the hidden layer in relation to the size of the test set. This may affect the versatility of the proposed network.
ANN limitations
The results of the tests and analyses presented in this study show that ANN may be a very useful tool for determining the composition of masonry mortars. However, this method has some limitations. The main limitation comes from the set of data that is used for learning, testing, and validation. Two aspects need to be considered: dataset size and the range of analysed values of properties. The compressive strengths of the mortars investigated in this study were in the range of 8–43 MPa, 2–20 MPa, and 0.09–0.13 MPa for cement, cement–lime, and lime mortars, respectively (Table 3), which cover most of the widely used masonry mortars. However, if the analysis of new, unknown mortar taken from conserved masonry buildings shows results of some property that is out of the range of reference mortars that were tested (e.g., total porosity), the set of reference data should be extended, and new ANNs should be developed.

4. Conclusions

Recovering the composition of masonry mortar in conserved mortar is a very important and challenging task that needs to be performed properly, especially in historical buildings to prolong their service life. However, the composition of the new mortar should be compatible with the type and properties of the original mortar, which will not always lead to the same composition owing to the different raw materials used today.
Analyses of tests performed on masonry mortars have led to the conclusion that it is possible to determine the type and composition of historical masonry mortars by examining a set of tests on small samples that may be collected from masonry construction. The set of tests that must be performed includes the following:
-
Total porosity;
-
Specific density;
-
Insoluble residue content;
-
Silicone (SiO2) content;
-
Calcium (CaO) content;
-
Si/Ca ratio in the grout.
The range of values of the properties of the tested mortars used as the dataset covered most of the presently and historically used masonry mortars. However, if an unknown mortar is investigated, it will be characterised by the values of properties which are outside the range of the used dataset; thus, a new reference mortar should be tested and added to the set, and new ANNs should be developed. Otherwise, extrapolation data from the dataset might cause an increase in errors, and the results might be insufficient.
The use of artificial neural networks allows for the determination of a mortar composition with a validation error of less than 5% and a method of classification of the type of mortar, which provides correct answers in more than 93% of cases. The characteristic values of the developed method for determining mortar type and composition prove its usefulness at construction sites, especially during conservation work. The methods presented in this paper are widely used in building materials laboratories and are described in European standards. Other methods, such as MIP or SEM-EDX, might be easily implemented in laboratories owing to the availability of such equipment, which gives a strong practical aspect to this work.

Author Contributions

Conceptualization, F.C., P.K. and P.W.; methodology, F.C. and L.B.; software, F.C. and P.W.; validation, F.C. and L.B.; formal analysis, F.C.; investigation, F.C.; resources, F.C. and P.K.; data curation, F.C and L.B.; writing—original draft preparation, F.C., P.K. and P.W.; writing—review and editing, F.C. and L.B.; visualization, F.C. and P.W.; supervision, F.C. and P.K.; project administration, F.C. and L.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Sarangapani, G.; Venkatarama Reddy, B.V.; Jagadish, K.S. Brick-Mortar Bond and Masonry Compressive Strength. J. Mater. Civ. Eng. 2005, 17, 229–237. [Google Scholar] [CrossRef]
  2. Czarnecki, L.; Broniewski, T.; Hening, O. Chemistry in Construction; Wydawnictwo ARKADY: Warsaw, Poland, 2006; ISBN 978-83-213-3873-6. (In Polish) [Google Scholar]
  3. Lourenço, P.B. Masonry Structures, Overview. In Encyclopedia of Earthquake Engineering; Springer: Berlin/Heidelberg, Germany, 2014; pp. 1–9. [Google Scholar]
  4. Moropoulou, A.; Bakolas, A.; Bisbikou, K. Investigation of the technology of historic mortars. J. Cult. Herit. 2000, 1, 45–58. [Google Scholar] [CrossRef]
  5. Misiewicz, J.; Kwiatkowska, L.; Wójcik, R.; Ballai, G. Investigation of mortars from historical monuments of North-East Poland and assessment of compatibility between historic and restoration mortars. Constr. Build. Mater. 2025, 474, 141075. [Google Scholar] [CrossRef]
  6. Owsiak, Z. Microscopic methods for analysis of mortars from historical masonry structures. Bull. Polish Acad. Sci. Tech. Sci. 2020, 69, 136042. [Google Scholar] [CrossRef]
  7. EN 1015-11:2020-04; Methods of Test for Mortar for Masonry—Part 11: Determination of Flexural and Compressive Strength of Hardened Mortar. European Committee for Standardization: Brussels, Belgium, 2020.
  8. ASTM C109/C109M-20; Standard Test Method for Compressive Strength of Hydraulic Cement Mortars. American Society for Testing and Materials: Washington, DC, USA, 2020.
  9. Liu, Z.; Zhou, J. Basics of Neural Networks; Springer Nature Switzerland AG: Cham, Switzerland, 2020; pp. 13–17. ISBN 978-3-031-01587-8. [Google Scholar]
  10. Basheer, I.; Hajmeer, M. Artificial neural networks: Fundamentals, computing, design, and application. J. Microbiol. Methods 2000, 43, 3–31. [Google Scholar] [CrossRef] [PubMed]
  11. Montavon, G. Introduction to Neural Networks; Springer Nature Switzerland AG: Cham, Switzerland, 2020; pp. 37–62. ISBN 978-3-030-40244-0. [Google Scholar]
  12. Bramer, M. An Introduction to Neural Networks; Springer Nature Switzerland AG: Cham, Switzerland, 2020; pp. 427–466. [Google Scholar]
  13. Ahmed, M.; AlQadhi, S.; Mallick, J.; Kahla, N.B.; Le, H.A.; Singh, C.K.; Hang, H.T. Artificial Neural Networks for Sustainable Development of the Construction Industry. Sustainability 2022, 14, 14738. [Google Scholar] [CrossRef]
  14. Doroshenko, A. Applying Artificial Neural Networks In Construction. E3S Web Conf. 2020, 143, 01029. [Google Scholar] [CrossRef]
  15. Kaushik, A.K.; Islam, R.; Elbahy, S.; Arif, M. Artificial Neural Network Application in Construction and the Built Environment: A Bibliometric Analysis. Buildings 2024, 14, 2423. [Google Scholar] [CrossRef]
  16. Liu, S.; Chang, R.; Zuo, J.; Webber, R.J.; Xiong, F.; Dong, N. Application of Artificial Neural Networks in Construction Management: Current Status and Future Directions. Appl. Sci. 2021, 11, 9616. [Google Scholar] [CrossRef]
  17. Molero, M.; Segura, I.; Izquierdo, M.A.G.; Fuente, J.V.; Anaya, J.J. Sand/cement ratio evaluation on mortar using neural networks and ultrasonic transmission inspection. Ultrasonics 2009, 49, 231–237. [Google Scholar] [CrossRef] [PubMed]
  18. Sarıdemir, M.; Topçu, İ.B.; Özcan, F.; Severcan, M.H. Prediction of long-term effects of GGBFS on compressive strength of concrete by artificial neural networks and fuzzy logic. Constr. Build. Mater. 2009, 23, 1279–1286. [Google Scholar] [CrossRef]
  19. Sarıdemir, M. Predicting the compressive strength of mortars containing metakaolin by artificial neural networks and fuzzy logic. Adv. Eng. Softw. 2009, 40, 920–927. [Google Scholar] [CrossRef]
  20. Asteris, P.G.; Apostolopoulou, M.; Skentou, A.D.; Moropoulou, A. Application of artificial neural networks for the prediction of the compressive strength of cement-based mortars. Comput. Concr. 2019, 24, 329–345. [Google Scholar] [CrossRef]
  21. Razavi, S.V.; Jumaat, M.Z.; Ahmed, H.E.S.; Pegah, M. Artificial neural networks for mechanical strength prediction of lightweight mortar. Sci. Res. Essays 2011, 6, 3406–3417. [Google Scholar] [CrossRef]
  22. Terzic, A.; Pezo, M.; Pezo, L. Application of artificial neural networks in performance prediction of cement mortars with various mineral additives. Sci. Sinter. 2023, 55, 11–27. [Google Scholar] [CrossRef]
  23. PN-B-10104:2024-04; Requirements for Masonry Mortars of General Use—Prescribed Masonry Mortars, Mixed on Building Site. Polish Committee for Standardization: Warsaw, Poland, 2024.
  24. C270-14a; Standard Specification for Mortar for Unit Masonry. American Society for Testing and Materials: Washington, USA, 2012.
  25. EN 197-1:2012; Cement—Part 1: Composition, Specifications and Conformity Criteria for Common Cements. European Committee for Standardization: Brussels, Belgium, 2012.
  26. PN-EN 459-1:2015-06; Building Lime—Part 1: Definitions, Specifications and Conformity Criteria. European Committee for Standardization: Brussels, Belgium, 2015.
  27. EN 1097-7:2023-04; Tests for Mechanical and Physical Properties of Aggregates—Part 7: Determination of the Particle Density of Filler—Pyknometer Method. European Committee for Standardization: Brussels, Belgium, 2023.
  28. EN 196-2:2013-11; Method of Testing Cement—Part 2: Chemical Analysis of Cement. European Committee for Standardization: Brussels, Belgium, 2013.
  29. Chyliński, F. Microstructural Assessment of Pozzolanic Activity of Ilmenite Mud Waste Compared to Fly Ash in Cement Composites. Materials 2024, 17, 2483. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Example of analysis of the area of grout from the mortar.
Figure 1. Example of analysis of the area of grout from the mortar.
Materials 18 03851 g001
Figure 2. Scheme of composition determination using ANNs.
Figure 2. Scheme of composition determination using ANNs.
Materials 18 03851 g002
Figure 3. Total porosity.
Figure 3. Total porosity.
Materials 18 03851 g003
Figure 4. The specific density of mortars.
Figure 4. The specific density of mortars.
Materials 18 03851 g004
Figure 5. Insoluble residue content in mortars.
Figure 5. Insoluble residue content in mortars.
Materials 18 03851 g005
Figure 6. Silicon (SiO2) and calcium (CaO) content.
Figure 6. Silicon (SiO2) and calcium (CaO) content.
Materials 18 03851 g006
Figure 7. Si/Ca ratio in the grout.
Figure 7. Si/Ca ratio in the grout.
Materials 18 03851 g007
Table 1. Elemental composition of compounds used for mortars.
Table 1. Elemental composition of compounds used for mortars.
Sample LOI [%]SiO2 [%]CaO [%]Al2O3 [%]Fe2O3 [%]MgO [%]Na2O (%)K2O (%)SO3 (%)
cement3.19 ± 0.0618.84 ± 0.0662.15 ± 1.165.08 ± 0.064.59 ± 0.051.65 ± 0.030.13 ± 0.010.55 ± 0.012.80 ± 0.07
lime25.11 ± 0.061.52 ± 0.0170.34 ± 1.320.50 ± 0.010.04 ± 0.010.50 ± 0.010.01 ± 0.010.05 ± 0.010.37 ± 0.01
sand7.29 ± 0.0675.05 ± 0.228.44 ± 0.164.02 ± 0.041.73 ± 0.020.86 ± 0.010.77 ± 0.011.34 ± 0.010.19 ± 0.01
Table 2. Composition of reference mortars.
Table 2. Composition of reference mortars.
Cement Mortars
SampleCement [g]Sand [g]Binder Content [%]
A500147025.38
B400177018.43
C300177014.49
A1500111031.06
B1400147021.39
C1300155016.22
C2300199013.10
Cement–lime mortars
SampleCement [g]Lime [g]Sand [g]Binder content [%]
D40050177020.27
E30070177017.29
F20090177014.08
G150140199012.72
D140050206017.93
E130070221014.34
F120090206012.34
G1150140221011.60
Lime mortars
SampleLime [g]Sand [g]Binder content [%]
H400193017.17
I300193013.45
J15019307.21
H1400128023.81
I130028909.40
J115024105.86
Table 3. Results of mechanical properties tests.
Table 3. Results of mechanical properties tests.
SampleAverage Flexural Strength [MPa]Average Compressive Strength [MPa]
A5.1829.35
B4.0317.76
C2.9410.77
A16.6943.12
B14.0321.52
C13.1411.91
C22.378.09
D4.2019.21
E3.4012.10
F2.156.25
G1.342.51
D13.0913.67
E10.528.78
F10.345.06
G10.162.64
H-0.13
I-0.11
J-0.09
H1-0.11
I1-0.09
J1-0.18
Table 4. Physical and chemical characteristics of reference mortars.
Table 4. Physical and chemical characteristics of reference mortars.
SampleInsoluble Residues [%]Total Porosity [%]Specific Density [g/cm3]SiO2 Content (%)CaO Content (%)Si/Ca RatioType
A68.4716.52.602369.7314.920.43CM
B75.1322.42.636177.0310.260.45CM
C76.7326.32.686380.298.560.47CM
A162.8012.52.599066.6617.380.33CM
B169.9218.52.604273.2313.110.49CM
C177.1623.22.647979.609.220.47CM
C280.5625.32.644982.317.760.50CM
D72.3322.22.645575.5611.860.36CLM
E75.9824.72.653377.7510.270.31CLM
F79.6825.82.679579.809.310.25CLM
G81.9128.42.696482.248.200.21CLM
D176.3324.22.621378.0110.560.42CLM
E177.9728.82.613280.058.850.44CLM
F179.8723.22.680680.848.560.37CLM
G182.5424.22.653382.787.720.32CLM
H78.4129.92.657677.7111.750.11LM
I84.0535.82.640181.589.100.09LM
J88.1337.52.719386.805.060.06LM
H171.5922.92.613672.6315.540.07LM
I185.7522.22.708784.557.190.11LM
J191.2026.42.723288.084.130.23LM
Table 9. Parameters of pre-selected CM-ANNs.
Table 9. Parameters of pre-selected CM-ANNs.
ANN SymbolLearning QualityLearning ErrorTesting
Error
Validation ErrorLearning AlgorithmError FunctionActivation—Hidden NeuronsActivation—Output Neurons
1-MLP 6-6-10.99870.03642.68060.0343BFGS 11SOSExponentialLinear
2-MLP 6-4-10.99300.46640.08310.1843BFGS 6SOSLinearTanh
3-MLP 6-4-11.00000.00070.73990.2095BFGS 12SOSExponentialLinear
4-MLP 6-10-10.99380.21410.16910.3967BFGS 3SOSTanhLinear
5-MLP 6-4-11.00000.00004.91341.4852BFGS 714SOSTanhExponential
Table 10. Results of the sensitivity analysis of CM-ANNs.
Table 10. Results of the sensitivity analysis of CM-ANNs.
ANN SymbolSiO2
Content
CaO
Content
Si/Ca
Ratio
Specific
Density
Total
Porosity
Insoluble Residues
2-MLP 6-4-11.51446.73344.30650.99503.38922.2515
3-MLP 6-4-118.70585.54728.01049.87731,28591.0668
4-MLP 6-10-11.69783.05511.61651.75961.13811.8652
Table 11. Parameters of pre-selected LM-ANNs.
Table 11. Parameters of pre-selected LM-ANNs.
ANN SymbolLearning QualityLearning ErrorTesting ErrorValidation ErrorLearning AlgorithmError FunctionActivation—Hidden NeuronsActivation—Output Neurons
1-MLP 6-10-10.98660.24165.711.7251BFGS 3SOSExponentialLinear
2-MLP 6-4-11.00000.000022.0679.988BFGS 83SOSLinearTanh
3-MLP 6-5-11.00000.001822.060.0195BFGS 10SOSExponentialTanh
4-MLP 6-9-11.00000.000022.060.9128BFGS 62SOSLinearLogistic
5-MLP 6-11-11.00000.0000236,105.200.7285BFGS 0SOSLinearExponential
Table 12. Results of the sensitivity analysis of LM-ANNs.
Table 12. Results of the sensitivity analysis of LM-ANNs.
ANN SymbolTotal
Porosity
CaO
Content
SiO2
Content
Insoluble ResiduesSpecific DensitySi/Ca
Ratio
1 MLP 6-10-11.42890.86601.14281.17991.05870.2503
3 MLP 6-5-11.00641.09021.06161.05081.01811.0171
4 MLP 6-9-11.30921.55551.28291.08041.07281.0887
Table 13. Parameters of pre-selected CLM-ANNs (cement content).
Table 13. Parameters of pre-selected CLM-ANNs (cement content).
ANN SymbolLearning QualityLearning ErrorTesting ErrorValidation ErrorLearning AlgorithmError FunctionActivation—Hidden NeuronsActivation—Output Neurons
1-MLP 6-10-10.60396.87240.265228.4870BFGS 1SOSLogisticExponential
2-MLP 6-8-10.98452.40440.197016.8200BFGS 2SOSLogisticExponential
3-MLP 6-12-10.99340.09360.13662.2780BFGS 5SOSExponentialLogistic
4-MLP 6-8-10.52656.89930.281028.5740BFGS 1SOSLogisticLogistic
5-MLP 6-10-10.88286.82700.233028.5840BFGS 1SOSLinearLogistic
Table 14. Results of sensitivity analysis CLM-ANNs (cement content).
Table 14. Results of sensitivity analysis CLM-ANNs (cement content).
ANN SymbolCaO
Content
SiO2
Content
Insoluble ResiduesSpecific DensitySi/Ca
Ratio
Total
Porosity
2-MLP 6-8-11.10071.13131.14881.06281.02320.9945
3-MLP 6-12-13.00362.20411.97331.64111.37551.3907
Table 15. Parameters of pre-selected CLM-ANNs (lime content).
Table 15. Parameters of pre-selected CLM-ANNs (lime content).
ANN SymbolLearning QualityLearning ErrorTesting ErrorValidation ErrorLearning AlgorithmError FunctionActivation—Hidden NeuronsActivation—Output Neurons
1-MLP 6-5-10.99110.02420.00210.0314BFGS 15SOSLinearExponential
2-MLP 6-8-10.96240.10290.01080.0338BFGS 4SOSExponentialExponential
3-MLP 6-10-10.96590.10710.00100.0513BFGS 3SOSLogisticExponential
4-MLP 6-6-10.97330.11610.00310.0560BFGS 2SOSTanhExponential
5-MLP 6-8-10.96860.17030.00620.1896BFGS 3SOSTanhTanh
Table 5. Characteristic of input data.
Table 5. Characteristic of input data.
PerformanceInsoluble ResiduesTotal PorositySpecific DensitySiO2 ContentCaO ContentSi/Ca Ratio
Minimum (learning)62.8012.502.6066.667.720.06
Maximum (learning)84.0535.802.7082.7817.380.50
Average (learning)76.3724.352.6477.6410.750.33
Standard deviation (learning)5.905.660.034.933.090.15
Minimum (test)77.1623.202.6579.604.130.23
Maximum (test)91.2037.502.7288.089.220.32
Average (test)85.5029.032.7084.836.140.27
Standard deviation (test)7.387.500.044.572.710.05
Minimum (validation)72.3322.202.6275.567.190.11
Maximum (validation)85.7524.202 7184.5511.360.49
Average (validation)78.1422.872 6679.379.870.24
Standard deviation (validation)7.235.130.057.053.700.26
Minimum (total)62.8012.502.6066.664.130.06
Maximum (total)91.2037.502.7288.0817.380.50
Average (total)77.9324.802.6578.929.970.31
Standard deviation (total)6.715.620.045.273.270.15
Table 6. Pre-selected classification ANNs.
Table 6. Pre-selected classification ANNs.
ANN
Symbol
Learning QualityTesting Quality Validation Quality Learning Algorithm Error Function Activation—Hidden Neurons Activation—Output Neurons
1-MLP 6-4-346.6766.6733.33BFGS 4SOSLogisticLinear
2-MLP 6-5-346.67100.0033.33BFGS 5SOSTanhLinear
3-MLP 6-5-393.3333.3333.33BFGS 0SOSTanhLinear
Table 7. Summary of the classification matrix for the ANNs.
Table 7. Summary of the classification matrix for the ANNs.
ANN SymbolResultType-CMType-CLMType-LMType-All
1-MLP 6-4-3correct (%)66.666733.333333.333346.6667
incorrect (%)33.333366.666766.666753.3333
2-MLP 6-5-3correct (%)83.33330.000066.666746.6667
incorrect (%)16.6667100.000033.333353.3333
3-MLP 6-5-3correct (%)100.000083.3333100.000093.3333
incorrect (%)0.000016.66670.00006.6667
Table 8. Results of the sensitivity analysis.
Table 8. Results of the sensitivity analysis.
ANN SymbolTotal PorosityInsoluble ResiduesSiO2
Content
CaO
Content
Specific DensitySi/Ca
Ratio
1-MLP 6-4-31.01911.01430.99780.98650.99971.0187
2-MLP 6-5-31.01390.98961.00000.97710.99121.0438
3-MLP 6-5-38.57026.98515.78655.01941.20980.8368
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chyliński, F.; Kupisz, P.; Więch, P.; Brunarski, L. Determination of Composition of Masonry Mortars for Conservation of Historical Constructions Using Artificial Neural Networks. Materials 2025, 18, 3851. https://doi.org/10.3390/ma18163851

AMA Style

Chyliński F, Kupisz P, Więch P, Brunarski L. Determination of Composition of Masonry Mortars for Conservation of Historical Constructions Using Artificial Neural Networks. Materials. 2025; 18(16):3851. https://doi.org/10.3390/ma18163851

Chicago/Turabian Style

Chyliński, Filip, Piotr Kupisz, Przemysław Więch, and Lesław Brunarski. 2025. "Determination of Composition of Masonry Mortars for Conservation of Historical Constructions Using Artificial Neural Networks" Materials 18, no. 16: 3851. https://doi.org/10.3390/ma18163851

APA Style

Chyliński, F., Kupisz, P., Więch, P., & Brunarski, L. (2025). Determination of Composition of Masonry Mortars for Conservation of Historical Constructions Using Artificial Neural Networks. Materials, 18(16), 3851. https://doi.org/10.3390/ma18163851

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop