AM Radio Receiver

Heavily commented simulation of the heterodyne section and demodulating section of an AM receiver
1.2K Downloads
Updated 5 Dec 2023

View License

An array is created that represents the superposition of three separate RF carriers, each modulated at a different audio frequency. This is the kind of signal that could be expected at the output of the LNA, i.e., the entire AM band passed through the RF front end. This signal is multiplied by a local oscillator, passed though an IF filter, and demodulated using a simple envelope detector (half-wave rectifier and single pole LPF). Some plots are created at the end to show the signal at various locations in the receiver.
This file could easily be edited to account for more, less, or different carrier frequencies, modulating signals, etc. The values used in the LO, IF filter, and demodulation sections could all be varied as well to see their effects.
Note: As the program is currently written, the 'Signal Processing Toolbox' and 'Control System Toolbox' are required because of the function calls to butter(), tf(), and c2d(). It is possible that this file could be modified to avoid using those three functions by determining the filter coefficients differently in MATLAB or calculating them using another program, lookup table, etc. and entering them manually.

Cite As

John Jendzurski (2024). AM Radio Receiver (https://www.mathworks.com/matlabcentral/fileexchange/32830-am-radio-receiver), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on RF Toolbox in Help Center and MATLAB Answers
Acknowledgements

Inspired: AM Radio Simulation with audio

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.5.0.0

Corrected some typographical errors in the comments

1.4.0.0

Corrected a typographical error in the description.

1.3.0.0

Changed the summary to indicate that the program could be modified to run without the toolboxes.

1.2.0.0

Added the Control System Toolbox to the list of required products.

1.1.0.0

Just changed the summary to indicate that this submission is heavily commented.

1.0.0.0