Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Papers

Post History

#19: Post edited by user avatar Lorenzo Donati‭ · 2023-08-10T12:07:33Z (about 1 year ago)
Retagged.
#18: Post edited by user avatar Lorenzo Donati‭ · 2023-08-10T12:07:02Z (about 1 year ago)
Retagged.
#17: Post edited by user avatar Circuit fantasist‭ · 2020-11-04T12:01:18Z (about 4 years ago)
Minor edit
#16: Post edited by user avatar Circuit fantasist‭ · 2020-11-04T10:08:45Z (about 4 years ago)
Minor edit
#15: Post edited by user avatar Circuit fantasist‭ · 2020-11-04T10:05:48Z (about 4 years ago)
Minor edit
#14: Post edited by user avatar Circuit fantasist‭ · 2020-11-04T10:04:04Z (about 4 years ago)
Added link
#13: Post edited by user avatar Circuit fantasist‭ · 2020-11-04T10:00:46Z (about 4 years ago)
Added link
#12: Post edited by user avatar Circuit fantasist‭ · 2020-11-04T09:55:25Z (about 4 years ago)
Refining
#11: Post edited by user avatar Circuit fantasist‭ · 2020-11-03T16:47:00Z (about 4 years ago)
Minor edit
#10: Post edited by user avatar Circuit fantasist‭ · 2020-11-03T16:45:24Z (about 4 years ago)
More about the currents
#9: Post edited by user avatar Circuit fantasist‭ · 2020-11-02T20:08:55Z (about 4 years ago)
Minor edit
#8: Post edited by user avatar Circuit fantasist‭ · 2020-11-02T20:00:06Z (about 4 years ago)
More about "2 in 1" battery
#7: Post edited by user avatar Circuit fantasist‭ · 2020-11-02T18:41:24Z (about 4 years ago)
Specifying
#6: Post edited by user avatar Circuit fantasist‭ · 2020-11-02T18:38:48Z (about 4 years ago)
Structuring
#5: Post edited by user avatar Circuit fantasist‭ · 2020-11-02T17:20:37Z (about 4 years ago)
About the BIN symbol
#4: Post edited by user avatar Circuit fantasist‭ · 2020-11-02T17:19:08Z (about 4 years ago)
About the BIN symbol
#3: Post edited by user avatar Circuit fantasist‭ · 2020-11-02T17:10:44Z (about 4 years ago)
More about the battery Bb
#2: Post edited by user avatar Circuit fantasist‭ · 2020-11-02T12:19:37Z (about 4 years ago)
Minor edit
#1: Initial revision by user avatar Circuit fantasist‭ · 2020-11-02T12:16:28Z (about 4 years ago)
Battery backup voltage regulator (invention story)
Goals and objectives
----------------------------

Inspired that there is a place on the web where simple but clever circuit ideas are encouraged, I decided to share another 1-transistor circuit trick. Besides, to make the story even more interesting than before, I decided to show, step-by-step, how the circuit was (could be) "invented"... as an example of an inventing procedure. Thus, visitors to the new platform will not only get acquainted with a simple but clever device but will also get an idea of how they can invent such devices themselves... and that would be great. So I have two goals - one is _specific_ (1-transistor device) and the other is _general_ (technology of invention).

My story is based on an inherent BJT property that sometimes causes strange problems - when is fully *on*, the base-emitter junction actually connects, like a forward biased diode, the base to the emitter; thus the input voltage source is directly connected to the emitter. For example, this situation can happen in an emitter follower, if the emitter ceases, for some reason, to follow the base. Usually, this is an undesired situation but here I will show one of its useful applications in power supplies equipped with a backup battery.

This idea came to me in the early 90's when I had to develop a simple power supply for alarm systems (at that time, the electricity was often interrupted here and alarm systems had to be backed up; now it is mandatory). Although this was a long time ago, the idea is still relevant and worth considering. Here is a possible scenario of the "inventing" procedure...

“Inventing” the circuit
----------------------------

