Iterpolation shows wrong results
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello
I have a major problem with my results that I can't seem to find its reason
My model beginns with an electrical loads which is supplied by a synchronous generator. the generator gets its power via an asynchronous motor (galvanic isolation of an island grid)
and this is the electrical load, connected to the generator, which was interpolated using the interp1 spline method and goes to a 1D lookup table
the values of the 1D table are measurment points each 30s and where interpolated to points each 10s (1 sample point in matlab=10s --> total of 90 sample point) and working with a finer interpolation would last so long
ah shown the plot looks smooth and the torque od the induction motor looks fine so far
the problem is the speed which has these semi-intervall between each two points (like between 18 and 19)
what I would like to achieve is what I've drawn with a blue line
I guess it's a problem related to the interpolation right? I don't know why I have these semi-Intervall, and the moving average block didn't help
the lookup table has the following setting
I have the following questions:
- is it a solver problem? I used fixed step discrete size 1e-5
- is it an interpolation problem?
- if fixing the model isn't possible, is there any other war?
I'd be gratfull for any suggestions or ideas
regards,
1 commentaire
Réponses (2)
Sabin
le 14 Déc 2024 à 14:32
Fundamental sample time defines the sample rate at which the system is executed. The control sample time is the rate at which the control algorithm is executed. When we discretize a system, we should ensure we have a small enough sample time to capture the system dynamics. When we have PWM signals we also need to oversample the system to ensure we capture all the edges with relatively good accuracy.
0 commentaires
Voir également
Catégories
En savoir plus sur Robotics and Actuation Systems dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!