Научная статья на тему 'MATHEMATICAL MODELING AND SIMULATION OF A RECTANGULAR PULSE TRANSCEIVER OPERATING IN THE DISCRETE-TIME DOMAIN'

MATHEMATICAL MODELING AND SIMULATION OF A RECTANGULAR PULSE TRANSCEIVER OPERATING IN THE DISCRETE-TIME DOMAIN Текст научной статьи по специальности «Электротехника, электронная техника, информационные технологии»

CC BY
324
8
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
DISCRETE COMMUNICATION SYSTEM / SYSTEM DESIGN / DISCRETE PULSE TRANSCEIVER / FILTERING / CORRELATION RECEIVER

Аннотация научной статьи по электротехнике, электронной технике, информационным технологиям, автор научной работы — Berber Stevan M.

Introduction/purpose: The paper presents the theory and design issues of a discrete-time communication system used for discrete-time pulse transmission with and without filtering. Signals are analyzed in both the time domain and the frequency domain. Methods: The system is theoretically analyzed using block schematics expressed in terms of mathematic operators and the system simulation is performed to confirm the theoretical findings. Results: Discrete-time signals are presented in the time domain and the frequency domain as well as confirmed by a simulation designed in Matlab. Conclusion: The results of the paper contribute to the theoretical modeling and design of modern discrete communication systems.

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

Текст научной работы на тему «MATHEMATICAL MODELING AND SIMULATION OF A RECTANGULAR PULSE TRANSCEIVER OPERATING IN THE DISCRETE-TIME DOMAIN»

Mathematical modeling and simulation of a rectangular pulse transceiver operating in the discrete-time domain

Stevan M. Berber

The University of Auckland,

Department of Electrical, Computer and Software Engineering,

Auckland, New Zealand,

e-mail: s.berber@auckland.ac.nz,

ORCID ID: 1l https://orcid.org/0000-0002-2432-3088

DOI: 10.5937/vojtehg71-43043; https://doi.org/10.5937/vojtehg71-43043

FIELD: electrical engineering, telecommunications ARTICLE TYPE: original scientific paper

Abstract:

Introduction/purpose: The paper presents the theory and design issues of a discrete-time communication system used for discrete-time pulse transmission with and without filtering. Signals are analyzed in both the time domain and the frequency domain.

Methods: The system is theoretically analyzed using block schematics expressed in terms of mathematic operators and the system simulation is performed to confirm the theoretical findings.

Results: Discrete-time signals are presented in the time domain and the frequency domain as well as confirmed by a simulation designed in Matlab. Conclusion: The results of the paper contribute to the theoretical modeling and design of modern discrete communication systems.

Keywords: discrete communication system, system design, discrete pulse transceiver, filtering, correlation receiver.

Introduction

Most of the analyses of modern telecommunication systems are based on the presentation of signals in the continuous-time domain, i.e., as continuous functions of time. Consequently, these systems are known under the name of digital communications systems (Haykin, 2001 ; Proakis, 2001). However, signals of modern communication systems are represented by discrete-time functions and are known under the name of discrete communication systems (Rice, 2009; Berber, 2021; Abramowitz & Stegun, 1972).

This paper aims to present the theoretical base of a discrete communication system assuming that the modulating signal is a

rectangular discrete-time pulse. The content of the paper will include the issues of mathematical modeling and design of a discrete communication system that includes a transmitter, a transmission channel, and a receiver. The signals processed in the system will be presented in the discrete-time domain represented by functions of the discrete-time variable. The system operating in the continuous time domain is named the digital system, while the system operating in the discrete-time domain is named the discrete system (Miao, 2007; Benvenuto et al, 2007).

Modern designs of transmitters and receivers in a communication system are based on digital technology, primarily on FPGA and DSP platforms. These technologies are in extensive use replacing the analog technologies that are used to implement signal processing functions inside both the baseband and intermediate frequency transceiver blocks. These trends in the design of communication systems became possible due to advances in the theory of discrete-time signal processing, and particularly by the development of the mathematical theory of discrete-time deterministic and stochastic processes (Manolakis et al, 2005; Berber, 2009).

In this paper, all signals inside the transmitter and receiver blocks are analyzed in both the discrete-time domain and the frequency domain. Two different structures of the receiver are analyzed; the first with a low-pass filter and the second with a correlator receiver. To understand the consequences of signal filtering, the transceiver is separately analyzed for the case when a filter is used to reduce the spectrum of the modulating signal, and, consequently, to limit the bandwidth of the modulated signal. The presented system structures are expressed in terms of mathematical operators and their operations are explained using exact mathematical expressions. The designed system is simulated to confirm the theoretical model (Quyen et al, 2015; Ingle & Proakis, 2012).

The related powers and energies of the related signals are precisely calculated for an ideal transmission of signals in the noiseless channel and their filtering. These calculations allowed a clear understanding of the transceiver operation and possible losses in signal power caused by signal processing in the transmitter and receiver blocks.

The theory of discrete-time communication systems is of vital importance for researchers, practicing engineers, and designers of communications devices because the design of these devices is impossible without a deep understanding of the theoretical principles and concepts related to their operation in the discrete-time domain (Rice, 2009; Berber, 2021). Modern communication devices, like wireless and cable modems, TV modems, consumer entertainment systems, and satellite

m-

CO

i

CD CO £± O.

c 'ro E o

