One information that is generally not used but is still essential to the economic evaluation and wood yield of the sawmill production chain is the quantification of lumber a priori. The few applications that provide a solution to this problem work with one log at a time and generally use optimization techniques instead of cut pattern models. The software developed for this work uses trigonometric rules, applying the circumscribed square (block), longitudinal (or tangential), log rotation, and radial cut patterns to help a producer sell a tree not in cubic meters but as a function of the pieces obtained from trees. Six tests were performed using trees and individual logs. The comparison between the calculated and milled or drawing pieces was presented for each model. The total errors obtained were approximately 2% for priority pieces. The best accuracy for the number and volume of the lumber pieces was 2.2% and -5.4%, respectively, obtained with a 30 o angle of the slab (waste wood) and 0.60 to the proportion of the radius parameters in the model that rotates the log. The total calculated and observed piece width distributions were statistically equal in the radial model. This application requires observation of the milling operation while monitoring parameters in a heterogeneous sample of wooden logs to obtain the best results.
## I. INTRODUCTION
The supply of planted forests with homogeneous dimensions favors creating business rules to support wood management and processing. As a result, information reported of the pieces milled per tree or log (number, volume and potential revenue), allows suppliers the opportunity to trade their wood in more profitable markets (Costa et al. 2016).
Business rules can also assist in the native forest wood trade with some limitations, due to different ages and heterogeneous dimensions. An example is the Brazil concessions for management plans in national conservation forests, which has been making since 2014. By means of monitoring and inspection systems, the product from tree to sale is tracked, guaranteeing the legalization of logging products. An essential variable in this process is the yield of lumber, which depends on the diameter of the logs, the combination of the cutting pattern with the dimensions of the pieces, and the occurrence of defects, such as knots, tortuosity, and cracks, as well as the general health/quality of the lumber (Bonato et al. 2017; Cunha et al. 2015; Juizo et al. 2014; Mahica et al. 2013; Rocha and Tomaselli 2002).
Currently, monitoring and inspection systems use a volumetric yield coefficient of $35\%$, which is the ratio between the volume of milled wood and the total log volume (Brazil 2016). When applying this coefficient, if the sawmill obtains a yield lower than this percentage, it can receive authorization to extract wood from the forest above what was established by the management plan. If the yield is higher than $35\%$, the supplier must retain the surplus wood in the yard without a sales receipt.l.e. the technical criteria is not suitable, which consequently increases the environmental impact on the forest or give costs for sawmills.
Given that the volumetric performance studies used to inform the environmental agency of the actual yield of milled wood are expensive and may vary according to the demand for milled products and the quality of the wood in stock, it would be advisable to use software to perform this estimate instead of adopting a fixed, arbitrary value for several sawmills. Another function of this software would be to support production planning so that sawmills could estimate the stock and revenue of milled pieces.
Computational tools used for estimations in multiple tree products are not a novelty. Most of these tools are used to optimize wood volume for firewood, cellulose pulp and lumber (Binoti 2012; Oliveira et al. 2011; Oliveira 2011; Soares et al. 2003; Chichorro et al. 2003; Leite 1994) or estimate growth in forest production and milled wood; examples include Dyna Tree, Saw Model and Sigma E softwares (Nunes 2013; Leite 1994), Sis Eucalipto (Oliveira 2011), and RPF (Binoti 2012). There are also scanning methods (Halabe et al. 2011) that evaluate or simulate sawmill processes (Vergara et al. 2015; Murara et al. 2013; Voronin et al. 2012; Heinrich 2010; Maturana et al. 2010; Baesler et al. 2004; Lin et al. 1995; Steele 1984).
Computational solutions for lumber, which calculate the conversion into milled pieces, are intended for commercial use or were developed solely for technical and scientific purposes. Among the commercial applications are MaxiTora (Serpe et al.
2018; OpTimber 2020), CutLog (TEKL STUDIO 2018), TimberLOG (Timber Vision 2020), and Pitago Optimizers (2020). Most of these solutions are based on linear programming, a technique applied to optimize the dimensions of selected pieces in a section of the trunk.
CalcMadeira provides a new solution when simulating cut patterns applied to trees or individual logs. Its algorithms use trigonometric rules (i.e., arrow concepts, string, sine, and cosine) rather than optimization techniques (Costa et al. 2019a; 2019b; 2020).
Most sawmills do not adopt a cut pattern model. Instead, they entrust the cutting performance to the experience of the saw operator. Therefore, a pattern that parallels the empirical procedure performed by the operator is proposed. In the approximated pattern, the log is turned $180^{\circ}$ and $90^{\circ}$. The parameters used in this model are cited in the method described later in this article.
The goal of this work is to show and validate these cut models (circumscribed square, longitudinal (tangential), turn $180^{\circ} / 90^{\circ}$ and the radial), comparing the accuracy between the number of pieces of wood calculated by the software and that obtained by the sawmill or by drawing in the face of the log.
## II. MATERIALS AND METHODS
In this section, the models for trees and milled wood are described, followed by the structure of the tests. Then, data is collected and calculated, and the statistical analysis is presented.
### a) Taper model
The software adjusts taper functions using the Kozak et al. (1969) model and volume with the
Schumacher and Hall (1933) model from taper data to estimate milled product from trees. The Smalian formula is used to estimate the milled product from log.
### b) Models for milled wood
As shown in Figure 1, four slab cuts are made to the circumference for the circumscribed square cut pattern. The saw stays in the remaining square and begins to saw the lumber. In the longitudinal cut pattern, the saw first cuts the lateral slab and then begins parallel cuts on another side with the last amount of the slab cut. The model that rotates the log at 180 and 90 degrees combines the two models previously described. To begin this cut, the angle $a$ is defined for the slab (Figure 2). The chord is the width $(L)$ available for lumber and is calculated by Equations 1, 2, and 3, where $D$ is the diameter of the log, the arrow $(f)$ is a parameter that increases as the pieces are selected, and $(b)$ is the angle calculated from the thickness of the lumber.
In the model that rotates the log, when $f$ reaches the limit established by the radius ratio, which is the parameter that defines the maximum $f$ for the longitudinal cut, the cut is interrupted. The same procedure is repeated on the opposite side (i.e., a $180^{\circ}$ turn of the log). With the second interruption, the remainder (i.e., a rectangle plus two slabs) is rotated $90^{\circ}$ to perform the procedure using the circumscribed square model, where $L = \frac{D}{\sqrt{2}}$.




 Fig. 1: Cut patterns for milled wood: a) circumscribed square; b) longitudinal; c) $180^{\circ}90^{\circ}$ turn log; and d) radial
 Fig. 2: Models for cut patterns from
