Next Article in Journal
Solid-State Rotary Friction-Welded Tungsten and Mild Steel Joints
Previous Article in Journal
An Improved Method Based on EEMD-LSTM to Predict Missing Measured Data of Structural Sensors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Improvement of Fiber Bragg Grating Wavelength Demodulation System by Cascading Generative Adversarial Network and Dense Neural Network

1
School of Innovation and Entrepreneurship, North University of China, Taiyuan 030051, China
2
School of Information and Communication Engineering, Hainan University, Haikou 570228, China
3
School of Biomedical Information and Engineering, Hainan Medical University, Haikou 571199, China
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2022, 12(18), 9031; https://doi.org/10.3390/app12189031
Submission received: 24 August 2022 / Revised: 2 September 2022 / Accepted: 6 September 2022 / Published: 8 September 2022
(This article belongs to the Section Optics and Lasers)

Abstract

:
A high-performance, low-cost demodulation system is essential for fiber-optic sensor-based measurement applications. This paper presents a demodulation system for FBG sensors based on a long-period fiber grating (LPG) driven by artificial intelligence techniques. The LPG is applied as an edge filter to convert the spectrum drift of the FBG sensor into transmitted intensity variation, which is subsequently fed to the proposed sensor demodulation network to provide high-precision wavelength interrogation. The sensor demodulation network consists of a generative adversarial network (GAN) for data augmentation and a dense neural network (DNN) for wavelength interrogation, the former addresses the drawback that traditional machine learning models rely on a large-scale dataset for satisfactory performance, while the latter is used to model the relationship between transmitted intensity and wavelength for demodulation. Experiments demonstrate that the proposed system has excellent performance and can achieve wavelength interrogation precision of ±3 pm. In addition, the effectiveness of the GAN is demonstrated. With a wide demodulation range, high performance, and low cost, the system can provide a new platform for fiber-optic sensor-based measurement applications.

1. Introduction

Fiber Bragg gratings (FBGs) are essential candidates for sensing different parameters (e.g., temperature, strain, refractive index, etc.) due to their unique properties. Numerous research works have shown that they can be used as nonelectrical sensors in biomedical measurements and structural health monitoring (SHM) [1,2,3]. Before obtaining information about external perturbations, the center wavelength of the FBG sensor used needs to be effectively interrogated, as its center wavelength can send shifts due to changes in external physical quantities.
Any central wavelength shift by the FBG is presented through spectral encoding. Therefore, an interrogation technique is needed to decode the spectral changes. Edge filter demodulation is more suitable for wavelength interrogation systems for FBG sensors due to its rapidity and cost effectiveness compared to interferometric demodulation [4,5], CCD spectroscopy [6], and scanning demodulation [7]. It converts the sensing signal into an optical power using the linear filtering characteristics of the filter and achieves wavelength interrogation by measuring the change in optical power. Many literature sources in these areas use Fabry–Perot (FP) filters, wavelength division multiplexers (WDM) or coarse WDM (CWDM) [8,9], FBG filters (FBGFs), and highly birefringent fiber ring mirrors as edge filters. For example, Chen et al. [10] used a symmetric F-P interferometric cavity to demodulate the central wavelength shift of FBGs, which broadened the dynamic demodulation range. Davis et al. [8] achieved a low-loss all-fiber system by demodulating FBGs using the reflective spectral ramp of a wavelength-division multiplexer. However, these methods are subject to certain limitations, such as the tedious demodulation process due to the uncertainty of the interferometric spectrum of the F-P interference filter and the existence of a large flat region in the spectrum of the WDM/CWDM that severely limits the demodulation range.
Long-period fiber gratings (LPGs) are widely used in all-fiber FBG demodulation systems due to their low insertion loss, wide bandwidth, and low cost. Zhang et al. [11] used LPGs to demodulate small wavelength shifts. They cascaded LPG as filters in FBGs multiplexing to provide a low-cost demodulation system for FBG sensors. Pachava et al. [12] built an FBG demodulation system based on LPG and photodiodes that can be used for level, specific gravity, and static and dynamic measurement applications. Zou et al. [13] developed an FBG demodulation system based on a cascaded long-period fiber grating (CLPG) technique for simultaneous demodulation of two wavelength-matched FBG sensors, and the proposed system can be used in dynamic strain measurements. Zhou et al. [14] used a long-period grating-based FBG demodulation system to monitor seismic waves, providing a highly sensitive, high-speed detection system that can be used for seismic exploration. Yet, attempts to improve the precision of these demodulation systems often rely on cascading more LPG or providing higher-specification equipment, which is contrary to the expectation of low cost and low complexity.
With the rapid development of artificial intelligence (AI) in recent years, intelligent photonics has attracted the attention of more and more researchers [15,16,17,18,19,20,21,22,23,24,25,26]. For example, AI techniques are applied to unique optical fiber design [24], optical imaging [16], and fiber optic sensor demodulation systems [18]. AI algorithms, especially machine learning (ML), have also been introduced in LPG-based FBG interrogation systems. For example, Sun et al. [27,28] used two LPG combined with artificial neural networks (ANNs) to simultaneously measure temperature and curvature and an LPG-ANN-based design to sense many different parameters, such as strain, etc. Barino et al. [29] completed FBG-array-based LPG sensor interrogation using an ANN. Even though these neural-network-based LPG-based FBG interrogation methods provide superior performance compared to traditional solutions, the need to provide a large amount of a prior data for model training means that the experimenter needs to spend a lot of effort to acquire experimental data, which makes them less cost effective. For this, Chen et al. [25] used an interpolation-based data augmentation method to improve the demodulation precision of fiber optic sensors. Sridevi et al. [30] proposed using an auto-encoder (AE) model to generate large-scale datasets to enhance neural network’s performance. However, the data distributions generated by these methods may deviate significantly from the original data distribution, making it difficult to obtain positive results when the data set is sufficiently small.
This paper cascades a generative adversarial network (GAN) and a dense neural network (DNN) to solve the above problems to propose a high-precision, low-complexity, and highly cost-effective LPG-based FBG interrogation system. The system uses LPG to filter the FBG reflected light and convert the sensing signals from FBG sensors to optical power signals. These optical power signals are fed to the GAN to accomplish nonintrusive data augmentation. Then, these data are fed into the DNN to establish the relationship between the optical power and the central wavelength to achieve wavelength demodulation. Experiments show that the proposed system can obtain a powerful generalization performance based on small-scale raw datasets with excellent wavelength interrogation of ±3 pm. In addition, the effectiveness of GAN and the superiority of the proposed demodulation algorithm over traditional machine learning algorithms are demonstrated.

