5
\$\begingroup\$

I'm very new to circuit design and have been doing lots of reading and research in order to understand everything going on in this schematic. I think I understand all of it except for the purpose of the 1k ohms resistor going from the control signal to the emitter.

Can someone explain what that does?

enter image description here

This circuit is part of a bigger project outlined here: http://victorbush.com/2015/01/arduino-rfid-door-strike/

\$\endgroup\$
4
  • 6
    \$\begingroup\$ Thanks! Knowing what terms to search for (weak pull down resistor) led me to this answer which was helpful: electronics.stackexchange.com/questions/95976/… \$\endgroup\$
    – forgueam
    Commented Aug 6, 2016 at 19:59
  • \$\begingroup\$ Why don't you speak to the guy who designed it. Sometimes there's a valid reason for the 1 kohm resistor and sometimes there isn't. VTC on soliciting opinions based on trying to get into the brain of the guy who designed it. \$\endgroup\$
    – Andy aka
    Commented Aug 6, 2016 at 21:31
  • \$\begingroup\$ In general, base to ground resistors on BJT's help make sure the transistor turns off, and help to make sure that weak signals from the source do not turn it on. For example, sometimes processor pins may have internal weak pullups on them during power-on and reset. Those weak pullups could turn on a transistor. The pull-down can make sure it stays off until code has control of the output. \$\endgroup\$
    – user57037
    Commented Aug 6, 2016 at 22:01
  • \$\begingroup\$ @andy because we really need that type of response for a simple transistor circuit... \$\endgroup\$
    – Passerby
    Commented Aug 6, 2016 at 22:30

3 Answers 3

4
\$\begingroup\$

The 1k resistor is a pull-down resistor. Not the weakest one of that, but that's okay. It is meant to pull the base of the transistor to a known state (ground) when the control signal is missing/open/high input. To prevent a floating signal or even leakage current from turning the transistor on, to make sure the strike doesn't open or engage randomly. It does form a small voltage divider, but not enough to really affect the transistor performance. Due to its value, it will waste 0.5mA to ground when the control signal is high, so it's value may need to be changed for battery applications. A 10k to 47k may be a better value.

\$\endgroup\$
4
\$\begingroup\$

I'm not saying this is what was in the designer's head, but it's possible that with the Arduino microcontroller not powered a powerful RF signal could be rectified by the transistor base and cause the door to unlock or heat up the transistor and solenoid. It also reduces the leakage current if the transistor was hot and the Arduino was not powered. It doesn't do much of anything useful if the Arduino is powered and the output is configured to pull down.

The 1K takes 0.7mA of the available base current only when 'on' (a few percent probably, and less than 0.3% of the total current including the solenoid) so it's reasonable enough. If replaced with a larger value resistor, a capacitor from base to emitter would eliminate the RF concern. To pick a reasonable value say that Xc = (say) 1000 ohms at (say) 100kHz so a few nF would do the trick.

However there appears to be a flaw in the ointment (sic) here- the solenoid inductance is a powerful storage reservoir of magnetic field energy that will cause the voltage to rise to hundreds of volts and thus break down the TIP3055 when the power is shut off to the strike. To avoid this, a reverse-biased diode should be installed across the solenoid. It's possible there is one already inside, but I see no mention of it on the datasheet or install sheet.

A 1N4004 or similar will do the trick. The TIP3055 is a fairly robust device and it will probably survive this for a while, but it would be a major pain to have it fail (probably on)- it appears to be rated at 30 seconds maximum 'on' time- and burn out the expensive strike mechanism, whilst leaving the door open for rascals to ransack the place.

\$\endgroup\$
1
  • \$\begingroup\$ In regards to back emf diode on the strike as Spehro mentioned. Some manufacturers are using them in built into electromechanical locks these days. However I would err on the side of caution and allow for it unless confirmed the strike does have it fitted internally. You would have to check the part number of the strike you end up using. \$\endgroup\$
    – D-on
    Commented Aug 7, 2016 at 5:42
1
\$\begingroup\$

This resistor performs two functions.

1) It is a pull-down resistor.

2) It is part of a voltage divider. This allows the threshold voltage to be set to the desired value.

For example, it is possible to pick resistor values such that the transistor doesn't turn on until say, 120 Volts is present at the circuit input. Almost any voltage greater than Vbe can be selected.

This allows you to improve resistance to false or low-level signals.

Note that the threshold voltage is sensitive to both temperature changes as well as variation between devices. Nonetheless, it is an important design element.

\$\endgroup\$

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