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! > Electronics > Servo Motors and Drives


Servo Motors and Drives Discuss servo motors, drivers and other related topics here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #25   Ban this user!
Old 11-30-2005, 03:31 PM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,162
Xerxes is on a distinguished road

Originally Posted by andy55
iramx: yes, that is what I have drawn there right now. need to find some 3.3V compliant optoisolators to put inbetween irmck and iramx.
Most optocouplers do have diode forward voltage of 1.2 to 1.7V. So 3.3V is no problem. It just needs smaller resistor value compared to 5V input.

BTW, it's really nice to see multiple AC drive projects going on. It will be interesting to see how MCU based design compares to IRMCK based one.
Reply With Quote

Sponsored Links
  #26   Ban this user!
Old 11-30-2005, 03:55 PM
 
Join Date: Oct 2005
Location: usa
Posts: 16
lolailando is on a distinguished road

I just got a CNC engraver and I was thinking to mill the PCBs. I have never done it, but I have seen examples on the net. I need to install some software and try milling a couple of them. I am not sure if it will be able to mill that precise, but I am optimistic.
Send me some files with a qfp100 to mill some boards just for testing the engraver at least.
And we will see how they come out
If it works I will mill you some boards
sorry I didn't look good enough to your schematic before posting, I missunderstood your message.
Reply With Quote

  #27   Ban this user!
Old 11-30-2005, 08:43 PM
 
Join Date: Sep 2005
Location: Indonesia
Posts: 43
johan_tr2000 is on a distinguished road

It is nice to have someone start the big step to realize the project. Great job Andy55.
BTW, I think we do not need to isolate the IRMCK from IRMX, becouse IRMX have the insulation it's selft (like IR2137). I think we should insulate the RS-232 out from PC. Correct me if I am wrong.

Regards,

TR2000
Reply With Quote

  #28   Ban this user!
Old 12-01-2005, 10:36 AM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,162
Xerxes is on a distinguished road

Optoisolation might not be necessary at all if a transformer isolated power supply is being used. I think Rutex boards don't have any kind of isolation (correct if I'm wrong). But of course isolation provides protection if something goes terribly wrong.

Hmm. How about those isolated RS-232 adapters sold in many places?
Reply With Quote

  #29   Ban this user!
Old 12-01-2005, 12:06 PM
 
Join Date: Apr 2005
Location: finland
Posts: 262
andy55 is on a distinguished road

worked a little bit on the schematics today also, see attachment.

I really like the idea of isolating all the HV stuff. It's not nice to blow up computer + motioncontrol card etc. the first time testing the servodrive...
so I have put HCPL optoisolators between IRMCK and IRAMX + IR2175
I also re-named the high voltage ground to GNDHV, it's now separate from logic ground.

a few of my earlier questions were answered, but a lot remains:
- at24 eeprom: what to do with the pins that are not connected
- emi suppression caps for HVDC bus
- as it is now the HVDC-bus sensing (for braking) is not optoisolated in any way. The voltage is coupled thru 2MOhm resistors to the op-amp. maybe that's enough ??
- what to do with the Itrip/Temp output from the IRAMX ?
some trivial stuff that I have not had time to do:
- size of braking resistor + braking IGBT type ?
- RS232 pinout
- regulators: 5V input for logic side, need 3.3V regulator
15V input for HV side, need 5V regulator
- filtering caps for all ICs
- choose OC-sense FET
- size of series resistors for 3.3V driven LEDs (REDLED, GREENLED, HCPL2531 optos) ?

looks like it will fit on a double sided 100x220mm eurocard.
I threw the components in preliminarily... the autorouter finds a solution for double sided pcb (with a lot of vias ofcourse...some erroneously under irmck etc...) see attached JPG.
please don't go off and build something like this, it's just a very preliminary test.

maybe we should change all components to SMD and make it fit on the smaller standard eurocard 100x160mm which all boardhouses seem to quote cheap prices for ?

