Simscape Change Actuation Method in Realtime?

1 回表示 (過去 30 日間)
Hank Hsu
Hank Hsu 2018 年 5 月 20 日
回答済み: Steve Miller 2019 年 4 月 3 日
Hello everybody, I'm building a model to simulate a robot's gait. The robot can actuate a joint by torque initially, and then actuate by a track, after a specific time. I wonder if there's a way to simulate this in Simulink. I tried if-else blocks with revolution joints which have different actuation type, but it raises error "Connections of the Physical Network cross nonvirtual boundaries." Rather, let's do this way: build a pendulum, give it sinusoidal motion actuation in time 0 to 3, and a constant torque in time 3 to 10.

回答 (1 件)

Steve Miller
Steve Miller 2019 年 4 月 3 日
Hi Hank,
Clever idea. However, you cannot switch actuation method (torque actuation / motion actuation) using if-else subsystems in Simscape. That changes the analysis type.
I think you would need to have a control strategy that changes its reference signal based on trajectory phase, but only relies on torque actuation.
--Steve

製品


リリース

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by