Pulse Modulation
Pulse Modulation
(i) A band-limited signal of finite energy with no frequency component higher than fm Hz, is
completely described by its sample values which are at uniform intervals less than or equal to 1/2fm
seconds apart. [Ts= ]where Ts is sampling time.
(ii) Sampling frequency must be equal to or higher than 2fm Hz.      [fs 2fm]
A continuous time signal may be completely represented in samples and recovered back, if f s≥2fm,
where fs is sampling frequency and fm is maximum frequency component of message signal
            Proof of sampling theorem
 Sampling of input signal x(t) can be obtained by
  multiplying x(t) with an impulse train δ(t) of
  period Ts.
 The output of multiplier is a discrete signal called
  sampled signal which is represented with y(t) in
  the diagrams,
 y(t)=x(t).δ(t)......(1)
δ(t)=+Σ n=1
         (cosnωst+0)
              n=∞
              n=∞
= [x(t)+2Σ(cosnωst)x(t)]
              n=1
y(t)= [x(t)+2cosωst.x(t)+2cos2ωst.x(t)+2cos3ωst.x(t)......]
Take Fourier transform on both sides.
Y(ω) = [X(ω)+ X(ω-ωs) +X(ω+ωs)+X(ω-2ωs)+X(ω+2ωs)+ X(ω+3ωs)+………..]
       Y(ω)=
To reconstruct x(t), one has to recover input signal spectrum X(ω) from sampled signal spectrum Y(ω), which is
possible when there is no overlapping between the cycles of Y(ω) which is possible if                   fs≥2fm
Aliasing Effect
The overlapped region in case of under sampling
represents Aliasing effect. It can be termed as “the phenomenon of a high-frequency component in the
spectrum of a signal, taking on the identity of a lower-frequency component in the spectrum of its sampled
version.
This effect can be removed by considering
(i) fs >2fm or
(ii) by using anti aliasing filters which are low pass filters and eliminate high frequency components
Three types of sampling techniques:
   Impulse sampling: Obtained by multiplying input signal x(t) with impulse train of period 'T s.
Also called ideal sampling. Practically not used because pulse width cannot be zero and the generation
of impulse train not possible.
                   Natural sampling
Using x(t)X(f)
x(t) cos(2πf0t)[X(f-f0)+X(f+f0)]
Xs(f)=C0X(f)+C1[X(f-f0)+X(f+f0)]+C2[X(f-f0)+X(f+f0)]+…………
Xs(f)= C0X(f)+
The signal Xs(t) has the spectrum which consists of message spectrum and repetition of message
spectrum periodically in the frequency domain with a period of fs. But the message term is scaled by
‘Co”( sinc function) which is not the case in instantaneous sampling.
   Flat Top sampling:      During transmission, noise is introduced at top of the transmission pulse
    which can be easily removed if the pulse is in the form of flat top.
    Here, the top of the samples are flat i.e. they have constant amplitude and is equal to the
    instantaneous value of the baseband signal x(t) at the start of sampling. Hence, it is called as flat
    top sampling or practical sampling.
   Flat top sampling makes use of sample and hold circuit
   Theoretically, the sampled signal can be obtained
    by convolution of rectangular pulse h(t) with
     ideally sampled signal ,sδ(t)
         g(t)= s(t) ⊗ h(t)
       δ(t)             h(t)
              ⊗                =
              t     0     τ
                                                  f(t) ⊗ δ(t) = f(t); property of delta function
                                                  Applying a modified form; s(t) in place of δ(t)
On convolution of s(t) and h(t), we get a pulse whose duration is equal to h(t) only but amplitude
defined by s(t).
Train of impulses given by:
δTs(t) =
 g(t)=
Using shifting property of delta function: =f(t 0)
g(t)=
                                  G(f)=fs Spectrum of flat top samples
Aperture Effect: Spectrum of flat topped sample is given by;
This equation shows that signal g(t) is obtained by passing the signal s(t) through a filter having
transfer function H(f).
Figure(a) shows one pulse of rectangular pulse train and each sample of x(t) i.e. s(t) is
convolved with this pulse
Figure (b) shows the spectrum of this pulse. Thus, flat top sampling introduces an amplitude
distortion in reconstructed signal x(t) from g(t). There is a high frequency roll off making H(f)
act like a LPF, thus attenuating the upper portion of message signal spectrum. This is known as
aperture effect
How to minimize aperture effect?? An equalizer at the receiver end is needed to compensate aperture
effect. The receiver contains low pass reconstruction Filter with cut off slightly higher than f m Hz.
PAM
Signal
g(t)
         Reconstruction                           Message signal
                             Equalizer
             Filter                                  x(t)
Equalizer in cascade with reconstruction filter has the effect of decreasing the in band loss of
reconstruction filter, frequency increases in such away so as to compensate aperture effect.
        Heq(f)= ,
