UltraBrix: A Device for Measuring the Soluble Solids Content in Sugarcane

: Human interference in production systems becomes feasible through the use of speciﬁc devices that, among other functions, allow the monitoring, control and optimization of processes. One of the drawbacks encountered in the sugar and ethanol industry is the lack of instruments for the measurement of the ◦ Brix concentration in sugarcane that are low-cost and non-destructive. The measurement and monitoring of the ◦ Brix concentration in the cane are necessary to identify the appropriate time for harvesting in order to reach the peak sucrose content in the cane, obtaining maximum yield from a given crop. Based on several measurement devices available in the current market that involve non-destructive technologies for the monitoring of physical-chemical properties of food, this paper proposes a new low-cost meter to measure ◦ Brix in sugarcane. The device uses the continuous wave technique consisting of two piezoelectric transducers (signal transmitter and receiver), a pulse generator, an instrumentation ampliﬁer with a bandpass ﬁlter and an amplitude meter. The developed measuring instrument is feasible and represents a promising alternative for the sugar and alcohol industry.


Introduction
It is estimated that about 1 billion metric tons of sugarcane are grown in an area of 26.7 million hectares in 105 countries. Brazil is the largest producer in the world, supplying about 40% of all sugarcane, followed by India (18%) and China (6%) [1]. Sugarcane is an important source of food and bioenergy and a high-value product for the economy and trade balance in many tropical and subtropical countries [2].
The • Brix scale, proposed in 1798 by Adolf Ferdinand Wenceslaus Brix, relates the amount of solid compounds (sugar) in a solution of sucrose with the refractive index of light incident on this same solution [3].
The quality of sugarcane for subsequent production of sugar and alcohol is an important factor in the performance of sugar and ethanol industries. Sugarcane pricing systems in various parts of the world are based on the quality and weight of sugarcane [4]. In the process of the must (juice nectar) fermentation in the sugar and ethanol industry, the high sugar concentration is directly associated with the efficiency of the ethanol generation process [5]. A higher concentration of • Brix in the must leads to an increase in the yield of ethanol production, besides a reduction in the cost of production [6,7]. One unity of 60 • Brix corresponds to 1 g of sugar per 100 g of sucrose solution at 20 • C [3]. The measurement delay intrinsic to destructive methods does not allow the application of these as a support for decision making in real time.
Non-destructive methods for predicting • Brix, specific for sugarcane, have been described by Nawi and Sorol [8,19]. They proposed the prediction of sugar content through the use of NIR in bark and cane juice samples. Using the microwave method, Jackson and Jayanthy [22] determined the sucrose content of the cane juice and Naderi-Boldaji [21] used dielectric spectroscopy in stem samples for • Brix measurement.
One of the challenges for the sugar industry is the lack of low-cost • Brix and TSS meters for field or laboratory use [21]. Currently, the measurement of sugarcane • Brix in most mills is done through the use of a manual refractometer, portable spectrometer and analysis of the sugar content in the laboratory [23]. On the other hand, technologies for measuring sugarcane • Brix in the laboratory have serious limitations for field use because the equipment requires clarified juice samples [8].
Regarding the harvest, the main constraints on the use of current sugarcane measurement and monitoring technologies include the sampling of sugarcane on farms, transportation of the sample to the laboratory, chemical analysis and the delay in obtaining the results (which leads to delay for possible decision making) [24]. The delay in time between harvesting and • Brix measurement in the sugarcane causes material deterioration and sugar loss [25]. Currently available measurement technologies, based on field sampling and subsequent laboratory analysis, present difficulties that do not allow real-time monitoring and decision making in the sugarcane industry.
However, the monitoring of • Brix content in real time, according to a given measurement period, is a necessary condition for the identification of the appropriate time of harvest which should coincide with obtaining the maximum value of this quality parameter. The importance of monitoring this property for production efficiency in the sugarcane industry together with the difficulties or high cost of the measuring devices available on the market requires the development of new methods or equipment for the automated monitoring of cane quality bringing benefits to the sugar and ethanol industry [8].
This paper presents a prototype of a low-cost non-destructive • Brix meter (UltraBrix) capable of measuring sugarcane sucrose in real time. The proposed method is based on the indirect measurement of the sugar degree through the attenuation of an electrical signal (and not an ultrasound). The device provides simplicity of configuration and layout, with proven efficiency for estimating • Brix in real time and directly in the field. Section 1 presents some fundamentals and a brief review of the methods available for measuring • Brix. Section 2 presents the method involved in the design and development of the new device, and Section 3 shows the results of its application using as reference the results obtained by other traditional measurement methods.

