Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Ideas For Design]
Switch-Debouncer IC Creates A Long-Period Timer

Phill Leyva  |   ED Online ID #3677  |   October 1, 2001


One major application for long-period timers is in remote weather-data stations. These stations measure environmental conditions at regular time intervals and transmit the results to a central collecting facility. Since these small weather stations are often located in remote areas that depend on solar-cell power during cloudy weather, power efficiency is an important factor in their design. Size and cost are also prominent considerations.

A minimum-component configuration is possible for an all-surface-mount, low-power, long-period timer. This design can be implemented with two low-cost components and firm-ware that reduces power consumption by allowing the microcontroller (µC) to enter a "sleep mode." Later, the µC is awakened to perform regularly scheduled measurements. The circuit shown in Fig. 1 accomplishes this task by taking advantage of the extra section in a dual CMOS switch-de-bouncer (U1).

The µC (U2) provides 32 bytes of RAM and 1232 bytes of EPROM. (A low-cost, one-time-programmable version is also available.) The IN1/OUT1 pins of the dual debouncer U1 are configured to debounce the µC's system-reset pulse. The IN2/OUT2 pair is configured as the long-period timer. Capacitor C1 and a 63-kΩ (typical) pull-up resistor internal to U1 form the time constant for this purpose.

U1 initiates a 50-ms delay when the C1 voltage reaches U1's input-voltage threshold. Following this delay, OUT2 turns on the n-channel digital FET N1, which must remain on long enough to completely discharge C1 in preparation for the next timing cycle. The second transition (high-to-low) at IN2 initiates another 50-ms delay. Following this delay, the cycle repeats. Thus, the timer period can be calculated using the following equation:

Period (s) = (63k × C1 × (−ln(1 − VT/VCC)) + 0.1s)

Table 1 shows the input threshold voltage (VT) for U1 at various operating voltages (VCC). The following equation can be used to determine the C1 value for a desired timer period:

C1 = (Period − 0.1s)/(63k × (−ln(1 −VT/VCC)))

where Period equals the desired time delay in seconds.

Remote weather stations report at certain intervals, and the time of these reports is recorded by the collection station. Since timing is not critical, the C1 capacitor can be a tantalum type with ±20% tolerance. If tighter timing is desired, a surface-mount ceramic capacitor can be substituted for C1.

The digital FET N1 was chosen for its low-level gate drive, which enables it to operate properly in 3- to 5-V circuits. If a different FET is substituted, it must be capable of discharging C1 completely before U1 changes the output state to low. Specifically, it should provide a discharge time (5RDSONC1) less than 50 ms. If the shortest possible period is desired, U1 can be configured as a 10-Hz stable multivibrator by removing C1 (leaving the drain of N1 connected to pin 3 of U1).

Click here to download the program code, written in 68HC705 assembler, for the long-period timer.


Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • 2008 BEST Electronic Design Winners
  • In EDA, A Year Of Mergers, Failed And Otherwise
  • 2008 BEST Electronic Design Winners
  • Engineers Rely On Internet For Product Info
  • Rochester Electronics Establishes New Design and Technology Group
  • November 17, 2008
  • Custom Sources Light Way To 22-nm IC Lithography
  • Software Turns Scopes Into Vector RF Signal Analyzers
    1) Switch-Mode ICs Promote Efficient Power Management, Part 1: Switch-Mode Fundamentals
    (987 views today)
    2) Ubuntu Goes Embedded
    (239 views today)
    3) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (223 views today)
    4) Easily Convert Decimal Numbers To Their Binary And BCD Formats
    (166 views today)
    5) Parts Add Up To Home Theater PC
    (142 views today)
    ALL TOP 20



    Reader Comments

    pls i need the comany name that can produce something similar.and the unit cost. it ll be prospective. i would appreciate it if you can do it for me.thanks.

    deji -October 06, 2005

    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Web Seminar
    Sponsored By:
    Title: Read Pacing: A Performance Enhancing Feature of PCI Express Gen 2 Switch Devices
    Speakers: 
    Date: 07/01/08
    Register: 

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources