Dear Russel & Michael:
Thanks a lot for your replies to my questions - now I know how to
handle the E543 & its encoder. I am waiting for the driver parameters
when your machine is in its new home.
Let me now start building the "Elm-Chan servo driver" and this leads
to a few other questions:
Russel: Would it be too much to ask for the schematics of the latest
versions of the two boards (the processor board and the H-bridge board)
you are now using (the ones pictured in post #353 on page 30 of this thread)?
The reason I ask is that there are so many slightly different versions of
the "Elm-Chan servo driver" that I am confused, and I would like to start
precisely with your latest version, which is known to work with the E543's.
I can program AVR's and draw PCB's, so I have analysed very carefully
you pictures, and I think I understand most of what you did, but not all:
- are you using IRF540 MOSFET's and BYV28 supression diodes, like most people?
some seem to prefer IRPF240's, which have better thermal characteristics
but cost twice as much.
- what is the DIP4 IC in the H-bridge board? an optocoupler?
- I see you have 2 DIP4 IC's in the processor board, probably PC817 optocouplers
for the step & direction signals from the PC, but what is the DIP8 IC in
this board?
I've ordered the IR2184's (the DIP8 version - SMD is too much for my 67-yo-
cataract-operated-eyes) and intend to base my PCB on the design on thread
56395, posts #26 & #28, which I like because it allows a very compact and
efficient mounting of the heatsink, parallel to the board. I think a standard
PC processor cooler, with heatsink & fan, would be ideal.
However, I intend to make a few modifications, which I describe for your
comments (may be this should be on a different thread, but...)
- the encoder cable will use RS422 TX & RX, to minimize noise problems:
there will be a small board, attached to the servo, with the RS422 TX.
I will use RJ45 connectors and a standard CAT5 ethernet cable between
the encoder & the driver board.
- I will use the MAX232 RS232 driver, which I trust more than the 74HC14
hack used in Chan's original implementation.
- like you, I will add optical insulation for the step and direction signals,
using either PC817's or the HCPL2530/31 which some people seem to prefer.
- I will remove the 48V, 12V & 5V rectifiers, filters and regulators from
the board. I think these belong on a separate power board, supplying
the 3 or 4 drivers. Also, this allows the implementations of a power
sequencing scheme, which is the object of my final ( for this post...)
question:
There are at least 5 different supplies that must be considered when
powering up or down the system:
- PC power, waiting for the execution of the control program (EMC2) and
the proṕer levels on the parport & breakout board
- 5V for the encoders
- 5V for the microcontroller (AVR)
- 12V for the IR2184's
- 48V for the servos
It seems obvious that this is the logical sequence when powering up the
system (which would obviously be reversed when powering down).
I would implement this on the PC itself, which, when EMC2 is ready, would
sequence a series of relays with the other supplies. But this is kind of
expensive, and may be overkill. Some simplifications might be acceptable.
What are your thoughts about the power sequencing problems? What are you
using in your systems?
I am also worried about excess heat: ideally, we should have
thermistors attached to the MOSFET's and servo motors, monitoring their
temperature and shutting down the system if certain limits are reached.
But this is getting too complex and expensive. Is anybody monitoring
the temperature in their systems?
Nelson