2. Principle of LPG-Based FBG Demodulation

An FBG is a reflective optical filter that reflects only one wavelength and consists of a periodic alternating structure embedded in a small fiber length with an enhanced refractive index. This produces an in-line Bragg reflector that reflects a singular wavelength given by the reference [3].
λ B = 2 n e f f Λ ,
where λ B is the Bragg wavelength reflected by FBG, n e f f is the effective refractive index (RI) of the fiber core, and Λ denote the grating spacing. The value of Λ and the effective RI change when the FBG is subjected to strain, thus changing λ B . LPG is a transmission grating with loss peaks at specific wavelengths in the transmission spectrum. The falling and rising edges of the LPG spectrum can be used to interrogate the FBG, i.e., the wavelength drift, which is converted to the peak power shift of the FBG. When some perturbation (e.g., strain) is applied, the peak of the FBG is shifted, and accordingly, the output of the photodetector is changed. The power detected by the photodetector can be estimated as Equation (2) [31].
P = P in R s ( λ ) T s ( λ ) d λ ,
where P i n is the input power and R s ( λ ) and T s ( λ ) are the reflection and transmission spectra of FBG and LPG, respectively. The central wavelength of the FBG sensor caused by external perturbations leads to a shift in the FBG reflection spectrum hair at the edge of the LPG spectrum, which results in a change in the detector power.

3. Design of the FBG Demodulation System

3.1. Optical System

The proposed FBG demodulation system as shown in Figure 1. The laser in the C + L band emitted by the ASE light source (BBS, 1528–1603 nm) passes through the annulus into the FBG sensor to be measured. The light reflected by it is delivered to the LPG used for demodulation. In this case, the overlapping area between the reflected spectrum of the FBG sensor and the spectrum of the LPG sensor is considered the transmitted intensity. According to the edge filtering method, the change in transmitted intensity due to the change in the central wavelength of the FBG sensor caused by external perturbations is the key to dynamically interrogating the central wavelength of the FBG sensor. The transmitted intensity is captured by the optical power meter and fed back to the sensor demodulation neural network, which completes the absolute interrogation of the central wavelength of the FBG sensor in the case of horizontal stretching.

3.2. Sensor Demodulation Neural Network

