Thank you so muchSee attached:
Thank you so muchSee attached:
Sorry to ask silly question, but can you please explain mathematical design. i want to update the design for 0-5V for 1-10kHz for variable duty cycle.Below is a circuit similar to the one in post #8, but uses the LM339 to generate the sawtooth, eliminating the 555:
The top sim shows the frequency changing from about 10kH to 100kHz for a Freq input of 0 to 3V.
The bottom sim show the PWM duty-cycle varying form 0% to 100% for a DC input of 0V to 3.5V.
Its stability/accuracy is also affected by the V+ supply voltage, so may need a stable regulator for that, if the available supply voltage is not sufficiently stable.
View attachment 328764
View attachment 328763