| 数据搜索系统,热门电子元器件搜索 |
|
AN4243 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4243 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 29 page ![]() AN4243 Designing an application with the L6230 Doc ID 024199 Rev 1 13/29 Figure 9. Obtaining a reference voltage through a PWM output of microcontroller Assuming that this output swings from 0 to 5V, the resulting average voltage is: Equation 10 where DµC is the duty cycle of the PWM output of the microcontroller. Assuming that the microcontroller output impedance is lower than 1 k Ω , with RCP1 = 5.6 kΩ, RCP2 = 1.5 k, CCP = 100 nF and a PWM switching from 0 to 5 V at 100 kHz, the low-pass filter time constant is about 0.12 ms and the remaining ripple on the VCP- voltage is about 20 mV. Higher values for RCP1, RCP2 and CCP reduce the ripple, but the reference voltage takes more time to vary after changing the duty cycle of the microcontroller PWM. Besides, too high values of RCP1 also increase the impedance of the CP- net at low frequencies, causing a poor noise immunity. As sensing resistor value is typically kept small, a small noise on CP- input pins might cause a considerable error in the output current. It is then recommended to decouple this pin with a ceramic capacitor of some tens of nF, placed very close to CP- and GND pins. Note that CP- pin connected to GND cannot guarantee zero current due to voltage offset in the internal comparator. The best way to cut down the IC power consumption and to clear the load current is to pull down the DIAG/EN pin. With very small reference voltage, PWM current control method can lose control of the current due to the minimum allowed duration of on-time. R 1 P C C - P C CP- GND PWM Output of a µC RCP2 AM16571v1 V CP- 5V DμC RCP2 ⋅⋅ R CP1 R CP2 + ----------------------------------------------- = |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |