Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0324 Datasheet(PDF) 19 Page - STMicroelectronics

Part # UM0324
Description  This user manual describes
PDF  105 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0324 Datasheet(HTML) 19 Page - STMicroelectronics

Back Button UM0324 Datasheet HTML 15Page - STMicroelectronics UM0324 Datasheet HTML 16Page - STMicroelectronics UM0324 Datasheet HTML 17Page - STMicroelectronics UM0324 Datasheet HTML 18Page - STMicroelectronics UM0324 Datasheet HTML 19Page - STMicroelectronics UM0324 Datasheet HTML 20Page - STMicroelectronics UM0324 Datasheet HTML 21Page - STMicroelectronics UM0324 Datasheet HTML 22Page - STMicroelectronics UM0324 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 105 page
background image
UM0324
Getting started with the library
19/105
2.2.2
Drive control parameters: MC_Control_Param.h
The MC_Control_Param.h header file gathers parameters related to:
●
Power device control parameters on page 19
●
Flux and torque PID regulators sampling rate on page 19
●
Speed regulation loop frequency on page 19
●
Speed controller setpoint and PID constants (initial values) on page 20
●
Torque and flux controller setpoints and PID constants on page 20
●
Start-up torque ramp parameters on page 21
●
Linear variation of PID constants according to mechanical speed. on page 21
Power device control parameters
●
#define PWM_FREQ
Define here, in Hz, the switching frequency; in parallel, uncomment the maximum
allowed modulation index definition (MAX_MODULATION_XX_PER_CENT)
corresponding to the PWM frequency selection.
●
#define DEADTIME_NS
Define here, in ns, the dead time, in order to avoid shoot-through conditions.
Flux and torque PID regulators sampling rate
●
#define REP_RATE
Stator currents sampling frequency and consequently flux and torque PID regulators
sampling rate, are defined according to the following equation:
In fact, because there is no reason for either executing the IFOC algorithm without updating
the stator currents values or for performing stator current conversions without running the
IFOC algorithm, in the proposed implementation the stator current sampling frequency and
the IFOC algorithm execution rate coincide.
Note:
REP_RATE must be an odd number if currents are measured by shunt resistors (see
Section A.2: Selecting PWM frequency for 3 shunt resistor configuration on page 98 for
details); its value is 8-bit long;
Speed regulation loop frequency
#define PID_SPEED_SAMPLING_TIME
The speed regulation loop frequency is selected by assigning one of the defines below:
#define PID_SPEED_SAMPLING_500us
0
//min 500us
#define PID_SPEED_SAMPLING_1ms
1
#define PID_SPEED_SAMPLING_2ms
3
//(4-1)*500uS=2ms
#define PID_SPEED_SAMPLING_4.5ms
6
#define PID_SPEED_SAMPLING_10ms
15
#define PID_SPEED_SAMPLING_127ms
255 //max(255-1)*500us=127ms
1
_
_
2
+
⋅
=
RATE
REP
FREQ
PWM
rate
sampling
PIDs
torque
and
Flux



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com