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:

Open source code can also be open risk
Information Security Infrastructure
Software development has changed significantly over the years, and today, open-source code increasingly forms the foundation of modern applications, with surveys indicating that 60 – 90% of the average application's code base consists of open-source components.

Read more...
Fastest PCIe Gen 5.0 NVMe SSD
Products & Solutions Infrastructure
Sandisk has unveiled the WD_BLACK SN8100 NVMe SSD with PCIe Gen 5.0 technology, an internal SSD delivering speeds up to 14 900 MB/s and capacities up to 4 TB, with 8 TB solutions available soon.

Read more...
Unified storage solution
Products & Solutions Infrastructure
CASA Software has announced the local availability of Nexsan’s upgraded unified storage solution, Unity NV4000, which is ideal for mixed workloads, from virtualisation and video surveillance to secure backup and recovery.

Read more...
First NVMe SSD Built with 8th-gen BiCS FLASH
EBV Electrolink Computer/Embedded Technology
KIOXIA recently announced the development and prototype demonstration of its new KIOXIA CM9 Series PCIe 5.0 NVMe SSDs, which incorporates CMOS directly Bonded to Array technology.

Read more...
Suprema unveils BioStar Air
Suprema neaMetrics News & Events Access Control & Identity Management Infrastructure
Suprema launches BioStar Air, the first cloud-based access control platform designed to natively support biometric authentication and feature true zero-on-premise architecture. BioStar Air simplifies deployment and scales effortlessly to secure SMBs, multi-branch companies, and mixed-use buildings.

Read more...
Back-up securely and restore in seconds
Betatrac Telematic Solutions Editor's Choice Information Security Infrastructure
Betatrac has a solution that enables companies to back-up up to 8 TB of data onto a device and restore it in 30 seconds in an emergency, called Rapid Access Data Recovery (RADR).

Read more...
QuecPi smart development board
iCorp Technologies Computer/Embedded Technology
The QuecPi Alpha smart MOB development board is Quectel’s smart development board based on Qualcomm’s QCS6490 high-performance 64-bit octa-core processor.

Read more...
Eskom announces PV registration extension
Computer/Embedded Technology
The South African Photovoltaic Industry Association has welcomed Eskom’s decision to extend its zero-registration fee policy and free smart meter installation for residential Small-Scale Embedded Generation customers until March 2026.

Read more...
A passport to offline backups
SMART Security Solutions Technews Publishing Editor's Choice Infrastructure Smart Home Automation
SMART Security Solutions tested a 6 TB WD My Passport and found it is much more than simply another portable hard drive when considering the free security software the company includes with the device.

Read more...
Unlock enhanced wireless performance
Computer/Embedded Technology
Duxbury Networking has introduced Cambium Networks’ Deep Virtual Circuit (Deep VC) technology, a free upgrade for the PMP 450 platform that will transform wireless broadband performance across the country.

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