Week -2
1)Make a Simulink model of Doorbell using solenoid block with the following details:
Door bell using Solenoid
When the solenoid is connected to the battery source due to elctromagnetic attraction, the metal is moved in which is connected to plunger to gog the door bell at the same time as the metal is moved in the circuit loses it connection from battery source and loses its magnetic attraction and so metal comes out and stops the gog from hitting the bell.
By maintaining or chosing the time upto which the elctromagnetic attraction to exist using the pulse generator connected to SPST Switch we can make the doorbell to ring.
As given in question,for closing the switch for 2 seconds and released following modification are made to Pulse Generator
The below plot shows the way Pulse generator make switch on and off for every 2 seconds

For the simulation of the doorbell using the Solenoid is executed by the following blocks
1.Pulse Genwrator
2.SPST Switch
3.Solenoid
4.Battery
5.PS-Simulink converter
6.Simulink-PS converter
7.Elctrical & Mechanical references
8.Scopes
9.Display
10.Solver configuration
The complete Simulink is

Result
The result is observerd by clicking the Scope1,here the translational motion of the plunger is sensed and is proven that the doorbell rang at an interval of 2 seconds as mentioned in question.
