Programmable Pulse Generator using Simulink's basic blocks (Scripts) Publisher's description
from Syed Kazmi
Following steps explain the working principle of the proposed Programmable Pulse Generator
Following steps explain the working principle of the proposed Programmable Pulse Generator:
1. Taking the modulus of the free running simulation "Clock" with the "Period", gives a triangular wave whose frequency is set by the "Period" input.
2. The multiplication of the "Period" with "PulseWidth"(in fraction instead of percentage), gives the On-Period of the Pulse.
3. Comparing the above generated triangular wave with this On-Period results into the Pulse waveform of desired frequency and pulse width. This is further scaled by the "Amplitude" input to achieve the desired peak magnitude.
4. The desired phase shift is achieved simply by subtracting the "PhaseDelay" input from the "Clock".
With special thanks to Pravallika Vinnakota, Mathworks Application Support Engineer.
System Requirements:MATLAB 7.8 (R2009a)
Program Release Status: New Release
Program Install Support: Install and Uninstall