Next Article in Journal
A Seabed Real-Time Sensing System for In-Situ Long-Term Multi-Parameter Observation Applications
Next Article in Special Issue
Encoded-Enhancement of THz Metasurface Figure of Merit for Label-Free Sensing
Previous Article in Journal
Study on Dual Channel Lateral Field Excitation Quartz Crystal Microbalance for Measuring Liquid Electrical Properties
Previous Article in Special Issue
A New Multivariate Optical Computing Microelement and Miniature Sensor for Spectroscopic Chemical Sensing in Harsh Environments: Design, Fabrication, and Testing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Development of an Optoelectronic Sensor for Detecting and Classifying Fruit Fly (Diptera: Tephritidae) for Use in Real-Time Intelligent Traps

by
Fabiano Sandrini Moraes
1,2,*,
Dori Edson Nava
3,
Tiago Scheunemann
4 and
Vagner Santos da Rosa
1
1
Computational Sciences Center, Federal University of Rio Grande—FURG, Rio Grande, RS 96230-000, Brazil
2
South Rio Grande do Sul Federal Institute—IFSUL, Pelotas, RS 96015-360, Brazil
3
Embrapa Temperate Agriculture, Entomology Laboratory, Pelotas, RS 96010-971, Brazil
4
Phytosanitary Graduate Program of the Federal University of Pelotas—UFPel, Pelotas, RS 96010-900, Brazil
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(5), 1254; https://doi.org/10.3390/s19051254
Submission received: 29 December 2018 / Revised: 4 February 2019 / Accepted: 28 February 2019 / Published: 12 March 2019
(This article belongs to the Special Issue Optoelectronic and Photonic Sensors)

Abstract

:
Fruit flies (Diptera: Tephritidae) cause losses to world fruit growing. For a fast and effective control of the pest, it is necessary to identify the species and their populations. Thus, we developed an infrared optoelectronic sensor using phototransistors to capture the signal of the partial occlusion of the infrared light caused by the beating of the fly wings. Laboratory experiments were conducted using the sensor to capture the wing beat signal of A. fraterculus and C. capitata. The captured signals were used to obtain the characteristics of the flies’ wing beats frequency and for a production of a dataset made available as one of the results of this work. For the passage detection, we developed the algorithm of detection of events of passage (PEDA) that uses the root mean square (RMS) value of a sliding window applied to the signal compared to a threshold value. We developed the algorithm of detection of events of passage (CAEC) that uses the techniques of autocorrelation and Fourier transform for the extraction of the characteristics of the wings’ beat signal. The results demonstrate that it is possible to use the sensor for the development of an intelligent trap with detection and classification in real time for A. fraterculus and C. capitata using the wing beat frequency obtained by the developed sensor.

1. Introduction

Fruit flies (Diptera: Tephritidae) are considered to be the main pests affecting fruit growing worldwide causing direct and indirect damages in production. In Europe alone, these losses and impacts are estimated to cost at least EUR 12 billion per year [1]. In Brazil, data from the Ministry of Agriculture, Livestock and Supply estimates that, in 2015, the damage caused by fruit flies to Brazilian farmers with production losses and costs in pest control was US$ 120 million [2]. The presence of flies also makes it impossible to export fresh fruit to more demanding and profitable markets such as Japan, the United States and Chile [2]. The main species of fruit flies of economic importance in Brazil belong to three genera: Anastrepha, Bactrocera and Ceratitis. Among the species of fruit flies present in Brazil, those that present quarantine restrictions for importing countries are: Anastrepha fraterculus (Wiedemann, 1830), Anastrepha obliqua (Macquart, 1835), Anastrepha grandis (Macquart, 1846), Ceratitis capitata (Wiedemann, 1824) and Bactrocera carambolae (Drew and Hancock, 1994) [3].
Fruit flies have wide geographical distribution and a large number of hosts. In the southern region of Brazil, C. capitata and A. fraterculus (Figure 1) develop in several fruit trees and can not make production feasible if control measures are not adopted [4].
Fruit growers control the fruit flies in an unruly manner using insecticides in the form of bait-toxic or by cover without knowledge of the infecting species, levels of infestation and distribution of hosts. This type of control has several undesirable consequences such as environmental impact, reduction in fruit quality, export restrictions due to the presence of chemical residues and an increase in the cost of production [4].
For the management of fruit flies, monitoring is essential through the use of attractive bait traps. One of the possible types of traps is McPhail that uses food attractions to catch adult fruit flies (Figure 2). It is also possible to use sex pheromones to attract adults, such as the paraferomonium used in Deltas traps to attract C. capitata. When the traps are used for monitoring, a technician must perform the inspection of the traps by classifying and counting the captured flies.
For the use of an intelligent monitoring system that automatically counts and identifies fruit flies, replacing the use of a specialized technician for this task will both minimize human errors in the identification and counting of flies and reduce the cost of the monitoring program. The system can be used both as auxiliary means to corroborate the survey carried out by the technician, as it may be the main means in situations that there are difficulties for the presence of the technician.
The use of optoelectronics for insect identification was presented by [5], where a photoreceptor was used to capture the variation of ambient light generated by the beating of the insect wings during flight. This variation of light is processed and determines the frequency of the beating of the insect wings. According to [6], this frequency depends on the physiological characteristics of the species and can be used for its identification.
Currently, this technique has been employed in the development of an intelligent mosquito trap [7,8,9]. For these works, a low cost optoelectronic sensor has been developed in which a light barrier is created with the use of a low power laser. The created light is reflected by a reflector being picked up by a phototransistor placed next to the laser. Thus, when the insect crosses the light barrier, it is partially occluded by its wing movement, this variation being captured by the phototransistor [7].
Optoelectronic sensors were also used in the design of the intelligent trap for olive fruit flies Bactrocera oleae (Rossi, 1790) [10,11,12,13,14]. The developed sensor uses the infrared LED (LED-IR) as an emitter to create the light barrier and as receivers uses photodiodes.
For the extraction of the characteristics of the signal, the analysis of the frequency spectrum is used to locate the fundamental frequency of the signal [7], frequency spectrum, circadian rhythm of flight activity and geographical location [8], Mel-frequency cepstral coefficients (MFCC) [9], use of the root mean square value (RMS) of the captured signal to detect passing events [10], use of Fast Fourier transform(FFT) with Hamming windowing to obtain the captured signal spectrum [11] and FFT to obtain the fundamental frequency, differences between the real harmonics and the theoretical harmonics, the distribution of energy in the harmonics and the amplitude of the signal near the frequency of 0 Hz (related to the body size of the insect) [14].
Several types of classifiers are used for the identification of insects through the wing beat signal such as: Bayesian classifiers [7,8], Support Vector Machines (SVM) with Radial Basis Function (RBF) [9], comparison with a reference spectrum using the algorithm K-means [11], and classification through a set of rules when using traps with attractive pheromone and without the presence of other fruit flies. In the work presented by [14], several classifiers such as Linear Support Vector Machines, Radial Basis Function kernel Support Vector Machine [14], Random Forests, Adaptive Boost, X-TREE, Group-Based Classification and Convolutional Neural Network were analyzed.
This work presents the development of an optoelectronic sensor for use in a McPhail trap and the study of signal processing techniques for detecting and discriminating fruit flies (C. capitata and A. fraterculus) in real time, which can be integrated into an automated alert system to inform farmers about pest status. A desirable feature of the sensor was to use readily available and inexpensive parts. A dataset of the signals generated by wing beat of flies was produced for this work and made available for later performance evaluation.

2. Materials and Methods

2.1. Optoelectronic Sensor Prototype

