Position control of DC motor in simple pendulum: The joint block will not accept output torque from motor?
7 次查看(过去 30 天)
显示 更早的评论
I am attempting to control (via PID) the position of a simple pendulum driven by a DC motor, in Sumulink/Simscape. The first image below is the the set-up for the pendulum, and the follow up image is the inside of the "DC Motor" block.
Right now, the idea is to have a target, or reference, position of 45degrees. I then use the summing junction to produce the error signal and input that into the PID block. The compensator then sends a signal to the DC motor. I believe I have wired the motor correctly such that it simply takes a voltage from the controlled voltage source block and, in theory, should produce a torque - also letting me measure the current draw along the way. The torque from the DC motor is then fed into the joint block, which is set to accept an input torque. However, Simulink will not allow me to connect the two blocks together. I believe I have made the the right signal type (Simulink signal vs physical signal), and it should just be a torque value. Am I missing something? I believe I have the right set up but this is mu first time working with electronics blocks.
0 个评论
回答(1 个)
Franck Donnadieu
2018-9-19
Hello, you should Try to put a torque sensor between the DC Motor and the entry "T" of your joint.
0 个评论
社区
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!