Week -2
Simulink model of Doorbell using solenoid block:
simulink model for doorbell includes blocks from simscape also. since, we are operating simulink as well as simscape we will require converters time to time, that is ps-simulink converter and vice versa.
when the switch is closed the electromagnet receives electrical power from the battery and pulls the metal arm to hit the bell producing sound. hitting motion is translational motion thus we require translational sensor to sense the displacement and velocity of plunger as time varies.we can simply connect battery and observe the movement but that wont satisfy our need of understanding doorbell mechanism w.r.t time, perhaps we will be using a pulse generator with delay of 2 sec. after connecting all required connections, we will be introducing translational mechanical reference and electrical reference.
finally using a solver configuration is most essential part of physical modelling, since at back end simulink uses equations for solving model. and scope and display will help us to observe the velocity and displacement variations w.r.t time.

In above screenshot, velocity can be observed w.r.t time. as there is delay in time that is 2 sec, once the first 2 sec are over, the circuit closes itself due to switch and current flows, hence plunger hits the bell. but this screenshots shows velocity of plunger, as soon as the plunger hits bell, the velocity is maximum at that point but the current is still flowing for 2 sec, thus velocity goes on decreasing as time passes, here before 2 sec are over the velocity becomes zero.
thus, velocity varies w.r.t time for 2 sec. we have simulated this model for 8 sec that is simulation time is 8 sec, but we have delay for 2 sec thus accordingly plot is plotted by simulink.

thus