


Using a higher input voltage wil increase the controllability of your motor. There is no problem with using a higher input voltage for your PWM (12V or 15V or even higher). If you have a bunch of them you can also solder a 2nd one directly on top of the first to double it's output current.Īlso note that the 6V rating from the datasheet is a DC rating.
Rotate 45 degrees diptrace drivers#
So your H-bridge driver is too small for your motor.īut because the L293D has 4 half bridge drivers you can put 2 of them parralel to get the double output current. The L293D is specified for 1.2A peak and 600mA continous. However a high frequency (10kHz) whine can be pretty annoying. This is a part of the explanation of why your motor performes less well at high PWM frequencies.Īnd DC motors almost always make some noise, especially the cheap and/or geared ones.Īccording to your datasheet: "Geräuschangaben 30CM ( Noise)56dB"Ī bit of hum from low frequency PWM is usually not a big problem, as the hum is somewhat similar as the mechanical noises of the motor.

With high PWM frequencies this can limit the controllability of the motor significantly. With a H-bridge there is also a "dead time" between switching of the top transistor off and switching the bottom transistor on. With very low PWM rates the motor gets a current ( = Torque) "jolt" each time the PWM turns on which helps to overcome static friction.Īn then during the off part of the PWM cycle the motor will coast a bit.Ībove a PWM frequency of 10Hz to 50Hz these "jolts" and "coast" phases are usually not noticable because they are averaged (integrated) by the inertia of the motor. This averaged current is not enough to overcome static friction at low PWM duty cycles. The PWM voltage is averaged (integrated) by the inductance of the motor. With a high PWM rate you almost have constant current through the motor. Second I've had better experiences with very low Frequencies. Ka7ehk wrote: You probably want the PWM frequency above 20KHz (to make it harder to hear).įirst the old designs of the L293 and L298 are probably not fit for such high PWM frequencies. What's the reason for this to happen and how can I make the motor to move at slower speeds if I can't use low values? I'm trying to make a PID controller to control the motor position and I need those small values. The power supply I used shows the current aswell and the motor needs around 0.4A (measured when the motor is directly connected to the power supply) to start rotating but when driving the motor through the h-bridge and giving it a PWM with a duty cycle below 45% the motor doesn't move and the power supply shows around 0.13A. I even changed the L293D for a L298N that has lower voltage drops (I fed it with 6V and the motor was receiving the 6V) and is capable of driving higher currents, but it also made no difference. I noticed that the L293D circuit drops some voltage, and instead of receiving 6V the motor was receiving a bit over 3V, so I fed the L293D with 9V instead of 6V and the motor was receiving around 5.8V, but it made no difference (beside moving faster). I've tried all PWM frequencies that the microcontroller can create and the higher the frequency the higher the duty cycle has to be to make the motor rotate.īut if I use a power supply, directly connected to the motor, it works perfectly, for any voltage.

For duty cycles between 40%-45% if I give it a push with my hand it rotates. I'm controlling a 6V DC motor using a microcontroller (Atmega328) that creates a PWM signal that is fed to a H-bridge (L293D), the problem is that the motor only moves when I set the PWM with a duty cycle of 45% or higher, if it has a lower duty cycle it doesn't move and makes a noise.
