CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > OpenSource CNC Design Center > Open Source Controller Boards


Open Source Controller Boards Discussion for Open Source CNC type Controller Boards and other related items. (for personal use only)


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-28-2009, 08:15 AM
 
Join Date: May 2007
Location: France
Age: 24
Posts: 106
MaX-MoD is on a distinguished road
YAPSC:10V : The glue between Step/dir and +/-10V servo amp

Hello everybody,

Got a nice industrial servo amp taking analog command, and want to use it with MACH3 ou EMC2 with STEP/DIR? You are at the right place!


Yesterday I successfully tested my first proto of YAPSC:10V. Whereas it still lack some documentation it is ready for production, I am getting pro made PCBs and components order soon.
This board is based on a dsPIC30F4012, and uses a modified code from Lawrence Glaister's dspicservo.

On top of that, it is Open Source (GPL) so you can modify it to your needs!

FEATURES :
  • Takes position feedback from quadrature encoder on the servo (resolvers cannot be used directly but some amps can output quadrature signals from the resolver feedback)
  • Compatible with both torque and speed controlled amps
  • Takes STEP/DIR command from PC
  • ENABLE signal from PC can disable the amp
  • Output amplitude can be selected from +/-0V to +/-10V, to feed +/-10V or +/-5V amps
  • Jumper selected TTL or differential quadrature encoder input
  • FAULT input from the servo amp
  • Reset/ENABLE output to the servo amp
  • One additional input for future use
  • Programmable max error limit : 0 (disabled) to 32768
  • PID tuning program for linux, windows (and probably Mac OS) : YTT (under development)
  • STEP/DIR input multiplier (allows faster speed)
  • 1MHz max step and encoder rate!
  • etc.

NOTE: There is NO power stage on this controller! It is specially designed to control those industrial speed or torque drivers.


CODE, SCHEMATICS AND PCB :
here (3.6MB file)

PICTURES :
3D view from KICAD
PCB
first proto in test

VIDEO :
This is a sneak preview to show how fast and accurate it actually is. The servo is a 0.5KW (~3/4hp) 3 phases servo from Seidel driven by a Digifas 7200 and YAPSC:10V. It's quite impressive knowing it goes from 0 to 2000 rpm in less than 0.3 seconds!
STEP/DIR input is from EMC

NOTE (legal part):
You can compile the dsPIC's firmware with the free student version of MPLAB C30 compiler. In that case, any other use than research/study is strictly forbidden (limitation due the compiler's student licence).
Yet zip contains the project compiled with a full licence of MPLAC C30 compiler so the only limitations is from the GPL licence (read included gpl-3.0-standalone.html for more infos)
I will take no responsability in case of personal injuries or material damages! This project comes without any warranty and support! ...altough I will be pleased to answer you questions



That's all folks!

Last edited by MaX-MoD; 03-01-2009 at 03:10 AM.
Reply With Quote

  #2   Ban this user!
Old 02-28-2009, 11:28 AM
 
Join Date: Jan 2006
Location: USA
Posts: 1,766
keebler303 is on a distinguished road

MaX-MoD

Looks great. Please let us know when you have the chance to get an english manual written, my French isn't quite up to the task.

Thanks
Matt
Reply With Quote

  #3   Ban this user!
Old 02-28-2009, 02:06 PM
A.A A.A is offline
 
Join Date: Oct 2008
Location: LA
Posts: 32
A.A is on a distinguished road
Power Stage

What about the power stage of this controller ? if some one is not having a nice industrial servo amp.
Reply With Quote

  #4   Ban this user!
Old 03-01-2009, 03:07 AM
 
Join Date: May 2007
Location: France
Age: 24
Posts: 106
MaX-MoD is on a distinguished road

I am translating the manual to English in my free times, so it cannot go very fast...


A.A, this board has no power stage, it is specially designed to control those analog input industrial drivers.
But I have another project, YAPSC:V2, wich will include power stage.
Reply With Quote

  #5   Ban this user!
Old 03-01-2009, 03:57 AM
jalessi's Avatar  
Join Date: Feb 2007
Location: U.S.A.
Posts: 3,155
jalessi is on a distinguished road
Question

MaX,

I have some brand new Sanyo Denki BL Super PV 30 amp drives.

Model PV1A030SGDNP50

http://www.motiononline.com/PDF%20Fi...COS_Manual.pdf

