Simulation 3D Ultrasonic Array
Ultrasonic sensor model with tunable acoustic parameters in 3D simulation environment
Since R2024a
Libraries:
Automated Driving Toolbox /
Simulation 3D
Simulink 3D Animation /
Simulation 3D /
Sensors
Description
The Simulation 3D Ultrasonic Array block generates detections from range measurements taken by an array of ultrasonic sensors with tunable acoustic parameters, mounted on an ego vehicle in a 3D simulation environment. This environment is rendered using the Unreal Engine® from Epic Games®. The block calculates range measurements based on the distance between the sensor and the closest point on the detected object. The block also provides parameters to control the waveform of the ultrasonic signal used by the sensor to calculate range measurements.
If you set Sample time to -1
, the block uses the
sample time specified in the Simulation 3D Scene Configuration block. To use
this sensor, you must include a Simulation 3D Scene Configuration block in your
model.
Tip
The Simulation 3D Scene Configuration block must execute before the Simulation 3D Ultrasonic Array block. That way, the Unreal Engine 3D visualization environment prepares the data before the Simulation 3D Ultrasonic Array block receives it. To check the block execution order, right-click the blocks and select Properties. On the General tab, confirm these Priority settings:
Simulation 3D Scene Configuration —
0
Simulation 3D Ultrasonic Array —
1
For more information about execution order, see Control and Display Execution Order (Simulink).
The Coordinate system parameter of the block specifies how the actor transformations are applied in the 3D environment. The output of the block also follows the specified coordinate system.