Sampling Rate Report
Sampling Rate Report
SAMPLING RATE
Prepared by Group 4:
NAME MATRIC NO
MUHAMMAD RIZALUL FAZLI BIN SULAIMAN TM21005
NORFARAH HANA BINTI MOHAMAD YUSOFF TM21006
MUHAMMAD FIRDAUS BIN ROSLI TM21016
AYU ATIEQAH BINTI LIZAM TM21020
1.0 INTRODUCTION
This experiment aims to determine the appropriate sampling rate and block size for the
measurement process. From this experiment, the data acquisition system and virtual
instrumentation can be identified by using Dasylab. Dasylab is software that offers real-time
acquisition, analysis, control, and the ability to create custom graphical user interfaces. In signal
processing, the sampling rate defines as the number of samples per second taken from a
continuous signal to make a discrete or digital signal. The sampling rate also determines the
sound frequency range corresponding to pitch which can be represented in the digital waveform.
The sampling rate that was used was maximum frequency.
2.0 OBJECTIVE
To determine the appropriate sampling rate and block size for the measurement process.
3.0 APPARATUS
This experiment was given to determine the sampling rate and the block size of the sound wave
for the measurement process. The sample rate is the number of measurements of the sound taken
each second. This is a method of converting an analog audio signal into a digital signal. A higher
sample rate captures any higher harmonic or frequencies in the ultra-high range. The virtual
instrumentation used is Dasylab. Dasylab is a graphical programming software for customized
applications without writing code.
Firstly, the Dasylab was installed. Then, set the software. Create new was clicked to create a new
task for the measurement setup. The analog input was clicked from the microphone the
input/output. The analog input was renamed to microphone. From the display, the y/t chart was
clicked and renamed it ed it with sound. Both microphone and sound were connected. The
measurement setup (sampling rate) was changed according to the lab sheet. The initial sampling
rate was the maximum frequency. Sound from the Tone generator app was used. The sound was
set to 681 Hz frequency. Then, the sound was played near the desktop microphone and speaker.
The Dasylab was started to run so the sound wave can be created in the y/t chart. The sound
wave was zoomed in so the wave can be seen clearly. After getting the perfect soundwave. The
cursor was clicked, and the frequency was checked.
Then, the screen was captured. The result was recorded. The same method was used for the
following combinations of sampling rates with constant block sizes. At last, the signal was
displayed in real-time and the result was captured to record.
The signal for sampling rate of 681 Hz has 681 sinusoidal cycles in one second. The signal
produced is not uniform and scattered than the original signal.
The signal for sampling rate of 1362 Hz has 1362 sinusoidal cycles in one second. The signal
produced is not uniform and scattered than the original signal.
The signal for sampling rate of 2043 Hz has 2043 sinusoidal cycles in one second. The signal
produced is not uniform and scattered than the original signal.
The signal for sampling rate of 2724 Hz has 2724 sinusoidal cycles in one second. The signal
produced is not scattered and uniform. The signal produced is almost the same as the original
signal.
6.0 CONCLUSION
In conclusion, the sampling rate with 2724 Hz frequency is accurate. It is caused by too high
frequencies present in the signal for a sample rate. The effect of new frequencies appearing in the
sample signal after reconstruction was not present in the original signal. This is called aliasing.
By using Dasylab software, we have learned to see sound waves. We determined that the higher
the sampling rate, the clearer the soundwave outcomes and the more accurate it will be. When
the sampling rate is low, the soundwave appears low frequency than the original sound.
7.0 REFERENCES
1.https://thewolfsound.com/what-is-aliasing-what-causes-it-how-to-avoid it/#:~:text=Aliasing
%20is%20the%20effect%20of%20new%20frequencies%20appearing%20in%20the,for%20a
%20particular%20sample%20rate.
2.https://forums.ni.com/t5/DASYLab/DASYLAB-QUERIES-on-Sampling-Rate-and-Block-
Size/td-p/676468#:~:text=Generally%2C%20the%20DASYLab%20sampling%20rate,to%20no
%20smaller%20than%20100.
3. https://www.sciencedirect.com/topics/computer-science/aliasing