you will see I have used a bnc connector for the torque command, db9 for rs232, db15 for encoder+hall. 2/3 screw-terminals for DC power and motor.

now I'm thinking maybe I want two db15 connectors for enc+hall, one input for the drive and one output for passing on the signals to motioncontroller.
the rs232 could be a temporary header somewhere in the middle of the card since it is only used for tuning the system.

EDIT: attachments removed, see end of this thread for current version

Last edited by andy55; 12-02-2005 at 02:34 PM.
Reply With Quote

  #30   Ban this user!
Old 12-01-2005, 08:57 PM
 
Join Date: Oct 2005
Location: usa
Posts: 16
lolailando is on a distinguished road
eeprom

I think the three pins A1 A2 A3 should go to ground. That's the hardwire identifier for position zero, which I guess should be the default position when using only one eeprom IC. I have looked at the registers and I haven't seen any where any bit that adresses eeprom IC position.
Nevertheless I have emailed irf to check on this. I will post it when I get an answer.
I think all smd is good if it makes the board cheaper. We can allways rerun a new design with through hole components later.
good work andy!!
Reply With Quote

Sponsored Links
  #31   Ban this user!
Old 12-02-2005, 08:16 AM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,162
Xerxes is on a distinguished road

Originally Posted by andy55
- as it is now the HVDC-bus sensing (for braking) is not optoisolated in any way. The voltage is coupled thru 2MOhm resistors to the op-amp. maybe that's enough ??
- size of series resistors for 3.3V driven LEDs (REDLED, GREENLED, HCPL2531 optos) ?
Andy, you should notice that optocouplers are quite slow devices and IR2175 uses 130 kHz PWM frequency. Isolation might cause inaccuracy in current sensing.

And you can not use this kind of voltage sensing if you want isolated power stage. Grounds should be connected in your schematics. You could use an isolated opamp to do the trick instead. But if you feel that large resistor provides enough protection then why not just put large resistors between IRCMK and IRAMS? Maybe 50 kOhm with zener clamped voltages? 200 volts over 50 kOhm equals 4 mA current which can be easily absorbed by zener in case of fatal power stage destruction. Of course grounds would not be isolated so it might be dangerous to touch when powered.

