Automatic Digital Modulation Detection by Neural Network


Total downloads: 199

In the field of digital communication, modulation is as necessary as to keep it alive. With the advancement of hybrid communication network, the receiver should detect the modulation type automatically. In this MATLAB repository, we present the code to detect the digital modulation automatically using Neural Network.

This Repository contains:

  • MATLAB code
Download Code  Discuss Code


The automatic digital modulation detection is a new technology which applied at the communication receiver to automatically recognize the modulation type of a received signal. In this work, we develop a new automatic modulation recognition system with machine learning that maintains a simple structure and provides higher accuracy. Different types of modulated signals simulated by using the OFDM (Orthogonal Frequency Division Multiplexing). The modulation techniques like QPSK, BPSK, 8PSK, and 16PSK are used for classification. There are three phases of our proposed work: feature extraction, features selection, and modulation classification. In the first step, the OFDM signal is simulated. We extract a total of twelve features from the simulated signal. The block diagram is as:

automatic digital modulation classification block diagram

Problem Statement

Following points are considered as the problem statement;

  • The automatic digital modulation detection is necessary for the communication system as it allows the blind detection of modulation and lowers the circuitry cost of designing the different demodulators at the receiver. The Noise in the medium also keeps on changing the behavior of the modulated signal. The automatic modulation classification makes the communication receiver adaptive.
  • The digital modulation detection work is based on various signal features that might not contribute towards classification accuracy and just increase the overhead. To get the optimal set of features which only contribute to accuracy, feature selection is an essential step.

Feature Extraction

In this phase, two types of feature sets are extracted and combined. These sets of features are spectral and statistical features. These features are considered from this research paper reference. Here is a list of features:

Spectral Attributes

  • Power spectral density of a signal
  • The standard deviation of the absolute value-centered nonlinear component of the instantaneous phase
  • The standard deviation of direct (non-absolute) value-centered nonlinear component of the instantaneous phase
  • The standard deviation of the absolute value of the normalized instantaneous amplitude of the signal
  • Mean value of the received signal strength on the basis of open distribution called cumulants.
  • The variance of the simulated signal
  • Kurtosis of the normalized centered instantaneous amplitude
  • Kurtosis of the normalized centered instantaneous frequency

Statistical Attributes

  • 2nd, 3rd and 4th cumulants at zero lag

Features Classification

We used the Artificial Neural Network from the machine learning for the classification of automatic digital modulation. The

It is a mathematical model that provides the non-linear relationship between the system input and output.  It also finds the pattern and trend in the complicated data which might be very tough by using another scheme. The training phase of the NN obtains the mathematical model of the problem. In the training phase, the system provided different patterns from a different dataset. The testing phase performs as a classifier in which the classifier performance calculated. The testing phase provides the classification accuracy of the model parameters. A general three-layered diagram of Neural network is

Neural Network Layers-free-thesis

Once the features are extracted, we got an imbalance set of features with a different number of samples for each modulation technique. The bar plot to show the distribution of features

Number of feature samples of each Digital Modulation-free-thesis

This imbalance causes the neural network to bias. So, we used the SMOTE method.

Another application of SMOTE for Age detection can be checked here.

The neural network toolbox requires a training dataset for training purposes so that it can get trained and learn the behavior of data. We don’t have a separate dataset for testing and training, so we divided the present dataset randomly in the 80/20 ratio to use 80% for network training and 20% for testing. MATLAB provides a neural network toolbox that can be used for several purposes and this trained network can be deployed as a standalone application or can generate a script for further use of modifications. We used this facility to speed up our work. A user interface of NN toolbox can be opened by using the command nnstart in MATLAB’s command window.

Since our work is recognizing the pattern of previous input and output, so we will use it in a pattern recognition app which lands to a page to choose the input data and target data. These datasets are picked from the workspace of MATLAB, so these must be there already. After choosing the data division for training and testing of network, the network is created which further leads to a page where the user can input the number of hidden neurons.

