Computer/Embedded Technology


A look at 'power-on' behaviour in embedded PC systems

10 August 2005 Computer/Embedded Technology Infrastructure

We are all familiar with the behaviour of a desktop PC running Windows XP with respect to applying power to and shutting down the system. Modern desktop PCs use an ATX-compatible power supply that applies intelligence to the power-on/off behaviour.

These systems have essentially two power control switches. The power supply itself has a master switch that controls whether the power supply itself is 'on' or 'off'. Yet the power supply can also be controlled with software. When you execute a shutdown from Windows XP, the operating system sends a command to the power supply to shut off. The power supply's power switch remains in the on-position. The system is then turned back on by pressing a 'power-on' button, usually on the front of the system. Pressing the power button tells the system to send a command to the power supply to turn on and the system boots.

For the purposes of this discussion, several terms will be defined below:

* The switch on the power supply itself will be called the 'main power switch.'

* The button on the front of the system that is usually used to turn the system on will be called the 'power button.'

* When the main power supply is on, but the system is off (which occurs after an OS-initiated shutdown), the system is in a mode we shall call 'standby.' In this mode, the power supply provides a small amount of current to power a portion of the system to be able to respond to the power button when it is pressed.

* A shutdown executed in the operating system will be called a 'soft-off'. Note that a soft-off can also be achieved by holding the power button down for at least four seconds. A soft-off is only attainable with an ATX style power supply. With an AT-style power supply, the OS may shut down, but the power supply itself remains on. The OS may display information that it has completed its shutdown sequence and that it is OK to remove power to the system by turning off the main power switch on the supply itself.

* A shutdown executed by turning off the main power switch or unplugging the power supply from the wall will be called a 'hard-off'. In this event, the main power switch must be turned on or plugged into the wall before the power button can be used to turn on the system to boot.

Power-on behaviour comes into question when the system is initiated from a hard-off state. There are essentially two choices. When the master power switch is turned on (or in the event of no master power switch, when the power cord is plugged into the wall), does the system boot immediately, or does the system enter standby state and wait for the power button to be pressed? There appears to be no standard with respect to this behaviour. A recent sampling of a dozen or so desktop systems from a variety of manufacturers demonstrated both sets of behaviour.

How does all this apply in an embedded system?

Many embedded systems are on 24/7, and never turned off. In this case, this behaviour is only important the first time the system is turned on, or in the event of a power failure. Many other embedded systems have no tolerance for the multiple power switch methodology familiar in desktop PCs. These systems want a single, simple ON/OFF switch. Setting the switch to ON boots the system. Setting the switch to OFF turns the system off. The concept of soft-off does not apply. Other embedded systems may want to utilise the soft-off feature and operate in a manner similar to desktop or laptop PCs.

An example of how this applies in embedded systems is an information kiosk in a hotel lobby. The screen displayed the dialogue box with the familiar Windows shutdown options (Log Off, Restart and Shutdown). Yet there is no power button accessible outside the enclosure. If this system were to shutdown, there is no way to turn it back on from the outside of the enclosure. A service call would be required to have a service technician open the enclosure and restart the system. In the event of a power failure, this unattended system would not boot and would require a service call to start system operation.

Three situations

The three potential models for embedded system power-on behaviour and the requirements placed on the system are defined in Table 1.

Table 1. Three potential models for embedded system power-on behaviour and the requirements
Table 1. Three potential models for embedded system power-on behaviour and the requirements

In a robust system environment, the behaviour of the first two models should operate correctly whether an AT-style or ATX-style power supply is used. In the third model, an ATX-style power supply is required to support the soft-off mode.

In the second model, the operating system software will need to be robust enough to recover from a shutdown in any stage of operation or provide guidance to the user regarding when it is OK to turn off the power.

In the third model, the operating system software will need to offer the user the option to shut down the system and provide the drivers necessary to control the power supply.

In order to support models 1 and 2 with both AT-style and ATX-style power supplies, and to support the option for either immediate boot or to enter standby on initial power-on for model 3, it is imperative that the system BIOS be able to configure the hardware for either immediate boot or for entering standby.

Ampro is adding such a set-up parameter to its embedded BIOS for its single board computers and embedded modules. The default factory setting for this parameter in all cases is to boot immediately. This setting allows model number 1 and model number 2 to work correctly with either an AT-style or ATX-style power supply.

Note that different boards may behave differently the very first time power is applied - which usually occurs during production test. Ampro has found that boards implemented with the 'Via Twister T' chipset will enter standby when they are first powered on. Boards implemented with the 'Intel 855GME' chipset will boot when they are first powered on. After the initial power-on, the behaviour is completely controlled by the BIOS setting.

Once the CMOS settings take hold, the system will follow the parameters set into the BIOS. Ampro's battery-free boot feature in its embedded BIOS assures that the setting will not be lost in the event of a battery failure. The system will continue to behave properly.

For systems that wish to follow model number three's behaviour, designers simply need to change the CMOS setting in BIOS set-up to indicate that the system should enter standby on power up.

Ampro's BIOS implementation provides complete flexibility to the embedded developer to control the power-on behaviour of his/her systems design. This represents another example of how embedded systems differ from our desktop and laptop systems and how specific features are necessary to make embedded PC boards and modules meet the needs of the embedded marketplace.

For more information contact Jaap Willemse, Electronic Products Design, +27 (0)12 665 9700.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

AI projects are failing at alarming rates
AI & Data Analytics Infrastructure
As organisations around the world accelerate their investments in artificial intelligence, digital transformation and data analytics, a growing number of industry experts are warning that many companies are still approaching these initiatives in fundamentally flawed ways.

Read more...
Next-gen modules for rugged edge AI systems
Altron Arrow Computer/Embedded Technology
Designed for real-world edge deployments where systems do not sit still, SolidRun’s P100 COMx6 series targets mobile platforms as well as harsh, mission-critical environments.

Read more...
Fanless multimedia edge PC
Vepac Electronics Computer/Embedded Technology
Dual 4K display capabilities, ultra-efficient processing, and versatile mounting options make the Intelli TWL01 Edge the ultimate embedded platform for multimedia solution building.

Read more...
Advanced industrial connectivity at the edge
Future Electronics Computer/Embedded Technology
Dual 4K display capabilities, ultra-efficient processing, and versatile mounting options make the Intelli TWL01 Edge the ultimate embedded platform for multimedia solution building.

Read more...
A software-based controller for the industrial future
Phoenix Contact Computer/Embedded Technology
With Virtual PLCnext Control, Phoenix Contact is launching a software-based controller solution that enables flexible automation functions in virtualised IT environments.

Read more...
Cloud security in visitor management and access control
SA Technologies Access Control & Identity Management Infrastructure Residential Estate (Industry) Commercial (Industry)
Cloud has become the default platform for modern security operations, from visitor management portals and remote access control to incident logging, reporting, analytics, and integrations. But “in the cloud” does not mean “someone else is securing it for us”.

Read more...
5G mobile hotspot with integrated multimodal AI capabilities
CST Electronics Computer/Embedded Technology
MeiG Smart has launched its first 5G Mobile HotSpot solution, the SRT8710, a breakthrough in mobile connectivity that combines ultra-fast 5G communications with integrated multimodal artificial intelligence functions.

Read more...
Panasonic TOUGHBOOK 33 2-in-1 detachable
Vepac Electronics Computer/Embedded Technology
The Panasonic TOUGHBOOK 33 is a fully rugged 12-inch 2-in-1 detachable notebook designed to deliver unmatched flexibility, durability, and performance for mobile professionals working in demanding environments.

Read more...
New commercial and technical appointments at Veeam
News & Events Infrastructure
Veeam Software has announced two senior appointments in its South African business as it continues to invest in local market growth and partner and customer engagement.

Read more...
Access as a Service is inevitable
Technews Publishing SMART Security Solutions ATG Digital Access Control & Identity Management Infrastructure
When it comes to Access Control as a Service (ACaaS), most organisations (roughly 90% internationally) plan to move, or are in the process of moving to the cloud, but the majority of existing infrastructure (about 70%) remains on-premises for now.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved