DC Servo Drive...

Go To Last Post
13 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi freaks...

I just finished a layout in eagle for a modified version of the ELMchan DC Servo drive...

It's mostly SMD, the passives being 3216 size...
The AVR is a MEGA 8 ...

I will likely cut a PCB tomorrow to test it...
I've attached the files, brd and sch...

Perhaps someone can spot some errors or fixes...
Please take a look.... I'm open to suggestions...

The ELMchan link is http://elm-chan.org/works/smc/report_e.html
And the modified ELMchan link is http://www.cnczone.com/forums/showthread.php?t=69640
You can find a tuning program from the second link...

Thanks!!
Michael...

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For those without Eagle ...
Sorry the jpg schematic isn't very clear...

Any comments? Suggestions?

Thanks...
Michael

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi ppl...

I'm having some trouble programming the EEPROM ...

The Code assemblies alright with out errors..
The HEX programs and verifies ok...
But the EEP gives me this message from WinAVR...

Quote:
Entering programming mode.. OK!
Programming EEPROM .. OK!
Reading EEPROM .. OK!
WARNING: EEPROM address 0x0010 is 0xFF (should be 0x2C).. FAILED!
Leaving programming mode.. OK!

I'm using WinAVR and the MCU is an AtMega8-16AU...
Does this relate to the boot flash size fuse??
I tried a simple program to blink the error LED and that worked ok...

Any suggestions?

Thanks!
Michael

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Do you erase the EEprom before programming it ?
Any lockbits set ?

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tessa and Tina, You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No lockbits set...

I tried erase a few times... also tried to program the eeprom before the hex...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What programmer are you using ?

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tessa and Tina, You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's made by a Korean company... www.newtc.co.kr...
I've never had a problem programming EEprom with it before...

It has a FTDI chip and a mega 8L on it...
Looks like this...

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sorry, I think I found the problem...

I tested it with a Dip type mega8 on a protoboard..
Got the same error but this time the serial connection worked and the tuning program worked...

I found the rx pin wasn't soldered down so there was no connection...

Because I put a couple of vias under the chip (hand soldered) it held the chip up a little bit...

Thanks!!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Here is the populated board...
Complete with homemade to-263 fets... they were to-220 before... lol

I will make a new package so the to-220 case wont require cutting...
Will also change the bridge diodes to to-263 for more current...

Thanks!
Michael

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey ppl....

An update, got the PCBs today from the board manufacturer...

Here is a pic of the partly populated PCB...
Too tired to add anymore today... long day...

The intended use is an art project, later these may replace the steppers on my SX3 mill paired with some E543 DC servos...

Control and power will be coming form another board...
The control board sports a Mega128, FTDI232, AT85RF230, 2x TPS5420, DS1307, among other things...

Opposite the FETs are some 20amp 100v schottkys ...
The bling bling is gold plating...

Michael

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

krazatchu, nice board !
The goldplated area's can be used to add more fets and schottky's to give the controller even more muscles ?

Cheers

Nard

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tessa and Tina, You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks!!

The 3 large blank rectangles are the rest of the H-Bridge...
I just haven't added the rest of the components yet...

It's a complete DC servo drive running a PID routine on the Mega88...

Currently it's got an IRF540 (Mosfet, needs 3 more)...
And the schottky is good for 20amps @ 100v....

Michael

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

what hex code did you burn to the mega? elm-chang's is for 2313?