Timing on-off circuit and device based on RTC chip interrupt pin
Through the timer function of the RTC chip and the coordination of semiconductor diodes and MOS tubes, the timing switch of commercial display equipment is realized, which solves the problems of cost increase and maintenance inconvenient in the existing technology, extends the service life of the equipment and improves the service life of the equipment. Running efficiency.
Patent Information
- Application Number
- CN202421606038.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2034-07-09
AI Technical Summary
The timing switch-on and shutdown function of existing commercial display equipment requires external timing MCU chips, which increases costs and is inconvenient to repair, affecting the stability and service life of the equipment.
The RTC chip's own timer function is adopted, and the timing switch circuit is realized through the interrupt pin in it, which avoids the need for additional MCU chips. The PMIC-PWRON signal is controlled by semiconductor diodes and MOS tubes to realize the power switch of the motherboard.
It reduces the cost of MCU chips, simplifies the equipment structure, extends the service life of the equipment, improves the operating efficiency, and realizes the function of timed power on and off.
Smart Images

Figure CN222234832U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of equipment on / off management, and in particular to a timing on / off circuit and a device based on an RTC chip interrupt pin. Background Art
[0002] Commercial display equipment, especially large display screens, consume a lot of power during continuous operation. The timer power on / off function can automatically shut down the equipment during non-working hours, thereby reducing unnecessary energy consumption and improving energy efficiency. For example, commercial display equipment in retail places such as shopping malls and supermarkets can be automatically shut down at night or during periods with fewer customers to save power resources.
[0003] Long-term continuous operation may cause commercial display equipment to overheat, accelerate aging and other problems, affecting the stability and service life of the equipment. The scheduled power on and off function can ensure that the device is rested within a reasonable period of time, reduce equipment loss, and extend the service life of the device. At the same time, regular shutdown and restart can also help clear the cache and junk files inside the device and improve the operating efficiency of the device.
[0004] However, the timed power on and off of current commercial display devices generally requires an external timed MCU chip, which not only increases the cost but also makes maintenance inconvenient. Therefore, it is necessary to make improvements. Summary of the invention
[0005] In view of this, it is necessary to provide a timing power on and off circuit and device based on the RTC chip interrupt pin, which can be implemented by using the timer function of the RTC chip itself, without the need to add other chips such as MCU to control the power on and off of the entire motherboard, which can reduce the cost of adding chips such as MCU, and can also realize the function of timing power on and off.
[0006] In order to achieve the above object, the utility model provides a timing switch circuit based on the interrupt pin of the RTC chip, comprising:
[0007] RTC chip, the SDA pin of the RTC chip is connected to the mainboard CPU through I2C communication;
[0008] A semiconductor diode D11, wherein a first pin of the semiconductor diode D11 is electrically connected to the INT inverted pin of the RTC chip, a second pin of the semiconductor diode D11 is electrically connected to the CPU-VCC voltage terminal, and a third pin of the semiconductor diode D11 is electrically connected to MOS tubes Q1 and Q2 in sequence; and a collector of the MOS tube Q2 is connected to a PMIC-PWRON signal;
[0009] Among them, when the motherboard CPU is turned off and the timing of the RTC chip reaches the predetermined time, the INT inverted pin of the RTC chip outputs a low signal to the semiconductor diode D11, which turns on the MOS tubes Q1 and Q2, pulls down the PMIC-PWRON signal, and turns on the motherboard CPU; when the motherboard CPU is turned on, it outputs the CPU-VCC voltage, passes through D11, and turns off Q1 and Q2, completing the timed power on and off.
[0010] In some possible implementations, it further includes: a crystal oscillator XT1, capacitors C1, C3, and a resistor R6;
[0011] One end of the crystal oscillator XT1 is connected to the OSCO pin of the RTC chip, the other end of the crystal oscillator XT1 is connected to one end of the capacitor C1 and the OSCI pin of the RTC chip, and the other end of the capacitor C1 is grounded;
[0012] One end of the capacitor C3 is connected to the VDD end of the RTC chip, and both are connected to the input voltage VDD-RTC, and the other end of the capacitor C3 is grounded;
[0013] One end of the resistor R6 is connected to the INT inversion pin of the RTC chip and the first pin of the semiconductor diode D11 , and the other end of the resistor R6 is connected to the input voltage VDD-RTC.
[0014] In some possible implementations, resistors R1, R2, R3, R4, and R5 are also included;
[0015] One end of the resistor R3 is connected to the third pin of the semiconductor diode D11 and one end of the resistor R5, the other end of the resistor R3 is connected to the emitter of the MOS transistor Q1 and both are connected to the input voltage VDD-RTC, and the other end of the resistor R5 is connected to the base of the MOS transistor Q1;
[0016] The collector of the MOS transistor Q1 is connected to the common end of the resistor R2 and the resistor R4, the other end of the resistor R2 is connected to the base of the MOS transistor Q2, and the other end of the resistor R4 is grounded;
[0017] The emitter of the MOS tube Q2 is grounded, the collector of the MOS tube Q2 is connected to one end of the resistor R1 and connected to the PMIC-PWRON signal, and the other end of the resistor R1 is connected to the control voltage PMIC_VCC.
[0018] In some possible implementations, the model of the RTC chip is AT8563S.
[0019] In some possible implementations, the model of the semiconductor diode D11 is BAT54C.
[0020] In some possible implementations, the model of the MOS tube Q1 is MMBT3906, and the model of the MOS tube Q2 is MMBT3904.
[0021] In some possible implementations, the semiconductor diode D11 is used to prevent the mainboard CPU from being forced to shut down due to the signal of the INT inverted pin of the RTC chip being pulled low for too long during the mainboard CPU startup process.
[0022] In some possible implementations, the oscillation frequency of the crystal oscillator XT1 is 32.768 KHZ; the capacity of the capacitor C1 is 18 pF; the capacity of the capacitor C3 is 100 nF; and the resistance of the resistor R6 is 10 KΩ.
[0023] In some possible implementations, the resistance value of the resistor R1 is 10KΩ, the resistance value of the resistor R2 is 10KΩ, the resistance value of the resistor R3 is 10KΩ, the resistance value of the resistor R4 is 4.7KΩ, and the resistance value of the resistor R5 is 10KΩ.
[0024] In order to achieve the above-mentioned purpose, the utility model also provides a timing switch device based on the interrupt pin of the RTC chip, including the above-mentioned timing switch circuit based on the interrupt pin of the RTC chip.
[0025] The beneficial effects of adopting the above implementation are:
[0026] When the motherboard CPU is turned off and the timing of the RTC chip reaches a predetermined time, the INT inversion pin of the RTC chip outputs a low signal to the semiconductor diode D11, which turns on the MOS tubes Q1 and Q2, pulls down the PMIC-PWRON signal, and turns on the motherboard CPU; when the motherboard CPU is turned on, the CPU-VCC voltage is output, and through D11, Q1 and Q2 are not turned on, completing the timed switch. That is, the timer function of the RTC chip is used to achieve this, and there is no need to add other chips such as MCU to control the switch of the entire motherboard, which can reduce the cost of adding chips such as MCU, and at the same time realize the function of timed switch. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0028] Figure 1 The present invention provides a circuit structure diagram of an embodiment of a timing switch circuit based on an RTC chip interrupt pin provided by the present invention. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the utility model.
[0030] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0031] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0032] The utility model provides a timing switch circuit and device based on an RTC chip interrupt pin, which are described below respectively.
[0033] In the embodiment of the utility model, a timing switch circuit based on the interrupt pin of the RTC chip is provided. Please refer to Figure 1 , the circuit comprises:
[0034] RTC chip, the SDA pin of the RTC chip is connected to the mainboard CPU through I2C communication;
[0035] A semiconductor diode D11, wherein a first pin of the semiconductor diode D11 is electrically connected to the INT inverted pin of the RTC chip, a second pin of the semiconductor diode D11 is electrically connected to the CPU-VCC voltage terminal, and a third pin of the semiconductor diode D11 is electrically connected to MOS tubes Q1 and Q2 in sequence; and a collector of the MOS tube Q2 is connected to a PMIC-PWRON signal;
[0036] Among them, when the motherboard CPU is turned off and the timing of the RTC chip reaches the predetermined time, the INT inverted pin of the RTC chip outputs a low signal to the semiconductor diode D11, which turns on the MOS tubes Q1 and Q2, pulls down the PMIC-PWRON signal, and turns on the motherboard CPU; when the motherboard CPU is turned on, it outputs the CPU-VCC voltage, passes through D11, and turns off Q1 and Q2, completing the timed power on and off.
[0037] It should be noted that the VDD-RTC power supply needs to be powered all the time and has power after shutting down.
[0038] In the specific implementation, first set the shutdown time of the motherboard CPU, send instructions to U1 (RTC chip) through the I2C signal, set the startup time, and the shutdown time should be earlier than the startup time. After the motherboard CPU is shut down, the RTC chip executes timing internally. When the set time is reached, the U1 (PIN3) chip will output a low signal to execute the subsequent power on and off process.
[0039] In some possible implementations, it further includes: a crystal oscillator XT1, capacitors C1, C3, and a resistor R6;
[0040] One end of the crystal oscillator XT1 is connected to the OSCO pin of the RTC chip, the other end of the crystal oscillator XT1 is connected to one end of the capacitor C1 and the OSCI pin of the RTC chip, and the other end of the capacitor C1 is grounded;
[0041] One end of the capacitor C3 is connected to the VDD end of the RTC chip, and both are connected to the input voltage VDD-RTC, and the other end of the capacitor C3 is grounded;
[0042] One end of the resistor R6 is connected to the INT inversion pin of the RTC chip and the first pin of the semiconductor diode D11 , and the other end of the resistor R6 is connected to the input voltage VDD-RTC.
[0043] In some possible implementations, resistors R1, R2, R3, R4, and R5 are also included;
[0044] One end of the resistor R3 is connected to the third pin of the semiconductor diode D11 and one end of the resistor R5, the other end of the resistor R3 is connected to the emitter of the MOS transistor Q1 and both are connected to the input voltage VDD-RTC, and the other end of the resistor R5 is connected to the base of the MOS transistor Q1;
[0045] The collector of the MOS transistor Q1 is connected to the common end of the resistor R2 and the resistor R4, the other end of the resistor R2 is connected to the base of the MOS transistor Q2, and the other end of the resistor R4 is grounded;
[0046] The emitter of the MOS tube Q2 is grounded, the collector of the MOS tube Q2 is connected to one end of the resistor R1 and connected to the PMIC-PWRON signal, and the other end of the resistor R1 is connected to the control voltage PMIC_VCC.
[0047] In some possible implementations, the model of the RTC chip is AT8563S.
[0048] In some possible implementations, the model of the semiconductor diode D11 is BAT54C.
[0049] In some possible implementations, the model of the MOS tube Q1 is MMBT3906, and the model of the MOS tube Q2 is MMBT3904.
[0050] In some possible implementations, the semiconductor diode D11 is used to prevent the mainboard CPU from being forced to shut down due to the signal of the INT inverted pin of the RTC chip being pulled low for too long during the mainboard CPU startup process.
[0051] In some possible implementations, the oscillation frequency of the crystal oscillator XT1 is 32.768 KHZ; the capacity of the capacitor C1 is 18 pF; the capacity of the capacitor C3 is 100 nF; and the resistance of the resistor R6 is 10 KΩ.
[0052] In some possible implementations, the resistance value of the resistor R1 is 10KΩ, the resistance value of the resistor R2 is 10KΩ, the resistance value of the resistor R3 is 10KΩ, the resistance value of the resistor R4 is 4.7KΩ, and the resistance value of the resistor R5 is 10KΩ.
[0053] In summary, when the motherboard CPU is turned off and the timing of the RTC chip reaches a predetermined time, the INT inversion pin of the RTC chip outputs a low signal to the semiconductor diode D11, which turns on the MOS tubes Q1 and Q2, pulls down the PMIC-PWRON signal, and turns on the motherboard CPU; when the motherboard CPU is turned on, the CPU-VCC voltage is output, and through D11, Q1 and Q2 are not turned on, completing the timed switch. That is, the timer function of the RTC chip is used to achieve this, and there is no need to add other chips such as MCU to control the switch of the entire motherboard, which can reduce the cost of adding chips such as MCU, while realizing the function of timed switch.
[0054] In order to achieve the above-mentioned purpose, the utility model also provides a timing switch device based on the interrupt pin of the RTC chip, including the above-mentioned timing switch circuit based on the interrupt pin of the RTC chip.
[0055] It should be noted that the timing power on / off device based on the RTC chip interrupt pin provided in the above embodiment can implement the technical solution described in the above embodiment of the timing power on / off circuit based on the RTC chip interrupt pin. The specific implementation principles of the above modules or units can be found in the corresponding contents in the above method embodiments, which will not be repeated here.
[0056] The above is a detailed introduction to the timing switch circuit and device based on the RTC chip interrupt pin provided by the utility model. This article uses specific examples to illustrate the principle and implementation method of the utility model. The description of the above embodiments is only used to help understand the core idea of the timing switch circuit and device based on the RTC chip interrupt pin of the utility model; at the same time, for technical personnel in this field, according to the idea of the utility model, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the utility model.
Claims
1. A timing switch circuit based on the interrupt pin of an RTC chip, characterized in that: include: RTC chip, the SDA pin of the RTC chip is connected to the mainboard CPU through I2C communication; A semiconductor diode D11, wherein a first pin of the semiconductor diode D11 is electrically connected to the INT inverted pin of the RTC chip, a second pin of the semiconductor diode D11 is electrically connected to the CPU-VCC voltage terminal, and a third pin of the semiconductor diode D11 is electrically connected to MOS tubes Q1 and Q2 in sequence; and a collector of the MOS tube Q2 is connected to a PMIC-PWRON signal; Among them, when the motherboard CPU is turned off and the timing of the RTC chip reaches the predetermined time, the INT inverted pin of the RTC chip outputs a low signal to the semiconductor diode D11, which turns on the MOS tubes Q1 and Q2, pulls down the PMIC-PWRON signal, and turns on the motherboard CPU; when the motherboard CPU is turned on, it outputs the CPU-VCC voltage, passes through D11, and turns off Q1 and Q2, completing the timed power on and off.
2. The timing switch circuit based on the RTC chip interrupt pin according to claim 1, characterized in that: Also includes: Crystal oscillator XT1, capacitors C1, C3 and resistor R6; One end of the crystal oscillator XT1 is connected to the OSCO pin of the RTC chip, the other end of the crystal oscillator XT1 is connected to one end of the capacitor C1 and the OSCI pin of the RTC chip, and the other end of the capacitor C1 is grounded; One end of the capacitor C3 is connected to the VDD end of the RTC chip, and both are connected to the input voltage VDD-RTC, and the other end of the capacitor C3 is grounded; One end of the resistor R6 is connected to the INT inversion pin of the RTC chip and the first pin of the semiconductor diode D11 , and the other end of the resistor R6 is connected to the input voltage VDD-RTC.
3. The timing switch circuit based on the RTC chip interrupt pin according to claim 1, characterized in that: It also includes resistors R1, R2, R3, R4 and R5; One end of the resistor R3 is connected to the third pin of the semiconductor diode D11 and one end of the resistor R5, the other end of the resistor R3 is connected to the emitter of the MOS transistor Q1 and both are connected to the input voltage VDD-RTC, and the other end of the resistor R5 is connected to the base of the MOS transistor Q1; The collector of the MOS transistor Q1 is connected to the common end of the resistor R2 and the resistor R4, the other end of the resistor R2 is connected to the base of the MOS transistor Q2, and the other end of the resistor R4 is grounded; The emitter of the MOS tube Q2 is grounded, the collector of the MOS tube Q2 is connected to one end of the resistor R1 and connected to the PMIC-PWRON signal, and the other end of the resistor R1 is connected to the control voltage PMIC_VCC.
4. The timing switch circuit based on the RTC chip interrupt pin according to claim 1, characterized in that: The model of the RTC chip is AT8563S.
5. The timing switch circuit based on the RTC chip interrupt pin according to claim 1, characterized in that: The model of the semiconductor diode D11 is BAT54C.
6. The timing switch circuit based on the RTC chip interrupt pin according to claim 1, characterized in that: The model of the MOS tube Q1 is MMBT3906, and the model of the MOS tube Q2 is MMBT3904.
7. The timing switch circuit based on the RTC chip interrupt pin according to claim 1, characterized in that: The semiconductor diode D11 is used to prevent the mainboard CPU from being forced to shut down due to the signal of the INT inverted pin of the RTC chip being pulled low for too long during the mainboard CPU startup process.
8. The timing switch circuit based on the RTC chip interrupt pin according to claim 2, characterized in that: The oscillation frequency of the crystal oscillator XT1 is 32.768KHZ; the capacity of the capacitor C1 is 18pF; the capacity of the capacitor C3 is 100nF; and the resistance of the resistor R6 is 10KΩ.
9. The timing switch circuit based on the RTC chip interrupt pin according to claim 3, characterized in that: The resistance value of the resistor R1 is 10KΩ, the resistance value of the resistor R2 is 10KΩ, the resistance value of the resistor R3 is 10KΩ, the resistance value of the resistor R4 is 4.7KΩ, and the resistance value of the resistor R5 is 10KΩ.
10. A timer switch device based on an RTC chip interrupt pin, comprising the timer switch circuit based on an RTC chip interrupt pin as claimed in any one of claims 1 to 9.
