dcbingaman
- Joined Jun 30, 2021
- 1,065
Attachments
-
2.1 KB Views: 3
Hmm, being this is a fairly straight forward circuit, you may want to double check your wiring. What type of op-amp are you using?breadboarding
I've tried LM741 and LM358PHmm, being this is a fairly straight forward circuit, you may want to double check your wiring. What type of op-amp are you using?
Try increasing the capacitor to say 10uF. The LM741 (if that is what you are using) has a terrible slew rate. It also tends not to work well for a 'comparator' type circuit like this.Hi, still does not work.
Do you have R6 and C2 going to the negative supply rail? The first one I sent out did not do that, but it is important. Did you change the capacitor to 10uF?Hi I just built the one with the diodes and it seems to work, but the output should for example always be -14V (LOW) to 14V (HIGH). with this the circuit you sent, the average voltage is always zero, when the PWM is 100% for example its now at 0V and should be at 14V. Do you maybe have a solution for that?
Thanks in advance.
Are you using a 10uF capacitor?Hi I just built the one with the diodes and it seems to work, but the output should for example always be -14V (LOW) to 14V (HIGH). with this the circuit you sent, the average voltage is always zero, when the PWM is 100% for example its now at 0V and should be at 14V. Do you maybe have a solution for that?
Thanks in advance.
Are you sure the negative power input to the op amp is going to the negative 15V supply? A common mistake is have the negative power rail go to ground. I am just asking because I cannot see the breadboard circuit.Hi I just built the one with the diodes and it seems to work, but the output should for example always be -14V (LOW) to 14V (HIGH). with this the circuit you sent, the average voltage is always zero, when the PWM is 100% for example its now at 0V and should be at 14V. Do you maybe have a solution for that?
Thanks in advance.
I also want to understand this so could you draw it with potentiometers so I can maybe see the mistake I made.ok, sorry about that, here is one possible solution replace R1 and R2 with a potentiometer wiper going to positive input. Replace R3 with a rheostat. The frequency and duty cycle can be set but it is not a linear relationship.
View attachment 250920
But the lower end of the pot should go to the negative rail, not to ground, if you want the full duty cycle range.R1 and R2 are just one pot
I also got this circuit to work now, but it has the same problem as mine, at high and low % duty cycle, the frequency changes with the duty cycle.ok, sorry about that, here is one possible solution replace R1 and R2 with a potentiometer wiper going to positive input. Replace R3 with a rheostat. The frequency and duty cycle can be set but it is not a linear relationship.
View attachment 250920
it seems that the behaviour here is the same with or without the diode.I edited my schematic a bit and now I have full range of the duty cycle circuit but the frequency changes with it, what is the cause and solution to that?View attachment 250953
yes, I've made those changes.But the lower end of the pot should go to the negative rail, not to ground, if you want the full duty cycle range.