I think it would be simpler isolate all I/O and let IRCMK be in the power stage side (like it's meant to be?).
Reply With Quote

  #32   Ban this user!
Old 12-02-2005, 02:29 PM
 
Join Date: Apr 2005
Location: finland
Posts: 262
andy55 is on a distinguished road

Here's the result of todays work...

isolation: I am copying IR's example schematics where they always include isolation between IRMCK and powerstage so I assume isolation is required. Need to find optos that can cope with the 130 kHz of the IR2175. Motor phase PWMs should be lower, maybe 20 kHz.
The IRMCK measures both the duty cycle and the period of the current feedback pwm so if the optos introduce some pulse shaping then that should effect both period and duty cycle ? (=so no effect on irmck)

questions/comments compared to last version
- at24 eeprom
still have one pin not connected 'WP' ?
- emi suppression caps for DC bus:
there's room for about 4-5, how many are needed and what values ?

there's also room for more bootstrap cap's if they are needed. from reading the datasheets it's still unclear to me if IR recommends more of them or not...
do we put one braking resistor + IGBT per drive or just one braking resistor/IGBT in the psu and have the drive signalling the psu ?
'solved' this one by removing DC-bus sensing and braking altogether. maybe better to have it on the psu.
likewise (removed) for 'ITrip' and 'OC sense' inputs for IRAMX. Don't know where these would be connected so I have removed them.
- use mainly SMD or thru-hole ?
Now it's SMD for IRAMCK, 3.3V regulator, XTAL. the rest is thru-hole and it seems to fit OK onto a duoble sided 100x160mm eurocard.
- where to put the current sense resistors (irmck201 datasheet has them low-side, ir2175 datasheet has them high-side)
included them right on the motor wires like on the ir2175 datasheet. 1W SMD resistors should be big enough ? probably 20 mOhm for my 400W motors.
- connectors: logic DC in, encoder, hall, analog in, HV DC, motor, analog out
encoder+hall = one db15 connector
encoder+torque command to motioncontroller = one db15 connector (coax/bnc for torque command was probably overkill)
hv power (+HV, +15V, GND) = one 3-pin screw terminal
motor = one 3-pin screw terminal
do we need protective earth for motor also ??

RS232 is included as a 10-pin ribbon cable header in the middle of the board.
IFBCAL and FLTCLR_IN pins might be needed during setup/debugging so I have included small pushbuttons for them.

Also included 'enable' and 'fault' from motioncontroller. Maybe enable should also go to 'gatekill' on the irmck, but that pin is not 5V compliant so would need 5V->3.3V conversion (some chip?)

the autorouter finds a 2-sided solution quite quickly but it's not very pretty, 70 vias or so...

comments please ! (thermal design/requirements anyone?)

edit: if you're curious about the colors in the pcb layout they are as follows:
yellow: logic GND
light green: logic +5 V
modified green: logic +3.3 V
and on the high voltage side,
orange: HV GND
light blue: +HV
green: +15 V HV
dark yellow: +5 V HV

edit: attachment removed, see end of thread for newer version

Last edited by andy55; 12-08-2005 at 03:10 PM.
Reply With Quote

  #33   Ban this user!
Old 12-02-2005, 09:35 PM
 
Join Date: Oct 2005
Location: usa
Posts: 16
lolailando is on a distinguished road

eeprom at24:
Pin WP should probably get a switch or a jumper
To ground= normal read/write operations
To Vcc= write protect the full 1k memory.
It is probably a neat option to load the parameters into the eeprom and being able to write protect them in hardware, otherwise that pin could just go to ground.
Great work!!
Reply With Quote

  #34   Ban this user!
Old 12-06-2005, 11:22 AM
 
Join Date: Apr 2005
Location: finland
Posts: 262
andy55 is on a distinguished road

I converted most components to SMD so now there is no boardspace problem.
added protective earth connection between psu and motor connectors

still unresolved:
- do we need faster optoisolators than hcpl0531 ?
- what to do with iramx Itrip/Temp output ?
- what to do with suggested iramx shutdown circuit ?
- how to convert 5V TTL enable signal for irmck201 gatekill (3.3V)
- how to sense the DC bus voltage in an isolated way
- lots of pins not connected on the irmck201, tie to ground or leave NC ?

if and when these issues are resolved it's time to throw together a prototype. I might be able to mill a 2-sided proto pcb... otherwise I will have to order from olimex or similar. the current board is with smallest traces of 12mil and smallest clearance 6mil so it is not childs play to mill it...

and, some work on the software side for rs232 communications is probably needed...
Reply With Quote

  #35   Ban this user!
Old 12-06-2005, 07:43 PM
 
Join Date: Sep 2005
Location: Indonesia
Posts: 43
johan_tr2000 is on a distinguished road

I still thinking about the insulation. Why we need that much insulation. I think we can let the IRMCK201, IRAMX, ADS7818, IR2175 with the same ground reference.
What we need is to insulate the RS-232 from the PC. If we need to use the osciloscope for throubleshooting, just use the Insulation Transformer (input 110V/220V, out 110/220V, depend on your local power line) to power the Osciloscope or other device needed for throubeshooting.

This will simplified the total design & cost. Once we have get the job done we do not need any more the Insulation Transformer.

Please give some comment, and correct me if Iam wrong.

Thanks

TR2000
Reply With Quote

Sponsored Links
  #36   Ban this user!
Old 12-07-2005, 08:15 AM
 
Join Date: Oct 2005
Location: usa
Posts: 16
lolailando is on a distinguished road

I spoke with IRF tecnical support and they recommend no optocoupler for the current feedback.
About the unused pins they recommend to only leave unconnected the pins that have internal pull up/down.
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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