$$
\cos (1 8 0 - b) = (f - D / 2) / \left(\frac {D}{2}\right) \tag {1}
$$
$$
b = 1 8 0 - \operatorname{acos} [ (f - D / 2) / (\frac{D}{2}) ] \tag{2}
$$
$$
L = D * \operatorname{sen} (\alpha), \alpha = a, b \dots \tag{3}
$$
The slab is defined to find the smallest piece width. The angle generated in the cut of the slab is proportional to the diameter of the log in the milling operation. Smaller logs will have larger slab angles, while larger logs will have smaller slab angles (Figure 3). In the first version of the proposed software, the parameter "average angle of the slab" was considered. From this angle, logs with smaller diameters have an undersized initial width, which will not result in errors because the algorithm will increase the width of the slab until it reaches the width of the piece. In contrast, logs with larger diameters may experience aloss in the number of pieces, especially those of smaller widths, due to the estimation of slab areas with larger widths than those executed in the saw mill.
The distance between the radius ratio values increases with the diameter of the log; then, logs with large sections need smaller intervals between radius ratios in the simulated case (Figure 3).
One way to define the slab angle is to observe the cut of the first slab on logs with different diameters and select the grade closest to those used in the milling operation. The same procedure can be performed for the radius ratio.
 Fig. 3: Slab angles of 10, 20, and $30^{\circ}$, which show variable slab widths (right side of the circle) and chords defined by radius ratios of 0.55, 0.60, and 0.65 (left side of the circle) concerning to logs with diameters of 20, 25, 30, 35 and 40 cm
The radial cutting model (Figure 1) consists of dividing the log to quadrants and calculating sawn pieces to the radius direction. The cutting of parts is run by alternating the edges within the quadrant, limited to two slices by an angle of $45^{\circ}$. Calculations are performed for one quadrant and multiplied by 4 for the log.
All models were validated with draws in digital graphics using the CAD software Libre CAD (2020).
### c) Data
Six tests were performed with trees and logs by applying the circumscribed square, longitudinal (tangential), $180^{\circ}$ and $90^{\circ}$ turnlog, and radial cut patterns (Table 1). These tests range from more controlled to more sampled.
Table 1: Tests of cut models, sources (i.e., trees or logs), diameter at breast height (dbh), height total (h) and commercial (hc), percentage of bark, diameter range of logs, kind of lumber milled, length of logs and priority of milled pieces
<table><tr><td>Test</td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td></tr><tr><td>Cut pattern</td><td>Circumscribed square</td><td>Empiric</td><td>Longitudinal</td><td>Longitudinal</td><td>Turns of 180 and 90°</td><td>Radial</td></tr><tr><td>Cut model applied</td><td>Circumscribed square</td><td>Circumscribed square</td><td>Longitudinal</td><td>Longitudinal</td><td>Turns of 180 and 90°</td><td>Radial</td></tr><tr><td>Source</td><td>Tree</td><td>Tree</td><td>Log</td><td>Log</td><td>Log</td><td>Log</td></tr><tr><td>Quantity dbh/h/hc/bark%</td><td>3 trees/16 logs</td><td>3 trees/19 logs</td><td>9</td><td>19</td><td>51</td><td>6</td></tr><tr><td>Tree 1</td><td>24/25.2/10.7/8.7</td><td>24/25.2/10.7/8.7</td><td></td><td></td><td></td><td></td></tr><tr><td>Tree 2</td><td>21/22/11.3/4.8</td><td>21/22/11.3/4.8</td><td></td><td></td><td></td><td></td></tr><tr><td>Tree 3</td><td>19.5/24.4/11.4/8.5</td><td>19.5/24.4/11.4/8.5</td><td></td><td></td><td></td><td></td></tr><tr><td>Range of logs diameters (cm)</td><td>9-22</td><td>9-24</td><td>13-22</td><td>19-46</td><td>19-38</td><td>28-61</td></tr><tr><td>Lumber type</td><td>NBR 14807*</td><td>Clapboard 50 x 30 mm
Clapboard 40 x 30 mm
Board 100 x 30 mm</td><td>Clapboard 40 x 20 mm</td><td>Board 50-400 x
27 mm
Large board
50-400 x 40 mm
Step width
50 mm</td><td>Board 50-400 x
27 mm
Large board 50-400 x 40 mm
mm
Step width
50 mm</td><td>Board 50-600 x
27 mm
Step width
50 mm</td></tr><tr><td>Length (m) of log</td><td>2</td><td>3.1</td><td>3.1</td><td>3.4</td><td>3.4</td><td>1.5-2.9</td></tr><tr><td>Priori of lumbers</td><td>By size</td><td>User choice</td><td>User choice</td><td>None</td><td>None</td><td>None</td></tr></table>
## i. Test 1
In this test, we applied the rule of priority by size in width and thickness to calculate lumber pieces of small trees of the Corymbiacitriodora species planted from seeds, which had some tortuosity in the trunk. The trees were cut and processed in a sawmill of the Embrapa company in Sete Lagoas, Minas Gerais State, Brazil.
The Kozak taper model was applied to each tree. The lumber pieces calculated by the proposed software were drawn in the most minor section of each log before being sawed (Figures 4a and b). The diameters with bark (di_log) were measured, and the width of the lumber (wi_log) was framed in the log section.
The milled pieces were measured in width (wi_sw) and thickness (th_sw) at the ends and in the middle of the lumber (Figure 4c).
 A
 b
 C Fig. 4: a) Log in the sawmill machine, b) smaller face of a log with pieces calculated and selected to be cut, and c) stacked pieces to dry after measurement and identification