**1. Unregulated power supply.** If we supply the load by an unregulated power supply (consisting of a transformer, diode rectifier and filter) - Fig. 1, the voltage will vary for various reasons - because the mains voltage varies... or because the load varies... or both.

![Unregulated power supply](https://electrical.codidact.com/uploads/15kB93qPmR7431VPh5v4DbMT)

Fig. 1. Supplying a load  by an unregulated power supply.

**2. Regulated power supply.** So we have to somehow keep the voltage constant. The best way to do it is as in life - to keep it equal to another but reference (desired) voltage. For this purpose we compare them and change the voltage in the necessary direction until the difference between them becomes zero. This procedure is called (not very appropriate) "negative feedback".

![Emitter follower](https://electrical.codidact.com/uploads/Lri28fwdNy7Qf87Ep6pk4JPT)

Fig. 2. Regulating the voltage by means of the negative feedback (emitter follower with constant input voltage)

To implement it, we need a _comparator_ and a _regulating element_. Both can be implemented by only one bipolar transistor - Fig. 2. The base-emitter junction is its (floating) input and the collector-emitter junction is the regulating element. The transistor "observes" the difference between the reference voltage VREF and the load voltage VL and changes its current until they become (almost) equal. Figuratively speaking, the transistor acts as a "variable resistor" that changes its static resistance to change the current. This arrangement is known as "emitter follower".

The question now is, "Where do we get the reference voltage from?"

**3. Battery backup voltage regulator.** It is common to take it from the input unregulated voltage through a voltage divider of two resistors (bad) or a resistor and a zener diode (good). But here it turns out that we do not have a suitable Zener diode at hand... and then we come up with a simple "temporary" solution - to include a battery producing the voltage VREF - Fig. 3. Why not?

![Battery reference source](https://electrical.codidact.com/uploads/LApo3ffwLuut5aTkDR4GhkDd)

Fig. 3. Using a battery as a reference source ("Zener diode").

The battery provides the small base current needed to set the beta times higher collector current and, accordingly, the load current needed.

**4. Battery backup voltage regulator.** Here, too, chance intervenes and helps us make the "invention". Accidentally, the input voltage interrupts... but to our surprise, the load (alarm system) continues to operate at normal voltage. Why? Where does this voltage come from?

![Battery supply](https://electrical.codidact.com/uploads/A1RySaeYWQzvwgSDAekfofNF)

Fig. 4. An accidental invention of a battery backup supply - the battery supplies the load directly through the base-emitter junction.

Yeah, that is what it was - the battery voltage VB, which is transferred directly through the base-emitter junction as through a forward-biased diode. But wait... we can use this "failure" for something useful - _to back up the supply voltage_! This way we will not need additional diodes to switch the voltages.

This is a "2 in 1" solution since the single transistor does two things - _regulates_ the input voltage and _switches_ the voltages. Note that in the second mode (VIN failure) actually the transistor is not a transistor; it is used as a diode. The whole load current flows through the base-emitter junction acting as a diode.

**5. Making the backup battery chargeable.** The arrangement above works in this form as well. The base current is negligible and the battery will last maybe for a few months. But it is good to be rechargeable and to ensure its continuous charging. The simplest solution is through a resistor R - Fig. 5.

![Charged battery backup voltage regulator](https://electrical.codidact.com/uploads/UTYMPrRJCJr7rxwf5fBds6ch)

Fig. 5. Rechargeable battery backup voltage regulator

If you are afraid that the battery will overcharge, you can connect a Zener diode in parallel.

**6. Rechargeable battery backup voltage regulator.**

![Charged battery supply](https://electrical.codidact.com/uploads/5XwjEqVEpTgHaLUkKDMh91vZ)

Fig. 6. The charged battery supplies the load directly through the base-emitter junction.

Conclusion
----------

In this story, I have shown how another simple 1-transistor circuit is "invented". This is an example of how chance can help us come up with a new idea and its implementation.

This is also an illustration of the inventive "principle of combination" - two functions are combined in one transistor (_regulation_ and _switching_).