Interactive electronic devices require a human-machine interface (HMI) that enables communication of a user with the underlying electronic device. Many industrial, medical, and military applications include underlying electronics specialized to the application. The HMI aspect can be satisfied using an HMI front end – an embedded computer with touchscreen/display attached to a larger device that enables user interaction. This article describes how such an HMI front end can be implemented.
Components of a Human-Machine Interface
In today’s embedded devices, the HMI fundamentally consists of four items: the display, touchscreen, processor, and operating system.
Display: The display provides visual communication of the machine’s status and application data to the user, and requests the user for input. Flat panel displays, including LCDs and OLEDs, are the hardware mechanisms that implement the display. Critical technical attributes for displays include not only size and resolution, but also brightness, viewing angle, special use cases for readability such as bright environments including direct sunlight, and operational temperature range that may include extreme levels of heat or cold.
Touchscreen: The use of touchscreens for information input on complex machinery is growing. There are two major touchscreen technologies in use today: capacitive and resistive. Projected capacitive technology is utilized in most smart phones, but may not be the best choice in wet or noisy electromagnetic environments, or with the use of thick gloves. Resistive technology has been used for many years in these environments, but is more easily scratched and is less optically clear than capacitive. Critical parameters include the required touch resolution, use of a stylus or other touch instrument, number of simultaneous touch points, gesturing, environmental conditions, and impact resistance.
Processor: A processor typically controls the HMI subsystem, rendering images and driving them to the display, accepting and interpreting touch input, and processing instructions for the system. For low resolution and/or static images with limited processing needs, a microcontroller, perhaps running a real time operating system (RTOS), can be utilized. For high resolution displays, motion video, or complex systems, a microprocessor which can run a complex operating system may be required. Processors with hardware accelerated video and graphics engines offer optimal power/performance tradeoffs. The processor may respond to user input within the HMI subsystem, or communicate instructions and/or data beyond the HMI via interfaces like RS-232, UART, Wi-Fi, PAN, Ethernet, or USB.
Operating System: The operating system is software running on the processor which simplifies application development by providing a means of communicating with peripherals such as the touchscreen, display, and other interfaces. When optimized for a specific circuit board, the operating system is called a Board Support Package, or BSP. HMI devices typically implement Android, Linux, or Windows operating systems. Android greatly simplifies software design for user interaction in HMI devices.
HMI for Embedded Applications: A Highly Complex Subsystem
The combination of these four elements into a functional HMI subsystem involves a great deal of complexity, both for technical and business reasons.
Circuit board design: Circuit board design for modern microprocessors is complex. With multiple hundreds of processor package connections and associated circuit board traces to memories, power supply components, and a variety of peripherals, there is ample opportunity for schematic mistakes and routing signal integrity problems. The occurrence of these problems can lead to long debug cycles, expensive re-spins, and associated schedule slippages. Such design is often best outsourced to a knowledgeable company who understands embedded microprocessor operation and regularly delivers these designs.
Display/Touchscreen: The touchscreen interacts with the underlying display optically, mechanically, and sometimes electrically. It is therefore important to treat the display and its touchscreen as a subsystem, with both being optimized for the HMI application. Together, the display/touchscreen is mounted in a package that meets ruggedization requirements and aesthetics. Availability of appropriate display and touchscreen components is often a factor. An experienced HMI designer can help facilitate the various performance, cost, and availability tradeoffs.
Operating system (BSP) customization: The BSP usually requires customization to the embedded processor platform on which it runs. Drivers for special peripherals may require development. Removal of functions not implemented may prevent crashes. For embedded HMI systems, a custom splash screen and booting directly into a fixed application (often called kiosk mode) may be necessary. Enhanced security may be desired. Developers who customize the BSP must not only understand the operating system itself, but also the intricacies of the underlying hardware as well as how application developers expect to interact with the BSP.
Environmental: Being accessible for human use, HMI front ends are often uniquely exposed to harsh environmental conditions. The touchscreen/display, often made of glass, are susceptible to impact which can crack or shatter the device. Scratches can impact view-ability. Moisture can seep around front bezels and into internal circuitry. Glare from bright lights or the sun can render a display unreadable. Wide temperature ranges, for devices used outdoors, can cause operational problems, often in corner cases. Proper system design, accounting for electronic, mechanical, thermal and optical design, can assure a robust product.
Regulatory certification: All electronic products, regardless of industry, application, or use case, must minimally pass regulatory certification. In the US, at a minimum, FCC Part 15 testing for EMI/EMC is required. Other countries have similar requirements- CE certification in Europe and IC certification in Canada for example. While an HMI front end is typically certified with the machine to which it is attached, its designer must be familiar with design for electromagnetic compliance to enable the certification process to go smoothly. Having an experienced business partner with a history of designing HMI interface devices and moving them through the certification process can be critical to a successful product launch.
Product life cycle: Product life for industrial, medical, and military devices far exceeds that of consumer products, sale and support for many years, often a decade or more. Availability is a function of the components selected and subsequent monitoring for obsolescence. Most critically the processor, display (with touchscreen), and other vital components must be selected with life span factored in. Consumer-oriented processors, displays, and complex peripherals like wireless modules are usually available for no more than 2-3 years. It is critical to understand the supply chain during the design phase.
Customized HMI Design
Given this wide range of design parameters, a complex machine often requires a customized HMI, typically to meet display, touchscreen, and peripheral requirements. The underlying processor circuitry can usually be leveraged, with minor modifications for the specific display, touchscreen, and peripherals selected. SECO USA excels in embedded processor and display system design and production for long life applications. Our partners that sell complex industrial, medical, or military product often outsource the HMI front end to us.
SECO USA’s HMI front end is based on the Hydra-F6 rugged tablet. The Hydra-F6 runs Android and Linux operating systems on NXP’s long product life i.MX 6 microprocessor, and provides touchscreen input and LCD output. Utilizing our modified COTS approach, the custom HMI starts from a known, proven design, significantly reducing development time, cost, and risk.