AVR172
3.3.1 Time of steps
The step time is RAMP_UP_PERIOD = 50ms.
3.3.2 Number of steps
The parameter : RAMP_UP_INDEX_MAX = 9, defines 10 steps ramp up.
3.3.3 Parameters tables
In firmware example, the tables have been defined according to the characteristics of
the motor provided in the kit (see parameters in 2.4 Motor section) :
ramp_up_time_table[] = {26,23,20,17,14,11,8,5,3,2,2};
ramp_up_duty_table[] = {122,124,126,129,131,133,135,137,140,143,145};
3.3.4 Sp1/pwm1
The usual parameters described in AVR928 Application Note are:
?
?
Pwm1 = 50%
Sp1 = Sp_max/60
The parameters defined with MC310 Tecmotion motor are:
?
?
Pwm1 = 48% (= 122/256)
Sp1 :
Sp1 is defined thanks to the initialization value of ru_step_length :
ru_step_length = RAMP_UP_STEP_MAX = 40
This variable determines one commutation each 40ms.
So an electrical rotation time is 120ms. As the motor has 4 pairs of poles, the
mechanical rotation time is 480ms. So the rotation speed is 60/0.48 = 125 rpm.
So Sp1 = Sp_max/32.
The second value of ru_step_length is 26 in the time table. It defines the following
commutation time.
3.3.5 Sp2/pwm2
The theorical parameters described in AVR928 Application Note are:
?
?
Pwm2 = 60%
Sp2 = Sp_max/6 = Sp1 / 10
The parameters defined with Tecmotion motor are:
?
?
Pwm2 = 57% (= 145/256)
Sp2 :
Sp2 is defined thanks to the last value of ru_step_length : 2
This variable determines one commutation each 4ms.
So an electrical rotation time is 12ms. As the motor has 4 pairs of poles, the
mechanical rotation time is 48ms. So the rotation speed is 60/0.048 = 1250 rpm.
So Sp2 = Sp_max/3.2.
7
8306B-AVR-05/10
相关PDF资料
ATAVRSB100 SMART BATTERY DEVELOPMENT KIT
ATAVRSB200 KIT EVAL FOR AVR SMART BATTERY
ATAVRSB201 KIT REF FOR AVR SMART BATTERY
ATDH1150USB ACCY USB CABLE JTAG ISP AT18F
ATDVK90CAN1 KIT DEV FOR AT90CAN128 MCU
ATEVK1104AU KIT EVAL AT32UC3A3256AU
ATEVK1105AU KIT EVAL AT32UC3A0512AU
ATEVK525 ADD ON KIT FOR STK525
相关代理商/技术参数
ATAVRMC321 功能描述:开发板和工具包 - AVR Motor Contrl. Kit for low cost app. RoHS:否 制造商:Arduino 产品:Evaluation Boards 工具用于评估:ATMega32U4 核心:AVR 接口类型:I2C, UART, USB 工作电源电压:6 V to 20 V
ATAVRMC323 功能描述:开发板和工具包 - AVR Motor Contrl. Kit CPU Intens Algorithm RoHS:否 制造商:Arduino 产品:Evaluation Boards 工具用于评估:ATMega32U4 核心:AVR 接口类型:I2C, UART, USB 工作电源电压:6 V to 20 V
ATAVR-MICTOR38 功能描述:集管和线壳 Connector 4 nexus trace connect 4 AVR RoHS:否 产品种类:1.0MM Rectangular Connectors 产品类型:Headers - Pin Strip 系列:DF50 触点类型:Pin (Male) 节距:1 mm 位置/触点数量:16 排数:1 安装风格:SMD/SMT 安装角:Right 端接类型:Solder 外壳材料:Liquid Crystal Polymer (LCP) 触点材料:Brass 触点电镀:Gold 制造商:Hirose Connector
ATAVRONEKIT 功能描述:电路内置调试器 Debug and program all AVR32 devices RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC MCUs, dsPIC DSCs 用于:07-00024, AC164113 核心:dsPIC, PIC 接口类型:USB 工作电源电压:3 V to 5 V
ATAVRONE-PROBE 功能描述:程序设计器配件 replacement probe AVRONE RoHS:否 制造商:Lattice 产品:ispDOWNLOAD Cables 用于:In-system Programming
ATAVRONE-PROBE-5V 功能描述:程序设计器配件 AVRONE upgrade probe for AT32UC3C RoHS:否 制造商:Lattice 产品:ispDOWNLOAD Cables 用于:In-system Programming
ATAVRONE-PROBECBL 功能描述:电缆组件 replacement probecbl AVRONE RoHS:否 制造商:Molex 产品:Power Assemblies 类型:Cable Assembly 连接器端口 A:No Connector 连接器端口 A 管脚计数:4 连接器端口 B:No Connector 连接器端口 B 管脚计数: 型式:Male 线规 - 美国线规(AWG):20, 28 长度:0.305 m 颜色:Black, Red
ATAVRONE-PSU 制造商:Atmel Corporation 功能描述:AVRONE REPLACEMENT PROBE CABLE 制造商:Atmel Corporation 功能描述:AVRONE REPLACEMENT PROBE CABLE - AVRONE REPLACEMENT POWER SU - Boxed Product (Development Kits) 制造商:Atmel Corporation 功能描述:AVRONE REPLACEMENT POWER SUPPLY