¿ªÔÆÌåÓý

Re: Making a PWM a continuous voltage source


 

¿ªÔÆÌåÓý

On 29/04/2025 11:58, Christoph via groups.io wrote:
Is it possible to make a PWM signal a continuous voltage source ?

I have these PWL points in a file but  simulating this I have transient response and decay behaviour. I would like to do a FFT on the filter output signal
and the presence of these spoil the FFT picture. Using a sine as a voltage source it behaves like an infinite signal while the PWL from file is always finite, seems so.

I tried the statement: PWL REPEAT FOREVER ( | one_period.txt) ENDREPEAT from the undocumentedcommands  section of the wiki to no avail.
The "|" (pipe symbol) gives an error.
Try removing the pipe. That part of the documentation is confusing. The example showing the pipe doesn't mean you should add it. Using the syntax from the other clearer example:

PWL REPEAT FOREVER ( file=one_period.txt ) ENDREPEAT

See: PWL_Example

--
Regards,
Tony

Join [email protected] to automatically receive all group messages.