| Electronic Components Datasheet Search |
|
AN1625 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1625 Datasheet(HTML) 10 Page - STMicroelectronics |
|
10 / 39 page ![]() AN1625 APPLICATION NOTE 10/39 2.8 Reference Voltage for PWM Current Control The device has an analog input, Vref, connected to the internal sense comparator, to control the peak value of the motor current through the integrated PWM circuitry. A fixed reference voltage can be easily obtained through a resistive divider from an available 5 V voltage rail (maybe the one supplying the µC or the rest of the applica- tion) and GND. A very simple way to obtain a variable voltage without using a DAC is to low-pass filter a PWM output of a µC (see Figure 9). Figure 9. Obtaining a variable voltage through a PWM output of a µC. Assuming that the PWM output swings from 0 to 5V, the resulting average voltage will be where DµC is the duty-cycle of the PWM output of the µC. Assuming that the µC output impedance is lower than 1k Ω, with RLP = 56kΩ, RDIV = 15kΩ, CLP = 10nF and a µC PWM switching from 0 to 5V at 100kHz, the low pass filter time constant is about 0.12 ms and the remaining ripple on the Vref voltage will be about 20 mV. Using higher values for RLP, RDIV and CLP will reduce the ripple, but the reference voltage will take more time to vary after changing the duty-cycle of the µC PWM, and too high values of RLP will also increase the impedance of the Vref net at low frequencies, causing a poor noise immunity. As sensing resistor value is typically kept small, a small noise on Vref input pins might cause a considerable error in the output current. It's then recommended to decouple this pin with a ceramic capacitor of some tens of nF, placed very close to Vref and GND pins. Note that Vref pin cannot be left unconnected, while, if connected to GND, zero current is not guaranteed due to voltage offset in the sense comparator. The best way to cut down (IC) power consumption and clear the load current is pulling down the EN pin. With very small reference voltage, PWM integrated circuitry can loose control of the current due to the minimum allowed duration of tON (see the Programmable off-time Monostable section). RLP C LP Vref GND PWM Output of a µC RDIV V ref 5V DµC RDIV ⋅⋅ R LP R DIV + ----------------------------------------- = |
|
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 |