Flexible microspectrometer for grape maturation monitoring in the vineyard

Abstract. Optical spectroscopy is a well-suited technique for the nondestructive and real-time maturation monitoring of fruits and vegetables. Although many commercial spectroscopy systems exist, including some for portable use in the field, a significant gap in agricultural monitoring is the ability to continuously measure the condition of fruits in the field over longer periods of time. To this end, we present here a fully integrated, flexible microspectrometer consisting of multiple light sources and multiple broadband photodiodes for the spectral evaluation of grape maturation in the field. To enable the microspectrometer design, a customized grape berry model generated from the optical properties, primarily light scattering, of grape berries was developed. The microspectrometer was fabricated using a scalable fabrication process based on a spin-coated, flexible polyimide substrate. Experiments were conducted both in a controlled laboratory environment as well as during the grape maturation period in the vineyard and these demonstrated that the spectral properties of grapes at different maturation stages can be accurately measured. Using suitable chemometric models, the amount of total soluble solids in °Br, which is the most important factor for the maturation estimation of grapes, was determined from the microspectrometer data.


Introduction
In modern viticulture, the quality control of grapes is crucial for the production of high-quality wines.The currently most common and reliable technique for the maturation assessment of grapes is based on wet-chemical analysis of grape composition in the laboratory.However, the reliability of this established method is limited by the number of sample grape berries picked in the vineyard, and there is usually a considerable time delay (often 1 day or more) between sampling and knowledge of the results, such that the point of optimal ripeness can easily be missed.In addition, laboratory-based chemical analysis requires skilled operators for the measurements and can generate a considerable amount of chemical waste. 1 The use of visible/near-infrared spectroscopy for the evaluation of the ripeness of grapes, measuring parameters, such as soluble solids, total acidity, and total phenols, [2][3][4][5][6][7] can overcome these limitations.Eliminating labor-intensive and time-consuming analyses of the collected fruit samples not only can lower the costs for the analysis but also has significant environmental advantages compared to traditional methods.
Such spectroscopic approaches based on reflectance 8 or fluorescence 9 for grape ripeness assessment exist, but these are based on bulky devices that would need to be adapted to be suitable for the monitoring of the fruit composition in the vineyard.Examples include the Multiplex 3, manufactured by Force-A, and the SpectraPen, both of which assess reflectance and fluorescence at specific wavelengths to determine the amount of soluble solids, pH, as well as anthocyanin and flavonol content. 7,10However, these systems are not suitable for continuous grape maturation monitoring in the field, as they are large handheld pieces of equipment that require skilled operators to execute the measurements.Furthermore, in the context of large vineyards, obtaining comprehensive information on the overall crop maturation status would necessitate a large number of measurements at numerous locations, which can be a time-consuming, and thus expensive, process.To address these issues, one promising approach for a less bulky and less expensive spectroscopic sensor able to determine the maturation status of grapes has been proposed by Pampuri et al. 11 This prototype uses two commercially available six-channel integrated spectrometers operating in the VIS and NIR wavelength regions.Despite the considerable reduction in the size of the spectrometer, the entire device is still large and cannot be embedded into a grape bunch for continuous monitoring.
As a result of these known limitations, we can state that a spectroscopic sensor suitable for continuous monitoring of the maturation of grapes in the vineyard would need to fulfill the following requirements: highly miniaturized overall system dimensions, allowing placement of the sensor inside a grape bunch without causing damage to the fruit and without interfering in the ripening process; the ability to acquire continuous time-resolved data; robustness with respect to the environment in the field; and an overall simplicity and low cost, permitting a large number of sensors to be deployed thereby also enabling spatially resolved (in the vineyard) data acquisition.
Based on these demands, we present here a compact visible/near-infrared spectrometer designed to monitor grape maturation in a continuous and autonomous manner suitable for deployment in the field.Operating in reflection mode, the microspectrometer was designed to be placed inside a grape bunch at the beginning of the maturation period and continuously measure the grape maturation throughout the maturation period, a time scale of weeks to months.We show here how this standalone device can overcome the drawbacks of current maturation assessment techniques.

Microspectrometer Design
As illustrated in the sketch of the system design shown in Fig. 1(a), the microspectrometer was designed to be placed inside the grape bunch during the maturation period and removed before harvesting.It is placed in such a way that the berries grow around the microspectrometer.
The boundary conditions for the design of the microspectrometer were given by the geometry of the grape bunch.Typically, spectrometers detect light that has interacted with a sample under investigation either in reflection or transmission mode.In both cases, light emitted from suitable light sources interacts with the sample, where it is either absorbed, scattered, or reflected and detected by the photodiodes.For the application presented in this work, the reflectance mode was employed, as in this mode light sources and detectors can be placed on the same side of the sample, which is advantageous considering its use in the field.
Furthermore, as the microspectrometer should not cause bruises to the grape berries or cause fouling due to water accumulation on the device, the microspectrometer was manufactured on a flexible substrate and highly miniaturized; it can thus follow the shape of the grape berries in the bunch.As seen in Fig. 1(a), the driving and control electronics needed to operate the microspectrometer were separated from the microspectrometer canopy and placed outside of the grape bunch, at the cane of the vine plant.The microspectrometer strip itself only comprised the light sources and detectors and was placed inside the bunch.
To ensure a high flexibility of the microspectrometer strip, it was fabricated based on a flexible polyimide circuit board; the detailed fabrication process is described in Sec. 4. Figure 1(b) shows the schematic layout of the sensing head located at the end of the microspectrometer strip.Four LED light sources, emitting the four peak wavelengths 530, 635, 685, and 730 nm, and broadband photodiodes were employed.The particular wavelengths of the LEDs were chosen based on the previous research, [12][13][14] since spectral changes at these wavelengths well represent changes in the chemical composition during the maturation process.In particular, changes around 530, 680, and 635 nm are associated with changes in chlorophyll concentration.During the maturation, chlorophyll degrades as sugars and anthoxyanins are created.Additionally, spectral changes around 740 nm are caused by the third overtone of -OH bond stretching and therefore indicate the presence of water and sugars.The emitters and detectors were separated by an opaque barrier to eliminate stray light reaching the detectors without interaction with the sample.
A photograph of the microspectrometer with a total length of 5.6 cm is shown in Fig. 1(c).It can be divided into two parts, the electronic interface on the one side and the spectrometer unit on the other side.The four LEDs are placed on the outer side of the optical barrier, and the photodetectors are placed on the inside of the barrier.The microspectrometer head was covered with an (IrO x ∕Ir∕IrO x ) multilayer, which is highly optically absorbing and therefore reduces stray light.The dimensions of the microspectrometer head are 12 mm in the y direction and 8 mm in the x direction.

Optical Simulations
To understand the basics of light interaction between the microspectrometer and grape berries, optical ray-tracing simulations were performed using OpticStudio (Zemax LLC.).To have an accurate representation of a grape berry, an optical model was generated as detailed in Sec.3.1.The primary influencing parameters impacting the spectroscopic reading are identified and characterized in Sec.3.2.