In the demodulation system shown in Figure 1, a sensor demodulation neural network was used to accurately model the complex nonlinear relationship between the transmitted intensity and the central wavelength of the FBG sensor. The network consists of two neural networks: a generative adversarial network (GAN) and a dense neural network (DNN). It is worth noting that the GAN were not in effect when the system was applied, as they were used for data augmentation. Subsequently, we will describe them in detail.
Generative Adversarial Network (GAN): A prerequisite for machine learning algorithms to achieve acceptable results in modeling various types of nonlinear relationships is the availability of large-scale datasets, which are time consuming and laborious to collect. We proposed using GAN to perform offline, noninvasive augmentation of the original dataset before DNN training. GAN, first presented by Goodfellow et al. [32], is an adversarial model widely used in image generation. The overall structure of our proposed GAN for data augmentation is shown in Figure 2a. The GAN consists of a generator (G) and a discriminator (D), two independent networks; their specific structures are shown in Figure 2b. The G receives a random noise and generates a vector similar to the input data. This generated vector is then dimensionally superimposed with the actual data vector from the optical system and sent to the discriminator for training. The D is used to determine the authenticity of the data it receives, where “Real” means that the data distribution is close to the actual data. In contrast, “Fake” means that the data generated by the G deviate from the actual data distribution. During training, G tries to deceive D, while D tries not to be fooled by the G. The performance of both models can be improved after alternate optimization training, and the ultimate goal of training a GAN is to obtain a generative model with optimal performance, from which the data generated can be infinitely close to the actual distribution. Explicitly, the training of the GAN is a “min-max” game that gradually converges through the optimization of a loss function that is designed for G and D. Theoretically, the smaller the loss, the higher the model’s performance. Specifically, the loss function is defined as Equation (3).
L o s s G A N = min G max D E x p data [ log D ( x ) ] + E z p z [ log ( 1 D ( G ( z ) ) ) ] ,
where Z is the random noise that is fed into the G, G and D is the generator and discriminator.
Dense Neural Network (DNN): The architecture of DNN is shown in Figure 2c. The DNN responsible for the central wavelength interrogation in the sensor demodulation neural network was used to receive data generated from the optical system and the GAN for training, modeling the nonlinear relationship between intensity (I)-central wavelength ( λ ), which can be expressed as λ = D N N ( I ) . The error back-propagation mechanism is used in the training process, which is divided into three main steps: forward propagation, back-propagation, and stochastic gradient descent. Each sample is first passed into the DNN to calculate the final output error. This step estimates how much error each neuron in the previously hidden layer contributed to the output, and continues to calculate how much error the last layer contributes until it reaches the input layer. Finally, a stochastic gradient descent algorithm is applied in each hidden layer to optimize the parameters of that layer. The ultimate goal of using the error back-propagation mechanism is to minimize the loss function. Explicitly, the loss function of DNN can be established as Equation (4).
L o s s D N N = 1 m i = 1 m λ i λ ^ i 2 ,
where m is the total number of training datasets, λ i and λ ^ i represents the actual value and prediction value of the FBG central wavelength, respectively.

4. Experiments and Discussion

4.1. Experimental Setup

We completed the experiments using the system shown in Figure 1. The FBG sensor was fixed as a stress sensor on a motorized translation table driven by a stepper motor that stretched the sensor in different steps to apply horizontal stress. The experiments were conducted at a constant room temperature of 26 °C. The initial state of the FBG sensor used is shown in Figure 3a. During the stretching process, the motorized translation table stretched the FBG sensor fixed on it once every three seconds. The stretching process can be divided into two stages, and the ranges and stretching lengths of the two processes are shown in the Table 1. In the first stage, the motorized translation table worked at a progression of 5 μm per stretch. In the second stage, the motorized translation table worked at an advance of 10 μm per stretch, allowing data diversity to improve the generalization performance of the subsequent training model. The drift of the FBG reflection spectra during the whole stretching process is shown in Figure 3b. The reflection spectrum of the LPG sensor used as a linear filter is shown in Figure 3c. The change in the transmitted intensity of the LPG was due to the change in the FBG reflection spectrum caused by the stress application, and the value was recorded by an optical power meter. The optical spectrum analyzer (YOKOGAWA, OSA AQ6370D) recorded the actual spectral change of the FBG sensor while the FBG sensor was stretched to serve as a reference value. The real spectra and transmitted intensity were recorded point to point to construct the dataset.
The dataset generated from the above information was first fed into the GAN for training to perform data augmentation. Before training the GAN, these data were divided into the training, test, and validation dataset after being randomly disrupted in the ratio of 80%, 10%, and 10%, with no overlapping part. During the training of the GAN, RMSprop and Adam were selected as the optimizers for the G and D, respectively, and the initial learning rates (LR) of G and D were preset to 0.001. A learning rate decay strategy was adopted to prevent them from overfitting, which can be formulated as Equation (5).
L R = L R e α N ,
where the L R and L R denotes the learning rate after decay and before decay, respectively, α is the factor of decaying that is a constant, and N represents the total number of model iterations. In addition, the strategy of alternate training of G and D was adopted, i.e., G was trained once every five times of D training to ensure that G could generate data distributions closer to the ground truth.
After that, the data generated by the GAN were fed into the DNN for training along with the data generated by the optical system. The dataset was randomly disrupted between 80% and 20%, divided into training and validation datasets. Furthermore, the test dataset was collected and built by collecting data from additional continuous stretching experiments with no overlap between them. During the training of the DNN, Adam was employed as the optimizer, and the initial learning rate was preset to 0.0001. In addition, the training was performed using an early stopping strategy, i.e., once the loss did not decrease after 10 iterations, the training was stopped immediately, and the model was saved to prevent model overfitting.
All models in this work were built on the Pytorch, and all algorithms were run on the Intel Core i7-9750H CPU (2.6GHz) and Geforce RTX2080 Max-Q GPU (8GB).

4.2. Evaluation Metrics of Demodulation Performance

To evaluate the performance of the proposed demodulation system, MSE (Mean Square Error), MAE (Mean Absolute Error), R 2 , and RMSE (Root Mean Square Error) were chosen as performance evaluation metrics, which can be expressed as Equations (6)–(9).
M S E = 1 m i = 1 m y i y ^ i 2 ,
M A E = 1 m i = 1 m y i y ^ i ,
R M S E = 1 m i = 1 m y i y ^ i 2 ,
R 2 = 1 i y ^ i y i 2 i y ¯ i y i 2 ,
where y i is the center wavelength of the FBG sensor measured by OSA, y ^ i denote the FBG center wavelength output by the proposed system, y ¯ represent the average of the central wavelength acquired by OSA, and m denotes the number of samples. The smaller the RMSE, MSE, and MAE, the lower the model’s wavelength interrogation error. R 2 is an evaluation metric of the fitted regression’s effect. The closer it is to one, the better the model effect.

4.3. Results and Discussion

Before completing the demodulation of the FBG sensor center wavelength, the data generated by the GAN needs to be input to the DNN along with the original data for training. The results of data augmentation using GAN are shown in Figure 4. The data generated using GAN does not affect the original dataset, and the intensity and wavelength distributions in the generated dataset are consistent with those in original dataset, which were 3.5–4.5 nW and 1544–1551 nm, respectively, as shown in Figure 4a,b. In addition, the dataset generated by GAN is highly diverse, and the number of samples is much more significant than in the original dataset. Specifically, the size of the generated dataset is one hundred times larger than that of the original dataset, as shown in Figure 4c,d.
The dataset acquired in the additional continuous stretching experiments was selected as a test dataset for the well-trained model, and the test results are shown in Figure 5. In addition, the wavelength demodulation error distribution using DNN alone and the combination of GAN and DNN are shown in Figure 6. The demodulation error was used to reflect the system’s precision, defined as the difference between the wavelength interrogated by the system and the wavelength measured by the OSA. The wavelength interrogation of the FBG sensor using DNN alone has a demodulation error distribution in the range of ±0.03 nm. The demodulation error is within ±0.006 nm when the GAN and DNN were combined, which means that the combination of GAN+DNN can achieve pm-level wavelength interrogation precision. In summary, the superiority of the proposed demodulation system in demodulation performance was demonstrated.
The demodulation errors of DNN as well as traditional machine learning algorithms such as support vector regression (SVR), linear regression (LR), and Gaussian regression (GPR), and the errors using GAN for demodulation on top of them are quantified as shown in Table 2. During the training of these algorithms, a training dataset consistent with the training of the proposed neural network algorithm was used. The model with data augmentation using GAN was significantly lower than the original model without GAN in terms of maximum, minimum, and average errors, which implies that our proposed GAN for demodulation data augmentation has a significant advantage in improving the model’s interrogation precision. Moreover, the proposed system (GAN + DNN) can achieve wavelength interrogation with precision of at least ±3 pm.
The four performance evaluation metrics mentioned in Section 4.2 were utilized to evaluate their performance comprehensively and verify the superiority of the proposed neural network model. In addition, the performance of these traditional machine learning methods combined with the proposed GAN was also calculated to evaluate their effectiveness fully. The statistics of the evaluation metrics are shown in Table 3. DNN performs significantly better than LR, SVR, and GPR when used alone as a sensor demodulation neural network, as reflected by the nearly tenfold difference in RMSE, MSE, MAE, and corresponding metrics of DNN on the test dataset and the machine learning model used as a reference. The R 2 closer to one implies that the generalization performance and fitting effect of DNN are optimal. Moreover, combining the proposed GAN for data augmentation with LR, SVR, GPR, and DNN provides better performance than when used individually. The proposed sensor demodulation neural network (GAN+DNN) achieves optimal results. These doubly confirm the effectiveness of GAN in the proposed demodulation system and the excellent performance of this system.
The wide demodulation range of the proposed system is reflected in the LPG sensor’s rising and falling edge range of nearly 56.1 nm. However, we could not measure more offset data in that range due to the specifications and experimental conditions of the FBG sensor used. Second, deploying the well-trained sensor demodulation neural network model on a neural network-enabled development board (e.g., FPGA) can replace the optical spectrum analyzer in actual measurements, which significantly reduces the overall cost and complexity of the system and makes large-scale measurements possible. In addition, the rich scalability of the system allows users to directly consider increasing the size of the neural network model to improve the demodulation precision, but this will be accompanied by more resource utilization.
In terms of algorithms, we have compared and analyzed our proposed algorithm with existing algorithms in terms of demodulation metrics and algorithm properties, as shown in Table 4. In terms of interrogation precision, compared to the particle-swarm-optimization-based simulated annealing (PSO-SA) demodulation proposed by Qi et al. [33], variable-step-size & cross-correlation demodulation presented by et al. [34], and cascaded CNN & BPNN demodulation proposed by Chen et al. and Ren et al. [18,35], our proposed models of cascaded GAN and DNN and traditional algorithms of distributed estimation algorithm (EDA) [36] and dynamic calibration algorithm [5] can achieve the same interrogation precision. However, our proposed model significantly outperforms other algorithms regarding algorithmic complexity and data. In terms of algorithmic complexity, the proposed model is based on neural networks, meaning that physical constraints between variables can be ignored to model the complex nonlinear relationship between transmission intensity and central wavelength. In contrast, traditional algorithms must model complex physical relationships between variables on this basis. In terms of data, the optimization calculations of the traditional algorithms [5,33,34,36] and the two mentioned NN-based algorithms [18,35] rely on a large amount of measurement data, which can be unacceptably expensive to collect. In contrast, based on generative adversarial networks, the proposed model achieves excellent performance based on a preliminary small-scale data set, significantly reducing the data collection cost. In addition, the proposed model has significant advantages in generalization performance and scalability due to the customizable design of the scale of the generated data.

5. Conclusions

This paper proposes an FBG demodulation system based on LPG sensors to improve the demodulation precision of the center wavelength of FBG sensors by jointly using GAN and DNN. Among them, GAN achieves data augmentation without affecting the original data. It solves the drawback that traditional machine learning methods rely on large-scale dataset training to perform well, and it dramatically reduces the data collection cost. DNN is responsible for establishing the complex nonlinear relationship between the LPG fiber’s transmitted intensity and the FBG sensor’s central wavelength. Thanks to the data augmentation of GAN, DNN can demodulate the FBG sensor with excellent wavelength interrogation performance with a small number of samples. Experiments on a small-scale raw dataset demonstrated that the proposed neural network model possesses excellent performance compared to traditional machine learning algorithms, and its precision can reach the Pm-level of ±3 pm. Additionally, the effectiveness of GAN is also proved. This low-cost, high-performance demodulation system can provide a novel platform for fiber-optic-based measurement applications.

Author Contributions

Conceptualization, S.C. and B.Y.; methodology, S.C.; formal analysis, S.L.; data curation, S.R.; writing—original draft preparation, S.L.; writing—review and editing, S.C. and B.Y.; visualization, S.R.; supervision, S.C. and B.Y.; funding acquisition, S.C. All authors have read and agreed to the published version of the manuscript.

Funding

