This example shows a detailed implementation model of a controlled linear actuator. The actuator consists of a DC motor driving a worm gear which in turn drives a lead screw to produce linear motion. The model includes quantization effects of the Hall-effect sensor and the implementation of the control in analog electronics. Optionally, the PWM switching waveforms of the PWM & H-Bridge subsystem can be included by right clicking on the block and selecting Variant->Override using->pwm_choice==2. To simulate with the actual semiconductor switching devices, select Variant->Override using->pwm_choice==3. The model will run slowly with these options due to the 10kHz switching and/or added component detail, but is useful for validation of the system-averaged mode.