X-CUBE-SPN7 for X-NUCLEO-IHM07M1: SIXSTEP_Base_InitTypeDef Struct Reference

X-NUCLEO-IHM07M1 X-CUBE-SPN7

SIXSTEP_Base_InitTypeDef Struct Reference

Six Step parameters. More...

#include <6Step_Lib.h>

Public Attributes

uint32_t LF_TIMx_PSC
 
uint32_t LF_TIMx_ARR
 
uint32_t HF_TIMx_PSC
 
uint32_t HF_TIMx_ARR
 
uint32_t HF_TIMx_CCR
 
uint8_t step_position
 
SIXSTEP_Base_SystStatus_t STATUS
 
uint8_t status_prev
 
uint16_t pulse_value
 
uint16_t ARR_value
 
uint32_t Regular_channel [4]
 
uint32_t CurrentRegular_BEMF_ch
 
uint32_t prescaler_value
 
uint16_t numberofitemArr
 
uint32_t ADC_BUFFER [4]
 
uint32_t ADC_SEQ_CHANNEL [4]
 
uint32_t ADC_Regular_Buffer [5]
 
uint16_t ADC_BEMF_threshold_UP
 
uint16_t ADC_BEMF_threshold_DOWN
 
uint16_t demagn_counter
 
uint16_t demagn_value
 
int16_t speed_fdbk
 
int16_t speed_fdbk_filtered
 
int16_t filter_depth
 
uint16_t Current_Reference
 
uint16_t Ireference
 
int32_t Integral_Term_sum
 
uint8_t CMD
 
uint8_t ALIGN_OK
 
uint8_t ALIGNMENT
 
uint8_t bemf_state_1
 
uint8_t bemf_state_2
 
uint8_t bemf_state_3
 
uint8_t bemf_state_4
 
uint8_t bemf_state_5
 
uint8_t bemf_state_6
 
uint16_t Speed_Loop_Time
 
uint16_t Speed_Ref_filtered
 
uint16_t RUN_Motor
 
uint8_t ARR_OK
 
uint8_t VALIDATION_OK
 
uint8_t SPEED_VALIDATED
 
uint16_t Speed_target_ramp
 
uint16_t Speed_target_time
 
uint16_t Ramp_Start
 
uint16_t Bemf_delay_start
 
uint16_t MediumFrequencyTask_flag
 
uint32_t SYSCLK_frequency
 
uint32_t Uart_cmd_to_set
 
uint32_t Uart_value_to_set
 
uint8_t Button_ready
 
uint8_t BEMF_OK
 
uint8_t CL_READY
 
uint8_t BEMF_Tdown_count
 
uint16_t IREFERENCE
 
uint16_t NUMPOLESPAIRS
 
uint32_t ACCEL
 
uint16_t KP
 
uint16_t KI
 
uint8_t CW_CCW
 
uint8_t Potentiometer
 

Detailed Description

Six Step parameters.

Member Data Documentation

uint32_t SIXSTEP_Base_InitTypeDef::ACCEL

Acceleration start-up parameter

uint16_t SIXSTEP_Base_InitTypeDef::ADC_BEMF_threshold_DOWN

Voltage threshold for BEMF detection in down direction

uint16_t SIXSTEP_Base_InitTypeDef::ADC_BEMF_threshold_UP

Voltage threshold for BEMF detection in up direction

uint32_t SIXSTEP_Base_InitTypeDef::ADC_BUFFER[4]

Buffer for ADC regular channel

uint32_t SIXSTEP_Base_InitTypeDef::ADC_Regular_Buffer[5]

Buffer for ADC regular channel

uint32_t SIXSTEP_Base_InitTypeDef::ADC_SEQ_CHANNEL[4]

Buffer for ADC regular channel

uint8_t SIXSTEP_Base_InitTypeDef::ALIGN_OK

Flag control for Motor Alignment

uint8_t SIXSTEP_Base_InitTypeDef::ALIGNMENT

Flag control for Motor Alignment ongoing

uint8_t SIXSTEP_Base_InitTypeDef::ARR_OK

ARR flag control for Accell status

uint16_t SIXSTEP_Base_InitTypeDef::ARR_value

ARR vector for Accell compute

uint16_t SIXSTEP_Base_InitTypeDef::Bemf_delay_start

Bemf variable

uint8_t SIXSTEP_Base_InitTypeDef::bemf_state_1

Bemf variable

uint8_t SIXSTEP_Base_InitTypeDef::bemf_state_2

Bemf variable

uint8_t SIXSTEP_Base_InitTypeDef::bemf_state_3

Bemf variable

uint8_t SIXSTEP_Base_InitTypeDef::bemf_state_4

Bemf variable

uint8_t SIXSTEP_Base_InitTypeDef::bemf_state_5

Bemf variable

uint8_t SIXSTEP_Base_InitTypeDef::bemf_state_6

Bemf variable

uint8_t SIXSTEP_Base_InitTypeDef::BEMF_Tdown_count

BEMF Consecutive Threshold Falling Crossings Counter

uint8_t SIXSTEP_Base_InitTypeDef::CMD

Flag control for Motor Start/Stop

uint16_t SIXSTEP_Base_InitTypeDef::Current_Reference

Currrent reference for SixStep algorithm

uint32_t SIXSTEP_Base_InitTypeDef::CurrentRegular_BEMF_ch

ADC regular channel to select

uint8_t SIXSTEP_Base_InitTypeDef::CW_CCW

Set the motor direction

uint16_t SIXSTEP_Base_InitTypeDef::demagn_counter

Demagnetization counter

uint16_t SIXSTEP_Base_InitTypeDef::demagn_value

Demagnetization value

int16_t SIXSTEP_Base_InitTypeDef::filter_depth

Filter depth for speed measuring

uint32_t SIXSTEP_Base_InitTypeDef::HF_TIMx_ARR

ARR variable for high frequency timer

uint32_t SIXSTEP_Base_InitTypeDef::HF_TIMx_CCR

CCR variable for high frequency timer

uint32_t SIXSTEP_Base_InitTypeDef::HF_TIMx_PSC

Prescaler variable for high frequency timer

int32_t SIXSTEP_Base_InitTypeDef::Integral_Term_sum

Global Integral part for PI

uint16_t SIXSTEP_Base_InitTypeDef::Ireference

Currrent reference for SixStep algorithm

uint16_t SIXSTEP_Base_InitTypeDef::IREFERENCE

Currrent reference

uint16_t SIXSTEP_Base_InitTypeDef::KI

KI parameter for PI regulator

uint16_t SIXSTEP_Base_InitTypeDef::KP

KP parameter for PI regulator

uint32_t SIXSTEP_Base_InitTypeDef::LF_TIMx_ARR

ARR variable for low frequency timer

uint32_t SIXSTEP_Base_InitTypeDef::LF_TIMx_PSC

Prescaler variable for low frequency timer

uint16_t SIXSTEP_Base_InitTypeDef::MediumFrequencyTask_flag

Flag for Medium Task Frequency

uint16_t SIXSTEP_Base_InitTypeDef::numberofitemArr

Number of elements

uint16_t SIXSTEP_Base_InitTypeDef::NUMPOLESPAIRS

Number of motor pole pairs

uint8_t SIXSTEP_Base_InitTypeDef::Potentiometer

Enable/Disable potentiometer for speed control

uint32_t SIXSTEP_Base_InitTypeDef::prescaler_value

Prescaler value for low freq timer

uint16_t SIXSTEP_Base_InitTypeDef::pulse_value

CCR value for SixStep algorithm

uint16_t SIXSTEP_Base_InitTypeDef::Ramp_Start

Ramp time start

uint32_t SIXSTEP_Base_InitTypeDef::Regular_channel[4]

Buffer for ADC regular channel

uint16_t SIXSTEP_Base_InitTypeDef::RUN_Motor

Flag for Motor status

int16_t SIXSTEP_Base_InitTypeDef::speed_fdbk

Motor speed variable

int16_t SIXSTEP_Base_InitTypeDef::speed_fdbk_filtered

Filtered Motor speed variable

uint16_t SIXSTEP_Base_InitTypeDef::Speed_Loop_Time

Speed loop variable for timing

uint16_t SIXSTEP_Base_InitTypeDef::Speed_Ref_filtered

Filtered Reference Motor Speed variable

uint16_t SIXSTEP_Base_InitTypeDef::Speed_target_ramp

Target Motor Speed

uint16_t SIXSTEP_Base_InitTypeDef::Speed_target_time

Target Motor Ramp time

uint8_t SIXSTEP_Base_InitTypeDef::SPEED_VALIDATED

Validation flag for Speed before closed loop control

SIXSTEP_Base_SystStatus_t SIXSTEP_Base_InitTypeDef::STATUS

Status variable for SixStep algorithm

uint8_t SIXSTEP_Base_InitTypeDef::status_prev

Previous status variable for SixStep algorithm

uint8_t SIXSTEP_Base_InitTypeDef::step_position

Step number variable for SixStep algorithm

uint32_t SIXSTEP_Base_InitTypeDef::SYSCLK_frequency

System clock main frequency

uint8_t SIXSTEP_Base_InitTypeDef::VALIDATION_OK

Validation flag for Closed loop control begin


The documentation for this struct was generated from the following file:
  • C:/Users/giuseppe scuderi-sl/Desktop/MOTOR CONTROL/Peppe/trunk/Firmware/X-CUBE-SPN7-MC-6STEP/Middlewares/ST/MC_6Step_Lib/Inc/6Step_Lib.h
Generated on Fri Sep 11 2015 16:47:21 for X-CUBE-SPN7 for X-NUCLEO-IHM07M1 by   doxygen 1.8.9.1