Connect with us

Encoder simple 1 channel to check ac motor stall

Discussion in 'Microcontrollers, Programming and IoT' started by sherazi, Apr 23, 2011.

  1. sherazi

    sherazi

    91
    0
    Mar 8, 2010
    HI!
    i want to check any motor stalls while my motor is energized, motor is AC, i would like to use an encoder!
    but i am not certain how to use it! i dont need any positioning or angle checking so only 1,0 encoder would work, how should i use it in my AVR, i have no interupt pin available, and i have to use it with polling ,

    what i want is just to be sure that while my AC Power is On to the Motors , i would check if motor is rotating or it has been stalled

    Plz guide me with the algo and the better encoder approach,

    on idea that i just got is to check the encoder output at a certain pin 4-5 times at different location of the polling loop, if the reading is same as that of previous i add a counter, if its different the counter is reset, and whenever a counter value exceeds 20 , it means it is a stall!


    any suggestions??
     
  2. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,174
    2,690
    Jan 21, 2010
    Even if you detect the position of the motor once per revolution (say with a hall effect switch) you can tell the motor has stalled because you fail to receive pulses at least every [time period].
     
  3. sherazi

    sherazi

    91
    0
    Mar 8, 2010
    but i dont want position!... just want to see a changing pulse every now and then and if its constant the motor is stalled!
     
  4. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,174
    2,690
    Jan 21, 2010
    Even if you detect the position of the motor once per revolution (say with a hall effect switch) you can tell the motor has stalled because you fail to receive pulses at least every [time period].
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-