Realistic Grape Berry Model
To enable a comprehensive analysis of the interaction between the microspectrometer and the grape, a model of a grape berry was established; a comprehensive description of this procedure can be found in prior publications. 15,16In summary, the optical properties, namely the absorption and scattering coefficients, μ a and μ s , respectively, and the scattering anisotropy factor g were determined for the pulp and peel of three table grape cultivars (ARRA 15/white-green, Tawny Seedless/red, and Melody Blagratwo/black).The absorption and scattering coefficients were computed from spectroscopic raw data utilizing the inverse adding doubling method, 17,18 a model widely used for scattering and absorbing samples with arbitrary thickness.
Based on these values, three-dimensional grape berry models were generated within OpticStudio to facilitate the development of the microspectrometer.For the optical simulations, the nonsequential mode was utilized, and the Henyey-Greenstein distribution was employed to model the bulk scattering within the grape berries.
The Henyey-Greenstein function pðcos θÞ provides a mathematical representation of the directional distribution of light that is scattered by submicron particles.It is commonly expressed as the summation of its constituent components, resulting in the following equation: ; (1) with θ being the deflection angle of a photon after a scattering event and g, the anisotropy factor, is also expressed as the cosine expectation 19 of θ, i.e., E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 0 2 ; 1 1 4 ; 4 8 1 The input parameters required for the Henyey-Greenstein model in OpticStudio comprise the optical mean free path mfp, which represents the distance that a photon traverses within a medium before it is either absorbed or scattered.The mean free path can be expressed as a function of the absorbing and scattering coefficients 19 simply as E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 0 3 ; 1 1 4 ; 3 9 7 Using this model, the light propagation inside the grape berry and at the air/berry interface of the white-green grape cultivar ARRA 15 was first studied.The berries were represented by two prolate spheroids, as illustrated in Fig. 2(a).The first spheroid, used to model the grape peel, exhibited a longitudinal axis length of a 1 ¼ 29.91 mm and a transverse axis length of a 2 ¼ 19.70 mm.A second spheroid, having an identical origin but possessing reduced axis lengths, was utilized to mimic the pulp tissue.The current study subtracted a peel thickness of 189 μm 15 from the axis length of the second spheroid, thereby producing the inside of the grape berry.This resulted in a grape model that thus consists of a pulp spheroid surrounded by a layer of fruit peel.To study the light propagation and inside the grape berry, the power detected at distinct depths within the fruit was recorded.Figure 2(b) shows a color map representing the light distribution inside a grape berry.As light enters the fruit, the detected intensity decreased in the direction of and perpendicular to the propagation direction.However, forward scattering was identified as the prevailing scattering mechanism resulting in a slower power decay in the direction of penetration compared to the radial direction.The positive value of the scattering anisotropy coefficient (g > 0) of grape berries and flesh confirms this observation.
The quantification of the decay of light intensity inside the grape berry was also performed by investigating the penetration depth, denoted as δ.Specifically, the penetration depth indicates the depth at which the intensity degradation reaches a value of 37% (1∕e) from its initial value and may be written as 20 E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 0 4 ; 1 1 7 ; 3 7 3 The findings of the light penetration depth into the peel and pulp of ARRA15, Tawny, and Melody grape berries at wavelengths ranging from 400 to 700 nm are presented in Fig. 3.In addition, Table 1 provides a summary of the optical properties and resulting penetration depths for λ ¼ 530 nm.The depth of penetration for all grape cultivars analyzed was significantly higher in the pulp [Fig.3(b)] than in the peel [Fig.3(a)].When comparing between grape varieties, Fig. 3 Penetration depth of light at wavelengths ranging from 400 to 700 nm for the (a) peel and (b) pulp of the three different grape varieties ARRA 15 (white/green), Tawny Seedless (red) and Melody (black).Generally, the penetration depth is smaller in the peel of the grape berries compared to the pulp and the darkest grape variety.Melody has the lowest penetration depths of light into both, the peel and the pulp.
Table 1 Optical properties of the pulp of Arra 15 (white/green), Tawny Seedless (red), and Melody Blagratwo (black) berries at 530 nm.From the absorption and scattering coefficients, μ a and μ s , and the anisotropy factor g, the penetration depths of light into the berries' peel and pulp can be derived.