## ii. Tests 2 and 3
In Test 2, It is compared results among the Calc Madeira and CutLog softwares. The trees were cut in Maravilhas city, Minas Gerais State, and transported to a sawmill in Matosinhos city, Minas Gerais.
It is used nine trees close to the evaluated trees (i.e., those that were milled) for generate taper model. The width and thickness of the pieces were not measured according to uniformity in production and the constant width and thickness of the lumber. Only the number of pieces per log was obtained (Figure 5), and imperfections, such as tortuosity and cracks, were noted.
In Test 3, It is cut a new set of 3 trees of the Corymbia citriodora species. However, evaluations were performed by individual logs without the need for taper models, already validated in Test 1. As in Test 2, only the number of pieces per log was obtained (Figure 6).
 a
 b
 Fig. 5: a) First product of the empirical procedure and b) large clapboards and clapboards after going through the second step in a circular blade a
 b Fig. 6: a) First product of the longitudinal cut pattern and b) clapboards after the second step in a circular blade
## iii. Tests 4 and 5
In Test 4, it is measured nineteen logs, and in Test 5, fifty-one logs, both from eucalyptus with different ages and genetic materials (i.e., stock). The tests were performed in a sawmill in the municipality of Martinho Campos, Minas Gerais. The pieces milled were boards larger than or equal to $50~\mathrm{mm}$ in width up to the maximum width allowed by the diameter of the log. The thickness was fixed at $27~\mathrm{mm}$. The $40~\mathrm{mm}$ thickness was milled in the center of the log to prevent the large board from cracking in its core. The cut pattern was longitudinal for Test 4 and turns of $180^{\circ}$ and $90^{\circ}$ for Test 5. In these tests, only the width was measured.
## iv. Test 6
This test was performed at the Embrapa farm in Sete Lagoas, Minas Gerais. Six logs from Pinus sp and Araucaria angustifolia trees with different displacements of the pith with reference to the center of the face of the log were measured in Test 6. The pieces were drawn in small sections of the logs. These pieces were boards larger than or equal to $50\mathrm{mm}$ in width up to the maximum width allowed by the circumference of the log's barkless wood. The drawing was performed in all quadrants with points of origin in the marrow, which resulted in quadrants of different sizes. The intention was to detect bias among the calculated pieces based on the center of the log section and the pith deviated.
The thickness was fixed at $32\mathrm{mm}$, which matches a thickness of $27\mathrm{mm}$ plus $5\mathrm{mm}$ considering the consumption of wood by the saw.
In this test, it is assessed the accuracy of the number and dimension of pieces that the program calculated to the pieces observed in the logs. Accuracy is reported per log as a function of pith displacement.
## v. Sawmill operations
Tests 2, 3, 4, and 5 followed the operational procedure without drawing pieces in the logs and informing the operator of the number of pieces. With this, the sawmill chose the pieces of interest with their given dimensions and established the priority among them to mill.
The empirical method applied in Tests 2 and 5 by different operators in sawmills begins with sawing the lateral slab and sawing pieces up to a limit defined by the operator. Then, the log is rotated, which can be at $180^{\circ}$ or $90^{\circ}$ angles. This process does not precisely follow the model of the first $180^{\circ}$ turn, as after turning $90^{\circ}$. It can vary from log to log too. However, this operation reduces the log to a rectangle plus two slabs where boards are milled with the same widths. The large board is sawed in its core.
### d) Calculations
The following data are used to execute the cut model algorithms: dimensions of the lumber, including length, width, and thickness; and measurements of the tree, including dbh, total and commercial height, and bark thickness measured at each section of the log, being considered the average per tree.
In individual log algorithms, the parameters are smaller diameter, larger diameter, and log length. The wood loss established by the saw thickness was $5\mathrm{mm}$, a parameter informed of the application according to the saw type.
In Tests 3 and 4 for the longitudinal model, the slab lateral angle was $30^{\circ}$. In Test 5, three medium angles for the lateral slab $(10^{\circ}, 20^{\circ},$ and $30^{\circ})$ and three radius proportions (0.55, 0.60, and 0.65) were chosen after monitoring the process of the empirical milling technique.
### e) Statistical Analysis
The statistical comparison varied with the tests because they were adapted to sawmill procedures and the characteristic of the application. The main comparison between the results obtained in the sawmill and calculated by the software was the standard error:
$$
SE\% = \left[\frac{(\text{calculated data} - \text{observed data})}{\text{observed data}}\right]\times 100
$$
In Test 5, the range of the width and quantity of pieces allowed us to arrange data in the frequency distribution. The nonparametric statistics with 0.05 significance were applied to normality tests (i.e., the Shapiro-Wilk test), calculated, and then the observed data were compared using the Chi-square test and the correlation test. Spearman's correlation was applied to errors in the number and volume of pieces to verify their dependency with the diameter of the log. To do this, the differences were converted in a module for the rank of posts to assess only the magnitude of the error as a function of the log diameter. The tendency was evaluated graphically.
In Test 6, a comparison test (i.e., the Kolmogorov-Smirnov test) was performed between the calculated and observed widths of each piece. The SE% was obtained between the observed and the calculated width.
## III. RESULTS AND DISCUSSION
### a) Test 1
From the taper Kozak equations of trees 1, 2, and 3, the $R^2$ values were 98.2, 98.6, and $99.3\%$, respectively. Figure 7 shows the agreement between values estimated by the taper equation and those measured on the log. The errors were less than $10\%$ for the diameter with bark (di_log) and less than $15\%$ for log volume (vr).
 Fig 1
 Fig. 7: a) Scattering between the observed diameter withbark (di_log) and the calculated diameter with bark (di_c) and its accuracy (Err di), and; b) scattering between the log volume (vr_log) and the calculated log volume (vr_c) and its accuracy (Err vr) For the milled pieces, Figure 8a shows the piece width $(wi\_ c)$ and the milled piece width $(wi\_ sw)$. The comparisons between thickness $(th\_ c)$ and thickness measured in the milled pieces $(th\_ sw)$ are represented in Figure 8b. The more significant divergence in the thickness of the samples was due to an uncontrolled factor in the saw operation caused by fluctuation of the log on the mill track during its course. More advanced machinery would increase the accuracy between the programmed and sawed thicknesses. This tendency was more significant in widths with underestimating of the milled piece volume (Figure 8a).

 Fig. 8: a) Scattering between the width of the piece (wi_c) and the average width of the milled piece (wi_sw); b) the piece thickness (th_sw) and the average milled piece thickness (th_c), and its accuracy (Err wi and Err th). Note: c (calculate), sw (sawed), wi (width), th (thickness), Err (Error) In Figure 9, the significant divergence in the volume of pieces occurred due to differences in thickness, mainly for Tree and Log 21, 23, and 25 (see
the footnote of Table 2, which shows the accuracy between the number of calculated and milled pieces).
 Fig. 9: Scattering between the calculated lumber volume (v_c), the observed lumber volume (v_sw), and accuracy (Err v)
