hardware-凯发k8网页登录

test controller designs without hardware prototypes

hardware-in-the-loop (hil) simulation is a technique for validating your control algorithm, running on an intended target controller, by creating a virtual real-time environment that represents your physical system to control. hil helps to test the behavior of your control algorithms without physical prototypes.

how does hil simulation work?

  1. you create and simulate a virtual real-time implementation of physical components such as a plant, sensors, and actuators on a real-time target computer.  
  2. you run the control algorithm on an embedded controller and run the plant or environment model in real time on a target computer connected to the controller. the embedded controller interacts with the plant model simulation through various i/o channels.
  3. you refine software representations of your components and gradually replace parts of the system environment with the actual hardware components.

with this approach, hil simulation can eliminate costly iterations in hardware fabrication.

hardware-in-the-loop (hil) simulation setup. the block diagram shows a hil simulation in which the hardware under test is an embedded controller and the plant model is a representation of a physical system.

where is hil simulation used?

hil simulation is especially useful when testing your control algorithm on the real physical system is costly or dangerous. hil simulation is widely used in the automotive, aerospace and defense, and industrial automation and machinery industries to test embedded designs. hil is also being adopted in medical devices, communications, semiconductors, and other industries.

common hil simulation examples include:

  • aerospace and defense: flight simulators and flight dynamic control, where it is too complex to test the control algorithm on the actual aircraft
  • automotive: vehicle dynamics and controls, where it is impractical to test the functionality on the road in the initial phases
  • industrial automation: controller-plant testing, when stopping the production or assembly line to test control algorithms involves a huge amount of resources and business loss

hil simulation with matlab and simulink

you can use simulink real-time™ and to perform real-time simulation and testing. engineers can start with desktop simulation using matlab® and simulink® and then design, build, and test the real-time application. using simscape™, you can build physical models of your plant and then perform hil simulation using simulink real-time and speedgoat target hardware.

 

complete speedgoat rack setup. this setup was used to automate the testing of tractor controllers with hardware-in-the-loop test benches.


examples and how to


software and hardware reference

see also: real-time simulation, physical modeling, rapid prototyping, embedded code generation, simulink real-time, power electronics hardware-in-the-loop (hil) testing

网站地图