Simulink model of Doorbell using solenoid block |
1)Make a Simulink model of Doorbell using solenoid block with the following details:
objective : when the switch is closed the electromagnet receives electrical power from the battery and pulls the metal arm to hit the bell producing sound.
Create a situation where the switch is closed for 2 seconds and then released. Observe the physical movement of the plunger.

the pulse generator have been used in this model to act as a switch pressed for 2 sec delay .
Then the block diagram for door bell is constructed using the translational sensor we could able to see the behaviour of the solenoid plunger that the bell rings with a delay of 2 secs and gap of 2 secs.
INPUT scope :

OUTPUT scope :

2. Use a thermistor to sense the temperature of a heater & turn on or turn off the fan as per the below conditions:
Temperature source: 20 °C from 0 to 10 seconds, 27 °C from 10 to 30 seconds, 23 °C from 30 to 50 seconds
Fan conditions: ON if the temperature above 25 °C, OFF otherwise
Solution:
Intially the block diagram have been constructed:

then the signal builder have been created :

whereby to set the threshold

thershold value=0.12 for 25 degree

limit for cooler fan the voltage sensor is been used parallel to a resistor ,we got the value of 0.12 voltage for temperature 25 degc. therefore the switch have setted up with the proper parameters then the output is been derived.