| Electronic Components Datasheet Search |
|
AN1495 Datasheet(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1495 Datasheet(HTML) 7 Page - STMicroelectronics |
|
7 / 25 page ![]() AN1495 Microstepping with the L6208 Doc ID 8700 Rev 3 7/25 2 Microstepping with the L6208 In a typical application the L6208, which integrates two h-bridges with the current control, drives a bipolar stepper in either full or half step modes. The internal state machine generates the full step or half step sequence from the clock and direction inputs. [1] Although at first glance it is not obvious that the L6208 may be used in a microstepping application, it is possible since the current control circuits have separate reference inputs. To implement a microstepping application, a variable voltage proportional to the desired output current must be applied to each of the reference pins. In the block diagrams above, the two required D/A converters provide the required voltages. A simple and inexpensive alternative to a D/A converter chip is to use a counter/timer in the microprocessor to generate a PWM output for each phase and pass this through a voltage divider and low pass filter to get the desired voltage. The Vref input voltage is equal to the microprocessor power supply voltage times the divider ratio of the resistor divider times the PWM duty cycle. Figure 5 shows the connection between a microcontroller and the L6208. The complete circuit schematic for the power section is shown in Appendix A. Since the L6208 includes an internal phase generation circuit, this circuit must be synchronized to the externally provided reference voltages. Again a simple solution is possible. The initial state of the decoding logic after reset is known and may be used as the starting state. After applying a reset to the L6208, either at power up or by forcing a reset from the microprocessor, the full-scale voltage is applied to both Vref pins to align the stepper motor to the known state that corresponds to one of the full step positions. Once the motor is aligned, the references can be reduced to 70.7%, which is the correct value for the currents for the 45° position in the microstepping sequence. After the motor is aligned the microcontroller can move through the sine/cosine table to generate the appropriate reference levels to move in either direction. The software also has to set the appropriate direction on the CW/CCW pin and generate a clock pulse for each phase reversal that is required. This occurs whenever the phase crosses a 90° boundary in the sine table. By operating the L6208 in the full step mode and providing clock signals at the appropriate time, the decoding logic will output the correct phase information for the bridges. Using the L6208 in the half step mode with the appropriate clock signals can improve the performance at the zero crossover of the current, as will be discussed later. Figure 5. Circuit connections for the L6208 5.1K 20K 0.1µ 5.1K 20K 0.1µ VREFB VREFA CLOCK CW/CCW RESET OUTn OUTn OUTn PWM OUT PWM OUT L6208 Micro AM15146v1 |
|
|
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 |