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 09-14-2008, 01:36 PM
 
Join Date: Jan 2007
Location: US
Posts: 100
student1616 is on a distinguished road
solving noise issue using RC filter

Hi all,
i was doing some research on RC filter to be used with Mach3 to solve the noise problem.
till now i used AC and Dc servo systems.in AC servo system,iam facing lot of problem.imean estop and limitswitch triggered bcz of noise(i tried debounce function.went up to 3000.but no use).
i tried using shielded cables,grounding the machine but not use.
so after looking at below data,i think if we can place a proper,calculated low pass-RC filter between the BOB and LPT,it will solve the problem.
http://www.9w2bsr.com/2007/12/accomo...e-spindle.html
http://www.microstepping.com/sherline/2000cnc-5.stm

but i don't understand how to know ur cutoff frequency to calculate the required component values.
usually i configure mach to work at 35KHz(kernel speed).so shld i calculate the Rc near to this value?

i need some help and info here to solve my problem.
thanks and regards
Reply With Quote

  #2   Ban this user!
Old 09-15-2008, 08:24 AM
 
Join Date: Jan 2007
Location: US
Posts: 100
student1616 is on a distinguished road


need some desperate help here guys.
Reply With Quote

  #3   Ban this user!
Old 09-15-2008, 09:10 AM
 
Join Date: Jul 2004
Location: USA
Posts: 114
mcarvey is on a distinguished road
Buy me a Beer?

What size pullup resistor are you using on the estop/limit switches? Are you using shielded wire on all of the wires (especially motor ones) If you choose a small enough pullup resistor (lowish resistance, say .2-.5K ohm) you should be able to solve all of your estop/limit switch problems.

-Matt
Reply With Quote

  #4   Ban this user!
Old 09-15-2008, 10:27 PM
 
Join Date: Jan 2007
Location: US
Posts: 100
student1616 is on a distinguished road

i made my interface card using this circuit.
http://www.cnczone.com/forums/attach...9&d=1211686493
it worked well on output side.but iam always facing problem with inputs.
with this circuit,the inputs will be always either low or hi(they won't be floating)

so do you recommend this? or shld i change the interface type.

thanks for the response.
Reply With Quote

  #5   Ban this user!
Old 09-16-2008, 12:01 PM
 
Join Date: Sep 2008
Location: Portugal
Posts: 26
PTtec is on a distinguished road

be careful... a pulse of 35khz have the main frequency of 35khz but is a square wave so it will have harmonics(35*2---35*4---35*xxx), so a rc filter possibly, is not the best way to solve your problem. try use diferents cables for difrents signals, with shields!
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-17-2008, 02:13 AM
 
Join Date: Jan 2007
Location: US
Posts: 100
student1616 is on a distinguished road

thanks for the reply.
i don't know much abt this RC calculations.
even though we use lower frequencies,we might face the harmonic issue right?
as i tried all the stuff of shielded cables etc,i want to try RC method also.
i just wanted to know how tough it is? is it worth placing inputs side,as it is the point where iam facing the problem.
frequent emergencies and false limit sensing.
Reply With Quote

  #7   Ban this user!
Old 09-17-2008, 03:23 AM
 
Join Date: Sep 2008
Location: Portugal
Posts: 26
PTtec is on a distinguished road

to see how the square waves are composed visit:
http://en.wikipedia.org/wiki/Square_wave
here you see that (in ideal way) a square wave is composed by a adiction of very waves of sinusoidal type with freq multiple of the main frequency
so if you want yse filters you have to make several filters of pass band type each one with central frequency of the component that you want alow pass. Or else a low pass filter with cuter frequency of ('x'*Fsquare) and in my opinion 'x' must be at minimun 7, but i tink that for your aplication is not a good solution!!
to see about low pass filters see:
http://en.wikipedia.org/wiki/Low-pass_filter
Reply With Quote

  #8   Ban this user!
Old 09-17-2008, 04:03 AM
 
Join Date: Sep 2008
Location: Portugal
Posts: 26
PTtec is on a distinguished road

in my first reply i maked the sum with even harmonics... wrong are the odds!
visit the link for a simpler description of a square wave
http://www.fly.net/~ant/bl-synth/4.harmonics.html
bruno
Reply With Quote

  #9   Ban this user!
Old 09-17-2008, 10:08 AM
 
Join Date: Sep 2008
Location: USA
Posts: 115
DaveDoesIT is on a distinguished road

Originally Posted by student1616 View Post
i was doing some research on RC filter to be used with Mach3 to solve the noise problem.
Have you tried asking on the Mach3 groups?

http://www.machsupport.com/forum/index.php

http://groups.yahoo.com/group/mach1mach2cnc/messages

Dave
Reply With Quote

  #10   Ban this user!
Old 09-17-2008, 11:44 AM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,342
neilw20 is on a distinguished road
Cool student1616

While you are lazy with your shift key, that same attention to detail with earthing and shields also applies. now i've had that gripe...
Think of the CURRENT that passes through conductors. If a current can flow because something is terminated then voltage can be induced in that conductor.
Output wires will induce current to flow in other conductors.
The purpose of a shield is exactly that it is a shield.
If it is terminated at both ends, then current can be induced in it and it's shielded wiring.
There is not enough space here, but simply put -- GET RID OF INDUCED CURRENTS.

Learn proper wiring practices and understand why it is done a particular way.
Circuit board layouts suffer the same problems. Any loop can have current induced in it.

I have had to mix audio cables with cables running 800A pulsed and it can be done without any filters. UNDERSTAND INDUCTION. PROBLEM SOLVED.
__________________
Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.
Reply With Quote

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- solidcam part solving help nero81 SolidCam 11 07-01-2008 07:39 PM
Help with selector switch wiring issue (***actually a motor issue***) BEDFORD Industrial Hobbies (Support forum) 7 04-07-2006 03:19 PM
Help solving a motor problem??? barmybovine PicStep Controllers 2 04-05-2006 07:53 PM
Self cleaning Filter Rance DIY-CNC Router Table Machines 5 01-18-2006 11:58 AM
Problem solving forum? lsfoils CNCzone Club House 3 10-05-2003 01:49 PM




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