The developed optoelectronic sensor was based in the work presented by [15], where the authors present an optoelectronic sensor using as emitters infrared LEDs and, as phototransistors receivers, the hardware was developed for the treatment of the captured signal and a base for the sensor to be coupled to a McPhail trap. The sensor was evaluated through an insect wing beat simulator developed for the work. The base developed with the emitter and receiver circuits is shown in Figure 3, the infrared LED TIL32 being used as an emitter and the phototransistor TIL78 as a receiver. The drawing of the fly in Figure 3 indicates the area of passage through the sensor and the direction of flight of the flies. Thus, the sensor may be coupled to a McPhail trap for the future development of an intelligent trap (Figure 4).
The hardware for the optoelectronic sensor proposed by [15] was revisited and modified, being divided into eight functional blocks based on the diagram presented in Figure 5. The blocks LED-IR, phototransistor receiver and LED-IR control were not modified and the blocks transimpedance amplifier, analog high-pass filter, analog low-pass filter, amplifier signals and computerized system were modified, being described in the sequence:
  • Transimpedance amplifier—The block of the transimpedance amplifier has the function of converting the current generated by the incidence of light on the phototransistors into a voltage. For the circuit of the transimpedance amplifier, three configurations were evaluated (Figure 6), the one that presented better performance in the experiments with respect to the noise and signal distortion was configuration A.
  • Analog high-pass filter—The analog high-pass filter has as its function the elimination at the DC level generated by the base light emitted by the TIL32, allowing the passage of only the electrical signal corresponding to the variation of light caused by the beating of the wings of the insects. The Butterworth approximation was used to calculate the filter, since it has a flat frequency response in the passband without the presence of ripple at the cut-off frequency. This characteristic is important because of the close-up of the cut-off frequency of the high-pass filter (70 Hz) with the lowest frequency of interest 89.1 ± 4.5 Hz (fundamental frequency of the wing beat signal of the A. fraterculus [6]). The order of the implemented filter was determined experimentally by evaluating the noise generated by the electric network (60 Hz) that is close to the cut-off frequency (70 Hz). Thus, a sixth order filter was implemented using the Butterworth approximation, having as characteristics a cut-off frequency of 70 Hz, unit gain in the bandwidth, attenuation of −60 dB per decade and a 0 dB ripple in the passband. The bode diagram of analog filter implemented is shown in Figure 7, where the cut-off frequency is observed at 70 Hz without ripple and with an attenuation of −10 dB at 60 Hz. For the filter design, the Multiple Feedback topology (MFB) was used. The filter was implemented with three second order stages connected in cascade. The choice of the MFB topology was due to its greater robustness to the variation of the component values [16], allowing the use of components with higher tolerance and lower cost.
  • Analog low-pass filter—The analog low-pass filter has the function of limiting the upper frequency of the passband, serving as an anti-alias filter. Thus, the use of a low-pass filter of sixth order, cut-off frequency of 5000 Hz, with unit gain in the passband and 0 dB ripple in the passband was defined. In this way, the filter allows the passage of the frequencies of interest that are below 1000 Hz and that in the future a sample rate of at least 10 ksamples/s could be used, without modifications in the hardware. Using the Butterworth approximation and the design requirements, the following transfer function was obtained for the low pass filter. The bode diagram of the filter developed using the Butterworth approximation is shown in Figure 8, where the cut-off frequency is observed at 5000 Hz without ripple. The low-pass filter design was performed using the MFB topology with a three-stage implementation of second order cascade connected.
  • Signal amplifier—The signal amplifier block functions to amplify the signal conditioned by the analog filters on the full scale of the A/D converter. In this way, it is possible to obtain a higher resolution of the signal during the conversion. This block is composed of a two-stage amplifier, and both stages were designed using an operational amplifier configured as an inverter amplifier. The two-stage configuration was chosen to minimize the signal offset error caused by a high gain single stage amplifier. To determine the total gain required in the signal amplifier, we considered: the full scale voltage of 2 Vpp of the line input of the sound card used as the A/D converter, the intensity of the light generated by the transmitter with an active and current line of polarization of 20 mA and gain adjustment was made using as reference the passage of A. fraterculus, which, being the largest insect, caused the greatest variation in signal amplitude. Thus, the signal amplifier circuit has a total gain of 270 with a lower cut-off frequency of 0.72 Hz and a cut-off frequency over 48.2 kHz. The sensor hardware composed of the transimpedance amplifier, analog high-pass filter, analog low-pass filter and signal amplifier has an estimated total gain of 405 × 10 6 , lower cut-off frequency of 70 Hz, and a higher cut-off frequency 5 kHz.
  • Computerized system—In the implementation of the computerized system block, a Dell Optiflex 9010 PC computer was used, with an Intel (R) Core i5-3570M 3.40 GHz processor, 8.00 GB memory, Windows 10 PRO operating system, sound Realtek High Definition Audio version 6.0.1.6075. Thus, the output of the signal amplifier was connected to the audio line input of the computer, using the A/D converter of the audio card for the conversion of the captured signal. Audacity software version 2.1.3 was used to record signal files. The amplitude of the recorded signal was normalized by the software to values between −1 and 1. The recording was performed with 16-bit resolution, mono and sampling rate of 192 ksamples/s. Although the sensor has an upper cut-off frequency of 5 kHz, allowing a minimum sampling rate of 10 ksamples/s, the highest sampling rate available in the computerized system (192 ksamples/s) was used. This allowed, at this stage of the project, to verify in the captured signal the existence of undesired frequencies generated by spurious sources (e.g., computerized system or due to problems in the design of the sensor), which could hinder signal analysis. Another goal was to make the dataset more flexible, allowing the future evaluation of lower sampling rates, by performing sub-sampling of the signals that make up the dataset. The digital processing of the captured audio signals was performed using SciLab software version 6.0.0, where the scripts used in the analysis were implemented.

2.2. Method of Measuring the Signals Generated by the Beating of Wings of Fruit Flies A. fraterculus and C. capitata

The Embrapa Clima Temperado company, located in the city of Pelotas, RS, Brazil, provided the A. fraterculus and C. capitata flies used in the experiments. The flies were produced in the laboratory according to the creative technique [17]. Thus, insects with integral wings and with full flight capacity were used.
The system used in the experiment to measure the wing beat signal generated by A. fraterculus and C. capitata (Figure 9) consisted of an adapted cage where puparium was placed within a PVC pipe (10 cm length × 10 cm diameter), positioned under the sensor passage area. The interior of the PVC tube was coated with white talc to prevent the flies from climbing walking. Forcing them to perform a vertical flight upwards to leave the PVC pipe. Thus, flying through the passage area of the sensor. The experiments were performed with natural light and with an ambient temperature of 28 ± 1 C.
Signal recording was performed by connecting the output of the sensor signal amplifier to the line input of the computer system sound card. The signal was recorded using the Audacity software that normalized the amplitude of the signals to values between −1 and 1. Recording was performed on signal tracks for one hour each. The experiment was completed when it was visibly observed that the remaining insects did not make attempts to fly out of the PVC pipe passing through the sensor.
For the identification of possible events of passage of flies, the algorithm of detection of events of passage (PEDA) was developed. The algorithm calculates the RMS value of the captured signal and compares it to an experimentally established detection threshold. A passing event is detected when the RMS value exceeds the detection threshold. The RMS value was obtained using Equation (1), with a sliding window of 30 ms on the signal and 10 ms overlap between the windows:
R M S v a l u e = 1 n i = 1 n x i 2 ,
where n represents the number of samples in the evaluation window. When the RMS value exceeds an established threshold value, it was considered that a possible event of passage of a fly occurred through the sensor. Figure 10 presents a captured signal extract, with background noise and luminosity fluctuations (I, II, III, IV and V).
Figure 11 shows the result of the PEDA algorithm with the threshold of 1 applied to the signal shown in Figure 10. It can be observed that insect passage events exceeded the considered threshold (I, II and V) and insect fluctuations that tried to pass through the sensor and did not obtain success being below the threshold considered (III and IV).
When a passing event is detected, its start and end are evaluated and, based on these values, the signal window of the event is stored. The window was stored with the 50 ms of signal before the start of the event and with the 50 ms of signal after the end of event (Figure 12). This interval has been defined experimentally to ensure that the signal from the insect passage is within the window.
The localized events were analyzed and classified into a standard group for characterization of the insect signal. The criterion used to classify events in the standard group was that the signal should be at least 100 ms in duration without considering the 50 ms added at the beginning and end of each passing event and be a direct passage through the sensor.
For the extraction of characteristics of the signals of detected events of passage, an algorithm of automatic extraction of characteristics (CAEA) was developed. Initially, a Blackman–Harris window was applied to the stored signal, as suggested by [18], with its mathematical model given by
ω ( n ) = a 0 a 1 c o s 2 π n N 1 + a 2 c o s 4 π n N 1 a 3 c o s 6 π n N 1 ,
where a 0 = 0.35875 , a 1 = 0.48829 , a 2 = 0.14128 and a 3 = 0.01168 .
The application of the Blackman–Harris window on the stored signal consists of calculating the mathematical model of the window used for each stored point of the signal; this allows for the smoothing of the edges caused by the clipping of the event signal of the original signal, minimizing the appearance of frequencies nonexistent or fictitious in the spectrum of this signal during the FFT. With the signal submitted to the Blackman–Harris window, it has been expanded by inserting new samples with a value of zero until the size of the analysis window has the time of one second. In this way, a resolution of 1 Hz was obtained in the execution of the FFT method (CAEA algorithm), allowing a more detailed analysis of the wing beat signal of the insects.
The CAEA algorithm uses the autocorrelation and FFT techniques to extract the characteristics of the signal. The autocorrelation (Equation (3)) was used to obtain information on the fundamental frequency of signal generated by the wing beat of flies. The autocorrelation method was implemented using the xcorr() function of Scilab:
r x x ( l ) = i = 1 N w x ( i + l ) x ( i ) .
The results of the CAEA algorithm (autocorrelation method) for the signal shown in Figure 12 are presented in Figure 13, where it is noted that the peak of greater amplitude has a delay of 10 ms. This means that the analyzed signal has a fundamental period (T0) of 10 ms, that is, a fundamental frequency (F0) of 100 Hz.
For the analysis of the frequency spectrum of the signal, the CAEA algorithm uses the FFT method Equation (4), being implemented with the function fft() of Scilab. The peak of greater magnitude is located in the frequency spectrum of the signal, considered the fundamental frequency of the signal. After the next four peaks of greater magnitude are located, they are located above the fundamental frequency, considering the other four analyzed components of the signal:
F F T = i = 0 W n 1 x i . e j 2 π W n .
The frequency spectrum result obtained with the CAEA algorithm (FFT method) in the signal analysis of Figure 12 is presented in Figure 14. Note that the fundamental frequency of 105 Hz corresponds to that obtained by the CAEA algorithm (autocorrelation method) (100 Hz) and the peaks of magnitude at 125 Hz, 210 Hz and 305 Hz correspond to the other four frequency components.
The characteristics of the signal of each passing event obtained with the CAEA algorithm were stored in a file and the statistical analysis of the data was performed. The statistical methods applied were based on the one proposed by [19], using software [20] for their implementation.
For the analyses, we obtained the descriptive measures statistical arithmetic mean ( X ¯ ), sample standard error ( S x ), sample standard deviation (S), kurtosis coefficient (K), Coefficient of asymmetry ( A s ), sample range (H), minimum sample value ( M i n ) and maximum sample value ( M a x ).
Regarding the frequency data, we analyzed the fundamental frequency by the CAEA algorithm (autocorrelation method), the five frequency components by the CAEA algorithm (FFT method) and the differences between the fundamental frequency by the CAEA algorithm (FFT method) and the frequencies of the other four components by the CAEA algorithm (FFT method). In the magnitude data, we analyzed the magnitudes of the five frequency components obtained by the CAEA algorithm (FFT method), the relations between the magnitude of the fundamental frequency by the magnitudes of the other four components and the relationships among the magnitudes of the subsequent components.
In order to verify the normality of the statistical analysis, the one proposed by [21] was used, and the graphical evaluation was performed using boxplot, frequency distribution (histogram) and P–P (probability–probability). As a complementary evaluation to the graphical evaluation of normality, the Shapiro–Wilk test was performed, where a p-value > 0.05 was obtained as a response and the distribution can be considered normal.
In the data that can be represented by a normal distribution and, due to the size of the samples, the T-Student distribution was used to obtain the confidence interval of the population mean, being considered a confidence level of 95%. Thus, the confidence interval of the population mean is given by
I C ( μ ) = X ¯ ± T . S x ,
where I C ( μ ) is the population mean with the confidence interval, X ¯ is the sample mean, S x is the standard error and T is the correction value obtained by the distribution T-Student.
To evaluate the probability of identification errors among fruit flies using the characteristics extracted from the captured wing beat signal, the cumulative probability value was used for a normal distribution, Equation (6), based on the intersection of the curves of the evaluated characteristics of the insects:
P r ( x 1 x x 2 ) = x 1 x 2 1 2 π σ 2 e x μ 2 2 σ 2 d x ,
where x 1 and x 2 represent the cumulative probability interval, x the integrated sample set, σ the population standard deviation, and μ the population mean.