Table 2: Number of pieces calculated (n_c) and milled (n_sw), and the difference between the quantity of calculated and milled pieces (n_er)
<table><tr><td>Id0</td><td>Piece</td><td>n_c</td><td>n_sw</td><td>n_er</td></tr><tr><td>11</td><td>Board</td><td>3</td><td>3</td><td>0</td></tr><tr><td>12</td><td>Board</td><td>2</td><td>2</td><td>0</td></tr><tr><td>12</td><td>Board</td><td>1</td><td>1</td><td>0</td></tr><tr><td>13</td><td>Board</td><td>2</td><td>2</td><td>0</td></tr><tr><td>13</td><td>Board</td><td>1</td><td>1</td><td>0</td></tr><tr><td>14</td><td>Board</td><td>2</td><td>2</td><td>0</td></tr><tr><td>14</td><td>Board</td><td>1</td><td>1</td><td>0</td></tr><tr><td>15</td><td>Board</td><td>2</td><td>2</td><td>0</td></tr><tr><td>15</td><td>Board</td><td>1</td><td>1</td><td>0</td></tr><tr><td>211</td><td>Board</td><td>3</td><td>-</td><td></td></tr><tr><td>22</td><td>Board</td><td>2</td><td>2</td><td>0</td></tr><tr><td>22</td><td>Board</td><td>1</td><td>1</td><td>0</td></tr><tr><td>23</td><td>Board</td><td>2</td><td>2</td><td>0</td></tr></table>
<table><tr><td>Id0</td><td>Piece</td><td>n_c</td><td>n_sw</td><td>n_er</td></tr><tr><td>232</td><td>Board</td><td>1</td><td></td><td>-1</td></tr><tr><td>24</td><td>Beam</td><td>1</td><td>1</td><td>0</td></tr><tr><td>253</td><td>Beam</td><td>1</td><td></td><td>-1</td></tr><tr><td>31</td><td>Board</td><td>2</td><td>2</td><td>0</td></tr><tr><td>31</td><td>Board</td><td>1</td><td>1</td><td>0</td></tr><tr><td>32</td><td>Board</td><td>2</td><td>2</td><td>0</td></tr><tr><td>32</td><td>Board</td><td>1</td><td>1</td><td>0</td></tr><tr><td>334</td><td>Beam</td><td>1</td><td>2</td><td>1</td></tr><tr><td>34</td><td>Beam</td><td>1</td><td>1</td><td>0</td></tr><tr><td>35</td><td>Rafter</td><td>1</td><td>1</td><td>0</td></tr><tr><td>36</td><td>Rafter</td><td>1</td><td>1</td><td>0</td></tr><tr><td>Total</td><td></td><td>33</td><td>32</td><td>-1</td></tr></table>
<table><tr><td>Id0</td><td>Piece</td><td>n_c</td><td>n_sw</td><td>n_er</td></tr><tr><td>232</td><td>Board</td><td>1</td><td></td><td>-1</td></tr><tr><td>24</td><td>Beam</td><td>1</td><td>1</td><td>0</td></tr><tr><td>253</td><td>Beam</td><td>1</td><td></td><td>-1</td></tr><tr><td>31</td><td>Board</td><td>2</td><td>2</td><td>0</td></tr><tr><td>31</td><td>Board</td><td>1</td><td>1</td><td>0</td></tr><tr><td>32</td><td>Board</td><td>2</td><td>2</td><td>0</td></tr><tr><td>32</td><td>Board</td><td>1</td><td>1</td><td>0</td></tr><tr><td>334</td><td>Beam</td><td>1</td><td>2</td><td>1</td></tr><tr><td>34</td><td>Beam</td><td>1</td><td>1</td><td>0</td></tr><tr><td>35</td><td>Rafter</td><td>1</td><td>1</td><td>0</td></tr><tr><td>36</td><td>Rafter</td><td>1</td><td>1</td><td>0</td></tr><tr><td>Total</td><td></td><td>33</td><td>32</td><td>-1</td></tr></table>
- Tree and Log.
- It was impossible to mill because the length was less than the minimum limit for the mill (2 meters).
- 2 It was impossible to mill the last piece: one calculated board.
- 3 It was impossible to mill because of the log tortuosity.
- 4 The calculation indicated a beam, but two boards were milled.
### b) Test 2
The taper Kozak equation from nine trees in Test 2 yielded an $R^2 = 99\%$. There were fourteen results with biased results above $10\%$ in 19 data (Figure 10a). The accuracy for the diameter with bark ( $d_i$ ), although with few results above $10\%$, showed more significant inaccuracy than Test 1. The consistency was affected by the tendency (Figures 10a and b), and the expected overestimate of the milled piece number and volume.

 Fig. 10: a) Scattering between the diameter with bark (/di_log) and the calculated diameter with bark (di_c) and its accuracy (Err di), and,; b) scattering between the log volume (vr_log) and the calculated log volume (vr_c) and its accuracy (Err vr). Note: di (diameter), vr (volume of the log)
