登录
首页 » 算法 » 基于spwm波的stm32细分电机控制

基于spwm波的stm32细分电机控制

于 2023-02-03 发布 文件大小:1.78 MB
0 316
下载积分: 2 下载次数: 1

代码说明:

应用背景步进电机控制,步进电机存在低频振荡问题,利用细分技术可以改善步进电机的低频振荡,细分技术的实现通过spwm波实现关键技术基于spwm波的步进电机控制,实现最大128细分,可实现2的N次方任意细分,spwm通过查表生成。利用stm32定时器产生4路pwm波控制两相步进电机

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • multivariate linear equation solvers
    多元线性方程求解程序-multivariate linear equation solvers
    2022-02-05 16:59:26下载
    积分:1
  • ICP算法
    Point to Point就近点搜索法是ICP算法中最经典的一种方法。如图1a所示, Point to Point法根据源曲面上的一个点p,在目标曲面上找出对应于p点距离最近的q点。在这个方法中通常运用kd-tree的方法实现就近点搜索。如图1b所示,pi是源曲面点云数据中的一个点,Vi是生成目标曲面点云数据中距Pi最近的点。根据Vi点搜索出在曲面上与Vi点相邻的点构成的三角形格网,计算pi点投影到每个三角形平面上的投影点qi的坐标。对于每个三角形来说,当投影点qi位于三角形内部,则距离最近点是搜索的最近点,当投影点qi位于三角形外部,搜索的就近点应位于三角形的两条边界上,Vi是该三角形到pi点的就近距离点。将每个三角形确定的就近距离点进行比较可获得一个最近点。
    2023-07-21 15:10:03下载
    积分:1
  • 求定积分的通用函数,以给定算例,演示了定积分的求解过程,简单明了。...
    求定积分的通用函数,以给定算例,演示了定积分的求解过程,简单明了。-Seek a common definite integral function to the given examples to demonstrate the definite integral of the solution process, simple and straightforward.
    2022-01-26 00:04:49下载
    积分:1
  • 大整数乘法,实现两个大整数相乘的C++代码
    大整数乘法,实现两个大整数相乘的C++代码-Large integer multiplication
    2022-03-15 04:06:48下载
    积分:1
  • MATLAB 神经网络和遗传算法联用
    matlab30个神经网络应用案例的源代码,一本很好的matlab神经网络书籍,贴近实际,该代码是书中案例的源代码,为神经网络和遗传算法的的标准算法。
    2022-10-29 07:25:03下载
    积分:1
  • 线性方程组的求解
    1.通过这次实验,我掌握了使用Gauss消去法解线性方程组的方法,加深了我对Gauss消元法的理解。2.Gauss消元法还可以改进,可衍生出列主元消去法和平方根法等,达到减少计算量和减小误差的作用使结果更加准确。3.迭代过程中要求主对角线元素不为零,这在一定程度上限制了可解的线性方程组。
    2022-02-06 11:21:14下载
    积分:1
  • C经典代码大全
    一些C编程语言经典编程题目,希望对大家有用。#include int main(void) { unsigned int i = 0x12345678; char*pc =(char*)&i; printf("0x%x ", *pc); double *pd = (double*)&i; printf("%f ", *pd); printf("sizeof pc = %d sizeof pd = %d ", sizeof(pc), sizeof(pd)); return 0; }
    2022-04-01 10:36:20下载
    积分:1
  • 区间树的实现
    区间树的实现。我们将利用这种数据结构在程序中实现一种简单的一维地理定位算法:一组带有标识符的线段作为输入点——一个具有最高权重的标识符的结果。
    2022-03-21 16:20:37下载
    积分:1
  • 这是一个简单的演示如何评价文本的数学表达式
    This a simple demo of how to evaluate mathematical expressions in text format, including provision for variables and functions. The code consists of three simple classes: 1) Calc - which does the main calculations, 2) Stack - which is used to push and pop intermediate operators and numbers and 3) Symbol Table. The symbol table is a collection of calc symbols, a type structure consisting of various elements, including the expression name, function name, and the final value of the expression The evaluation procedure is done in three steps: 1) simplify the expression by removing all the elements within () and storing them in subexpressions within the symbol table. 2) Each of these sub expressions are then converted to RPN format (Reverse polar notation) and evaluated 3) Finally, the main expression is converted to RPN and evaluated-This is a simple demo of how to evaluate mathematical expressions in text format, including provision for variables and functi
    2022-02-20 06:26:41下载
    积分:1
  • 一个多功能计算器calc,包含了代数运算、矩阵运算等功能
    一个多功能计算器calc,包含了代数运算、矩阵运算等功能-A multi-function calculator calc, contains algebra, matrix operations and other functions
    2022-07-24 15:01:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载