0
0
Simulinkdata~10 mins

Hardware-in-the-loop (HIL) testing concept in Simulink - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to define the main purpose of HIL testing.

Simulink
HIL testing is used to [1] real hardware with a simulated environment.
Drag options to blanks, or click blank then click option'
Areplace
Bignore
Cintegrate
Ddisconnect
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'replace' because it sounds like substitution.
2fill in blank
medium

Complete the code to specify what HIL testing helps to detect.

Simulink
HIL testing helps to [1] errors before deploying to real systems.
Drag options to blanks, or click blank then click option'
Aintroduce
Bdetect
Chide
Dignore
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'introduce' because it sounds like adding something.
3fill in blank
hard

Fix the error in the description of HIL testing.

Simulink
In HIL testing, the [1] is replaced by a software simulation.
Drag options to blanks, or click blank then click option'
Aenvironment
Bsoftware
Chardware
Dcontroller
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'hardware' because the controller is actually real hardware that is not replaced.
Choosing 'software' because it sounds like the simulation.
4fill in blank
hard

Fill both blanks to describe the components involved in HIL testing.

Simulink
The [1] runs the real-time simulation, while the [2] is the physical device under test.
Drag options to blanks, or click blank then click option'
Asimulator
Bcontroller
Chardware
Dsoftware
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up simulator and hardware roles.
5fill in blank
hard

Fill all three blanks to complete the HIL testing workflow code snippet.

Simulink
data = [1].read_inputs()
response = [2].simulate(data)
[3].send_outputs(response)
Drag options to blanks, or click blank then click option'
Ahardware_interface
Bsimulation_engine
Dsoftware_module
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing simulation engine with hardware interface.