Generating a variable duty cycle

Status
Not open for further replies.

always84

Member level 1
Joined
Feb 24, 2010
Messages
39
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
italy
Activity points
1,567
anyone can suggest, how can I project a variabile duty cycle generatore using SPice?
 

... variabile duty cycle generatore using SPice?

Vpulse node1 node0 PULSE ( Vlow Vhigh Tdelay Trise Tfall 'Tperiod*duty_cycle' Tperiod )
Set or define all the parameters above. At least define Tperiod and duty_cycle as parameters:
.PARAM duty_cycle=0.5
... then SWEEP this parameter.
 

Thanks guys for yours replays, probably my question was generic too. My problem is to realize a custom circuit that can generate a square wave form with variable duty cycle and fixed period.
 

The simplest method is to use a ramp generator followed by a comparator with a variable reference. The ramp generator can be implemented as a current charging a capacitor. The reference can be a resistive divider where one of the resistors is a pot.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…