Materials and Methods
Ultrasound is one of the emerging technologies developed to measure quality and ensure safety in fruit and vegetable consumption [26]. The use of ultrasound to determine fruit and vegetable quality parameters was suggested by Mizrach [15]. The method consists of the estimation of variables related to fruit quality through the changes in speed and amplitude verified in an ultrasound sound wave (frequency above 20 kHz) emitted on the bark and body of the fruit. Several models of non-destructive devices are based on this technique and are used successfully in determining the quality of fruits and vegetables such as mango, avocado, apple, orange, melon, plum, potato and tomato [13,14,27].
The ultrasound devices generally comprise four basic components: a wave generator, a transmitting transducer and a receiver, a microprocessor (or computer) equipped with a signal processor and a monitor [13]. The interaction between sound waves and the sample changes the speed of sound, and there is also a signal attenuation (decrease in the electrical voltage measured by the amplitude of the signal) of the waves due to the absorption and scattering phenomena. In addition to the sound speed and signal attenuation, another parameter that is also correlated to the physical-chemical properties of the analyzed material is the acoustic impedance.
The attenuation of the signal is given by Beer's law (Equation (1)) and is caused by the loss of energy in the compression and decompression of the ultrasonic waves due to the wave scattering and absorption effects [28].
where α is the attenuation of the signal (mm −1 ), A is the final amplitude of the wave (volts), Ao is the initial amplitude (volts), and L is the distance traveled by the sound (mm). The speed of sound propagation in the sample is obtained by the ratio between the distance (L) traveled and the respective time (∆t) to cross the cane. There is a correlation between the attenuation of the ultrasound signal and the mechanical and physiological properties of the evaluated fruits and vegetables [15]. The length L is measured by an electronic dendrometer developed by the authors that is based on the pulse-echo principle [29]. The pulse generator sends a continuous signal with a specific frequency and wavelength ( Figure 1). In this device, the piezoelectric transducer (transmitter) receives the electric pulse from the function generator producing a sound wave. This sound wave passes through the sample, and the second transducer receives and transforms the sound signal into an electrical signal. The oscilloscope receives the signal from the function generator on channel 1 (CH1) and the signal from the receiver transducer on channel 2 (CH2) showing the respective electrical signals in the monitor together with the time elapsed (∆t) by the sound to cross the sample and the amplitudes of the signals (Ao and A).  The data comprised 114 sugarcane stems of commercial variety RB92579 (the same variety as found in about 40% of the harvest in the entire Northeast region of Brazil in 2015). Initially, the specimens (each of a length of around 5 cm) removed from the cane stems were placed in the UltraBrix device for the measurement of electrical signal attenuation. The experiment was carried out at room temperature (20 °C), and after measuring the signal attenuation, the stems were squeezed by extracting the cane juice to measure the °Brix in the Kasvi model K52-032 portable refractometer with a measurement range of 0-32 °Brix, accuracy of 0.20% and temperature compensation range between 10 and 30 °C. The refractometer was calibrated before the experiment, confirming the °Brix's null value for distilled water.
The 114 stems were divided into two sets. The first set of samples (80 observations) was used for calibration and validation (model training). This technique was able to determine the existence of a significant relationship between the input variable (attenuation) and the °Brix response, calculating the correlation coefficient between the two variables and the standard deviation. The normality of the attenuation data shown by the Anderson-Darling test [14,30] with a probability of significance suggests the homogeneity of the data around the mean, making the use of the methods possible. The second set of data (34 observations) was used for testing (prediction) (these data were not used to estimate the model parameters). The value of °Brix was estimated from the attenuation using the model identified with the training sample (80 observations).
A statistical description of both samples (validation/calibration and test) is shown in Table 2.  The data comprised 114 sugarcane stems of commercial variety RB92579 (the same variety as found in about 40% of the harvest in the entire Northeast region of Brazil in 2015). Initially, the specimens (each of a length of around 5 cm) removed from the cane stems were placed in the UltraBrix device for the measurement of electrical signal attenuation. The experiment was carried out at room temperature (20 • C), and after measuring the signal attenuation, the stems were squeezed by extracting the cane juice to measure the • Brix in the Kasvi model K52-032 portable refractometer with a measurement range of 0-32 • Brix, accuracy of 0.20% and temperature compensation range between 10 and 30 • C. The refractometer was calibrated before the experiment, confirming the • Brix's null value for distilled water.
The 114 stems were divided into two sets. The first set of samples (80 observations) was used for calibration and validation (model training). This technique was able to determine the existence of a significant relationship between the input variable (attenuation) and the • Brix response, calculating the correlation coefficient between the two variables and the standard deviation. The normality of the attenuation data shown by the Anderson-Darling test [14,30] with a probability of significance suggests the homogeneity of the data around the mean, making the use of the methods possible. The second set of data (34 observations) was used for testing (prediction) (these data were not used to estimate the model parameters). The value of • Brix was estimated from the attenuation using the model identified with the training sample (80 observations).
A statistical description of both samples (validation/calibration and test) is shown in Table 2. by the AD9833 module in the circuit), a Tektronix DS0 × 2012A oscilloscope (replaced by ATMEGA328 microcontroller in the circuit) and an instrumentation amplifier with a bandpass filter. This proposed configuration differs from those in other works [14] because the sample is not immersed in water (necessary for field operation) and it does not have an instrumentation amplifier with a bandpass filter. In this section, each of these components will be described in detail.
The developed device (UltraBrix,  is based on the continuous wave technique. This prototype is composed of the following elements: two piezoelectric transducers (one transmitter and one receiver) constructed with two 22 mm diameter piezoelectric cells (Kyocera company, Kyoto, Japan; voltage 30 V p-p, operating temperature −20 °C + 60 °C, impedance ≤ 500 Ω), a Global Specialties 4005 signal generator (replaced by the AD9833 module in the circuit), a Tektronix DS0 × 2012A oscilloscope (replaced by ATMEGA328 microcontroller in the circuit) and an instrumentation amplifier with a bandpass filter. This proposed configuration differs from those in other works [14] because the sample is not immersed in water (necessary for field operation) and it does not have an instrumentation amplifier with a bandpass filter. In this section, each of these components will be described in detail.   Figure 5 shows in detail the transducer elements used in Figure 3. Figure 4 shows the transducer clamp which was printed on flexible ABS (acrylonitrile butadiene styrene) in order to carry the transducer and fix the equipment to the sugarcane through a rubber band.

Transducer
The transducer was developed in the laboratory consisting of a piezoelectric cell placed inside a flexible ABS cylinder that surrounds the cane; a central hole with a diameter of 2 mm serves to pass the wire connecting the piezoelectric cell ( Figure 4). The Langevin transducer is assembled with ring-shaped piezoelectric ceramics with a diameter less than 1/4 of the wavelength and two aluminum blocks fixed by a screw of high mechanical resistance. The transducer developed in this work has a production cost of about two dollars (USD) (per unit) and therefore is much cheaper than commercial transducers which cost about thirty dollars each. Figure 3 presents a picture of the measuring device installed on a cane stem and shows the following components: • Display that shows the voltage measurements on the emitting transducer (Tsd-E) and receiver (Tsd-R), the attenuation value and the °Brix; • Battery used to power the electronic circuit (UltraBrix operation); • Integrated circuit instrumentation amplifier (INA126) whose function is to increase the signal received at the receiving transducer;  Figure 5 shows in detail the transducer elements used in Figure 3. Figure 4 shows the transducer clamp which was printed on flexible ABS (acrylonitrile butadiene styrene) in order to carry the transducer and fix the equipment to the sugarcane through a rubber band.

Transducer
The transducer was developed in the laboratory consisting of a piezoelectric cell placed inside a flexible ABS cylinder that surrounds the cane; a central hole with a diameter of 2 mm serves to pass the wire connecting the piezoelectric cell ( Figure 4). The Langevin transducer is assembled with ring-shaped piezoelectric ceramics with a diameter less than 1/4 of the wavelength and two aluminum blocks fixed by a screw of high mechanical resistance. The transducer developed in this work has a production cost of about two dollars (USD) (per unit) and therefore is much cheaper than commercial transducers which cost about thirty dollars each. Figure 3 presents a picture of the measuring device installed on a cane stem and shows the following components: • Display that shows the voltage measurements on the emitting transducer (Tsd-E) and receiver (Tsd-R), the attenuation value and the • Brix; • Battery used to power the electronic circuit (UltraBrix operation); • Integrated circuit instrumentation amplifier (INA126) whose function is to increase the signal received at the receiving transducer; • 4.3 kHz sine wave signal generator (AD9833 module) for the emitting transducer; • Arduino One ATMEGA328 microcontroller board-configures AD9833 module for 4.3 kHz sine wave generation, receives the signal from receiver transducer, measures start and end amplitudes of the sine signal, calculates signal attenuation and estimates • Brix; • LM358 integrated circuit used to allow only the sine signal to pass near the 4.3 kHz frequency (bandpass filter) to the Arduino, thus removing noise and miscellaneous signals.
Two supports were developed in a 3D printer (acrylonitrile butadiene styrene-ABS flexible) to fix the UltraBrix to the sugarcane stem ( Figure 5). The brackets consist of a clamp (yellow) and a lid (green) to which the piezoelectric cell (pink) is attached. The results showed that these supports do not significantly affect the amplitude of the signal received by the piezoelectric. No specific product is used to increase the adherence of the device to the stem. A lid (cover) holds the piezoelectric cell inside the clamp, and the loss of energy (interference) is compensated by the amplifier.

Instrumentation Amplifier with Bandpass Filter
One of the contributions of this work is the inclusion of the instrumentation amplifier with a bandpass filter ( Figure 6) in the continuous-wave technique presented by Mizrach and Awad [13,31]. With this instrumentation amplifier, it is possible to use a much lower input voltage (range 15 to 18 V) than that proposed by Mizrach [13]. This bandpass filter eliminates noise since the low voltage is more susceptible to electromagnetic interference.

Instrumentation Amplifier with Bandpass Filter
One of the contributions of this work is the inclusion of the instrumentation amplifier with a bandpass filter ( Figure 6) in the continuous-wave technique presented by Mizrach and Awad [13,31]. With this instrumentation amplifier, it is possible to use a much lower input voltage (range 15 to 18 V) than that proposed by Mizrach [13]. This bandpass filter eliminates noise since the low voltage is more susceptible to electromagnetic interference. The instrumentation amplifier ( Figure 6) is an essential element, the purpose of which is to amplify a small amplitude signal acquisition system, and features a high input impedance, a gain control through a single RG resistor and high CMRR (common module rejection ratio). The input voltages of the emitter transducer and the receiver transducer are 18 V (V2) and 10 to 660 mV (V1), respectively. The instrumentation operational amplifier used was the electronic component INA126 which amplifies the input signal by about 85 times. The bandpass filter circuit consists of two filters arranged in series, namely a high pass filter and a low pass filter, allowing only the passage of signals to the oscilloscope with a frequency close to 4.3 kHz (between 0.7 kHz to 7.3 kHz), thus avoiding noise interference in the signal coming from the transducer.
The gain (G) of the amplifier reported by the manufacturer of the electronic component INA126 is given by: The RG resistor (1 kΩ) determines an amplifier gain of 85 times the piezoelectric re- The instrumentation amplifier ( Figure 6) is an essential element, the purpose of which is to amplify a small amplitude signal acquisition system, and features a high input impedance, a gain control through a single RG resistor and high CMRR (common module rejection ratio). The input voltages of the emitter transducer and the receiver transducer are 18 V (V2) and 10 to 660 mV (V1), respectively. The instrumentation operational amplifier used was the electronic component INA126 which amplifies the input signal by about 85 times. The bandpass filter circuit consists of two filters arranged in series, namely a high pass filter and a low pass filter, allowing only the passage of signals to the oscilloscope with a frequency close to 4.3 kHz (between 0.7 kHz to 7.3 kHz), thus avoiding noise interference in the signal coming from the transducer. The gain (G) of the amplifier reported by the manufacturer of the electronic component INA126 is given by: The R G resistor (1 kΩ) determines an amplifier gain of 85 times the piezoelectric receiver transducer signal. The bandpass filter is a circuit designed to transmit signals with desired frequencies and reject or attenuate other frequencies. Figure 7 shows the output frequency as a function of the gain (ω 1 and ω 2 are the cutoff frequencies, 0.7 kHz and 7.23 kHz, respectively). The transfer function (gain) of the bandpass filter relates the output signal to the input signal: The cutoff frequency of the high pass (ω1) and low pass filters (ω2) is obtained by the following expressions: The specifications of the components that constitute the bandpass filter are described in Table 3.  Figure 8 presents the polynomial fit model and Figure 9 shows the frequency distribution associated with the attenuation (Equation (1)) of the input electric signal for a sample with 80 stems. Considering the Anderson-Darling test, the normality of the data was verified by the probability of significance (p) equal to 0.519 (which is greater than the significance level of 95%). According to the mean ( ̅ = 2.41 mm ) and standard deviation ( = 0.33) of the sample, the coefficient of variation is ( • ̅ ) 13.69% (less than 25%) which suggests a homogeneous dispersion of the data around the mean. The transfer function (gain) of the bandpass filter relates the output signal to the input signal: The cutoff frequency of the high pass (ω 1 ) and low pass filters (ω 2 ) is obtained by the following expressions: The specifications of the components that constitute the bandpass filter are described in Table 3. Table 3. Electronic components.

Components Value
R G (Resistor) 1 kΩ R 3 R 4 R 5 e R 6 22 kΩ C 1 (Capacitor) 10 nF C 2 (Capacitor) 1 nF Figure 8 presents the polynomial fit model and Figure 9 shows the frequency distribution associated with the attenuation (Equation (1)) of the input electric signal for a sample with 80 stems. Considering the Anderson-Darling test, the normality of the data was verified by the probability of significance (p) equal to 0.519 (which is greater than the significance level of 95%). According to the mean (x = 2.41 mm −1 ) and standard deviation Sustainability 2021, 13, 1227 9 of 19 (S = 0.33) of the sample, the coefficient of variation is ( S ·100 x ) 13.69% (less than 25%) which suggests a homogeneous dispersion of the data around the mean.

Results
As discussed in Section 2, a sample with 80 stems was used to identify a correlation model between • Brix (y) and signal attenuation (α). The polynomial fit model (Figure 8) is given by: The coefficient of determination is shown in Figures 8 and 9 (R 2 = 0.76) for the training (validation/calibration) sample (80 observations). This coefficient is obtained by comparing the • Brix estimated by the model (Equation (6)) and the reference • Brix (measured by the refractometer Kasvi model K52-032). The root mean squared error (RMSE) obtained is about 0.33 (Figure 9), which is a measure of the accuracy of the • Brix estimates obtained by the model (Equation (6)) for the training sample (considering an average • Brix value of around 22.5, this represents an accuracy of around 1.5%).
The fit model (Equation (6)) was obtained by applying a resampling strategy (10-fold cross-validation approach) [32]. Ten-fold cross-validation involves randomly dividing the original sample (80 observations) into 10 groups of the same size. Ten models were estimated using each group as a validation set and the others for estimating parameters (model calibration/training). The model selected (Equation (6)) was the one with the lowest mean square error for the validation data. Moreover, the sample size (N = 80) is in accordance with the PEAR (Precision Efficacy Analysis for Regression) method [33] which proposes an equation for minimum sample size in linear regression problems based on the degree of explanation expected for the model and the number of predictors.
As shown in Figure 8, two sugarcane samples with the same • Brix may have different signal attenuation values. This is possible when the two canes have different stem diameters. In this case, the output signal on the stem with the largest diameter will have a decrease in amplitude (A, final amplitude, volts) since the sound signal from the transmitter will travel a longer distance until reaching the receiving transducer, which will result in loss of signal power due to absorption. Figure 8 also suggests that a useful (desired) calibration can be found at attenuations less than 2.1 which correspond to a • Brix greater than 22.8.
The effects of distance traveled and output signal amplitude on signal attenuation are predicted by Beer's law (Equation (1)). Figure 10a shows a direct application of Beer's law. Through this figure, it is possible to predict the effect of an increase in the diameter (2.2 cm < L < 4.2 cm) of the cane while maintaining the same • Brix. In this case, a reduction in the amplitude of the output signal is expected concomitantly with an increase in diameter and with the possibility of different attenuation values (α) (the figure shows a slight initial reduction in signal attenuation followed by a steeper increase). Figure 10a shows a specific (hypothetical) trajectory for the amplitude of the output signal (A) and Figure 10b fully presents the signal attenuation surface (according to Beer's law). Considering two canes with the same • Brix, Figure 10 shows the signal attenuation behavior as the diameter of the cane (2.2 cm < L < 4.2 cm) increases and the amplitude of the output signal (0 < A < 1) decreases. The figure shows a slight initial reduction in signal attenuation followed by a steeper increase. Therefore, the regression model (Equation (6) Regarding the coefficient of determination = 0.76 associated with the adjustment model (Equation (6)), this result can be assessed using a test of significance which is able to predict this result on the population from which the sample (80 observations) was extracted. Considering the training sample size = 80 and a sampling error equal to 5% (confidence level 95%), the sample correlation coefficient provides a population correlation coefficient equal to 0.85. This implies a strong correlation between the proposed model and the population (Scrober et al., 2018) which shows that the coefficient of determination obtained 0.76 has a satisfactory statistical significance.

Test Sample and Validation
The test (performed with the sample of 34 stems, Figure 11a,b) provided a coefficient of determination (R 2 ) equal to 0.83 and RMSE equal to 0.22, which is a measure of the accuracy of the °Brix estimates obtained by the model (Equation (6)) for the test sample. Considering an average °Brix value (refractometer) of around 22.4, this represents an accuracy of around 1.0%. Regarding the coefficient of determination R 2 = 0.76 associated with the adjustment model (Equation (6)), this result can be assessed using a test of significance which is able to predict this result on the population from which the sample (80 observations) was extracted. Considering the training sample size (n = 80) and a sampling error equal to 5% (confidence level 95%), the sample correlation coefficient (R) provides a population correlation coefficient equal to 0.85. This implies a strong correlation between the proposed model and the population (Scrober et al., 2018) which shows that the coefficient of determination obtained (0.76) has a satisfactory statistical significance.

Test Sample and Validation
The test (performed with the sample of 34 stems, Figure 11a,b) provided a coefficient of determination (R 2 ) equal to 0.83 and RMSE equal to 0.22, which is a measure of the accuracy of the • Brix estimates obtained by the model (Equation (6) Table 4 shows the coefficient of determination found in other methods of measuring °Brix in sugarcane. Tables A1 and A2 (Appendix A) show experimental data.  Table 4 shows the coefficient of determination found in other methods of measuring • Brix in sugarcane. Tables A1 and A2 (Appendix A) show experimental data.

Sound Propagation around the Specimen and Application in the Field
The variety of sugarcane represents a categorical variable in the determination of • Brix, and therefore other models and adjustments (as in Equation (6)) would have to be identified for another variety.
UltraBrix is capable of transmitting information (signal attenuation or even the • Brix) in real time remotely (through a Wi-Fi network). The distributed application of the UltraBrix sensor is able to map the spatial and temporal diversity of the sugar content in the field. Figure 12 shows the apparatus (already tested in the field) for receiving and transmitting sensor data via Wi-Fi to a central computer. The apparatus consists of a router, a Raspberry Pi 3 computer, a battery charge controller, a solar panel, a 12 V battery and a 12 V to 220 V car inverter.

Sound Propagation Around the Specimen and Application in the Field
The variety of sugarcane represents a categorical variable in the determination of °Brix, and therefore other models and adjustments (as in Equation (6)) would have to be identified for another variety.
UltraBrix is capable of transmitting information (signal attenuation or even the °Brix) in real time remotely (through a Wi-Fi network). The distributed application of the Ul-traBrix sensor is able to map the spatial and temporal diversity of the sugar content in the field. Figure 12 shows the apparatus (already tested in the field) for receiving and transmitting sensor data via Wi-Fi to a central computer. The apparatus consists of a router, a Raspberry Pi 3 computer, a battery charge controller, a solar panel, a 12 V battery and a 12 V to 220 V car inverter. Regarding the possibility of the sound wave moving around the specimen, a test was carried out using an oscilloscope (Figure 13a,b) to measure the propagation time of the sound wave in a specimen whose stem diameter is 3 cm. The wave propagation time was 8 × 10 s which gives a speed equal to 3750 m/s. Considering the speeds of the sound wave in the air (≈340 m/s) and in other materials (wood ≈ 3900 m/s; water ≈ 1400 m/s; concrete ≈ 3200 m/s), it is reasonable to assume that the sound wave propagates predominantly through the solid medium (sugarcane). Regarding the possibility of the sound wave moving around the specimen, a test was carried out using an oscilloscope (Figure 13a,b) to measure the propagation time of the sound wave in a specimen whose stem diameter is 3 cm. The wave propagation time was 8 × 10 −6 s which gives a speed equal to 3750 m/s. Considering the speeds of the sound wave in the air (≈340 m/s) and in other materials (wood ≈ 3900 m/s; water ≈ 1400 m/s; concrete ≈ 3200 m/s), it is reasonable to assume that the sound wave propagates predominantly through the solid medium (sugarcane).

Evaluation of Benefits for Sugarcane Production
The cost of manufacturing UltraBrix can be estimated at around USD 30 based on its main components (1 Arduino Uno mini microcontroller, 1 AD9833 Signal Generator, 1 Operational Amplifier LM358, 1 INA126 instrumental amplifier, 2 Piezoelectric cells, 2 Supports and 3D printed material in ABS). This is 280 and 2800 times lower than the cost of the analysis performed using the broth and cane stem spectroscopy, respectively [8].
Furthermore, 699 measurements of °Brix were carried out in the pre-analysis laboratory of a production unit located in the Northeast region of Brazil (2014/2015 crop) using a digital saccharimeter in order to determine the harvest point of the sugarcane (higher sucrose content). It was verified that about 41% (284 measurements) of these cane units had a °Brix value about 20% lower than the harvest point. This amount (284 sugarcane

Evaluation of Benefits for Sugarcane Production
The cost of manufacturing UltraBrix can be estimated at around USD 30 based on its main components (1 Arduino Uno mini microcontroller, 1 AD9833 Signal Generator, 1 Operational Amplifier LM358, 1 INA126 instrumental amplifier, 2 Piezoelectric cells, 2 Supports and 3D printed material in ABS). This is 280 and 2800 times lower than the cost of the analysis performed using the broth and cane stem spectroscopy, respectively [8].
Furthermore, 699 measurements of • Brix were carried out in the pre-analysis laboratory of a production unit located in the Northeast region of Brazil (2014/2015 crop) using a digital saccharimeter in order to determine the harvest point of the sugarcane (higher sucrose content). It was verified that about 41% (284 measurements) of these cane units had a • Brix value about 20% lower than the harvest point. This amount (284 sugarcane units) is equivalent to about 328,708 tons of cane (127.22 TRS-total recoverable sugar) collected in 4123 hectares (79.73 tons cane/ha on average). This represents an estimated harvest loss of approximately 12.20 kg of sucrose/total ton of sugar produced. This result reveals a common reality in sugarcane crops regarding suboptimal or inappropriate determination of the point or moment of harvest, which, in turn, causes loss of production and difficulty in effectively reaching the maximum production of sugar from the field. Therefore, these results demonstrate that it is possible to increase productivity through the use of a piece of equipment that performs online monitoring of sugarcane in the field.
The root mean square error (RMSE) obtained in both samples (mainly in the test sample whose data were not used to estimate the model parameters, Equation (6)) was around 0.3, which suggests an average measurement deviation around 1.3% (considering a • Brix value around 22). In addition, the maximum deviation obtained in the test sample (34 points) was 0.69 (≈3.1%). Considering an accuracy of 3% for the UltraBrix, a gain in sucrose production (around 10-11 kg of sucrose (≈0.3 USD)/total tons of sugar produced) can be achieved with its use in the field for monitoring production and deciding the best moment to harvest.
Comparing to other instruments for measuring sugar content in cane, the coefficients of determination (R 2 ) obtained for training (0.76) and test (0.83) samples are within the range of values practiced as shown in Table 5. Table 5 presents the statistical performance (R 2 , RMSE) of other measuring instruments (portable NIR devices available on the market) and respective costs [36].

Conclusions
This work presents a non-destructive electronic device for the measurement of the amount of soluble solids content in sugarcane that is based on the attenuation of the sound wave signal emitted through the cane stem. Although the correlation developed for the estimation of • Brix from the attenuation of the sound signal in this equipment presented a correlation coefficient lower than other non-destructive methods based on NIR and MIR, the unit cost of the proposed device is about USD 30. This is about 38 times lower than the cost of analysis using portable NIR and MIR equipment. This could universalize real-time monitoring of • Brix, mainly in the Northeast region of Brazil to identify the appropriate harvesting point. This device could lead to an increase in sucrose production of about 20%. Additionally, the simplicity and flexibility of the proposed piece of equipment mean it can be used in any sugarcane industry in the world.
The application of UltraBrix in the field would allow the mapping of the planted area as well as reduce the cost of transporting the sample to the laboratory and staff and laboratory analysis costs. On the other hand, the clapping contact with the cane is a drawback because the coupling of the cane with the piezoelectric tablet can cause interference in the measurement.
UltraBrix can also be used as an auxiliary tool in the development of best practices in agricultural management, in cultural treatments and in the study of new varieties (genetic improvement) using • Brix monitoring throughout the period from planting to harvesting. Further tests in the field with other food crops as well as further research to determine the TSS, fiber and water content in the cane are planned.
Sugarcane is considered one of the great alternatives for the biofuels sector due to the great potential in the production of ethanol and its by-products. Brazil is the world's largest producer of sugarcane, and the development of technologies for monitoring and increasing the efficiency of this sector represents an important contribution. The device developed and validated in this work provides a viable, low-cost and non-destructive alternative for monitoring and increasing productivity in the sugar and alcohol agro-industry and consequently for its sustainability.     Tables A1 and A2 refers to the position of the piece collected in the cane stem (the lower the value, the closer to the ground).