Week -2
- Make a Simulink model of Doorbell using solenoid block with the following details:
ANS:-

* In this Model I have used the following Blocks with the functions:
1. Solenoid:- A solenoid converts electrical energy into mechanical work.when the electrical energy flow through this solenoid coil strong magnetic field/flux created.due to this mangnetic field it create force.
2. Battery:- It gives the supply to the Splenoid.
3. Switch:- Switch is used for the complete path.if the external physical signal is greater than threshold value then switch is closed.
4. Pulse Generator:- The pulse generator is used to generate squre wave pulse at regular intervals. pulse generated from PG & it converted simulink to physical convertor & gives to Switch to perform switch function.
Following values are given to pulse generator:- Amplitude -1 , period-10sec , pulse width-20%,
phase delay-2.
5. Ideal Translation Motion Sensor:- The physical movement done by solenoid & it sense by idea translation sensor.
6. Scope:- it is used for see the outpun of solenoid in the form of waveform.
MODEL WORKING:-
Requied switch closed for 2sec. so as per requirement have given values in pulse generator. when the switch is closed then electromagnet/coil received the supply from Battery.strong magnetic field/flux produced in coil and pull the lever and it create the machanical force. This mechanical force sense by ideal translation motion sensor & gives output to the scope through PS to simulink convertor.

Observation:- As per given values in PG the output shown above. 0-2sec the output is null and 2-4sec it gives oscillation that meance switch is closed for 2sec and producing the sound for 2sec.
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
ANS:-
* In this Model I have used the following Blocks with the functions:
1. thermistor :- thermistor is a temperature sensing element.Negative temperature coeficient using B parameter equation.when the temperature change difference can see inside the thermistor.
2. Cotrolled temperature source:- It is ideal energy source in a thermal netork.This block is use for maintain the temperature difference.the temperature difference is set by physical port S.
3. Signal builder:- the signal builder is use to create the signal in different waveform.
4. Batterry:- it use for the DC supply.
5. Voltage sensor:- this block is represent an ideal voltage sensor.device that convert voltage measured between any electrical conection into physical signal.
6. Resistor:- resistor is used for the load.
7. Switch:- the switch is used for the switching perpose only.the switch block passes through the
first input & third input based on the value of secod input.if the input 2 is satisfied the value of selected criteria then switch is passed through the 1st input otherwise pass through input 3.(meance if threshould value is greater that we given then switch passes to input 1).the 1st & 3rd input are data ports and 2nd input is control port.
MODEL WORKING:-
As per given question conditions created the signals from signal builder block.the model is shown above. so 1st converted all degree celcius value into kelvin for adding 273.15. then connect the constant block instead of signal builder and check the voltage of 25degree celsius(25+273.15) in display. that value inserted as a threshould value in switch. then again connect the signal builder and check the output from scope.
The output is shown below,
Obeservation:- The output shown as switch is ON when the temperature is greater than 25degree celcius which is interval of 10-30sec. again after 30sec. switch is OFF at below 25degree celsius of interval 30-50sec. thta meance fan is OFF.