Microchip Technology DM164130-7 Data Sheet
F1 LV Evaluation Platform Motor Control Add-Ons
DS41629A-page 32
2012 Microchip Technology Inc.
The stage contains four PWM (A, B, C, D) inputs and two driver outputs (VU and VV)
to be attached to each terminal of the BDC motor (U, V).
The current on the H-bridge is measured on the R15 shunt resistor, placed in-between
the Power Stage lowside and ground, and connected to the PIC16F1947 through the
J1 connector.
to be attached to each terminal of the BDC motor (U, V).
The current on the H-bridge is measured on the R15 shunt resistor, placed in-between
the Power Stage lowside and ground, and connected to the PIC16F1947 through the
J1 connector.
3.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.
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.
3.3.6
UNI/O
®
Memory Chip
The UNI/O
®
memory chip stores the board ID and the application parameters. It is
accessed by the Motor Control GUI at start-up in order to recognize which of the four
boards is attached to the F1 LV Evaluation Platform, thus loading the appropriate
parameters for the add-on used.
boards is attached to the F1 LV Evaluation Platform, thus loading the appropriate
parameters for the add-on used.
3.3.7
Speed Control
Speed control can be performed through either the Motor Control GUI, or the 10K POT
R4 found on the F1 LV Evaluation Board.
R4 found on the F1 LV Evaluation Board.
3.4
DEMO SOFTWARE
3.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 BDC demo.
The BDC demo code is designed to operate a brushed DC motor. All that is needed to
operate a brushed DC motor is a supply voltage, because brushed DC motors self
commutate. The only adjustable parameters for brushed DC motors are the start and
stop thresholds. Voltage is applied to the motor when the speed control is greater than
the Run percent, and is removed when the speed control is less than the Stop percent.
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 BDC demo.
The BDC demo code is designed to operate a brushed DC motor. All that is needed to
operate a brushed DC motor is a supply voltage, because brushed DC motors self
commutate. The only adjustable parameters for brushed DC motors are the start and
stop thresholds. Voltage is applied to the motor when the speed control is greater than
the Run percent, and is removed when the speed control is less than the Stop percent.
3.4.2
The Motor Control GUI Application
Using the Motor Control Application GUI, you can change the following parameters:
• Speed [arbitrary range 0 to 255]
• Run/Stop hysteresis drive voltage [% of full scale]
The demo is designed to operate a brushed DC motor in an Open-Loop mode only.
Also, the motor can be run either forward or reverse.
Voltage control is the most simple control method for DC motors. It is based on a
directly proportional relationship between the applied voltage and speed. Using the
Speed slider in the Motor Control GUI or the POT on the F1 Evaluation Platform to
adjust speed, you actually adjust the amount of voltage applied to the motor.
The Run/Stop hysteresis is configurable through the Run/Stop input boxes in the
Parameters tab of the GUI. The Run percentage is the percentage of full-scale control
input above which the motor will run. The Stop percentage is the percentage of
full-scale control input below which the motor will stop. Separate thresholds allows for
hysteresis in the run control.
• Speed [arbitrary range 0 to 255]
• Run/Stop hysteresis drive voltage [% of full scale]
The demo is designed to operate a brushed DC motor in an Open-Loop mode only.
Also, the motor can be run either forward or reverse.
Voltage control is the most simple control method for DC motors. It is based on a
directly proportional relationship between the applied voltage and speed. Using the
Speed slider in the Motor Control GUI or the POT on the F1 Evaluation Platform to
adjust speed, you actually adjust the amount of voltage applied to the motor.
The Run/Stop hysteresis is configurable through the Run/Stop input boxes in the
Parameters tab of the GUI. The Run percentage is the percentage of full-scale control
input above which the motor will run. The Stop percentage is the percentage of
full-scale control input below which the motor will stop. Separate thresholds allows for
hysteresis in the run control.