< Back to blog

Prototype electronics: what to test before the machine build

Published on: November 26th, 2026  ·  Author: Jaap Terhaard

Prototype electronics for a machine must prove more than a working bench demo. Sensors must read correctly, actuators must respond within their limits, wiring and CAN messages must match their definitions, and the control logic must behave predictably when power, sensors or communications drop out. This acceptance-test matrix covers that step, using an illustrative GOcontroll Moduline M1 configuration.

What must prototype electronics prove at each stage?

A bench demonstration shows that a function works. An integrated machine prototype shows that it keeps working with the real harness, loads, supply and environment. 3Point1 draws the same line between demonstrating a function and validating operating conditions and integration.

StageProvesAccepted when
Proof of conceptThe function worksLogic drives the real sensor and actuator on the bench
Integrated machine prototypeIt works in the machineEvery matrix check is measured and recorded
Production readinessIt can be rebuilt identicallyConfiguration, wiring, firmware and parameters are frozen

Choosing the hardware is covered in Programmable Controller For Prototyping. This article covers what to measure after that choice.

Electronics prototype example: Moduline M1 with two modules

The example uses a GOcontroll Moduline M1: a Linux controller on an NXP i.MX8M Mini with four module slots, an 8–32 VDC supply, a specified temperature range of -20 °C to 85 °C and two CAN 2.0B interfaces. One slot holds a 6 Channel Input Module for 0-5, 0-12 or 0-24 V signals and frequencies up to 10 kHz. Another holds a 6 Channel Output Module that switches compatible DC loads. The application is built in MATLAB Simulink from the GOcontroll Linux template and measured over XCP.

This setup structures the tests. It is not a customer application, and the matrix below lists checks to perform, not results.

How to validate sensor acquisition

Each sensor channel passes five checks before the control logic uses its value:

  • Supply: the sensor’s required supply voltage matches the source it is wired to.
  • Range: its output span fits the selected 0-5, 0-12 or 0-24 V input without clipping.
  • Scaling: the conversion to engineering units is documented and checked at two or more points.
  • Wiring: every wire lands on the pin given in the M1 configuration document for that part number.
  • Reference: the value read over XCP agrees with a calibrated instrument within the tolerance the control requires.

##Flexible control logic during prototyping

As a prototype develops, its control requirements often change. Both the Moduline M1 and L4 run on Linux and can be programmed using MATLAB Simulink. This allows engineers to adjust control logic, update parameters and test changes as the machine evolves. The M1 has four module slots, while the L4 offers eight for applications that require more I/O. When changing hardware configurations, check the I/O mappings and target settings, then rebuild and test the application.## How to validate actuator operation

Output checks prove that each load is compatible and behaves as commanded in the conditions it will see in the machine:

  • Load compatibility: load current, including inrush, stays within the output module specification; larger loads go through a suitable external relay or driver.
  • Command response: measure the time from command to load reaction. Output module blocks need a Simulink sample time between 10 ms and 400 ms, and a module is never driven from Simulink and Node-RED at the same time.
  • Duty and temperature: run the real duty cycle under the specified installation conditions. Claim thermal stability only after that test.

How to check integrated control behavior

Power cycling

The Moduline M1 powers up with K31 ground, K30 supply and K15 enable. Cycle K15 and K30 separately and confirm that the application restarts into a known state. With K15 low the M1 draws less than 1 mA; check that against the machine’s quiescent-current budget.

Sensor disconnection

Unplug each sensor in turn. The application should flag the out-of-range signal and set the affected outputs to a defined state instead of acting on a meaningless value.

Communication interruptions

Disconnect each CAN node and confirm that message timeouts are detected. Verify the message definitions instead of assuming compatibility: bitrate (set with go-can to 125, 250 or 500 kbit/s, or 1 Mbit/s), identifiers, byte order, scaling and bus termination.

AI illustration of an engineer testing a prototype wiring harness on a compact machine in a workshop

Expected-versus-measured results table

Keep one table per prototype build. A row moves from Open to Demonstrated only with a recorded value, date and test setup.

CheckExpectedMeasuredStatus
Current with K15 low< 1 mA–Open
Sensor vs. referenceWithin required tolerance–Open
Command-to-load responseWithin control requirement–Open
CAN messagesIDs, scaling, timeouts match definitions–Open
Restart after power cycleKnown application state–Open
Temperature as installedWithin -20 °C to 85 °C–Open
Sealing as mountedIP67 when assembled and sealed as specified–Open

What evidence does the next build need?

The next build reproduces the prototype only if five items are recorded:

  1. Hardware configuration: the part number on the M1 label, whose configuration document lists slot assignments and pin functions, plus the serial number of the tested unit.
  2. Wiring revision of the harness used in the tests.
  3. Module firmware versions, managed with go-modules.
  4. Application version, set in the Simulink Software version block, which also names the build output.
  5. Parameters calibrated over XCP.

The Moduline knowledge base documents these tools.

Frequently asked questions

What is the difference between an electronics prototype and a machine prototype?

An electronics prototype proves a function on the bench. A machine prototype proves that function with the real harness, loads, supply and environment, against recorded acceptance criteria.

How do you prototype electronics for a machine without a custom PCB?

Use a modular controller with plug-in I/O, such as the Moduline M1, programmed in MATLAB Simulink or C. Testing then focuses on sensors, actuators, wiring and control. Prototyping with GOcontroll controllers covers the route from development boards.

Can prototype control logic move to another Moduline configuration?

Yes, across suitable configurations. Hardware-specific mappings and target settings must be checked, and the application rebuilt and tested for the new configuration.

Key takeaways

  • A bench demo proves a function; an integrated prototype proves operating conditions and integration.
  • Check every sensor on supply, range, scaling, wiring and a reference measurement.
  • Test actuators at real duty and installation temperature before claiming thermal stability.
  • Break power, sensors and CAN on purpose, and verify CAN definitions instead of assuming them.
  • Record part number, wiring revision, module firmware, application version and parameters.

Latest blog