For instance a Microstep driver I have here is using 4.8v motors, and 72v drive. The only way to speed up the rise in current is to use much higher voltages. Inductors (which the coils of a stepper are), start drawing no current when you apply a voltage, and the current then rises, dependant on the voltage being applied, and the inductance of the coil. You want to create fast changes in a magnetic field. Perhaps 1/16 often works well, but the errors start to become very significant beyond this.Īlso remember that the faster you want to move the motor, the more voltage you need. This uses a comparator to ensure safe operation.īeware that unless you buy special steppers designed for microstepping, the positional accuracy for this degrades as you try for finer step sizes. There are also much more modern versions for chips like DSPIC's. These actually give a superb overview of what is required. Some are for really basic PIC's and date back over 10 years. There are several MicroChip application notes on this.Īssuming you do intend to use a PIC (given this is a forum for CCS C on the PIC.), these give a very good start, and are fairly easy to translate. It seems that nobody else uses microstepping, or nobody uses a current feedback loop.Īre there any open source projects that accomplish this task? If so, where can I find the source code and schematics of these projects ?Ĭan anyone help me ? I am very puzzled about this question. I can't find any other projects that accomplish this. I've been looking at TPS2115APWG4 as the datasheet of, and have a basic idea of what it needs to do, but the implementation confuses me a bit. I need to be able to support microstepping as well. I'm trying to get the basics down of what is required to accomplish this. I'm trying to make a fully configurable stepper motor controller by directly driving the H-bridges with the MCU, like an Atmel Atmega or other MCU, and use current feedback with the built in ADC, while using the PWM to create a current feedback loop (the ADC would measure across a sense resistor). Thanks for taking up your time to read my post. Stepper Motor Microstepping with an MCU or Arduino Send them to Motor Microstepping with an MCU or Arduino Please do not post bug reports on this forum. CCS :: View topic - Stepper Motor Microstepping with an MCU or ArduinoįAQ Forum Help Official CCS Support Search Register Profile Log in to check your private messages Log inĬCS does not monitor this forum on a regular basis.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |