Mesa 7i96 spindle motor control / potentiometer replacement

More
5 years 11 months ago #188571 by kbec
I have a Sherline motor with speed controller that I am trying to set up with my Linux CNC with Mesa 7i96 card. The speed controller uses a potentiometer with three leads to control the speed of the spindle motor. Is the 7i96 with Linux CNC capable of somehow replacing the potentiometer?, or do I need another add on card from Mesa to do this? It looks like my encoder is sending the right signals to the 7i96, but I would like to be able to control the speed with Linux CNC and not with the potentiometer if possible.

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
5 years 11 months ago #188575 by BeagleBrainz
You might be able to use this:
store.mesanet.com/index.php?route=produc...t_id=205&search=spin

You'll need to create a PWM signal. This is some documentation for spindle control, linuxcnc.org/docs/2.8/html/examples/spindle.html , you'll probably have to change from the PP pins shown in the examples to match your hardware.
PCW will probably have a better idea, but this maybe something to mull over.

Some stuff I found regarding PWM on the 7i96
forum.linuxcnc.org/27-driver-boards/3432...tions-for-pwm-output
forum.linuxcnc.org/38-general-linuxcnc-q...et-pwm-output-solved
forum.linuxcnc.org/27-driver-boards/3923...96-which-pin-for-pwm

Please Log in to join the conversation.

More
5 years 11 months ago #188592 by PCW
You have to be very careful as the potentiometer on many low-end speed controls
runs at line voltage potential. If this is the case with the Sherline you need to use
a fully isolated potentiometer replacement device. Mesa makes one (the SPINX1).
This is a simple small card that takes 3 signals (PWM ENA DIR) and provides a
potentiometer replacement plus isolated FWD REV and ENA outputs.

If the potentiometer does not run at line potential, you could use one of the 7I96s isolated
outputs and a RC filter to make a potentiometer replacement, something like this:

Attachment not found



The schematic shows a 7I37 output but the 7I96 outputs are identical
This would be driven by a software PWM component in the hal file

Please Log in to join the conversation.

More
5 years 11 months ago #188593 by kbec
I did not see that card you mentioned, I think it would be really what I need. I will contact Mesa tech support and see what they say.

I am not really sure about trying to drive the motor with a PWM from the board. That seems it would totally eliminate the speed controller I have and there is a lot of specialized circuitry in there regarding torque, smoothness and such.

Please Log in to join the conversation.

More
5 years 11 months ago #188594 by PCW
The PWM is used to generate the variable analog voltage in the
potentiometer replacement circuit

Please Log in to join the conversation.

More
5 years 11 months ago #188637 by kbec
I get it, now I need that board you guys mentioned from Mesa.

Please Log in to join the conversation.

More
5 years 11 months ago #188658 by verticalperformance
The potentiometer on the KBIC controllers used by sherline does run at mains voltage. I use one of these homanndesigns.com/index.php?main_page=pr...ath=1&products_id=25 and drive it from the parallel port with no issues. Should be no issue driving it with a PWM signal from a mesa

Please Log in to join the conversation.

More
5 years 11 months ago #188840 by kbec
I think the Mesa may work for me. I will see and let you guys know.

Please Log in to join the conversation.

Time to create page: 0.189 seconds
Powered by Kunena Forum