Microchip Technology DM164130-2 Data Sheet

Page of 60
F1 LV Evaluation Platform Motor Control Add-ons 
DS41629A-page 24
 2012 Microchip Technology Inc.
Motor current is measured by using the R15 shunt resistor, placed in-between the 
Power Stage lowside and ground, and connected to the PIC16F1947 through the J1 
connector. (Current sensing is not implemented in the F1 LV Evaluation software.)
2.3.5
Protection
Two 5A fuses (F1 and F2) are used to protect your add-on in case of an overcurrent 
situation in the output drivers. In case one or both of them get burnt, remove power 
immediately from the board and inspect the add-on for further damage. Do not replace 
the burnt fuses with other values than the ones provided with the board.
2.3.6
Speed Control
Speed control can be performed through either the Motor Control GUI or the 10K POT 
R4 located on the F1 LV Evaluation Platform. 
2.4
DEMO SOFTWARE
2.4.1
Introduction
The F1 LV Evaluation demonstration program uses a single combined demo. The 
combined demo source code is organized into sectional code for ease of 
accommodating several motor types. This chapter provides an overview to the 
functions provided by the BLDC demo.
The BLDC demo code is designed to operate a sensorless BLDC control. The software 
can be easily tuned to the needs of your application or motor by changing the 
parameters on-the-fly, by modifying the motor parameters in the F1LVDemo GUI.
2.4.2
The Motor Control GUI Application
Using the Motor Control Application GUI, you can change the following parameters:
• Motor poles number
• Speed [arbitrary range 0 to 255]
• The timing balance between zero-cross and commutation periods [degrees]
• Phase advance [degrees]
• Start-up speed [arbitrary range 0 to 255]
• Drive voltage [% of full scale]
• The minimum blanking period [us]
• Dwell timings: closed-loop slow stepping [ms] and open loop [ms]
• Run/stop hysteresis drive voltage [% of full scale]
• Minimum motor stalling period [us]
• Error scaling factor [divisor power of 2].
Also, the motor can be run in open/closed loop and forward/reverse.
Clicking on the ‘RPM’ text in the Operate tab will display the motor speed in the text 
box next to it.