T3 (D

E ■

(D -t-f (D

T3 (D

cn g

lH

(D

cp

O

(D >

03

(D tl) 13

cp

13

c m o

(D 03

m—

o c

o ^

13

E 00 T3 c 03

"a3

T3

o E

<5 E

(U

<5

co

(U .Q

(D

m

CM ф

о >

со см о см

of

Ш Cd ZD

о о

_J

С О 2: х о ш

I—

>-

а: С

modems are based on the use of digital processing technology and the principles of the discrete-time signal processing theory.

Discrete-time communication system structure and operation

A discrete-time communication system, including the basic operation of signals, is presented in Figure 1. The system is composed of a transmitter, a band-pass noise generator, and two types of receivers. The first receiver will demodulate the received band-pass (BP) signal using a low-pass filter (LPF). The second receiver will use a correlator to demodulate the received discrete pulse and generate binary zero (0) or binary one (1) at the output. These two receivers will be separately analyzed. In the case of the system simulation, a band-pass noise generator should be used to generate BP discrete-time noise that will be added to the modulated discrete-time signal. The BP noise generation and application for the system investigation is a separate topic.

(Л <

-J

CD >Q

X Ш I—

О

z —>

О >

BP Noise Generator

m(n) -M(Q)

sc(n) = cos(^n)

s(n)= m(n) ■ cos(Ocn)

S(Q) S(Q) Transmitter

sdn) = cosmn) A Sm(n) f LPF

SC(Q) Sm(Q) Receiver (*)

mjn)

Md(Q)

Bit "i, 0

Figure 1 - Discrete communication system Рис. 1 - Дискретная система связи Слика 1 - Дискретни телекомуникациони систем

Transmitter operation

Suppose the output of the transmitter is a product of a modulating discrete-time (dt) rectangular pulse m(n) and the discrete-time carrier

sc(n) = cosOcn resulting in a dt modulated signal s(n), expressed in this

form

s(n) = m(n)cosOcn, (1)

as shown in Figure 1. We are to find the expression in the time domain and in the frequency domain of the modulated signal and all signals involved in signal processing, assuming that the dt rectangular pulse is of an amplitude A and a duration N while the frequency of the carrier is Oc.

The rectangular pulse in the time domain and the frequency domain. The graphs of the dt rectangular pulse in the discrete-time domain are presented in Figure 2. The rectangular pulse in the time domain can be expressed in terms of Koronecker's delta function as a convolution of the signal and the delta functions, i.e.,

co

cp cp

ф ф

Ö (Л T3 Ф

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

cn с

Ф cp

о

Ф >

Ф

о

m(n)

\A 0 < n < N-1| 0 otherwise I

N -1

^ m(k)S(n-k) = ^m(k)S(n-k) (2)

к=—<»

к=0

for its amplitude A = 2 and duration N = 8 as shown in Figure 2. The pulse values are defined for each whole number n and have no values in the intervals between neighboring numbers. We can say that the signal does not exist in these intervals. The intervals are used to process the discrete signal values.

m(n)

A

000<Q<OOQQ<<

О О О О ОО ОО

ÖOOOO ООО—

n

0

N

■■ 2.

Figure 2 - Discrete-time modulating signal for N = 8 and A Рис. 2 - Модулирующий сигнал с дискретным временем для N = 8 и A = Слика 2 - МодулишуПи сигнал дискретног времена за N = 8 и A = 2

с о

Е '<л тз

сп ф

тз о

со ф

.Q ф

ш

2

To find the amplitude and magnitude spectral densities of the pulse, we need to find the discrete-time Fourier transform (DTFT) of the modulating signal which is a discrete-time rectangular pulse. Based on the property of Kronecker's delta function, the DTFT of the dt pulse that has A values in the interval from 0 to (N-1) can be expressed in the following form (Berber, 2021)

M(&) = £ m(n)e~Jß" =

n=-œ

N-l œ

= £ m(k) £ ö(n-k)e

œ N-1

£ £ m(k)S(n-k)e

n=-œ k=0

-

N-l n=( N—1)

J^n _V A„-lQk - V A„-lQn

(3)

£ Ae

k=0

k=0

k=n

£ Ae~

n=0

Then, the amplitude spectral density can be calculated as

n=( N-1)

M(&) = £ Ae-J°k = £ Ae-J°n = A1 J = Ae^ß(N-1)/2 Sm(ßN/2)

( J £ k=n £ 1 - e-a

sin(^ /2)

AN

Ae-j°( N-1)/2

sin(^N /2) sin(^ /2)

Q = ±2kn, k = 0, 1,2,3,...

otherwise

. (4)

Having the amplitude spectral density, we can calculate the magnitude spectral density expressed as

AN Q = ±2kn, k = 0, 1,2,3,...'

M (n)\-

A

sin(HN /2)

otherwise

(5)

(6)

sin(Q /2)

and the phase spectral density is expressed as

Q, sin (QN/2)

argM (Q) =--(N -1) + arg—^-,

W 2 V ' sin(Q/2)

which are presented in Figure 3 for the case of N = 8 and A = 2. Note that

the amplitude value of M(Q) for Q= 0 is equal to AN, which can be easily

obtained by calculating this value from the defining expression for the DTFT. The magnitude spectral density M(Q) is a periodic function with a period of 2x. The zeros crossings in this function occur for the condition sin(QN/2) = 0 , i.e., for QoN/2 = kx, k = 1, 2, ..., N-1. For N = 8, we may

have Qo = ±2kx/N = ±kx/4, and k = 1, 2, N-1. The phase discontinuities of x radians occur at the same frequencies.

n=-œ

-п

\M(Q)\/AN 1

-п/4

п/4 п/2 3п/4 п

Q

ZM(Q)\

Q

Figure 3 - Magnitude and phase spectral densities of the modulating signal Рис. 3 - Спектральная плотность колебаний и фазы модулирующего сигнала Слика 3 - Спектрална густина магнитуде и фазе модулишуПег сигнала

The power and energy of the pulse can be calculated in the time domain and in the frequency domain. In the time domain, the power is

1 N-1 1 n=7

Pm = 1 2>2(n) = 1;>>2 = Л2 , (7)

N n=0 8 n=0

and the related energy is calculated as

N-1 n=7

Em = Pm ■ N = ; m2(n) = ; a2 = 8A2. (8)

n=0 n=0

The modulating signal m(n) is an energy signal. Therefore, its energy spectral density can be calculated as

Em (П) = M (^)l2 = A2

sin(^N /2)

(9)

sin(^ /2)

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

This function can be calculated as the DTFT of its autocorrelation function (Berber, 2019). The energy is the integral of the energy spectral density calculated as (Integral calculator, 2023)

1 П Д2 П

Em = -j Em И d°== - j

sin(4^)

sin(^/2)

A

dQ = — 16п = 8A2, (10) 2п

0

2

and the power of the pulse is

Pm = = A' ■ (11)

The energy inside the first arcade (Figure 3) can be calculated as

E - A- f

^ml ^ J

2 n/4

2n -n/4

sin 4Q

A2

dQ- — 45.64495506949089, (12) 2n

sin(Q /2)

and the energy inside both the first and second arcades is

Em1-2 2n J

2 n/2

-n/2

sin 4Q

sin(Q /2)

d Q = — 48.29464599062311, (13) 2n

which corresponds to 90.81% and 96.08% of the total signal energy, respectively. Therefore, if we are filtering the first arcade of the signal, we will use only 90.81% of the signal power.

Discrete-time carrier in the time domain and the frequency domain. Suppose the discrete-time carrier has a unit amplitude, i.e., it is expressed

as sc(n) - cosQn. Suppose the carrier has only Nc = 4 samples per

oscillation. Therefore, we can calculate its frequency Q -2nf/ f -2n/Nc-n/2, and express it in the discrete-time domain as

sc(n) - cosQn - cos2nn / Nc - cosnn /2, (14)

which is shown in the graphical form in Figure 4. The carrier in the frequency domain can be directly found for any Nc simply applying Euler's formula on the time domain signal as

s (n) - l[eiacn + e~jQcn ] - ^[ej 2nn/N + e-j 2nn/Nc ] - 1[ej 2nn/Nc + ej 2nn( N -l)/Nc ] .

For the case analyzed Nc = 4 and Q - n/2 , we may express the carrier in the time domain as

S (n) - 1[ejnn/2 + ejnn3/2], (15)

and in the frequency domain as

S (Q)- Z-S(Q + k 'Q) - nS(Q + Q) + nS(Q-Q) . (16)

k-±1 2

Because this signal is a periodic function of the continuous frequency Q with a period of 2n, it can be represented by a periodic stream of Dirac's delta functions (Papoulis & Pillai, 2002), as presented in Figure 4.

a) "'

b)

5c n)

о ] I < i i 1 • ; i ; i ; ' ?

■ ■ ■■ ,/0\. бббб 6

Sc(Q) 2n/2

n

-ж/2 -ж/4 0 Ж4 Ж2 3ж/4 ж

3ж/2 7Ж/4 2Ж

Figure 4 - a) Waveshape of the carrier, b) related amplitude spectral density Рис. 4 - а) Форма несущей волны, b) относительная спектральная плотность

колебаний

Слика 4 - а) Таласни облик носиоца, б) односна спектрална густина амплитуде

Based on (14), the power of the carrier can be calculated in the time domain as

i n=3 i n=3 i i n=3 i i

P =1Z cosVn/2) =1Z1(1 + cos^) =1Z1 =1 ■ (17)

4 n=0 4 n=0 2 4 n=0 2 2

The carrier is a power signal (Cavicchi, 2000; Berber, 2021). Therefore, its average power is to be calculated in an infinite interval, according to this expression

1 a 1 a 1 12a 1

pc = lim T" Z cos2 СОД = l™ T" Z 7 (1 + cos жп) = um ^ V = 7, (18)

2a 2a ~~ 2 2a 2 2

resulting in the same value as in (17). Because the carrier is a power signal, its energy is expected to be infinite. We can confirm that by calculating the energy of the signal in the frequency domain as

1 œ 1 œ ( o

Ec = — f\s2(n)\dn = — Hz-—S(n+kD) dn

œ

= -J(^2(n + n ) + S(n + nc)S(n-nc) + ^2(n-n ))dn

-œ , (19)

œ œ

= — \s(n + nc )S(n + nc )dn + 0 + - H S(n-nc)S(n-nc )dn - J - J

-œ -œ

-

= - (S(-nc+D )+S(nc -n )) = —>(0) = œ

because the integral of the product of the two delta functions is zero and the integral of the delta function squared can be considered infinity. The infinite energy value can be confirmed by its calculation in the time domain as

a a l —a

Ec = lim V cos- (Dcn) = lim Z _ (l + cos —) = lim — = œ . (20)

a^œ ^^ a^œ ^^ — a^œ —

n=-a n=-a

Modulated signal in the time domain and the frequency domain

Plot the graphs of all signals in the frequency domain assuming that the number of samples of the rectangular pulse is N = 8 and there are two oscillations of the carrier inside the pulse, i.e., one oscillation of the carrier is represented by Nc =4 samples. The rectangular pulse in the discrete-time domain has already been expressed by (2). With a precise definition of the modulating signal m(n) in the time domain, the modulated signal can be expressed in terms of Kronecker delta functions as

N-l N-l

s(n) = m(n) cos Qn = cos

DnZ m(k )S(n-k ) = Z m(k )S(n-k ) cos Dcn

k=0 k=0 , (21)

= A Z S (n-k ) cos n n

k=0

and graphically presented as in Figure 5. We may get the amplitude spectral density of that signal as the convolution of the modulating signal and the carrier in the frequency domain (Berber, 2021), which will give the modulated signal as

1 to

S(n) = M(n) * S (n) = — [ M(A) • S (n — A)dA =

—k j

—to

1 to 9

= — [ M(A) • — ¿(n + n — A)dA + — [M(A) • — ¿(n — nc — A)dA . (22)

J L j L

= 1 M(n + n) +1 M(n — nc)

Based on the expression for the amplitude spectral density of m(n) (5), the required frequency-shifted components in (22) can be expressed as

1 m (n±n)=a e j (n—n )(*—>)'-sin ((f±n) n7-) - v ' - sin ((n±n)/2)

otherwise

, . (23)

AN/2 n±n=±-J, k = 0,1,2,3,...]

A — j(n±n)(N—1)/2 sin N/-)

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

sin ((n±n)/-)

The magnitude spectral density of the modulated signal is presented in Figure 5.

s(n)=m(n)s c(n)

A

a)

о—e—©—о—о—о.....о......О'

ш

гг

О I о—о—о—о

2|ад /AN

b)

