The high-performance motor drive chip incorporates ME core and 8051 core. ME core implements motor control in real time. 8051 core is used for parameter configuration and routine processing. Most of 8051 core instruction cycle takes 1T or 2T clock cycle(s). The dual cores work in parallel to achieve high-performance motor control. The chip integrates high-speed operational amplifiers, comparators, dual high-speed ADC, multiplier/divider, CRC, SPI, I2C, UART, multi-Timers, PWM modules and built-in high-voltage LDO, which are suitable for square-wave based BLDC/PMSM motors, SVPWM/SPWM, and FOC drive control.
The difference of FU6812 see Driver, as the FU6812 provides Gate Driver output.
FU6812 includes FU6812L(LQFP48), FU6812N(QFN32), FU6812S(SSOP24), and FU6812P(LQFP32)
FU6812 Features:
FU6812L:
High-voltage single-power supply mode (VCC_MODE=0). VCC= 5~24V
Dual-power supply mode (VCC_MODE=1), VCC≥VDD5. VCC= 5~36V, VDD5=5V
Low-voltage single-power supply mode (VCC_MODE=1). VCC=VDD5= 3~5.5V
FU6812N/S/P:
High-voltage single-power supply mode: VCC= 5~24V
Low-voltage single-power supply mode: VCC=VDD5= 3~5.5V
Dual core: 8051 core and ME core. ME core achieves automatic calculation of FOC or square-wave control for BLDC motors, and 8051 core is used for parameter configuration and routine processing
An instruction cycle mostly takes 1T or 2T clock cycle(s)
16kB Flash ROM with CRC, self-program and code protection
256 bytes IRAM and 768 bytes XRAM
ME: Core integrating LPF module, PI regulator, BLDC module and FOC module
1T 16x16 multiplier, 16T 32/16divider
15 interrupt sources with 4 configurable priority levels
Number of GPIOs:
FU6812L: 34
FU6812N: 20
FU6812S: 12
FU6812P: 21
2*Programmable timers with capture feature
1*QEP decoding programmable timer
1*BLDC motor dedicated timer
1*General-purpose timer
12-bit ADC, operating with 0.9μs conversion time and internal VREF or external VREF selectable as reference voltage
Number of ADC channels:
FU6812L: 12
FU6812N: 7
FU6812S: 5
FU6812P: 9
Internal VREF. 3V, 4V, 4.5V and VDD5(FU6812N/S/P) can be selected as the internal reference
Internal VHALF, with 1/2 VREF as the internal reference(FU6812L/N/P)
3*Standalone operational amplifiers (FU6812N/S: 1*standalone operational amplifier)
3-channel analog comparator
8-bit DAC
Gate Driver output (FU6812L/N/S/P)
Automatic commutation, cycle-by-cycle current limiting and Hall/BEMF-based position sensing for BLDC motor control
FOC module supports single/dual/triple-shunt current sampling (For FU6812N/S, FOC module supports single-shunt current sampling)
FOC module supports overmodulation
System clock
Built-in 24MHz ± 2% precision clock

Figure 1-1 FU6812L Functional Block Diagram
FU6812 FOC application features:
FOC solidification and fast operation:Sensorless control method is applied, where all computations for FOC are hardware-implemented, saving software runtime. With a maximum PWM frequency of 50 kHz, it can be applied to ultra-high-speed motors (>120000RPM);
High control accuracy and efficiency: Q15 fixed-point format is applied, the electrical angle 360° expanded to 2^15, the angular resolution reaching 0.01° can realize high accuracy control to the motor; the upgraded position estimation algorithm can realize high efficiency control;
Low noise: FOC algorithm accurately controls drive current waveform as smooth sinusoidal waveform reduces torque impulse and also implements ultra-mute operation;
Smooth and fast startup: This solution ensures startup reliability and stability via load torque varying adjusting startup torque and mode; Startup time is 50% shorter than that of normal startup mode.
Simple hardware circuit: The chip integrates high-speed operational amplifier, high-voltage LDO, and minimal peripheral circuitry to lower the product cost and improve the reliability of the system.
FOC applications:
To facilitate customer development, Fortior Technology has developed a sample program for sensored startup FOC drive based on FU6812, which features the following characteristics:
1. Startup Control
(1) Detect motor initial state and realize dynamic startup (including tailwind and headwind startup protection)
(2) Detecting changes in load torque to adjust the starting torque enhances startup reliability
(3) You can choose either square wave or sine wave startup as needed.
(4) Set the largest startup current
2. Angle Control
(1) The angle offset can be set to accommodate various Hall sensor installation positions on the motor and to correct Hall installation deviations, thereby improving motor efficiency
(2) The angle can be compensated based on the motor speed to enhance the operational efficiency of the motor at various working points
3. Control Mode
(1) The current closed-loop serves as the inner loop, while various control options such as constant airflow control, constant torque control, constant speed control, and constant power control can be selected as the outer loop.
(2) Speed regulation interface: SREF/PWM/IR/UART
4. State Display
LED indicates the system's operational status (Normal/Fault).
5. Protection Control
The system includes comprehensive internal protections, allowing you to enable the corresponding protections as needed and fine-tune them based on actual conditions.
(1) Over-voltage protection: The over-voltage protection is triggered when the voltage is higher than the over-voltage threshold and the system restarts when the voltage is lower than the restore threshold
(2) Under-voltage protection: The under-voltage protection is triggered when the voltage is lower than the under-voltage threshold and the system restarts when the voltage is higher than the restore threshold
(3) Over-current protection: The over-current protection is triggered when the current is higher than the over-current threshold
(4) FO protection: The hardware over-current protection is impulsed by large current and the system will not restart
(5) Motor lock protection: The system allows for the configuration of motor lock restart time and the number of motor lock restart attempts
(6) Phase-loss protection: In the event of poor motor wire contact, the system can implement phase-loss protection, with restart time and the number of attempts being configurable
6. User Interface
The system includes a variety of user interface options, allowing you to enable the corresponding interfaces as needed to meet control requirements.
(1) Key interface: Define key interface and provide Key command. You can define Key command, like ONOFF control command, FR control command, and speed up and down command
(2) SREF interface: Provide potentiometer value for ADC sampling and give SREF commands. You can define SREF command, like closed-loop Speed reference value
(3) PWM interface: Capture PWM signal, gain PWMDuty, and give PWM command. You can define PWM command, like closed-loop Speed reference value
(4) IR interface: Define infrared interface. Provide IR command after receiving infrared data, like ONOFF control command, FR control command, closed-loop Speed reference value
(5) UART interface: Provide UART command after receiving UART data. You can define UART command, like ONOFF control command, FR control command, closed-loop Speed reference value
(6) Buzzer interface: Define buzzer interface. Realize alarm or warning after receiving control command from Buzzer. You can define Buzzer command, like key warning control, gear tone control
7. Debugging Interface
Under the default functional settings, the program provides the Customer.h document as your debugging interface. You shall only modify the corresponding parameters to achieve general motor control functions.