where td is time delay introduced by LPF being equal to τ/2
          Heq(f) =
                 Pulse Amplitude Modulation (PAM)
   Amplitude of the pulse carrier varies proportional to the instantaneous amplitude of the message
    signal.
   The width and positions of the pulses are constant in this modulation.
   PAM could be:
        (i)Single polarity PAM: A suitable fixed DC bias is added to the signal to ensure that all the
pulses are      positive.
    (ii) Double polarity PAM: In this the pulses are both positive and negative.
   Depending on type of sampling PAM can be:
                (i) Ideal Sampling PAM, (ii) Natural sampling PAM and (iii) Flat top PAM.
    The advantage of this modulation is the generation and detection is easy in this modulation and
    also allows multiplexing.
        BPF characteristics
   For a PAM signal produced with natural sampling, the sampled signal follows the waveform of the input
    signal during the time that each sample is taken.
   A PAM signal is generated by using a pulse train, called the sampling signal (or clock signal) to operate an
    electronic switch or "chopper". This produces samples of the analog message signal.
   The switch is closed for the duration of each pulse, allowing the message signal at that sampling time to
    become part of the output.
   The switch is open for the remainder of each sampling period making the output zero. This is known as
    Natural PAM.
.
   For flat-top sampling, a sample-and-hold circuit is used in conjunction with the chopper to hold
    the amplitude of each pulse at a constant level during the sampling time,
   Flat-top sampling, produces pulses whose amplitude remains fixed during the sampling time.
    The amplitude value of the pulse depends on the amplitude of the input signal at the time of
    sampling.
   Aperture Effect seen in this type of PAM. Equalizers used at receiver end
     Ts
    fs
    ≪ Ts
    If on and off time of PAM pulse is same then fmax=
    BW
    𝑩𝑾≥ fm
Transmission of PAM signals
   For PAM signals to be transmitted through space using antennas, they must be amplitude/
    frequency/ phase modulated by a high frequency carrier and only then they can be transmitted.
    Thus the overall system is PAM-AM. PAM-FM or PAM-PM and at receiving end, AM/ FM/PM
    detection is first employed to get the PAM signal and then message signal is recovered.
Drawbacks of PAM
   Bandwidth required for transmission of PAM signal is very large in comparison to maximum
    frequency present in modulating signal.
   Since amplitude of PAM pulses varies in accordance with modulating signal so interference of
    noise is maximum in PAM
   Variation of the peak power required by transmitter
                       Demodulation of PAM
    PAM signal sampled at Nyquist rate can be reconstructed at the receiver end , by passing it
     through an efficient Low Pass Filter (LPF) with exact cut off frequency of fs/2. This is
     known as Reconstruction or Interpolation Filter.
    The low pass filter eliminates the high-frequency ripples and generates the demodulated
     signal. This signal is then applied to the inverting amplifier to amplify its signal level to have
     the demodulated output with almost equal amplitude with the modulating signal
 For a flat topped PAM, a holding circuit followed by a LPF gives demodulated signal
 Switch S closes after the arrival of pulse and opens at the end of pulse.
 Capacitor C charges to pulse amplitude value and holds this value during interval between two pulses.
 The sampled values are shown in fig.
 Holding circuit o/p smoothened in LPF.
 Known as zero order holding circuit, which considers only the previous sample to decide value between two
  pulses
 First order holding circuit considers previous two samples, second order holding circuit considers previous
  three samples.
                         Pulse Time modulation
 In PTM, amplitude of pulse is constant while position or width of pulse is made proportional to
the amplitude of the signal at the sampling instant.
 It can be PWM and PPM
 In both the cases amplitude constant and does not carry information so amplitude limiters can be
   used ( like in FM) providing good noise immunity
.
Generation of PWM and PPM by Direct Method
   The non inverting input of the comparator is fed by the input message or modulating signal x(t)
    and the other input by a saw-tooth signal which operates at carrier frequency.
   The comparator compares the two signals together to generate the PWM signal at its output. Its o/p is
    high only when the instantaneous value of x(t) is higher than sawtooth waveform.
   The rising edges of the PWM signal occurs at the fixed time period (kT s) while trailing edge depends
    on amplitude of message signal x(t).
   When saw-tooth voltage waveform greater than x(t), o/p of comparator is zero, trailing edge is
    modulated
   If saw-tooth. waveform is reversed, trailing edge is fixed while leading edge is modulated.
   Replacing saw-tooth waveform by triangular, both leading and trailing edge modulated.
    (symmetrical PWM)
   The amplitude of PDM/PWM will be positive saturation of the comparator shown as ‘A’, being same
    for all pulses,
Three types of pulse-width modulation (PWM) are possible:
 The leading edge of the pulse being constant, the trailing edge varies according to the message
  signal.
 The trailing edge of the pulse being constant, the leading edge varies according to the message
  signal
 The center of the pulse being constant, the leading edge and the trailing edge varies according
  to the message signal (Symmetrical PWM)
