miniFOC 1.0.3
This open-source project aims to accomplish a FOC(Field Oriented Control) scheme that is operatable with minimum costs in China.
algorithm Directory Reference

Files

file  encoder.c [code]
 this file contains the code implementation of angle acquisition and initialization functions of sc60228 and sc60224.
 
file  encoder.h [code]
 this is the header file of encoder.c.
 
file  fast_math.c [code]
 this file contains the code implementation of sine function value lookup table and fast calculation of sine value.
 
file  fast_math.h [code]
 this is the header file of fast_math.c, the macros of fast amplitude limiting algorithm and cosine function evaluation algorithm are defined.
 
file  filter.c [code]
 this file contains the code implementation of first-order digital RC low-pass filter algorithm and the code implementation of low-pass filter coefficient calculation.
 
file  filter.h [code]
 this is the header file of filter.c, which defines the structure of filter algorithm.
 
file  foc.c [code]
 this document is mainly the code implementation of motor phase sequence correction and FOC algorithm.
 
file  foc.h [code]
 this is the header file of foc.c, which defines the structure of FOC algorithm and angle conversion factor.
 
file  pid.c [code]
 PID algorithm implementation source code.
 
file  pid.h [code]
 this is the header file of pid.c, which defines the structure of PID algorithm and closed-loop state macro.
 
file  report.c [code]
 this file is used to write the report correlation function of the feedback host computer.
 
file  report.h [code]
 this is the header file of report.c.