Disclaimer: I am not a programmer nor an electrical engineer. My educational background is in mechanical engineering and by day job is enterprise telephony systems.
I think I'm serious about this. I just bought a benchtop oscilloscope to analyze the bike's signaling.
Now on to the show.
First thing first. I reached out to translogic to see if they had any plans to do this work for us. Here is the reply.
If I had to guess why nobody plans to offer it, probably due to lack of clutchplate speed sensor. I admit, it would make the whole thing soooooooo easy. When in the business of making a profit, easy matters a lot.
Goals:
Fallback Goal:
- If I fail to make anything fancy, at least design a simple circuit to blip the throttle when the clutch lever is pulled and the shift strain gauge sees a 'pull' (downshift) signal.
Preliminary research:
What this is NOT / Limitations:
Anyway, that's about it. I'm still figuring out how I want to isolate and connect everything without damaging the original harness. I need to research the various connectors and find more availability for terminations, try to get a sense of how electrically noisy the wire runs are, etc etc. Here's a real quick snapshot of what the circuitry looks like so far. It still needs analog interpolation on GPS and push sensor inputs since all levels must be 3.3V at the controller and 12V at the bike. Probably need to establish voltage across the strain push side but perhaps that will also cone from the existing translogic upshift control in which case I may need to translate that to a 3V3 scale (or it might already be there, which would be nice). The coil input markers are old.
I am wholly open to feedback/criticism/suggestion. Like I said, I am no EE. Pixie wrangling and bit bashing is not my strong suit. I figured I would get this idea out there while it is still developing so I could leverage any wisdom from those more experienced.
I think I'm serious about this. I just bought a benchtop oscilloscope to analyze the bike's signaling.
Now on to the show.
First thing first. I reached out to translogic to see if they had any plans to do this work for us. Here is the reply.
If I had to guess why nobody plans to offer it, probably due to lack of clutchplate speed sensor. I admit, it would make the whole thing soooooooo easy. When in the business of making a profit, easy matters a lot.
Goals:
- Utilize existing translogic shift linkage pull output
- Monitor engine RPM from coils, grip throttle position, and gear selection to calculate new RPM on rising output (for 'pull') from strain gauge
- Base project around Adafruit HUZZAH32 board to allow dual core scheduling of tasks
- Integrate regulated 5v stepdown into 'main' PCB onto which the Huzzah32 can be soldered (so it is easy to build)
- Avoid any signal passthru so a failed MCU will only result in OE function
- 100% reversible
- Open source the whole thing
- Try to design within commonly available components so anybody could order a PCB pre-populated with SMD devices if they so desire.
- Make all code available via arduino sketch so that modification and upload is easy.
- Have adjustable trimpots for sensitivity and blip duration to accommodate different riders.
- Integrate safety bounce monitoring on strain gauge so the bike cannot be accelerated with just a downward press on the shifter.
Fallback Goal:
- If I fail to make anything fancy, at least design a simple circuit to blip the throttle when the clutch lever is pulled and the shift strain gauge sees a 'pull' (downshift) signal.
Preliminary research:
- Throttle grip is listed as a 5.5-Ohm part on the 2021 pure parts fiche.
- Gear position sensor is a 3-wire device, so likely a potentiometer.
- Throttle grip repair cable lists 6 pin and is also listed in S1000RR parts fiche. Cross-referencing throttle sub-harness images on ebay leads me to believe this uses a Bosch DBW 6-pin or 8-pin connector. The connector bears the TE Connectivity logo and part number 0-1718830-1. Searching 1718830 on TE's site just returns "restricted part" so this seems promising.
- Throttle contains a double potentiometer, so two analog outputs and two analog inputs will be required to emulate throttle blip. This is employed as a failsafe/sanity check and has been the same in all BMW RBW/DBW systems.
- Gear position sensor will also require an analog input.
- RPM can be derived from coils OR preferably from output on (ideally) a PWM signal sent to the tachometer cable. This is where the oscilloscope becomes mandatory.
- RTOS (Realtime Operating system/kernel) is available for the ESP32 which would allow one core dedicated to monitoring and one to calculation / execution.
- I am in too deep.
What this is NOT / Limitations:
- This will not replace an existing quick shifter. It may be trivial to add that functionality, but I have no real goal of doing so at this time.
- This will not use the IMU to give you the same functionality of the Aprilia V4 fancy stuff with lean sensitivity. I am not clever enough to do that.
- RPM target point at shift / throttle opening will be based on owners manual published ratios.
- All development will be based on 'Road' ride mode. I cannot override input shaping from the ECU to throttle body and also manipulate the TPS feedback.
- Hard cutoff at 7k RPM.
- I need somebody without heated grips to tell me if they still have 6 wires going to the throttle grip, or if it is just 4.
- I work slow. This whole project is to kill downtime.
Anyway, that's about it. I'm still figuring out how I want to isolate and connect everything without damaging the original harness. I need to research the various connectors and find more availability for terminations, try to get a sense of how electrically noisy the wire runs are, etc etc. Here's a real quick snapshot of what the circuitry looks like so far. It still needs analog interpolation on GPS and push sensor inputs since all levels must be 3.3V at the controller and 12V at the bike. Probably need to establish voltage across the strain push side but perhaps that will also cone from the existing translogic upshift control in which case I may need to translate that to a 3V3 scale (or it might already be there, which would be nice). The coil input markers are old.
I am wholly open to feedback/criticism/suggestion. Like I said, I am no EE. Pixie wrangling and bit bashing is not my strong suit. I figured I would get this idea out there while it is still developing so I could leverage any wisdom from those more experienced.