MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

### Discover what MATLAB® can do for your career.

Asked by mona on 17 Nov 2012

I am currently doing amplitude modulation using three very high frequency sine waves which I getting perfectly after adding all the three due to already set parameters in the simulation parameter box.

The carrier frequency is also very high, up to 3000 Hz, but the scope is displaying is correctly. But after the message signal and carrier are passing through the product, I am not getting amplitude modulated signal. Instead, I am getting a completely zero straight line. My sample time in the Product is 0.0001.

I am pretty sure it has to do something with the product parameters or simulation parameters but I so not sure exactly what it is?

mona on 17 Nov 2012

Message signal is composed of three sine waves, 500 Hz, 1.5kHz and 2.5kHz with different amplitudes (1, 0.5, 0.2) as well. These were distorted but now the step size is reduced in the configuration parameters. Hence I'm getting perfect sine waves. Regarding the carrier, its 20kHz with Amplitude 1. The sine wave which I'm getting in the time scope connected to the carrier is also fine but a bit distorted. But as soon as I am multiplying message signal (sum all sine waves after passing through adder) with carrier, I'm getting a straight line along zero on the x-axis. My product's sample time is 0.0001. Now from this, where could you detect the problem?

Arsalan on 18 Nov 2012

Make sure you have the correct sampling rate again, both at transmitters and receiver. so you sampling rate will be 2.5*(max frequency component) i.e. 3Khz. make sure your are adding the three message signals and then multiplying the sum with the carrier wave. if your scope is working based on a FFT alogorithem then check the FFT paramaters

mona on 18 Nov 2012

What do you mean when you say sampling rate? I am using signal generator basically along with simple time scope and not the one based on FFT.