/Л 1

-ж/2 -ж/4 0 ж/4 ж/2 3ж/4 ж 5ж/4 3ж/2

Q

Figure 5 - a) Discrete-time waveshape, and b) magnitude spectral density of the

modulated signal

Рис. 5 - а) Форма волны с дискретным временем и b) спектральная плотность модулированного сигнала по величине Слика 5 - а) Таласни облик у дискретном времену, б) спектрална густина магнитуде модулисаног сигнала

n

0

The magnitude spectrum is a periodic function with a period of 2%. The two-sided spectrum of the signal can be investigated inside the bandwidth around the carrier frequency of %/2. We can calculate the signal energy and power in the time domain

N-1 n=7

Es = Ps ■ N = £ s2(n) = £ s2(n) = 4A2 (24)

n=0 n=0

and the power is

p = E /N = 4A2 /8 = A2/2. (25)

The energy calculated in the frequency domain confirms calculations in the time domain, i.e.,

i % i % i

E =— f|SCmi2 dO = — \\-[M(D-D) + M(D + D)\\2 dO S 2% -% 2%-% 2 ' ' . (26)

2

1 A2 % A2 %

--f|M(O-O)|2 dO = — f

% 4 J 4% J

sin ((O±O) 4)

sin ((O±O) /2)

A2

dO = —16% = 4 A2 4%

The modulated signal is an energy signal having finite energy. The power calculated in the signal interval is finite.

However, if the average power is calculated in the infinite interval, it would be of zero value which complies with the definition of the power signals.

Simulation of the transmitter operation

We performed a simulation of the transmitter presented in Figure 1 (Ingle & Proakis, 2012).

The signals are generated in the time domain and the frequency domain.

The modulating signal and the carrier obtained by simulation in the time domain and the frequency domain are presented in Figure 6.

They are equivalent to the signals obtained by calculations and presented in Figures 3 and 4, respectively.

а)

Carrier

1фффффффффффффффффффф 0.5 0

-0.5 -1

ООООО'ООООй'ООООО'ООООО

20

4

_ 3

О)

Ь

С Ю

1 о

40 n

Carrier Sc(omg)

60

80

-4

-2

0

OMEGA

b)

Figure 6 - Magnitude and phase spectra: a) the modulating signal, b) the carrier Рис. 6 - Амплитудный и фазовый спектры: а) модулирующего сигнала, b)

несущей волны

Слика 6 - Спектри магнитуде и фазе: а) модулишуЪи сигнал, б) носилац

A simulated modulated signal in the time domain and the frequency domain is presented in Figure 7. The presentations are equivalent to the graphs obtained by calculations and shown in Figure 5.

Figure 7 - Magnitude spectral density of the modulated signal in the time domain and in

the frequency domain Рис. 7 - Спектральная плотность колебаний модулированного сигнала во временной и частотной областях Слика 7 - Спектрална густина магнитуде модулисаног сигнала у временсщ и

фреквенци]сщ домени

Receiver operation with the implementation of a low-pass filter

The demodulation of the discrete modulate signal results in the discovery of a modulating signal that is in the form of a rectangular pulse. The procedure of demodulation takes place inside the receiver as presented in Figure 1. We will first analyze the case when a low-pass filter is used to demodulate the modulated signal. We use a coherent receiver in this case. Firstly, the received signal is multiplied by the carrier to get the multiplied signal

sm (n) = m(n) cos2 Qcn =

A(1 + cos2Qn) 0 < n < N-1

0

otherwise

(27)

The wave shape of this signal is shown in Figure 8. The signal is represented by 4 discrete amplitude A values. The dashed graph notifies what the shape of the corresponding continuous-time signal would look like. The DC component of the signal having amplitude A/2 is also presented in Figure 8. The double frequency term of the discrete time

signal is cos 2Qn = cos Ann / N = cos Ann /4 = cos nn .

sm(n)=m(n)sc(n)

n

Figure 8 - The output of the signal multiplier Рис. 8 - Выходной сигнал умножителя сигнала Слика 8 - Излаз множача сигнала

The DTFT of this signal gives its amplitude spectral density of the form

^ (Q) = 1 FT {m(n)(1 + cos 2Qn)} = 1 FT {m(n) + m(n) cos 2Qn}

=1M (Q) + 1[M (Q - 2Q) + M (Q + 2Q)]

, (28)

where the amplitude spectral density of the low-frequency part is

1M (Q) =

AN/2

Q = +2кж, к = 0,1,2,3,...

A

— e 2

jQ( N-1)/2

sin(QN /2) sin(Q /2)

otherwise

. (29)

The amplitude spectral density of the LF signal part is shown in Figure 9. This spectrum has the same waveshape as the spectrum of the modulating signal in Figure 3, but all of its amplitudes are two times smaller due to the processing inside the demodulator.

2|M(,0)|/AN 1

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

Q

-я/4

ж/4 ж/2 3я/4

ж

