Week -2
1. Make a Simulink model of Doorbell using a solenoid block with the following details:
Objective: Is to simulate the doorbell with a minimum of 2 seconds
process:
we need to take the following blocks in Simulink and they are
. Pulse generator
• scope
• ps converter
• Battery
• switch
solver configurator
• solenoid
• ideal translator motion sensor
• eating for both mechanical and electrical.
by using the above blocks we need to make the circuit as shown below and in the diagram, we can see the 2 different colours green for mechanical and blue for electrical. solver, we had connected for electrical part. below are the images for all
BLOCK DIAGRAM

parameter need to be set

RESULTS

TASK 2
Thermistor Theory:
A thermistor is a resistance thermometer or a resistor whose resistance is dependent on temperature. The term is a combination of
"thermal" and "resistor.
There are two types of thermistors: Negative Temperature Coefficient (NTC) and Positive Temperature Coefficient (PTC). With an NTC thermistor, when the temperature increases, resistance decreases. Conversely, when the temperature decreases, resistance increases. This type of thermistor is used the most. A PTC thermistor works a little differently. When temperature increases, the resistance increases, and when temperature decreases, resistance decreases. This type of thermistor is generally used as a fuse.

Here the input is fed through the block Signal builder. The input data is given based on the initial conditions provided in the chilenge.
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
As per the above-mentioned conditions, the input of the Signal builder is incorporated as shown below

• electrical reference connected with the circuit. It must contain blocks.
. voltage sensor connects with a circuit to measure the voltage.
• now the switch has three ports. above threshold voltage connect to the middle port. The other 2 ports are connected with constant blocks 1 and Oswitch on or off respectively.

Result
Change the simulation time to 50 seconds
. After simulation scope value is as shown above for time 0-10 seconds & 30-50 seconds the output value is off and only 10-30 seconds entire system is on mode.
• The entire thermistor working is understood