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.
Data Fields
FOC_Structure_t Struct Reference

structure of FOC algorithm More...

#include <foc.h>

Data Fields

float mechanical_angle
 mechanical angle read form encoder More...
 
float rotate_speed
 motor rotate speed calculate from timer More...
 
float user_expect
 user expect value of miniFOC More...
 

Detailed Description

structure of FOC algorithm

Definition at line 17 of file foc.h.

Field Documentation

◆ mechanical_angle

float mechanical_angle

mechanical angle read form encoder

Definition at line 18 of file foc.h.

Referenced by encoder_get_electronic_angle(), report_angle_speed(), and TIMER13_IRQHandler().

◆ rotate_speed

float rotate_speed

motor rotate speed calculate from timer

Definition at line 19 of file foc.h.

Referenced by encoder_update_speed(), report_angle_speed(), and TIMER13_IRQHandler().

◆ user_expect

float user_expect

user expect value of miniFOC

Definition at line 20 of file foc.h.

Referenced by mdtp_callback_handler(), report_local_variable(), TIMER13_IRQHandler(), and TIMER2_IRQHandler().


The documentation for this struct was generated from the following file: