Servo motor controller project
Posted by
Nic van der Walt
on 2002-05-27 17:46:17 UTC
Hi,
I'm working on a free, publicly available servo motor controller. The
first
iteration of the schematic and PCB is very close to completion, and I
invite
anyone interested to give me feedback on the design.
I can't post to the dropbox at www.linuxcnc.org .
I have posted the PDF to the CAD_CAM_EDM_DRO list files section
on Yahoo, but I realize this is a bad location for most people.
I will make a better plan soon.
Filename is FPGAservodriver.pdf
I will post the PCB design shortly. PCB is 130mm x 130mm, double sided.
What this is:
An FPGA based IO board that includes:
4x Quadrature shaft encoder counters, supporting TTL and differential
drivers.
4x DAC outputs, -10V to 10V for driving servo amplifiers.
4x Digital motor outputs for driving stepper amplifiers, or H-bridges.
Can be used
to drive PWM based servo amplifiers instead of analog ones.
7x Outputs, low side drivers that can drive relays etc...
14x Inputs, for limit switches etc...
1x Interrupt to the PC for whatever people want to do with it.
The board connects to the PC using an EPP parallel port.
The FPGA configuration is uploaded using the parallel port, making on
the fly
reconfiguration of the FPGA possible.
All of the complex and interesting stuff happens on the FPGA, and the
FPGA is much,
much larger than required making the possibilities for customization
endless.
The net side effect of this is that the board is relatively simple, and
cheap. Ballpark
component cost per board is $35 to $50 in South Africa, and all the
components are of the
shelf, even the FPGA is readily available.
What needs to be done:
Test prototypes. I will be able to do this is in a week or two.
Finish the FPGA programming. If I do this alone it will take some time,
and only the
minimum required to run servo's from EMC will be implemented.
Write or modify a driver for EMC. I'll really appreciate help here.
Wish list:
The core design can easily be used to progress towards both a PCI based
board, and a USB
based board. I'm concerned about latency problems using USB, and
cost/complexity issues with
PCI.
Someone very good at FPGA's should be able to program a large part of
the actual servo or stepper
control algorithm in the FPGA. Won't be me though.
A open source design for a servo amplifier and stepper driver that
complements this controller, and
implements some of the unique possibilies it offers with the PWM
outputs.
The catch:
The board uses a surface mount FPGA, and a large number of 1206 size
surface mount resistors and capacitors.
This might make it difficult for some people to build.
The EPP interface has not been tested yet. I can only do that once I
have PCB's made. The rest of the circuit
is straight forward and should not pose a problem.
The licensing:
I'm still contemplating this. I want it free and public. The intent is
to put something in the public domain that
anyone can download, build and be able to run a machine properly for the
cost of a couple of ball nose milling bits.
What I don't want is people making money of the actual design, i.e. I
don't want somebody to build boards based
on this design and sell them for lots of money, but I will be happy if
someone builds them and sells them at a
reasonable price, if they add value by contributing to the drivers and
design, and all of the improvements are
public. Anyone selling this must make it abundantly clear that the
potential customer can build it for himself
should he wish.
Making money of a machine driven by this board is well within the
intended use.
Any suggestions on how to licence this?
An then lastly and most importantly, may thanks to Keith Bolson for his
invaluable insights and
suggestions.
Regards,
Nic van der Walt.
To answer some of the questions I forsee pre-emptively:
Q: Why parallel port? It's not good enough!
A: The parallel port in EPP mode can be as fast as a ISA bus based card,
and while ISA is dead the parallel port
has quite a bit of life left. PCI and USB is to complex to start
with, but could be a good future addition.
Q: Aren't you getting ahead of yourself with the licensing. This isn't
even done yet.
A: Yes, but I was involved in a previous open source development where
the design was grabbed by one of the
free-loaders, put in production and he made mega bucks of other
peoples work without even acknowledging the
origin of the design. Something I would like to avoid, since that can
kill a project like this.
Q: Do you need help?
A: Yes please.
I'm working on a free, publicly available servo motor controller. The
first
iteration of the schematic and PCB is very close to completion, and I
invite
anyone interested to give me feedback on the design.
I can't post to the dropbox at www.linuxcnc.org .
I have posted the PDF to the CAD_CAM_EDM_DRO list files section
on Yahoo, but I realize this is a bad location for most people.
I will make a better plan soon.
Filename is FPGAservodriver.pdf
I will post the PCB design shortly. PCB is 130mm x 130mm, double sided.
What this is:
An FPGA based IO board that includes:
4x Quadrature shaft encoder counters, supporting TTL and differential
drivers.
4x DAC outputs, -10V to 10V for driving servo amplifiers.
4x Digital motor outputs for driving stepper amplifiers, or H-bridges.
Can be used
to drive PWM based servo amplifiers instead of analog ones.
7x Outputs, low side drivers that can drive relays etc...
14x Inputs, for limit switches etc...
1x Interrupt to the PC for whatever people want to do with it.
The board connects to the PC using an EPP parallel port.
The FPGA configuration is uploaded using the parallel port, making on
the fly
reconfiguration of the FPGA possible.
All of the complex and interesting stuff happens on the FPGA, and the
FPGA is much,
much larger than required making the possibilities for customization
endless.
The net side effect of this is that the board is relatively simple, and
cheap. Ballpark
component cost per board is $35 to $50 in South Africa, and all the
components are of the
shelf, even the FPGA is readily available.
What needs to be done:
Test prototypes. I will be able to do this is in a week or two.
Finish the FPGA programming. If I do this alone it will take some time,
and only the
minimum required to run servo's from EMC will be implemented.
Write or modify a driver for EMC. I'll really appreciate help here.
Wish list:
The core design can easily be used to progress towards both a PCI based
board, and a USB
based board. I'm concerned about latency problems using USB, and
cost/complexity issues with
PCI.
Someone very good at FPGA's should be able to program a large part of
the actual servo or stepper
control algorithm in the FPGA. Won't be me though.
A open source design for a servo amplifier and stepper driver that
complements this controller, and
implements some of the unique possibilies it offers with the PWM
outputs.
The catch:
The board uses a surface mount FPGA, and a large number of 1206 size
surface mount resistors and capacitors.
This might make it difficult for some people to build.
The EPP interface has not been tested yet. I can only do that once I
have PCB's made. The rest of the circuit
is straight forward and should not pose a problem.
The licensing:
I'm still contemplating this. I want it free and public. The intent is
to put something in the public domain that
anyone can download, build and be able to run a machine properly for the
cost of a couple of ball nose milling bits.
What I don't want is people making money of the actual design, i.e. I
don't want somebody to build boards based
on this design and sell them for lots of money, but I will be happy if
someone builds them and sells them at a
reasonable price, if they add value by contributing to the drivers and
design, and all of the improvements are
public. Anyone selling this must make it abundantly clear that the
potential customer can build it for himself
should he wish.
Making money of a machine driven by this board is well within the
intended use.
Any suggestions on how to licence this?
An then lastly and most importantly, may thanks to Keith Bolson for his
invaluable insights and
suggestions.
Regards,
Nic van der Walt.
To answer some of the questions I forsee pre-emptively:
Q: Why parallel port? It's not good enough!
A: The parallel port in EPP mode can be as fast as a ISA bus based card,
and while ISA is dead the parallel port
has quite a bit of life left. PCI and USB is to complex to start
with, but could be a good future addition.
Q: Aren't you getting ahead of yourself with the licensing. This isn't
even done yet.
A: Yes, but I was involved in a previous open source development where
the design was grabbed by one of the
free-loaders, put in production and he made mega bucks of other
peoples work without even acknowledging the
origin of the design. Something I would like to avoid, since that can
kill a project like this.
Q: Do you need help?
A: Yes please.
Discussion Thread
Alan Marconett KM6VV
2001-07-16 18:31:14 UTC
BDI
allan_r9@h...
2001-07-16 19:28:46 UTC
Re: BDI
Alan Marconett KM6VV
2001-07-16 20:02:57 UTC
Re: [CAD_CAM_EDM_DRO] Re: BDI
Tim Goldstein
2001-07-16 20:11:40 UTC
RE: [CAD_CAM_EDM_DRO] Re: BDI
Jon Elson
2001-07-16 22:15:08 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Ian Wright
2001-07-17 01:39:25 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Ray
2001-07-17 11:54:34 UTC
Re: BDI
Alan Marconett KM6VV
2001-07-17 12:20:50 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Alan Marconett KM6VV
2001-07-17 13:23:42 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Alan Marconett KM6VV
2001-07-17 14:18:26 UTC
Re: BDI
Alan Marconett KM6VV
2001-07-18 15:59:03 UTC
Re: BDI
emserv@e...
2001-08-09 16:00:16 UTC
BDI
Weyland
2001-08-09 19:47:04 UTC
BDI
Donald Brock
2001-08-10 08:57:19 UTC
Re: BDI
Gene
2002-02-27 00:28:10 UTC
BDI
awemawson
2002-02-27 00:33:19 UTC
Re: BDI
Gene
2002-02-27 05:00:36 UTC
Re: [CAD_CAM_EDM_DRO] Re: BDI
Ed Fanta
2002-02-27 05:45:07 UTC
Re: [CAD_CAM_EDM_DRO] BDI
John Guenther
2002-02-27 05:45:45 UTC
RE: [CAD_CAM_EDM_DRO] Re: BDI
Jon Elson
2002-02-27 10:50:52 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Gene
2002-02-27 12:44:51 UTC
BDI
Dave Lantz
2002-02-27 12:46:32 UTC
RE: [CAD_CAM_EDM_DRO] BDI
Gene
2002-02-27 14:15:59 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Darrell Daniels
2002-02-27 22:12:52 UTC
Re: [CAD_CAM_EDM_DRO] Re: BDI
Dave Lantz
2002-02-28 05:05:53 UTC
RE: [CAD_CAM_EDM_DRO] BDI
Glen
2002-02-28 10:24:52 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Gene
2002-04-12 11:13:50 UTC
BDI
Ray Henry
2002-04-12 18:58:25 UTC
Re: BDI
batwings@i...
2002-04-12 19:17:24 UTC
Re: [CAD_CAM_EDM_DRO] Re: BDI
Jon Elson
2002-04-12 22:52:24 UTC
Re: [CAD_CAM_EDM_DRO] Re: BDI
Ray Henry
2002-04-13 12:12:02 UTC
Re: Re: Re: BDI
Gene
2002-05-06 19:54:31 UTC
BDI
Gene
2002-05-07 09:48:40 UTC
BDI
Ray Henry
2002-05-07 16:32:16 UTC
Re: BDI
John Branlund
2002-05-07 16:44:14 UTC
Re: [CAD_CAM_EDM_DRO] Re: BDI
Tim Goldstein
2002-05-07 16:57:45 UTC
Re: [CAD_CAM_EDM_DRO] Re: BDI
Ray Henry
2002-05-07 20:11:20 UTC
Re: BDI
Jon Elson
2002-05-07 22:17:16 UTC
Re: [CAD_CAM_EDM_DRO] Re: BDI
Gene
2002-05-23 15:44:20 UTC
BDI
Jon Elson
2002-05-23 21:58:23 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Ian W. Wright
2002-05-24 00:58:46 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Ray Henry
2002-05-24 07:22:05 UTC
Re: BDI
Gene
2002-05-25 14:05:05 UTC
BDI
John Guenther
2002-05-25 17:44:11 UTC
RE: [CAD_CAM_EDM_DRO] BDI
William Scalione
2002-05-25 21:39:41 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Jon Elson
2002-05-25 21:49:41 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Ray Henry
2002-05-26 07:29:42 UTC
Re: Re: BDI
Gene
2002-05-27 14:04:00 UTC
BDI
Nic van der Walt
2002-05-27 17:46:17 UTC
Servo motor controller project
Jon Elson
2002-05-27 22:36:52 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Vajk Fekete
2002-05-27 22:39:49 UTC
Re: [CAD_CAM_EDM_DRO] BDI
Nic van der Walt
2002-05-28 14:52:15 UTC
Servo motor controller project
studleylee
2002-05-28 15:27:36 UTC
Re: Servo motor controller project
Peter Homann
2002-05-28 16:37:46 UTC
HSM Tapping Machine Article
doug98105
2002-05-28 17:25:10 UTC
Re: HSM Tapping Machine Article
Peter Homann
2002-05-28 17:42:17 UTC
RE: [CAD_CAM_EDM_DRO] Re: HSM Tapping Machine Article
Keith Bowers
2002-05-28 17:52:50 UTC
Re: [CAD_CAM_EDM_DRO] Servo motor controller project
Marcus & Eva
2002-05-28 19:30:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: HSM Tapping Machine Article
Peter Homann
2002-05-28 19:53:26 UTC
RE: [CAD_CAM_EDM_DRO] Re: HSM Tapping Machine Article
chevalier121
2002-05-29 02:18:21 UTC
Re: Servo motor controller project
turbulatordude
2002-05-29 04:26:15 UTC
Re: HSM Tapping Machine Article
doug98105
2002-05-29 06:48:53 UTC
Re: HSM Tapping Machine Article
steel2chips
2002-05-30 07:42:41 UTC
Re: Servo motor controller project
Gene
2002-07-04 14:32:50 UTC
BDI
dakota8833
2002-07-05 05:30:59 UTC
Re: BDI
Ray Henry
2002-07-05 08:03:13 UTC
Re: BDI
Gene
2002-07-05 10:38:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: BDI
Jon Elson
2002-07-05 12:05:58 UTC
Re: [CAD_CAM_EDM_DRO] Re: BDI