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 · 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 Amp Hour · 1h 29m

    Simulating Embedded Hardware with Michael Gielda

    Michael Gielda, VP Business Development at Antmicro, discusses Renode, an open-source simulator for embedded systems that allows developers to test firmware without physical hardware. He explains how Renode enables continuous integration, reproducible testing, and the simulation of complex scenarios like mesh networks and machine learning workloads, such as TensorFlow Lite on nRF52 platforms. Gielda also details Antmicro's involvement in the RISC-V ecosystem, the Chips Alliance, and their work with open-source FPGA tooling and ASIC design flows to democratize chip development.

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.