3. Results and Discussion

3.1. Measurement of the Wing Beat Signal Generated by A. fraterculus

The experiments performed with A. fraterculus were recorded at about seventeen hours of signal, separated into seventeen signal tracks of one hour each, for easier signal processing software. Each signal track was submitted to the PEDA algorithm, with 466 possible events of passage. The possible localized passage events were analyzed and classified in the standard group for the characterization of the wing beat signal generated by A. fraterculus. The localized events were analyzed and classified into a standard group for characterization of the insect signal, and 66 events were selected from the 466 events located (according to the criteria presented in Section 2.2). Figure 15 displays an event passing signal of A. fraterculus sorted in the default group, and Figure 16 displays an unordered event signal in the default group. The unclassified event signal in the standard group was discarded for having a decrease in signal strength (time 0.12 s), despite having a duration greater than 100 ms. This decrease in signal intensity represents that the insect did not make a direct passage through the sensor.
The 66 events of the standard group were analyzed and the characteristics of the signals were extracted using the CAEA algorithm. Figure 17 shows the output resulting from the CAEA algorithm (autocorrelation method) of one of these events. Note that the CAEA algorithm output highlights the fundamental period of the signal (peak of greater amplitude), the calculation of its inverse to obtain the fundamental frequency being necessary. Thus, the fundamental period (T0) of 9.12 ms corresponding to the fundamental frequency (F0) of 109.65 Hz was obtained.
At the output of the CAEA algorithm (FFT method), the five highest peaks corresponding to the fundamental frequency (F0), 2nd component (F1), 3rd component (F2), 4th component (F3) and 5th component (F4), respectively, were detected Figure 18. The values obtained with the algorithm are 110 Hz (fundamental frequency), 218 Hz (2nd component), 328 Hz (3rd component), 447 Hz (4th component) and 545 Hz (5th component). It was observed that, for the 4th component and 5th component, a degradation of the signal occurs that makes it difficult to correctly detect the corresponding peaks. This degradation of the signal occurs due to the use of the phototransistor as a receiver element, as already observed by [11,15].
The data obtained by extracting the characteristics of the signals from the 66 events of passage of the standard group of A. fraterculus stored in the file were analyzed and the descriptive measures’ complete statistics are presented in Appendix A. Table A1 and Table A2 present the descriptive measures of the data of the complete samples. In addition, Table A3 and Table A4 present the descriptive measures with the removal of outliers in each characteristic of the analyzed signal, and we considered data outliers that are outside the minimum and maximum limits of the boxplot.
In the analysis of the complete data without removal of outliers (Table A1), it was observed that, due to the degradation in the higher frequency frequencies obtained from the signals, as previously reported, there was a difficulty in locating the peaks corresponding to the their components. Thus, it was not possible to use the data for characterization of the signal, since they present great variation between the minimum and maximum values. Thus, the fundamental frequency obtained by the CAEA algorithm (autocorrelation method) (F0 Aut), the fundamental frequency obtained by the CAEA algorithm (FFT method) (F0 FFT) and the frequency obtained by the difference between the frequency of the 2nd componte and the fundamental frequency, both obtained by the CAEA algorithm (FFT method) (F1-F0 Aut), were analyzed. Figure 19 presents the visual evaluation performed.
In the first line of Figure 19, the boxplot graphics are presented, where, in the measurement of the fundamental frequency by autocorrelation, a symmetrical distribution is observed with the midline in the center of the box, with symmetrical mustaches and slightly longer than the subsections of the box and no outliers data, indicating a normal distribution. In the data concerning the measurement of the fundamental frequency obtained in the CAEA algorithm (FFT method), we observe an asymmetric distribution with the median line near the lower part of the box, asymmetric and short mustaches, a sparse distribution pattern in relation to the medium generating a long box, not presenting data outliers, indicating a distribution that may not be represented by a normal one. In the data concerning the frequency of the difference between the 2nd component and the fundamental frequency obtained in the CAEA algorithm (FFT method), an asymmetrical distribution is observed with the median line near the lower part of the box, slightly asymmetrical mustaches and slightly longer than the subsections of the box and four outliers above 200 Hz, indicating that this distribution can be represented by normal distribution.
In the second line of Figure 19, the histograms (blue) and curve of the superimposed normal (red) distribution are presented. With respect to the data of the first column, it is observed the highest concentration of values near the mean, the distribution being practically symmetrical, with the format of bell, without gaps in the data and without outliers data, indicating a normal distribution. In the second column, we observe the displaced mean being to the right of most of the data, presenting a gap between the data and the left of the mean of a new concentration of data, indicating a non-normal distribution. In the third column, we observe a greater concentration of data slightly to the left of the mean, having some data outliers above 200 Hz, indicating a normal distribution.
In the third line of Figure 19, we present the P–P graphics with the probability distribution of the sample data (blue) superimposed on the probability distribution of a normal curve (red). In the first column, it is observed that the probability distribution of the data tends to follow the probability distribution of a normal curve, indicating a normal distribution. In the second column, it is observed that the probability distribution of the data does not follow the distribution of probability of a normal curve, with a gap between the data, indicating a non-normal distribution. In the third column, it is observed that the probability distribution of the data does not follow the distribution of probability of a normal curve, with a gap and downward spacing caused by the outliers data, indicating a non-normal distribution.
As a complementary evaluation, the normality test of Shapiro–Wilk was performed, obtaining a p-value of 0.7018 (above the limit of 0.05 for normality) for fundamental frequency by the CAEA algorithm (autocorrelation method), p-value of 1.589 × 10 8 (below the 0.05 limit for normality) for the fundamental frequency obtained in the CAEA algorithm (FFT method) and a p-value of 9.097 × 10 11 (below the limit of 0.05 for normality) for the frequency of the difference between the 2nd component and the fundamental frequency obtained in the CAEA algorithm (FFT method). Based on the visual evaluation and the Shapiro–Wilk normality test, it was found that the fundamental frequency data obtained by the CAEA algorithm (autocorrelation method) can be represented by a normal distribution, the fundamental frequency data obtained by the peak location in the CAEA algorithm (FFT method) can not be represented by a normal distribution and that the frequency data obtained by the difference between the frequency of the 2nd component and the fundamental frequency both obtained by the location of its peaks in the CAEA algorithm (FFT method) can not be represented by the normal distribution.
With the results obtained with the normality evaluation, the visual analysis of the data dispersion (fourth line—Figure 19) was performed, being observed in the third column that the data are grouped below 150 Hz (green line), with 62 occurrences and above 200 Hz (red line), with four occurrences, these data being considered outliers that can be removed from the dataset. In the second column, the data are grouped below 150 Hz (green line), with 48 occurrences and above 200 Hz (red line), with 18 occurrences. Based on the performed analyses, it is noted that data above 200 Hz, although not considered outliers, represent that the localized peak does not correspond to the fundamental frequency of A. fraterculus (Figure 20)—it being possible to remove them from the dataset. The fundamental frequency obtained by the CAEA algorithm (autocorrelation method) presented errors of evaluation (Figure 21), in which case the measured value is below the expected one.
Figure 22 presents the visual evaluation of the data with removal of outliers referring to Table A3. Each column, from left to right, presents the data for fundamental frequency measurements obtained by the CAEA algorithm (autocorrelation method), fundamental frequency obtained by the location of the peak in the CAEA algorithm (FFT method) and the frequency obtained by the difference between the frequency of the 2nd component and the fundamental frequency both obtained by the location of their peaks in the CAEA algorithm (FFT method). The results for the fundamental frequency obtained by the CAEA algorithm (autocorrelation method) were not altered, once they did not have outliers data, kept for comparison with the data obtained with the removal of the outliers of the fundamental frequency obtained in the CAEA algorithm (FFT method) and the frequency by the difference between the 2nd component and the fundamental frequency obtained in the CAEA algorithm (FFT method).
In the first line of Figure 22, the boxplot graphics are displayed. In the data concerning the measurement of the fundamental frequency obtained in the CAEA algorithm (FFT method), second column, a slightly asymmetrical distribution is observed with the median line near the upper part of the box, slightly asymmetrical mustaches and no outliers data, indicating that this distribution may be normal. In the data concerning the frequency of the difference between the 2nd component and the fundamental frequency obtained in the CAEA algorithm (FFT method), third column, a slightly asymmetrical distribution is observed with the median line near the lower part of the box, slightly asymmetrical mustaches and slightly longer than the subsections of the box and without outliers, indicating that this distribution may be normal. In relation to the fundamental frequency boxplot by the CAEA algorithm (autocorrelation method), the first column, the graph with the greatest similarity is the one in the third column, and the one in the second column presents a larger dispersion data and with a larger average.
In the second line of Figure 22, the histograms (blue) and curve of the superimposed normal distribution (red) are shown. In the second column, we observe the highest concentration of values close to the average with a longer tail on the left, with the bell format, with no data gaps and no outliers data, indicating a normal distribution. In the third column, we observe the highest concentration of near-average values with a longer tail on the right, with the bell shape, without gaps in the data and without outliers data, indicating a normal distribution. In comparison with the histogram of the first column, the similarity between its distributions is observed, being that in the second and third columns the distribution is more sparse.
In the third line of Figure 22, we present the P–P graphics with the probability distribution of the sample data (blue) superimposed on the probability distribution of a normal curve (red). In the second and third columns it is observed that the probability distribution of the data tends to follow the probability distribution of a normal curve, indicating that both can be represented by a normal distribution.
The Shapiro–Wilk normality test was performed as a complementary assessment, obtaining a p-value of 0.2211 (above the limit of 0.05 for normality) for the fundamental frequency obtained by the CAEA algorithm (FFT method) and a p-value of 0.287 (above the limit of 0.05 for normality) for the frequency of the difference between the 2nd component and the fundamental frequency obtained in the CAEA algorithm (FFT method). Based on the visual evaluation and the Shapiro–Wilk normality test it was observed that the fundamental frequency data obtained by the peak location in the CAEA algorithm (FFT method), considering the erroneous detections as outliers, can be represented by a normal distribution and the frequency data obtained by the difference between the frequency of the 2nd component and the fundamental frequency both obtained by the location of its peaks in the CAEA algorithm (FFT method), without the outliers data, can be represented by the normal distribution.
Due to sample sizes (66 for fundamental frequency by the CAEA algorithm (autocorrelation method), 46 for fundamental frequency by FFT and 62 for frequency by difference between peaks in FFT) and that the data can be represented by a normal distribution, the T- Student to obtain the confidence interval of the population mean, considering a confidence level of 95%.
Considering that the best results obtained the A. fraterculus wing beat signal as having a fundamental frequency by the CAEA algorithm (autocorrelation method) with the population mean of 113.75 ± 2.04 Hz with a confidence level of 95%, with a dispersion given by the standard deviation of 7.97 Hz, with a slight flattening (kurtosis coefficient of −0.54) and practically symmetric (asymmetry coefficient of −0.05) with respect to a normal distribution and with values in the range of 95.52 Hz to 129.38 Hz. For measurement by fundamental frequency obtained by the location of the peak in the CAEA algorithm (FFT method), the signal has a population mean of 116.40 ± 3.10 Hz with a confidence level of 95%, with a dispersion given by the standard deviation of 10.09 Hz, with a slight flattening (kurtosis coefficient of −0.72) and slightly asymmetric (asymmetry coefficient of −0.35) with respect to a normal distribution and with values in the range of 94.00 Hz to 132.00 Hz. In the case of measurement of the frequency by the difference between the 2nd component and the fundamental frequency obtained in the CAEA algorithm (FFT method), the signal has a population mean of 110.50 ± 3.33 Hz with a confidence level of 95%, with a dispersion given by the standard deviation of 12.56 Hz, with a slight flattening (kurtosis coefficient of −0.64) and slightly asymmetric (coefficient of asymmetry of 0.19) with respect to a normal distribution and with values in the range of 84.00 Hz to 136.00 Hz.
Due to the difficulty of locating the higher frequency components, it was not possible to use their data for the characterization of the signal, since they present great variation in their minimum and maximum values. Thus, only the relationship between the magnitude of the fundamental frequency and the magnitude of 2nd component, obtaining a sample mean of 2.26, with a dispersion given by the standard deviation of 0.75, with a slight flattening (kurtosis coefficient of −0.66) and slightly asymmetric (coefficient of asymmetry of 0.44) with respect to a normal distribution and with values in the range of 1.07 to 3.92.

