Block Size Report
Block Size 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
Block Size is a block of data is a group of measurements or readings or values that are housed
together as a packet or array. The standard block size for devices with slow sample rates (2Hz) is
one. On the other hand, devices operating at speeds higher than 100 Hz require a larger block size
to accommodate incoming data demands.
DASYLab processes all its data on a block-by-block basis and passes these blocks around the
worksheet from module to module. A module administration list is created for each module in a
worksheet. A dispatcher allows CPU time for data processing to each module in the list while
DASYLab is running. There is a physical speed limit when allocating CPU time, and it is
determined by the size of your worksheet and the power of your computer. This is so that the
Dispatcher can process all the modules in the list within the confines of the predetermined reaction
time, which is determined by the total sampling rate and block size.
The View>>Status Bar option in DASYLab 10.0 will display the system usage of DASYLab as
well as the needed CPU time as a function of the maximum. We can use this to assess the suitability
of our worksheet's computer processing. If the bar turns more than half red, we might be
approaching an overrun condition, which might call for a higher block size or a slower sampling
rate.
2.0 OBJECTIVE
To determine the appropriate 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 block size of the sound wave for the measurement
process. This is a method of converting an analog audio signal into a digital signal. 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 with sound. Both microphone and sound were connected. The measurement
setup (block size) was changed according to the lab sheet. The initial block size is equal to a 0.5
sampling rate. Sound from the Tone generator app was used. The sound was fixed 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 block size with a constant sampling rate. At last, the signal was
displayed in real-time and the result was captured to record.
6.0 DISCUSSION
From the result collected we can see that for frequency 681 Hz, a block size of 2000 has the greatest
sinusoidal notes and is less noisy compared to block size of 500 and 1000.
Data for block size 500 has ununiform amplitude compared to 1000 and 2000 block size.
The sinusoidal graph generated from block size 2000 has the most beautiful sinusoidal graft
compared to 1000 and 500 block size.
7.0 CONCLUSION
In conclusion, this experiment’s block size helps us to understand how to identify the optimum
block size for measurement and we also can learn how to identify the effect of aliasing in signal
measurement. Other than that, we also can learn how to perform step-by-step procedures using
DasyLab Software. Overall, the block size experiment was successfully able to understand.
8.0 REFERENCES
1.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%20smal
ler%20than%20100
2. https://en.wikipedia.org/wiki/Noisy_data 3
3. https://dsp.stackexchange.com/questions/11258/relationship-between-block-size-and-detected-
frequencies-in-goertzel-algorithm