Week -2
1.
Aim:-
make a simulimk model of a doorbell using solenoid block.
Basic simulink model used:-
1.puls generator:-
(used to create a square wave pulse at regular intervals.)


2.switch block:-
(is used to controlled by external physical signal.)
(external signal greater than the thresold parameter then the switch is closed .otherwise is opned)
3.battery.

4.solenoid block.

(its a electromagnetic device.)
5.ideal translational sensor.

it is atype of sensor which provide the position or velocity input for the system to generate output.
6.scope

7.electrical reference.

8.mechanical reference.

9.ps-simulink converter.

10.simulink-ps converter.

11.solver configuration

12.display

simulink block diagram:-

output:-
result 1

result 2
the input signal of the pulse modulation

2.
thermistor:-
thermal resistor is defined as a type of resistor whose electrical resistence varies with change in temparature.a thermistor is perticularly sensitive to temparature changes. thermistor is act as passive component in a circuit.they are accurate,cheap and robust way to measure temparature.
condition follow here as:
1.0-10sec temparature 293k
2.10-30sec temparature 300k
3.30-50sec temparature 296k
here detail input of signal builder as shown in below

before we run the simulink-ps converter :-

simulink and simscape model:-

providing threshold value

conclusion:-
in first part ,we use a solenoid to convert electrical energy to mechanical energy and made a simulink model to simulate the doorbell,
in second model we use thermistor to sense the temparature ,accourding to our condition,we give the threshold value of the switch block to turn on and turn off at perticular temparature.