This relates to solid state switches and switch circuits and simple switches/switch circuits which include Bipolar Junction Transistors (BJTs).
A single BJT switch has no hysteresis. An unstable input voltage (e.g. with noise) at or close to the threshold level to the base may cause the switch to turn on and off repeatedly.
More complex designs available with multiple BJTs (three or more BJT's) or with comparator solution are used to overcome this problem and to create hysteresis.
It is an object of the invention to overcome this problem and to create a simpler and cheaper switch circuit which includes hysteresis.
The problem of a single BJT NPN open collector switch without hysteresis is vulnerable to unstable input voltage at threshold level to the base of the BJT is solved by adding another BJT (PNP) switch to enhance the turn on current to the base of the NPN.
In one aspect is provided Switch circuitry comprising an input terminal, said input terminal connected to the base of a first transistor (Q1) via a first resistor R3, said first transistor being an NPN Bipolar Gate Transistor (Q1), further comprising a second resistor (R5) connected between the base of said first transistor Q1 and ground, and including an output line or terminal connected to the collector of said first transistor (Q1), and wherein the emitter of said first transistor (Q1) is connected to ground (earth), said circuitry further including a second transistor (Q2), said second transistor being a PNP Bipolar Gate Transistor, wherein the collector of said second transistor (Q2) is connected via a third resistor (R8) to the base of said first transistor (Q1), and the emitter of said second transistor Q2 is connected to said input terminal, and wherein the emitter of said second transistor (Q2) is additionally connected to the base of said second transistor Q2 via a fourth resistor R11; and the base of said second transistor (Q2) being additionally connected to the output terminal (3) via a fifth resistor (R10) and a diode (D1.
Said diode D1 may be electrically connected between said fourth resistor (R10) and output line/terminal (3).
The present invention is now described by way of example with reference to the accompanying drawings in which:
As mentioned, this circuit has no hysteresis so in a typical open collector NPN switch below there is no Schmitt trigger or hysteresis. Noise on the input can toggle the switch on and off means it can be unstable.
A known solution is to use add a comparator for to add hysteresis.
In one example, the circuitry provides a switch with hysteresis which is efficient and reliable.
In addition, the circuit includes a further BJT designated Q2 which is a PNP transistor. The collector of Q2 is connected via a resistor R8 to the base of Q1, and the emitter of Q2 is connected to the input line/terminal 1. The emitter of Q2 is also connected to the base of Q2 via resistor R11; the base of Q2 also being connected to the output terminal via a resistor R10 and a diode D1; diode D1 being located between resistor R10 and output line/terminal 3. Optionally the positions of the resistor R10 and diode may be interchanged ie. The resistor R10 may be located (i.e. electrically connected between the diode and terminal 3.
So, the circuitry effectively provides a Schmitt trigger switch by adding a second BJT Q2 which is a PNP BJT, as well as resistors R8, R11, R10 and a diode.
Input voltage rises to threshold voltage just enough to turn on Q1 through R3. When Q1 turns on, it will also turn on Q2 through R10 and diode. When Q2 turns on, more current is provided to the base of Q1 through R8. This forces the Q1 to “turn on” state. This enhances the turn on current to base of Q1.
As Q1 NPN turns on (output voltage go to zero), the Q1 NPN base voltage shoots up from 0.5V to 0.7V. This is a result of Q2 providing more current to the base. In this example, the turn on voltage (low to high) is 6.2V and the turn off voltage (high to low) is 2.8V. Threshold voltage and hysteresis range can be adjusted by adjusting the resistance values (of which resistors).
Number | Date | Country | Kind |
---|---|---|---|
10202102992W | Mar 2021 | SG | national |