Maker Pro
Maker Pro

pwm to control a dc motor

A npn transistor has to have a positive voltage on the base and a negative voltage on the emitter in order to be on. What will happen if the emitter voltage goes up but the base voltage stays the same? This is called negative feedback because it is out of phase with respect to the base. You know that the voltage across a resistor increases when the current increases? That's why that emitter resistor is in that circuit. For thermal protection. A mosfet doesn't need that because they conduct less current when they get hot.
I don't know the math used to determine what size is needed, but a .1 ohm would probably work. :)
Negative feedback is also used in high gain circuits that tend to oscillate when you don't want them to.


Yes, that makes perfect sense and .1 Ohm resistor wouldn't effect the rest of the circuit that much. Thanks for the explaining that, learned something new today.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
I don't know the math used to determine what size is needed, but a .1 ohm would probably work. :)

It's more about heuristics than math (unfortunately)

You want an emitter resistor that will drop a voltage larger than the expected range of Vce's seen across the transistors.

The larger you make them, the more perfect the current sharing will be, but the more power they will waste.

The sharing will never be perfect, and you may want to measure the voltage across these resistors under full load to confirm that the transistors are sharing current well (the voltages should be almost identical).

Beware that resistor tolerances will cause some imbalance, so it is probably a good idea to measure each resistor to confirm for yourself that they are within spec (and preferably much better)
 
and what about the new transistor BD153 which i am using with more current at its colector 1.5A.
why the motor consumes more than 0.3A when i supply the circuit with more than 3.5V?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
I don't know the math used to determine what size is needed, but a .1 ohm would probably work. :)

This is what I get for responding to a post and assuming what it was about (and not reading it because I was in a hurry)

Those small value emitter resistors are generally only required where you parallel several BJTs to increase their current capacity.

You could do that here, but frankly, it's not worth the effort.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
and what about the new transistor BD153 which i am using with more current at its colector 1.5A.
why the motor consumes more than 0.3A when i supply the circuit with more than 3.5V?

it's a 3V motor. If you supply it with a higher voltage it will draw a higher current.

That's why I've told you that you have to limit the duty cycle when you use a higher voltage.

What duty cycle are you using?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
OK, reduce the duty cycle and make sure that the average current falls as you do so.

What duty cycle results in an average current of about 300mA?

Do you have *any* load on the motor at all?
 
no,i don´t have load on the motor,
ok,i will try it later about duty cycle later and i will say you
but with this transistor it should work?

and i have one question,when i calculate the resistor at the base,which voltage i must use,to be sure about saturation
4V because it is the 555 output
or 4-0.7 because i must consider that in saturation i will have Vbe=0.7??

i red that if i use a zener diode or normal diode with 2V at the emitter,i will be sure to have 3V across my motor with duty cycle 100% and supply voltage 5V,is it correct?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
So you're saying that your 3V motor, which is quoted as drawing 300mA under no-load is drawing 1.5A when driven from 5V via that BD153? That sounds like way too much. Either the specs are wrong, or something is going on with that motor.

Sure you can use some diodes to add a voltage drop. It will increase power dissipation and reduce torque, but it's OK
 
my motor has 0.3A no load and 1.05A load
if you remember when i use the 2n2222a,the transistor get so hot because the colector current max was 0.8A,
and now i am using the BD135 because you said me that i needed a transistor with more current at its colector,so this new transistor has 1.5A
 
You are pulsing the current to the motor, so whilst the average current may only be 0.3A, the peak may be 0.6, 0.9, or higher. -- and that's while it's running.

When the motor is starting, the current can be several times higher.

With a load it could approach several amps, possibly higher if it gets stalled.

How many times do you need to be told that the 2222 is insufficient?

Then it says the dissipation is 1.8W with a case temperature of 25C -- clearly the case temperature is higher than that, so you need to de-rate it.

The thermal resistance junction to ambient is 200 degC per watt. To keep the junction temperature below 100C (a reasonable requirement for a small transistor) at an ambient temperature of 25C, the max power dissipation is (100-25)/200 = 0.375W, so clearly, even assuming the most favourable conditions (saturation and 0.3A), you're trying to dissipate three times too much power. even at this current the junction temperature is likely to rise to 25 + 0.9*200 = 205C -- and that's well above the absolute maximum temperature of 150C

this was the cause about the new transistor
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
my motor has 0.3A no load and 1.05A load
if you remember when i use the 2n2222a,the transistor get so hot because the colector current max was 0.8A,
and now i am using the BD135 because you said me that i needed a transistor with more current at its colector,so this new transistor has 1.5A

Do you mean the new transistor is rated at 1.5A?

When I looked it up it seemed to be rated for a higher current. What package is it in. 1.5A is still marginal,but it should work as long as the motor is unloaded.

Or were you measuring 1.5A somewhere?
 
It's more about heuristics than math (unfortunately)

You want an emitter resistor that will drop a voltage larger than the expected range of Vce's seen across the transistors.

The larger you make them, the more perfect the current sharing will be, but the more power they will waste.

The sharing will never be perfect, and you may want to measure the voltage across these resistors under full load to confirm that the transistors are sharing current well (the voltages should be almost identical).

Beware that resistor tolerances will cause some imbalance, so it is probably a good idea to measure each resistor to confirm for yourself that they are within spec (and preferably much better)

I learned a new word. I do a lot of heuristics!
 
Do you mean the new transistor is rated at 1.5A?

When I looked it up it seemed to be rated for a higher current. What package is it in. 1.5A is still marginal,but it should work as long as the motor is unloaded.

Or were you measuring 1.5A somewhere?

yes,new transistor BD135 can have until 1.5A in its colector,not 0.8A as we had before with the 2n2222a,i don´t have load at the motor!so i won´t measure 1.5A anywhere

I think that the first problem is that the transistor doesn´t get satutared,but i calculated it to be inside that range:

if load is 0.3A,i must have 0.3/25(gain)=0,012A minimum at the base to get saturation
then the resistor at the base must be maximum:
(voltage at the output 555-voltage base emitter)/current calculated before to get saturation:
(4-0.7)/0,012=275ohm, and i am using 100ohm so it should be in saturation,right??

and i still don´t understand why when the supply voltage is 2.5V the motor consumes 0.3A,with this new transistor,why can it happen?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
OK, lets start at the beginning.

Connect your motor to a source of about 3V and measure the current.

Tell us what it is.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
OK, so consuming near 0.3A from a slightly lower voltage seems OK.

Is that what you're saying? When you connect the motor in series with the transistor, the motor draws 0.3A (with the transistor turned on presumably)?

And I presume it spins at pretty much the same speed?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
OK, that sounds fine (other than the fact that you didn't answer one of my questions.

I would connect it up to your 555, set it to the **MINIMUM** duty cycle, and place an ammeter in series with the motor.

Slowly turn up the duty cycle until the motor starts spinning. Note the duty cycle (or the resistance of the pot) and write it down as the MINIMUM duty cycle.

Continue to slowly turn up the duty cycle until the ammeter reads 0.3A. Note the duty cycle (or the potentiometer's resistance) and record this value as the MAXIMUM duty cycle.

Then modify the circuit to limit the duty cycles to the ones noted.

I would advise placing a small heatsink on that transistor.
 
Top