Sanyo Denki
A look at what is currently available on eBay
driving stepper motors problems?
I am using an at89c2051 to drive a stepper motor (h546 from sanyo denki). The motor is connected to an l293d which is directly connected to pins p2 to p5 of the mcu. However I am having a big problem with the motor - when the motor is spinning, sometimes if i try to read some input pins these are read as high even though physically these are grounded. I am thinking that the problem could be from noise coming from the motor and somehow propogating to the mcu - do you think this is the case? If so I might try using some photocoupler isolator such as the pc845. Moreover since I am not using any protection diodes could this be a problem of back emf? But the l293d should have these diodes internally, right? Or could it be that this problems is because my motor requires more current than the l293d can source? if so what can I do?
thanks
The optocoupling won't solve your problem I think. But I assure you it CAN be solved, if you pay attention to three things: current loops, spike control and coupling elimination. In a previous life I worked on daisywheel printers which use steppers, solenoids, motors and low-level optical resolvers - all routed together in flexible cable. And it all worked fine.
First, you need to isolate the stepper driver on its own supply loop. Star-tie its power and ground back at the supply, separate from the MCU. You can also filter the motor supply to catch differential and common-mode noise.
Next, you can also slow down the edge rate to the driver using an RC damper. This will reduce the spikes. Very important. Also consider using a lighter "hold" voltage when the stepper is parked vs. when it's operating. This will save considerable power.
Also, it looks like they recommend additional freewheeling diodes in the data sheet (link below). These will help catch the back-emf locally closer to the motor. I'd say it's a good idea (I've always seen them used.)
Finally, examine the routing of your sense wires. Are they subject to noise coupling from the motor wires? If so, you can reroute them or shield them. Ground them back at the MCU and also provide their supply from the MCU too. This prevents forming another current loop.
Another measure you can use is current-mode or differential signaling to reject common-mode noise. You will need some kind of buffer for that.
Items recently purchased from this site
SANYO DENKI B21M1K7MXR10 USPP B21M1K7MXR10, SANYO DENKI B21M1K7MXR10-B USPP B21M1K7MXR10B, Sanyo Denki 68AA150TFR02, Sanyo Denki 68AA150VFR00, Sanyo Denki 68AA150VFR00B, Sanyo Denki 68AA100FFR01, BL Super Servo Motor 20BM220MBP41 Sanyo Denki, SANYO DENKI BL SUPER P6 AC SERVOMOTOR P60B18750RXS00M, Sanyo Denki 65AA030VXR01, Sanyo Denki 65AA050VXR01, Sanyo Denki 65AA050VXR01C, Sanyo Denki 65BA008DDK01, Sanyo Denki 65BA030VDK02, Sanyo Denki 68AA050TXR21, RORZE ROBOTS UST81126R ROBOT SANYO DENKI MOTOR RR304L120 REFURBISHED , SANYO DENKI 68AA150TFR02 USPP 68AA150TFR02, Sanyo Denki BL Super Servo Amplifier 60BB030FXW10 Hitachi Seiki Drive Control NC, SANYO DENKI PY0A150E01XXYP01 NSFP PY0A150E01XXYP01, SANYO DENKI SERVO MOTOR P80B22450LCX2A *NEW*, Sanyo Denki Toyoda Drive A8PU05ABFW01 PRS-2777C PRS-2796C , OKUMA SPINDLE MOTOR SANYO DENKI VAC MOTOR VAC-MF7.5/5.5R-7.53-R1 MF7.55.5R-7.53R, Sanyo Denki P60B13150HBVT2 Servo Motor, Sanyo Denki P60B13200 Servo Motor, SANYO DENKI MC1K-U150 USPP MC1KU150, A8PU05ABFW03 SANYO DENKI AMPLIFIER DRIVE *NEW*, SANYO DENKI SERVO AMPLIFIER 20BA150FFWBOD 20BA150FFWB0D 2OBA15OFFWBOD 20BA150*M*, Sanyo Denki ABS Super Servo Amplifier 68AA150TFR02, SANYO DENKI P60B13150HCX23 USPP P60B13150HCX23, SANYO DENKI P60B13200LCX2C USPP P60B13200LCX2C, 61BM060BXAT0 SANYO DENKI AC SERVO MOTOR, SANYO DENKI / SERVO AMPLIFIER / PYOA015A1 - USED, Sanyo Denki BL Super Servo Amplifier 60BB075FXW16 Hitachi Seiki Drive Control NC, SANYO DENKI PY0A100E0XXYPH1 USPP PY0A100E0XXYPH1, NEW SANYO DENKI SANUPS E11A E11A302U002 HYBRID UPS WITH SOFTWARE RACK VERTICAL, Sanyo Denki A8PU10ABFW01, ABS Sanyo Denki Servo Amplifier 65AA015VXR01 #14027, A8PU05ABFW00 SANYO DENKI SERVO AMPLIFIER *1YRWRTY*, BROTHER CNC TC-225 SANYO DENKI 20BA150FFWBOD BL SUPER SERVO AMPLIFIER, SANYO DENKI P60B13200HBV00 USPP P60B13200HBV00, SANYO DENKI P60B18350HXV20 USPP P60B18350HXV20, SANYO DENKI P60B183530HXV20 USPP P60B183530HXV20, Sanyo Denki Servo Motor P60B13100HXS00M new 0195-00689, Sanyo Denki SanMotion Motor Q2AC10035HXS60M WORKING, Sanyo Denki Servomotor P60B13100HXS00M new 0195-00689, Sanyo Denki SanMotion Motor Q2AC10035HXS20M 0190-15639, SANYO DENKI 68AA050TXR21 SERVO AMPLIFIER , SANYO DENKI / SERVO AMPLIFIER/ PZ0A030AMA1P00 - USED, Sanyo Denki A8U05ABFW02, SANYO DENKI MC1K-U100 USPP MC1KU100, SANYO DENKI PY0A150E0XXYPH1 USPP PY0A150E0XXYPH1, SANYO DENKI BL SUPER 27BA030FXT33C AMPLIFIER/DRIVE , SANYO DENKI SERVO MOTOR 27BM220BBT10R2, SANYO DENKI PZ0A100HP36SH0 USPP PZ0A100HP36SH0, SANYO DENKI SERVO AMPLIFIER BA020FFWB-301 BA020FFWB301 A7-1-10047-1E *M*, Sanyo Denki PDC-F-112C-A100D0 Servo Power Supply (UVG), Sanyo Denki P30 Servo Motor Series BL Super P30 Model P30B0875DCSSEM 750W AC 200, SANYO DENKI / SERVO AMPLIFIER/ 67ZA050LXX6C01 - USED, SANYO DENKI / SERVO AMPLIFIER/ 67ZA030LXX6C01 - USED, SANYO DENKI / SERVO AMPLIFIER/ 67ZA015LXX6C01 - USED, Sanyo Denki Super Driver Motor CN-2000T-10, NEUGART WPLE80 ANGULAR PLANETARY GEARBOX 5:1 RATIO WITH SANYO DENKI MOTOR, SANYO DENKI 27BA100FFT30 USPP 27BA100FFT30, SANYO DENKI P60B13150HCX23 SERVO MOTOR *NICE*, SANYO DENKI CFZ0A100DR4601 USPP CFZ0A100DR4601, ODDER & WIN SANYO DENKI San Driver PDT-1003-292, SANYO DENKI BL SUPER P8 AC SERVOMOTOR P80B22250HXS00 NEW, SANYO DENKI BL SUPER PU SERVO AMP PU0A015EM91P00, SANYO DENKI PY0A050E0XXYPH1 NSPP PY0A050E0XXYPH1, Sanyo Denki Kawasaki P60B13150HCX23 Servo Motor, SANYO DENKI MC1K-U150 CONTROLLER SERVO AMPLIFER TOYODA, SANYO DENKI 67ZA300LXX6C01 USPP 67ZA300LXX6C01, Brother 321N CNC Sanyo Denki Servo Motor 20BM121EXPR1, BROTHER CNC TAPPING CENTER-225 SANYO DENKI SERVO AMPLIFIER BA020FFWB-301, Sanyo Denki Kawasaki P60B13200LCX2C Servo Motor 3000RPM, (AB01) BRUSHLESS TDK CORPORATION SANYO DENKI MSE343 WORKING, SANYO DENKI P80B22350HBV27 USPP P80B22350HBV27, SANYO DENKI PZ0A100HP56SHO USPP PZ0A100HP56SHO, SANYO DENKI PZ1A050HME6SH0 USPP PZ1A050HME6SH0, 68BM092HBX22 SANYO DENKI, THK Sanyo Denki Actuator Assembly P30B04010PCKST Used Working 0195-07686, SANYO DENKI AC SERVO MOTOR P60B18550RXV00 5.5KW, SANYO DENKI SREVO DRIVE 65BA030VXTM9, SANYO DENKI / SERVO AMPLIFIER/ PYOA050A1 - USED, SANYO DENKI /SERVO DRIVE / QS1A015Z010 - USED, OKUMA SPINDLE MOTOR SANYO DENKI VAC MOTOR VAC-MF7.5/5.5R-153 VAC MF7.5 5.5R 153, Sanyo Denki BL Super PU0A015EN21P00 AC Servo Drive NEW, (AZ02) BL SUPER SERVO AMPLIFIER SANYO DENKI 65BA030EXKTO WORKING, NEW Sanyo Denki Servo Drive 02IA400SFS31 New, MITSUBISHI DIRECT CURRENT MOTOR SDN-CFZ-VF W/ TACHOMETER SANYO DENKI MAZAK V-12, SANYO DENKI 68AA100FFR-00 USPP 68AA100FFR00, SANYO DENKI 65AA030FXR-00 USPP 65AA030FXR00, SANYO DENKI 68AA050FXR-00 USPP 68AA050FXR00, SANYO DENKI PU0A015-EM51P00 USPP PU0A015EM51P00, SANYO DENKI PU0A015-EM61P00 USPP PU0A015EM61P00, SANYO DENKI PU0B015-EML1P00 USPP PU0B015EML1P00, SANYO DENKI RS1L03AZ082 USPP RS1L03AZ082, SANYO DENKI 65AA050VXR05 USPP 65AA050VXR05, SANYO DENKI 65AA015VXR-01 USPP 65AA015VXR01, SANYO DENKI 65AA015FXR-00 USPP 65AA015FXR00,
November 15th, 2004 in
Uncategorized | tags:
cnc,
cooling,
fan,
fans,
motor,
sanyo,
sanyo denki,
sanyo denki bl super,
sanyo denki co ltd,
sanyo denki distributor,
sanyo denki distributors,
sanyo denki fans,
sanyo denki japan,
sanyo denki san ace 1011,
sanyo denki step syn,
sanyo_denki,
stepper,
tms