Home

E-Bike Reference Platform ( R8C/11) User`s Manual

image

Contents

1. 017 5551 Q23 Qu RA 5401 Di o Poll 100 2 R4 RS 103 J P no gt a Tn 1 Res k lt MOSFET N Ze 2 222 151 t io motor 272 Ex M74HCI IMIR n QS R13 M Z MOSFET N Res2 yi UIB 103 Pol 3 100uF 63v 4 6 zz S m a Q6 _ 23 M74HCIIMIR C O ei o Cap Poll 4 he 555 100pF Es E 222 L Q8 21 MOSFET N 24 es2 4148 e 222 to motor x Uic Qo 1 I E 1 8 sem 103 TIN Ds Q10 28 M74HCIIMIR W 4 I MOSEET N Res2 Res2 103 sil 14007 cn Cap Poll x So 100pF six PWM signals id Q13 T 36 MOSFET N es2 4148 i x 2 4 motor Qu 1 5 103 Ios 43 MOSFET N Res2 103 sample R51 Res3 RSSZEUMO001 0100 Rev 1 00 434 N SAS R8C 11 Group E Bike Reference Platform 5 0 Control of E bike Brushless DC Motor 5 1 Hardware configuration 1 The Hardware configuration is show in Figure 3 1 2 The R8C 11 group detects hall sensoe signals that indicate the positions of the rotor s magnetic poles and operates th
2. NEC 2010 4 1 http www renesas com 2010 4 1 CORT Sib EJ AT http www renesas com http www renesas com inquiry lt ENESAS 8 10 11 12 Notice All information included in this document is current as of the date this document is Issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical informatio
3. Sensor state New Sensor Statre Current Detect Current gt Current_Set Set 100 Duty PWM No RSSZEUMO0001 0100 Rev 1 00 27 E Bike Reference Platform 12 N ESAS R8C 11 Group 7 7 Short detection input INO interrupt routine INTO P45 falling edge _PWM_StopQ Motor_mode ERR_mode RSSZEUMO0001 0100 Rev 1 00 28 E Bike Reference Platform a lt EN ESAS R8C 11 Group 7 8 Over current detection input IN3 interrupt routine INTO P3 3 falling edge _PWM_Stop0 Motor mode ERR mode RSSZEUM0001 0100 1 00 29 Z INI ESAS R8C 11 Group E Bike Reference Platform 8 Using ES Emulator for Debugging In this section it demonstrates how to use the power meter platform and how to use the E8 Emulator for debugging Please follow these steps 1 Bring out R8C 11E bike reference platform 2 Connect E8 to the platform 3 Provide power supply to the platform 4 Copy the sample software from the CD ROM to your PC 5 Open HEW the following picture appears Felcone Options E Create a new project works Cancel ministration WorkSpace E bike Ebike hws a C Browse to another project work RSSZEUMO0001 0100 Rev 1 00 30 a lt EN ESAS R8C 11 Group E Bike Reference Platform 6 Choose the sample project elcomel Options ge Create new project works DE Cancel Open a recent project wo
4. Reference Manual Specification Demonstration board schematic Description of each hardware functions Material list Description of each software module in the software package 2 System Requirements 36V DC power supply Emulator E8 HEW installed in PC Compiler Package NC30WA V 5 40 RSSZEUMO001 0100 1 00 3 Z N ESAS R8C 11 Group E Bike Reference Platform 3 Block Diagram The following diagram describes the system blocks and the figure shows the system components they help you have a general concept of this application Odegree 6ch PWM m I Use onchip A D Voltage Sensor oscilator 8MHZ Voltage Conversion Current sensor TEE FE VIL TR Less LER Ba S logic IC is KP Ole ite oo i x 39 1242521 HE LII T LLL SS zn FERC RSSZEUM0001 0100 1 00 4 lt ENESAS 4 Schematic Diagram 4 1 Voltage Regulating Circuit R8C 11 Group E Bike Reference Platform D8 4 R75 4007 VCC36V Log IRE 12V vg Vin Vout o Vin Vout m 3302W C7 GRD GND ol s 474F 63V 103 LM317 470uF 25V a 7805 2 00 47DuF 16V 104 R80 R81 D Zener e gles 103 102 E
5. Run Motor state Err _PWM_StopQ _PWM_StopQ Motor_mode Stop_mode RSSZEUMO001 0100 1 00 24 434 NC S AS R8C 11 Group E Bike Reference Platform 7 5 PWM Out processing PWM_OUT Yes Hall sensor is 120 DEG ensor option 120 DEG 5 60 DEG Sensor stage New Sensor stage Out phase PHASE DEG0 SENSER DEG60 No SENSER DEG120 No SENSER DEG180 No SENSER DEG240 No 300 DEG Sensor stage New Sensor stage Out phase PHASE DEG60 120 DEG Sensor stage New Sensor stage Out phase PHASE DEG120 180 DEG Sensor stage New Sensor stage Out phase PHASE DEG180 240 DEG Sensor stage New Sensor stage Out phase PHASE DEG240 Sensor stage New Sensor stage Out phase PHASE DEG300 RTS RSSZEUM0001 0100 1 00 25 434 N SAS R8C 11 Group E Bike Reference Platform Sensor stage New Sensor stage Out phase PHASE DEG0 Sensor stage New Sensor stage Out phase PHASE_DEG60 120 DEG Sensor stage New Sensor stage Out phase PHASE_DEG120 180 DEG Sensor stage New Sensor stage Out phase PHASE_DEG180 ENSER120_DEG240 240 DEG No 300 DEG Sensor stage New Sensor stage Out phase PHASE_DEG300 RSSZEUMO001 0100 1 00 26 a lt EN ESAS R8C 11 Group E Bike Reference Platform 7 6 TimerC 1 interrupt routine TimerC CMPI Sensor Sersor input Sensor Change
6. The Voltage regulating circuit change battery voltage 36v into 12V and 5V It use of 12V for Mosfet driver 5V for MCU and other circuits 4 2 Current Detection Circuit R3 VCC Res2 22 R9 sample R10 4 Res2 Res2 312 102 y v U2A 1 GE LM324AD kii gt INGE Res 473 to mcu RSSZEUM0001 0100 1 00 E Bike Reference Platform a lt EN ESAS R8C 11 Group 4 3 Short Circuit Detection Circuit R12 Res2 R8 4104 Res2 472 sample R16 Res2 103 C5 U2B 74 LM3MAD v 103 4 11 4 4 4 Speedhandle Signal Detection Circuit to speed limit Jumper sl R22 J2 562 RER 0 fo mcu to speedhandle 3E sp R27 RSSZEUM0001 0100 1 00 6 a lt EN ESAS R8C 11 Group E Bike Reference Platform 4 5 Brakehandle Signal Detection Circuit ci9 to mcu ISH 103 ia 472 bl 332 E h gt 2 5019 B 4148 5551 x R66 R67 ad to brake handle low in effect 153 472 T 193 bk l J12 eile to brake handle high in effect bk h RSSZEUMO001 0100 Rev 1 00 7 R8C 11 Group E Bike Reference Platform 434 NESAS 4 6 Motor Driver Circuit
7. CR1206 1 103 Res2 R44 C1608 0603 1 102 Res2 R45 C1608 0603 1 332 Res2 R46 C1608 0603 1 512 Res2 R47 C1608 0603 1 103 Res2 R48 C1608 0603 1 102 Res2 R50 C1608 0603 1 511 Res3 R51 AXIAL 0 5 1 Res2 R53 C1608 0603 1 215 Res2 R54 C1608 0603 1 472 Res2 R55 C1608 0603 1 151 Res2 R56 C1608 0603 1 222 RSSZEUM0001 0100 1 00 18 lt ENESAS R8C 11 Group E Bike Reference Platform Res2 R57 C1608 0603 1 332 Res2 R58 C1608 0603 1 223 Res2 R59 C1608 0603 1 472 Res2 R62 C1608 0603 1 102 Res2 R63 C1608 0603 1 332 Res2 R64 C1608 0603 1 332 Res2 R66 C1608 0603 1 153 Res2 R67 C1608 0603 1 472 Res2 R69 C1608 0603 1 511 Res2 R70 C1608 0603 1 153 Res2 R71 C1608 0603 1 151 Res2 R72 C1608 0603 1 222 Res2 R73 C1608 0603 1 102 Res2 R74 C1608 0603 1 511 Res2 R75 CR1206 1 751 Res2 R76 C1608 0603 1 151 Res2 R77 C1608 0603 1 222 Res2 R78 AXIAL 0 6 1 330 2W Res2 R79 C1608 0603 1 102 Res2 R80 C1608 0603 1 103 Res2 R81 C1608 0603 1 102 Res2 R82 C1608 0603 1 103 Res2 R83 C1608 0603 1 103 Res2 R84 C1608 0603 1 103 Res2 R85 C1608 0603 1 223 Res2 R86 C1608 0603 1 102 Res2 R87 C1608 0603 1 512 Res2 R88 C1608 0603 1 472 Res2 R89 C1608 0603 1 473 Res2 R90 C1608 0603 1 104 Res2 R91 C1608 0603 1 103 Res2 R92 C1608 0603 1 103 Res2 R93 C1608 0
8. RSSZEUMO001 0100 1 00 21 a lt EN ESAS R8C 11 Group E Bike Reference Platform adconO 0x00 ANO one shot mode adconl 0x28 10bit Vref connection adcon2 0x01 sample amp hold Interrupt Setting intOic 0x07 AntO falling edge setting Level7 inten 0x01 intO input enable one edge intOf 0x00 intO no filter r0edg 1 intl falling edge setting int3ic 0x07 Interrupt piority level 7 selected int3ic bit 0 3 tcc07 0 INT3 selected tccO bit 7 tcc03 1 tcc04 0 falling edge setting RSSZEUMO001 0100 Rev 1 00 22 12 N ESAS R8C 11 Group E Bike Reference Platform 7 3 Initialize SFRs for Motor control Init motor sfr tcc0 0x16 TC count stop TC source fRing fast tccl Oxec no filter TC register reset output compare mode tcout Oxbf ICMP00 CMP02 enable CMP10 CMP12 enable pl amp Oxf8 CMP00 CMP02 OFF pdl 0x07 P10 P12 output Low p3 l 0x07 P30 P32 High pd3 l 0x07 P30 P32 output Motor_mode Stop_mode Error_counter 0 speed_act 90 pwm_duty START_DUTY Detect Sensor stage 7 4 Motor Control RSSZEUMO0001 0100 Rev 1 00 23 lt NC S AS R8C 11 Group E Bike Reference Platform Motor State Start Motor state Start Detect Sensor stage _PWM_SetO _PWM_OUTO Motor State PWM Set PWM OUTO peed command lt Speed_sta Motor State Stop Motor state
9. software alone is very difficult please evaluate the safety of the final products or system manufactured by you 11 In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed the risk of accident such as swallowing by infants and small children is very high You should implement safety measures so that Renesas products may not be easily detached from your products Renesas shall have no liability for damages arising out of such detachment 12 This document may not be reproduced or duplicated in any form in whole or in part without prior written approval from Renesas 13 Please contact a Renesas sales office if you have any questions regarding the information contained in this document Renesas semiconductor products or if you have any other inquiries 2008 Renesas Technology Corp All rights reserved RSSZEUM0001 0100 1 00 36
10. the TC register and TMI register Timer counter clock source fRing fast 8 MHz Timer C reload selection The TC register is set to 0000h on a match of compare 1 3 Compare 0 and 1 output mode selection The CMP output is driven high on a match of compare 0 The CMP output is driven low on a match of compare 1 RSSZEUMO001 0100 Rev 1 00 11 434 N SAS R8C 11 Group E Bike Reference Platform 5 4 Output Waveforms for 120 Degree Commutation 1 Described below is an example of waveform output for 120 degree commutation that is implemented through the use of the Timer C function 120 Degree hall sensor TM Hall Sensor A 60 Degree hall sensor Hall Sensor B Hall Sensor C _ ____ Vp CMPO1 output in Wp 2 output UUU Un CMP10 output wrewpttoupu LI LI LI Wp CMP12 output Figure 5 4 Sensor Inputs and Output Waveforms for 120 Degree Trapezoidal Wave Commutation Up CMP00 output 2 Three phase output is implemented by port outputs and timer C compare match outputs a CSI Up output CMP00 P10 output Vp output CMP01 P11 output For Up phase a high level is output The Up phase output is changed from by port output Set port P1 0 to high level Disable CMP00 output compare m
11. used reasonable care in preparing the information included in this document but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas E
12. 1 5401 Q23 NPN 1 5551 Q24 NPN 1 5551 Q25 NPN 1 Res2 R1 C1608 0603 1 511 Res2 R2 C1608 0603 1 103 Res2 R3 C1608 0603 1 223 Res2 R4 C1608 0603 1 222 Res2 R5 C1608 0603 1 151 Res2 R6 C1608 0603 1 222 Res2 R7 C1608 0603 1 272 Res2 R8 C1608 0603 1 472 Res2 R9 C1608 0603 1 332 Res2 R10 C1608 0603 1 102 Res2 R11 C1608 0603 1 222 Res2 R12 C1608 0603 1 104 Res2 R13 CR1206 1 103 RSSZEUM0001 0100 1 00 17 lt ENESAS R8C 11 Group E Bike Reference Platform Res2 R14 C1608 0603 1 103 Res2 R15 C1608 0603 1 511 Res2 R16 C1608 0603 1 103 Res2 R17 C1608 0603 1 272 Res2 R18 C1608 0603 1 223 Res2 R19 C1608 0603 1 222 Res2 R20 C1608 0603 1 151 Res2 R21 C1608 0603 1 222 Res2 R22 C1608 0603 1 562 Res2 R23 C1608 0603 1 222 Res2 R24 C1608 0603 1 103 Res2 R25 C1608 0603 1 202 Res2 R26 C1608 0603 1 272 Res2 R27 C1608 0603 1 103 Res2 R28 CR1206 1 103 Res2 R29 C1608 0603 1 511 Res2 R30 C1608 0603 1 222 Res2 R31 C1608 0603 1 102 Res2 R32 C1608 0603 1 103 Res2 R33 C1608 0603 1 151 Res2 R34 C1608 0603 1 512 Res2 R35 1608 0603 1 222 Res2 R36 C1608 0603 1 222 Res2 R37 C1608 0603 1 123 Res2 R38 C1608 0603 1 473 Res2 R39 C1608 0603 1 433 Res2 R40 C1608 0603 1 332 Res2 R41 C1608 0603 1 103 Res2 R42 C1608 0603 1 332 Res2 R43
13. 603 1 103 M74HC11M1R Ul 5014 1 LM324AD U2 S014 1 R8C 11 U3 TQFP32 1 LM317 VR1 SFM T3 X1 6V 1 78L05 VR2 BCY W3 1 RSSZEUM0001 0100 1 00 19 E Bike Reference Platform 434 NC S AS R8C 11 Group 7 Software Description 7 1 main function Initialization Init Motor sfr 1 Conirol Speed Control Current Detect Voltage Detect Uart sral RSSZEUMO001 0100 1 00 20 434 NCESAS R8C 11 Group E Bike Reference Platform 7 2InitMcu Init_MCU CUP CLOCK Setting asm FCLR I Interrupt disable prc0 1 Protect off cm05 1 cm02 0 cm14 0 0cd0 0 0cd1 0 On chip oscillator selected cm0 bit 2 and 5 cm1 bit 4 ocd bit 0 and 1 ocd2 1 On chip oscillator selected ocd bit 2 cm16 0 cm17 0 cm06 0 No division selected cm0 bit 5 cm1 bit 6 and 7 hr00 1 hr01 1 prc0 0 Protect on I O Setting 2 1 enable write to pd0 l 0x10 Port direction register pd0 amp 0xbf p00 02 as sensor input pd4 amp 0x7f p47 as break input Timer X Setting 1ms no division txck0 0 txck1 0 count source fl tcss bit 0 and 1 249 Timer value for timer mode half period timing for pulse output mode tx 31 Timer value for timer mode or half period timing for pulse output mode txmod0 0 txmod1 0 Timer mode txmr bit 0 and 1 txic 5 txs 1 start tx
14. 7 C 1608 0603 1 103 Cap C19 C1608 0603 1 103 Cap C20 C1608 0603 1 103 Cap C22 C1608 0603 1 103 Cap C24 C1608 0603 1 103 Cap C25 C1608 0603 1 104 Cap C26 C1608 0603 1 104 Cap C27 C1608 0603 1 104 Cap Poll 28 7 6 15 1 470uF 63V Cap Poll C29 CAPPR2 5x6 8 1 47uF 63V Cap Poll C30 CAPPR2 5x6 8 1 470uF 16V Cap C31 C1608 0603 1 103 Cap C32 C1608 0603 1 104 Cap C33 C1608 0603 1 103 Cap Poll C34 CAPPR2 5x6 8 1 470uF 25V Cap C35 CR0805 1 104 Cap C36 CR0805 1 104 Cap C37 CR0805 1 104 Cap C38 C1608 0603 1 104 Cap C39 C1608 0603 1 104 Cap C40 C1608 0603 1 104 Cap C41 C1608 0603 1 103 Cap C42 C1608 0603 1 103 Cap C46 C 1608 0603 1 103 Header 7X2 CON1 HDR2X7 1 1N4007 D1 DSO C2 X2 3 1 4148 D2 504148 1 1N4007 D3 DSO C2 X2 3 1 4148 D4 504148 1 RSSZEUM0001 0100 1 00 16 424 NC S AS R8C 11 Group E Bike Reference Platform 1N4007 D5 DSO C2 X2 3 1 4148 D6 504148 1 4148 D7 S04148 1 4007 D8 DSO C2 X2 3 1 D Zener D9 S04148 1 D Zener D10 S04148 1 4148 D11 504148 1 4148 D12 504148 1 LEDO DS1 SMD LED 1 5401 01 NPN 1 5551 Q2 NPN 1 5401 Q4 NPN 1 5401 Q6 NPN 1 5551 Q7 NPN 1 5401 Q9 NPN 1 5551 Q11 NPN 1 5401 Q12 NPN 1 5401 Q14 NPN 1 5401 Q16 NPN 1 5551 Q17 NPN 1 5551 Q18 NPN 1 5551 Q19 NPN 1 5401 Q20 NPN 1 5551 Q21 NPN 1 5551 Q22 NPN
15. MOLOGY baud 12 oe LOTIONS CORPORATION pika 00000660 ERI a I EIU afr RUN Ret arb K B tan h Build Finished 0 Errors 0 Varnings B sen test Wt 1 0x000471 sensor option H Oa Ox000 81 B fiag bit start mos Ox000484 9 Reset Bde pat Ye Project del bar feug els Tet pde bar m ee Danae JA a A OPED mman RES Er Wessely vr re file acer ax GAC war file ete ad y oc wwe file mure 200t0h fi set stack pointer 162 data E top sb sb register l intb VECTOR ADR ETTR 83A 28 A3 YUT KARET RTT YE 27773 77392 3 3 FTE3 372 2 Y E 33373 ates initialise RCM i Y gt tere re k mp se ine m uum RE z bse gum KIDO ber M 190 bra ME REIO bes WO top ber memory writimg l Flash memory write end Nich Ox000471 RRAK KRY U SET sensot option 00 1 0000481 B fing bat start n OO Ox000404 Web RSSZEUMO0001 0100 Rev 1 00 33 434 NECESAS R8C 11 Group E Bike Reference Platform 5 que pet Wie gegen faii bat feug Teele pede Bar 8X dfe d2 e 055u88 eu JARA jer mni CF FES Ta TRT DER asa a nx ly we file 0 GAC ur file mtr k ad stil
16. atch output Set port P1 1 to low level Enable CMP01 output For Vp phase a low level is output by port output to compare match output Set port P1 0 to high level Enable CMP00 output The Vp phase output holds the current state Set port P1 1 to low level Enable CMP01 output low level by compare match output Set port P1 0 to low level Enable CMP00 output The Vp phase output is changed to a high level by port output Set port P1 1 to high level Disable CMP01 output RSSZEUMO001 0100 1 00 12 lt ENESAS R8C 11 Group E Bike Reference Platform 5 5 Speed control In 120 degree commutation using trapezoidal waves the speed of rotation is basically proportional to the voltage The active period of the output waveform is controlled by rewriting the TM0 Detect handle A D value and setting each time the rotation speed command is changed TM1 Output waveform duty cycle is set by TM0 A D input value 5 6 Commutation Current Control 1 120 Degree Trapezoidal Wave Commutation produces high torque ripple and audible noise especially during transition of commutation Because torque is directly proportional to current we wish to regulate torque current or shorten dynamic response time motor current may be regulated One of the simplest method of measuring current is inserting a low value resistor Rs in the DC link path negative of one of
17. cs such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any que
18. e motor by producing six PWM waveforms that provide control of the rotating magnetic field according to the positional signals from the motor 3 The R8C 11 group s built in timer TimerC generates a PWM waveform and six Mosfets that handles chopping control for the motor 4 The speed command is from handle voltage Current overprotection is use a low value resistor in the DC link path negative current is detected R8C 11 TimerC output compare P10 CMPOO Up Battery voltage P11 CMPO1 Vp P12 CMPO2 Wp 6 Mosfet P30 CMP10 Un P31 CMP11 Vn P32 CMP12 Wn A D conversion Speed command P05 AN2 PO7 ANO Pos AN4 j INT detection P45 INTO P47 Current overprotect VREF Brake Current detect 36V Battery Figure 5 1 Hardware configuration RSSZEUM0001 0100 1 00 9 Z NI ESAS R8C 11 Group E Bike Reference Platform 5 2 TimerC Timer C is a 16 bit timer Figure 12 28 shows a block diagram of Timer C Figure 5 2 shows a block diagram of CMP waveform generation unit Figure 12 30 shows a block diagram of CMP waveform output unit The Timer C has two modes input capture mode and output compare mode 2 Count source ef 8 32 fRING fast 3 Output pin e CMP00 to CMP02 CMP10 to 12 4 Related
19. ent you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application Renesas makes no representations warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products 7 With the exception of products specified by Renesas as suitable for automobile applications Renesas products are not designed manufactured or tested for applications or otherwise in systems the failure or malfunction of which may cause a direct threat to human life or create a risk of human injury or which require especially high quality and reliability such as safety systems or equipment or systems for transportation and traffic healthcare combustion control aerospace and aeronautics nuclear power or undersea communication transmission If you are considering the use of our products for such purposes please contact a Renesas sales office beforehand Renesas shall have no liability for damages arising out of the uses set forth above 8 Notwithstanding the preceding paragraph you should not use Renesas products for the purposes listed below 1 artificial life support devices or systems 2 surgical implantations 3 healthcare intervention e g excision administration of medication etc 4 any other purposes that
20. interrupt Timer C int compare 0 int compare 1 int TCC11 to TCC10 012 Sampling clock Digital TCCO7 0 filter 002 0 TCCO7 1 fRING128 Ga than 002 INT3 TCIN O Edge detection INT3 interrupt Transfer signal Upper 8 bits Lower 8 bits Capture and compare 0 register TM0 register Compare circuit 0 Compare 0 interrupt Upper 8 bits Counter 112 frinc fast O tccoo TC register i TCC12 1 ircuit 1 Timer C counter reset signal ompare circu Compare 1 interrupt p p 9 R Upper 8 bits Lower 8 bits Compare register 1 TM1 register TCC01 to TCCO2 TCCO7 Bits in TCCO register TCC10 to TCC12 Bits in TCC1 register Lower 8 bits Timer C interrupt Figure 5 2 Timer C Block Diagram RSSZEUMO001 0100 Rev 1 00 10 12 N ESAS R8C 11 Group E Bike Reference Platform 5 3 PWM Output 1 The PWM output is implemented by using R8C 110output compare mode of Timer C In output compare mode is used to control the carrier wave period and to control the PWM output Changes the output on compare match of TC and TMO Changes the output on compare match of and TM1 TM1 TMO Carrier wave TC Output PWM PWM Active high signal inactive active period period Figure 5 3 PWM Output 2 Interrupt Compare 1 interrupt A compare 1 interrupt is generated on compare match of
21. lectronics data sheets or data books etc Standard Computers office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristi
22. n described in this document No license express implied or otherwise is granted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information When exporting the products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations Renesas Electronics has
23. odules of the platform Section 4 Schematic Diagram Give a description of each circuits or modules schematically and functionally Section 5 Control of E bike Brushless DC Motor Give a detail of E bike Motor control system Section6 Bill of Components Give a detailed list of the components included in the system Section 7 Sample Software Flowchart Give the detailed Sample Software flowchart description for the power meter application Section8 Using ES Emulator for Debugging Demonstrate how to debug in HEW environment by using E8 emulator RSSZEUMO001 0100 1 00 2 434 NC S AS R8C 11 Group E Bike Reference Platform 1 Overview amp Features The R8C 11 E bike solution is used to promote R8C 11 for the brushless DC motor with hall Sensor E bike application Emulator E8 is used for software development The demonstration package should be given to customers with a demonstration board a reference manual and a software package Hardware Specification High speed onchip oscillator 8 MHZ DC 36V input for DC5V 12V regulation Six MOSFETS and MOSFET driver circuitry Current detect circuitry Voltage detect circuitry Short protect circuitry Hall sensor detect circuitry One LED Software Specification 120 degree Trapezoidal Wave Commutation Motor speed control function Commutation current control function MOSFET protection function Voltage protection function Uart communications
24. pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp its affiliated companies and their officers directors and employees against any and all damages arising out of such applications 9 You should use the products described herein within the range specified by Renesas especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas shall have no liability for malfunctions or damages arising out of the use of Renesas products beyond such specified ranges 10 Although Renesas endeavors to improve the quality and reliability of its products IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Please be sure to implement safety measures to guard against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other applicable measures Among others since the evaluation of microcomputer
25. rksp ministration gt C WorkSpace E bike Ebike hws Open Forkspace WorkSpace Ez IO Alcon jyE bike_Wew_verl O Ler Ler KB Ig E bike i jEbike remove Cjinveter MIBC sensor Ij Ebike 0607 dtt jpowermeter yEbike_O7T11 inverter Sy RSROCE4 dbvl CjE bike New jinverter MiBe Ies Ps el jE bike_Wew_b ic inverter MIBCB2Z ore c test lt gt HEW Workspaces CX hws m Cancel d cas RSSZEUM0001 0100 1 00 31 12 IN ESAS R8C 11 Group E Bike Reference Platform 7 Choose E8 Emulator set emulator mode Emulator Setting Firmware Location Communication Baud Rate Emulator mode Device RSF21114 Keep Flash and Connect C Program Flash Power supply Power Target from ES MAX 300mA C d 3 V v 5 0 T Ds not show this dialog box again 8 Build all RSSZEUMO001 0100 Rev 1 00 32 a lt EN ESAS R8C 11 Group E Bike Reference Platform igh perferesace Rnbhedded DUM f f fue bin bj Seber ena Dude Ter Hia Puy 8 X fous AR Lam al apum nga tem poorer as w n PILIS Hm p i pee Edike ly wee file D eret 9 237 henter file ig tortis X d be t y rer Mas TC BrasdLeee Sater Cantrol 237 wm fils Welsh ge Contents n Coapiler 745 20 Release 1 5 Programmer tte s ht 200 RENESAS TRCR
26. stions regarding the information contained in this document or Renesas Electronics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics a lt EN ESAS R8C 11 Group E Bike Reference Platform E Bike Reference Platform R8C 11 User s Manual RS SZ 1st Edition Published by Renesas System Solutions Beijing Co Ltd Shenzhen Branch Date September 30 2007 Version 1 00 2007 Renesas System Solutions Beijing Co Ltd Shenzhen Branch All rights reserved RSSZEUMO0001 0100 Rev 1 00 1 lt ENESAS R8C 11 Group E Bike Reference Platform About this manual This user s manual is written for Renesas E bike Reference Platform lt describes the hardware and software specifications of this platform Pleas use this user s manual to understand the hardware and how to design R8C 11 for the E bike application The platform controls a Brushless motor with hall sensor by 120 degree trapezoidal wave commutation Section 1 Overview and Features Give an introduction to the hardware and software specifications of the platform Section 2 System Requirements Introduce the requirements of the system Section 3 Block Diagram Give an overview on the functional m
27. t of the use of any information in this document including but not limited to product data diagrams charts programs algorithms and application circuit examples 3 You should not use the products or the technology described in this document for the purpose of military applications such as the development of weapons of mass destruction or for the purpose of any other military use When exporting the products or technology described herein you should follow the applicable export control laws and regulations and procedures required by such laws and regulations 4 Allinformation included in this document such as product data diagrams charts programs algorithms and application circuit examples is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas products listed in this document please confirm the latest product information with a Renesas sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website http www renesas com 5 Renesas has used reasonable care in compiling the information included in this document but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document 6 When using or otherwise relying on the information in this docum
28. the phase current is detected RSSZEUM0001 0100 1 00 13 tENESAS R8C 11 Group E Bike Reference Platform 2 Compensate Torque Ripple Before transition of commutation detect the average bus current Ia if Ja gt Iset Setting100 duty cycle in next output compare step No Compensate current ripple Compensated RSSZEUMO001 0100 1 00 14 24 NECESAS 5 7 MOSFET and Battery Protection Detect Battery voltage Vb Ia If Vb Vset Or Ia gt Ia set Close the PWM output Battery voltage Vb R8C 11 Group E Bike Reference Platform 6 Bill of Components Comment Designator Footprint Quantity Value Cap Poll C1 CAPPR2 5x6 8 1 100pF Cap C2 C1608 0603 1 103 Cap C3 C1608 0603 1 222 Cap Poll C4 CAPPR2 5x6 8 1 100uF 63v RSSZEUMO001 0100 1 00 15 lt ENESAS R8C 11 Group E Bike Reference Platform Cap C5 C1608 0603 1 103 CapPoll C6 CAPPR2 5x6 8 1 100pF Cap C7 C 1608 0603 1 222 Cap C8 C1608 0603 1 103 Cap C9 C1608 0603 1 103 Cap C10 C1608 0603 1 222 Cap Poll Cll CAPPR2 5x6 8 1 100pF Cap C12 C 1608 0603 1 103 Cap C13 C 1608 0603 1 103 Cap C14 C 1608 0603 1 103 Cap C15 C 1608 0603 1 103 Cap C16 C 1608 0603 1 103 Cap C1
29. y GC were fila Be ool Bre broad Init_MUlwoid Nich Ox0004 1 RB senser_option 00 Ox000481 B fing bit start n OO 0000484 Mot available PGE mirisi ders Tasse oie Now you can debug and evaluate the platform Note About how to use HEW please refer to the user manual of HEW RSSZEUMO001 0100 Rev 1 00 34 rRENESAS R8C 11 Group E Bike Reference Platform R8C 11 E bike reference Platform User s manual Publication Date Rev 1 00 Oct 8 2007 Published by RS SZ Renesas Technology Corp Renesas System Solution Edited by RS SZ Renesas System Solution Beijing Co Ltd Shenzhen Branch 2007 Renesas Technology Corp All rights reserved http www renesas com RSSZEUM0001 0100 1 00 35 ES a lt EN ESAS R8C 11 Group E Bike Reference Platform Notes regarding these materials 1 This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document 2 Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising ou

Download Pdf Manuals

image

Related Search

Related Contents

SONAR User manual  Betriebsanleitung Schaltaktor AKK UP Fancoil Operating  Manual de Utilização do Assinador - tjmg    Panduit 48-port modular patch panel  (PDF Download) Dry Bath User`s Manual  

Copyright © All rights reserved.
Failed to retrieve file