Then this network is trained for the loaded dataset and tested with the rest 20% of data. After training mean square error is generated and displayed on the user interface. Thus trained and tested NN by this toolbox can be converted in the form of MATLAB script which is requiring in our work.

Details of Neural network script generation can be checked here.

This code doesn’t include the database generation script. The database used to train the neural network is saved as .mat file for this repository. The complete code with database generation and NN training can be checked here.

admin is an innovative and first of its kind platform created by Vidhilekha Soft Solutions Pvt Ltd, a Startup recognized by the Department For Promotion Of Industry And Internal Trade, Ministry of Commerce and Industry, Government of India recognised innovative research startup.

65 reviews for Automatic Digital Modulation Detection by Neural Network

  1. Farhad (verified owner)

    Your Site is very useful for everyone

  2. d.damodar (verified owner)


  3. ijaganjac (verified owner)

    Very good!

  4. (verified owner)


  5. ranjeet.yadav (verified owner)

    Excellent if received

  6. pham.cong che (verified owner)


  7. pham.cong che (verified owner)

    good project

  8. venkat.reddy (verified owner)


  9. venkat.reddy (verified owner)


  10. (verified owner)

    very good

  11. divya.punia (verified owner)


  12. jitender


  13. theo.kontoh (verified owner)


  14. sameer.kumthekar (verified owner)


  15. sujith (verified owner)


  16. vankani.arjun (verified owner)

    Nice project !!

  17. sameer.kumthekar (verified owner)

    best one

  18. adil.khan (verified owner)


  19. mr.not60 (verified owner)


  20. biswajit.karan (verified owner)


  21. nishad.f (verified owner)


  22. dhayanithi.govindasamy (verified owner)

    Great Learning

  23. hanadi.salman (verified owner)


  24. hanadi.salman (verified owner)


  25. hanadi.salman (verified owner)


  26. arnab.biswas (verified owner)


  27. yousef.qudeisat (verified owner)

    thank you

  28. yousef.qudeisat (verified owner)

    thanks alot

  29. gulbudin.hekmatiar (verified owner)


  30. thiyagarajan.n (verified owner)


  31. thiyagarajan.n (verified owner)


  32. thiyagarajan.n (verified owner)


  33. thiyagarajan.n (verified owner)


  34. play_emma (verified owner)


  35. chou_aib (verified owner)


  36. aditya.singh (verified owner)


  37. chen (verified owner)


  38. alaoui.alaoui (verified owner)


  39. pandiya27 (verified owner)


  40. akbaralipaper (verified owner)


  41. rahil.yadav (verified owner)


  42. saad.ahsan (verified owner)


  43. PADMAPRASADA (verified owner)

    It looks like a good source

  44. PADMAPRASADA (verified owner)


  45. mokhtar.besseghier (verified owner)

    thank you

  46. mokhtar.besseghier (verified owner)

    Thank you

  47. fahadmunir (verified owner)

    thankyou for your support

  48. bijoy.harun (verified owner)

    very helpful

  49. panduranga.terlapu (verified owner)


  50. panduranga.terlapu (verified owner)


  51. manjeet.singh (verified owner)


  52. manjeet.singh (verified owner)


  53. jephtanleanya (verified owner)

    Really great

  54. chakkor (verified owner)

    good nd thank you

  55. sowmya.r (verified owner)

    Very good resources

  56. manishshukla8840 (verified owner)


  57. manishshukla8840 (verified owner)

    na n

  58. manishshukla8840 (verified owner)

    na n

  59. manishshukla8840 (verified owner)

    ZGoog theme but all topics was not covered in this portal

  60. kumar neeraj (verified owner)


  61. manjeet.singh (verified owner)


  62. ftafta

    thank you

  63. ftafta

    thank you so much

  64. bean.bohn (verified owner)


  65. jiayin.fu (verified owner)


Only logged in customers who have purchased this product may leave a review.