This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
robotsoftware:mobotware:rhd:plugins:rtq [2012/03/05 16:47] claes created |
robotsoftware:mobotware:rhd:plugins:rtq [2021/08/14 04:21] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
This plugin cannot be used together with the [[mobot> | This plugin cannot be used together with the [[mobot> | ||
</ | </ | ||
+ | === Gear ratio === | ||
The [[robots: | The [[robots: | ||
- | + | ||
+ | === Speed Calculations === | ||
+ | With the current configuration the speed is given in $\frac{cm}{s}$. This is recalculated with | ||
+ | $$v_{in}/ | ||
+ | |||
+ | == Angular and Linear velocity == | ||
+ | The relation between the linear speed and angular velocity is given by $v = r*\omega$ where $r$ is the radius of the circle and $\omega$ is the anguler velocity. | ||
+ | |||
+ | To change $\omega$ from RPM to $rad/s$ the following converson is done | ||
+ | $$1 RPM = 1\frac{rev}{min}*2\pi\frac{rad}{min}*\frac{1}{60}\frac{min}{s}=\frac{\pi}{30}\frac{rad}{s} $$ | ||
+ | |||
+ | This constant is called $\frac{\pi}{30}\frac{rad}{s}=\Theta$ | ||
+ | |||
+ | The angular velocity from the motor to the drivewheel is defines by $\omega=G*m_{RPM}$, | ||
+ | |||
+ | Combine the above formulas and you get the following | ||
+ | |||
+ | $$v=r*\Theta*G*m_{RPM} -> m_{RPM}=\frac{v}{r*\Theta*G}$$ | ||
+ | |||
+ | == Change RPM to control value == | ||
+ | |||
+ | $$controlvalue=\frac{m_{rpm}}{max_{rpm}}*1000$$ | ||
+ | |||
+ | $$max_{RPM}=8000$$ | ||
+ | |||
+ |