background image

 

Quick Startup Guide 

 
 
 
 
 
 
 
 
 
 

Low-Voltage Starter Kit 

 

For Motor Control 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Document No. UxxxxxEU1V0UM00 

©

2006 April. NEC Electronics America, Inc.  

All rights reserved. 
 

Summary of Contents for EU1V0UM00

Page 1: ...Quick Startup Guide Low Voltage Starter Kit For Motor Control Document No UxxxxxEU1V0UM00 2006 April NEC Electronics America Inc All rights reserved ...

Page 2: ...reof cannot be eliminated entirely To minimize risks of damage to property or injury including death to persons arising from defects in NEC Electronics products customers must incorporate sufficient safety measures in their design such as redundancy fire containment and anti failure features NEC Electronics products are classified into the following three quality grades Standard Special and Specif...

Page 3: ...Motor Control I O Board User s Manual iii ...

Page 4: ...Motor Control I O Board User s Manual iv Revision History Date Revision Section Description 04 2006 First release ...

Page 5: ...n 1 2 Kit Contents 1 3 Hardware Setup 2 4 Standalone Operation 4 5 Drive and Motor Protection 4 6 Software Setup 5 7 Software Installation 5 8 Using the NEC Electronics C Compiler and Source Code Debugger 6 9 Download and Debug the Code 10 10 GUI Operation 12 v ...

Page 6: ......

Page 7: ...tarter Kit 2 Kit Contents MC 78F0714 micro board containing the µPD78F0714 microcontroller MC I O board that interfaces between the micro board and the power module Low voltage power module MC PWR LV containing the power MOSFETs Pittman N2311 12V BLDC motor FW7362 15 DC power supply PC serial cable DB 9F to DB 9F null modem crossover cable Sample software for a BLDC Hall 714 LV 120 degree trapezoi...

Page 8: ... connect the phase U V and W terminals to the J3 connector block on the MC PWR LV power board and the Hall sensor terminals to the J5 connector block on the MC IO control board Table 1 Motor Connections Pittman N2311 Motor Terminals MC IO MV PWR LV Phase U Beige J3 1 Phase V Red J3 2 Phase W Orange J3 3 Hall sensor 1 Gray J5 13 Hall sensor 2 Blue J5 14 Hall sensor 3 White J5 7 Hall sensor 5VDC Pur...

Page 9: ...r the motor is connected the program is ready to run the motor as soon as the 15VDC power supply is plugged into J6 of the MC IO board and power switch SW1 on the MC PWR LV power module is turned ON When the kit is powered up or reset the LED displays SELF indicating that the kit is in standalone mode and you can use the pushbuttons and potentiometer on the MC IO board to control the motor 3 ...

Page 10: ... LED to display the actual motor speed calculated from the Hall sensor interrupts 4 Press the FORWARD or REVERSE button to change the rotation direction 5 Press the MODE button to display the set speed 6 Press START STOP to stop the motor Note If the potentiometer position is set to higher speeds and the motor rotation is suddenly reversed an error condition may occur due to a timeout or over curr...

Page 11: ...ment the user manuals and electrical schematics for all hardware module components and the entire sample project program for the NEC Electronics 78K0 firmware based development tools environment The software sample code is supplied in source format and can be modified as needed The following sections describe NEC Electronics America s development tools environment how to install it on your compute...

Page 12: ...recommended sequence NEC Electronics C compiler and assembler software MC LVKIT 714 software Figure 8 Software Installation Window 8 Using the NEC Electronics C Compiler and Source Code Debugger To set up the MC LVKIT 714 starter kit for debugging follow the steps below 1 Disconnect the M 78F0714 micro board by separating it from the MC IO board 6 ...

Page 13: ...Motor Control I O Board User s Manual 2 Remove jumpers JP5 2 5 JP5 3 6 and 2JP7 1 2 and reconnect M 78F0714 to MC IO board 7 ...

Page 14: ...ard User s Manual Figure 9 Jumpers for Standalone Operation Figure 10 Debugging Setup 3 Attach the on chip debugging emulator s target connector to 2JP7 on the M 78F0714 and the USB cable to your computer as shown bellow 8 ...

Page 15: ...al oscillator The sample program BLDC Hall 714 LV 120 degree Trapezoidal Drive is installed in step b of the Install Software section in Motor_Control BLDC_Hall_714 folder The sample code includes a workspace and project files used with Project Manager Plus which is NEC Electronics integrated development environment software To recompile and debug the sample program follow the steps below 1 Run PM...

Page 16: ... as shown below Figure 13 PM Plus Window 7 To recompile the code click Build and select Rebuild 8 At this point you may change the code and recompile as needed 9 After building the code successfully you may download and run or debug the code using an on chip debugging emulator 9 Download and Debug the Code 1 To debug the code select Debug from Build menu or click the Debug button on the tool bar B...

Page 17: ...w as shown below Figure 14 Source Code in Debugging Window 2 Use the RUN command to execute code in debugging mode At this point the motor can be controlled from the user interface in standalone mode or GUI mode 3 Stop execution using the STOP button 4 For details on how to use the debugger consult the ID78K0 QB User s Manual 11 ...

Page 18: ...iler Options for PC GUI Operation Rebuild and download the code to the microcontroller flash At this point the motor can be controlled from the GUI only Connect the PC serial port to the starter kit J9 DB 9 RS232 connector with the serial cable supplied and launch the communication program Motor Panel click Start Programs NEC Tools32 Motor Panel GUI 1 Select the appropriate COM port your PC and cl...

Page 19: ...n the tuning key symbol Figure 18 Launching PID Parameter Window The tuning window will allow the changing of P I or D constants Figure 19 PID Parameter Window The new parameter values will be updated in the internal RAM when the motor is restarted again To make the changes permanent the user has to update define values in on KP_DEF KI_DEF and KD_DEF in control h header file and rebuild the code 1...

Reviews: