Functions, the Often Overlooked Jack of All Trades

Define them once, use them everywhere.

Functions are very useful tools for dividing engineering problems into smaller, more manageable pieces. A function is often described in plain English (e.g. ‘Transmit telemetry data’, ‘Manage propellant’) and is deceptive in its simplicity. Most often, functions are cited as a way to validate requirements, but their utility extends much further, into areas such as reliability, system safety and fault management. It is tempting to skip defining functions and rely entirely on requirements. However, for systems with complex operations, this can make feature development and system certification unnecessarily complex and resource-heavy.

What is a function?

Functions are specific actions or processes that a system performs. For example, a kitchen scale may have a function ‘Report weight of object’, defined as the scale measuring the weight of the object placed on it and then displaying that weight on a digital screen. The key components of the scale shown below have their own functions, which are derived from the kitchen scale’s ‘Report weight of object’ function using the architecture of the scale.

A kitchen scale with the function Report weight of object, split into a load cell that measures the weight, a processor that converts the signal to a weight and a display that shows it. A requirement of 10 plus or minus 1 mV/V sensitivity hangs off the load cell.
Figure 1. The kitchen scale’s function and the functions of its key components

A function is typically defined so that it draws clear functional boundaries between the components in a system. Zero ambiguity about what a component does in the system is ideal. Then, if the functions are established before the requirements, requirements are written against the functions to state specifically what it means to perform each function.

For example, the load cell in the kitchen scale example above has a ‘Measure weight of object’ function. One of the requirements allocated to that function for the load cell may be something like ‘The load cell shall have a sensitivity of 10±1 mV/V’. The requirement gives explicit detail on what it means to perform the function successfully.

When will you want functions?

Functions are often overlooked because, in practice, requirements typically end up being defined before the functions. This is not in itself a problem, because the validate-fix-validate cycle of function and requirement definition is an iterative process. Sometimes, however, functions are skipped altogether because requirements already exist. While this allows the design to start from a set of requirements, it does not set the team up for success in requirement validation, system safety certification or the design of fault management systems. For simple systems this may not be an issue, but the difficulty of these activities increases exponentially with system and organizational complexity.

Validation of Requirements

Requirements are often decomposed directly from parent-level requirements. While that works for the initial definition, it is just as important to check that the requirements are the right ones. The typical way to do that is to perform a functional decomposition from the parent level to the child level in parallel, and then attempt to establish a relationship between the requirements and the functions that were derived separately. By providing a system-based viewpoint, this often reveals requirements that were not initially defined, or changes needed to requirements that were already defined.

System Safety Products

System safety products are typically built on a functional foundation. For example, a Fault Tree Analysis typically starts at a failure, i.e. the system’s inability to satisfy a certain function (or a certain part of a function). Nodes further down the fault tree can easily be described based on the functions of lower-level components. Similarly, there are many ways to perform any given variation of the Failure Modes, Effects and Criticality Analysis (FMECA). One of the most effective is to use functions to perform a top-down FMECA.

Fault Management Design

One of the most effective approaches to fault management strategy and implementation is centered on the functional definition of any given fault. The response to a low-level problem can be broken up into its constituents at each level of the architecture by using functions as the interface between architectural tiers. By doing this, difficult problems such as full-stack management of any given fault, or management of multiple simultaneous faults, become comprehensible tasks.

Putting these all together

The above are some examples of product design activities that typically use functions as their centerpiece. All of these activities can be done without formally defining system functions, but in that case something similar to functions will likely be generated independently for each use case. You may notice that some of the example use cases for functions identified above are related. For example, system safety products and fault management are both means of developing a reliable, available system. In-situ requirement compliance is a way to determine whether a fault has occurred in the system.

Whether skipping functional definition is worth the resources saved is decided case by case, but more often than not teams end up appreciating the utility of functions after their equivalents have been developed independently for various needs. At that point, the team has unknowingly signed up for a lot of extra scope, as the various ‘function’ definitions will eventually need to be commonized to support successful certification.

You can set your team up to avoid incurring such unplanned scope. It takes some proactive systems engineering early in your product development program to avoid a large amount of potential rework in the future.

Functions are one part of Foundations of Building a Working System, where I show how they fit with architecture and requirements on the way from a customer need to a working product. The next live session is on January 30, 2027. If you want to see where functions sit in the bigger systems engineering picture, you can find the agenda here.

What's next

Stay in touch · Free

Get the next article in your inbox

Every other week. Join about 1,600 engineers.

Keep reading

Comments

No comments yet. Start the conversation.

All fields are required. Comments appear after review. Your email address is never shown. Your name and email are remembered on this device for next time.