| Electronic Components Datasheet Search |
|
AN4277 Datasheet(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4277 Datasheet(HTML) 21 Page - STMicroelectronics |
|
21 / 23 page ![]() 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 + -------------------- ⎝⎠ ⎛⎞ × ------------------------------------------------------- = |
|
|
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 |
| 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 |