3.2. Measurement of the Wing Beat Signal Generated by C. capitata

In the experiments performed with C. capitata were recorded at about seventeen hours of signal, separated into seventeen signal tracks of one hour each, to facilitate signal processing realized. Each signal track was submitted to the PEDA algorithm, with 1010 possible events of passage. The possible localized passage events were analyzed and classified in the standard group for the characterization of the wing beat signal generated by C. capitata. In addition, 111 passing events were selected, (Figure 23), from the 1010 possible events of passage located (according to the criteria presented in Section 2.2).
The data obtained by extracting the characteristics of the signals from the 111 events of passage of the standard group of C. capitata using the CAEA algorithm were analyzed and the descriptive measures complete statistical are presented in Appendix A. Table A5 and Table A6 present the descriptive measures of the data of the complete samples. In the Table A7 and Table A8, the descriptive measures with the removal of outliers in each characteristic of the analyzed signal, we considered data outliers that are outside the minimum and maximum limits of the boxplot.
In the analysis of the complete data without removal of outliers (Table A5), it was observed that, due to the degradation in the higher frequency frequencies obtained from the signals, there was a difficulty in locating the peaks corresponding to the their components. Thus, it was not possible to use the data for characterization of the signal, since they present great variation between the minimum and maximum values. Thus, the fundamental frequency obtained by the CAEA algorithm (autocorrelation method) (F0 Aut), the fundamental frequency obtained by the CAEA algorithm (FFT method) (F0 FFT) and the frequency obtained by the difference between the frequency of the 2nd component and the fundamental frequency, both obtained by the CAEA algorithm (FFT method) (F1-F0 Aut), were analyzed. Figure 24 presents the visual evaluation performed.
In the measurement of the fundamental frequency by the CAEA algorithm (autocorrelation method), three data (186.41 Hz, 188.79 Hz and 189.41 Hz) were observed above the maximum limit for outliers (184.7 Hz), in the measurement of the fundamental frequency obtained in the CAEA algorithm (FFT method), the second column, we observed 14 data (with values from 303 Hz to 364 Hz) with possibilities of being outliers (maximum limit 201.75 Hz), in the measurement of the frequency by the difference between the 2nd component and the fundamental frequency obtained in the CAEA algorithm (FFT method) were observed four data (with values from 50 Hz to 58 Hz) and six data (with values from 297 Hz to 469 Hz) with the possibility of being outliers (lower limit 117.75 Hz and upper limit 199.75 Hz). Based on the boxplot graphics, the data with removal of the outliers indicate that the possibility of being represented by a normal distribution.
In the second line of Figure 24, the histograms (blue) and curve of the superimposed normal distribution (red) are shown. With respect to the data of the first column, the highest concentration of values near the mean is observed, distribution being practically symmetrical, with the bell format, without data gaps and without outliers data, indicating a normal distribution. In the second column, we observe the displaced mean being to the right of most of the data, presenting a gap between the data with a new concentration of data (possible outliers) to the left of the mean, indicating a non-normal distribution. In the third column, we observe a higher concentration of values near the mean, having outliers data above 250 Hz and below 80 Hz, indicating a non-normal distribution.
In the third line of Figure 24, we present the P–P graphics with the probability distribution of the sample data (blue) superimposed on the probability distribution of a normal curve (red). In the first column, it is observed that the probability distribution of the data tends to follow the probability distribution of a normal curve, indicating a normal distribution. In the second column, it is observed that the probability distribution of the data does not follow the distribution of probability of a normal curve, with a gap between the data, indicating a non-normal distribution. In the third column, it is observed that the probability distribution of the data does not follow the probability distribution of a normal curve, having gaps in the lower and upper part, indicating a non-normal distribution.
As a complementary evaluation, the Shapiro–Wilk normality test was performed. A p-value of 0.08254 (above the 0.05 limit for normality) was obtained for fundamental frequency by the CAEA algorithm (autocorrelation method), a p-value of 1.33 × 10 15 (below the limit of 0.05 for normality) was obtained for fundamental frequency obtained in the CAEA algorithm (FFT method) and frequency for the difference between the 2nd component and the fundamental frequency obtained in frequency spectrum—FFT had a p-value of 8.442 × 10 15 (below the limit of 0.05 for normality). Based on the visual evaluation and the Shapiro–Wilk normality test, it was found that the fundamental frequency data obtained by the CAEA algorithm (autocorrelation method) can be represented by a normal distribution, the fundamental frequency data obtained by the peak location in frequency spectrum—FFT can not be represented by a normal distribution and the frequency data obtained by the difference between the frequency of the 2nd harmonic and the fundamental frequency both obtained by the location of its peaks in the CAEA algorithm (FFT method) can not be represented by the normal distribution.
With the results obtained with the normality evaluation, the visual analysis of the data dispersion (fourth line—Figure 24) was performed, it being observed in the third column that the data are grouped between 100 Hz and 200 Hz (green lines), with 100 occurrences and below 70 Hz, five occurrences, and above 280 Hz (red line), six occurrences, the data being considered outliers and can be removed from the dataset. In the second column, the data are grouped below 220 Hz (green line), with 97 occurrences and above 280 Hz (red line), with 14 occurrences. Based on the performed analyses, it is noted that data above 280 Hz represent an error in the location of the peak corresponding to the fundamental frequency, being considered outliers and retired from the set of data. With respect to the scatter plot of the first column, it was observed that the three data with the possibility of being considered outliers (186.41 Hz, 188.79 Hz and 189.41 Hz) are close to the maximum limit obtained by boxpot (184.7 Hz) and do not present discrepancies with the the dispersion pattern presented by the remainder of the data, carrying were not considered outliers. The fundamental frequency obtained by the CAEA algorithm (autocorrelation method) presented evaluation errors, in which case the measured value is below the expected value.
Figure 25 presents the visual evaluation of data with outliers removal. Each column, from left to right, presents the data for fundamental frequency measurements obtained by the CAEA algorithm (autocorrelation method), fundamental frequency obtained by the location of the peak in the CAEA algorithm (FFT method) and the frequency obtained by the difference between the frequency of the 2nd component and the fundamental frequency both obtained by the location of their peaks in the CAEA algorithm (FFT method). The results for the fundamental frequency obtained by the CAEA algorithm (autocorrelation method) were not changed. Once they did not have outliers data, they were kept for comparison with the data obtained with the removal of the outliers of the fundamental frequency obtained in the CAEA algorithm (FFT method) and the frequency by the difference between the 2nd component and the fundamental frequency obtained in the CAEA algorithm (FFT method).
In the first line of Figure 25, the boxplot graphics are shown. In the data concerning the fundamental frequency measurement obtained in the CAEA algorithm (FFT method), the second column, a slightly asymmetrical distribution is observed with the median line near the lower part of the box, slightly asymmetrical mustaches and slightly longer than the subsections of the box and with two data (201 Hz and 193 Hz) slightly above the upper limit (192 Hz) not being considered outliers, indicating that this distribution may be normal. In the data concerning the fundamental frequency of the difference between the 2nd component and the fundamental frequency obtained in the CAEA algorithm (FFT method), the third column, a symmetrical distribution is observed, symmetrical mustaches and slightly longer than the subsections of the box and with a die (120 Hz) slightly below the lower limit (124 Hz) not being considered outliers, indicating that this distribution may be normal. In relation to the fundamental frequency boxplot by the CAEA algorithm (autocorrelation method), the first column, the graphics present similarities in their dispersions, with averages and medians nearby.
In the second line of Figure 25, the histograms (blue) and curve of the superimposed normal distribution (red) are shown. In the second column, we observe the highest concentration of values near the mean with a longer tail on the right, with bell shape, with a small gap above 200 Hz and without outliers data, indicating a normal distribution. In the third column, we observe the highest concentration of values close to the mean with symmetrical distribution, with the bell format, with no data gaps and no outliers data, indicating a normal distribution. In comparison with the histogram of the first column, the similarity between its distributions is observed, being that in the second and third columns the distribution is wider.
In the third line of Figure 22, we present the P–P graphics with the probability distribution of the sample data (blue) superimposed on the probability distribution of a normal curve (red). In the second and third columns, it is observed that the probability distribution of the data tends to follow the probability distribution of a normal curve, indicating that both can be represented by a normal distribution.
The Shapiro–Wilk normality test was realized as a normality complementary evaluation being obtained a p-value of 0.09642 (above the 0.05 limit for normality) for the fundamental frequency by the CAEA algorithm (FFT method) and a p-value of 0.5932 (above the limit of 0.05 for normality) for the frequency obtained by the difference between the 2nd component and the fundamental frequency by the CAEA algorithm (FFT method). Based on the visual evaluation and the Shapiro–Wilk normality test, it was observed that the fundamental frequency data obtained by the peak location in the CAEA algorithm (FFT method), considering the erroneous detections as outliers, can be represented by a normal distribution and the frequency data obtained by the difference between the frequency of the 2nd component and the fundamental frequency both obtained by the location of its peaks in the CAEA algorithm (FFT method), without the outliers data, can be represented by the normal distribution.
Due to sample sizes (111 for fundamental frequency by the CAEA algorithm (autocorrelation method), 100 for fundamental frequency by the CAEA algorithm (FFT method) and 97 for frequency by difference between peaks by the CAEA algorithm (FFT method)) and that the data can be represented by a normal distribution, the T-Student to obtain the confidence interval of the population mean, considering a confidence level of 95%.
Considering the best results obtained the wing beat signal generated by C. capitata have a fundamental frequency by the CAEA algorithm (autocorrelation method) with the population mean of 160.81±2.02 Hz with a confidence level of 95%, with a dispersion given by the standard deviation of 10.71 Hz, slightly accentuated (kurtosis coefficient of 0.11) and slightly asymmetrical (asymmetry coefficient of 0.41) with respect to a normal distribution and with values in the range of 140.15 Hz to 189.91 Hz. For measurement by the fundamental frequency obtained by location of the peak using the CAEA algorithm (FFT method), the signal has a population mean of 162.25 ± 2.63 Hz with a confidence level of 95%, with a dispersion given by the standard deviation of 13.06 Hz, slightly accentuated (kurtosis coefficient of 0.33) and slightly asymmetric coefficient (asymmetry coefficient of 0.44) with respect to a normal distribution and with values in the range of 134.00 Hz to 201.00 Hz. The frequency by the difference between the 2nd component and the fundamental frequency obtained in the CAEA algorithm (FFT method) it has a population mean of 158.00 ± 2.97 Hz with a confidence level of 95%, with a dispersion given by the standard deviation of 14.95 Hz, with a slight flattening (kurtosis coefficient of -0.03) and slightly asymmetrical (asymmetry coefficient of −0.04) with respect to a normal distribution and with values in the range of 120.00 Hz to 192.00 Hz.
Due to the difficulty of locating the higher frequency components, it was not possible to use their data for the characterization of the signal, since they present great variation in their minimum and maximum values. Thus, it was analyzed only the relationship between the magnitude of the fundamental frequency and the magnitude of the frequency by the difference between the 2nd component and the fundamental frequency, both obtained by the CAEA algorithm (FFT method), being obtained a sample mean of 2.05, with a dispersion given by the standard deviation of 0.96, with an accentuation (kurtosis coefficient of of 2.93) and slightly asymmetric (coefficient of asymmetry of 1.61) in relation to a normal distribution and with values in the range of 1.01 to 6.06.

