PID Control (Noisy Sensor and DC motor) of Nonlinear Pendulum Made Using Second-Generation Blocks is demonstrated in Simulink Simscape in this video. Simulink demo file can be downloaded from the following link: drive.google.c...
Great video as always ! But there's no need to multiply the torque constant by the gear ratio at 4:38 as a dirty hack to model the gearbox effect. Simscape has blocks that model gearboxes, you can find them under: simscape/driveline/gears. You can find simple gears where you only input the gear ratio and complexe gears such as planetary, harmonic, worm etc. these have an input field to specify the efficiency of the gearbox.