YOYO (Customer) asked a question.

Hello guys,
i'm using click plus plc c2-03cpu with slot module c2-14d2 to control an ac motor from teknic. i'm able to control the motor via frequency command. I want to get the feedback (torque) from motor but the motor can send only a pwm signal

then i should to convert pwm signal to torque measurement . i cannot find how to read it as high speed input (tried frequency measurement and high speed count but don't work )

any suggestions ?Feedback from motorCapture


  • ADC TechnologyGroup_01 (AutomationDirect)

    Excellent post RogerRR, I've attached a project and tested it with a signal generator. The math is written out "long-handed" on purpose so that the operations can be understood. But the constants could be optimized for faster scan performance.

     

    Selected as Best
  • RogerRR (Customer)

    I have used the Teknic motors before on BRX.

    For the Click to read the PWM feedback from the Teknic, maybe the Duration Measurement would work.

    Scale to a tag DD101, set to micro seconds, Complete bit C101.

    One shot C101 to copy DD101 to DD102.

    DD102 will be the duration of the pulse.

    Compare that value with 45HZ or 0.022222222 seconds by dividing the feedback time DD102 from the 45HZ value.

    Scale that to the 5% max CW current, 50% zero current, 95% max CCW current.

    I dont have a unit to test this on so check the logic and math with a real PWM input.

    Hope this gets you closer.

     

     

     

    Expand Post
  • ADC TechnologyGroup_01 (AutomationDirect)

    Excellent post RogerRR, I've attached a project and tested it with a signal generator. The math is written out "long-handed" on purpose so that the operations can be understood. But the constants could be optimized for faster scan performance.

     

    Selected as Best
  • YOYO (Customer)

    Thank you guys, it worked