The full documentation for this project, in PDF format (as submitted at the end of the capstone) is available on GitHub.
The panels were the heart of the entire machine. Here they are laid out on the ground, in all their glory. On the left is the power distrobution panel, the middle is the general-purpose board for analog sensing and connections, and the right is the controller panel.
The main controller was an Arduino Mega, which was chosen for its large number of I/O pins and simplicity. All digital IO within the 5V system is isolated using optocouplers, and all analog IO is isolated using a custom amplifier stack. RJ45 was used to connect all digital systems.
The power distrobution panel includes fused outputs for each discrete 5/12V system on the vehicle. The 9V battery provided a negative rail for the analog stack. The relay pack was to allow the controller to toggle power to the 12V system, and the negative rail to the analog stack. The bottom left is a current shunt, for sensing ambient draw for the entire control system. Bottom right is the 12V->5V buck converter, which powers the Arduino and the display.
The center panel served as both a housing for misc electrical components, and the center connecting point for the other two panels. It had a real-time clock on it, and the stack of OPAMPS used for preprocessing of signals from sensors all over the vehicle, before being sent to the Arduino.
There was a Nextion 3.5" screen at the front of the bike, which was used to display all the information to the rider. It was connected to the Arduino over UART, and was powered by the 5V rail. It was touchscreen using a resistive sensor, and had a custom GUI built for it. There were screens for the main display, the settings, and the faults. The main display had two windows, one was simple with a large font, and one was verbose with a smaller font.
The battery was designed using recycled 4S2P Li-Ion packs from a mall in Toronto. Each pack had an integrated BMS, which were not the best by a long shot, but this machine was built on a budget. Since I only had a 1-6S smart charger, I used relays to change the battery configuration between 4S and 16S.
The bike was built on a budget, so the aesthetics were not the best. It started on a YZ125 frame from the 80s, upon which I mounted custom-made aluminum panels, specifically designed to resemble the Tesla CyberTruck. The panels were cut using a cutoff wheel, and bent using a 50-ton press. The convex insides of the panels were not suitable to mount electronics to, so flat mounting plates were cut to the shape of the panel edges, and TIG welded on. M3 mounting holes were drilled and tapped wherever needed. The sensor mounts were not pretty, as they were all either bolted-on shunts for current, or welded mounts for inductive proximity sensors for speed sensing, but they were all fully functional, which was all that mattered to me at the time.
It does not take much to notice the motor is missing! This was a supplier issue. I ordered a 25kW motor and controller from a supplier in the UK, but they went out of business during the early pandemic before they were able to assemble and ship my motor. Seen near the bottom of the front of the frame is a brushless plane motor and ESC, which was used to demonstrate the functionality of the system. Since logically it is the same as the real motor, it was a drop-in replacement for the real motor for testing purposes. This missing motor was the reason this project was scrapped after I submitted my final capstone report, and rebuilt the whole system into an electric longboard!
Project link: https://github.com/colefuerth/ElectricMotorcycle