Simulink solver small time delta sampling
Mostra commenti meno recenti
There are problems that require adding a sample location that is very close to the current sample. Such problems involve Boolean signals in mixed signal domains such as PLLs where a very small latency e.g., a femtosecond is required. Clearly you do not want to run the simulator at 10^12 Hz or anywhere close to that. In my opinion there has to be an event driven approach where a sample is added as needed. The usual approach to cross from the signal domain to an event domain requires detecting signals crossing thresholds. One kludge is for the Boolean edge to start a timer and look for a crossing one femtosecond later. This is wasteful.
3 Commenti
Peter O
il 1 Set 2020
Simulink does zero crossing detection for signals: https://www.mathworks.com/help/simulink/ug/zero-crossing-detection.html Are you suspecting that it is missing an edge event in your model? Are you running a fixed timestep solver?
Claudio Rey
il 1 Set 2020
Claudio Rey
il 2 Set 2020
Risposte (1)
Nikhil Sonavane
il 3 Set 2020
0 voti
You may consider using stiff solvers for your case. Here's a link to stiff solvers-
1 Commento
Claudio Rey
il 3 Set 2020
Categorie
Scopri di più su Applications in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!