
Brushless motor controller (BLDC) purchased for the cheapest test. It is called Universal, universal, for the ability to work at different voltages, both with and without Hall sensors, automatically determine the phase and phase angle, learn and memorize the direction of rotation, and everything is possible in the field, it is enough to close two wiring. The controller is often positioned as a repair, they are replaced with a regular one in the event of a Hall sensor failure, if there are reasons to refrain from replacing them. The power rating of this variant is 350 W, but 18 amps at 48 volts DC is almost a kilowatt. If the controller does not like or spoil, I will redo it or even develop my own, but, looking ahead, I will say that the first trips are very pleased. It seems that the controller is necessary.
According to the good tradition of electric transport lovers, I will share the data in my specimen. Bracket bent on the mail, it's not scary. The presence of debris inside the block in the form of a couple of solder pieces is more serious, but we are craftsmen, so we’ll examine the device before we try it on, remove the debris, eliminate the seals and short-circuits if it is detected. I did not have them.

The sticker on the case-radiator reads as follows.
Brushless electric universal controller
voltage: 36V-48V power: 350w
Under voltage: 31V-41V
The phase Angle: 60 ° / 120 °
The controller has the following conclusions.
White connector - to the traction battery and anti-theft lock or switch.
Black thick wire - battery minus, power ground.
Red thick - plus batteries, power supply.
Red thin - VCCO - plus batteries through the lock (if available), power to the electronics.
The red connector is for charging.
Red - plus batteries, parallel to the red one.
Black - minus battery weight.
White connector - to the accelerator handle.
Black is mass.
Red - + 4.3V.
Green - analog input from the Hall sensor accelerator handle.
Black plug dad
White - weight
Black jack mom
White - XX - turns on self-learning mode when short to ground before turning on the power.
White connector - to the brake levers, with a short to ground (bicycle wiring option).
Orange - Brake LOW, discrete input, pulled through a resistor at + 5V.
Black is mass.
White connector - to the brake levers, in the case of the scooter wiring option.
Purple - Brake HI - is connected to the plus wire of the brake light, through the microswitches of the brake handles going to the battery plus.
In an electric bike, only one of these signals can be used, either Brake LOW or Brake HI.
Red connector - gearshift.
Blue - LO - includes the minimum speed when short to ground.
Black is mass.
Yellow - HI - includes the maximum speed when short to ground.
When the connector is not connected or the middle position of the switch, when LO and HI are disconnected from the ground, the average speed is enabled.
Green connector - to the speedometer.
Purple - SD1 - output from the phase winding of the motor and power switches. You can generate pulses and read them in a digital way, or you can convert the frequency into voltage by analogue. Of course, this will work only for a gearless motor.
Red connector - to the bike computer or anti-theft alarm.
Orange - VCCO - low current plus batteries.
Green - SD2 - parallel to SD1, output from the same phase.
Blue - output board called FD.
Black connector - to the PAS system pedal rotation sensor - pedal assistance.
Black is mass.
Red - + 4.3V.
Yellow - 1: 1.
There are, of course, three thick wires of the phases of the engine and a five-contact connector to the Hall sensors.
The card is marked VP350_G_V3.5.4. The power switches are S68N08R, these are N-channel MOSFET 68B, 80A, 6.5mΩ. There are unused pads, of which the following are interesting.
JTAG ICE - microcontroller in-circuit programming connector.
+ 5V - powered by the programmer with firmware.
SCK - external clocking.
SDA - data bus.
the unsigned point is earth.
EBS1 - as I understand it, a discrete input for the recovery function.
Also on the board there are unsealed jumpers marked 60V and EBS. Their purpose is obvious - switching the controller to a 60-volt battery and allowing regenerative braking. So, for just a thousand rubles, we have a very flexible and full-featured Infineon controller family.
