Comments (7)
Please make sure that the number of poles is configured correctly.
from sapog.
I've confirmed that this is the case. This test data comes from this motor: http://store-en.tmotor.com/goods.php?id=353 which is listed as 22 poles. That's what I have configured in the parameters.
from sapog.
Assuming that you're using the default PWM frequency of 60 kHz, the maximum mechanical speed for your motor is 6900 RPM, which seems to be compatible with your application (judging by the graphs). So I would suggest making sure that the PID controller is configured properly. You can use the CLI to command the motor a particular speed and observe how quickly it is reached. The speed can be plotted using the UAVCAN GUI Tool.
from sapog.
Why would that affect the rpm feedback reading?
from sapog.
I am suspecting that the reading is correct, and the divergence is caused by the ESC not reaching the speed setpoint due to misconfigured RPM PID controller.
from sapog.
What sort of parameters would cause that?
We've verified that our feedback is correct via an external tachometer. So we're confused why the setpoint is so much higher still.
from sapog.
Seems like the integral gain is zero. Check the value of rpmctl_i
please. You could also dump all configuration parameters here so we could have a look.
from sapog.
Related Issues (20)
- Increase the space allocated for bootloader to 16K HOT 3
- Shorten parameter names in order to comply with PX4 limitations
- Build failure: Unable to checkout 'chibios @ e7a5b54' in submodule path 'firmware/chibios' HOT 4
- Temp sensor autodetect
- sapog development environment HOT 6
- [Feature request]Add support DSHOT signal input HOT 4
- segfaults during linking HOT 1
- undefined reference to `main' HOT 7
- Compile Error HOT 6
- On which pin UART2 isοΌ HOT 1
- Myxa ESC issues HOT 5
- Why do I compile so many errors with UBUNTU?
- Python 3 syntax error on filter(lambda (x, y): ) HOT 3
- Support UAVCAN v1.0 HOT 6
- Enable CAN acceptance filters
- Configurable Telemetry Rate HOT 1
- Maximum RPM Command Rate HOT 1
- What other processors are already coded for this HOT 1
- Missed mid-flight rotation feature HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sapog.