Week -2
Simulink model link:
https://drive.matlab.com/sharing/2a368793-0904-4593-bb99-f71458269549
Aim :
Make a Simulink model of Doorbell using solenoid block .
Use a thermistor to sense the temperature of a heater & turn on or turn off the fan .
1. Doorbell

Model Explanation
-> Pulse generator- To create square wve at regular intervals.
parameters - *Amplitude *Pulse width *Period * Phase delay
These factors determine shape of output waveform
*The switch block used is controlled by an external physical signal; if the external signal is greater than the threshold parameter then the switch is closed, otherwise the switch is open. *The positive terminal of the switch is connected to the switch and the negative terminal is connected to the electrical reference.
*The Solenoid block is connected with switch and battery and we will get a complete electrical circuit The port is connected with mechanical reference.
*The ideal transitional sensor is connected with solenoid block R to observe the movement of the plunger.
* Scope is connected with the ideal translational sensor to get the output PS-Simulink converter is used to convert the physical signal to simulink signal
* Solver Configuration:Each physical network represented by a connected simscape blocks .
Input signal of pulse genrator:

Output:

2.Thermistor
Inputs given(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
Simulink design:

Model Explanation:
At point- 1 ;Time= 10 ; Temperature= 293k
At point- 2 ;Time= 20 ; Temperature= 293k
At point- 3 ;Time= 30 ; Temperature= 300k
At point- 4 ;Time= 40 ; Temperature= 300k
At point- 5 ;Time= 50 ; Temperature= 296k
At point- 6 ;Time= 60 ; Temperature= 296k
*Controlled Temperature source represents an ideal source of thermal energy.that can maintain a controlled temperature difference regardless of the heat flow rate. The temperature difference is set by the physical signal port S. A positive temperature difference causes the temperature at port B to be greater than the temperature at port A.
*Thermistor Is a type resistor whose resistance is based upon temperature
* A linear resistor is used in inorder to control the amount of current from the battery
*The voltage sensor is used to convert the voltage measured between two points into a physical signal.
*Voltage source which represents dc or ac electrical reference blot is given
* Solver Configuration:Each physical network represented by a connected simscape blocks requires solver setting information for simulation
Input signal:

Input Parameters:

Output:
