Skip to content
Charlie Solanki.
← All projectsEngineering & Electronics

PRJ / ELECTRIC-BICYCLE-ENGINEERING

Electric Bicycle Engineering

I built and modified a 48 V electric bicycle with a 1000 W rear hub motor, then investigated cable damage, controller errors and internal wiring on a separate hub motor.

Electrical system
48 V
Motor
1000 W rear hub
Battery
48 V 20 Ah
SIMPLIFIED SCHEMATIC — REPRESENTATIVE LAYOUT, NOT TO SCALE

Select a component to read what it does — or watch the assembly separate with replay.

The completed bicycle with its rear hub-motor wheel fitted
The completed bicycle with its rear hub-motor wheel fitted

01 THE PROJECT

Engineering an electric drive system

I built an electric bicycle around a 48 V system, with a 1000 W rear hub motor and a 48 V 20 Ah battery protected by a 40 A BMS. That meant wiring up the electrical components, fitting the motor wheel and modifying the bike to suit the drive system.

Separately, I worked on a Varstrom 48 V 1000 W direct-drive motor. That took me from a damaged cable and controller errors to the Hall-sensor wiring, and eventually inside the motor itself.

ELECTRICAL SYSTEM
48 V
REAR HUB MOTOR
1000 W
BATTERY
48 V 20 Ah
BMS
40 A

02 FUNCTIONAL ARCHITECTURE

The system behind the build

The 48 V battery feeds the controller, which switches current through the hub motor's phase windings to turn the rear wheel. The BMS looks after the battery pack, and Hall sensors tell the controller where the rotor is so it can time that switching.

I worked on all of these connections while building the bike and tracing faults. A problem that shows up at the wheel doesn't always start there — it could be the power path, the sensor wiring or the installation.

FUNCTIONAL SCHEMATIC — NOT A WIRING DIAGRAM
48 V DC supplyPhase connectionsHall-sensor position feedbackTorque through the hub shellBMS01 Battery + BMS02 Controller03 Hub motor04 Rear wheel

SELECT A COMPONENT OR PLAY THE SEQUENCE · CONCEPTUAL DEMONSTRATION, NOT ELECTRICAL TIMING

01Battery and BMS

I used a 48 V 20 Ah battery with a 40 A BMS. The battery supplies the controller, and the BMS monitors and protects the pack. The 40 A figure is a battery-side rating — it's separate from the motor's 1000 W power rating.

02Motor controller

The controller takes DC from the battery and switches it through the motor's phase windings. In sensored mode it uses rotor-position feedback to get the timing right. When I was tracing faults, I checked its connections alongside the motor wiring.

03Rear hub motor

The 1000 W motor sits at the centre of the rear wheel. The axle stays fixed in the frame while the hub shell turns with the wheel, so fitting it meant sorting out the wiring and the mechanical mounting together.

02 · 03Phase wiring

The phase conductors carry current from the controller to the motor windings — this is what actually produces torque. A damaged conductor can cut the motor's power, so I traced this path when I found the cable damage.

03 · 02Hall-sensor connections

Hall-sensor signals give a sensored controller rotor-position feedback for commutation. During the separate motor investigation, I found a disconnected white wire associated with the Hall-sensor loom and examined the wiring path inside the motor.

03 · 04Mechanical integration

I fitted the rear hub-motor wheel and modified the bike around the drive system. Working on the motor wasn't only electrical: I also had to deal with the fixed axle, the cable routing and getting access to the parts inside.

03 COMPONENT-LEVEL INSPECTION

Beneath the housing

I opened the separate hub motor with a three-jaw puller so I could look at the components directly. Taking off the side cover exposed the stator, copper windings, axle and internal wiring.

Opening the motor let me follow the wiring inside the housing and inspect components I couldn't access before.

Hub motor opened for inspection, with one side cover removed
Hub motor opened for inspection, with one side cover removed

04 FAULT INVESTIGATION

When the system doesn’t work

This is the separate Varstrom 48 V 1000 W direct-drive motor. I started with a damaged cable and controller errors, worked through the Hall-sensor wiring, and then opened the housing to look inside.

INVESTIGATION 01 · OBSERVATION

Motor cable damage

The motor cable was damaged and sheared through. The damaged cable was one of the first things I looked into, particularly the phase and Hall-sensor connections running through it between the controller and the motor.

48 V DC supplyPhase connectionsHall-sensor position feedbackTorque through the hub shellBMS01 Battery + BMS02 Controller03 Hub motor04 Rear wheel

The Varstrom investigation covered cable damage, controller errors 30 and 8, Hall-sensor wiring and internal inspection.

05 ENGINEERING DIFFICULTIES

The challenges behind the build

Some problems couldn't be investigated through the wiring alone. I had to open the motor to inspect what was happening inside, which meant switching between electrical diagnosis and mechanical work.

CHALLENGE 01

Electrical fault isolation

The controller, phase wires and sensor wiring all meet at the motor, so a fault could sit in several places. I traced the damaged cable and checked the Hall-sensor wiring rather than assuming the problem was inside the motor.

48 V DC supplyPhase connectionsHall-sensor position feedbackTorque through the hub shellBMS01 Battery + BMS02 Controller03 Hub motor04 Rear wheel

06 OUTCOME AND REFLECTION

What the project taught me

Building the bike taught me how to put together a 48 V drive system and adapt a bicycle around a rear hub motor. The separate motor investigation went further, into phase wiring, Hall-sensor feedback and how a direct-drive hub is built.

I now understand how the controller, wiring and motor work together — not just in theory, but from assembling the bike and opening a motor myself.

Motor internals exposed during component-level inspection
Motor internals exposed during component-level inspection
BUILT / COMPLETED
The electric bicycle: a 48 V drive system with a 1000 W rear hub motor, a 48 V 20 Ah battery and a 40 A BMS, plus the mechanical modifications to fit it all.
INVESTIGATED
A separate Varstrom 48 V 1000 W direct-drive motor: a damaged cable, controller errors 30 and 8, Hall-sensor wiring, and opening it up with a three-jaw puller.