3.3. Analysis of the Wing Beat Signal Generated by A. fraterculus and C. capitata

In the analysis of the wing beat signal generated by A. fraterculus and C. capitata were utilized the signal characteristics obtained through the CAEA algorithms-autocorrelation method (fundamental frequency), CAEA-FFT method (fundamental frequency) and CAEA-FFT method (frequency measured by the difference between the fundamental frequency and the frequency of the 2nd harmonic).
Figure 26 presents the comparison between the normal curves for the fundamental frequencies for A. fraterculus and C. capitata obtained through the CAEA algorithm (autocorrelation method), location of the peak in the CAEA algorithm (FFT method) and the frequency relation between the peak of the 2nd component and the peak of the fundamental frequency in the CAEA algorithm (FFT method). Note that a distinction is made between the two species in relation to the fundamental frequency of wing beat and the difference frequency between the 2nd component and the fundamental frequency, despite the overlap in the limit of the normal distributions.
From the evaluation performed, it is possible to obtain the probability that a passing event of A. fraterculus is identified as C. capitata, or vice versa, calculating the cumulative probability for a normal distribution based on the intersection of the curves. With this overlap, a probability of 0.0042 was obtained for the fundamental frequency by the CAEA algorithm (autocorrelation method) that an event of A. fraterculus is identified as C. capitata and a probability of 0.0073 that a C. capitata event is identified as A. fraterculus. For the evaluation with the fundamental frequency obtained by location of the peak in the CAEA algorithm (FFT method), it was obtained a probability of 0.0201 that an event of A. fraterculus is identified as C. capitata and a probability of 0.0270 that a C. capitata event is identified as A. fraterculus. In the case of the evaluation with the frequency obtained by the relation between the peak of the 2nd component and the fundamental frequency peak in the CAEA algorithm (FFT method), a probability of 0.0375 was obtained that an event of A. fraterculus is identified as C. capitata and a probability of 0.0479 that an event of C. capitata be identified as A. fraterculus.
Regarding the analysis of data concerning the magnitudes, C. capitata has a mean magnitude ratio of 1.79 with a dispersion given by the standard deviation of 0.64 and A. fraterculus has a mean magnitude ratio of 2.05 with one dispersion given by the standard deviation of 0.65. Due to the overlapping of values, it is not possible to use the relationship between the magnitude of the fundamental frequency and the magnitude of the 2nd component for species recognition.
Analyzing the signs of events of passage with the methods of the CAEA algorithm, it was possible to extract the characteristics concerning the fundamental frequency (autocorrelation and FFT methods), frequency of the 2nd component (FFT method), the magnitude of the fundamental frequency (FFT method) and magnitude of the 2nd component (FFT method). It was observed that the use of phototransistors as receiving elements did not allow the correct evaluation of the characteristics referring to the 3rd to 5th components. This occurred due to the degradation of the signal spectrum in the upper frequencies that made it difficult to correctly locate the peaks corresponding to the components. This problem was also observed in [11].
With the characteristics of the extracted signal, the fundamental frequency of the wing beat of fruit flies was obtained using the value obtained by the CAEA algorithm (autocorrelation and FFT methods) and the difference between the frequencies of the 2nd component and the fundamental frequency by the CAEA algorithm (FFT method). Observing the statistical measures performed and the probability of identification errors occurring among the fruit flies analyzed, it was verified that the most effective method to obtain the fundamental frequency of the signal generated by the wing beat is CAEA algorithm (autocorrelation method) followed by obtaining the CAEA algorithm (FFT method) and finally that the frequency measurement of the difference between the 2nd component and the fundamental frequency presented the worst result for the classification.
However, it was observed that all three methods have measurement errors. The CAEA algorithm (autocorrelation method) presented erroneous measurements with values corresponding to half of the expected value for the fundamental frequency.The CAEA algorithm (FFT method) presented erroneous measures for the fundamental frequency with values corresponding to twice the correct fundamental frequency (next to what would be the frequency of the second component). For the frequency measurement of the difference between the 2nd component and the fundamental frequency, the CAEA algorithm (FFT method) presented values below and above that expected for the fundamental frequency. With these measurement errors, an A. fraterculus can be incorrectly identified as a C. capitata using the fundamental frequency obtained by the CAEA algorithm (FFT method), once this error indicates a frequency close to the fundamental frequency of C. capitata, as well as the measurement of the fundamental frequency by the CAEA algorithm (autocorrelation method) of a C. capitata, may present an error that approximately corresponds to the fundamental frequency of A. fraterculus. Therefore, to minimize fundamental frequency measurement errors, the best results are obtained by using the three methods together.

3.4. Dataset

The dataset obtained by the wing beat signal generated by A. fraterculus contains 17 h of raw signal, separated in signal tracks of one hour each, with easier signal processing software. With the analysis through the PEDA algorithm, 466 events of passage were located. Being that 66 of these events were labeled for the standard group and analyzed in the characterization of the signal corresponding to the wing beat of A. fraterculus using the CAEA algorithm, the remaining 400 events were not analyzed in the scope this work. For the 66 events of passage analyzed, it was possible to measure the fundamental frequency of the signal by the CAEA algorithm (autocorrelation method) in all. For the fundamental frequency obtained by location of the peak in the CAEA algorithm (FFT method), it was possible to perform the measurement in 48 events and 18 events presented measurement errors with values above 200 Hz. In the case of the frequency obtained by the difference between the frequency of the 2nd component and the fundamental frequency both obtained by the location of its peaks in the CAEA algorithm (FFT method), it was possible to perform the measurement in 62 events, and four events presented measurement errors with values above 200 Hz. Values with measurement errors were considered outliers and taken from the dataset for characterization of the wing beat signal generated by A. fraterculus.
The dataset obtained by the wing beat signal generated by C. capitata contains 17 h of raw signal, separated in signal tracks of one hour each, with easier signal processing software. With the analysis through the PEDA algorithm, 1010 events of passage were located. Being that 111 of these events were labeled for the standard group and analyzed in the characterization of the signal corresponding to the wing beat of C. capitata, the remaining 899 events were not analyzed in the scope of this work. For the 111 events of passage analyzed, it was possible to measure the fundamental frequency of the signal by the CAEA algorithm (autocorrelation method) in all. For the fundamental frequency obtained by location of the peak in the CAEA algorithm (FFT method), it was possible to perform the measurement in 97 events and 14 events presented measurement errors with values above 280 Hz. In the case of the frequency obtained by the difference between the frequency of the 2nd component and the fundamental frequency both obtained by the location of its peaks in the CAEA algorithm (FFT method), it was possible to perform the measurement in 100 events, six events presented measurement errors with values above 280 Hz and five events presented measurement errors with values below 70 Hz. Values with measurement errors were considered outliers and taken from the dataset for characterization of the wing beat signal generated by C. capitata.

4. Conclusions

This work presented a study and development of a real-time optoelectronic detection of insects. Based on the study, an optoelectronic sensor was developed to be used in the detection of fruit fly species A. fraterculus and C. capitata.
Regarding the fruit fly experiments, the characterization of the wing beat signal generated by A. fraterculus and C. capitata was performed using the developed optoelectronic sensor. For A. fraterculus, the fundamental frequency of the wing beat signal was determined with 113.75 ± 2.04 Hz with a confidence level of 95%, with a dispersion given by the standard deviation of 7.97 Hz. C. capitata presenting a fundamental frequency of the wing beat signal generated with the value of 160.81 ± 2.02 Hz with a confidence level of 95%, with a dispersion given by the standard deviation of 10.71 Hz. Both results were obtained with the CAEA algorithm (autocorrelation method), which was considered the most effective method for the extraction of characteristics.
A dataset of the wing beat signal generated by A. fraterculus and C. capitata captured by the developed optoelectronic sensor was elaborated. The A. fraterculus dataset has 17 h of raw signal recording, separated in one-hour signal tracks with 466 event-of-passage signals located through the PEDA algorithm (RMS method). Of these, 66 events were selected and analyzed for signal characterization generated by the beat wings of A. fraterculus. For C. capitata, the dataset has 17 h of raw signal recording separated in one-hour signal tracks with 1010 event-passing signals located through the PEDA algorithm (RMS method). Of these, 111 events were selected and analyzed for the wing beat signal generated by C. capitata.
Finally, with the strong evidence that the optoelectronic sensor presented can be used in an intelligent trap, the authors expect to build, deploy and collect field data to extend the findings of this work. Future work includes improvements in the sensor for lower power, analyzing the wing beat signal generated by wild flies, better detection characteristics, evaluating classifiers for be applied to insect recognition, telemetry and in the years following, collecting data currently not available in part of the globe.

Author Contributions

Conceptualization, F.S.M., D.E.N., T.S. and V.S.d.R.; Data curation, F.S.M. and V.S.d.R.; Formal analysis, F.S.M. and V.S.d.R.; Investigation, F.S.M., D.E.N., T.S. and V.S.d.R.; Methodology, F.S.M., D.E.N., T.S. and V.S.d.R.; Resources, F.S.M., D.E.N. and T.S.; Software, F.S.M. and V.S.d.R.; Validation, F.S.M., D.E.N., T.S. and V.S.d.R.; Visualization, F.S.M. and V.S.d.R.; Writing—original draft, F.S.M.; Writing—review and editing, D.E.N., T.S. and V.S.d.R.

Funding

This research received no external funding.

Acknowledgments

The fruit flies A. fraterculus and C. capita were yielded by Embrapa Clima Temperado—Pelotas/RS. This project has been registered in the National System of Management of Genetic Heritage and Associated Traditional Knowledge of Brazil (SisGen) no. AA0E5E8.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
RMSRoot mean square
AutAutocorrelation
DCDirect current
FFTFast Fourier transform
F0Fundamental frequency
F12nd component frequency
F23rd component frequency
F34th component frequency
F45th component frequency
M0Fundamental frequency magnitude
M12nd component magnitude
M23rd component magnitude
M34th component magnitude
M45th harmonic magnitude
X ¯ Arithmetic mean
S x Sample standard error
SSample standard deviation
S ( % ) Sample standard deviation percentage
KKurtosis coefficient
A s Coefficient of asymmetry
HSample range
M i n Minimum sample value
M a x Maximum sample value
LED-IRInfrared light emitting diode
MFBMultiple feedback
MagMagnitude
CAEAAlgorithm of automatic extraction of characteristics
PEDAAlgorithm of detection of events of passage

Appendix A. Statistical Descriptive Measures of the Data Concerning the Standard Group of A. fraterculus and C. capitata

