LC-EM-1117

From LCWIKI
Jump to: navigation, search

Product Name

SimpleFOCMini DC brushless motor drive board FOC control driver SVPWM control algorithm



About

The LC SimpleFOCMini DC brushless motor driver board uses Texas Instruments' DRV8313 chip. DRV8313 provides three independently controllable half H-bridge drivers, mainly used to drive DC brushless motors. Only the control signal and motor UVM three-phase line need to be connected to control the motor rotation. It supports SPWM and SPVMW control algorithms and does not support traditional 6-step commutation control algorithms. It can be quickly used through Arduino SimpleFOC



View

Front view

LC-Motor-SIMPLEFOC-MINI-03.png

Side view

LC-Motor-SIMPLEFOC-MINI-01.png

Reverse image

LC-Motor-SIMPLEFOC-MINI-02.png


Introduction and Explanation

Board size: 25.8 * 21mm/3g

LC-Motor-SIMPLEFOC-MINI-04.png



Functional Features

  • Input power supply voltage: 8~30V
  • The maximum output current per channel is 2.5A
  • Onboard 3.3V LDO output, maximum current 10mA
  • Input control signal compatible with 3.3V and 5V
  • Support SPWM and SPVMW control algorithms
  • Powerful open-source libraries, quick to get started



Instructions for use

Pin Definition

LC-Motor-SIMPLEFOC-MINI-05.png

Pin Description

Number Pin Description Explanation
1 VCC Input power supply positive terminal Input power supply 8~30V
2 GND Input power negative terminal
3 IN1 Channel 1 Input IN1 is high, M1 is also high, IN1 is low, M1 is also low
4 IN2 Channel 2 Input IN2 is high, M2 is also high, IN2 is low, M2 is also low
5 IN3 Channel 3 input IN3 is high, M3 is also high, IN3 is low, M3 is also low
6 EN Input enable Simultaneously control channel 1, channel 2, and channel 3 enable, input is valid when high level is reached
7 3.3V 3.3V power supply 3.3V power supply output, maximum current 10mA
8 RESET Reset input Reset chip, while prohibiting output, low level is effective
9 SLEEP Low power mode Low power sleep mode, effective at low levels
10 FAULT Fault signal output Output protection signal during overheating and overcurrent, low level effective
11 M1 Output channel 1 Output terminal, following IN1 signal, output amplitude is the power supply voltage value
12 M2 Output channel 2 Output terminal, following IN2 signal, output amplitude is the power supply voltage value
13 M3 Output channel 3 Output terminal, following IN3 signal, output amplitude is the power supply voltage value

The left terminal is for the input signal of the microcontroller, and the right terminal is connected to a 3-phase brushless motor


Control method
Here, the Arduino UNO development board is used for control, connect as shown in the following diagram
LC-Motor-SIMPLEFOC-MINI-06.png

Install SIimple FOC library in Arduino IDE
LC-Motor-SIMPLEFOC-MINI-07.png

Paste the following code in the IDE:
Driver test code
Pay attention to modifying the pin definition to the connection pins of the Simple foc mini driver board and Arduino development board

// BLDCDriver3PWM driver = BLDCDriver3PWM(pwmA, pwmB, pwmC, Enable pin (optional));
BLDCDriver3PWM driver = BLDCDriver3PWM(9, 5, 6, 8);

LC-Motor-SIMPLEFOC-MINI-08.png

Click the upload button to compile and download the program to the Arduino development board Open the serial monitor of the IDE, input T 6.28, and the brushless motor can start rotating
LC-Motor-SIMPLEFOC-MINI-09.png


Appendix

SIMPLEFOC Chinese official:Chapter 1: Homepage (simplefoc.cn)


Download User Manual

For more usage information, please refer toBaidu Netdisk Extraction code: cdq8