Figure 9 - Magnitude spectral density of the demodulated pulse Рис. 9 - Амплитудная спектральная плотность демодулированного импульса Слика 9 - Спектрална густина магнитуде демодулисаног пулса

Also, the shifted components of the signal are

-M(Q± 2Q ) = — e

/I V c) л

j (Q±2Q)(N-l)/2

sin ((Q± 2Q) N /2)

4

AN/4

sin ((Q± 2Q)/2 )

Q± 2Q = ±2кж, к = 0, 1,2,3,...

Ae - j {a±2Q)(N-1)/2 sin ((Q± 2Qc) N /2) 4 e

otherwise

,(30)

sin ((n± 2n)/2)

and the spectrum of the signal at the output of the multiplier is presented in Figure 10.

2\M(Q)\/aN, 4\S.m(Q)\/AN

0

-2Qc -Qc & 2Qc

Figure 10 - The spectrum of the signal at the output of the multiplier Рис. 10 - Спектр сигнала на выходе умножителя Слика 10 - Спектар сигнала на излазу множача

The power and energy of the demodulated signal can be calculated in both the time domain and the frequency domain. With expression (27), the energy calculated in the time domain can be calculated as

n=7 i n=7 i i n=7 i i

Esm = 2 (t A(1 + cos 2^cn))2 = 21 A2 +12 A2 (t +1 cos 4Qcn)

n=0 2 n=0 4 4 n=0 2 2 .....

n=7 , , n=7 (31)

= E1 A2 +12 A2 = 3A2

n=0 4 8 n=0

and the power is

E 3 A2

Psm = — =-. (32)

sm N 8

Using the magnitude spectral density (28), we can find the energy spectral density. Then, the energy is calculated as the integral value of the energy spectral density, i.e.,

1 1

Em =— f 11M(nc) +1M(n- 2Qc) +1M(n + 2Qc) |2 dQ

2u J 2 4 4

, (33)

= i 2 + T4 J A2 = 3 A2

which also confirms the value of the signal power expressed in (32).

LPF operation in time and frequency domain. If the LP filter with the

cut-off frequency QF = n/4 and the gain Hd is used to eliminate the HF

components at the double carrier frequency, as shown in Figure 10, the demodulated pulse at the output of the LPF, as shown in Figure 1, can be obtained and expressed in the frequency domain as

\Hd ■ M (Q) / 2 | n\<Q=K/4] Md (Q) = Sm (Q)Hd (Q) J d ( ) 1 1 47 . ]. (34)

0 otherwise

We also assume that the double carrier frequency components in the LP filter bandwidth are negligibly small. We intend to find the signal at the output of the LPF in the time domain. For that purpose, we can perform a convolution of the LPF input signal and the impulse response of the filter. Therefore, we need to calculate first the impulse response of the filter h(n). The LPF here is considered an LTI system. Then, the impulse response of the filter is the DTFT of the filter impulse response, i.e.,

1 ж 1 O

h(n) = — j Hd (O)e+jOndO = — j Hde+ ]°ndO

2 жж 2ж>

2 ж

H

= —- sine жп / 4

Op =ж/4 4

HdoF . „ —d—— sineO n

ж

(35)

for the assumed cut-off frequency of the LP filter of Qf = n/4, as shown in Figure 10. The zero crossings are calculated as: sin(nn /2) = 0,

(nn / 2) = kn , and n = 2k. The demodulated pulse in the time domain can be obtained as the convolution of the input signal sm(n) and the impulse response h(n), i.e.,

l

l

(n) = Z h(n -1 )sm (l) = Z Sm (n -1 )h(l) = Z Sm (n -1 )h(l). (36)

i

l=—да

l=n—(N-1)

The procedure of doing the convolution is presented in Figure 11. For a fixed position of the demodulated signal on the n-axis, the time-inverted impulse response is shifted from minus infinity to plus infinity, and the corresponding products are added for every n value, as notified in Figure 11.

sm(n), h(n)

Hd/4

h(n>

Sm(n)

> \ft I

TAt

n

0

Figure 11 - Convolution of the signals Рис. 11 - Свертка сигналов Слика 11 - Конволуц^а сигнала

The energy of the received rectangular pulse is expressed as (34),

2 h 2 H 2

Emd(O) = \M(O)| = \Hd ■ M(O)/ 2|2 = (O)|2 = -^-A2

sin( ON /2)

sin(O/2)

. (37)

n

2

The energy is the integral of the energy spectral density calculated as

sln4Q

1 f H2 A2 *<■

Emd = ^J Emd W ™ = ~fTn Í

sin (Q/2)

2 H2

dn = ^E„ = 2H2A2, (38)

4

and the power of the pulse is

E H2 E H2

p _ md _ d m _ d p (39)

md N 4 N 4 m.

Comparing relation (39) with expression (11), we can see that the

power of the modulating signal at the transmitter side is attenuated H] / 4

times. If we assume that the filter is defined by Hd = 1, the power will be attenuated 4 times, or 6.02 dB as it can be seen from this simple calculation.

a = 10log,0(Pmd /Pm) = 10logw(4/Hj) = 10logj0 4 = 6.02 dB. (40)

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

In a real system, we will have additional attenuation of the signal due to the propagation and the influence of noise and fading, which will further complicate the procedures of signal processing inside both the transmitter and the receiver.

Simulation of the receiver

We performed a simulation of the receiver presented in Figure 1.

The signals are generated in the time domain and the frequency domain. The demodulated signal obtained by simulation in the time domain and the frequency domain is presented in Figure 12.

The waveshapes of this signal are equivalent to the signals obtained by calculations and presented in Figure 8 and Figure 10.

a)

b)

Figure 12 - a) The demodulated signal, b) the impulse response of the LP filter for N = 8,

