Output a repeating pulse signal with the input duty cycle (D) and period (P).\n\nOutput pulse is given by:\n\n y(t) = 1

Post Reply
mamorani
Posts: 8800
Joined: Thu Feb 25, 2021 6:50 pm
Contact:

Output a repeating pulse signal with the input duty cycle (D) and period (P).\n\nOutput pulse is given by:\n\n y(t) = 1

Post by mamorani »

Output a repeating pulse signal with the input duty cycle (D) and period (P).\n\nOutput pulse is given by:\n\n y(t) = 1 if t(k) <= t < t(k) + pw(k)\n = 0 if t(k) + pw(k) <= t < t(k) + P(k)\n\nwhere, t(k) is the time after 'k-1' pulses and pw(k) is the pulse width which is the product of the D(k) and P(k) input values at t(k): pw(k) = P(k) * D(k)\n\nTypically, pulse width should be greater than 0 and less than P(k).\n\nSelecting the 'Allow zero pulse width' checkbox configures the block to allow pulse width to become zero during simulation. However, this would require the block to have direct feedthrough and may cause algebraic loops.\n\nSelect the 'Run at fixed time intervals' checkbox to produce the output signal values at a fixed sample time interval


dialog
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest