PCM and DPCM using SIMULINK


  • AIM:

To generate a Pulse Code Modulation using simulink.


  • SOFTWARE REQUIRED:

1.Matlab
2.Simulink


  • BLOCKS REQUIRED:

1. Sine wave generator
2. Pulse generator
3. Product
4. Quantizer
5. Encoder
6. Integer to bit converter
7. Scope

  • BLOCK DIAGRAM for PCM:




  • OUTPUTS OBTAINED:

quantized output

encoded output


PCM


  • BLOCK DIAGRAM FOR DPCM:

  • OUTPUTS OBTAINED:

after introducing a delay element

quantization

encoded signal


  • INFERENCE

Pulse Time Modulation is also known as Pulse Width Modulation or Pulse Length Modulation. In PWM, the
samples of the message signal are used to vary the duration of the individual pulses. Width may be varied by
varying the time of occurrence of leading edge, the trailing edge or both edges of the pulse in accordance with modulating wave. It is also called Pulse Duration Modulation.

10 comments:

  1. error
    Error reported by S-function 'scominttobit' in 'pcm/Integer to Bit Converter':
    Input must be integer valued, in the range 0 to (2^(NBIT) - 1). To support signed integer value ranges, change the 'Treat input values as' parameter to 'Signed'.

    ReplyDelete
    Replies
    1. check the output of uniform encoder whether it is integer or not. It should be integer. If problem could not solved then mail the .mdl file to engineeringbasic@gmail.com
      Thank you :)

      Delete
  2. please tell me how to choose values of given input signals?

    ReplyDelete
  3. Thank you so much! That did the trick, you saved me more endless hours of searching for a fix. Is merchant navy mumbai is good carrer after 12th.Please send me useful quotes.

    ReplyDelete
  4. Nice services provided by you. I like the way you keep the information in an representative manner, making it easy for the learners. Thanks for sharing he information.Best home tutors are provided by TheTuitionTeacher in Delhi.
    Home Tutors in Delhi | Home Tuition Service

    ReplyDelete
  5. Great article, just saved my life

    ReplyDelete