Altair Twin Activate® Challenge 4: IIR Filter Design
Altair Twin Activate is an integration platform for system-of-systems simulation based on a hybrid block diagram modeling environment.
Signal blocks, physical components, and co-simulation with other Altair and third-party products can be combined with math modeling and scripting within a single, multi-domain, model.
Twin Activate supports OML as its main scripting language to leverage Altair Compose’s capabilities from within any block diagram: Model systems using mathematical equations, design components, create and process signals, etc., using the initialization script of a model. Which can be found here:
Your challenge this time is to design two Infinite Impulse Response (IIR) filters, namely, a Butterworth and a Chebyshev type II filter, so you can appropriately remove noise present in a sinusoidal signal with both. You must do that using OML in your model’s initialization script.
A file containing the model’s diagram has been attached for you to start from.
Tip: Some of the required steps are already present in the initialization script of the provided model to give you a head start. Have a look at it!
Level: Easy
Product Required: Twin Activate 2020 or later version (including Personal Edition)
The solution can be attached in the comment section of this post. Please share the minimum filter order that appropriately removes noise from the signal with both filters and the obtained filter coefficients for doing so.
The solution to Challenge FIR Filter Design can be found here.
If you would like to solve more challenges and get regular challenge release updates, Subscribe to the Altair Community Challenge forum.