| Electronic Components Datasheet Search |
|
AN2388 Datasheet(PDF) 40 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2388 Datasheet(HTML) 40 Page - STMicroelectronics |
|
40 / 54 page ![]() Software design AN2388 40/54 the reason why the current gain has been set to have the maximum wide range voltage during the transient stage, avoiding any saturation. The two phase currents are sampled through the microcontroller and converted using the ADC module. The channels of the A/D peripheral are multiplexed and the time of conversion is 3µs per channel. A complete conversion (two phase currents) needs 6µs. In this application, channel 0 (port 5.0) and channel 1 (port 5.1) have been configured as inputs for A/D conversion. Figure 34. Phase current detection As can be seen in the Figure 34 a slight offset appears on the two phase currents acquired by Hall effect sensors. Many reasons could explain it (offset voltage on the op-amp and conditioning circuitry) and in order to compensate for it there are some offset values introduced in the current sensing routine. The offset value fixes the output voltage, coming out from the current sensor, in order to have a 2.5V mean value. 4.5.2 Rotor mechanical position sensing In this AC induction drive a 1024 pulse incremental encoder produces the rotor position. The two sensor output channels (A and B) are wired directly to the incremental interface mode for the core timer T3 selected by setting bit-field T3M in register T3CON to ‘110’. In incremental interface mode the two inputs associated with timer T3 (T3IN, T3EUD) are used to interface to an incremental encoder. T3 is clocked by each transition on one or both of the external input pins which gives 2-fold or 4-fold resolution to the encoder input |
|
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 |