|
AN865 Datasheet, PDF (2/7 Pages) Silicon Laboratories – APPLYING DUTY-CYCLE CONTROL TO SAVE POWER | |||
|
◁ |
AN865
The timing is set up as follows: First, the upper (VUPTHR) and lower (VLWTHR) hysteretic trip thresholds are set with
R1, R2, and R3:
VUPTHR
=
VB
A
T
T
ï´
--------------R-----2--------------
R2
+
-R----1----ï´-----R-----3-
R1 + R3
-R----2----ï´-----R-----3-
VLWTHR
=
VB
A
TT
ï´
-------R-----2----+-----R----3--------
R1
+
-R----2----ï´-----R-----3-
R2 + R3
Then, R4 can be chosen according to the desired off-time:
R4
=
â-------------------T----o---f--f------------------
C1
ï´
ln
ï¦
ï¨
V-V----LU---W-P---TT---H-H---RR--ï¸ï¶
and R5 is chosen according to the desired on-time:
R5
=
â--------------------------------------T----o---n--------------------------------------
C1 ï´ ln ï¨ï¦1 â V---V--U--B-P--A--T--T-H--T--R--â---â--V--V--L--L-W--W---T--T-H--H--R--R--ï¸ï¶
Note that since VUPTHR and VLWTHR are just a scaling of VBATT, neither TON nor TOFF are dependent on VBATT.
The TSM9119âs input bias currents of less than 2 nA (across temperature) enable the use of high-value resistors.
Use of 10 Mï resistors yielded less than 30 mV net offset referred to the comparator inputs. Many off-the-shelf
bipolar transistors can be substituted for Q1 and Q2; however, gold-doped discrete transistors (most 2N3904 and
2N3906 transistors are not gold-doped) should be avoided because gold doping increases leakage currents*. All
capacitors should be ceramic for lowest leakage (generally limited by the case resistance). The circuit performs
well even at hot temperatures, where leakages typically increase. Using a capacitor with an NPO (COG) dielectric
improves frequency stability and further reduces dielectric absorption issues (dielectric absorption can cause the
capacitor to ârememberâ its charge when discharged through Q1; however, this is not meant to be a precision
timing circuit). Table 1 lists the currents measured for the duty-cycling clock shown.
*Note: See âTroubleshooting Analog Circuits,â p.66, by Bob Pease.
Table 1. Duty Cycling Clock Currents
VBATT
1.8
2.5
3.3
5
IBATT
502 nA
580 nA
670 nA
890 nA
TON
1.02 ms
1.02 ms
1.02 ms
1.05 ms
TOFF
1.04 s
1.04 s
1.04 s
1.04 s
What are some uses for this clock? Perhaps the most obvious use is for the oscillator to serve as a clock to
periodically wake a microcontroller. While most microcontrollers have built-in interrupt timers, not all have such low
supply currents. The microcontroller can be set to a deep sleep mode and woken up by the duty-cycling clock to
periodically check system status.
This âduty-cyclerâ might further enable current savings by periodically powering a simple measurement, the results
of which, in turn, wake a microcontroller. Thus, the microcontroller only wakes upon a result when it needs to take
action, not simply whenever it is interrupted by the timer.
2
Rev. 1.0
|
▷ |