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 07-23-2007, 08:01 AM
slp_prlzys's Avatar  
Join Date: Mar 2004
Location: Canada
Posts: 210
slp_prlzys is on a distinguished road
dsPic-Servo

It's been a while since my last post.

Here, as if there's not enough projects here to keep some of us busy.
I found this http://members.shaw.ca/swstuff/dspic-servo.html
haven't tried it yet tho, doing something else for the moment.

If any1 ever build this please post result.
__________________
Mhel
"me and my unselfish genes"
Reply With Quote

  #2   Ban this user!
Old 01-10-2008, 12:18 AM
 
Join Date: Feb 2006
Location: Canada
Posts: 45
tfmacz is on a distinguished road

Originally Posted by slp_prlzys View Post
It's been a while since my last post.

Here, as if there's not enough projects here to keep some of us busy.
I found this http://members.shaw.ca/swstuff/dspic-servo.html
haven't tried it yet tho, doing something else for the moment.

If any1 ever build this please post result.
I have 2 of these running the X and Y on my cnc router.
Reply With Quote

  #3   Ban this user!
Old 01-28-2008, 11:13 AM
 
Join Date: Dec 2007
Location: tr
Posts: 1
fikretduru is on a distinguished road

thanksss
Reply With Quote

  #4   Ban this user!
Old 01-28-2008, 03:38 PM
 
Join Date: Feb 2006
Location: Canada
Posts: 45
tfmacz is on a distinguished road
Further Development on this project.

There is some further development on this project under way.

I have a working prototype of a higher current version that uses two op-amps in parallel to increase the current capacity of the drive.

I have some larger motors that I would like to use that require more current than a single op-amp can provide.

Also, I am building a version that uses two op-amps as an H-Bridge to give me higher voltage capability. Hope to have a working prototype in a few days...

There is a U-Tube video of the servo drive in action.


Cheers...
Ted
Reply With Quote

  #5   Ban this user!
Old 02-26-2008, 10:35 PM
 
Join Date: May 2003
Location: Australia
Posts: 33
babinda01 is on a distinguished road

Hi Ted,
I have been looking over this project and am quite interested. Do you feel there is much work required to get this to work with a HBridge????
Regards
Andrew
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-27-2008, 07:55 AM
 
Join Date: Feb 2006
Location: Canada
Posts: 45
tfmacz is on a distinguished road

The present design relies on the op-amp power stage to look after current limiting. The dsPic controller outputs a pwm signal which is filtered to a voltage proportional to the required output current.

The new design uses 2 op-amps as an h-bridge. The design should be capable of up to 60 volts and 7 amps, which are the op-amp specs.

I have not fully tested the new design but initial test look good.
It runs the servo and didn't let the smoke out of anything.
Reply With Quote

  #7   Ban this user!
Old 03-04-2008, 06:21 PM
 
Join Date: Mar 2005
Location: usa
Posts: 509
smarbaga is on a distinguished road

hello
perhaps check out some of these op amps
http://www.ife.tugraz.at/datashts/nsc/h8710.pdf
http://www.ortodoxism.ro/datasheets/...wn/mXuussw.pdf
(opa447,548,549)
perhaps a few lm3886 gain clones ($6.00 each)
_________________________________________
e_mail recieved about lm3886
Cool, glad you liked it!

Yes I think the National chips would make great servo drivers. Not that the
LM1875 I had in the drawer ever got used for that. Just treat them as an
ordinary opamp and as long as you run them with a high enough gain (above
10 to be safe) and good power supply decoupling they should work as
expected without stability problems.

One thing I noticed though is they don't like a lot of reverse current
(regenerative braking), as this places maximum stress on the output devices
(I think). I think they are protected to an extent but it would pay to run them
well below their power limit and with really good heatsinking, or at least drive
one hard and see if it survives whatever mode of operation you want to throw
at them. A really well protected chip will run without a heatsink, it'll just cut in
and out.

Best of luck!

- Antony.

--------------------------------
From: "smarbaga"
To:
reguards garry

Last edited by smarbaga; 03-05-2008 at 11:27 AM.
Reply With Quote

  #8   Ban this user!
Old 03-06-2008, 03:26 PM
 
Join Date: Jul 2005
Location: Iraq
Posts: 80
waleed alhadidi is on a distinguished road

A PIC 30F4012 is used in this controller
Can I use an alternative PIC instead of this one ? like the 16FXXX to do the same job ?

Thanks
Reply With Quote

  #9   Ban this user!
Old 03-06-2008, 11:30 PM
 
Join Date: Feb 2006
Location: Canada
Posts: 45
tfmacz is on a distinguished road

The 30F4012 has built in provision for the quadrature input and hardware counter for the input from the encoder.

the 16F pics do not have this.
Reply With Quote

  #10   Ban this user!
Old 03-09-2008, 06:26 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Originally Posted by tfmacz View Post
The 30F4012 has built in provision for the quadrature input and hardware counter for the input from the encoder.

the 16F pics do not have this.
How about the dsPIC30F2010 ?

I am interested in trying this and using the PWM drive signal and direction signal, converting this using logic into PWM and NOT PWM and feeding this straight into a discrete H-Bridge.

Any thoughts would be appreciated.

Nice work so far btw.

Russell.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-03-2008, 12:16 PM
 
Join Date: Jun 2007
Location: usa
Posts: 6
ladzhari is on a distinguished road

I'm (slowly) working to convert the output routine to h-bridge operation compatible with a hip4080/81 bridge driver so I can make some with only junk box parts.

The way it's put together should make it really simple to convert, it already does the PWM by itself so it's just a matter of getting a "direction" signal out of the PIC, coming up with a way to limit the current, and making sure that the deadband operation is OK. I think all of this stuff is in a single function in the code.

kudos to Lawrence/Tom for putting together and sharing such a well documented and great project.

Also:
I think at some point I read that someone else was doing the exact same thing, but I lost track of it?

Last edited by ladzhari; 06-03-2008 at 05:11 PM. Reason: said wrong chip!
Reply With Quote

  #12   Ban this user!
Old 06-04-2008, 01:31 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

I would be interested in how you go, I have put together a board, and logic to use the output from the DSPIC to drive a discrete bridge, but I think the PWM output needs to be inverted, as 4.75 V is zero current and 0V is full current from the original Op Amp configuration, I got distracted and have not been back to try again. I also couldn't get any serial comms so there were other issues with my board, I don't think I set the clock configuration correctly.

I have a friend that used the DSPIC servo with a different op amp (smaller) to drive +- 10V industrial drives and it works very well, just have to get it working with discrete's.

Russell.
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
Servo drive / Servo Amplifier Ken_Shea Servo Motors and Drives 9 07-10-2007 05:12 PM
first steps with dsPIC + IRAMS AC servodrive andy55 Servo Motors and Drives 7 07-10-2007 01:55 AM
pm feild servo servo eloid Servo Motors and Drives 4 03-03-2007 04:27 PM




All times are GMT -5. The time now is 12:52 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