CAD CAM EDM DRO - Yahoo Group Archive

RE: [CAD_CAM_EDM_DRO] Re: CNC: Spindle speed control

on 2003-03-26 07:19:14 UTC
Peter, can you make the control voltage adjustable i.e. 0-XV,
many of the older spindles use 0-10v for speed control.


Erie Patsellis
Shelbyville Design & signworks
217-774-4444
signworks@... <mailto:signworks@...>

<mailto:signworks@cond>

Visit our website at: http://www.shelbyvilledesign.com



-----Original Message-----
From: Peter Cruickshank [mailto:crankshaft_sg@...]
Sent: Wednesday, March 26, 2003 4:38 AM
To: CAD_CAM_EDM_DRO@yahoogroups.com
Subject: [CAD_CAM_EDM_DRO] Re: CNC: Spindle speed control


Hello All;

I have spent the last 2 months learning about the PIC Micro and have
90% completed the development and debugging of a PIC-Based PWM to DC
Controller designed around MACH1.

The 5hz output from MACH1 is just too slow to allow it to provide a
stable control voltage, so the only way to do it is to capture the
PWM signal and control the output via software routines.

The Micro runs at 4mhz and samples the 5mhz pulse from MACH1. As it
is running much faster than MACH1's PWM Pulse, It can do a LOT of
stuff in between ulses. Firstly, it has watchdog (charge pump)
safety compatible with MACH, it also has programmable speed ramp
up / ramp down (for large spindles).

This ramp also works if communication is broken between the parallel
port and the speed controller, so if the PC crashes, hangs or
someone accidentally disconnects the parallel port cable, the
controller will not immediatly shut of all control to the motor, but
will ramp down at the programmed ramp rate.

During direction change(M4>M3, M3>M4) , it will automatically ramp
down the motor to zero, change direction (energize a relay) and then
ramp up to speed in opposite direction again.

It has a rsolution of 1000 steps, so if your max spindle speed is
3000 RPM, it can control to 3 RPM, the accuracy is about 99.4% and
it outputs a DC Control voltage from 0 to 5v.

It has programmable minimum speed, maximum speed, resolution & ramp
speed. It has outputs to LEDs and / or relays for M3, M4, Motor On,
Ramp Up/ Down, Max Speed and 0-5v control voltage. The resolution
allows small fluctuations in the input PWM not to effect the output
control voltage, it is defaulted to 5 RPM so if any change is less
than 5 RPM, then the output voltage will not vary.

I have monitored the control voltage output over many hours, it is
stable within a couple of millivolts!

It can also be hooked up to a Serial LCD Display to show the status,
but other than in debugging, I'm not sure if its necessary !

It does this using 3 inputs, PWM, Charge Pump & Direction and If you
can think of any other features, I would welcome any suggestions.

Cheers

PeterC


Addresses:
FAQ: http://www.ktmarketing.com/faq.html
FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
Post Messages: CAD_CAM_EDM_DRO@yahoogroups.com

Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com, wanliker@...,
timg@...
Moderator: pentam@... indigo_red@... [Moderators]
URL to this group: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO

OFF Topic POSTS: General Machining
If you wish to post on unlimited OT subjects goto:
aol://5863:126/rec.crafts.metalworking or go thru Google.com to reach it if
you have trouble.
http://www.metalworking.com/news_servers.html

http://groups.yahoo.com/group/jobshophomeshop I consider this to be a
sister site to the CCED group, as many of the same members are there, for OT
subjects, that are not allowed on the CCED list.

NOTICE: ALL POSTINGS TO THIS GROUP BECOME PUBLIC DOMAIN BY POSTING THEM.
DON'T POST IF YOU CAN NOT ACCEPT THIS.....NO EXCEPTIONS........
bill
List Mom
List Owner



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Discussion Thread

J. Malte Stoeckhert 2003-03-25 14:02:35 UTC CNC: Spindle speed control Bob Simon 2003-03-25 14:22:57 UTC Low cost torque amplifier caudlet 2003-03-25 14:37:18 UTC Re: CNC: Spindle speed control Andrew Mawson 2003-03-25 14:44:12 UTC Re: CNC: Spindle speed control James Cullins 2003-03-25 16:06:58 UTC Re: [CAD_CAM_EDM_DRO] CNC: Spindle speed control Matt Shaver 2003-03-25 17:04:45 UTC Re: [CAD_CAM_EDM_DRO] Low cost torque amplifier Jon Elson 2003-03-25 22:04:50 UTC Re: [CAD_CAM_EDM_DRO] Low cost torque amplifier Peter Cruickshank 2003-03-26 02:37:46 UTC Re: CNC: Spindle speed control Peter Cruickshank 2003-03-26 03:00:40 UTC CNC: Spindle speed control - F to V Bob Simon 2003-03-26 06:41:33 UTC Re: [CAD_CAM_EDM_DRO] Low cost torque amplifier Erie Patsellis 2003-03-26 07:19:14 UTC RE: [CAD_CAM_EDM_DRO] Re: CNC: Spindle speed control J. Malte Stoeckhert 2003-03-26 08:34:11 UTC Re: CNC: Spindle speed control ccq@x... 2003-03-26 12:29:03 UTC Re: [CAD_CAM_EDM_DRO] Re: CNC: Spindle speed control Peter Cruickshank 2003-03-27 04:27:44 UTC Re: CNC: Spindle speed control