Programmable Pulse Generator using Simulink's basic blocks

버전 1.0.0.0 (11.1 KB) 작성자: Syed Kazmi
The proposed Pulse Generator offers full tunability of its parameters on runtime.
다운로드 수: 4.6K
업데이트 날짜: 2012/3/30

라이선스 보기

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:
a) subtracting the "PhaseDelay" input from the "Clock" and
b) using a switch to turn the "Amplitude" to zero till the "Clock" gets greater than the "PhaseDelay".

With special thanks to Pravallika Vinnakota, Mathworks Application Support Engineer.

인용 양식

Syed Kazmi (2025). Programmable Pulse Generator using Simulink's basic blocks (https://kr.mathworks.com/matlabcentral/fileexchange/35922-programmable-pulse-generator-using-simulink-s-basic-blocks), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2011a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0