508: Descartes' Demon

Embedded.fm · 21 Aug 2025 · 1h 22m · Episode 508

What this episode covers

William Griffin, co-founder of Spark Embedded, explains the distinction between hardware-in-the-loop (HIL) and model-in-the-loop (MIL) testing, emphasizing that HIL involves a closed loop where the controller's output affects the simulated plant model. He discusses the value of model-based system design (MBSD) using tools like Simulink for off-highway vehicles and robotics, noting the trade-offs between high-fidelity simulation and cost. Griffin also shares insights on learning complex topics through repetition and creating safe environments for engineering teams to experiment and fail.

Mentioned

Companies
Spark Embedded
Tools
Simulink, LabVIEW, MATLAB, Gazebo, Webots

Other shows on the same ground, closest first.

  • The Pragmatic Embedded Podcast · 34m

    Hardware-in-the-Loop Testing

    Hosts Jeff Gable and Luca Enjani discuss hardware-in-the-loop (HIL) testing, contrasting high-fidelity aerospace systems with simpler, agile approaches for startups. They highlight the risk of 'horse-sized rabbits' where complex test rigs cost over $100,000 but provide little value, advocating instead for rudimentary setups using tools like Raspberry Pi or Python scripts. The conversation emphasizes that even a simple smoke test providing physical feedback is superior to pure software simulation, especially for catching race conditions and validating real-world interactions in medical devices and robotics.

  • The Pragmatic Embedded Podcast · 45m

    Testing Embedded Systems in the Cloud and On-Prem with Marie Meyer and Joel Schulz-Andres

    Marie Meyer and Joel Schulz-Andres, founders of OnMCU, discuss their cloud-based and on-prem hardware-in-the-loop (HIL) testing platform designed to bridge the gap between host unit tests and physical integration. They explain the concept of 'on-target unit tests' using remote dev boards to catch peripheral errata early, and detail the significant hardware challenges they faced, including unreliable USB hubs and non-existent cable chains, when building their infrastructure. The conversation covers the trade-offs between cloud scalability and on-prem security, as well as their strategy to offer a generalized interposer box to help small-to-medium companies avoid building expensive custom test rigs from scratch.

  • The Pragmatic Embedded Podcast · 37m

    Unit Testing vs HIL Testing

    Jeff Gable and Luca engineer discuss a listener's question on whether to prioritize unit testing or Hardware-in-the-Loop (HIL) testing for embedded systems. They argue that while HIL tests are crucial for validating system-level requirements and subsystem interactions, unit tests are essential for rapid feedback, refactoring safety, and catching low-level faults early. The hosts conclude that a hybrid approach is necessary, recommending that teams start with unit tests while simultaneously building the infrastructure for system-level testing to avoid technical debt.

  • The Pragmatic Embedded Podcast · 52m

    Model-Based Development with Max Kolesnikov

    Max Kolesnikov, founder and CEO of MKS Technology, explains model-based software development using tools like MathWorks Simulink and Stateflow, particularly for complex control algorithms and state machines. He discusses integrating these visual models into modern DevOps workflows, including version control, continuous integration, and automated testing via Simulink Test. Kolesnikov highlights how this approach improves communication between software engineers and domain experts (like calibration engineers) and facilitates collaboration across organizational boundaries in the automotive industry.

  • The Pragmatic Embedded Podcast · 43m

    Systems Architecture with Maik Pfingsten

    Maik Pfingsten, an independent systems engineering professional, explains how to apply model-based systems engineering (MBSE) using SysML to complex embedded systems in safety-critical industries like automotive and medical devices. He argues that defining system boundaries and high-level interfaces early prevents the 'big design up front' pitfalls while allowing for necessary iteration between architecture and prototyping. Pfingsten emphasizes that software behaves differently than hardware or mechanics, requiring specific architectural rigor to manage complexity and ensure safety without relying on impossible zero-failure strategies.

The summary, chapters and topics are generated from the episode’s audio by this directory, not written by Embedded.fm. The episode itself belongs to its publisher.