Table 3 shows the results of the sawmill and those calculated by the software. At the sawed pieces, it was not possible to obtain boards, which are the third priority (Table 1). Milling into broad pieces to get large clapboards (priority pieces with a smaller width than the board) renders it impossible to see board widths from leftovers. The calculated results showed this condition.
The CalcMadeira software calculated one hundred and four large clapboards and fifteen clapboards, with a volume of $0.5208 \, \text{m}^3$ and a yield of $31\%$. The data observed in the sawing procedure were one hundred and six big clapboards and thirty-two clapboards, with a volume of $0.5723 \mathrm{~m}^{3}$ and a yield of $37\%$. An empirical method that comes close to the block was used, and the operator skill increased the yield sawing clapboards (i.e., smaller pieces) in the slabs.
The CutLog optimization module Cut Pattern Optimizing Function, which considers a priority region (middle boards) and a secondary one (sideboards), calculated the quantity of pieces close to the result of milled pieces, diverging in eight clapboards and four large clapboard pieces. This algorithm, in the secondary area of the log, advances to the slab area to obtain smaller pieces.
Table 3: Quantity of lumber, volume, and yield of logs obtained from the sawmill and calculated by the respective programs
<table><tr><td></td><td>Large
clapboard</td><td>Clapboard</td><td>Board</td><td>Total</td><td>Volume (m3)</td><td>Yield (%)</td></tr><tr><td>Sawmill*</td><td>106</td><td>32</td><td>-</td><td>138</td><td>0.572</td><td>37</td></tr><tr><td>CalcMadeira</td><td>104</td><td>15</td><td>-</td><td>119</td><td>0.521</td><td>31</td></tr><tr><td>CutLog</td><td>110</td><td>40</td><td>-</td><td>150</td><td>0.591</td><td>38</td></tr></table>
### c) Test 3
The number of pieces, which is shown by log, are provided in Table 4. The most significant difference occurred in Log 2, where six fewer amounts were calculated than the number of pieces milled. In total, ninety-one clapboards were calculated with a volume of $0.2257 \, \text{m}^3$ and a yield of $30.1\%$. The results obtained in the milled wood were ninety-three clapboards, with an output of $30.4\%$.
Table 4: Number of calculated pieces (n_c) and milled pieces (n_sw), and error (n_er) by log
<table><tr><td>Log</td><td>n_c</td><td>n_sw</td><td>n_er</td></tr><tr><td>1</td><td>20</td><td>17</td><td>3</td></tr><tr><td>2</td><td>13</td><td>19</td><td>-6</td></tr><tr><td>3</td><td>10</td><td>7</td><td>3</td></tr><tr><td>4</td><td>10</td><td>12</td><td>-2</td></tr><tr><td>5</td><td>9</td><td>9</td><td>0</td></tr><tr><td></td><td></td><td></td><td>Total</td></tr></table>
### d) Test 4
The nineteen sampled logs had a total volume of $4.837 \, \text{m}^3$, and the milled volume was $2.5137 \, \text{m}^3$ in sawed lumber. There is a significant variation in shape, with logs close to the cylindrical shape, except for one log with $2.65 \, \text{cm/m}$. The taper was $0.80 \, \text{cm/m}$, and the final yield was $58\%$.
The total calculated volume was $2.7971\mathrm{m}^3$, with a bias of $11.3\%$, and approximately $53\%$ of the results per log had an error above $20\%$. Figure 11 shows the bias results with the overestimating of the volume milled per log.
 Fig. 11: Scattering between the milled volume (v_sw) and the calculated volume (v_c) of pieces per log and its accuracy (Err v)
### e) Test 5
The fifty-one sampled logs had a total volume of $10.943\mathrm{m}^3$ and a milled volume of $6.149\mathrm{m}^3$ in sawed lumber. There is a significant variation in shape, with logs close to the cylindrical shape and others with more than $2\mathrm{cm / m}$. The same is valid for yields, ranging from 24 to $72\%$. The average taper was $0.95\mathrm{cm / m}$, and the final yield was $56\%$. Figure 12 shows a set of logs sent to the saw. The $42\mathrm{cm}$ diameter log (more extensive) had an irregular base, and the $27\mathrm{cm}$ log had protuberances of branches, showing the heterogeneity of the sampled material. High yields, near $70\%$, may be related to the operator skill when rotating the log and the specification, which allows small pieces, such as boards from $50~\mathrm{mm}$ in width.

 Fig. 12: Logs in line for milling
## i. Calculated and milled pieces
Figure 13 shows the distribution of the number of (a) boards and (b) large boards milled and calculated by width classes in $25\mathrm{mm}$ increments, according to the average angle of the slab and the proportion of the radius. The frequency of distribution in the number of pieces calculated and the number of pieces milled did not significant by the Shapiro-Wilk test (Table 5). The frequency of the calculated boards is high in the first class of widths and approaches the expected frequency with an increase in the slab angle.
The Chi-square test for comparing the observed and expected distributions of milled pieces, as shown in Table 5, shows inequality (nonadherence) between the distributions of milled and calculated boards and large boards. Although there is inequality between the distributions assessed from a critical level of probability, an inference is possible by analyzing the magnitude of the Chi-square values. Regardless of the radius proportion, the distribution of the calculated boards at $30^{\circ}$ for the slab was closer to that of the milled boards.
Large boards in the central part (i.e., the rectangle with two slabs) show a worse approximation between the milled and calculated distributions (Figure 13b and Table 7).
A slightly better approximation was achieved for combining the parameters (i.e., the slab angle and radius ratio) between the frequency distributions for the board with as lab angle of $30^{\circ}$ and a radius ratio between 0.55 and 0.60. To large board, a suboptimal approximation occurred for the frequency distribution with angle of $20^{\circ}$ and a radius ratio of 0.55.
Table 5: The Shapiro-Wilks normality test (S-W) and Chi-square test (C-S) for comparison between milled and calculated pieces distributions by $25\mathrm{mm}$ width class increments, combining the angle of the slab with the radius proportion.
<table><tr><td rowspan="2">Test</td><td rowspan="2">Ang.</td><td colspan="3">Board</td><td colspan="2">Milled</td><td colspan="2">Large board</td><td>Milled</td></tr><tr><td>0.55</td><td>0.60</td><td>0.65</td><td>0.55</td><td>0.60</td><td>0.65</td><td></td><td></td></tr><tr><td>S-W</td><td>10</td><td>0.130</td><td>0.160</td><td>0.226</td><td>0.031</td><td>0.056</td><td>0.162</td><td></td><td></td></tr><tr><td>C-S</td><td>10</td><td>518.1</td><td>452.5</td><td>625.4</td><td>217.0</td><td>292.0</td><td>378.8</td><td></td><td></td></tr><tr><td>S-W</td><td>20</td><td>0.121</td><td>0.129</td><td>0.186</td><td>0.019</td><td>0.043</td><td>0.131</td><td></td><td></td></tr><tr><td>C-S</td><td>20</td><td>157.8</td><td>150.5</td><td>282.8</td><td>90.9</td><td>291.3</td><td>438.9</td><td></td><td></td></tr><tr><td>S-W</td><td>30</td><td>0.044</td><td>0.052</td><td>0.077</td><td>0.054</td><td>0.061</td><td>0.104</td><td></td><td></td></tr><tr><td>C-S</td><td>30</td><td>110.4</td><td>90.7</td><td>114.1</td><td>186.9</td><td>310.3</td><td>434.5</td><td></td><td></td></tr><tr><td>S-W</td><td></td><td></td><td></td><td></td><td>0.098</td><td></td><td></td><td></td><td>0.036</td></tr></table>





 a b Fig. 13: Frequency of a) boards and b) large boards milled and calculated by width class with $25\mathrm{mm}$ increments, and an average angle of the slab of $10^{\circ}$, $20^{\circ}$ and $30^{\circ}$
In evaluating errors between the calculated and milled pieces according to the diameter of the log and the occurrence of trends (Table 6), there were two positive correlations for the number of pieces and five negative correlations for the volume of pieces with a significance level of 0.05.
Based on the significance and the signal and magnitude of the correlations, these results did not indicate that the error in the number of pieces will increase with the diameter of the log. However, they did suggest a tendency to reduce the error in the volume of pieces in logs with larger diameters.
Table 6: Spearman's correlation between the number error (n err) and err v (%) with log diameter by slab angle and radius ratio
<table><tr><td rowspan="2">Ang.</td><td rowspan="2">0.55</td><td rowspan="2">n err 0.60</td><td rowspan="2">0.65</td><td rowspan="2">0.55</td><td colspan="2">err v (%)</td></tr><tr><td>0.60</td><td>0.65</td></tr><tr><td>10</td><td>0.211</td><td>0.355 *</td><td>0.041</td><td>-0.292 *</td><td>-0.280 *</td><td>-0.216</td></tr><tr><td>20</td><td>0.053</td><td>0.257</td><td>0.331 *</td><td>-0.233</td><td>-0.210</td><td>-0.249</td></tr><tr><td>30</td><td>0.020</td><td>0.087</td><td>0.242</td><td>-0.362 *</td><td>-0.389 *</td><td>-0.434 *</td></tr></table>
Figure 14 shows the scattering between the observed and estimated piece volumes per log for slab angles of 10, 20 and $30^{\circ}$, and varying radius ratios of
0.55, 0.60 and 0.65. The lowest deviations occurred for the $30^{\circ}$ angle, regardless the radius proportions.
 a

 b C Fig. 14: Scattering between the volume of calculated and milled pieces per log for slab angles of a) $10^{\circ}$, b) $20^{\circ}$, and c) $30^{\circ}$
Table 7 shows the totals calculated and the accuracy about the total number of milled pieces. The accuracy varied from -1.4 to $27.1\%$ for the number of pieces and from -7.6 to $-0.7\%$ for the volume of pieces. Overestimates are noted for the number of pieces and underestimates for the volume of pieces, showing an optimal combination between the angle defined for the slab and the limit to the longitudinal cut by the proportion of the radius. The errors in the number and volume of pieces are inversely proportional.
For the total number of pieces, the best combination in terms of accuracy was the $20^{\circ}$ slab angle and 0.55 radius ratio. For total volume, the best accuracy was obtained using the $20^{\circ}$ angle and 0.65 radius ratio; It was achieved an accuracy of $0.7\%$. It was obtained the best combination of total values using the $30^{\circ}$ angle for the slab with a radius ratio of 0.60; accuracies of 2.2 and $-5.4\%$, respectively, were obtained. The estimated yield was $53\%$ yield, and the actual yield obtained at the sawmill was $56\%$.
Table 7: Number (n), volume (v) and yield of pieces calculated by the proportion of the radius and angle of the slab and their accuracies compared to the actual milled piece values
<table><tr><td></td><td colspan="3">n</td><td colspan="3">v</td><td colspan="3">Yield</td></tr><tr><td></td><td>0.55</td><td>0.60</td><td>0.65</td><td>0.55</td><td>0.60</td><td>0.65</td><td>0.55</td><td>0.60</td><td>0.65</td></tr><tr><td>10</td><td>445</td><td>487</td><td>526</td><td>5.71</td><td>5.94</td><td>6.04</td><td>0.52</td><td>0.54</td><td>0.55</td></tr><tr><td>20</td><td>410</td><td>461</td><td>515</td><td>5.68</td><td>5.97</td><td>6.19</td><td>0.52</td><td>0.55</td><td>0.57</td></tr><tr><td>30</td><td>408</td><td>423</td><td>461</td><td>5.76</td><td>5.82</td><td>5.97</td><td>0.53</td><td>0.53</td><td>0.55</td></tr><tr><td>Milled</td><td></td><td>414</td><td></td><td>Error%</td><td>6.15</td><td></td><td></td><td>0.56</td><td></td></tr><tr><td>10</td><td>7.5</td><td>17.6</td><td>27.1</td><td>-7.1</td><td>-3.4</td><td>-1.7</td><td></td><td></td><td></td></tr><tr><td>20</td><td>-1.0</td><td>11.4</td><td>24.4</td><td>-7.6</td><td>-2.9</td><td>0.7</td><td></td><td></td><td></td></tr><tr><td>30</td><td>-1.4</td><td>2.2</td><td>11.4</td><td>-6.3</td><td>-5.4</td><td>-2.8</td><td></td><td></td><td></td></tr><tr><td>Total Vr</td><td></td><td></td><td></td><td></td><td>10.94</td><td></td><td></td><td></td><td></td></tr></table>
Note: Large boards and boards were added because one large board is calculated per log; that is, the constant value of the fifty-one large boards. In the milled material, forty-nine large boards were obtained; that is, it was not possible to extract two boards.
### f) Test 6
Figure 15 shows designed pieces in a small section of the logs with a source on marrow.
 1
 2
 3
 4
 5
 6 Fig. 15: Designed sections of Logs 1-6 with pieces of thickness $32 \, \text{mm}$ ( $27 + 5 \, \text{mm}$ ) and width $>= 50 \, \text{mm}$ and marrow bias of $2 \, \text{cm}$ ( $\log 1$ ); $4 \, \text{cm}$ ( $\log 2$ ); $4.5 \, \text{cm}$ ( $\log 3$ ); $5.3 \, \text{cm}$ ( $\log 4$ ); $6 \, \text{cm}$ ( $\log 5$ ) and $6.5 \, \text{cm}$ ( $\log 6$ )