The work was funded by National Natural Science Foundation of China (61762033, 61865005, 62175054); Open Project Program of Wuhan National Laboratory for Optoelectronics (2020WNLOKF001); Scientific Research Starting Foundation of Hainan University (KYQD(ZR)1882).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bremer, K.; Wollweber, M.; Weigand, F.; Rahlves, M.; Kuhne, M.; Helbig, R.; Roth, B. Fibre optic sensors for the structural health monitoring of building structures. Procedia Technol. 2016, 26, 524–529. [Google Scholar] [CrossRef]
  2. Murayama, H.; Wada, D.; Igawa, H. Structural health monitoring by using fiber-optic distributed strain sensors with high spatial resolution. Photonic Sens. 2013, 3, 355–376. [Google Scholar] [CrossRef]
  3. Majumder, M.; Gangopadhyay, T.K.; Chakraborty, A.K.; Dasgupta, K.; Bhattacharya, D.K. Fibre Bragg gratings in structural health monitoring—Present status and applications. Sens. Actuators A Phys. 2008, 147, 150–164. [Google Scholar] [CrossRef]
  4. Junjie, B.; Lixin, W.; Changyan, R.; Nianjun, C. Demodulating and calibrating for fiber Bragg grating based on fabry-perot filter. J. Transducer Microsyst. Technol. 2006, 25, 10–11. [Google Scholar]
  5. Zhu, W.; Wang, J.; Jiang, J.; Liu, X.; Liu, T. A high-precision wavelength demodulation method based on optical fiber fabry-perot tunable filter. IEEE Access 2018, 6, 45983–45989. [Google Scholar] [CrossRef]
  6. Das, B.; Chandra, V. Fiber-MZI-based FBG sensor interrogation: Comparative study with a CCD spectrometer. Appl. Opt. 2016, 55, 8287–8292. [Google Scholar] [CrossRef]
  7. Iadicicco, A.; Cusano, A.; Cutolo, A.; Bernini, R.; Giordano, M. Thinned fiber Bragg gratings as high sensitivity refractive index sensor. IEEE Photonics Technol. Lett. 2004, 16, 1149–1151. [Google Scholar] [CrossRef]
  8. Davis, M.; Kersey, A. All-fibre Bragg grating strain-sensor demodulation technique using a wavelength division coupler. Electron. Lett. 1994, 30, 75–77. [Google Scholar] [CrossRef]
  9. Xiong, Y.; Ren, N.; Wu, M.; Liang, H.; Han, J.; Yang, W. Sensitivity-enhanced FBG demodulation system with multi-sideband filtering method. Opt. Commun. 2017, 382, 246–252. [Google Scholar] [CrossRef]
  10. Chen, H.; Liang, Y. Analysis of the tunable asymmetric fiber FP cavity for fiber strain sensor edge-filter demodulation. Photonic Sens. 2014, 4, 338–343. [Google Scholar] [CrossRef]
  11. Zhang, W.; Tong, Z.; Liu, B.; Luo, J.; Dong, X. Research of FBG multiplexing/demodulation on LPG. Passiv. Components Fiber-Based Devices IV 2007, 6781, 941–944. [Google Scholar] [CrossRef]
  12. Pachava, V.R.; Kamineni, S.; Madhuvarasu, S.S.; Putha, K.; Mamidi, V.R. FBG based high sensitive pressure sensor and its low-cost interrogation system with enhanced resolution. Photonic Sens. 2015, 5, 321–329. [Google Scholar] [CrossRef]
  13. Zou, H.; Liang, D.; Zeng, J. Dynamic strain measurement using two wavelength-matched fiber Bragg grating sensors interrogated by a cascaded long-period fiber grating. Opt. Lasers Eng. 2012, 50, 199–203. [Google Scholar] [CrossRef]
  14. Zhou, R.; Qiao, X.; Gao, H.; Wang, R.; Yang, Y.; Zhang, J. Demodulation System Based on Long Period Fiber Grating for Seismic Wave Sensor. In Proceedings of the 2011 Symposium on Photonics and Optoelectronics (SOPO), Wuhan, China, 16–18 May 2011; pp. 1–4. [Google Scholar]
  15. Borhani, N.; Kakkava, E.; Moser, C.; Psaltis, D. Learning to see through multimode fibers. Optica 2018, 5, 960–966. [Google Scholar] [CrossRef]
  16. Sinha, A.; Lee, J.; Li, S.; Barbastathis, G. Lensless computational imaging through deep learning. Optica 2017, 4, 1117–1125. [Google Scholar] [CrossRef]
  17. Marvdashti, T.; Duan, L.; Aasi, S.Z.; Tang, J.Y.; Bowden, A.K.E. Classification of basal cell carcinoma in human skin using machine learning and quantitative features captured by polarization sensitive optical coherence tomography. Biomed. Opt. Express 2016, 7, 3721–3735. [Google Scholar] [CrossRef] [PubMed]
  18. Chen, S.; Yao, F.; Ren, S.; Wang, G.; Huang, M. Cost-effective improvement of the performance of AWG-based FBG wavelength interrogation via a cascaded neural network. Opt. Express 2022, 30, 7647–7663. [Google Scholar] [CrossRef] [PubMed]
  19. Ma, W.; Cheng, F.; Liu, Y. Deep-learning-enabled on-demand design of chiral metamaterials. ACS Nano 2018, 12, 6326–6334. [Google Scholar] [CrossRef]
  20. Rottondi, C.; Barletta, L.; Giusti, A.; Tornatore, M. Machine-learning method for quality of transmission prediction of unestablished lightpaths. J. Opt. Commun. Netw. 2018, 10, A286–A297. [Google Scholar] [CrossRef]
  21. Pan, X.; Wang, X.; Tian, B.; Wang, C.; Zhang, H.; Guizani, M. Machine-Learning-Aided Optical Fiber Communication System. IEEE Netw. 2021, 35, 136–142. [Google Scholar] [CrossRef]
  22. Hegde, R.S. Accelerating optics design optimizations with deep learning. Opt. Eng. 2019, 58, 065103. [Google Scholar] [CrossRef]
  23. da Silva Ferreira, A.; Malheiros-Silveira, G.N.; Hernández-Figueroa, H.E. Computing optical properties of photonic crystals by using multilayer perceptron and extreme learning machine. J. Light. Technol. 2018, 36, 4066–4073. [Google Scholar] [CrossRef]
  24. Chugh, S.; Gulistan, A.; Ghosh, S.; Rahman, B. Machine learning approach for computing optical properties of a photonic crystal fiber. Opt. Express 2019, 27, 36414–36425. [Google Scholar] [CrossRef] [PubMed]
  25. Chen, S.; Yao, F.; Ren, S.; Yang, J.; Yang, Q.; Yuan, S.; Wang, G.; Huang, M. Fabry-Perot interferometric sensor demodulation system utilizing multi-peak wavelength tracking and neural network algorithm. Opt. Express 2022, 30, 24461–24480. [Google Scholar] [CrossRef]
  26. Yuan, S.; Chen, S.; Yang, J.; Yang, Q.; Ren, S.; Wang, G.; Yu, B. Efficient calculation of optical properties of suspended-core fiber via a machine learning algorithm. Appl. Opt. 2022, 61, 5714–5721. [Google Scholar] [CrossRef]
  27. Sun, J.; Chan, C.; Tan, K.; Dong, X.; Shum, P. Application of an artificial neural network for simultaneous measurement of bending curvature and temperature with long period fiber gratings. Sens. Actuators A Phys. 2007, 137, 262–267. [Google Scholar] [CrossRef]
  28. Sun, J.; Chan, C.; Dong, X.; Shum, P. Application of an artificial neural network for simultaneous measurement of temperature and strain by using a photonic crystal fiber long-period grating. Meas. Sci. Technol. 2007, 18, 2943. [Google Scholar] [CrossRef]
  29. Barino, F.O.; dos Santos, A.B. Lpg interrogator based on fbg array and artificial neural network. IEEE Sens. J. 2020, 20, 14187–14194. [Google Scholar] [CrossRef]
  30. Sridevi, S.; Kanimozhi, T.; Ayyanar, N.; Chugh, S.; Valliammai, M.; Mohanraj, J. Deep Learning Based Data Augmentation and Behavior Prediction of Photonic Crystal Fiber Temperature Sensor. IEEE Sens. J. 2022, 22, 6832–6839. [Google Scholar] [CrossRef]
  31. Zhan, Y.; Wu, H.; Yang, Q.; Pei, J.; Yang, X. A multi-parameter optical fiber sensor with interrogation and discrimination capabilities. Opt. Lasers Eng. 2009, 47, 1317–1321. [Google Scholar] [CrossRef]
  32. Goodfellow, I.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative adversarial nets. Adv. Neural Inf. Process. Syst. 2014, 27. [Google Scholar]
  33. Qi, Y.; Li, C.; Jiang, P.; Jia, C.; Liu, Y.; Zhang, Q. Research on demodulation of FBGs sensor network based on PSO-SA algorithm. Optik 2018, 164, 647–653. [Google Scholar] [CrossRef]
  34. Zheng, J.; Yang, H.; Wang, Z.; Liu, Z. Demodulation Algorithm for Fiber Bragg Grating Sensors. Sens. Mater. 2021, 34, 27–35. [Google Scholar] [CrossRef]
  35. Ren, N.; Yu, Y.; Jiang, X.; Li, Y. Improved multi-grating filtering demodulation method based on cascading neural networks for fiber Bragg grating sensor. J. Light. Technol. 2019, 37, 2147–2154. [Google Scholar] [CrossRef]
  36. Zhou, Q.X.; Jiang, H.; Lin, Y.T.; Chen, J. Application of Distributed Estimation Algorithm in Wavelength Demodulation of Overlapping Spectra of Fiber Bragg Grating Sensor Networks. In Proceedings of the 2019 Chinese Control Conference (CCC), Guangzhou, China, 27–30 July 2019; pp. 6320–6324. [Google Scholar]
Figure 1. The proposed FBG demodulation system. The arrows represent the signal flow, and the red dotted box means that this part is not in effect during the actual use of the system.
Figure 1. The proposed FBG demodulation system. The arrows represent the signal flow, and the red dotted box means that this part is not in effect during the actual use of the system.
Applsci 12 09031 g001
Figure 2. Architecture of the proposed sensor demodulation neural network. (a) Overall architecture of the GAN. The shape of the random noise vector is consistent with the generation. (b) Detailed architecture of the generator network (G) and discriminator network (D). G consists of three Linear Leaky ReLu sequences and one Linear Tanh sequence, and the number of neurons in the linear layer is 128-256-512-1024. D consists of two Linear Leaky ReLu sequences and one Linear Sigmoid sequence, and the number of neurons in the linear layer is 512-256-1, and Leaky ReLu, Tanh, and Sigmoid are the activation functions. (c) Detailed architecture of the DNN consists of an input layer, four hidden layers, and an output layer. The number of neurons in the hidden layers is 64-128-256-512, and the activation function is ReLu–ReLu–ReLu–Tanh.
Figure 2. Architecture of the proposed sensor demodulation neural network. (a) Overall architecture of the GAN. The shape of the random noise vector is consistent with the generation. (b) Detailed architecture of the generator network (G) and discriminator network (D). G consists of three Linear Leaky ReLu sequences and one Linear Tanh sequence, and the number of neurons in the linear layer is 128-256-512-1024. D consists of two Linear Leaky ReLu sequences and one Linear Sigmoid sequence, and the number of neurons in the linear layer is 512-256-1, and Leaky ReLu, Tanh, and Sigmoid are the activation functions. (c) Detailed architecture of the DNN consists of an input layer, four hidden layers, and an output layer. The number of neurons in the hidden layers is 64-128-256-512, and the activation function is ReLu–ReLu–ReLu–Tanh.
Applsci 12 09031 g002
Figure 3. (a) The reflection spectrum of the FBG sensor used has an initial state center wavelength of 1544.8 nm and a 3dB bandwidth of 0.15 nm. (b) Changes in the reflection spectrum of the FBG sensor during stretching. The arrow indicates the direction of stretching, the stretching step in the red linear range (stretching step I) is 5 μm, and the stretching step in the blue linear range (stretching step II) is 10 μm. (c) Diagram of the LPG reflection spectrum as a filter with a central wavelength of 1566.7 nm. The blue dashed range (1538.7–1594.8 nm) is the range that can be used for FBG sensor filtering.
Figure 3. (a) The reflection spectrum of the FBG sensor used has an initial state center wavelength of 1544.8 nm and a 3dB bandwidth of 0.15 nm. (b) Changes in the reflection spectrum of the FBG sensor during stretching. The arrow indicates the direction of stretching, the stretching step in the red linear range (stretching step I) is 5 μm, and the stretching step in the blue linear range (stretching step II) is 10 μm. (c) Diagram of the LPG reflection spectrum as a filter with a central wavelength of 1566.7 nm. The blue dashed range (1538.7–1594.8 nm) is the range that can be used for FBG sensor filtering.
Applsci 12 09031 g003
Figure 4. Data augmentation results of the GAN. (a,b) are the original dataset and the GAN-enhanced dataset, respectively, with the intensity in the LPG spectrum on the x-axis and the central wavelength of the FBG on the y-axis. (c,d) are the original dataset and the GAN-augmented dataset, respectively, with the number of dataset samples on the x-axis and the central wavelength of the FBG sensor on the y-axis.
Figure 4. Data augmentation results of the GAN. (a,b) are the original dataset and the GAN-enhanced dataset, respectively, with the intensity in the LPG spectrum on the x-axis and the central wavelength of the FBG on the y-axis. (c,d) are the original dataset and the GAN-augmented dataset, respectively, with the number of dataset samples on the x-axis and the central wavelength of the FBG sensor on the y-axis.
Applsci 12 09031 g004
Figure 5. Demodulation results in the test dataset. The solid brown line is the actual central wavelength value of the FBG sensor measured by OSA, and the solid red line and solid blue represent the demodulation results of the proposed system when DNN acts alone and when GAN and DNN act together, respectively.
Figure 5. Demodulation results in the test dataset. The solid brown line is the actual central wavelength value of the FBG sensor measured by OSA, and the solid red line and solid blue represent the demodulation results of the proposed system when DNN acts alone and when GAN and DNN act together, respectively.
Applsci 12 09031 g005
Figure 6. Histogram of wavelength demodulation error distribution. (a) Error distribution of the DNN. (b) Error distribution of the DNN + GAN (our proposal).
Figure 6. Histogram of wavelength demodulation error distribution. (a) Error distribution of the DNN. (b) Error distribution of the DNN + GAN (our proposal).
Applsci 12 09031 g006
Table 1. Information about the stretching process of FBG sensors.
Table 1. Information about the stretching process of FBG sensors.
Stretching ProcessCentral Wavelength RangeStretching Rate and Length
Stretching stage I1544.8–1548.2 nm5 μm once every 3 s
Stretching stage II1548.2–1550.8 nm10 μm once every 3 s
Table 2. Error statistics for the central wavelength interrogation of different demodulation mode, in which the Linear, RBF, and matern denotes the kernel function of these machine learning algorithms.
Table 2. Error statistics for the central wavelength interrogation of different demodulation mode, in which the Linear, RBF, and matern denotes the kernel function of these machine learning algorithms.
ModelMin. (nm)Max. (nm)Ave. (nm)
LR (Linear)0.03900.48520.2309
GAN + LR (Linear)0.00200.29980.0714
SVR (RBF)0.01850.60020.2931
GAN + SVR (RBF)0.00090.29740.0720
SVR (matern)0.02660.70120.3122
GAN + SVR (matern)0.00420.37800.0757
GPR (RBF)0.00210.56640.3776
GAN + GPR (RBF)0.00030.22260.0401
DNN0.00310.02980.0144
GAN + DNN00.00590.0030
Table 3. Statistical analysis of performance evaluation metrics (RMSE, R 2 , MSE, and MAE).
Table 3. Statistical analysis of performance evaluation metrics (RMSE, R 2 , MSE, and MAE).
ModelKernel functionRMSE R 2 MSEMAE
LR/0.17240.98720.02970.1196
0]*SVRLinear0.13440.99340.01810.0912
RBF0.09940.99610.00990.0806
matern0.17640.98410.03110.1157
GPRRBF0.16560.99000.02740.1134
DNN/0.01710.99970.00030.0145
GAN + LR/0.15320.99110.02350.1019
0]*GAN+SVRLinear0.11640.99680.01210.0811
RBF0.06550.99720.00780.0672
Matern0.12310.98900.02550.0921
GAN + GPRRBF0.13410.99110.02210.0966
GAN + DNN/0.00360.99990.000010.0031
Table 4. Comparison of the proposed method with traditional algorithms (first four counting from top to bottom) and neural network-based methods (penultimate and penultimate third) regarding FBG sensor interrogation precision.
Table 4. Comparison of the proposed method with traditional algorithms (first four counting from top to bottom) and neural network-based methods (penultimate and penultimate third) regarding FBG sensor interrogation precision.
ResearchAlgorithmInterrogation Precision
Qi et al. [33]PSO-SA±10 pm
Zheng et al. [34]Variable-step-size & Crosscorrelation±4 pm
Zhou et al. [36]EDA±3 pm
Zhu et al. [5]Dynamic calibration algorithm±3 pm
Chen et al. [18]Cascaded CNN & BPNN±5.672 pm
Ren et al. [35]Cascaeded BPNN & BPNN±10.39 pm
OursCascaded GAN & DNN±3 pm
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, S.; Ren, S.; Chen, S.; Yu, B. Improvement of Fiber Bragg Grating Wavelength Demodulation System by Cascading Generative Adversarial Network and Dense Neural Network. Appl. Sci. 2022, 12, 9031. https://doi.org/10.3390/app12189031

AMA Style

Li S, Ren S, Chen S, Yu B. Improvement of Fiber Bragg Grating Wavelength Demodulation System by Cascading Generative Adversarial Network and Dense Neural Network. Applied Sciences. 2022; 12(18):9031. https://doi.org/10.3390/app12189031

Chicago/Turabian Style

Li, Shuna, Sufen Ren, Shengchao Chen, and Benguo Yu. 2022. "Improvement of Fiber Bragg Grating Wavelength Demodulation System by Cascading Generative Adversarial Network and Dense Neural Network" Applied Sciences 12, no. 18: 9031. https://doi.org/10.3390/app12189031

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