Q=n/4 and Hd = 1 Рис. 12 - а) Демодулированный сигнал, b) импульсная характеристика LP-фильтра для N = 8, £^=ж/4 и Hd = 1 Слика 12 - а) Демодулисани сигнал, б) импулсни одзив нископропусног филтера

за N = 8, ПТ=ж/4 и Hd = 1

a)

b)

Figure 13 - a) Convolution procedure of the demodulated signal and the impulse

response, b) the output signal obtained by convolution Рис. 13 - а) Процедура свертки демодулированного сигнала и импульсного отклика, b) выходной сигнал, полученный путем свертки Слика 13 - а) Поступак конволуци^е демодулисаног сигнала и импулсног одзива, б) излазни сигнал након конволуци^е

The impulse response of the LP filter is presented in Figure 12b). The procedure of the correlation is presented in Figure 13a) while the waveshape of the LP filter output is presented in Figure 13b).

Correlation receiver implementation and operation

As we have seen, the demodulation of the discrete modulated signal using the LPF results in the discovery of the modulating signal that is in a form of a rectangular pulse. Based on the sign of the pulse received, the Decision Circuit decides on the binary value of the transmitted signal. For the positive pulse, it is said that 1 was transmitted and for the negative pulse, it is said that 0 was transmitted.

For the same structure of the transmitter, the procedure of demodulation takes place inside the correlation receiver as presented in Figure 1 (lower block on the right). The received signal is first multiplied by the carrier to get the signal sm(n) as in (27). This signal in the frequency domain is given by expression (28). The wave shape of this signal is shown in Figure 8. The samples of the signal are accumulated inside the correlator adder to get

N -1 N -1 i JV-1 i N -1 i

m (N) = Z^(n) = Z1 A(1 + cos2^n) = Z1A + Zcos20cn = - AN. (41)

n=0 n=0 2 n=0 2 n=0 2

The Decision Circuit decides on the md(N) value and generates, at its output, 1 or 0 according to this decision rule

J1 md (N) >

DCout Hn J. (42)

[0 md (N) < °J

If we send a stream of bits 1 and 0 (by changing the sense of the amplitude A inside m(n)) at the transmitter side, the receiver will generate the same stream at its output. Each bit will be generated at the time instants i N, where i is a set of natural numbers and N is the number of samplers in each discrete pulse m(n). This is the case when noise is not present in the channel, i.e., the channel is noiseless. Therefore, in the system with a noiseless channel, the decision will always be correct in the Decision Circuit. Namely, if a positive pulse is transferred, meaning that the amplitude A is positive, the product (41) will be positive and the Decision Circuit will generate bit 1 (one) at the output. If a negative pulse is transmitted, the product (41) will be negative and the Decision Circuit will generate bit 0 (zero) at the output. We design transceiver blocks and use the noiseless channel to investigate the operation of the transceiver blocks only. When we are sure the blocks are operating properly, we add the channel simulator to investigate the properties of the whole system in real conditions. In the presence of noise, the sign of the product (41) can be changed due to the noise level and the wrong decision can be made.

Discrete communication system for the transmission of a filtered pulse

To reduce interference between communication systems, we can use filtering inside the transmitter. That filtering limits the spectrum of the transmitted signal. We will analyze the case when the modulating signal is filtered by an LPF and then transmitted through the transmitter circuits and received by the receiver circuits in the same way as explained in the previous sections. The block scheme of the transmitter with the LP filter is presented in Figure 14.

т^й—^

(n) = cos(^c n)

sFn)= mF (n ) ■ cos(^c n)

M(Q) H(Q) Mf(Q)=M(Q)H(Q) Sc(Q) Sf(Q)

Figure 14 - Discrete-filtered pulse modulator Рис. 14 - Импульсный модулятор с дискретной фильтрацией Слика 14 - Модулатор дискретное и филтрираног пулса

At the input of the transmitter, there is a discrete rectangular pulse as in the previously analyzed transmitter. The pulse is already presented in the time domain and the frequency domain in the previous sections. At the output of the transmitter, there is the modulated signal sp(n) that corresponds to the modulated signal s(n) in Figure 1.

The LP Filter operation. To limit the bandwidth of the signal, we will use an LPF of the gain H, which will filter out the first two arcades of the

rectangular pulse defined by the cut-off frequency QF, as shown in Figure

15. In this case, we will limit the power of the filtered pulse to 96.08 % of the pulse total power as calculated in (13). The filter transfer characteristic in the frequency domain is defined as

| Q\<Q=n/21 otherwise [

m(q)\/An

1

\ H

__

Q

-n

-n/2 Qf

-я/4

я/4

я/2

Qf

3Я4

n

Figure 15 - Spectra of the rectangular pulse and the impulse response of the LP filter Рис. 15 - Спектры прямоугольного импульса и импульсная характеристика LP-

фильтра

Слика 15 - Спектар правоугаоног пулса и импулсног одзива нископропусног

филтера

LPF output signal. The output of the filter is a bandlimited signal having the spectrum defined as

MF (Q) = M (Q)-H (Q) =

AHem N -1)/2

ANH

sin(QN /2)

sin(Q /2)

Q = 0 \ Q\<Q

(44)

as presented in Figure 15 between the cut-off frequencies -Q f and +Q f.

Analysis of the filter operation in the time domain and the frequency domain. The filtering process is presented in the frequency domain as the multiplication of the amplitude spectral densities of the input signal m(n) and the impulse response h(n). This multiplication in the frequency domain corresponds to the convolution of the signals in the time domain.

0

Therefore, the filter output signal in the time domain mF(n) is the convolution of the filter impulse response h(n), which is the sinc function obtained as the discrete-time inverse Fourier transform (DTIFT) of the spectrum H(^), and the input signal m(n). The impulse response of the LP filter is calculated as

-J Л Л Qp

h(n) = — J H(Q)e+ jQndQ = — J He+jQndQ = 2л 2л /-i

