Clock chip or single-chip microcomputer main and auxiliary power supply automatic switching circuit

By designing the automatic switching circuit of MOS tubes Q2 and Q3, the problem of traditional clock chips or microcontrollers losing timing function when the battery is limited and VCC is powered off is solved, and the automatic switching of power supply and continuous power supply of clock functions are realized.

CN222016261UActive Publication Date: 2024-11-15ZHONGSHAN DONE LIGHTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422290521.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2024-11-15
Estimated Expiration
2034-09-20

AI Technical Summary

Technical Problem

Traditional clock chips or microcontrollers have limited service life when powered by batteries, but lose the timing function when the VCC power is powered off.

Method used

An automatic switching circuit for main and secondary power supply is designed. Using MOS tube Q2 and MOS tube Q3, the input voltage VIN and battery voltage can realize automatic power supply switching of the VCC terminal of the microcontroller, and switch to battery voltage when the VIN voltage is powered off.

Benefits of technology

Ensure that the clock chip can still operate when the battery voltage or input voltage is powered off. Through the complementary control of the two MOS tubes, automatic switching of the power supply and continuous power supply of the clock function are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222016261U_ABST
    Figure CN222016261U_ABST
Patent Text Reader

Abstract

A clock chip or single-chip microcomputer main and auxiliary power supply automatic switching circuit is characterized by comprising an input voltage VIN and a battery voltage, and further comprising an MOS tube Q2 and an MOS tube Q3; the drain electrode of the MOS tube Q2 is connected with the input voltage VIN, and the source electrode of the MOS tube Q2 is connected with the VCC end of the single chip microcomputer; the source electrode of the MOS transistor Q3 is connected with the battery voltage, the drain electrode of the MOS transistor Q3 is connected with the VCC end of the single-chip microcomputer, and the grid electrode of the MOS transistor Q2 and the grid electrode of the MOS transistor Q3 are complementary, so that after the corresponding MOS transistor is conducted, the corresponding voltage supplies power to the VCC end of the single-chip microcomputer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of LED power supply, in particular to a clock chip or a single-chip computer main and auxiliary power supply automatic switching circuit. Background Art

[0002] Traditional clock chips (or microcontrollers) are powered by batteries or independently powered by power supply VCC. When the battery is powered independently, the battery life is limited; and when the VCC power supply is off, the clock chip or microcontroller does not provide timing function. Utility Model Content

[0003] In order to solve the above problems, the technical solution provides a clock chip or a single-chip microcomputer main and auxiliary power supply automatic switching circuit.

[0004] To achieve the above purpose, the technical solution is as follows:

[0005] The clock chip or the single-chip computer main and auxiliary power supply automatic switching circuit includes the input voltage VIN and the battery voltage, and also includes the MOS tube Q2 and the MOS tube Q3;

[0006] The drain of the MOS tube Q2 is connected to the input voltage VIN, and the source is connected to the VCC terminal of the single chip microcomputer;

[0007] The source of the MOS tube Q3 is connected to the battery voltage, the drain is connected to the VCC terminal of the single chip computer, and the gate of the MOS tube Q2 is complementary to the gate of the MOS tube Q3, so that when the corresponding MOS tube is turned on, the corresponding voltage supplies power to the VCC terminal of the single chip computer.

[0008] In some embodiments, the gate of the MOS transistor Q2 is connected to the drain of the MOS transistor Q1 , the source of the MOS transistor Q1 is grounded, and the gate is connected to the voltage VIN.

[0009] In some embodiments, the gate of the MOS transistor Q2 is further connected to the drain of the MOS transistor Q3 via a resistor R2.

[0010] In some embodiments, the voltage VIN is also connected to the gate of the MOS transistor Q3.

[0011] In some embodiments, the gate of the MOS transistor Q3 is grounded through a resistor R1.

[0012] The beneficial effects of this application are:

[0013] The present application has two input power supplies, namely the battery voltage and the input voltage VIN. Each power supply has a MOS tube for controlling on and off. Normally, the MOS tube for controlling the voltage VIN is turned on, and the voltage VIN provides the voltage VCC to power the clock chip. Since the two MOS tubes are complementary, the MOS tube for the battery voltage is cut off at this time. When the voltage VIN is powered off, the MOS tube for the voltage VIN will be cut off, and the other MOS tube will be turned on. In this way, the battery voltage can be switched to provide the voltage VCC to power the clock chip, so that the clock of the clock chip keeps working. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present utility model, the following briefly introduces the drawings required for describing the embodiments.

[0015] Figure 1 It is a structural schematic diagram of an embodiment of the utility model. DETAILED DESCRIPTION

[0016] In order to make the technical problems, technical solutions and beneficial effects solved by the utility model more clear, the utility model is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the utility model and are not used to limit the utility model.

[0017] Please refer to Figure 1 As shown, the clock chip or the single-chip computer main and auxiliary power supply automatic switching circuit includes an input voltage VIN and a battery voltage, and also includes a MOS tube Q2 and a MOS tube Q3;

[0018] The drain of the MOS tube Q2 is connected to the input voltage VIN, and the source is connected to the VCC terminal of the single chip microcomputer;

[0019] The source of the MOS tube Q3 is connected to the battery voltage, the drain is connected to the VCC terminal of the single chip computer, and the gate of the MOS tube Q2 is complementary to the gate of the MOS tube Q3, so that when the corresponding MOS tube is turned on, the corresponding voltage supplies power to the VCC terminal of the single chip computer.

[0020] Specifically, the gate of the MOS transistor Q2 is connected to the drain of the MOS transistor Q1 , the source of the MOS transistor Q1 is grounded, and the gate is connected to the voltage VIN.

[0021] Specifically, the gate of the MOS transistor Q2 is also connected to the drain of the MOS transistor Q3 via the resistor R2.

[0022] Specifically, the voltage VIN is also connected to the gate of the MOS transistor Q3.

[0023] Specifically, the gate of the MOS tube Q3 is grounded through the resistor R1.

[0024] When the voltage VIN is 3.3V or 5V, the gate of MOS tube Q1 is at a high level. At this time, MOS tube Q1 is turned on, and the gate of MOS tube Q2 is grounded, so MOS tube Q2 is turned on, so the voltage VIN provides voltage VCC to power the clock chip through MOS tube Q2. Because the gate of MOS tube Q3 is at a high level, it is in a cut-off state. Therefore, the battery voltage cannot power the clock chip regardless of whether there is power. When the voltage VIN is powered off, MOS tube Q1 is disconnected, MOS tube Q3 is turned on, and the battery voltage provides voltage VCC through MOS tube Q3, and the gate of MOS tube Q2 is at a high level and is also disconnected.

[0025] The above description is only a preferred embodiment of the present application and is not intended to limit the scope of implementation of the present application. Other principles and basic structures that are the same or similar to those of the present application are within the protection scope of the present application.

Claims

1. Clock chip or single-chip microcomputer main and auxiliary power supply automatic switching circuit, characterized in that: Including input voltage VIN and battery voltage, and also including MOS tube Q2 and MOS tube Q3; The drain of the MOS tube Q2 is connected to the input voltage VIN, and the source is connected to the VCC terminal of the single chip microcomputer; The source of the MOS tube Q3 is connected to the battery voltage, the drain is connected to the VCC terminal of the single chip computer, and the gate of the MOS tube Q2 is complementary to the gate of the MOS tube Q3, so that when the corresponding MOS tube is turned on, the corresponding voltage supplies power to the VCC terminal of the single chip computer.

2. The clock chip or single-chip microcomputer main and auxiliary power supply automatic switching circuit according to claim 1, characterized in that: The gate of the MOS transistor Q2 is connected to the drain of the MOS transistor Q1 , the source of the MOS transistor Q1 is grounded, and the gate is connected to the voltage VIN.

3. The clock chip or single-chip microcomputer main and auxiliary power supply automatic switching circuit according to claim 2, characterized in that: The gate of the MOS transistor Q2 is also connected to the drain of the MOS transistor Q3 via a resistor R2.

4. The clock chip or single-chip microcomputer main and auxiliary power supply automatic switching circuit according to claim 3, characterized in that: The voltage VIN is also connected to the gate of the MOS transistor Q3.

5. The clock chip or single-chip microcomputer main and auxiliary power supply automatic switching circuit according to claim 4, characterized in that: The gate of the MOS tube Q3 is grounded through the resistor R1.