![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi there! I'm having a nightmare with a motor and an optical encoder, When I test the setup with the motor I want to use (a planetary 12V DC, precious metal brushes), the optical encoder seems to generate additional false pulses whenever the motor is moving, so it creeps and looses it's position very quickly. I have another, cheaper and dirtier 12V motor which is 50% more powerful, and it exhibits ZERO encoder errors/ creep when wired into the same circuit, even when moving very quickly. If I turn the encoder by hand, even very fast moves won't confuse it, the software side is working very well. So, I assume that these false Encoder pulses generated when the DC motor is running are a result of EMI? This is my first serious encounter with EMI, I don't know the place to start looking in my circuit (see attached). Each IC is bypassed. I have tried with 1k and 10k pull-up resistors on the Encoder outputs, as it doesn't have them internally. Any tips on where to start my EMI reduction journey, or have I missed something else entirely? Jimbo |
|
#2
| ||||
| ||||
| Did you try connecting both 12v & 5v supply commons together, if they are not already? Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#4
| |||
| |||
| Here's an updated image- I've put in the regulator exactly how it is wired up. The whole circuit runs on the 12V and ground. The motor draws ~0.8A at stall, but it seriously interferes with the encoder/uC communication even when rotating unloaded, where current draw will be <100ma I believe. |
|
#5
| |||
| |||
| Your bypass caps should be .01 to .1u ceramics. The 10u don't work well at high frequencies. Also, are you using proper grounding techniques? Separate the high and low current grounds and joint at at single point as close to the big power capacitor as possible. |
| Sponsored Links |
|
#6
| ||||
| ||||
| You may want to ensure the motor frame is connected to the common earth ground as well as the P.S. commons. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#7
| |||
| |||
| Thanks for the quick reply! I think this is fine-- they are separate, and join only at the Ground pin of the regulator, right next to the 10uF cap which bypasses the 12Vin/Gnd pins of the regulator, i.e. bypassing the board's 12V input. Does this make sense? |
|
#9
| |||
| |||
| Putting the caps in parallel would be fine. Be sure to do it as close to each chip as possible. I believe some of the AVR chips have several supplies which must be bypassed. Be sure to check yours. If noise is a problem, try placing a RC filters inline with the encoders signal lines. You might also try a much bigger cap >1000u across the 12v supply. |
|
#10
| |||
| |||
| You have not mentioned anything about cable routing and connector assignments in your setup. Try routing the encoder cabling as far from the motor power wiring as possible. If you are going to put the motor and encoder wiring into a connector, separate them as much as possible, and don't share grounds or shields. Better still would be to use separate connectors. Put some 0.1 or 0.01 uF ceramic caps across the DC power inputs to the drive, as close to the drive as possible. Just a thought, but you mentioned pullup resistors on the encoder: are you seeing good logic levels on the encoder inputs at the chip at operating speed for the motor? Open collector logic tends to not be very fast. A last resort would be to use differential signalling between the encoder and drive. With good wire routing, good power supply layout and reasonably short wiring, that should not be necesary. Good Luck, BobH |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help!- ECN 1313 512 Optical Encoder | Gerisz | Servo Motors and Drives | 2 | 05-21-2009 03:10 AM |
| Need Help!- UGJMEE motor DC optical encoder | qwekw | Servo Motors and Drives | 2 | 04-09-2009 09:07 AM |
| Need Help!- optical encoder | mtk | Gecko Drives | 1 | 12-13-2008 12:27 PM |
| need help for SAGEM optical encoder | emilcnc | General Electronics Discussion | 5 | 10-02-2008 05:51 AM |
| Turn an optical mouse in an XY encoder | NitroXide | Linear and Rotary Motion | 12 | 06-10-2007 04:02 PM |