hi i am trying to make a PWM voltage divider,
the idea is that when the fet is off i.e. PWM duty cycle is 0% then the second resistor should be out of circuit therfore the divider is not functioning then when the PWM is increased the second resistor is used but only for a percentage of the time until the PWM is 100% and then
the voltage divider should be used fully.
for example if both resistors are set to 2K with a 1volt input then at 50% PWM duty cycle for the fet then the output should be 3/4 of the input as max voltage divider would be 1/2 then 50% PWM means the divider is only used half of the time.
but no matter how i simulate or build it i cant get it to work any ideas ??
the idea is that when the fet is off i.e. PWM duty cycle is 0% then the second resistor should be out of circuit therfore the divider is not functioning then when the PWM is increased the second resistor is used but only for a percentage of the time until the PWM is 100% and then
the voltage divider should be used fully.
for example if both resistors are set to 2K with a 1volt input then at 50% PWM duty cycle for the fet then the output should be 3/4 of the input as max voltage divider would be 1/2 then 50% PWM means the divider is only used half of the time.
but no matter how i simulate or build it i cant get it to work any ideas ??