V-22 Osprey 2025 Update
It's hard to believe that this project is already 6 years old. I never thought in 2019 that I would still be pursuing this idea of making my own V-22 RC model.
It hasn't been 6 years of continuous work, that's for sure. I seem to move in fits and starts, making progress here and there, getting frustrated and putting it away for months at a time before diving in again.
This is a list of challenges I'm having:
- Poor quality of IMU chips
- Improper PID tuning leading to stability issues
- Near overload of rotor motors
Poor quality of IMU chips
The dRhemFlight VTOL project leverages inexpensive MPU-6050 6-DOF sensors. While inexpensive, recent batches of these chips have been unreliable. A previous unit in the Osprey decided it no longer wanted to interface regularly with the Teensy microcontroller via I2C. Another one in my F-35 VTOL (another Nick Rehm design) would occasionally "lock out" and return bad data, causing a crash. After these two recent failures, I'm investigating other alternatives.
I purchased a couple of LSM6DSOX boards from Adafruit and worked to integrate them into dRhemFlight. I've worked out the code to the best of my ability, and it does seem to be working. I've been able to hover the V-22 in my yard with some success.
Ports of dRhemFlight to other platforms, like the ESP32, are in the works by other folks, and that might also affect this project.
Improper PID Tuning
Nick developed dRhemFlight initially for multirotors and other fixed-wing style aircraft. To my knowledge, I'm the only one who has tried to implement it in a rotorcraft. It's been difficult to determine what the correct throws should be on the cyclic servos to have a good control response. The dRhemFlight code doesn't do a great job of mapping the relationship between max angle or rate, the P term of the PID controller, and the actual servo response. Add in the input from the pilot on the PWM line, and it compounds the issue.
I think previous stability problems were due to not understanding this relationship. I've toned down the roll/pitch/yaw throws by reducing the max rate, but I have to increase the P term to compensate for a larger control response. There's no particular guidance on what the PID terms should be -- they are just numbers in the code. Is 0.5 good? Is 0.75 too much? It's all a bit overwhelming. Thanks to the plethora of channels available on SBUS (16 channels), I mapped 6 of those channels to adjustments in my radio, and I can adjust the PID values for 2 directions at a time live without having to plug in a computer.
I have had some recent "successes" of hovering around the yard for a few seconds at a time. I am seeing better stability overall with the changes I've made this year.
Near overload of rotor motors
In previous iterations, I was using the stock motors from the KDS Innova 450 helicopters. These are 2838-sized motors at 3650KV on 3S batteries. The default configuration is a 2-blade setup, but I'd really prefer a 3-blade rotor to be more scale. Even with a smaller pinion gear to increase the gear ratio, the motors were running too hot for my liking. I decided to try switching to a 6S setup. I made a new series battery connector to use instead of the parallel system I had originally. I had been doubling up 2x 3300mAh 3S packs, and this new one puts them in series for a 3300mAh 6S system. The new motors are 2520-1900KV motors. The increased diameter meant I had to redesign the rotor side plates a little bit, but the change was fairly straightforward. However, during the recent hover tests, I've noticed these motors are also getting a bit too hot for my liking.
So what now? I'm going to proceed further and see if I can get the PID tuning dialed in better for hover. I have also seen some nasty vibrations, and I wonder if they are from the long drive shaft. I have some additional bearings I can add to support the drive shaft better. It means dismantling the rotors, but it should offer some support. Hopefully, I can remember to update my progress more often!
Until next time...
Comments
Post a Comment