0% found this document useful (0 votes)
68 views6 pages

Understanding Sampling Rate in Measurement

This document discusses an experiment conducted to determine the appropriate sampling rate and block size for measuring sound waves using Dasylab software. Four different sampling rates were tested: 681 Hz, 1362 Hz, 2043 Hz, and 2724 Hz. The results showed that a sampling rate of 2724 Hz produced a sound wave that was not scattered and was uniform, accurately representing the original 681 Hz tone. It was concluded that using a higher sampling rate results in clearer sound waves that more precisely match the original sound.

Uploaded by

stokin rangup
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views6 pages

Understanding Sampling Rate in Measurement

This document discusses an experiment conducted to determine the appropriate sampling rate and block size for measuring sound waves using Dasylab software. Four different sampling rates were tested: 681 Hz, 1362 Hz, 2043 Hz, and 2724 Hz. The results showed that a sampling rate of 2724 Hz produced a sound wave that was not scattered and was uniform, accurately representing the original 681 Hz tone. It was concluded that using a higher sampling rate results in clearer sound waves that more precisely match the original sound.

Uploaded by

stokin rangup
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

FACULTY OF MECHANICAL & AUTOMOTIVE ENGINEERING TECHNOLOGY

(BTD2412) MECHANICAL MEASUREMENT & INSTRUMENTATION


LABORATORY REPORT

SAMPLING RATE

LECTURER NAME: DR. NURAZIMA BINTI ISMAIL

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 

1. Laptop with built-in microphone and speaker. 


2. DASYLAB 10 software 
3. Tone generator app  
 
4.0 METHODOLOGY 

 
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.  

a. Sampling rate is equal to the maximum frequency 


b. Sampling rate is equal to two times of maximum frequency 
c. Sampling rate is equal to three times of maximum frequency 
4.0 RESULTS

Figure 1: Sampling rate: 681 Hz

Figure 2: Sampling rate: 1362 Hz


Figure 3: Sampling rate: 2043 Hz

Figure 4: Sampling rate: 2724 Hz


5.0 DISCUSSION

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
[Link]://[Link]/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.
[Link]://[Link]/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. [Link]

Common questions

Powered by AI

The Nyquist Theorem states that to avoid aliasing, a signal must be sampled at least twice its highest frequency component. In this experiment, using sampling rates like 1362 Hz and 2724 Hz, which are multiples of the maximum frequency (681 Hz), aligns with this theorem, ensuring that even the highest frequencies are adequately sampled to prevent aliasing and maintain signal integrity .

Application of different sampling rates showed varying effects on sound wave uniformity. Lower rates, like 681 Hz, resulted in a non-uniform, scattered signal, whereas a higher sampling rate of 2724 Hz produced a uniform signal that closely resembled the original sound. This reflects the importance of an adequate sampling rate for signal integrity .

Aliasing occurs when the sampling rate is insufficient to capture the details of the original signal, causing new, spurious frequencies to appear in the reconstructed signal. This can be avoided by using a sampling rate at least twice the maximum frequency present in the signal, as demonstrated by the experiment where a sampling rate of 2724 Hz was found to effectively minimize aliasing .

The experiment showed that a higher sampling rate results in a clearer and more accurate representation of the sound wave. At a sampling rate of 2724 Hz, the signal became uniform and closely resembled the original, minimizing aliasing effects. Lower sampling rates produced scattered signals, demonstrating that they were less effective at accurately capturing the sound .

Dasylab plays a crucial role by providing real-time data acquisition and analysis, allowing users to set sampling rates and visualize sound waves in a user-friendly manner. It enables the creation of customized graphical user interfaces through graphical programming, which simplifies the process of capturing and analyzing the measurement data without needing extensive coding .

The study concluded that utilizing a higher sampling rate, such as 2724 Hz, leads to a uniform and accurate digital representation of the original soundwave. Lower rates resulted in scattered and non-uniform signals, highlighting the necessity for a higher rate to prevent aliasing and accurately capture higher frequency components .

The experiment validated theoretical principles by demonstrating practically that higher sampling rates lead to a more accurate reconstruction of the original sound signal. It illustrated aliasing effects at lower sampling rates, confirming theoretical predictions about sampling insufficiency below the Nyquist rate necessary to preserve signal details .

Dasylab is effective because it allows for real-time soundwave acquisition and analysis without requiring extensive programming knowledge. Its graphical interface streamlines the experiment setup and data visualization processes, making it accessible yet powerful for accurately capturing and analyzing sound measurements .

Block size combined with sampling rate defines how much data is processed at each step. In the experiment, these parameters were varied to assess their effect on capturing sound waves accurately. Adequate sampling rate and block size are pivotal for managing data throughput and ensuring the continuity and accuracy of the recorded digital signal .

Selecting the appropriate sampling rate is critical as it affects the representation of the sound wave. An inadequate sampling rate can introduce aliasing, where new frequencies that were not in the original signal appear after reconstruction. This compromises accuracy. As demonstrated, using a higher sampling rate of 2724 Hz cleared the aliasing effect, resulting in a soundwave that closely matched the original signal .

You might also like