11-26-2008 08:11 PM
11-27-2008 11:40 AM
Hi conxion,
When exporting a wavefrom from the Grapher View window to a TDM or LVM, you have the option to resample your data. In the box labeled 1/delta x, fill in the sampling rate you want for your audio file (e.g. 44.1k). Choosing spline interpolation will also help improve the quality of your audio file.
Which version of Multisim are you using? This will help resolve your questions quickly.
Let us know if this works.
11-30-2008 06:03 PM
Plugging in 44100 Hz solved that issue. Thank you for your help.
I still have another problem.
My signal has 1 kHz noise in it which I am trying to remove. The noise has a very high amplitude. I tried to use first order filters notch filters but they dont produce the desired output, they cutoff to much of the signal.
What kind of filter should I use?
Thanks
12-01-2008 07:47 AM
12-02-2008 10:53 AM
Building a good filter is a mark of a good electrical design engineer. This is difficult, especially with the high requirements of your situation.
However, there is a tool in the Educational and Power Pro version of our software to help you design filters. If you have one of these versions, click on Tools>>Circuit Wizards>>Filter Wizard. You will be able to find a whole slew of filters including the band stop filter that you want.
12-06-2008 12:17 PM
Hi,
I am actually doing the same project I believe the original poster is doing. I tried using a variety of low-pass filters in the complete circuit and found that it did not low-pass anything. All the filter appeared to do was to decrease the voltage of the signal. When I used Multisim's Bode Plotter on just the low-pass filter with a generic AC circuit, the Bode Plotter outputted the magnitude and phase plot of what I expected the low-pass filter should have. However, when I implemented the same low-pass filter into my circuit and connected a Bode-Plotter, it did not output anything in the phase and magnitude plot.
The circuit consists of (from left to right)
1) Comparator to take out a dolphin noise out of the noisy signl (the sound files are too big to attach of course)
2) Low-Pass Filter (1st order RC - while I did other higher order LPFs as well)
3) FET current-source amplifier
Both #1 and #3 components work. It's just the low-pass filter that doesn't for some reason in the circuit. I thought that the way I imported the signal using Matlab's wavread command may have been incorrect. The fact that the other two comoponents worked though makes me think otherwise. I attached my signal .wav converter into a txt file Matlab script.
Can anyone shed light on what's going on? I am using the downloaded trial Educational version 10.1.197 of Multisim
Thanks.
Attached:
CompleteCircuit.ms10
LPFonly.ms10
saveWaveFiles.m
12-06-2008 12:19 PM
I could not attach my Matlab m file to read the two signals from the two *.wav files (noisy and dolphin), but here it is
clear
% Save Dolphin Signal
[DolphinsOnly fsD] = wavread('Dolphins_only.wav');
DolphinsOnly(:, 2) = DolphinsOnly(:, 1);
for i = 1:length(DolphinsOnly),
DolphinsOnly(i, 1) = i / fsD;
end
save('DolphinsOnly.txt', 'DolphinsOnly', '-ASCII');
[NoisySignal fsN] = wavread('Noisy_Signal.wav');
NoisySignal(:, 2) = NoisySignal(:, 1);
for i = 1:length(NoisySignal),
NoisySignal(i, 1) = i / fsN;
end
save('NoisySignal.txt', 'NoisySignal', '-ASCII');
12-08-2008 09:35 AM
Hi Roger,
Your circuit looks fine, however, all your input sources appear to be PWL sources. I believe that the Bode Plotter works only with AC sources. If you replace your input sources with AC sources, this filter appears to work fine.
A word of caution: Your opamp (3288RT) is connected as a differential amplifier. However, its power connections are not connected (pin 5 and pin 4). This does not create any problems with this simulation because of Multisim's 3288RT model, but may create problems with other opamps that you may find in the master database.
As a reminder for the future, if you have your original post resolved, please mark the thread as question answered. Any new questions should be be directed to another thread. This way, other members of the forum can search and find solutions quickly and effectively.
Thanks.
12-08-2008 12:10 PM
Hi Yi Yao,
Thanks for looking at my circuit and telling me that the Bode Plotter doesn't work with AC sources.
After much frustration with simple first and second-order low-pass filters, I followed your suggestion of using the Multisim Filter Wizard. It worked perfectly! Thanks.
I don't know how to mark this post as "Question Answered." I am not the original poster of this thread. Of course, my question is answered.
-Roger C.