ENGLISH 简体中文 日本語 한국어  


APPLICATION NOTE  3778

Problems and Solutions for Adjusting to Changes in Daylight Saving Time

Abstract: Recent U.S. legislation increased the daylight saving time (DST) period by four weeks. This change will affect systems that adjust for DST by using real-time clocks (RTCs) with an integrated DST adjustment. This note discusses issues related to the DST change, shows how to test and adjust the RTC for DST, and recommends how to manage DST in future designs.

Introduction and Background on DST Implementation

Since 1986 daylight saving time, in the U.S., begins on the first Sunday in April and ends on the last Sunday in October. Canada and Mexico also follow this schedule¹. Beginning in 2007, however, daylight saving time in the U.S. will begin on the second Sunday in March and end on the first Sunday in November².

Historically the DS1287 RTC, used on the IBM AT Personal Computer (PC), integrated the U.S. DST function. If the DST function was enabled, the operation system's (OS) clock used the time and date information from the RTC at boot time to reflect the proper time. For legacy reasons, all other Dallas Semiconductor multiplexed-bus interface RTCs also support the DST function. (See Table 1.)

Table 1. Multiplexed-Bus RTCs with Integrated DST Operation
DS12885/87 DS12R885/CR887/R887 DS14285/87
DS1685/87 DS1688/91 DS1689/93
DS17285/87 DS17485/87 DS17885/87

In modern operating systems the OS, not the RTC, handles the DST function. Since DST is implemented differently worldwide and can change often, using the OS allows relatively easy updates to the DST function and DST support. Embedded systems, in contrast, often have limited software, firmware, or memory resources, are limited to sales in North America, and may still implement DST by using the RTC's integrated DST function.

The DST function is important in some applications where there is no OS DST adjustment. Traffic signal controllers, for example, adjust the signal timing during morning and evening rush hours, which shift with DST. Other applications, such as FAX machines, may depend upon the user to input the correct time when a DST shift occurs, and therefore have little need for automatic DST adjustment.

Recommendations for Managing DST Adjustments

At this time Dallas Semiconductor does not plan to change the DST function on the multiplexed-bus product line. We encourage customers whose applications depend on proper adjustment to DST to update their products so that firmware handles DST changes, not the RTC.

Meanwhile, if you are managing changes for DST with an RTC, the Figure 1 flowchart will help you. It shows the basic steps required to test and adjust for DST. When adjusting back to standard time in November, a flag must be used to determine if the shift from 2:00AM to 1:00AM already occurred. This bit should be nonvolatile in case a power failure occurs in the hour after time has been reset to 1:00AM. A bit in one of the RTC's general-purpose battery-backed registers could be used for this purpose.

Conclusion

New designs should implement the DST function in firmware or software. By doing so, adjustments for changes in the DST schedule are more easily implemented.

Figure 1. Flowchart of the basic steps to test and adjust for DST with an RTC.
Figure 1. Flowchart of the basic steps to test and adjust for DST with an RTC.

Notes

  1. States and provinces within the U.S., Mexico, and Canada choose to observe DST depending on local laws.
  2. Canada will adhere to the new U.S. DST schedule in 2007. As of this writing, it is not known whether Mexico will follow.


의견을 보내주세요!
위 내용이 도움이 되셨나요?
여러분의 의견을 기다립니다 — Maxim은 보내주신 정정이나 제안사항을 반영하고 있습니다. 이 페이지를 평가하고 의견을 보내주십시오.


자동 업데이트
관심있는 분야의 애플리케이션 노트가 나올 때 자동으로 업데이트 받고 싶으세요? 그렇다면 EE-Mail™을 신청하십시오.



추가 정보  APP 3778: Mar 23, 2006
DS12885 실시간 클록 전체 데이터 시트
(PDF, 364kB)
무료 샘플
DS12887 실시간 클록 전체 데이터 시트
(PDF, 364kB)
무료 샘플
DS12887A 실시간 클록 전체 데이터 시트
(PDF, 364kB)
무료 샘플
DS12C887 실시간 클록 전체 데이터 시트
(PDF, 364kB)
무료 샘플
DS12C887A 실시간 클록 전체 데이터 시트
(PDF, 364kB)
무료 샘플
DS12CR887 정전압 트리클 충전기가 내장된 RTC 전체 데이터 시트
(PDF, 360kB)
무료 샘플
DS12R885 정전압 트리클 충전기가 내장된 RTC 전체 데이터 시트
(PDF, 360kB)
무료 샘플
DS12R887 정전압 트리클 충전기가 내장된 RTC 전체 데이터 시트
(PDF, 360kB)
무료 샘플
DS14285 NV RAM 제어 기능이 있는 실시간 클록 전체 데이터 시트
(PDF, 520kB)
DS14287 NV RAM 제어 기능이 있는 실시간 클록 전체 데이터 시트
(PDF, 520kB)
DS1685 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 772kB)
무료 샘플
DS1687 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 772kB)
무료 샘플
DS1688 NV RAM 제어 기능이 있는 3V / 5V 직렬 실시간 클록 전체 데이터 시트
(PDF, 400kB)
DS1689 NV RAM 제어 기능이 있는 3V / 5V 직렬 실시간 클록 전체 데이터 시트
(PDF, 600kB)
DS1691 NV RAM 제어 기능이 있는 3V / 5V 직렬 실시간 클록 전체 데이터 시트
(PDF, 400kB)
DS1693 NV RAM 제어 기능이 있는 3V / 5V 직렬 실시간 클록 전체 데이터 시트
(PDF, 600kB)
DS17285 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 328kB)
무료 샘플
DS17485 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 328kB)
무료 샘플
DS17487 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 328kB)
무료 샘플
DS17885 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 328kB)
무료 샘플
DS17887 3V/5V 실시간 클록 전체 데이터 시트
(PDF, 328kB)
무료 샘플
 

다운로드, PDF 형식다운로드, PDF 형식 (43kB)
 AN3778, AN 3778, APP3778, Appnote3778, Appnote 3778



         



   Copyright © 2008 by Maxim Integrated Products, Dallas Semiconductor    법적 고지    개인정보보호 정책