Grape variety
μ a (mm −1 ) μ s (mm it was observed that darker varieties possessed a lower penetration depth, while lighter cultivars had a comparatively higher penetration depth.Furthermore, the peel of Tawny and Melody Blagratwo exhibited a penetration depth within the range of the peel's thickness, thereby resulting in lower transmission of light to the underlying pulp tissues.For all grape varieties, less scattering and absorption were observed in the pulp when compared to the peel, resulting in increased depths of penetration.

Characterization of Influencing Parameters
After studying the general light interaction with grapes, optical simulations were conducted to study the impact of the microspectrometer position with respect to the grape berry.The impact of the distance and tilt of the microspectrometer with respect to the grape berries are detailed in the following.

Distance
The findings from the optical simulations indicate a significant variation in the detected signal intensity as a function of the distance between the microspectrometer and grape berry.According to the findings depicted in Fig. 4, there is a quadratic decay in the detected signal power as the distance between the grape and photodiodes increases.It is noteworthy that when the distance between the microspectrometer barrier and the grape surface is 0 mm, the microspectrometer and grape berry are in contact.

Tilt
Furthermore, as illustrated in Fig. 4(b), a significant decrease in the total detected power was observed as the degree of tilt between the microspectrometer and the grape increases.The term "tilt" in this context pertains to the angular difference between the normal vector of the microspectrometer plane and the normal vector of the horizontal plane along the longitudinal axis of the grape berry.As the degree of tilt increased from a starting value of 0 deg, where the plane of the microspectrometer is parallel to the grape berry, the detected power decreased until beyond a 60 deg tilt angle, no reflected signal was detected.Beyond 60 deg, reflected light is absorbed by the opaque barrier separating light sources and detectors.
Fig. 4 Normalized power of the detected signal depending on the distance and tilt between microspectrometer and grape berry.As distance and tilt increase, the detected signal decreases.For the determination of the influence of the distance, the tilt was kept constant at α ¼ 0 deg, and when the tilt is varied, the distance was kept constant at 6 mm.The values are normalized to the highest value measured.For the distance, the power was normalized to the power measured at d ¼ 0 mm and for the tilt, the power was normalized to the power measured at α ¼ 0 deg.The schematic sketches illustrate the geometrical arrangement of the microspectrometer and the grape berry.In the cross-sectional view of the microspectrometer, the LEDs are shown in red, the photodetectors in blue, and the optical barrier is black.

Conclusions for in-field application
For the implementation of the microspectrometer in the grape bunch, the presented data indicate that the placement of the microspectrometer demands adherence to two essential criteria: first, the microspectrometer tilt with respect to the sample should be kept at an absolute minimum; and second, the microspectrometer's distance from the grape berries should be as close as possible to allow the detection of maximum power, thereby enhancing the signal-to-noise ratio.

Microspectrometer Fabrication
The fabrication of the microspectrometers used a 4-in.silicon handle wafer and the process steps illustrated in Fig. 5.
Referring to the numbering in Fig. 5, the process with (1) a layer of polyimide (U-Varnish-S, UBE) with a thickness of 5 μm spun onto a silicon handle wafer and cured in a nitrogen atmosphere at a temperature of 450°C for 10 min.Polyimide is highly suited as a base material for the flexible microspectrometer because of its high flexibility, mechanical strength, and especially its excellent chemical resistance. 21,22Subsequently, (2) 50 nm of gold was sputtered onto the polyimide base layer to create electrical wiring with a width of 200 μm, which was afterward structured by lift off. 5 nm of chromium and 50 nm of platinum served as adhesion promoters for the gold layer.In a second spin-coating step, (3) a 5 μm polyimide top layer was applied to encapsulate the electric circuit, followed by another curing at 450°C for 10 min.
Subsequently, (4) all contact pads were opened by reactive ion etching of the second polyimide layer.Within this step, the outlines of the microspectrometers were also etched.After that, (5) 500 nm gold was electroplated onto the contact pads, using 3 μm chromium as an adhesion promoter.Then (6) a multilayered iridium oxide and iridium composite (400 nm IrO x ∕200 nm Ir∕400 nm IrO x ) was sputtered to act as an absorption layer and reduce the internal and external stray light.Next, (7) the microspectrometer stripes were delaminated from the silicon handle wafer, ( 8) and ( 9) the optoelectronic components were placed onto the microspectrometer stripe by attaching the bottom contacts of the dies with conductive glue, and ( 10 Polyimide is spun on a silicon handle wafer and the conductive tracks are sputtered.A second polyimide layer encapsulated the circuitry and contacts were opened with dry etching.After delamination, the optoelectronic components were installed, encapsulated and an optical barrier separated the light sources and detectors. were then encapsulated using an optical epoxy (EPO-TEK 302-3M, Epoxy Technology) to protect the gold bonds and the light sources and detectors from environmental influences in the final application.
To reduce optical crosstalk arising from light reaching the photodetectors without interaction with the sample, ( 12) an optical barrier CNC-milled from nontransmissive poly(methyl methacrylate) with an edge width of 6 mm and a height of 3 mm was installed between light sources and detectors.Finally, the contact end of the microspectrometer stripe was thickened with two layers of polyimide tape.Thus the microspectrometer can be connected to the driving and control electronics using flexible printed circuit connectors.The electronics module in the main consisted of an eight-channel LED driver, analog-to-digital converter, and a transimpedance amplifier and is described in detail elsewhere. 1

Maturation Monitoring
The thus-fabricated microspectrometers were first characterized in the laboratory and subsequently employed for measurements in the field.

Spectra at Different Maturation Stages
To characterize the performance of the microspectrometer under controlled and ideal boundary conditions, the spectra of grapes at three different maturation stages were acquired in the laboratory.Therefore, 20 grape berries of the grape variety pinot noir were collected in the field at three distinct phases in grape ripening: (a) at the end of the fruit development, i.e., when the berries were still green; (b) at veraison, which is the point at which the grape berries start to change their color; and (c) when the berries were ripe for harvesting.
As a reference, the spectra in a range of 500 to 800 nm were first acquired using a commercial tabletop UV/VIS spectrometer (UV-3600i Plus, Shimadzu) together with an integrating sphere (ISR-1503, Shimadzu).The integrating sphere collected all specular reflectance occurring at the grape surface and the light re-emitted from the grape sample.
For the analysis with the microspectrometer, the same berries were placed in contact with the optical barrier of the microspectrometer, and the tilt of the microspectrometer with respect to the transverse axis of the berries was fixed at 0 deg.For each grape berry, one measurement was performed.In total, measurements of 60 different grape berries were undertaken, where 20 berries were examined for each maturation stage.
To allow a comparison of the data acquired with the commercial spectrometer, the flexible microspectrometer was calibrated using a two-point calibration of the photodiodes before the spectrum acquisition, in which the minimum and maximum readout values of the photodiodes were determined for 0% and 100% reflection, respectively.For the minimum reflectance values, the LEDs were turned on sequentially, while the photodiodes were covered, resulting in the minimum readout values arising from the photodiode's dark current.In contrast, for 100% reflection, the readout maximum was determined by measuring the maximum reflection of a barium sulfate (BaSO 4 ) standard white plate.
The resulting spectra of the grape berries at the three different maturation stages acquired with the commercial spectrometer and the microspectrometer are summarized in Fig. 6.Clearly, the spectra change as the maturation advances and the detected reflectance decreases for the wavelength range under investigation.The largest changes were observed in the visible region, around 530 to 550 nm, arising from the green to purple/black color change of the grape peel and the superficial pulp during maturation. 23This color change results from the degradation of chlorophyll 24,25 and is enhanced by the accumulation of anthocyanins in these fruit parts.
Although the data points acquired with the microspectrometer were shifted to slightly lower values when compared to the data from the commercial spectrometer, they follow the spectral reflectance features caused by the change of the chemical composition throughout the maturation period.Furthermore, higher inhomogeneities in the maturation stage of the different grape berries under investigation resulted in higher standard deviations of the acquired data of the commercial spectrometer as well as of the microspectrometer.

In-Field Maturation Monitoring
Finally, the microspectrometer was used for maturation monitoring evaluated in a grape vineyard during one maturation season.In this trial, five microspectrometers were placed in a vineyard cultivated with pinot noir grapes, located at the Kaiserstuhl, Baden, Germany.Measurements were performed on a semi-weekly basis, each time after sunset.
Photographs of the microspectrometer inside a grape bunch at veraison, when deployed in the field and close to harvest ripeness are shown in Fig. 7.As seen in Fig. 7(a), the electronics box was mounted on a pole and the microspectrometer was placed inside the bunch in such a way that the grape berries surround the measurement head.Figure 7(b) shows a photograph of the microspectrometer and the grape bunch at veraison, and Fig. 7(c) closes to harvest ripeness, showing that no undesired movements of the microspectrometer occurred while it was deployed in the field, and the grape berries were not damaged.In contrast to the laboratory experiments presented earlier, the field experiments started at veraison and not at the end of the fruit development.
The acquired data from one of the microspectrometers placed in the field are shown in Fig. 8.For each LED, the reflected signal was acquired at each of the photodetectors.Similar to the experiments performed in the laboratory, it is seen that at NIR wavelengths a higher reflection is detected as compared to visible wavelengths.The spectral raw data were then correlated to the amount of total soluble solids (TSS) in degrees Brix (°Bx) using the partial least squares (PLS) model described elsewhere. 11°Bx corresponds to 1 g of sucrose dissolved in 100 g of solution, i.e., grape juice.
As a reference, after each measurement series, 20 different grape berries from the same part of the vineyard were picked and mashed.The berries were not picked from the grape bunches which were investigated with the microspectrometer, but from grape bunches located close to these.The refractive index n D of the grape juice was determined at 20°C at the D-line (λ ¼ 589 nm) using a commercial refractometer (SCHMIDT + HAENSCH GmbH & Co).The refractive index was then correlated with the °Bx value according to the International Commission for Uniform Methods of Sugar Analysis (ICUMSA) table 26 using the polynomial fit: E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 0 5 ; 1 1 4 ; 4 3 0 The ICUMSA table contains a set of standardized values that correlate Brix and refractive index measurements of sugar solutions and is used in industry as a uniform method for measuring sugar content in solutions using refractometry.
The results of the reference measurements are summarized in Fig. 9   However, two things are observed.First, the standard deviation decreased as the maturation proceeded.The reason for this lies in a higher inhomogeneity of the maturation at the start of the measurements: some berries are already colored, and others still are green, as seen in Fig. 8. Second, an outlier with a lower mean value and high standard deviation was measured on August 24, 2023.On that evening, exceptionally strong rain caused high water accumulation inside the grape bunches, leading to a higher variation of the measurement signals of the five microspectrometers.On the other days, there was no rain and no accumulation of water could be seen on the microspectrometer or the grape bunch.

Conclusions
We have demonstrated the design, fabrication, and characterization of a flexible microspectrometer suitable for continuous monitoring of the maturation process of grapes in the vineyard.
Further research needs to focus on the increase of the signal robustness.As also seen in the data presented in this paper, the measurement results currently strongly depend on the weather conditions in the vineyard.In the event of rain, optical conditions are changed, causing a signal distortion until the grape bunch is dry again.New generations of microspectrometers should be able to correct their results for different weather conditions.
Another aspect relevant to increased signal quality is the position of the sensor head with respect to the grape berry.The positioning has a large impact on the measured signal, confirming the results of the optical simulations.However, the position of the microspectrometer within the grape may also change during the maturation period.An approach to circumvent this limitation would be to add a position-sensing unit into the spectrometer head, which not only measures the distance to the grape berries but also the tilt with respect to the berry.Using this information, a correction factor could correct for position-related signal distortions.

Fig. 2
Fig. 2 (a) Schematic illustration of the grape berry model.Two spheroids represented the pulp and the peel of the berry.Light incident into the grape is either reflected at the air/berry interface or penetrates into the fruit where scattering and/or absorption occur.(b) Color map representing the light distribution inside the grape berry in terms of detected power (in a.u.) at each point.It is clearly seen that forward scattering dominates the behavior.

( 6 )Fig. 5
Fig.5Schematic illustration of the microfabrication process for the flexible microspectrometers.Polyimide is spun on a silicon handle wafer and the conductive tracks are sputtered.A second polyimide layer encapsulated the circuitry and contacts were opened with dry etching.After delamination, the optoelectronic components were installed, encapsulated and an optical barrier separated the light sources and detectors.

Fig. 7
Fig. 7 Photographs of the microspectrometer placed in the vineyard.(a) The microspectrometer is deployed at veraison.The electronics box is mounted on a pole and the microspectrometer placed inside the grape bunch.Therefore, the microspectrometer head is not visible in the photo; (b) detailed picture of the microspectrometer inside the grape bunch at veraison; and (c) close to harvest ripeness.The microspectrometer head is clamped between two adjacent grape berries, which prevent the movement of the microspectrometer during the measurement period.It is in contact with the grape berry.Five microspectrometers each stayed in the field for 3 weeks.

Fig. 6
Fig. 6 Reflectance spectra of grape berries at three different maturation stages acquired with a commercial spectrometer and the microspectrometer as the maturation process advances from (a) the end of the fruit development to (b) the veraison and (c) harvest ripeness.Each data point presents the mean reflectance data AE standard deviation measured for 20 different berries at the three different maturation stages.In total, 60 different berries were investigated.
(a).During the observation period, the refractive index increased continuously from 1.35947 to 1.36336, and the TSS from 17.32 to 19.69°Bx, values measured on August 21, 2023 and September 11, 2023, respectively.The values obtained from the microspectrometer correlate closely with this data: TSS increases from 16.98 AE 1.35°Bx at veraison to 19.54 AE 0.51°Bx close to harvest ripeness.The correlation coefficient is 0.82.

Fig. 9
Fig. 9 Measurement of the amount of TSSs measured during a maturation period: (a) Reference values calculated from the refractive index of 20 mashed grape berries picked from the same vineyard the microspectrometer was evaluated.The error bars arise from the limited accuracy of the refractometer.(b) Microspectrometer measurements performed on grapes in the same vineyard can reproduce these values; the correlation coefficient of the reference values with the data obtained from the microspectrometer is 0.82 (excluding the outlier measured on 24.08).

Fig. 8
Fig. 8 Spectroscopic reading from one microspectrometer placed in the vineyard.For each of the four LEDs, the reflectance was measured at all four photodetectors (hence 16 measurements).Applying a PLS model to these values results in the TSSs concentrations shown in Fig. 9.