-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run a test campaign before merging AMCBLDC_experimental and AMCBLDC #92
Comments
I was able to successfully restore operation of the setup, so I can lay out the integration tests: Must:
Could:
This is a first list, other tests will be added as needed. |
The Simulink CAN driver is indeed able to send multiple messages in a Simulation tick. The vectorized messages though are not really parallel, but sequential and they are sent every 100us. The board is indeed able to get them, and we can see that from a cold start it processes all the 4 messages since it switches to a control mode and sends its own messages. |
Well done so far 👍🏻
We do employ Tracking Mode in our PID controllers, hence the bumpless switch should be guaranteed. Perhaps, we could check whether the tracking coefficient (Kt) is ok. See: |
It seems that even in simulation the effect of the tracking coefficient Kt is irrelevant for the Iq controller, see the comparison below. In this scenario, I increased 10x the current PID: There is a 3msec difference in the settling time to 99.5% of the target. Note that this behaviour occurs with the current AMCBLDC architectural model as well. Maybe we can track the developments on this front in a different issue. |
Yes... and no 😃 The issue can be opened, but I'd be more in favor of continuing with the final switch. |
I'm ready to create the PR to replace the current AMCBLDC architectural model, and in icub-firmware, but I found issues with the CMSIS, after upgrading to Matlab R2024a:
I suggest for the time being to completely avoid calling cmsis functions even for this experimental version, since we saw no benefit in the critical paths of the FOC in the past. See : |
Do you have the latest MATLAB updates installed? Let's go w/o CMSIS 👍🏻 |
Yes, Update 6.
Will do 👍🏻 |
PR here for icub-firmware-models: #94 Will request merging after successful tests on the wrist. |
Booked the robot ergocub 000 for tomorrow. |
The integration test on the robot could involve the following operations:
Important Other control modes are not available because of the joint coupling cc @fiorisi |
Will do 👍 |
Agree 👍🏻 I'll merge the PR anyway as we have a copy of the old code. |
PR merged ✅ |
At the moment there are two projects that involve the AMCBLDC board, the official one and the Experimental one.
The Experimental project involves a major refactor of the supervisor and leverages the
Common
Simulink project to make the structure more modular.While the first trials were successful (#84), the integration tests were not exhaustive.
This issue aims to track which tests need to be performed, before making Experimental the official project.
The text was updated successfully, but these errors were encountered: