MCSDK Reference Speed And Average Speed Following Delay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-18 3:11 AM
Hello,
We are using MCSDK 5.Y.2 version.
We are getting average and reference speed with below functions.
average_speed = MC_GetMecSpeedAverageMotor1()*_RPM / SPEED_UNIT;
reference_speed = MC_GetMecSpeedReferenceMotor1()*_RPM / SPEED_UNIT;
We have a problem regarding that average speed following reference speed.
As we see, although we decrease the reference speed instantly, average speed decreases with a delay, didn't follow the reference speed. What may be the problem ?
By the way, firstly we increased reference speed over max speed of the motor as you can see from the picture.
- Labels:
-
STM32 Motor Control
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-20 10:46 PM
Dear @Fatih Okutan​
Sorry for the late answer.
Do you have still this problem to solve?
And just in case, if not, do not hesitate to share the final solution you found. Thanks by advance.
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-21 3:17 AM
Dear @Laurent Ca...​ ,
Thanks for your reply.
We couldn't yet find a solution.
Kind Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-09 11:24 PM
The problem is inside the PID of the speed, the integral part. There isn't the anti-windup in case the PID of current can't set the output of the PID of speed. A possible case is low bus voltage.
