Beegees54
Newbie level 1
Good morning to everyone,
For the last 2 days, i've been struggling with Ltspice. Indeed, i would like to implement a change of frequency during the transient response in my voltage source. However, I do not want a perfect pulse function with a 50% duty cycle, i would like a fixed duty cycle but with a variable frequency. For instance, at the beginning of my transient analysis, i want f=65kHz but at one moment, i want f to decrease to 10kHz (decrease lineary) but with the same duty cycle as before (0.1). the issue is that with Ltspice, we can only create this voltage source : PULSE(0 5 10n 10n 10n {dutymin/fre} {1/fre}) and fre has to be fixed during all the simulation.
Then, i tried to implement two sinewaves (from behavorial voltage source so fre can vary) delayed one from each other by duty min without succes.
Do you have any ideas how to implement this function in Ltspice?
Thank you in advance for your help,
Beegees54
For the last 2 days, i've been struggling with Ltspice. Indeed, i would like to implement a change of frequency during the transient response in my voltage source. However, I do not want a perfect pulse function with a 50% duty cycle, i would like a fixed duty cycle but with a variable frequency. For instance, at the beginning of my transient analysis, i want f=65kHz but at one moment, i want f to decrease to 10kHz (decrease lineary) but with the same duty cycle as before (0.1). the issue is that with Ltspice, we can only create this voltage source : PULSE(0 5 10n 10n 10n {dutymin/fre} {1/fre}) and fre has to be fixed during all the simulation.
Then, i tried to implement two sinewaves (from behavorial voltage source so fre can vary) delayed one from each other by duty min without succes.
Do you have any ideas how to implement this function in Ltspice?
Thank you in advance for your help,
Beegees54