Location:Home Page > Archive Archive
Analysis of power circuit of a classic single-chip microcomputer
2023-03-18【Archive】
Analyze today classic single-chip microcomputer power supply circuit. The schematic diagram of circuit is shown in figure below:
▲ Simplified breaker circuit diagram
Before turning on circuit. The "TEST" switch is off and MCU is not powered through VCC. At this time, T1 base is grounded through R9 (100kΩ) and is in off state. The test connected to base resistor R7 of T3 and T1 is in cutoff state, so T3 is also in cutoff state.
The +9V of power supply is isolated to T3 and is not loaded on voltage regulator IC IC2, and the VCC output of IC2 remains low.
▲ Closed circuit status
Press "TEST" button to start circuit, base of T3 is grounded through R7, Test, b-e T2, so that T3 turns on. At this time, +9V is added to voltage regulator IC IC2 via T3. An IC2 VCC output is added to microcontroller.
After MCU is running, it outputs a high voltage through IO2 and turns on T1 through R8. Even if a test is run at this time, base of T3 can be grounded through R7, LED1 and T1 to open electric lock.
▲ Press TEST to run circuit
▲ After starting circuit, MCU provides base voltage T1 to maintain T3 conduction
The microcontroller software can then pull IO2 low again to disable T1 and then T3.
You can read state of T2 switch according to IO1 port and then determine if user has pressed a function key. After determining that user presses Test, after user releases Test, IO2 can be set to low.
According to software function, it can also automatically delay power off, thus reducing power consumption.
Related
- Analysis of power circuit of a classic single-chip microcomputer
- What does inside of a multilayer PCB look like? Three-dimensional general analysis of design process of high-quality printed circuit boards
- [Comic] Detailed explanation of knowledge of power sources
- The best switching circuit design process for power supplies is a must for engineers!
- Hardware Circuit Design Specification: A Very Good Reference to Hardware Design
- Deep Understanding of Analog Electronics - Analog Electronics Tutorial
- Diagram of relationship between PCB layout and EMC
- 44 types of practical schemes, you will master, you will know everything!
- Power Knowledge - Flyback Transformer Design Process
- Notes on whole switching power supply design process!
Hot Posts

- Hardware Circuit Design Specification: A Very Good Reference to Hardware Design
- Notes on whole switching power supply design process!
- Do you know all this little knowledge about inverters?
- Why is analog electronics so hard to learn?
- Power Knowledge - Flyback Transformer Design Process
- The best switching circuit design process for power supplies is a must for engineers!
- Commonly Used Peripheral Diagrams, Hardware Design Reference and Precautions
- 44 types of practical schemes, you will master, you will know everything!