Power Switch |
Front and centre on the SCD5200 CPU is a big red power switch. It has two states, On and Off. What I like about this is that is means what it says. When you switch it on. Power is applied to the brain of the CPU and it's bus connectors and off you go things start up and operate. Switch it off, and the power is disconnected again and everything goes dead. Or does it ?..
Clock Tick |
For an RTU, other things are important to remember when the power goes off. For example, security settings, IP addresses, which firmware version, special timers and counters. Special application states. In order to manage this the SCD5200 for example has Flash RAM on board and Static Non-Volatile RAM which is kept powered by the backup battery when the power is down. The Flash RAM handles the file system, while the Non-Volatile RAM handles key data we don't want to lose track of.
Given some intelligence in the Power Supply design, it actually takes up to 2 seconds for the power to go off, after the switch is operated. This is to give time for diagnostics to be created and for the unit to shut down gracefully.
For many imbedded systems, there are a number of startup modes, which allow the unit to operate with gradually increasing levels of functionality. The two primary modes which come to mind are:-
- Bootstrap Mode
- Running Mode
SCD5200 SEN...RST Toggle |
Depending on the 'Running' or 'Bootstrap' mode, a variety of functionality then becomes available as indicated in the figure 'Power State Diagram'.
Thus the simple Power Switch results in the initiation of a reasonably complex State diagram for the processor. Keeping in mind the requirement to preserve key clocks, variables and logs on Power down, a battery backup is introduced which keeps power to a small component of RAM and the clock - all of which has to stay operable for several months - possibly at a very cold temperature. The quality of the remote terminal unit often depends on how practical it is in handling these particular state transitions. This epic story is just one of many which describes some of the features of the CPU for the SCD5200.
As with all the blog postings, your commentary is welcome. Some of our best suggestions come from readers, particularly our own engineers and users who might like to see improvements for the next generation. - Chris J Smith Nov 2012.
PS: I plan to rain hail or shine this every Tuesday henceforward. So look forward to weekly updates. Happy thanksgiving to all readers from North America. Hope you have a welcome break with your families. - CJS.
No comments:
Post a Comment