CN101299618B - Real time clock circuit of intelligent mobile phone - Google Patents

Real time clock circuit of intelligent mobile phone Download PDF

Info

Publication number
CN101299618B
CN101299618B CN2008100394898A CN200810039489A CN101299618B CN 101299618 B CN101299618 B CN 101299618B CN 2008100394898 A CN2008100394898 A CN 2008100394898A CN 200810039489 A CN200810039489 A CN 200810039489A CN 101299618 B CN101299618 B CN 101299618B
Authority
CN
China
Prior art keywords
links
crystal
real
timepiece chip
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008100394898A
Other languages
Chinese (zh)
Other versions
CN101299618A (en
Inventor
石武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Wingtech Electronic Technology Co Ltd
Original Assignee
Shanghai Wingtech Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Wingtech Electronic Technology Co Ltd filed Critical Shanghai Wingtech Electronic Technology Co Ltd
Priority to CN2008100394898A priority Critical patent/CN101299618B/en
Publication of CN101299618A publication Critical patent/CN101299618A/en
Application granted granted Critical
Publication of CN101299618B publication Critical patent/CN101299618B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an intelligent mobile phone real time clock circuit, which includes a real time clock chip, crystals, stand-by batteries. The starting up signal terminal of the real time clock chip sends out an interrupt signal to drive the mobile phone system to start up. The ground terminal of the crystal is connected to the earth terminal, the oscillator pin OSCIN of the crystal is connected to the output terminal of the reference oscillator of the real time clock chip, the oscillator pin OSCOUT of the crystal is connected to the input terminal of the reference oscillator of the real time clock chip, the oscillator pin OSCIN of the crystal is connected to the earth terminal through a shock coupling capacitance C435, and the oscillator pin OSCOUT of the crystal is connected to the earth terminal through a shock coupling capacitance C436. The invention can simultaneously satisfy the closedown alarm clock, clock maintaining and the like functions of the intelligent mobile phone, on the basis of the clock setting and clock interrupt producing functions of the prior real time clock chip.

Description

A kind of real time clock circuit of smart mobile phone
Technical field
The present invention relates to mobile phone circuit, particularly a kind of real time clock circuit of smart mobile phone.
Background technology
Along with the propelling of chip technology, mobile phone is not only means of communication, and the application of multimedia and Ethernet is integrated in the middle of the mobile phone, so smart mobile phone becomes a kind of trend of mobile phone development.Because the function of smart mobile phone is very complete, so the design that chip supplier provides can not cover all application.
The model of real-time timepiece chip has a variety of, and the function of this chip is to set clock and produce the clock interruption.The present invention has designed a kind of novel clock scheme on these two characteristics bases of existing real-time timepiece chip.
Summary of the invention
For overcoming the deficiency of above-mentioned prior art, the technical problem that the present invention will solve provides a kind of real time clock circuit of smart mobile phone.This real time clock circuit can be used in all intelligent mobile phone platforms.
For solving the problems of the technologies described above, technical scheme of the present invention is:
A kind of real time clock circuit of smart mobile phone, this circuit comprises real-time timepiece chip, crystal, reserve battery, the starting-up signal end of described real-time timepiece chip is seen interrupt signal off and is driven this cell phone system start;
The ground end of described crystal links to each other with earth terminal; The oscillator pin OSCIN of this crystal links to each other with the reference oscillator output of described real-time timepiece chip; The oscillator pin OSCOUT of this crystal links to each other with the reference oscillator input of described real-time timepiece chip; The oscillator pin OSCIN of said crystal links to each other with earth terminal through concussion coupling capacitance C435, and the oscillator pin OSCOUT of said crystal links to each other with earth terminal through concussion coupling capacitance C436;
Current-limiting resistance R444 cross-over connection is between the positive pole of main battery voltage end and diode D407; The positive pole of described reserve battery links to each other with the negative pole of described diode D407, and the negative pole of this reserve battery links to each other with described earth terminal;
Described main battery voltage end links to each other with the power pin of described real-time timepiece chip through diode D3; The positive pole of diode D2 links to each other with the negative pole of described diode D407, and the negative pole of this diode D2 links to each other with the power pin of described real-time timepiece chip.
When the starting-up signal of cell phone system is low level when effective, the starting-up signal end of described real-time timepiece chip is seen the low level interrupt signal off as starting-up signal PMIC_ON, the drive system start.
When the starting-up signal of cell phone system is high level when effective, the starting-up signal end of described real-time timepiece chip is seen the grid of low level interrupt signal to FET off, the drain electrode output starting-up signal PMIC_ON of this FET, drive system start; The source electrode of this FET links to each other with the power pin of described real-time timepiece chip.
Described real-time timepiece chip is a BL5372 chip of selecting Shanghai Belling-Systron Microelectronics Co., Ltd. for use.
Described FET is a P raceway groove insulating gate type field effect tube.
Described crystal is the 32.768K crystal.
Compared with prior art, the invention has the beneficial effects as follows:
The real time clock circuit of smart mobile phone of the present invention can be used in all intelligent mobile phone platforms, and this circuit design can realize following function:
1, shutdown alarm clock is promptly shut down after the mobile phone setting alarm clock time, has arrived setting-up time, and mobile phone can normal boot-strap and alarm clock bell ring.
2, the shutdown clock keeps.If main battery is taken off by the user; As change this application scenarios of SIM, the power supply of real-time timepiece chip can switch to reserve battery, all right operate as normal of real-time timepiece chip this moment; So the real-time clock of system (Real Time Clock the is called for short RTC) time is able to keep.
3, after the mobile phone main battery is pulled out, reserve battery only to the real-time timepiece chip power supply, is promoted the operating time of reserve battery greatly.
4, solved main battery and given in the reserve battery charging process, because of clock failure is read in start, the shortcoming that can't start shooting immediately.
5, main battery can charge to reserve battery.
The present invention the setting clock of existing real-time timepiece chip with produce on the function basis that clock interrupts, can satisfy the functions such as shutdown alarm clock and clock maintenance of smart mobile phone simultaneously.The real time clock circuit of smart mobile phone of the present invention has very strong actual application value.
Description of drawings
Fig. 1 is the first embodiment hardware circuit diagram of real time clock circuit of the present invention.
Fig. 2 is the second embodiment hardware circuit diagram of real time clock circuit of the present invention.
Embodiment
Do further detailed explanation below in conjunction with accompanying drawing and embodiment specific embodiments of the invention, but should not limit protection scope of the present invention with this.
The present invention program's hardware circuit design is as depicted in figs. 1 and 2.Effectively should select circuit shown in Figure 2 for use if the starting-up signal PMIC_ON of system is a high level, if the starting-up signal of cell phone system be low level effectively then should select circuit shown in Figure 1.
The real time clock circuit of smart mobile phone of the present invention comprises real-time timepiece chip U402, crystal Y401, reserve battery Y402.Described real-time timepiece chip U402 selects the BL5372 chip of Shanghai Belling-Systron Microelectronics Co., Ltd. for use.Described crystal Y401 is the 32.768K crystal.
The starting-up signal end 2 of described real-time timepiece chip U402 is seen interrupt signal off and is driven this cell phone system start.R417 can the enhancing signal driving force.
See also Fig. 1.When the starting-up signal of cell phone system is low level when effective, the starting-up signal end 2 of described real-time timepiece chip U402 is seen the low level interrupt signal off as starting-up signal PMIC_ON, the drive system start.
See also Fig. 2.When the starting-up signal of cell phone system is that high level is when effective; The starting-up signal end 2 of described real-time timepiece chip U402 is seen the grid of low level interrupt signal to FET G408 off; The drain electrode output starting-up signal PMIC_ON of this FET G408, the drive system start; The source electrode of this FET G408 links to each other with the power pin 3 of described real-time timepiece chip U402.
Described FET G408 is a P raceway groove insulating gate type field effect tube.The grid of FET G408 is a low level, drain electrode and source electrode conducting, drain electrode output high level; Grid is a high level, and drain electrode and source electrode break off, and drain electrode is output as low level.
The ground end of described crystal Y401 links to each other with earth terminal; The oscillator pin OSCIN 5 of this crystal Y401 links to each other with the reference oscillator output of described real-time timepiece chip U402; The oscillator pin OSCOUT 6 of this crystal Y401 links to each other with the reference oscillator input of described real-time timepiece chip U402; The oscillator pin OSCIN 5 of said crystal Y401 links to each other with earth terminal through concussion coupling capacitance C435, and the oscillator pin OSCOUT6 of said crystal Y401 links to each other with earth terminal through concussion coupling capacitance C436.
Current-limiting resistance R444 cross-over connection is between the positive pole of main battery voltage end and diode D407; The positive pole of described reserve battery Y402 links to each other with the negative pole of described diode D407, and the negative pole of this reserve battery Y402 links to each other with described earth terminal.
Described main battery voltage end links to each other with the power pin 3 of described real-time timepiece chip U402 through diode D3; The positive pole of diode D2 links to each other with the negative pole 8 of described diode D407, and the negative pole of this diode D2 links to each other with the power pin 3 of described real-time timepiece chip U402.After main battery was taken down, the voltage of V02 was higher than V01, and reserve battery conducting diode D2 guarantees the clock chip operate as normal for real-time timepiece chip U402 power supply.Because the electric weight of reserve battery is less, diode D3 prevents reserve battery conducting main battery voltage end 1, can keep the longer time of clock chip work like this.
The course of work of circuit of the present invention sees for details and describes below.
PMIC_ON is the starting-up signal of whole cell phone system and the wake-up signal of system.Under the normal condition; The supply power voltage of described real-time timepiece chip U402 is main battery voltage VBAT; The central processing unit of mobile phone (CPU) can be through (Inter-IC between integrated circuit; Being called for short I2C) EBI and described real-time timepiece chip U402 carry out alternately: as read current RTC clock, time of current RTC clock and setting interruption generating is set, be usually said alarm clock this break period.Described EBI comprises clock cable I2C_SCL, clock data line I2C_SDA.The R432 of the IO supply power voltage end VCC_IO3V3 of system is a pull-up resistor, has the enhancing signal driving force.
If main battery is taken off by the user, as change this application scenarios of SIM, voltage V02 is higher than voltage V01, and reserve battery conducting diode D2 is real-time timepiece chip U402 power supply.Therefore the power supply of described real-time timepiece chip U402 can switch to reserve battery Y402, and at this moment, described real-time timepiece chip U402 can also operate as normal, so the RTC time of system is able to keep.
In circuit of the present invention, when the user took off the main battery of mobile phone, the time of whole system (date Hour Minute Second) can not return to Default Value.Because after main battery is pulled up, the power supply of described real-time timepiece chip U402 switches to reserve battery, and described real-time timepiece chip U402 still can operate as normal, so the time in the middle of the described real-time timepiece chip U402 works on.
Cell phone system is plugged after the main battery, and the power supply of described real-time timepiece chip U402 switches to main battery voltage VBAT, and because the unidirectional conducting function of diode D407, main battery can charge to reserve battery Y402.After main battery is pulled out; Main battery voltage VBAT is 0; Because the unidirectional conducting effect of diode D407 and diode D2; The electric current of reserve battery can not flow to main battery voltage end 1, and reserve battery is only given described real-time timepiece chip U402 power supply, so the operating time of reserve battery is promoted greatly.
In the middle of the practical application, if the power consumption overlong time of reserve battery, its supply power voltage will be low excessively.In this case, insert main battery, this reserve battery need charge.After inserting main battery, mobile phone also can carry out a process of start again.Because the unidirectional conducting effect of diode D2; Behind the feasible insertion main battery; The power supply of described real-time timepiece chip U402 switches to main battery voltage VBAT, and described real-time timepiece chip U402 can operate as normal, just can not fail so central microprocessor reads clock.If there is not this device of diode D2; The voltage of the power pin 3 of the real-time timepiece chip U402 described in this process is dragged down; Be lower than the normal working voltage of described real-time timepiece chip U402; In this case, central microprocessor can't normally read the RTC clock, and the cell phone system start can failure.
A common function of smart mobile phone is exactly a shutdown alarm clock: shut down after the mobile phone setting alarm clock time, arrived setting-up time, mobile phone can normal boot-strap and alarm clock bell ring, and circuit of the present invention provides shutdown alarm clock such function.Real-time timepiece chip U402 can pass through the I2C bus, i.e. I2C_SCL and I2C_SDA set time of interruption generating, arrive after the time of setting, and described real-time timepiece chip U402 can produce interrupt level.After the mobile phone shutdown, described real-time timepiece chip U402 is through main battery or reserve battery power supply operate as normal.Before the mobile phone shutdown, through the time of I2C bus setting interruption generating, to setting-up time, described real-time timepiece chip U402 produces interrupt level.This level can be used as starting-up signal, starting hand-set.The interrupt signal output of described real-time timepiece chip U402 is generally low level.After the os starting of mobile phone, the Status Flag that the power management module of mobile phone is relevant according to described real-time timepiece chip U402 judges whether it is the alarm clock start, if the alarm clock start, power management module switches to alarm clock mode, plays alarm clock bell sound.
Circuit of the present invention can also carry out reserve battery charging, and when the user plugs main battery, because the unidirectional conducting effect of diode D407, main battery charges to reserve battery, and wherein R444 limits charging current, prevents that reserve battery from being burnt because of charging current is excessive.Resistance R 444 guarantees that also in the charging process, the shake of VBAT is very little, thereby does not influence system works.
The above is merely preferred embodiment of the present invention, is not to be used for limiting practical range of the present invention.Be that all equivalences of doing according to the content of claim of the present invention change and modification, all should be technological category of the present invention.

Claims (6)

1. the real time clock circuit of a smart mobile phone, this circuit comprises real-time timepiece chip (U402), crystal (Y401), reserve battery (Y402), it is characterized in that:
The starting-up signal end (2) of described real-time timepiece chip (U402) is seen interrupt signal off and is driven this cell phone system start;
The ground end of described crystal (Y401) links to each other with earth terminal; The oscillator pin OSCIN (5) of this crystal (Y401) links to each other with the reference oscillator output of described real-time timepiece chip (U402); The oscillator pin OSCOUT (6) of this crystal (Y401) links to each other with the reference oscillator input of described real-time timepiece chip (U402); The oscillator pin OSCIN (5) of said crystal (Y401) links to each other with earth terminal through concussion coupling capacitance C435, and the oscillator pin OSCOUT (6) of said crystal (Y401) links to each other with earth terminal through concussion coupling capacitance C436;
Current-limiting resistance R444 cross-over connection is between the positive pole of main battery voltage end and diode D407; The positive pole of described reserve battery (Y402) links to each other with the negative pole of described diode D407, and the negative pole of this reserve battery (Y402) links to each other with described earth terminal;
Described main battery voltage end links to each other with the power pin (3) of described real-time timepiece chip (U402) through diode D3; The positive pole of diode D2 links to each other with the negative pole of described diode D407, and the negative pole of this diode D2 links to each other with the power pin (3) of described real-time timepiece chip (U402).
2. real time clock circuit according to claim 1; It is characterized in that: when the starting-up signal of cell phone system is that low level is when effective; The starting-up signal end (2) of described real-time timepiece chip (U402) is seen the low level interrupt signal off as starting-up signal PMIC_ON, the drive system start.
3. real time clock circuit according to claim 1; It is characterized in that: when the starting-up signal of cell phone system is that high level is when effective; The starting-up signal end (2) of described real-time timepiece chip (U402) is seen the grid of low level interrupt signal to FET (G408) off; The drain electrode output starting-up signal PMIC_ON of this FET (G408), the drive system start; The source electrode of this FET (G408) links to each other with the power pin (3) of described real-time timepiece chip (U402).
4. according to claim 1 or 2 or 3 described real time clock circuits, it is characterized in that: described real-time timepiece chip (U402) is a BL5372 chip of selecting Shanghai Belling-Systron Microelectronics Co., Ltd. for use.
5. real time clock circuit according to claim 3 is characterized in that: described FET (G408) is a P raceway groove insulating gate type field effect tube.
6. according to claim 1 or 2 or 3 described real time clock circuits, it is characterized in that: described crystal (Y401) is the 32.768K crystal.
CN2008100394898A 2008-06-25 2008-06-25 Real time clock circuit of intelligent mobile phone Expired - Fee Related CN101299618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100394898A CN101299618B (en) 2008-06-25 2008-06-25 Real time clock circuit of intelligent mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100394898A CN101299618B (en) 2008-06-25 2008-06-25 Real time clock circuit of intelligent mobile phone

Publications (2)

Publication Number Publication Date
CN101299618A CN101299618A (en) 2008-11-05
CN101299618B true CN101299618B (en) 2012-05-09

Family

ID=40079324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100394898A Expired - Fee Related CN101299618B (en) 2008-06-25 2008-06-25 Real time clock circuit of intelligent mobile phone

Country Status (1)

Country Link
CN (1) CN101299618B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909112B (en) * 2010-07-01 2013-08-14 惠州Tcl移动通信有限公司 Implementation method for intelligent mobile phone shutdown alarm clock
CN102821207B (en) * 2012-08-15 2014-04-16 小米科技有限责任公司 Implementation method for alarm clock under shutdown state and mobile terminal
CN104376488A (en) * 2013-11-14 2015-02-25 天津职业技术师范大学 Low-power-consumption electronic commodity price label and control method thereof
CN103607509B (en) * 2013-11-22 2016-04-13 Tcl通讯(宁波)有限公司 A kind of shutdown alarm clock trigger system of mobile terminal and triggering method thereof
CN104869215B (en) * 2014-02-21 2017-10-31 中国科学院深圳先进技术研究院 The method of the clock apparatus and mobile terminal and read clock of mobile terminal
CN105162989A (en) * 2015-10-08 2015-12-16 广东欧珀移动通信有限公司 Intelligent alarm clock omission prevention method and system of mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2701170Y (en) * 2004-06-18 2005-05-18 海信集团有限公司 A real-time clock control circuit
CN2736822Y (en) * 2004-07-23 2005-10-26 武汉盛帆电子有限公司 Clock module with temperature sensor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2701170Y (en) * 2004-06-18 2005-05-18 海信集团有限公司 A real-time clock control circuit
CN2736822Y (en) * 2004-07-23 2005-10-26 武汉盛帆电子有限公司 Clock module with temperature sensor

Also Published As

Publication number Publication date
CN101299618A (en) 2008-11-05

Similar Documents

Publication Publication Date Title
CN202872406U (en) Interface multiplexing circuit and mobile terminal
CN101299618B (en) Real time clock circuit of intelligent mobile phone
CN109194317B (en) Reset circuit and wearable equipment
CN103092315A (en) Mobile terminal capable of recovering application program after restart
CN207782762U (en) A kind of automatic reset circuit and electronic product
CN204009457U (en) On/off circuit based on PMU and electronic equipment
CN103713912B (en) A kind of computer automatic boot circuit
CN101893925B (en) Start circuit
CN107221988A (en) The power circuit and its control method of a kind of under-voltage protection
CN104467167B (en) A kind of power path management circuit
CN102025282B (en) Power control circuit and electronic device provided with same
CN109638904A (en) Lithium battery protection board
CN102780246A (en) Power supply control device and power supply control system
CN104882926A (en) Charging indicating circuit and mobile terminal
CN102270877A (en) Power supply system
CN104104058A (en) Temperature protection device of power management chip and mobile terminal
CN103107577B (en) Battery management circuit and terminal
CN105429246A (en) Circuit and method for automatically disconnecting terminal after full charge
CN202394174U (en) System and abnormal power failure protection device thereof
CN105955009B (en) Power supply circuit of real-time clock and intelligent bracelet
CN212210543U (en) Anti-lock BMS electrical power generating system
CN104159358A (en) Electric torch drive circuit and mobile terminal
CN201087925Y (en) Short-circuit protection circuit of I/O connector
CN110967999A (en) Power consumption control device and communication system
CN202421992U (en) Power control based reset circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120509

Termination date: 20160625

CF01 Termination of patent right due to non-payment of annual fee