The statistical descriptive measures of the frequencies and magnitude characteristics of the wing beat signal generated by A. fraterculus are presented in Table A1 and Table A2 (complete data) and in Table A3 and Table A4 (outlier values removed). Table A5 and Table A6 (complete data) and Table A7 and Table A8 (outliers values removed) present the statistical descriptive measures of the frequency and magnitude characteristics of the wing beat signal generated by C. capitata.
Table A1. Statistical descriptive measures of the frequency data of the standard group of A. fraterculus.
Table A1. Statistical descriptive measures of the frequency data of the standard group of A. fraterculus.
X ¯ ( Hz ) S x ( Hz ) S ( Hz ) S ( % ) K As H ( Hz ) Min ( Hz ) Max ( Hz )
F0 Aut.113.751.027.977.01−0.54−0.0533.8695.52129.38
F0 FFT146.466.1447.9332.72−1.060.86148.0094.00242.00
F1 FFT264.497.9962.3823.592.041.46284.00192.00476.00
F2 FFT391.5910.7183.6321.363.991.53462.00272.00734.00
F3 FFT512.9013.22103.2320.130.920.92499.00332.00831.00
F4 FFT630.1314.41112.5217.860.650.63581.00390.00971.00
F1-F0 FFT118.034.0031.2826.507.782.76155.0084.00239.00
F2-F0 FFT245.138.2664.5326.333.981.88352.00153.00505.00
F3-F0 FFT366.4410.3981.1322.140.230.81389.00213.00602.00
F4-F0 FFT483.6711.6190.7018.750.230.38471.00271.00742.00
Table A2. Statistical descriptive measures of the magnitude data of the standard group of A. fraterculus.
Table A2. Statistical descriptive measures of the magnitude data of the standard group of A. fraterculus.
X ¯ ( Mag ) S x ( Mag ) S ( Mag ) S ( % ) K As H ( Mag ) Min ( Mag ) Max ( Mag )
M0-FFT536.1228.48222.4341.493.141.541148.92245.601394.52
M1-FFT249.3416.12125.9150.502.281.37589.5468.08657.63
M2-FFT116.935.4942.8736.662.400.97242.1331.57273.69
M3-FFT74.333.5627.8337.44−0.500.53120.1718.97139.14
M4-FFT50.622.5820.1339.77−0.100.6287.4610.9998.45
M0/M12.410.120.9238.29−0.060.763.581.074.66
M0/M24.860.241.8437.830.931.177.932.5410.46
M0/M37.730.393.0539.451.431.1814.843.1517.99
M0/M411.650.665.1344.073.101.4727.473.9331.39
M1/M22.160.090.7434.31−0.490.442.991.014.00
M2/M31.640.070.5131.0912.072.583.331.014.34
M3/M41.530.050.3824.810.040.871.521.012.53
Table A3. Statistical descriptive measures of data without outliers by frequency measurement of the standard group of A. fraterculus.
Table A3. Statistical descriptive measures of data without outliers by frequency measurement of the standard group of A. fraterculus.
X ¯ ( Hz ) S x ( Hz ) S ( Hz ) S ( % ) K As H ( Hz ) Min ( Hz ) Max ( Hz )
F0 Aut.113.751.027.977.01−0.54−0.0533.8695.52129.38
F0 FFT116.41.5310.098.67−0.72−0.35148.0094.00132.00
F1 FFT258.667.0954.4721.062.801.47284.00192.00476.00
F2 FFT381.758.3764.3016.84−0.840.37264.00272.00536.00
F3 FFT496.0210.9682.7616.690.630.53430.00332.00762.00
F4 FFT626.6313.51103.7816.560.060.35488.00390.00878.00
F1-F0 FFT110.501.6612.5611.36-0.640.19155.0084.00136.00
F2-F0 FFT237.806.6050.7321.331.191.35227.00153.00380.00
F3-F0 FFT359.429.4472.4720.16-0.300.60307.00213.00520.00
F4-F0 FFT477.5610.2077.0416.13-0.460.30321.00322.00643.00
Table A4. Statistical descriptive measures of the data without outliers by magnitude measurement of the standard group of A. fraterculus.
Table A4. Statistical descriptive measures of the data without outliers by magnitude measurement of the standard group of A. fraterculus.
X ¯ ( Mag ) S x ( Mag ) S ( Mag ) S ( % ) K As H ( Mag ) Min ( Mag ) Max ( Mag )
M0-FFT536.1228.48222.4341.493.141.541148.92245.601394.52
M1-FFT249.3416.12125.9150.502.281.37589.5468.08657.63
M2-FFT116.935.4942.8736.662.400.97242.1331.57273.69
M3-FFT74.333.5627.8337.44−0.500.53120.1718.97139.14
M4-FFT50.622.5820.1339.77−0.100.6287.4610.9998.45
M0/M12.260.100.7533.26−0.660.442.851.073.92
M0/M24.540.191.4131.140.220.835.672.548.20
M0/M37.420.332.5634.53−0.190.7210.303.1513.45
M0/M411.040.594.4840.586.291.7527.473.9331.39
M1/M22.100.090.6832.26−0.870.262.581.013.59
M2/M31.600.050.3723.38−0.050.451.531.012.54
M3/M41.510.050.3623.74−0.110.811.391.012.39
Table A5. Statistical descriptive measures of the frequency data of the standard group of C. capitata.
Table A5. Statistical descriptive measures of the frequency data of the standard group of C. capitata.
X ¯ ( Hz ) S x ( Hz ) S ( Hz ) S ( % ) K As H ( Hz ) Min ( Hz ) Max ( Hz )
F0 Aut.160.811.0210.716.660.110.4149.76140.15189.91
F0 FFT182.435.2455.2630.293.292.15230.00134.00364.00
F1 FFT345.687.9884.0724.323.821.80461.00190.00651.00
F2 FFT520.5010.76113.3121.771.940.95659.00300.00959.00
F3 FFT690.6013.81145.5121.070.440.51748.00362.001110.00
F4 FFT834.5815.81166.6219.96−0.070.31759.00484.001243.00
F1-F0 FFT163.254.8951.5231.5613.422.63419.0050.00469.00
F2-F0 FFT338.068.4989.4026.441.430.79487.00154.00641.00
F3-F0 FFT508.1711.64122.6124.130.680.40661.00223.00884.00
F4-F0 FFT652.1413.95146.9322.530.230.31716.00326.001042.00
Table A6. Statistical descriptive measures of the magnitude data of the standard group of C. capitata.
Table A6. Statistical descriptive measures of the magnitude data of the standard group of C. capitata.
X ¯ ( Mag ) S x ( Mag ) S ( Mag ) S ( % ) K As H ( Mag ) Min ( Mag ) Max ( Mag )
M0-FFT428.5814.03147.8634.500.410.61767.45157.28924.73
M1-FFT237.4511.51121.2651.072.771.42678.2670.60748.86
M2-FFT103.544.6949.4147.722.351.40267.1322.20289.33
M3-FFT64.983.2934.6453.311.891.32181.6817.23198.91
M4-FFT42.162.0021.0749.971.161.14105.4013.11118.51
M0/M12.100.101.0348.802.251.545.061.016.06
M0/M24.740.212.2146.703.751.6013.061.4314.49
M0/M37.860.373.8949.472.601.4720.772.3923.16
M0/M411.850.535.5546.792.851.4232.142.8134.96
M1/M22.500.111.2047.983.131.486.781.007.78
M2/M31.740.060.6637.952.841.593.461.004.46
M3/M41.590.050.5132.252.831.462.711.023.73
Table A7. Statistical descriptive measures of data without outliers by frequency measurement of the standard group of C. capitata.
Table A7. Statistical descriptive measures of data without outliers by frequency measurement of the standard group of C. capitata.
X ¯ ( Hz ) S x ( Hz ) S ( Hz ) S ( % ) K As H ( Hz ) Min ( Hz ) Max ( Hz )
F0 Aut.160.811.0210.716.660.110.4149.76140.15189.91
F0 FFT162.251.3313.068.050.330.4467.00134.00201.00
F1 FFT329.145.3754.7916.652.340.91295.00190.00485.00
F2 FFT510.399.2696.2418.86−0.360.22441.00300.00741.00
F3 FFT668.5511.84120.7918.07−0.010.00589.00362.00951.00
F4 FFT820.2314.67151.7918.51−0.200.09702.00484.001186.00
F1-F0 FFT158.001.4914.9509.45−0.03−0.0472.00120.00192.00
F2-F0 FFT331.747.8481.5024.571.310.58473.00154.00627.00
F3-F0 FFT494.8310.03102.3220.680.500.03549.00223.00772.00
F4-F0 FFT645.2212.40127.1019.700.020.19603.00353.00956.00
Table A8. Statistical descriptive measures of the data without outliers by magnitude measurement of the standard group of C. capitata.
Table A8. Statistical descriptive measures of the data without outliers by magnitude measurement of the standard group of C. capitata.
X ¯ ( Mag ) S x ( Mag ) S ( Mag ) S ( % ) K As H ( Mag ) Min ( Mag ) Max ( Mag )
M0-FFT428.5814.03147.8634.500.410.61767.45157.28924.73
M1-FFT237.4511.51121.2651.072.771.42678.2670.60748.86
M2-FFT103.544.6949.4147.722.351.40267.1322.20289.33
M3-FFT64.983.2934.6453.311.891.32181.6817.23198.91
M4-FFT42.162.0021.0749.971.161.14105.4013.11118.51
M0/M12.050.090.9646.992.931.615.061.016.06
M0/M24.430.161.6637.570.190.697.621.439.05
M0/M37.320.293.0241.190.700.8915.222.3917.61
M0/M411.360.454.7141.451.210.9724.122.8126.94
M1/M22.310.090.9038.980.230.723.861.004.87
M2/M31.670.060.5834.504.731.743.461.004.46
M3/M41.560.040.4629.541.511.162.341.023.36

References

  1. Szyniszewska, A.M.; Tatem, A.J. Global assessment of seasonal potential distribution of Mediterranean fruit fly, Ceratitis capitata (Diptera: Tephritidae). PLoS ONE 2014, 9, e111582. [Google Scholar] [CrossRef] [PubMed]
  2. MAPA. Agricultura Destina R$ 128 mi Contra Moscas-Das-Frutas. Available online: http://www.brasil.gov.br/economia-e-emprego/2015/09/agricultura-destina-r-128-mi-contra-moscas-das-frutas (accessed on 10 January 2019).
  3. Malavasi, A.; Nascimento, A. Programa Biofábrica Moscamed Brasil. Simpósio de Controle Biológico 2003, 8, 52. [Google Scholar]
  4. Nava, D.E.; Botton, M. Bioecologia e controle de Anastrepha fraterculus e Ceratitis capitata em pessegueiro. Embrapa Uva e Vinho-Documentos (INFOTECA-E). Available online: https://www.infoteca.cnptia.embrapa.br/handle/doc/889693 (accessed on 15 December 2018).
  5. Unwin, D.; Ellington, C. An optical tachometer for measurement of the wing-beat frequency of free-flying insects. J. Exp. Biol. 1979, 82, 377–378. [Google Scholar]
  6. Mankin, R.W.; Malavasi, A.; Aquino, C. Acoustical comparisons of calling songs from Anastrepha species in Brazil. In Fruit Fly Pests: A World Assessment of Their Biology and Management; McPheron, B.A., Steck, G.J., Eds.; CRC Press: Boca Raton, FL, USA, 1996; pp. 37–42. [Google Scholar]
  7. Batista, G.E.; Keogh, E.J.; Mafra-Neto, A.; Rowton, E. SIGKDD demo: Sensors and software to allow computational entomology, an emerging application of data mining. In Proceedings of the 17th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Diego, CA, USA, 21–24 August 2011; pp. 761–764. [Google Scholar]
  8. Chen, Y.; Why, A.; Batista, G.; Mafra-Neto, A.; Keogh, E. Flying insect classification with inexpensive sensors. J. Insect Behav. 2014, 27, 657–677. [Google Scholar] [CrossRef]
  9. Silva, D.F.; Souza, V.M.; Ellis, D.P.; Keogh, E.J.; Batista, G.E. Exploring low cost laser sensors to identify flying insect species. J. Intell. Robot. Syst. 2015, 80, 313–330. [Google Scholar] [CrossRef]
  10. Potamitis, I.; Rigakis, I.; Fysarakis, K. The electronic McPhail trap. Sensors 2014, 14, 22285–22299. [Google Scholar] [CrossRef] [PubMed]
  11. Potamitis, I.; Rigakis, I.; Fysarakis, K. Insect biometrics: Optoacoustic signal processing and its applications to remote monitoring of McPhail type traps. PLoS ONE 2015, 10, e0140474. [Google Scholar] [CrossRef] [PubMed]
  12. Potamitis, I.; Rigakis, I. Novel noise-robust optoacoustic sensors to identify insects through wingbeats. IEEE Sens. J. 2015, 15, 4621–4631. [Google Scholar] [CrossRef]
  13. Potamitis, I.; Rigakis, I. Large aperture optoelectronic devices to record and time-stamp insects wingbeats. IEEE Sens. J. 2016, 16, 6053–6061. [Google Scholar] [CrossRef]
  14. Potamitis, I.; Rigakis, I.; Tatlas, N.A. Automated surveillance of fruit flies. Sensors 2017, 17, 110. [Google Scholar] [CrossRef] [PubMed]
  15. Moraes, F.S.; Nava, D.E.; da Rosa, V.S. Optoacoustic intelligent sensor for real-time detection of fruit flies in McPhail traps. In Proceedings of the 2018 3rd International Symposium on Instrumentation Systems, Circuits and Transducers (INSCIT), Bento Gonçalves, Brazil, 27–31 August 2018; pp. 1–6. [Google Scholar]
  16. Pertence, A., Jr. Amplificadores Operacionais e Filtros Ativos-8; Bookman: Porto Alegre, Brazil, 2015. [Google Scholar]
  17. Nunes, A.M.; Costa, K.Z.; Faggioni, K.M.; Costa, M.d.L.Z.; da Silva Gonçalves, R.; Walder, J.M.M.; Garcia, M.S.; Nava, D.E. Dietas artificiais para a criação de larvas e adultos da mosca-das-frutas sul-americana. Pesquisa Agropecuária Brasileira 2013, 48, 1309–1314. [Google Scholar] [CrossRef] [Green Version]
  18. Hyatt, C.J.; Maughan, D.W. Fourier analysis of wing beat signals: Assessing the effects of genetic alterations of flight muscle structure in Diptera. Biophys. J. 1994, 67, 1149–1154. [Google Scholar] [CrossRef]
  19. Runger, G.C. Estatística Aplicada e Probabilidade Para Engenheiros; Editora LTC: Rio de Janeiro, Brazil, 2009. [Google Scholar]
  20. R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2018. [Google Scholar]
  21. Ghasemi, A.; Zahediasl, S. Normality tests for statistical analysis: A guide for non-statisticians. Int. J. Endocrinol. Metabol. 2012, 10, 486. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Fruit flies C. capita and A. fraterculus.
