DS1375 Power Line to 60Hz Cloc

DS1375 Power Line to 60Hz Cloc,第1张

Abstract: The DS1375 2-wire digital real-TIme clock (RTC) is a low-power, clock/calendar that can operate from a digital clock input at one of four frequencies: 32.768kHz, 8.192kHz, 60Hz, or 50Hz. This applicaTIon note shows how to derive the 60Hz clock from the power line and use it as a clock for the DS1375.

Power Line FrequencyThe 60Hz power line frequency is very carefully monitored. Throughout the day this frequency varies and tends to slow down during TImes of heavy use. Toward the end of the day the power company speeds up/slows down the frequency as needed so the total cycles in a given day is 5,184,000. In places that AC power is always available, a clock that uses a power line frequency of 60Hz will always be accurate over the long term. The CircuitsThe circuit in SoluTIon 1 uses a transformer to step the 110 VAC power line to a safer 8 VAC (RMS). This circuit provides an inexpensive solution to extract the 60Hz clock from the power line. The 5.1V zener limits the AC to just the positive half of the cycle and suppresses anything more than 5.1V. The 1N4001 diode is then used to reference this to ground.

If isolation is a concern, an optoisolator can be used (Solution 2) for additional cost. Configuring the DS1375 for 60Hz Clock InputTo use an external 60Hz input, the DS1375 must be configured to accept this as a clock. This is done through the control register at address 0Eh, shown in Table 1. When ECLK is set to logic 1, the CLK input pin is enabled to clock the internal divider chain and advance the timekeeping registers. CLKSEL1 and CLKSEL0 determine how the CLK input pin is divided down to get the 1Hz reference clock for the timekeeping registers: Setting CLKSEL1 to 1 and CLKSEL0 to 0 configures the divider chain to accept a 60Hz clock.

Table 1. Control register at address 0Eh
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ECLK CLKSEL1 CLKSEL0 RS2 RS1 INTCN A2IE A1IE
DS1375 Power Line to 60Hz Cloc,Figure 1. Circuit to extract the 60Hz clock from the power line. ,第2张
Figure 1. Circuit to extract the 60Hz clock from the power line.

DS1375 Power Line to 60Hz Cloc,Figure 2. Optoisolator solution for extracting a 60Hz clock.,第3张
Figure 2. Optoisolator solution for extracting a 60Hz clock.

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/dianzi/2478503.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-08-04
下一篇2022-08-04

发表评论

登录后才能评论

评论列表(0条)

    保存