Article | REF: S8035 V1

Microcontrollers: principles and real-time aspects

Author: Roger D. HERSCH

Publication date: December 10, 2001

You do not have access to this resource.
Click here to request your free trial access!

Already subscribed? Log in!


Français

4. Time and event management

4.1 Principles

Any industrial control system must be able to maintain a clock that accurately indicates the current time, to generate signals of given period and duration, to count the number of pulses of an external signal, and to know exactly when an event has taken place.

Microcontrollers generally feature a free counter (e.g. a 16-bit counter) which increments its value on each edge of a clock signal. When the counter passes from its maximum value to zero, an interrupt is generated. The interrupt routine associated with this interrupt can maintain a higher-resolution software counter (e.g. 32 or 64 bits), so that an absolute time value is available at all times.

To generate microcontroller-programmable duration signals, the program...

You do not have access to this resource.

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource.
Click here to request your free trial access!

Already subscribed? Log in!


The Ultimate Scientific and Technical Reference

A Comprehensive Knowledge Base, with over 1,200 authors and 100 scientific advisors
+ More than 10,000 articles and 1,000 how-to sheets, over 800 new or updated articles every year
From design to prototyping, right through to industrialization, the reference for securing the development of your industrial projects

This article is included in

Control and systems engineering

This offer includes:

Knowledge Base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

Practical Path

Operational and didactic, to guarantee the acquisition of transversal skills

Doc & Quiz

Interactive articles with quizzes, for constructive reading

Subscribe now!

Ongoing reading
Time and event management