Tracking Increments in Signals
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I'm trying to design a Simulink Model to detect increments in a signal, which I have sucessfully implemented (see picture below and attached Simulink Model). My problem is that when I use the Model in conjunction with a Simcape circuit, I always get an initial overshoot as the Simscape circuit starts running (see picture below (bottom)). The Simulink model then takes this as the start point, then the Simscape model output drops back down and I can't detect any further increments.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/618768/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/618783/image.png)
I've tried using a delay to supress this, but it doesn't work. Does anyone know of any modifications I can make, either to my Simcape Model to avoid the initial overshoot, or to the Simulink Model so it can avoid the overshoot.
Kind regards,
Andy
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/618763/image.png)
2 Commenti
Mathieu NOE
il 16 Mag 2021
hello
in your simulink model , why not use a switch so that the simscape signal gets inot the simulink code only after a certain time ?
Risposte (0)
Vedere anche
Categorie
Scopri di più su Nonlinear Operators in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!