— Л —

— Л

H e+jQFn

H + JQn e J

2л Jn

o„

-Q„

— e

-JOFn

ЛП

2

HQp. sinQn = HQp sincQn (45)

лпО,

'F

Л

H • /о = — sineлп / 2

Qf =л/2 2

having the zero crossings calculated as: (лп /2) = кл, n = 2k, as shown in Figure 16.

h(n), m(n)

H/2

A

(IUOOOOOO

t-

sin( ЛП /2) = 0,

^BUBWXXXH)— n

_4W 0 V4 8

Figure 16 - Impulse response and the output of the ideal LP filter Рис. 16 - Импульсная характеристика и выходной сигнал идеального LP-

фильтра

Слика 16 - Импулсни одзив и излаз идеалног нископропусног филтера

The energy of the impulse response in the time domain can be calculated as

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

Eh = £ h2(n) =£

H ■ /о

— sine лп /2 2

(46)

and in the frequency domain

1 л Jj2 Л/2

Eh = ^ J H Q d° = — J dO =

H2

(47)

-л/2

2

The filtered signal in the time domain is the convolution of the rectangular pulse m(n) and the impulse response h(n), i.e.,

mF (n) = Z m(n -1)h(1) = Z -l)m(l). (48)

l=—x> l=—<xi

This convolution can be calculated if the values of the sine function are calculated and represented by a series of numbers (sufficiently long) and then convolved with the values of m(n) represented by a finite series of ones. Since the discrete-time Fourier transform of the filtered signal is

ANH i2 = 0 ~

MF (n) =

AHe

,- jO( N-l)/2

sin(nN /2)

n\<n

(49)

sin(^ /2)

the energy of the signal can be very accurately calculated as it has been already done in (13), i.e.,

1 n ,2 n/2

Emf «^f K(n)Îdn=i

-n -UiL

sin(nN /2)

sin(n /2)

dQ = — 48.295. (50) n

Having in mind that the carrier is expressed as sc{n) = cos£2cn and

that it has 4 samples per oscillation, the spectrum of the modulated signal is a shifted version of the spectrum of the filtered rectangular pulse, i.e.,

Sp (n) = FT {mF (n)cosQn) = l FT [mF (n)(ejnn + e~ Jn" )}

1

(51)

= -[Mf (n-n ) + Mf (n+n )] where

i m F (n-n) =

and

ANH/2

AH

-j(n-nc )( n-1)/2

sin

( (n-n ) N/2)

sin ((n-n)/2)

(n-n ) = o

\n-n \<n

(52)

1 m f (n+n) =

ANH /2 (n+nc) = 0

AHe-(n+n)(N-1)/2sin((n+n)N/2) \ n+n \< n

2 sin ( (n+n)/2 )

which is presented in Figure 17.

, (53)

2\Sf(Q)\/ANH

-ж -я/2 -ж/4 0 ж/4 я/2 3ж/4 я 5ж/4 3ж/2 7ж/4 2ж 9ж/4 5ж/2

-Qc Qc

Figure 17 - Magnitude spectral density of the modulated filtered pulse Рис. 17 - Спектральная плотность модулированного отфильтрованного

импульса

Слика 17 - Спектрална густина магнитуде филтрираног модулисаног пулса

The spectrum of the modulated pulse, as a function of the angular frequency, is shown in Figure 17. The filtered modulated pulse in the time domain is a product of the filtered pulse and the carrier, i.e.,

l

(n) = sc (n) • mF (n) = cos жп /2 • £ h(n -1)m(l) (54)

This is the modulated signal which has a limited bandwidth. This signal is transmitted through the channel and processed in the receiver as presented in the previous sections.

Conclusions

This paper presented a theoretical model and the simulation results of a discrete-time communication system. The block schematic of the system's transmitter and receiver is presented in the form of mathematical operators and all input-output signals are presented in both the time domain and the frequency domain. The powers and energies of the signals are calculated and the attenuation of the signals is analyzed.

Two types of transmitters are synthesized: one with an ideal rectangular discrete time pulse and one with a filtered rectangular pulse. It is shown that the application of a filter inside the transmitter reduces the modulating signal spectrum thus causing the reduction of the modulated signal bandwidth. Furthermore, two receivers are analyzed: a receiver that uses a low-pass filter for demodulation and a receiver that uses a correlator for received signal demodulation. All theoretical results are confirmed by simulations.

Ol <D

Ö >

CO Ol

0

01

Cd UJ Cd ZD

o

O

_j

<

O

X

o

LU

I—

>-

Od <

I—

CO <

_J

CD >Q

X LU I—

o

o >

0

References

Abramowitz, M. & Stegun, I.A. 1972. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. Washington, D.C.: United States Department Of Commerce, National Bureau of Standards, Applied Mathematics Series - 55 [online]. Available at: https://personal.math.ubc.ca/~cbm/aands/frameindex.htm [Accessed: 20 January 2023].

Benvenuto, N., Corvaja, R., Erseghe, T. & Laurenti, N. 2007. Communication Systems, Fundamentals and Design Methods. Hoboken, NJ, USA: John Wiley & Sons, Inc. ISBN-13: 978-0470018224.

Berber, S. 2009. Deterministic and Stochastic Signal Processing: Continuous and Discrete-time Signals. VDM Verlag Dr. Müller. ISBN-13: 9783639111880.

Berber, S. 2019. Discrete time domain analysis of chaos-based wireless communication systems with imperfect sequence synchronization. Signal Processing, 154, pp.198-206. Available at:

https://doi.org/10.1016/j.sigpro.2018.09.010.

Berber, S. 2021. Discrete Communication Systems. Oxford, UK: Oxford University Press. ISBN-13: 978-0198860792.

Cavicchi, T.J. 2000. Digital Signal Processing, Solutions Manual. Hoboken, NJ, USA: John Wiley & Sons, Inc. [Accessed: 20 January 2023].

Haykin, S. 2001. Digital Communication Systems, 4th edition. Hoboken, NJ, USA: John Wiley & Sons, Inc. ISBN: 0-471-17869-1.

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

Ingle, V.K. & Proakis, J.G. 2012. Digital signal processing using MATLAB, 3rd edition. Stamford, CNT, USA: Cengage Learning. ISBN-13: 978-1-111-42737-5.

-Integral calculator. 2023. Calculate integrals online - with steps and graphing! [online]. Available at: https://www.integral-calculator.com [Accessed: 20 January 2023].

Manolakis, D.G., Ingle, V.K. & Kogan, S.M. 2005. Statistical and Adaptive Signal Processing: Spectral Estimation, Signal Modeling, Adaptive Filtering and Array Processing, Illustrated edition. Norwood, MA, USA: Artech House. ISBN-13: 978-1580536103.

Miao, G.J. 2007. Signal Processing in Digital Communications. Norwood, MA, USA: Artech House. ISBN 13: 978-1-58053-667-7.

Papoulis, A. & Pillai, S.U. 2002. Probability, Random Variables, and Stochastic Processes, 4th edition. McGraw-Hill Europe. ISBN-13: 9780071226615.

Proakis, J.G. 2001. Digital Communications, 4th edition. McGraw Hill Higher Education. ISBN-13: 978-0071181839.

Quyen, N.X., Yem, V.V. & Duong, T.Q. 2015. Design and analysis of a spread-spectrum communication system with chaos-based variation of both phase-coded carrier and spreading factor. IET Communications, 9(12), pp.14661473. Available at: https://doi.org/10.1049/iet-com.2014.0907.

Rice M. 2009. Digital Communications: A Discrete-time Approach, 1st edition. London, UK: Pearson Prentice Hall. ISBN-13: 978-0130304971.

Математическое моделирование и имитация передатчика прямоугольных импульсов в дискретом времени

Стеван М. Бербер Университет Окленда,

Кафедра электротехники, вычислительной техники и программного обеспечения, г. Окленд, Новая Зеландия

РУБРИКА ГРНТИ: 50.07.03 Теория и моделирование вычислительных

сред, систем, комплексов и сетей ВИД СТАТЬИ: оригинальная научная статья

Резюме:

Введение/цель: В данной статье обсуждаются вопросы теории и разработки системы связи в дискретном времени, используемой для передачи импульсов дискретного времени с фильтрацией и без нее. Сигналы анализируются как во временной, так и в частотной областях.

Методы: Система теоретически проанализирована на основе блок-схемы, которая была представлена в виде математических операторов, по которым выполнено моделирование системы для подтверждения теоретических выводов.

Результаты: Сигналы дискретного времени представлены во временной и частотной областях, и подтверждены методом имитационного моделирования, разработанного в Ма^аЬ. Выводы: Результаты данного исследования вносят вклад в теоретическое моделирование и разработку современных дискретных систем связи.

Ключевые слова: дискретная система связи, разработка системы, передатчик дискретных импульсов, фильтрация, корреляционный приемник.

Математичко моделова^е и симулаци]а примопреда]ника правоугаоних импулса за рад у дискретном времену