I beleive it is a either Devicenet "CAN" or Sercos Interface.

Do you think you could adapt your interface so these drives would be able to take Step and Direction commands?

Jeff...
__________________
Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-01-2009, 06:09 AM
 
Join Date: May 2007
Location: France
Age: 24
Posts: 106
MaX-MoD is on a distinguished road

Jeff, I fear SERCOS interface is a lot more complicated that analog output. I should be able to do it but the problem is that it will take me so much time I cannot afford...
I don't know if regular PC's UART (com port) are physically adapted for SERCOS link, but maybe the easier thing to do is to write a HAL driver for EMC that would output SERCOS commands on the serial port (or maybe on a fiber optic Ethernet card), because it seems that SERCOS takes directly velocity&position commands.

Or maybe the IDN80 "torque command value" is enough to control the amp...
In that case, maybe a simple fiber optic transmitter linked to YAPSC:10V and a some modification to the code could be enough?
But SERCOS technical description isn't free nor easy... good luck


Regards,
Max
Reply With Quote

  #7   Ban this user!
Old 03-01-2009, 09:39 AM
 
Join Date: Jan 2006
Location: USA
Posts: 1,766
keebler303 is on a distinguished road

Max

I ran your french manual through google page translator and it does a decent job. Maybe that would save you some time on getting the english version done. It may be more trouble than its worth as there is a lot of literal translation which is not correct. There is a lot of talk about food for the MOSFETs.

Keep up the good work
Matt
Reply With Quote

  #8   Ban this user!
Old 03-01-2009, 04:07 PM
 
Join Date: Sep 2007
Location: u.s.a.
Posts: 20
tecfacet is on a distinguished road

hello max ...

are boards available? i would like to get a few to test.

i also would like to build a step/direction servo power amp.

please contact me at tecfacet@yahoo. com

take care.

roger
Reply With Quote

  #9   Ban this user!
Old 03-01-2009, 10:51 PM
 
Join Date: Dec 2008
Location: VN
Posts: 51
nhatson.elec is on a distinguished road

Dir Max

about jumper P7, P8, P9 . when it need conect to 2,5V?
your encoder interface can direct connect to ac servomotor encoder? (replace for 26ls32 chip?)

thanks

regards

Last edited by nhatson.elec; 03-02-2009 at 01:23 AM.
Reply With Quote

  #10   Ban this user!
Old 03-02-2009, 05:41 AM
 
Join Date: May 2007
Location: France
Age: 24
Posts: 106
MaX-MoD is on a distinguished road

P7-9 should be placed for single-ended TTL encoders; otherwise the input is similar to 26ls32 chips : Differential line

More infos in the upcoming manuel.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-02-2009, 06:56 AM
 
Join Date: Jan 2005
Location: USA
Posts: 2,348
mactec54 is on a distinguished road
Buy me a Beer?

Hi MaX-MoD

A much needed Glue as you put it Step/Dir to Analog good job

Get it all finished MaX before doing any changes for anybody or it will never get done I have seen many come & go because the requests for change over take the main unit to get done

So guys let him get it out Here in the market place before you request change for your needs
__________________
Mactec54
Reply With Quote

  #12   Ban this user!
Old 03-02-2009, 08:57 AM
 
Join Date: Mar 2008
Location: USA
Age: 59
Posts: 2
KCrouch is on a distinguished road
Some missing files

Hi,
I downloaded the zip file and tried to open the schematic. There is a message that says that the following files can't be found. They are missing from the zip.
optocoupler-2.lib
linear4.lib
cap-vishay-153clv.lib
ref-packages.lib
HD15_B.lib
connect.lib
Can You add them to the zip or send them to me at kcrouch@comcast.net please.
Thanks,
Kenny
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gecko PID step motor servo Mariss Freimanis Gecko Drives 109 10-23-2011 04:47 PM
Servo step multiplier JerryFlyGuy Servo Motors and Drives 8 05-15-2007 02:20 PM
Units Per Step For Servo bgolash Mach Software (ArtSoft software) 1 02-14-2006 01:46 PM
Servo and Step motors Dre361224 General Electronics Discussion 2 06-08-2005 08:33 PM
stepper, half step, servo?? which to get? blazer928 General Electronics Discussion 4 04-13-2005 12:28 PM




All times are GMT -5. The time now is 12:57 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361