Electronic Components Datasheet Search
  English  ▼

X  

AN4277 Datasheet(PDF) 21 Page - STMicroelectronics

Part # AN4277
Description  Using STM32F3 Series PWM shut-down features for motor control and digital power conversion
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4277 Datasheet(HTML) 21 Page - STMicroelectronics

Back Button AN4277 Datasheet HTML 15Page - STMicroelectronics AN4277 Datasheet HTML 16Page - STMicroelectronics AN4277 Datasheet HTML 17Page - STMicroelectronics AN4277 Datasheet HTML 18Page - STMicroelectronics AN4277 Datasheet HTML 19Page - STMicroelectronics AN4277 Datasheet HTML 20Page - STMicroelectronics AN4277 Datasheet HTML 21Page - STMicroelectronics AN4277 Datasheet HTML 22Page - STMicroelectronics AN4277 Datasheet HTML 23Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 21 / 23 page
background image
DocID024409 Rev 2
21/23
AN4277
How to use the DAC to define thresholds
22
Appendix A
How to use the DAC to define thresholds
Concerning the network shown in Figure 3 and Figure 4, it is important to properly set the
comparator inverting input voltage (V-) to define the threshold levels for over-current
protection and over-voltage protection.
As shown in Figure 7 below, in the STM32F3 Series microcontroller it is possible to set three
different sources as inverting input for the comparator:
An external reference (GPIO),
A fixed internal reference (Vref, ¾ Vref, ½ Vref, ¼ Vref),
A programmable internal reference (DAC).
Figure 7. Inverting input selection
Practical example: Over-current protection using the offset network
This is the case of Figure 3 when the components inside the dotted line boxes are present.
In this case, the formula to compute the over-current threshold is the following:
Equation 1
Usually the R1 and R2 values are used to satisfy the current measurement needs. It is clear
that using the internal reference for V- can lead to a threshold value Ith which is not exactly
coincident with the required one. As explained in this practical example, the internal
reference can be used only when there is no need to fine-tune the over-current threshold.
Otherwise, it is necessary to use the external reference or the variable internal reference.
The latter is recommended, because it does not require any external components.
The STM32F3 Series microcontroller includes two 12-bit DAC channels that can be used for
this purpose. For three-phase motor drives, it is possible to group three comparators to
protect each leg of the inverter bridge versus over-current by setting the same DAC channel
for all three inverter inputs.
The same can be done in case of dual motor control with also having the possibility to define
two different levels of protection, one for each motor.
Ith
V
-
Vdd
R2
R1 R2
+
--------------------
×
⎝⎠
⎛⎞
Rshunt
R1
R1 R2
+
--------------------
⎝⎠
⎛⎞
×
-------------------------------------------------------
=



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


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