Foil Drive Max teardown

They run specific core settings and then run a LispBM script to set other special settings on startup.

If you have a 3d printer then use the heated bed to heat the unit. The electronics won’t have an issue at 60 or 70 degrees Celsius. Wear gloves so you can hold the unit.

Be careful when you separate the bottom from top of you don’t want to break things.

2 Likes

Sent you a PM the boost side of things runs in lisp

Thanks so much for responding. I’ve been exploring the idea of replacing the damaged pins to the motor connector without opening the electronic box and if that doesn’t work I will try to open the box using a local heat source and wedging the box open inch by inch with”guitar picks” . Please don’t hesitate to state your opinion on this, since I don’t have any hand on experience on this fix…. It’s great to share ideas with like minded people who also believe that you shouldn’t have give up on what should be a small fix. I still don’t remember hearing about your personal success on your rebuild.

I can heat the oven to 70 degrees Celsius

“Did you mean the glue splits, rather than the blue splits?”

Blue Splints, that slide into the nose cone these need to be removed along with all the screws and clips

All the electronics are fixed to the flat bottom, there is a 3d printed packer/filler in the curved section that the motor connector passes through.

I think you will have a task getting it apart without risking other damage

Can you solder directly to the bit of old pin and make a temporary repair maybe cut up an old motor lead ? and print some kind of cover.

I have also been running a boost script in Lisp. If you are willing to share I am also interested.

I have been using a Vesc Express to connect Claude AI to the WSC, pull logs and do tuning.

I rewrote the boost as the way they control the motor for the inactivity timer only works on BDLC not FOC and then I removed the boost altogether from my systems the Trampa 6HP can give me more than enough power continuously 1575w 42.5A Battery and 100A motor and the thing fly’s.

Ill dig out the code at some point and PM you.

Thanks, that’d be great when you find it. Interesting that theirs leans on the inactivity timer. Mine never touches the motor’s mode or timers, so FOC doesn’t care. Here’s what it does, in case it’s useful to anyone:

  • It measures and budgets. Every 100 ms it reads the motor current and runs a leaky I²t budget above a “continuous” line (110 A on my ESC). Above the line the budget fills with I² − I_cont². Below the line it drains, never slower than a 60 A cruise would drain it, and the budget is capped at 1.5× so a long stall can’t push the recovery out past about a minute.
  • It changes only the motor current limit. It sets l-current-max live with conf-set (not stored). Full boost is 170 A up to 40 % of the budget. The limit then falls along a line to a 113 A floor at 120 %, slewed at 25 A/s so it eases off rather than cutting with you lying on the nose. As the budget drains, it climbs back with hysteresis. One budget is about 8 s at 170 A, 11 s at 150 A or 22 s at 120 A. A normal take-off is 1 to 2 s, so it never touches one that works; it only ends a failed attempt you keep holding.
  • The remote’s gears pick the boost. The VX5’s gears are percentages of the live limit, so Low/Med/High give 120/150/170 A at full trigger, and the steps scale with them. Battery max stays a separate fixed limit in VESC Tool.
  • The budget is in the logs for free. My motor has no temperature sensor, so the script writes the budget in percent as the motor temperature (override-temp-motor) and moves the motor-temp cutoff out of the way. Every VESC Tool or watch log then carries the budget in the temp_motor column. It also sends it on CAN for the box’s LED.

It has a bench mode too: set sim to a current in the REPL, and the tiers run on a desk supply with no motor current.

Why bother? The Takuma runs a small 50 mm inrunner through a 4:1 gearbox, labelled 35 A continuous, with a dead winding sensor, and it needs 150 A+ for the seconds of the hump. The budget stands in for the temperature I can’t measure. I agree with you, though: with a drive that has the headroom, like your 6HP, you just don’t need one. The Takuma’s next ESC is a 75200 on a 65161, and the boost there will be a much gentler retune, if it stays at all.

Happy to share mine. It’s a VESC package (the script plus a small page for setting the levels), so you’d load it from the VESC Packages page, or just paste the .lisp into the Lisp tab.

Mine had a simple timer that triggered >.95 throttle it would boost for 10 seconds the timer replenished at throttle <.90 but at 1 second for 2 if that make sense it controlled the max wattage. It had a pot linked to the gpio’s so you could set the max power level as mentioned used it once or twice and went back to managing it via the finger. I have never had a temp above about 40deg.

I find the lisp a bit backwards.