| Literature DB >> 31414287 |
Iman Sajedian1,2, Junsuk Rho3,4.
Abstract
We used a deep learning network to find the frequency of a noisy sinusoidal wave. A three-layer neural network was designed to extract the frequency of sinusoidal waves that had been combined with white noise at a signal-to-noise ratio of 25 dB. One hundred thousand waves were prepared for training and testing the model. We designed a neural network that could achieve a mean squared error of 4 × 10-5 for normalized frequencies. This model was written for the range 1 kHz ≤ f ≤ 10 kHz but also shown how to easily be generalized to other ranges. The algorithm is easy to rewrite and the final results are highly accurate. The trained model can find frequency of any previously-unseen noisy wave in less than a second.Entities:
Keywords: Deep learning; Frequency estimation; Neural networks
Year: 2019 PMID: 31414287 PMCID: PMC6694364 DOI: 10.1186/s40580-019-0197-y
Source DB: PubMed Journal: Nano Converg ISSN: 2196-5404
Fig. 1Schematic of the neural network (NN) model. To prepare the noisy sine wave as the input of the NN model we took 2000 samples from each wave. Each data sample is a node in the input layer of the NN model as is shown here. The NN model has three hidden layers with 2, 2, and 3 neurons in the first, second and third, respectively. The output layer has only one node, which represents the desired frequency. The Nesterov Adam optimizer with a learning rate (lr) of 0.001 was used for this model
Fig. 2Training loss and validation loss as the model trains. The code monitors the model’s progress and saves the model with the lowest loss on the validation dataset as the best model. Both of the y-axis curves are shown on a logarithmic scale
Fig. 3Accuracy of the NN model: examples a 1214.5 Hz and b 9128.2 Hz, and zoomed views for c 1214.5 Hz and d 9129.1 Hz
Fig. 4Generalizing the results to other frequencies. A same wave for NN input (black), 1 kHz (red), and 1 GHz (blue). The NN model cannot see the difference between these input waves