Figure 16 shows that a perceptual error of width between -30 and 30 represents $65\%$ of the pieces. The software did not calculate 12 pieces $(-100\%)$ when it was possible to draw the piece. because the radial model calculates the pieces from the circumference center. However, the logs used in this work have marrow bias (Figure 15).
 Fig. 16: Perceptual error frequencies in classes of $10\%$
As the bias of marrow increases, the positive and negative errors will be more significant due to the quadrant differences among sources in marrow and sources in the circumference center. Figure 17 shows the error frequencies of the largest to smallest width per quadrant in each log. In the Log 1 it is possible to view the effect of the difference among center and marrow position. The drawn piece width was larger than the calculated pieces in quadrants 1 and 2, inverting the error in quadrants 3 and 4. The section of this log has the smallest marrow bias, which was $2\mathrm{cm}$ (Figure 15).
 1
 2
 3
 4
 5
 6 Fig. 17: Errors% in decreasing order of piece width per quadrant per log (for Logs 1-6)
The difference between the yield coefficients (i.e., sawed volume/log volume) of the observed and calculated piece volumes was not significant than $11\%$ (Figure 18). The bias of the marrow did not cause significant differences between the calculated and observed yields.
 Fig. 18: Yield coefficient (i.e., sawed volume/log volume) of the observed and calculated piece volumes
It was applied the Kolmogorov-Smirnov test to compare two samples, the calculated and observed widths. The data were grouped into observed and calculated width classes by $10\mathrm{mm}$ increments, and the cumulative frequencies of the calculated and observed widths were calculated. The total calculated pieces were 147, and the observed pieces were 158.
The larger value of K-S was 0.0806, which was smaller than the table value for the size of 30 samples and a significance level of $5\%$, considering statistically equal samples (drawing in log and calculated by the software) (Figure 19).
 Fig. 19: Cumulative observed and calculated frequencies