Стеван М. Бербер Универзитет у Окланду,

Катедра за електротехнику, рачунарску и софтверску технику, Окланд, Нови Зеланд

ОБЛАСТ: телекомуникаци]е

КАТЕГОРША (ТИП) ЧЛАНКА: оригинални научни рад Сажетак:

Увод/цил>: У раду су приказани теори]а и диза}н телекомуникационог сустема ко]и ради у дискретном времену. Он се користи за пренос

филтрираног и нефилтрираног дискретног пулса. Сигнали су анализирани у временском и фреквенци]ском домену. Методе: Систем jе теори]ски анализиран на основу блок-шеме ко}а jе приказана у форми математичких оператора, према ко]оj }е "5 извршена и симулаци}а система како би се потврдили теори]ски

>- налази.

со

о Резултати: Сигнали дискретног времена презентирани су у

- временском и фреквенци]ском домену и потвр^ени симулацирм у

ш Матлабу.

Q1

zd Закъучак: Резултати овог рада доприносе теорирком моделоваъу

§ и дизару модерних дискретних комуникационих система.

< Къучне речи: дискретни комуникациони систем, дизар система, ° примопреда]ник дискретног пулса, филтрираъе, корелациони х преемник. ш

Paper received on / Дата получения работы / Датум приема чланка: 24.01.2023. Manuscript corrections submitted on / Дата получения исправленной версии работы /

< Датум достав^а^а исправки рукописа: 25.03.2023. Paper accepted for publishing on / Дата окончательного согласования работы / Датум коначног прихвата^а чланка за об]ав^ива^е: 27.03.2023.

© 2023 The Author. Published by Vojnotehnicki glasnik / Military Technical Courier (www.vtg.mod.gov.rs, втг.мо.упр.срб). This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/rs/).

^ © 2023 Автор. Опубликовано в «Военно-технический вестник / Vojnotehnicki glasnik / Military

У Technical Courier» (www.vtg.mod.gov.rs, втг.мо.упр.срб). Данная статья в открытом доступе и

^ распространяется в соответствии с лицензией «Creative Commons»

ш (http://creativecommons.org/licenses/by/3.0/rs/). I-

О © 2023 Аутор. Об]авио Воjнотехнички гласник / Vojnotehnicki glasnik / Military Technical Courier

_ (www.vtg.mod.gov.rs, втг.мо.упр.срб). Ово ]е чланак отвореног приступа и дистрибуира се у

О складу са Creative Commons лиценцом (http://creativecommons.org/licenses/by/3.0/rs/).

О

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