Научная статья на тему 'USING DECIMATION AND INTERPOLATION WHEN PROCESSING SIGNALS IN MATLAB'

USING DECIMATION AND INTERPOLATION WHEN PROCESSING SIGNALS IN MATLAB Текст научной статьи по специальности «Компьютерные и информационные науки»

CC BY
190
30
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
innovation / discrete convolution / Matlab / correlation / impulse response / continuous signal / discrete signal / sequences.

Аннотация научной статьи по компьютерным и информационным наукам, автор научной работы — Mokhirakhon Kurbonalievna Khusanova

The increasing demands of time on digital filters require the creation of digital processing filters for discrete signals with different rates, capable of digital processing of signals with different sampling rates. This processing of discrete signals uses the following two operations: decimation and interpolation, which provide an efficient sequential implementation of different transmission rates. Decimation lowers the sample rate by compressing it while retaining the information in the signal. As a result of interpolation, the inverse sampling rate is increased.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «USING DECIMATION AND INTERPOLATION WHEN PROCESSING SIGNALS IN MATLAB»

USING DECIMATION AND INTERPOLATION WHEN PROCESSING

SIGNALS IN MATLAB

Mokhirakhon Kurbonalievna Khusanova

Lecturer, Fergana branch of TUIT named after Muhammad Al-Khorazmiy

ABSTRACT

The increasing demands of time on digital filters require the creation of digital processing filters for discrete signals with different rates, capable of digital processing of signals with different sampling rates. This processing of discrete signals uses the following two operations: decimation and interpolation, which provide an efficient sequential implementation of different transmission rates. Decimation lowers the sample rate by compressing it while retaining the information in the signal. As a result of interpolation, the inverse sampling rate is increased.

Keywords: innovation, discrete convolution, Matlab, correlation, impulse response, continuous signal, discrete signal, sequences.

INTRODUCTION

In the field of audio signal processing, multi-rate processing ensures that the size of the storage device needed to store it is small or that the transmission rate is reduced. Providing relatively inexpensive, high-resolution analog-digital conversion to digital audio signals required a switch to fallback sampling instead of the traditional sequential approach.[1]

Signal processing at different speeds provides efficient implementation of digital signal processing function. For example, implementing digital narrowband finite impulse response filtering using conventional DSP poses several noteworthy problems because such filters require multiple coefficients to be computed to meet stringent frequency response requirements.

The method of processing signals at different rates makes filtering very effective at much lower rates, resulting in a much lower filtering order.[2]

LITERATURE REVIEW

The easiest and easiest way to reduce the sampling rate of a digital signal is to return it to its original analog form and resample it at a different rate. However, the digital-analog conversion process has the following disadvantages: quantization and assembly errors result in significant waveform distortion. Therefore, if the signal is supplied in digital form, it is preferable to process it based on the digital method. Digital Processing at Multiple Rates - Effectively altering the sampling rate of a signal based on a digital technique that uses traditional digital signal processing techniques. For example, DSP can be performed digitally in real time to reduce signal overlap and

reduce the effect of reflection frequency, resulting in dramatic increases in filter slope and phase linearity.

Decimation is a decrease in the sampling frequency of a time-discrete signal by decimating its samples.

Interpolation is the digital equivalent of analog-to-digital conversion, in which the analog signal is reconstructed using interpolation from digital instantaneous values assigned to the input of the digital-to-analog converter.[3]

DISCUSSION

A digital filter converter is used to eliminate signal overlap or reverse frequency loss. The processing speed of signals at different speeds depends on the type and quality of the filter used. Decimation and interpolation can use infinite and finite impulse response filters, but finite impulse response filters are often used.

Downsampling rate.

<> 4MUB К201«Ь -lelxl

HOMf PLOTS APPS IM ECTOR «SERT VIEW 1 Mtrti •