It is usual to estimate the shape of trees using equations that include data from many trees. As a result, these equations can be applied to other trees with similar shape characteristics. However, the data per tree should be used to obtain the best shape estimate for a specific tree, even with little data. Test 1 shows the best accuracy for log dimensions when the log equation is used. The loss of accuracy for the log dimension in Test 2 was due to using an equation that was not specific to the tree.
Another insight is that other applications, such as CutLog, can have good results for the empiric procedure in the sawmill (Murara et al. 2013; Anjos and Fontes, 2017), but it works on logs individually. However, the new software used for this work processes many logs or trees at once. When the cut pattern was the same as the cut model applied, good overall results were achieved, as seen from Tests 1, 3, and 4.
The model that rotates $180^{\circ} / 90^{\circ}$ the log obtained reasonable accuracy in the production of milled pieces by log, although the sawing operation performed at the sawmill is empirical, as seen in Tests 2 and 5. This operation does not precisely follow a cut pattern with pre-established parameters. It was observed that this model required a small simulation between the angle of the slab and the radius ratio to achieve closer operation parameters.
The parameters change the values according to the log size. Thus, the better approximation of the average of these values assigned in the software with the average of the radius proportions and the angles of the slab conducted by the operator, the greater the accuracy between the quantity and volume of pieces.
The calculation with trigonometric operations is accurate for obtaining pieces in a circle. The errors are related to the variations in the angles of the slab, the radius ratio that limits the cut to rotate the log and restart the cut, defects of the wood in the process (i.e., cracks or hollow wood), incorrectly defining the parameter of consumption of wood by the saws, and the difference between the theoretical cut model and that executed at the sawmill. In the case of the radial model, more significant errors are related to the bias of the marrow.
These results indicate that the application of this software can be an alternative to relationships between forest management and legal commerce of lumber products, as well as being a management tool to obtain sawmill revenue forecasts.
## IV. CONCLUSION
The circumscribed square model is accurate in the control test with a taper model per tree. Still, when applied to compare with empiric procedures of sawmills, it results in an underestimate of the lumber, mainly in small pieces.
The longitudinal model had a reasonable accuracy in cut patterns with slight discrepancies.
The model of turning the log 180 and 90 degrees, combining two cut patterns, i.e., the longitudinal and circumscribed square, obtained good accuracy for some of the combinations between the angle of the slab and radius ratio when estimating the empirical milling procedure. To get the best results, observation during the milling operation is required to monitor both parameters in a heterogeneous sample of logs.
Better results of the radial model are obtained in trees with a negligible bias of the marrow relationship at the center of the circumference.
### ACKNOWLEDGMENTS
This research was funded by the EMBRAPA project Sis Cerrado - Timber productivity in SIs and in reference systems of long-term physical models; SIG Solutções Ltda. Partnership; and Project N° 20.18.03.015.00.00 ILPF strategy for agricultural innovation in the Cerrado Mineiro region and bordering areas - Sis Gerais. We would like to acknowledge to saw mills S&D Madeiras and Turmalina Ltda Company for support with validation tests.
Generating HTML Viewer...
References
35 Cites in Article
Ram Anjos,Apn Fonte (2017). Yield of sawn wood from Eucalyptus species.
(2002). Associação Brasileira de Normas Técnicas (ABNT).
F Baesler,E Araya,F Ramis,J Sepulveda (2004). The Use of Simulation and Design of Experiments for Productivity Improvement in the Sawmill Industry.
Maria Farias Pigaiani,Marciane Silva Oliveira,Letícia Rodrigues Vidon,Alessandro Marques De Oliveira,Cosme Damião Cruz (2012). Artificial Neural Networks in the Perception of Genetic Differentiation Caused by Migration.
A Bonato,M Rocha,Cgf Juizo,R Klitzke (2017). Effect of sawing system and diameter classes on Araucaria angustifolia sawn wood yield.
Brazil (2016). Conclusiones del Seminario Aspectos Económicos de los Litigios en Materia de Propiedad Industrial. Madrid, del 13 al 15 de abril de 2016.
José Chichorro,José Resende,Helio Leite (2003). Equações de volume e de taper para quantificar multiprodutos da madeira em Floresta Atlântica.
Thomaz Costa,Monica Campanha,Luiz França,Miguel Gontijo Neto (2019). CalcMadeira – cálculo de peças de madeira roliça e serrada / CalcMadeira – calculation of round and square pieces of wood.
Tcc Costa,M Campanha,W Albernaz,E Pinto,R Castro,L França (2019). CalcMadeira -Validation of sawn timber calculation by the Circumscript square (Block) and Longitudinal Methods. In C5g: Quantifying and forecasting market specific forest products in the forestry wood chain.
Tcc Costa,M Campanha,Gontijo Neto,M (2016). Quantification of round eucalyptus wood compared to valuation in cubic meter and firewood: income options in integrated crop-livestock-forest (iLPF) systems, Embrapa, SeteLagoas.
Marcelo Espindula,Alexandre Passos,Larissa Araújo,Alaerto Marcolan,Fábio Partelli,André Ramalho (2020). Indirect estimation of leaf area in genotypes of 'Conilon' coffee (Coffea canephora Pierre ex A. Froehner).
A Cunha,M França,Ccf Almeida,L Gorski,R Cruz,D Santos (2015). Yield evaluation of Eucalyptus benthamii and Eucalyptus grandis sawn wood using tangential and radial sawing.
U Halabe,B Gopalakrishnan,J Jadeja (2011). Advanced lumber manufacturing model for increasing yield in sawmills using GPR-based defect detection system.
Márcia Cançado Figueiredo,Fernanda Wisniewski,Taiane Correa Furtado,Jéssica Vaz Silva,Eduarda Pereira Silvestre,Ximena Concha Melgar (2010). Oral health and socioeconomic indicators of adolescents living in a region of extreme poverty.
Claudio Juizo,Márcio Rocha,Narciso Bila (2014). Avaliação do rendimento em madeira serrada de eucalipto para dois modelos de desdobro numa serraria portátil.
A Kozak,D Munro,Jgh Smith (1969). Taper Functions and their Application in Forest Inventory.
Eliane Vieira,Nerilson Terra Santos,Izabel D'almeida Duarte De Azevedo,José Bezerra Neto,Maria Rodriguez Simão,Ricardo Pinto Coelho (1994). Variabilidad espacial de la concentración de nitratos en el embalse de nova ponte, Minas Gerais, Brasil, por medio de la geoestadística y los sistemas de información geográfica.
Librecad (2020). Unknown Title.
W Lin,D Kline,P Araman,J Wiedenbeck (1995). A computer-simulation-oriented design procedure for a robust and feasible job shop manufacturing system.
Alberto Manhiça,Márcio Rocha,Romano Timofeiczyk Junior (2013). Eficiência operacional no desdobro de Pinus utilizando modelos de corte numa serraria de pequeno porte.
Sergio Maturana,Enzo Pizani,Jorge Vera (2010). Scheduling production for a sawmill: A comparison of a mathematical model versus a heuristic.
Murara Junior,M Rocha,M Trugilho,P (2013). Yield estimation of pine sawn wood for two sawing methodologies.
E Oliveira,M Haliski,N Nakajima,M Chang (2011). Determining the amount of wood, carbon and financial gain from the forest plantation.
Willian Giordani,Leandro Gonçalves,Larissa Moraes,Leonardo Ferreira,Norman Neumaier,José Farias,Alexandre Nepomuceno,Maria Oliveira,Liliane Marcia Mertz- Henning (2011). Identification of agronomical and morphological traits contributing to drought stress tolerance in soybean.
(2020). Catalogue:.
M Rocha,I Tomaselli (2002). Effect of the sawing model on the quality of Eucalyptus grandis and Eucalyptus dunnii lumber.
F Schumacher,F Hall (1933). FX-XTRA and FS.
Edson Serpe,Afonso Filho,Julio Arce (2018). RENDIMENTO DO DESDOBRO DE MADEIRA EM SERRARIA CONVENCIONAL E DIFERENTES SIMULAÇÕES UTILIZANDO OTIMIZADOR COMPUTACIONAL.
Thelma Soares,Antonio Vale,Helio Leite,Carlos Machado (2003). Otimização de multiprodutos em povoamentos florestais.
P Steele (1984). Unknown Title.
Tekl Studio (2018). CultLog software. Detva.
Christine Cheng (2020). Timber.
Anatoly Voronin,Vladimir Kuznetsov,Ivan Arkhipov,Anton Shabaev (2012). Software system for sawmill operation planning.
Francisco Vergara,Cristian Palma,Héctor Sepúlveda (2015). A comparison of optimization models for lumber production planning.
Gvp Nunes (2013). Algorithms for generating parallel and radial cutting patterns in the wood log process.
Explore published articles in an immersive Augmented Reality environment. Our platform converts research papers into interactive 3D books, allowing readers to view and interact with content using AR and VR compatible devices.
Your published article is automatically converted into a realistic 3D book. Flip through pages and read research papers in a more engaging and interactive format.
Our website is actively being updated, and changes may occur frequently. Please clear your browser cache if needed. For feedback or error reporting, please email [email protected]
Thank you for connecting with us. We will respond to you shortly.