• 大小: 26.11MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-01
  • 语言: 其他
  • 标签: stm32  FOC  

资源简介

基于stm32的电机FOC+svpwm控制程序,实测可用,希望能够帮到需要的人

资源截图

代码片段和文件信息

/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name          : stm32f10x_it.c
* Author             : IMS Systems Lab
* Date First Issued  : 21/11/07
* Description        : Main Interrupt Service Routines.
*                      This file provides template for all exceptions handler
*                      and peripherals interrupt service routine.
********************************************************************************
* History:
* 21/11/07 v1.0
* 05/29/08 v2.0
* 07/02/08 v2.0.1
********************************************************************************
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
* FOR MORE INFORMATION PLEASE CAREFULLY READ THE LICENSE AGREEMENT FILE LOCATED 
* IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE.
*
* THIS SOURCE CODE IS PROTECTED BY A LICENSE.
* FOR MORE INFORMATION PLEASE CAREFULLY READ THE LICENSE AGREEMENT FILE LOCATED
* IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE.
*******************************************************************************/

/* Includes ------------------------------------------------------------------*/
#include “stm32f10x_it.h“
#include “stm32f10x_MClib.h“
#include “MC_Globals.h“

extern unsigned char Res_f;

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
#define BRAKE_HYSTERESIS (u16)((OVERVOLTAGE_THRESHOLD/16)*15)

/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/

/*******************************************************************************
* Function Name  : NMIException
* Description    : This function handles NMI exception.
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void NMIException(void)
{
}

/*******************************************************************************
* Function Name  : HardFaultException
* Description    : This function handles Hard Fault exception.
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void HardFaultException(void)
{
  /* Go to infinite

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2071  2014-07-22 08:17  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\42JSF630.fhg

     文件      10431  2012-03-09 09:07  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\comment.em

     文件      10408  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\cortexm3_macro.s

     文件      10408  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\EWARM 5_11\cortexm3_macro.s

     文件      21836  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\EWARM 5_11\LIB\MC_FOC_Methods.o

     文件       9020  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\EWARM 5_11\LIB\MC_State_Observer_lib.o

     文件       1350  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\EWARM 5_11\STM32F10x_FLASH.icf

     文件       1648  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\EWARM 5_11\stm32f10x_flash_extsram.icf

     文件       1350  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\EWARM 5_11\stm32f10x_nor.icf

     文件       1350  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\EWARM 5_11\stm32f10x_ram.icf

     文件       6025  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\EWARM 5_11\stm32f10x_vector.c

     文件      33600  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\EWARM 5_11\STM32_FOC_PMSM.ewd

     文件     124304  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\EWARM 5_11\STM32_FOC_PMSM.ewp

     文件        168  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\EWARM 5_11\STM32_FOC_PMSM.eww

     文件       5056  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\LIB\MC_FOC_Methods.o

     文件       8248  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\LIB\MC_State_Observer.o

     文件       1350  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\STM32F10x_FLASH.icf

     文件       1648  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\stm32f10x_flash_extsram.icf

     文件       1350  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\stm32f10x_nor.icf

     文件       1350  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\stm32f10x_ram.icf

     文件       6025  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\stm32f10x_vector.c

     文件      33600  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\STM32_FOC_PMSM.ewd

     文件     130653  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\STM32_FOC_PMSM.ewp

     文件        168  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\EWARM\STM32_FOC_PMSM.eww

     文件      16268  2013-09-12 19:58  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\Head\Ram.h

     文件       5687  2013-11-26 08:56  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\Head\STM103REG.h

     文件       6678  2013-08-08 14:03  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\Head\TYPESTRUCT.h

     文件       7715  2013-08-26 21:58  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\inc\BuildLog.xml

     文件       2356  2008-09-09 11:35  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\inc\cortexm3_macro.h

     文件      24881  2009-03-18 01:34  程序\BLDC PMSM2 无霍尔LCD程序-0921\BLDC PMSM2 - 1\BLDC PMSM2\inc\fonts.h

............此处省略1372个文件信息

评论

共有 条评论