Ok here it is with the latest updates. I embellished the part where the throttle and pitch
curves are modified. Check it out. I never actually tried the governor mode.
If this is good enough, what do we do now to share it with others?
Thanks,
John
Setup:
Assemble Quadcopter
remove gyro if installed
Connect receiver to servos
Note: It is recommended that the motor is not attached mechanically to
the helicopter during setup to avoid an unexpected rotor spin up
********************
Spektrum dx6i transmitter setup:
New model: Helicopter
d/r expo 0 100% inh
1 100% inh
Travel adj : 100%
1 Throttle
2 elevator
3 aileron
4 rudder
5 Gear - used for fmode
6 Flap - used as collective
sub trim: 0
Gyro: inh
Throttle curve =default (all 1 to 100 except throttlehold=0)
Pitch curve = default (all 1 to 100)
SwashMix inh
mix1=inh
mix2=inh
revo mix:0
reverse=set directions as desired
swashtype:90
Throttle cut =inh
d/r combo=inh
bind tx to rx
center servos
turn off tx
*********************
mechanically Center swashplate
After Servos were set at midpoint using tx
Swashplate at mid point
connect servo arms close to horizontal (Adjust control rod lengths if necessary)
**********************
disconnect servos from receiver
connect cc3d flight controller
************************
ESC setup:(use instructions beeps, or esc programmer) blades removed
brake:on
Battery type: lipo
CutoffType: cut off
Cutoff voltage : middle
Startmode:soft
Timing mode : low
Governormode: on
************************
Librepilot setup
connect to computer usb and mainport
Upgrade firmware (erase all setting)
select pwm or what applies to your setup
cancel wizard
lp:configuration-Vehicle
select helicopter
lp:configuration-Vehicle - basic settings:
SwashplateConfig: ccpm 3 servo 120
servow ch1, servox ch2, servoy ch3, tail ch4, engine ch5
swashplate w=180 x=300 y=60
collective Pass throught checked
Collective, Pitch, Roll Slide bars all set at initally at 50%
level flight controller
lp:configuation-Attitude: see
https://librepilot.atlassian.net/wiki/display/LPDOC/CC+Attitude+ConfigurationTurn on Tx and battery to Helicopter
lp:configuration-Input
set channels 1,2,3,4,5,6
Manual Calibration (move slowly)
lp:configuration-Ouput
Check directions of all servos
Reverse if needed so swashplate moves in desired directions
Setting swashplate travel as collective
(use lp:configuration-Ouput not lp:configuration-Vehicle-Swashplate Leveling)
set min and max (narrower than values from lp:configuration-Input to allow cyclic travel at min and max)
recommend -150 for each (eg if you have 950 - 1900 use 800 - 1750)
use slider bar on Config-output to set mid points
test min, mid and max using pitch gauge
adjust values here for collective pitch control +- 12 Degrees
increase/decrease min and max values to get +-12degrees
adjust mid to get 0 degrees at half throttle
Note: if a change is made on Config-vehicle (select ccpm3servo 140),
then select ccpm3 servo 120
Save (bug in program is corrected with this process)
To adjust for cyclic blade pitch of +-7 degrees:
use the Pitch slidebar on config - vehicle-BasicSettings
Start at 50% and increase for wider spread, decrease for smaller spread
Note: Values above 90 and below 10 seem non linear.
Repeat process with Roll slidebar for roll +- 7 degrees
*******************
Manually hold helicopter and rotate helicopter in each direction to varify that
the rudder and swashplate are moving in the direction to bring the helicopter back
to its original position.
Note: This may be hard to detect if in Config-Stabilization-Basic-Responsiveness- Rate and RateYaw:
#1 are set to the default 220. Change these to a livelier 540 degrees per second and you will
see movement from cyclics better.
#2 sometimes the movement is so fast that you can't be sure. To be sure you can put
your finger between the gear and the the lever to feel the servo. That can be
better than seeing it move.
*******************
Config-Input-ArmingSettings: recommend set arming Yaw Right
*******************
Go to your tx and modify the throttle and pitch curves
Suggested curves:
Throttle
Normal mode: 0 40 70 90 100
Idle Up (stunt): 100 90 80 90 100
Pitch
Normal mode: 48 49 50 75 100
Idle Up (stunt): 0 25 50 75 100
Using Governor
throttle curves:
Normal mode: 0 40 70 75 75
Idle Up (stunt): 75 75 75 75 75
See video:
*******************
Mount the motor if it was removed during setup
*******************
Set PID Values:
Config-Stabilization-Advanced- Rate stabilization (inner loop)
Suggested initial values:
p= roll=0.002 Pitch=0.0045 Yaw= .005
i= 0, 0, 0
d= 0, 0, 0
Proceedure:
1) increase values of p in roll until high frequency oscillation occurs then back off some
Repeat for pitch (P Determines the amount of control by the human)
2) Increase I until low frequency oscillation and then back off for pitch and roll
If I is correct helicopter should stay in tilled position with the joystick
(influences the percision of the angular position)
3) D is a damening term which reduces over-correction caused by P