irfan ahmad
Full Member level 3
- Joined
- Feb 17, 2012
- Messages
- 181
- Helped
- 54
- Reputation
- 108
- Reaction score
- 54
- Trophy points
- 1,318
- Location
- LAHORE PAKISTAN
- Activity points
- 2,211
HELLO GURUS.
recently i have faced a problem about high noise of a high speed dc motor.
.
I was trying to implement pid controller using arduino, with 500hz pwm frequency.
Arduino -->> optocoupler-->>l298 (motor driver)-->>motor-->> cutt sensor(for rps) -->> Arduino (feedback).
rps= revolution per second.
but arduino was taking random readings :bsdetector: :twisted: :bang::bang::bang: .
then i decide to separate motor power supply and Arduino power supply.
(seperate Ground), but problem was still there.
then an idea click in my mind and i put a filter on motor wire (like toridle transformer ).
this one.
now magic was start :grin::grin:.
Every thing was working fine.
then i have tested the project with filter and without filter .
without filter everything goes wrong:bsdetector::bsdetector::bsdetector::bsdetector::bsdetector: .
with filter everything works fine.:smile::smile::smile::smile:
then i find one more technique . this
.
.project is complete and successfully working.
but i want to know your opinions. :?::?::?:
recently i have faced a problem about high noise of a high speed dc motor.
.
I was trying to implement pid controller using arduino, with 500hz pwm frequency.
Arduino -->> optocoupler-->>l298 (motor driver)-->>motor-->> cutt sensor(for rps) -->> Arduino (feedback).
rps= revolution per second.
but arduino was taking random readings :bsdetector: :twisted: :bang::bang::bang: .
then i decide to separate motor power supply and Arduino power supply.
(seperate Ground), but problem was still there.
then an idea click in my mind and i put a filter on motor wire (like toridle transformer ).
this one.
now magic was start :grin::grin:.
Every thing was working fine.
then i have tested the project with filter and without filter .
without filter everything goes wrong:bsdetector::bsdetector::bsdetector::bsdetector::bsdetector: .
with filter everything works fine.:smile::smile::smile::smile:
then i find one more technique . this
.
.project is complete and successfully working.
but i want to know your opinions. :?::?::?: