Go to Post If you don't like getting tipped don't build a robot that tips. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 17-03-2013, 23:54
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
simulation/analysis of motorized shooter


I coded a very simple dynamic model of a motorized shooter wheel. The model has constant kinetic friction and RPM-dependent drag, but no mechanical free play between motor and wheel. The model has no sensor noise or phase lag. I'm running the model at 1 microsecond steps.

Here's the model. p1 thru p4 are tuning parameters:

Code:

if (PWM=0) accel=0; else accel=p2*PWM*(1-RPM/(p1*PWM));
accel=p2*(PWM-RPM/p1);    // assume linear speed vs torque motor curve
if (accel<0) accel=0;     // assume no regen braking
if (RPM<=0) decel=0; else decel=p3*RPM+p4;
accel -= decel;
I tuned the model to behave somewhat like the real world open-loop with a 0 to +1 PWM step input and a +1 to 0 PWM step input.

I then ran the model with 3 different speed controllers running at 10ms iteration rate:

1) Bang-Bang

2) Integration Only

3) Take-Back-Half

The results were interesting, but I'm not sure the model is good enough to trust the results.

So... has anyone done a more comprehensive simulation of the motorized shooter and studied the behavior of various speed control algorithms for spinup response, recovery response (disturbance rejection), accuracy, and stability?

Especially interesting would be the effect on the different control algorithms of sensor noise and phase lag, and mechanical free play between the motor and wheel.



Last edited by Ether : 18-03-2013 at 21:45. Reason: clarified formulation of accel
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi