Motor Control Demo And Support Software; Overview; Motor Control Demos; Hall Sensor Based Bldc Demo - Renesas YMCRPR8C25 User Manual

R8c/tiny bldc motor control evaluation kit
Table of Contents

Advertisement

5.0 Motor Control Demo and Support Software

5.1. Overview

The YMCRPR8C25 kit includes two Motor Control Demonstration Application Projects and several
Sample Code projects. These are all accessible through the HEW project generator when creating new
projects.

5.2. Motor Control Demos

5.2.1. HALL Sensor Based BLDC Demo

The HALL Sensor based motor drive algorithm can be generated and built using the Project Generator
installed during the YMCRPR8C25 Kit installation process. Simply launch HEW and Select YMCRPR825
under Project and on the subsequent screen select Application followed by HALL_APPL. The USER is
referred to the Application note on HALL based motor control included with this kit for further details.
NOTE: This algorithm relies on the HALL sensors built into the motor. Please be sure to check the
jumper settings per table 4.3.1.

5.2.2. BEMF (Sensor-less) BLDC Demo

The BEMF (Sensor-less) motor drive algorithm can be generated and built using the Project Generator
installed during the YMCRPR8C25 Kit installation process. Simply launch HEW and Select YMCRPR825
under Project and on the subsequent screen select Application followed by BEMF_APPL. The USER is
referred to the Application note on BEMF (sensor-less) motor control included with this kit for further
details.
NOTE: This algorithm relies on comparator circuits designed into the board (refer to Appendix B for
details). Please be sure to check the jumper settings per table 4.3.2.

5.3. Sample Code

There are additional pieces of Sample code included with the kit that will help you evaluate different
peripherals within the R8C microcontroller. Simply launch HEW and Select YMCRPR825 under Project
and on the subsequent screen select Sample code followed by sample code for the peripheral you wish
to use.

5.4. Windows GUI YMCRPR8C25 Control Program - LEM

5.4.1. OVERVIEW
In order to facilitate motor control and test, the Kit includes a Graphical User Interface program called
LEM which can start and stop the motor and plot various pieces of information about the motor while it is
running. The plots can include such things as speed, current, IPM temperature, etc...
While you have HEW open and connected to the YMCRPR8C25 board through the E8a, launch the GUI
by simply browsing to C:\Workspace\YMCRPR8C25\Utilites and double click on MCRP GUI
icon
(lem.exe). The GUI will launch and take control from the pot and switches on the PCB.
NOTE: Initial screen will ask you to verify the jumpers for the chosen Algorithm
YMCRPR8C25 User's Manual Rev 1.1
12/ 21
March 2008

Advertisement

Table of Contents
loading

Table of Contents