Skip to content
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

modeling Rotor latency #24

Open
kd0aij opened this issue Jun 29, 2015 · 3 comments
Open

modeling Rotor latency #24

kd0aij opened this issue Jun 29, 2015 · 3 comments

Comments

@kd0aij
Copy link

kd0aij commented Jun 29, 2015

These are impulse response models constructed from log data collected using MatrixPilot firmware in an AeroQuad frame. 3S battery, 1000KV 2212 motors, 10x4.7 props, 680mm between motor centers.
The Pitch moment of inertia is a little higher than the Roll moment.

Impulse response model: A exp(-t/tau) sin(omega t)
Delay values in plot headers are the estimated command->response latency for thrust and rotation rate, respectively.

aeroquad_ratemode

This plot is for a HobbyKing microQuad with motor spacing of 220mm:
microquad_ratemode

@DrTon
Copy link
Owner

DrTon commented Jul 8, 2015

Very useful, thanks! But can you provide some more comments. What was input pulse? Roll or pitch control? Then why you are talking also about accelerations, and what means "roll accel"?
Also we see here how controller performs, i.e. response of controller+motor+prop to setpoint, not motor+prop itself. So ideally need to look at response to e.g. thrust=50% -> thrust=60% step. Or roll=0 -> roll=0.5.

@kd0aij
Copy link
Author

kd0aij commented Jul 8, 2015

The impulse response models are constructed by finding the parameters A, tau and omega which best fit the logged input/output signals over an entire test sequence involving aggressive roll/pitch maneuvers. Inputs are individual motor throttle settings, outputs are angular acceleration, rate and tilt.
I looked at angular acceleration because it should correlate directly to differential thrust.

This guy did some interesting tests of esc/motor/prop response: http://www.rcgroups.com/forums/showthread.php?t=1006721
He's showing about 100msec lag to peak response for a 100us PWM input step.

@DrTon
Copy link
Owner

DrTon commented Jul 10, 2015

Ah ok, I thought about linear acceleration, not angle acceleration. Thanks for that article, also very useful! I will review the defaults.

mpaperno pushed a commit to mpaperno/jMAVSim that referenced this issue Apr 5, 2016
Fix overlay compass image loading error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants