0
\$\begingroup\$

I am working on a fun side project where I am creating a PWM waveform using the LM324 and a small solar panel. I am using the LM324 for the astable multivibrator, integrator, and comparator. The comparator inputs are the integrated signal (triangle wave) and the voltage level of the solar panel. The generated PWM waveform is outputted to a motor driver (L9110H) that is built into a little fan and motor set up (link)

My PWM generator works great before I plug the PWM output into the input of the driver/motor/fan set up. Before I plug it in I can see the duty cycle change from about 70% to 30% depending on how much light is incident on the solar panel. However when I connect the PWM output of my circuit to the input PWM, it starts acting a little weird. It appears most of the time the PWM duty cycle will not change depending on the solar panel, and sometimes the duty cycle will jump to like 99%. I tried using a unity gain buffer, thinking the motor load was affecting my signal somehow, but that's not really helping. What I expect to see is the fan slowing down when I shade the solar panel, and speed up when it is lit. Any advice or instruction would be most appreciated!

By the way..all op amps have power rails of +/- 9V enter image description here

\$\endgroup\$
  • 2
    \$\begingroup\$ We need to see a circuit diagram. \$\endgroup\$ – Adil Malik Jul 9 '17 at 14:49
  • \$\begingroup\$ (1) Mark the component types on all the op-amp symbols. It's not clear from your text what is what. (2) Can you crop your photo? Only 40% is actual diagram. There's a built-in schematic tool on the editor toolbar if you require it although your diagram is legible. (3) Many comparitors have open-collector outputs and require a pull-up resistor on the output. \$\endgroup\$ – Transistor Jul 9 '17 at 15:26
  • \$\begingroup\$ All of the op-amps are the LM324, all in one package. You can't see the entire schematic? \$\endgroup\$ – Mtk59 Jul 9 '17 at 17:58
  • \$\begingroup\$ That's the entire schematic? Can't see the fan motor module. The solar panel only has one wire. What is supplying the +-9V, and how is the module powered? \$\endgroup\$ – Bruce Abbott Jul 9 '17 at 20:39
  • \$\begingroup\$ You might check for changes in the ground or power rails. The first stage output in this design is sensitive to power supply changes. \$\endgroup\$ – John Birckhead Jul 9 '17 at 22:23
0
\$\begingroup\$

While your schematic does not depict the motor controller portion, if it represents a capacitive load (e.g. a FET gate) to the op amp this will often destabilize the op amp, particularly a unity buffer. Do some web searching for op amps driving capacitive loads, and you willl find plenty of app notes describing how to correct for this with capacitive feedback, etc.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.