How to enable only one particular subsystem by comparing the input using TI's F28069M controller in simulink?

1 vue (au cours des 30 derniers jours)
Initially , the input value is compared with the present value if the values are equal then that particular subsystem is enabled to perform the function where another subsystems are disabled to perform the function we are using TI's F28069M controller
But, in our model we have 6 subsystem with 3 blocks of ePWM module in each subsystem, with differerent functionality and we need to enable only one subsystem each with 3 ePWM Model in it at a time due to which it shows error say we have redeclared the ePWM block again when we run the simulation.
But please tell how to enable only one subsystem at a time?

Réponses (1)

Chetan
Chetan le 16 Nov 2023
I understand that you're trying to activate a specific subsystem in Simulink by comparing the input, but you're encountering an error.
The error message suggests that there's a conflict involving the ePWM blocks across your subsystems.
To manage which subsystem is active at any given time, you can implement a Switch Case block or an If block in Simulink.
It's also crucial to ensure that each ePWM block has a unique identifier to prevent conflicts.
For more information, you can refer to the following:
Hope it helps

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by