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 > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-22-2008, 11:18 PM
 
Join Date: Jan 2006
Location: USA
Posts: 43
JpBinc is on a distinguished road
Mach 3 VFD speed control

Hello all
Can anyone tell me where I can find a good schematic of a vfd spindle speed interface controler for Mach 2 or 3. I have converted an X3 to a belt drive ac motor and this is the last part of the conversion. Now I know you can buy them but am kinda a homebrewer. I have burned quite a few boards with pics, dac's and adc's etc.. but am not sure how to go about converting the digital io's / pwm to my hitachi sj200 vfd. It looks like there are two different methods for controling output speed/freq. 0 to 9.8 volts @ 10k or 4 to 19.6ma @ 250 ohm. Since I am not use to working with variable current designs. I think that the variable voltage route is the way to go, but I am open to any suggestions. Maybe even a microchip pic pwm capture and compare to dac would work. Any ideas...
Thanks
JpBinc

Mills specs...
X3 cnc'd, steppers, closed loop, ballscrews, gecko's, converted to belt drive spindle 3 phase 1.5hp metric 4 pole motor. 480ipm xy 300ipm z
Reply With Quote

  #2   Ban this user!
Old 07-23-2008, 12:00 AM
 
Join Date: Jun 2008
Location: USA
Posts: 74
dareposte is on a distinguished road
Hitachi VFD

I am working on a circuit for my Hitachi X200 VFD. The X200 takes a 0-10v signal input to accelerate across a programmed range of speeds. I am using EMC2, which like Mach3 only takes digital pulse IO.

My plan is to use a PIC to take a pulse train (PWM) out of EMC2, and use the IO on the PIC to program a variable resistor. With a 10k variable resistor, a 14.7K fixed resistor, and a 24VDC power supply then you can get 0-10v across the variable resistor in a fairly fine step. The other option would be an el-cheapo D/A chip like one made by Analog Devices, or even a RC filter and Op-Amp has been used.

The RC filter and Op-Amp is very simple, basically converting a PWM duty cycle into a fractional voltage by charging a capacitor, then buffering the output using an Op-Amp follower. If you search around on Google there are a couple of examples if I recall.
Reply With Quote

  #3   Ban this user!
Old 07-23-2008, 08:51 AM
 
Join Date: Jan 2006
Location: USA
Posts: 43
JpBinc is on a distinguished road

Thanks for the input. I have looked at digital pots like the one offered by dallas semi before. Not sure of the load they can drive. The input impedance of the sj200 is 10k. I'll have to check the specs. I like the op amp idea. I seems like it would be smoother output since it does not have the overhead of a pic.. I have never found a good way to use a loop command to keep checking if the driving signal (input) has changed without a small interuption in the output wave form. I guess a higher end pics may have hardware pwm input but not again not sure..
Reply With Quote

  #4   Ban this user!
Old 07-23-2008, 11:11 AM
 
Join Date: Jun 2008
Location: USA
Posts: 74
dareposte is on a distinguished road
Op-Amp circuit

Here's a link to the Op-Amp circuit I was recalling.

http://controls.ame.nd.edu/microcont...in/node40.html

It shouldn't be too hard to breadboard and get it working reliably before making it permanent with just a trial/test approach using standard components. Obviously you'd have to adjust the op-amp gain settings pretty carefully to get a full-scale swing from 0-10v, and watch carefully for any jitter in the output as it would most definitely not be good for surface finish. Maybe add in a low-pass filter on the output stage of the Op-Amp to help tame any positive feedback that develops.

I was reading my Hitachi X200 manual, and noticed it can receive MODBUS commands. This brought up the idea to maybe use a PIC to decipher a PWM output from the control software, and generate a modbus compatible command for the X200 using the usart. I'm not sure what the latency would be, but it might not be too bad. Modbus is pretty easy to use, too.

I just got a 4U rackmount case in, so I will begin the new wiring soon. I have the parts on hand to build an op-amp follower type circuit, so I will probably start with that to see how it goes.

Best of luck, and thanks for the ideas.
Reply With Quote

  #5   Ban this user!
Old 07-23-2008, 06:51 PM
 
Join Date: Jan 2006
Location: USA
Posts: 43
JpBinc is on a distinguished road
Found this to day

I found this on the net today. It opto isolates and uses r/c to output 10v looks good. The author says it works too. I am going to investagate a little more and maybe build one. Then set it up on my oscope to see how well it works.. It just can not be that simple.
http://www.9w2bsr.com/2008/01/pwm-to-analog-update.html
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-23-2008, 06:55 PM
 
Join Date: Jan 2006
Location: USA
Posts: 43
JpBinc is on a distinguished road
Thats a cool idea

I like the op amp schematic.. I just wonder how stable it is. I have had some op amps do weird things without any reason. ( maybe bad design on my part ) I think I will bread board it with a opto front end to protect my computer. Thanks for the suggestions..
Reply With Quote

  #7   Ban this user!
Old 07-23-2008, 07:00 PM
 
Join Date: Jan 2006
Location: USA
Posts: 43
JpBinc is on a distinguished road
Mod bus

I will have to look into that. It would solve some of the inherent problems of converting pwm..
Reply With Quote

  #8   Ban this user!
Old 11-30-2008, 08:19 PM
 
Join Date: Jan 2006
Location: USA
Posts: 43
JpBinc is on a distinguished road
problem solved

I now have a pwm to analog schematic that has proven to work. It is based a design built around a 4011 Nand gate ic. The op amp idea was good but finding one that really went rail to rail proved to be a problem. I will post a schematic on my web site.
Reply With Quote

  #9  
Old 11-30-2008, 08:38 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?

You could try feeding the op amp output into a H11F1 opto, the ouput of this opto is a variable resistance that varies with input voltage.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #10   Ban this user!
Old 06-24-2010, 11:10 PM
 
Join Date: Aug 2009
Location: India
Posts: 3
srikrish is on a distinguished road
Regarding Mach3 CNC

Hi
I am Srikrish R from India, I am new to Mach3, I would like to know the following , Please send me the details for the following :

1) Whether I can use VFD drives to control the X and Z axis for my lathe machine, as the VFD drive accepts 0 - 10 VDC analog voltage to control the drive, and i am having the circuit to convert STEP pulse from the LPT port to 0-10VDC analog voltage. in this case whal will be the accuracy.

2) Whether I need to use any feedback device like encoders or Linear scales.

3) If i use stepper motor with stepper amplifier, whether i will get good accuracy.

please send me the above details immediately my email id is : rsrikrish1984@gmail.com
Reply With Quote

Sponsored Links
Reply

Tags
mach3 control, schematic help, spindlespeed, vfd




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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to measeure spindle speed with mach markus_detroy DIY-CNC Router Table Machines 1 05-11-2008 05:21 PM
Need Help!- Seig x2 Speed Control and c6 Control Board skmetal7 Benchtop Machines 2 04-21-2008 03:17 PM
speed of mill/drill with mach 3? Runner4404spd Mach Software (ArtSoft software) 4 12-13-2006 09:55 AM
BPSeriesI / Centroid control- Spindle speed all out of whack with speed dial? peter.blais Bridgeport and Hardinge Mills 9 08-08-2006 03:29 AM
How Mach 3 handles spindle speed jderou Mach Software (ArtSoft software) 3 09-19-2005 07:22 AM




All times are GMT -5. The time now is 09:32 PM.





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