Figure 1. Fruit flies C. capita and A. fraterculus.
Sensors 19 01254 g001
Figure 2. McPhail trap during peach orchard monitoring.
Figure 2. McPhail trap during peach orchard monitoring.
Sensors 19 01254 g002
Figure 3. Optoelectronic sensor base with emitter and receiver circuits (left) and optoelectronic sensor ready for use (right).
Figure 3. Optoelectronic sensor base with emitter and receiver circuits (left) and optoelectronic sensor ready for use (right).
Sensors 19 01254 g003
Figure 4. Proposal of a McPhail intelligent trap using the developed sensor optoelectronic sensor.
Figure 4. Proposal of a McPhail intelligent trap using the developed sensor optoelectronic sensor.
Sensors 19 01254 g004
Figure 5. Diagram in sensor circuit blocks.
Figure 5. Diagram in sensor circuit blocks.
Sensors 19 01254 g005
Figure 6. Evaluated configurations for the transimpedance circuit.
Figure 6. Evaluated configurations for the transimpedance circuit.
Sensors 19 01254 g006
Figure 7. Bode diagram, with the Bode Magnitude plot (a) and the Bode Phase plot (b), of analog high-pass filter implemented.
Figure 7. Bode diagram, with the Bode Magnitude plot (a) and the Bode Phase plot (b), of analog high-pass filter implemented.
Sensors 19 01254 g007
Figure 8. Bode diagram, with the Bode Magnitude plot (a) and the Bode Phase plot (b), of analog of analog low-pass filter implemented.
Figure 8. Bode diagram, with the Bode Magnitude plot (a) and the Bode Phase plot (b), of analog of analog low-pass filter implemented.
Sensors 19 01254 g008
Figure 9. System used in the experiment to measure the signal of fruit flies, with the detail of the positioning of the PVC pipe and the sensor.
Figure 9. System used in the experiment to measure the signal of fruit flies, with the detail of the positioning of the PVC pipe and the sensor.
Sensors 19 01254 g009
Figure 10. Signal extract captured with brightness fluctuations in I, II, III, IV and V.
Figure 10. Signal extract captured with brightness fluctuations in I, II, III, IV and V.
Sensors 19 01254 g010
Figure 11. Results of the RMS value using threshold one obtained with the PEDA algorithm applied to the signal of Figure 10, with passages detected in I, II and V and disregarded in III and IV.
Figure 11. Results of the RMS value using threshold one obtained with the PEDA algorithm applied to the signal of Figure 10, with passages detected in I, II and V and disregarded in III and IV.
Sensors 19 01254 g011
Figure 12. Stored signal window based on insect passage detection.
Figure 12. Stored signal window based on insect passage detection.
Sensors 19 01254 g012
Figure 13. Results of the CAEA algorithm (autocorrelation method) with a fundamental frequency in 100 Hz.
Figure 13. Results of the CAEA algorithm (autocorrelation method) with a fundamental frequency in 100 Hz.
Sensors 19 01254 g013
Figure 14. Frequency spectrum of the signal obtained by the CAEA algorithm (FFT method).
Figure 14. Frequency spectrum of the signal obtained by the CAEA algorithm (FFT method).
Sensors 19 01254 g014
Figure 15. Anastrepha fraterculus passing event signal classified in the standard group.
Figure 15. Anastrepha fraterculus passing event signal classified in the standard group.
Sensors 19 01254 g015
Figure 16. Anastrepha fraterculus passing event signal not classified in the standard group.
Figure 16. Anastrepha fraterculus passing event signal not classified in the standard group.
Sensors 19 01254 g016
Figure 17. Results of the CAEA algorithm (autocorrelation method) graph of the A. fraterculus passing event of the standard group.
Figure 17. Results of the CAEA algorithm (autocorrelation method) graph of the A. fraterculus passing event of the standard group.
Sensors 19 01254 g017
Figure 18. Frequency spectrum of the signal of an event of passage of the standard group of A. fraterculus obtained by the CAEA algorithm (FFT method).
Figure 18. Frequency spectrum of the signal of an event of passage of the standard group of A. fraterculus obtained by the CAEA algorithm (FFT method).
Sensors 19 01254 g018
Figure 19. Graphics of the visual evaluation of the data obtained with the events of passage of A. fraterculus of the standard group without removal of outliers.
Figure 19. Graphics of the visual evaluation of the data obtained with the events of passage of A. fraterculus of the standard group without removal of outliers.
Sensors 19 01254 g019
Figure 20. Frequency spectrum obtained by the CAEA algorithm (FFT method) with peak location error referring to the fundamental frequency of A. fraterculus of the standard group.
Figure 20. Frequency spectrum obtained by the CAEA algorithm (FFT method) with peak location error referring to the fundamental frequency of A. fraterculus of the standard group.
Sensors 19 01254 g020
Figure 21. The CAEA algorithm (autocorrelation method) graph with peak location error referring to the fundamental frequency of A. fraterculus of the standard group.
Figure 21. The CAEA algorithm (autocorrelation method) graph with peak location error referring to the fundamental frequency of A. fraterculus of the standard group.
Sensors 19 01254 g021
Figure 22. Graphics of the visual evaluation of the data obtained with the events of passage of A. fraterculus of the standard group with removal of outliers.
Figure 22. Graphics of the visual evaluation of the data obtained with the events of passage of A. fraterculus of the standard group with removal of outliers.
Sensors 19 01254 g022
Figure 23. Ceratitis capitata passing event signal of the standard group.
Figure 23. Ceratitis capitata passing event signal of the standard group.
Sensors 19 01254 g023
Figure 24. Graphics of the visual evaluation of the data obtained with the events of passage of the C. capitata of the standard group without removal of outliers.
Figure 24. Graphics of the visual evaluation of the data obtained with the events of passage of the C. capitata of the standard group without removal of outliers.
Sensors 19 01254 g024
Figure 25. Graphics of the visual evaluation of the data obtained with the events of passage of C. capitata of the standard group without outliers.
Figure 25. Graphics of the visual evaluation of the data obtained with the events of passage of C. capitata of the standard group without outliers.
Sensors 19 01254 g025
Figure 26. Comparison between the normal curves for fundamental frequency by the CAEA algorithm (autocorrelation method) (F0 Aut.), fundamental frequency by the CAEA algorithm (FFT method) (F0 FFT) and frequency by the difference between the frequencies of the 2nd component and the fundamental frequency by the CAEA algorithm (FFT method) (F1-F0 FFT) of the events of passage of C. capitata of the standard group and A. fraterculus of the standard group.
Figure 26. Comparison between the normal curves for fundamental frequency by the CAEA algorithm (autocorrelation method) (F0 Aut.), fundamental frequency by the CAEA algorithm (FFT method) (F0 FFT) and frequency by the difference between the frequencies of the 2nd component and the fundamental frequency by the CAEA algorithm (FFT method) (F1-F0 FFT) of the events of passage of C. capitata of the standard group and A. fraterculus of the standard group.
Sensors 19 01254 g026

Share and Cite

MDPI and ACS Style

Sandrini Moraes, F.; Edson Nava, D.; Scheunemann, T.; Santos da Rosa, V. Development of an Optoelectronic Sensor for Detecting and Classifying Fruit Fly (Diptera: Tephritidae) for Use in Real-Time Intelligent Traps. Sensors 2019, 19, 1254. https://doi.org/10.3390/s19051254

AMA Style

Sandrini Moraes F, Edson Nava D, Scheunemann T, Santos da Rosa V. Development of an Optoelectronic Sensor for Detecting and Classifying Fruit Fly (Diptera: Tephritidae) for Use in Real-Time Intelligent Traps. Sensors. 2019; 19(5):1254. https://doi.org/10.3390/s19051254

Chicago/Turabian Style

Sandrini Moraes, Fabiano, Dori Edson Nava, Tiago Scheunemann, and Vagner Santos da Rosa. 2019. "Development of an Optoelectronic Sensor for Detecting and Classifying Fruit Fly (Diptera: Tephritidae) for Use in Real-Time Intelligent Traps" Sensors 19, no. 5: 1254. https://doi.org/10.3390/s19051254

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

Article Metrics

Back to TopTop