Я J HM Qpon У Saw Pt£ Щ Fmd FÄB _ ^ Compare » ^ Pint ^ Fmd » NAWjATL ы " 1 1 И - _ л ^ tittiiü eax Sfdign 6*Mfc g Яш Seam H-j liun and Advance Пили End StCTÖJ U У - КШ1 Sief1 Slop I

■¿■»as m 1 ► D; » Work * Mrtfil^noi I 05P > flampfel, » ■ffi^ .ruuiutn'FMst ► mulWste ■ fi

В il» Editor 0 \ Wc< k\Mi lnDeniQiVKP\«eimpi«.\D5f _ УаиЬМаДОпйЬгаМ licWIIMnpllnp rNx wa *

downswing, ml* ■.iiKdmpltrq +

Понижение частоты дискретизации в целое число раз

ФорМирОДйнив суммы Д&ун гармонических сигналов с настоишь 1000 Гц и 3400 Гц на частоте дискретизации fa ■ 3DD0D Гц:

Ik ■ 3№вв|

tl • e:l/fnl; fl ■ IMS;

il ■ {«(J'pi'fl'tlij

fi =

ij . 1 j ■ xl + nl;

Ilinitl.l/Liniuidth'.lh titl«i"Hcхпдныи еагиэлL); ili«((> J«-)]);

(rid on;

P*r*i.0d&gr4*(ij t Jj И J^1) J titLiCCneKTp исходного сигнал»'];

Figure 1. Downsampling rate

Consider an example of lowering the frequency of signals in Matlab. In this script, we first form the original signal of the sum of two harmonic signals with frequencies of 1000 Hz and 3400 Hz. And then we downsample the sampling rate by an integer number of times. Original sampling rate FS = 30,000 Hz. Let's look at the signal in the time and frequency domains, and also listen.

On the signal spectrum, we observe clear peaks at 1000 and 3400 Hz.

Now our task is to lower the sampling rate. We will do it three times by a factor of down = 3 and first we will downsample the sample rate using the downsample method, and then with the decimate command.

There is no difference by ear, the time counts do not differ. Aspects peaks at 1000 and 3400 Hz. We downsampled to ten kilohertz.

Figure 2. Downsampling rate

The nyquest zone, that is, the sampling rate in half in our case is limited to five kilohertz. But what happens if you lower the sampling rate by six times. The zone is nyquest, and it moves 2.5 kilohertz, what happens to the 3400 signal? The aliasing effect transforms it into a 1600 Hz signal.

We observe non-observance of the Kotelnikov theorem both on the signal spectrum and when listening. But the decimate command pre-filters the signal.

Thus, only those signals whose frequency does not exceed half the sampling frequency of the output signal fall into the resulting nyquest zone, and we will hear a pure tone of 1000 hertz.

Upsampling rate.

Figure 3. Upsampling rate

RESULTS

Now let's look at some examples of upsampling a harmonic signal in Live Script. Original sine wave signal with a fundamental frequency of 1000 hertz and a sampling rate of 8000 hertz. Let's look at it in the time and frequency domains, and also listen to. On the spectrum, we observe one clear peak in the region of 1000 hertz, and the observation area of the spectrum is limited to 4 kilohertz.

Now let's raise the sample rate by three times using the upsample method. Zeros will appear between the signal samples and the sound will be distorted. But the most interesting thing we see on the signal spectrum. And by raising the sampling rate, we expanded the nyquest zone three times. Now the spectrum contains frequencies from 0 to 12 kilohertz and we clearly observe spectral copies at frequencies of 7 and 9 kilohertz. The spectrum is mirrored in a band of 8 kilohertz and repeats with a period of 8 kilohertz. This is exactly the value of our sample rate. The resulting spectral copies give us three audio tones that distort our audio.

Now let's look at the repeat method, repeating reports also distorts the shape of the sine wave. But less so than adding zeros.

CONCLUSION

The signal is a little more like a 1 kilohertz tone, in the time domain it has fewer sharp drops and spectral copies at 7 and 9 kilohertz are shown to be suppressed relative

to one kilohertz. But the only way to get one tone at an increased sampling rate is by interpolation. It will allow us to get approximate values between real reports of the input signal, but the shape of the interpolated sinusoid does not look distorted. We observe one peak on the spectrum and the signal is indistinguishable from the initial one by ear..

An interpolation process must always be performed before decimation, otherwise some frequency components may be lost due to decimation.

REFERENCES

1. Гольденберг Л. М., Матюшкин Б. Д., Поляк М. Н. Цифровая обработка сигналов. Справочник. — М.: Радио и связь, 1985.

2. Лайонс Р. Цифровая обработка сигналов. — М.: Бином, 2006.

3. Марпл С. Л. (мл.). Цифровой спектральный анализ и его приложения / Пер. с англ. — М.: Мир, 1990.

4. Karimov, U., Kaxarov, S., Yokubjonov, S., & Ziyodov, D. (2018). USING NEW INFORMATION TECHNOLOGIES IN DISTANCE LEARNING SYSTEM.

In НОВАЯ ПРОМЫШЛЕННАЯ РЕВОЛЮЦИЯ В ЗЕРКАЛЕ СОВРЕМЕННОЙ НАУКИ (pp. 9-11).

5. Pulatov, G., Ganiev, S., & Karimova, G. POSSIBILITIES OF INFORMATION TECHNOLOGIES IN ENSURING THE QUALITY OF EDUCATION.

6. Abdurakhmonova, M. M., ugli Mirzayev, M. A., Karimov, U. U., & Karimova, G. Y. (2021). Information Culture And Ethical Education In The Globalization Century. The American Journal of Social Science and Education Innovations, 3(03), 384-388.

7. Karimov, U., & Abdurakhmon, A. (2017). INNOVATIVE INFORMATION TECHNOLOGY IN EDUCATION. Форум молодых ученых, (5), 9-12.

8. Abdullaev, S. S., & Pulatov, G. G. (2016). SECURITY USE CASE AND SECURITY MISUSE CASE. In Современные научно-практические решения и подходы (pp. 41-44).

9. Djalilov, M. L., Abdullaev, S. S., & Pulatov, G. G. (2016). FLUCTUATIONS IN TWO-LAYER PLATE UNDER THE INFLUENCE OF SHOCK LOADS. In Современные научно-практические решения и подходы (pp. 30-33).

10. Karimov, U., & Kasimov, I. (2018). THE IMPORTANCE OF MODERN INFORMATION TECHNOLOGIES IN DEVELOPMENT OF DISTANCE EDUCATION. In Перспективные информационные технологии (ПИТ 2018) (pp. 1186-1187).

11. Каримов, У. У. (2017). РОЛЬ СРЕДСТВ МАССОВОЙ ИНФОРМАЦИИ В ПРОЦЕССЕ ГЛОБАЛИЗАЦИИ. In Перспективные информационные технологии (ПИТ 2017) (pp. 1189-1192).

12. Каримов, У., Хакимова, Д., & Халилов, Л. (2018). ИНФОРМАЦИОННОЕ И КОММУНИКАЦИОННОЕ ТЕХНОЛОГИИ ВЛИЯНИЕ НА ОБРАЗОВАНИЕ В ТЕХНИЧЕСКОМ ОБСЛУЖИВАНИЕ. Мировая наука, (10), 193-197.

13. Каримов, У., & Каримова, Г. (2018). ГЕОПОЛИТИЧЕСКАЯ КОНКУРЕНЦИЯ В ИНФОРМАЦИОННОМ ПРОСТРАНСТВЕ. In Перспективные информационные технологии (ПИТ 2018) (pp. 1368-1372).

14. Пулатов, Г. Г., & Мадалиева, Г. А. (2018). ИССЛЕДОВАНИЕ СВОЙСТВ КАУСТИК ПРИ ПОМОЩИ MAPLETS. In ИННОВАЦИОННОЕ РАЗВИТИЕ НА УКИ И ОБРАЗОВАНИЯ (pp. 30-32).

15. Каримов, У. (2017). ИНФОКОМТЕХНОЛОГИИ (ИКТ) ФОРМИРОВАНИЕ ДУХОВНЫХ ХАРАКТЕРИСТИК ЛИЧНОСТИ. In Перспективные информационные технологии (ПИТ 2017) (pp. 1160-1163).

16. Karimov, U. U., & Karimova, G. Y. (2021). THE IMPORTANCE OF INNOVATIVE TECHNOLOGIES IN ACHIEVING EDUCATIONAL EFFECTIVENESS. Журнал естественных наук, 1(1).

17. Каримов, У., & Каримова, Г. (2021). АХБОРОТ ОКИМИ ВА АХБОРОТ МАДАНИЯТИНИНГ ШАКЛЛАНИШ ТЕНДЕНЦИЯЛАРИ. Scientific progress, 2(3), 743-750.

18. Umaralievich, K. U. SPIRITUAL EDUCATION OF STUDENTS OF PEDAGOGICAL UNIVERSITIES ON THE BASIS OF CULTURAL AND HUMANISTIC APPROACH.

19. Пулатов, Г. Г., & Хакимова, К. А. (2018). ТИПОВЫЕ ПРОБЛЕМЫ ДИСТАНЦИОННОГО ОБРАЗОВАНИЯ. In ИННОВАЦИОННОЕ РАЗВИТИЕ НА УКИ И ОБРАЗОВАНИЯ (pp. 33-35).

20. Latipdjanovich, D. M., Shavkatjonovich, A. S., & Gofurjonovich, P. G. IMPROVE THE STRENGTH OF HMAC BASED ONE TIME PASSWORDS USING SHA3 IN HMAC. НАУЧНО-ПРАКТИЧЕСКИЕ РЕШЕНИЯ И ПОДХОДЫ, 2016, 34.

21. Каримова, Г. Й. (2018). РОЛЬ КОНСТИТУЦИИ В ПОСТРОЕНИИ ПРАВОВОГО ГОСУДАРСТВА И ГРАЖДАНСКОГО ОБЩЕСТВА. Теория и практика современной науки, (2), 161-163.

22. Karimov A., Muxammadjonov X. INFORMATION TECHNOLOGIES: INFORMATION EDUCATION AND INFORMATICS //Экономика и социум. -2020. - №. 8. - С. 40-43.

23. Bozarov, D. M., & Karimova, G. Y. (2021). ROLE OF THE SELF-ORGANIZATION MODEL IN COMPLEX SOCIAL SYSTEMS. Oriental Journal of Social Sciences, 1-9.

24. Rayimov, A. A., & Karimova, G. Y. (2021). SOCIAL ASPECTS OF THE FORMATION OF SOCIAL ACTIVITY IN YOUTH. Oriental Journal of Social Sciences, 29-32.

25. Khusanova, M. K. (2021). ANALYSIS OF DISCRETE CONVOLUTION IN THE MATLAB PROGRAM. Scientific progress, 2(4), 1023-1028.

26. Usmanov, N., Ganiev, B. S., & Karimova, G. Y. (2021). THE PHILOSOPHICAL BASIS FOR THE FORMATION OF SPIRITUAL MATURITY AMONG YOUNG PEOPLE. Oriental Journal of Social Sciences, 33-37.

27. Tokhirov, R., & Rahmonov, N. (2021). Technologies of using local networks efficiently. Asian Journal Of Multidimensional Research, 10(6), 250-254.

28. Pulatov, G., Ganiev, S., & Karimova, G. POSSIBILITIES OF INFORMATION TECHNOLOGIES IN ENSURING THE QUALITY OF EDUCATION.

i Надоели баннеры? Вы всегда можете отключить рекламу.