adriancm5
Newbie level 6

I'm trying to simulate a Class D amplifier with hysteretic self-oscillating modulator but the PSS simulation is not acepting the configuration.
Basically the self-oscillating system frequency (fs around 500 KHz) will be modulated by an audio signal (fin around 1 KHz) and fs will be varying from 450KHz to 550KHz but in a non-linear fashion since depends on comparator hysteresis and comparator input signal that is changing in time. I want to see the harmonic distortion for the output of the class D amplifier and the normal transient simulation is not taking into account intermodulations between the system frequency and the audio signal. I know that the PSS is more accurate but I have problems assigning the seed frequency or fundamental since the system frequency is not always an integer of the input signal, then the PSS is giving errors. The PSS works if I don't include the input signal and configure the PSS analysis as an oscillator but this is not meaningful for me.
Any suggestion in how to solve this?
Thanks
Basically the self-oscillating system frequency (fs around 500 KHz) will be modulated by an audio signal (fin around 1 KHz) and fs will be varying from 450KHz to 550KHz but in a non-linear fashion since depends on comparator hysteresis and comparator input signal that is changing in time. I want to see the harmonic distortion for the output of the class D amplifier and the normal transient simulation is not taking into account intermodulations between the system frequency and the audio signal. I know that the PSS is more accurate but I have problems assigning the seed frequency or fundamental since the system frequency is not always an integer of the input signal, then the PSS is giving errors. The PSS works if I don't include the input signal and configure the PSS analysis as an oscillator but this is not meaningful for me.
Any suggestion in how to solve this?
Thanks