资源简介
AN1078无感FOC文档的代码,开环启动,电流观测模型,SMO。没有库,全是源码,新手上手FOC的参考代码。
代码片段和文件信息
/*******************************************************************************
Copyright (c) 2014 released Microchip Technology Inc. All rights reserved.
Microchip licenses to you the right to use modify copy and distribute
Software only when embedded on a Microchip microcontroller or digital signal
controller that is integrated into your product or third party product
(pursuant to the sublicense terms in the accompanying license agreement).
You should refer to the license agreement accompanying this Software for
additional information regarding your rights and obligations.
SOFTWARE AND DOCUMENTATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND
EITHER EXPRESS OR IMPLIED INCLUDING WITHOUT LIMITATION ANY WARRANTY OF
MERCHANTABILITY title NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE.
IN NO EVENT SHALL MICROCHIP OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER
CONTRACT NEGLIGENCE STRICT LIABILITY CONTRIBUTION BREACH OF WARRANTY OR
OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL SPECIAL INDIRECT PUNITIVE OR
CONSEQUENTIAL DAMAGES LOST PROFITS OR LOST DATA COST OF PROCUREMENT OF
SUBSTITUTE GOODS TECHNOLOGY SERVICES OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF) OR OTHER SIMILAR COSTS.
*******************************************************************************/
// *****************************************************************************
// *****************************************************************************
// Section: Included Files
// *****************************************************************************
// *****************************************************************************
#include “field_weak.h“
#include “general.h“
#include “smcpos.h“
#include “periph.h“
T_FD_WEAK_PARM fdWeakParm;
int16_t FieldWeakening(int16_t qMotorSpeed)
{
/* if the speed is less than one for activating the FW */
if (qMotorSpeed <= fdWeakParm.qFwOnSpeed)
{
/* set Idref as first value in magnetizing curve */
fdWeakParm.qIdRef = fdWeakParm.qFwCurve[0];
}
else
{
/* Index in FW-Table. The result is left shifted 11 times because
/* we have a field weakening table of 16 (4 bits) values and the result
/* of the division is 15 bits (16 bits with no sign). So
/* Result (15 bits) >> 11 -> Index (4 bits). */
fdWeakParm.qFWPercentage = FracDiv((qMotorSpeed - fdWeakParm.qFwOnSpeed) \
Q15(OMEGAFIELDWK - OMEGANOMINAL + 1));
fdWeakParm.qIndex = fdWeakParm.qFWPercentage >> 11;
/* Interpolation betwen two results from the Table. First mask 11 bits
/* then left shift 4 times to get 15 bits again.*/
fdWeakParm.qInterpolPortion = (fdWeakParm.qFWPercentage & 0x07FF) << 4;
fdWeakParm.qIdRef = fdWeakParm.qFwCurve[fdWeakParm.qIndex] \
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5058263 2014-07-02 11:23 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\AN1078 Demo ReadMe dsPIC33EV256GM106 Int Op Amp PIM (MPLAB X).pdf
文件 5963 2014-04-04 14:12 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\atan2CORDIC.s
文件 2919 2014-09-11 15:24 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\control.h
文件 2323 2014-04-04 14:12 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\Control.inc
文件 337761 2014-04-04 14:12 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\DEMO.dmci
文件 3966 2014-09-11 15:25 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\field_weak.c
文件 3490 2014-09-11 15:26 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\field_weak.h
文件 3268 2014-09-11 15:29 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\general.h
文件 2103 2014-04-04 14:12 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\general.inc
目录 0 2014-09-11 15:56 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\lib\
文件 96117 2014-04-04 14:12 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\mcp802x_de2.c
文件 18075 2014-04-04 14:12 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\mcp802x_de2.h
文件 3395 2014-04-04 14:12 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\meas_curr.h
文件 2287 2014-04-04 14:12 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\meas_curr.inc
文件 4304 2014-04-04 14:12 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\meas_curr.s
文件 2132 2014-04-04 14:12 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\parms.h
文件 37254 2014-06-30 18:11 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\periph.c
文件 8899 2014-09-11 13:23 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\periph.h
文件 39788 2014-09-11 15:50 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\pmsm.c
目录 0 2014-09-11 16:07 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\
目录 0 2014-09-11 16:07 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\build\
目录 0 2014-09-11 16:07 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\build\default\
目录 0 2014-09-11 16:07 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\build\default\production\
目录 0 2014-09-11 16:07 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\build\default\production\_ext\
目录 0 2014-09-11 16:07 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\build\default\production\_ext\1472\
文件 4512 2014-09-11 15:52 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\build\default\production\_ext\1472\atan2CORDIC.o
文件 73 2014-09-11 15:52 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\build\default\production\_ext\1472\atan2CORDIC.o.d
文件 7084 2014-09-11 15:52 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\build\default\production\_ext\1472\field_weak.o
文件 182 2014-09-11 15:52 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\build\default\production\_ext\1472\field_weak.o.d
文件 31992 2014-09-11 15:52 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\build\default\production\_ext\1472\mcp802x_de2.o
文件 183 2014-09-11 15:52 AN1078_dsPIC33EV256GM106_SINGLEMOTOR_LVMCDB_HURST\PMSM.X\build\default\production\_ext\1472\mcp802x_de2.o.d
............此处省略55个文件信息
相关资源
- dsp28035,can通信和电机控制程序,源码
- Enfocus PitStop Pro 10破解补丁+高清PDF图文
- 基于fanuc数控设备的focas1/2的函数库说
- FocusOn3DTerrainProgramming(中文版)
- Microchip FOC AN1292调整指南.zip中文
- FU6818 HALL FOC_20180521_DEMO_客户程序_V1.
- STM32 PMSM FOC SDK 4.3 Getting Started
- Enfocus PitStop Pro 2019使用手册中文版.
- -AC Electric Motors Control_ Advanced Design T
- STM32 BLDC开发资料
- 第14 章 电机控制PWM.pdf
- 国外电机控制
- PN532读写CUID
- 现代电机控制技术讲义ppt
- ATMega8制作无感无刷BLDC电调全套资料
- STM32无刷无感电机驱动
- PF6000 manual_gb.pdf
- 大家期待的 STM32 MOTOR CONTROL SDK 5.01
- Faro Focus3D三维激光扫描系统操作流程
- STM32 4轴步进电机控制程序源码
- DataFocus 明朝历史资料大全
- TMS320F2812伺服电机控制器原理图+PCB
- 三电平逆变器的电机控制3M的经典硕士
- BLDC直流无刷电机控制彻底开源硬件
- FOC伺服控制芯片TMC4671
- 基于STM32F103C8T6的电机控制程序
- 基于AT89C51单片机的步进电机控制及驱
- 步进电机控制系统毕业论文(设计)
- UM0492_STM32F103XX_永磁同步电机_PMSM_FOC软
- stm32的foc库 2.0,全部未删减,内含用
评论
共有 条评论