This invention relates to a system and method for secure real time clocks, particularly, but not exclusively, for use in portable electronic devices.
In electronic devices, portable and otherwise, it is standard to provide a real time clock (RTC). This is an electronic unit which keeps track of the date and time of day, which information is available for the other components of the device. Virtually all RTCs use a crystal oscillator, the frequency of which is usually 32.768 kHz. In current electronic devices, RTCs and associated components are situated in a power management integrated circuit (PMIC) of the device.
To function correctly, i.e. to maintain an accurate track of the date and time, the RTCs and associated components must be continuously powered. When the electronic device in which an RTC is situated is powered (e.g. from an external power source or a battery), the RTC and associated components use this power source. When the electronic device is not powered, the RTC and associated components must be provided with an auxiliary power source. This may be provided, for example, by a coincell battery, embedded in the device. Such an auxiliary power source would be expected to provide power during long periods and in some cases for the lifetime of the electronic device. When the RTC and associated components are powered from such an auxiliary power source, it is therefore particularly important that the RTC etc. have low power consumption, to avoid depleting the auxiliary source too quickly. The power consumption of the RTC and associated components should be in the region of 5 μA or less. Such power consumption levels are usually achievable when the RTC and associated components are situated in the PMIC of the device.
In next generation electronic devices, it is proposed to provide ‘secure’ RTCs. This is to be achieved by implementing the RTC on the microprocessor of the electronic device. This provides greater security for the RTC, and allows provision of additional security features of the RTC. For this partitioning, the associated component of the RTC comprising the oscillator will remain in the PMIC, and a clock line will be required to connect the oscillator and the RTC. The clock line must continuously supply a signal to the RTC, for this to maintain an accurate track of date and time. It is proposed that the clock line signal has a frequency of that of the oscillator, i.e. 32.768 kHz. When this is the case, the clock line will have a power consumption of approximately 2.5 μA. When the RTC, oscillator and clock line are powered from the auxiliary power source, the clock line will use approximately 50% of the desired power consumption of the RTC and associated components. This is obviously not ideal.
The present invention provides a secure real time clock system as described in the accompanying claims. The present invention further provides a method of reducing power consumption of a secure real time clock system as described in the accompanying claims.
Reference will now be made, by way of example, to the accompanying drawings, in which:
Referring to
The oscillator crystal 7 provides an output line 17, which is connected to the oscillator 5. The oscillator 5 is provided with two output lines 19, 21, output line 19 being directly connected to the multiplexer 11, and output line 21 being connected to the frequency divider 9. The frequency divider 9 is provided with an output line 22, which is connected to the multiplexer 11. The multiplexer 11 provides an output line in the form of a clock line 23, which is connected to the secure RTC 3 on the microprocessor 13. The microprocessor 13 provides an output line 25, which is connected to the multiplexer 11.
The device and the system 1 are designed to operate in one of two power modes, a ‘normal’ power mode and a ‘low’ power mode.
In the normal power mode, the device and the components of the system 1 are powered by a power source external to the device or a battery of the device. In this mode, the secure RTC 3 is required to operate to 32.768 kHz accuracy and is required to be able to provide timeticks (time mark outputs) if these are required by the microprocessor 13. The oscillator crystal 7 generates a frequency signal of 32.768 kHz, and this is sent to the oscillator 5 via the output line 17. The oscillator 5 outputs the frequency signal to the multiplexer 11 via the output lines 19 and 21. The microprocessor 13 monitors the power mode of the device, and generates a power mode control signal indicating that the normal power mode is operational. This normal power mode control signal is output via the output line 25 to the multiplexer 11. On receipt of the control signal, the multiplexer 11 acts to output a ‘full’ frequency signal, i.e. the frequency signal on line 19 having a frequency of 32.768 kHz, to the secure RTC 3 via the clock line 23. When transmitting such a full frequency signal, the clock line 23 will have a power consumption of approximately 2.5 μA. However, as the components of the system 1, including the clock line 23, are being powered by an external power source or a battery of the device, and the power consumption of the components of the system 1 are small in comparison to the power consumption of the device as a whole, the power consumption of the clock line 23 is not an issue.
In the ‘low’ power mode, the device is not powered and the components of the system 1 are powered by an auxiliary power source. This may comprise, for example, a coincell battery embedded in the device. In this mode, the secure RTC 3 is still required to operate to 32.768 kHz accuracy (which accuracy is maintained by the PMIC), but the ability to provide timeticks is not required. The oscillator crystal 7 generates a frequency signal of 32.768 kHz, and this is sent to the oscillator 5 via the output line 17. The oscillator 5 outputs the frequency signal to the multiplexer 11 via the output lines 19 and 21. The microprocessor 13 again monitors the power mode of the device, and generates a power mode control signal indicating that the low power mode is operational. This low power mode control signal is output via the output line 25 to the multiplexer 11. On receipt of the control signal, the multiplexer 11 acts to output a ‘reduced’ frequency signal, i.e. the frequency signal on line 22, to the secure RTC 3 via the clock line 23. This reduced frequency signal is generated by the frequency divider 9. The frequency divider 9 receives a full frequency signal, i.e. having a frequency of 32.768 kHz, from the oscillator 5, and divides the frequency of this signal by 2n. For example, the frequency divider 9 may divide the frequency of the full frequency signal by 25 (i.e. 32), which results in a reduce frequency signal having a frequency of 1.024 kHz. The reduced frequency signal is output to the secure RTC 3 via the clock line 23. When transmitting such a reduced frequency signal, the clock line 23 will have a power consumption which is reduced (by a factor of 2n) in comparison to that when a full frequency signal is being transmitted. For example, when the frequency divider 9 provides a reduced frequency signal generated by dividing the full frequency signal by 25, the power consumption of the clock line 23 is reduced from approximately 2.5 μA to approximately 80 nA. When the device and system 1 are operating in the low power mode, the desired power consumption budget is of the order of 5 μA. In the example above, the clock line 23 will have a power consumption of approximately 1.5% of the desired power consumption budget, in comparison to an initial power consumption of approximately 50% of the desired power consumption budget. In this way, the secure real time clock system 1 overcomes the issue of clock line power consumption when the device and system are operating in the low power mode. The accuracy of the RTC which is achieved when it receives a signal having a frequency of 32.768 kHz is maintained even when the RTC receives a signal having a lower frequency, e.g. 1.024 kHz.
The secure RTC system 1 is particularly intended for use in next generation portable electronic devices, such as laptop computers, PDAs, and multimedia players, etc. The invention provides a secure RTC system and method, which dynamically adjusts the frequency of the signal supplied to the secure RTC 3 via the clock line 23, according to the power mode operated by the system. This allows reduction of the power consumption of the system, without losing the original RTC (32.768 kHz) accuracy. Thus a low power secure RTC system is provided.
When the device and secure RTC system 1 are operating in the low power mode, the frequency of the signal supplied to the secure RTC 3 via the clock line 23 will be reduced. This results in the secure RTC 3 operating at a reduced frequency (e.g. 32.768 kHz/2n). This reduced operating frequency of the secure RTC 3 is compensated for by the microprocessor 13, and does not affect the timekeeping ability of the secure RTC.
Operation of the secure RTC system 1 and particularly switching between the full frequency signal and the reduced frequency signal, according to the power mode being operated by the device and system 1, will now be described in more detail.
Referring to
Referring to
Referring to
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2007/052713 | 5/11/2007 | WO | 00 | 11/6/2009 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2008/139275 | 11/20/2008 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5748570 | Komoda | May 1998 | A |
5943613 | Wendelrup et al. | Aug 1999 | A |
6304517 | Ledfelt et al. | Oct 2001 | B1 |
6725067 | Marx et al. | Apr 2004 | B1 |
7421251 | Westwick et al. | Sep 2008 | B2 |
7500125 | Yasumoto | Mar 2009 | B2 |
7561541 | Ferchland et al. | Jul 2009 | B2 |
7668891 | Guilford | Feb 2010 | B2 |
7854544 | Cheng et al. | Dec 2010 | B2 |
20020038433 | Dalrymple et al. | Mar 2002 | A1 |
20050007205 | Bridger | Jan 2005 | A1 |
20060164177 | Shirotori | Jul 2006 | A1 |
20060168461 | Allen | Jul 2006 | A1 |
Number | Date | Country |
---|---|---|
0726508 | Aug 1996 | EP |
2004012067 | Feb 2004 | WO |
Number | Date | Country | |
---|---|---|---|
20100301907 A1 | Dec 2010 | US |