Indirect Method:
Modulating signal (A) applied to i/p of PAM circuit [s(t) pulse train] and PAM signal generated(B).
S(t) also is i/p to Ramp generator(Integrator circuit), all having equal slopes, amplitude and
generation(D). These ramp pulses added to PAM pulses to produce varying height samples. These
varying height ramp gates a S.T ckt to generate varying width rectangular pulses of PWM.
                                                       E                   F
                         PAM       B                             Schmitt
            x(t)                            Summer                              PWM
                       generator                                 Trigger
             A
                                                  Ramp
                                                             D
                                                 Generator
                   C
        Noisy PWM                         PWM detector
    Schmitt
    Trigger
               Ramp        3              4                   5
        1                                                                     6
              Generator                          Level
                                Adder                             Rectifier       LPF
                                                 Shifter
              Synchronization
              Pulse generator   2
Advantages: No dynamic coordination needed and works also for analog signals
                             xN-1
                       x2
                  x1
                Crosstalk and Guard Times
   RF transmission of TDM needs further modulation
   TDM signal converted to smooth modulating waveform by passing through a baseband filter
   This filtering gives rise to inter-channel crosstalk which means individual signal sample amplitude
    interfere with each other. Thus interference between adjacent TDM channels is crosstalk
   This interference can be reduced by increasing distance between individual signal amplitudes
   The minimum distance between individual signal samples to avoid crosstalk is called guard time.
   Ideally communication channel over which TDM signal is transmitted should be infinite but in
    practise has a finite BW, known as band limited channels
   Whenever signal passed through band limited channel, shape of signal will change.
   Whenever a PAM-TDM signal transmitted over band limited channel, signals corresponding to x1(t)
    get mixed with x2(t) and this overlap causes crosstalk.
   To keep cross talk below -30dB, Tg
   Thus, guard time required to avoid cross talk decreases with increase in BW
Transmission Bandwidth for ‘N’ PAM-TDM channels: Nfm
Where fm is the maximum frequency of baseband signal
Advantages:
   Full available channel BW can be utilized.
   TDM circuitry not very complex
   Problem of cross talk not very severe
 Disadvantages
    Synchronization for proper operation
                                                 Application of PWM
   Although PWM is also used in communications, its main purpose is actually to control the power
    that is supplied to various types of electrical devices, most especially to inertial loads such as
    AC/DC motors.
   Pulse-width modulation (PWM) is used for controlling the amplitude of digital signals in order to
    control devices and applications requiring power or electricity. It essentially controls the amount
    of power, in the perspective of the voltage component, that is given to a device by cycling the on-
    and-off phases of a digital signal quickly and varying the width of the "on" phase or duty cycle.
    To the device, this would appear as a steady power input with an average voltage value, which is the
    result of the percentage of the on time. The duty cycle is expressed as the percentage of being fully
    (100%) on.
   A very powerful benefit of PWM is that power loss is very minimal. Compared to regulating
    power levels using an analog potentiometer to limit the power output by essentially choking the
    electrical pathway, thereby resulting in power loss as heat, PWM actually turns off the power output
    rather than limits it. Applications range from controlling DC motors and light dimming to heating
    elements.
This simple circuit based around the familiar NE555 or 7555 timer chip is
used to produced the required pulse width modulation signal at a fixed
frequency output. The timing capacitor C is charged and discharged by
current flowing through the timing networks RA and RB as we looked at in
the 555 Timer tutorial.
The output signal at pin 3 of the 555 is equal to the supply voltage
switching the transistors fully “ON”. The time taken for C to charge or
discharge depends upon the values of RA, RB.
Then the time taken for capacitor, C to go through one complete charge-
discharge cycle depends on the values of RA, RB and C with the time T for
one complete cycle being given as:
   The time, TH, for which the output is “ON” is: TH = 0.693(RA).C
 The time, TL, for which the output is “OFF” is: TL = 0.693(RB).C
 Total “ON”-“OFF” cycle time given as: T = TH + TL with the output frequency being ƒ = 1/T
   With the component values shown, the duty cycle of the waveform can be adjusted from about 8.3% (0.5V) to about 91.7% (5.5V) using
    a 6.0V power supply. The Astable frequency is constant at about 256 Hz and the motor is switched “ON” and “OFF” at this rate.
   Resistor R1 plus the “top” part of the potentiometer, VR1 represent the resistive network of RA. While the “bottom” part of the
    potentiometer plus R2 represent the resistive network of RB above.
   These values can be changed to suite different applications and DC motors but providing that the 555 Astable circuit runs fast enough
    at a few hundred Hertz minimum, there should be no jerkiness in the rotation of the motor.
   Diode D3 is our old favourite the flywheel diode used to protect the electronic circuit from the inductive loading of the motor. Also if
    the motor load is high put a heatsink on the switching transistor or MOSFET.
   Pulse width modulation is a great method of controlling the amount of power delivered to a load without dissipating any wasted
    power. The above circuit can also be used to control the speed of a fan or to dim the brightness of DC lamps or LED’s. If you need to
    control it, then use Pulse Width Modulation to do it.