PIC Current Limiter

From RepRap
Revision as of 19:27, 26 November 2011 by Glenn (talk | contribs) (catchg)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Adding Current Limiters to the PIC/Generation 1 Electronics

The PIC/Generation 1 electronics do not have any form of current limitting. They rely on the stepper motors resistance to keep the current below 2 Amps at 12 Volts.

V = IR (V = voltage, I = current, R = resistance)

R = V/I

If V = 12 and I = 2 then R = 6 Ohms

Stepper motors with a resistance of 6 Ohms and up will work with the PIC/Generation 1 electronics with no modifications.

Unfortunatly the more commonly available Steppers of the size used in RepRap have much lower resistances. e.g. The current BitsFromBytes supplied Steppers have a resistance of XXXX.

Current limiting can be added to the PIC/Generation 1 electronics via a few modifications to the existing board and the creation of a daughter board.

Creating the daughter board

Bellow is a diagram of a peice of strip board layed out to provide current limiting to 4 coils, 2 motors.

Current Limiter-Matrix Board.png

This may look complex, but that comes partly from showing both sides of the board at once.

Modifying the main board

Testing

Schematic

Below is the schematic for a single coil, each stepper motor has two coils. As each coil requires one comparator an LM393 (dual comparator) could be used. It is almost certainly cheaper though to use an LM339 (quad comparator) and build the circuit to handle 4 coils / 2 motors.

PIC-Current-limiter.png Media:PIC_Current_limiter-Schematic.svg

other current limiters

  • The STMicroelectronics L6506 is designed to work with a L293 or L298 dual bridge driver to form a constant current drive.
  • Most of the motor driver chips listed at StepperMotor have built-in current limiting.