This commit is contained in:
Stavros Korokithakis 2021-08-21 20:40:09 +03:00
parent f2141de749
commit be3c85fb6f
No known key found for this signature in database
GPG Key ID: 26EA345ECD4C2A63
2 changed files with 14 additions and 14 deletions

View File

@ -172,17 +172,17 @@ You should perform the measurements in four stages, all in the FBWA mode:
Fly straight and note down:
- [ ] A comfortable cruise speed (in km/h).
- [ ] The throttle percentage at that cruise speed.
- [ ] The maximum speed you want to be flying at (in km/h).
- [ ] The throttle percentage at that maximum speed.
- [ ] Start a turn at the maximum bank angle (full roll deflection to one side) and note the slowest speed you can fly at without stalling.
- [ ] Fly straight at a speed 15% higher than the stall speed from the previous step, and note that speed. This is your trim speed.
- [ ] Note the throttle percentage at that speed.
- [ ] Turn throttle to 0 and pitch down a bit so you don't stall.
Note the minimum amount of down-pitch required to keep you from stalling (this should only be in the 1-3 degree ballpark).
#### Fly up
Set the throttle to the maximum throttle percentage from the previous step and start slowly pulling back on pitch until your airspeed equals your "comfortable cruise speed" from the previous step.
Set the throttle to the maximum throttle percentage from the previous step and start slowly pitching up until your airspeed equals your trim speed from the previous step.
If you're higher than that speed and need to climb more, change `LIM_PITCH_MAX` to something higher and try again.
Note down:
@ -191,7 +191,7 @@ Note down:
#### Fly down
Set the throttle to 0 and start pushing on the pitch stick until your airspeed equals your "comfortable cruise speed" from the previous step.
Set the throttle to 0 and start pitching down until your airspeed equals your trim speed from the previous step.
Note down:
- [ ] The vertical speed from the variometer (in m/s).
@ -216,11 +216,11 @@ You can either do things manually (below), or use the [TECS tuning calculator](.
For the level flight measurements:
- [ ] Set `TRIM_ARSPD_CM` (cm/s) to your "comfortable cruise speed".
- [ ] Set `TRIM_THROTTLE` (percentage) to your cruise throttle percentage.
- [ ] Set `ARSPD_FBW_MAX` (m/s) to something a bit less than the maximum airspeed you achieved in level flight.
- [ ] Set `THR_MAX` (percentage) to the throttle percentage at max speed.
- [ ] Set `ARSPD_FBW_MIN` (m/s) to the slowest speed you could turn at without stalling (maybe go a bit higher for some margin).
- [ ] Set `TRIM_ARSPD_CM` (cm/s) to your trim speed.
- [ ] Set `TRIM_THROTTLE` (percentage) to your trim throttle percentage.
- [ ] Set `STAB_PITCH_DOWN` (degrees) to the pitch angle that keeps you from stalling.
For the ascent measurements:
@ -270,6 +270,6 @@ _(Many thanks to Michel Pastor for his help with everything in this note.)_
* * *
<p style="font-size:80%; font-style: italic">
Last updated on August 09, 2021. For any questions/feedback,
Last updated on August 21, 2021. For any questions/feedback,
email me at <a href="mailto:hi@stavros.io">hi@stavros.io</a>.
</p>

View File

@ -11,11 +11,11 @@ To use this calculator, first follow the steps in the [TECS tuning section](../.
function kmhToCms(kmh) { return Math.round(kmh / 0.036); }
function calculateParameters(event) {
var cruiseSpeed = Number(document.getElementById("cruiseSpeed").value);
var cruiseThrottle = Number(document.getElementById("cruiseThrottle").value);
var maxSpeed = Number(document.getElementById("maxSpeed").value);
var maxThrottle = Number(document.getElementById("maxThrottle").value);
var stallSpeed = Number(document.getElementById("stallSpeed").value);
var trimSpeed = Number(document.getElementById("trimSpeed").value);
var trimThrottle = Number(document.getElementById("trimThrottle").value);
var downPitch = Number(document.getElementById("downPitch").value);
var upPitch = Number(document.getElementById("upPitch").value);
@ -28,8 +28,8 @@ To use this calculator, first follow the steps in the [TECS tuning section](../.
var output = document.getElementById("parachuteCommand");
output.textContent = ("parachute set"
+ " \\\n TRIM_ARSPD_CM=" + kmhToCms(cruiseSpeed)
+ " \\\n TRIM_THROTTLE=" + cruiseThrottle
+ " \\\n TRIM_ARSPD_CM=" + kmhToCms(trimSpeed)
+ " \\\n TRIM_THROTTLE=" + trimThrottle
+ " \\\n THR_MAX=" + maxThrottle
+ " \\\n ARSPD_FBW_MAX=" + kmhToMs(maxSpeed * 0.95)
+ " \\\n ARSPD_FBW_MIN=" + kmhToMs(stallSpeed * 1.05)
@ -47,11 +47,11 @@ To use this calculator, first follow the steps in the [TECS tuning section](../.
<form onsubmit="calculateParameters(event); return false">
<h2>Fly straight</h2>
<p><label>Cruise speed (km/h): <input type="number" min="0" id="cruiseSpeed" /></label></p>
<p><label>Cruise throttle percentage (%): <input type="number" min="0" max="100" id="cruiseThrottle" /></label></p>
<p><label>Maximum speed (km/h): <input type="number" min="0" id="maxSpeed" /></label></p>
<p><label>Maximum throttle (%): <input type="number" min="0" max="100" id="maxThrottle" /></label></p>
<p><label>Slowest speed (km/h): <input type="number" min="0" id="stallSpeed" /></label></p>
<p><label>Trim speed (km/h): <input type="number" min="0" id="trimSpeed" /></label></p>
<p><label>Trim throttle percentage (%): <input type="number" min="0" max="100" id="trimThrottle" /></label></p>
<p><label>Down pitch (deg): <input type="number" min="0" max="90" id="downPitch" /></label></p>
<h2>Fly up</h2>
@ -85,6 +85,6 @@ Run this command in a terminal, making sure you have <a href="https://gitlab.com
* * *
<p style="font-size:80%; font-style: italic">
Last updated on July 06, 2021. For any questions/feedback,
Last updated on August 21, 2021. For any questions/feedback,
email me at <a href="mailto:hi@stavros.io">hi@stavros.io</a>.
</p>