Week -2
1) SIMULATION FOR DOORBELL USING SOLENOID:

COMPONENTS USED:
- BATTERY- This block is used for providing the charge to pass through the solenoid.
- SOLENOID- The solenoid block consists of positive and negative ports as well as port for plunger and mechanical reference. The block represents electrical and mechanical characteristics of solenoid.
- DISPLAY- This block is used to forsee the final results after the simulation.
- IDEAL MOTION SENSOR- Motion sensor block is used to analyze the vibrations of the plunger.
- SCOPE- Scope is used for the graphical represntation of the simulation, like in this case, it is represnting the plunger vibrations.
- MECHANICAL TRANSLATIONAL REFFERENCE- It represents a reference or frame for all the mechanical translation ports. Generally, it is used for safety purposes.
- ELECTRICAL REFERENCE- The electrical reference or terminal is used for directional flow of variable and generally used for safety purposes.
- SWITCH- The use of this block is basically to turn on and off the circuit and also taking input from pulse generator.
- CONFIGURATION SOLVER- The significance of this block is to alter the parameters of the simulation.
- PULSE GENERATOR- It generates square waves pulse at the regular interval.
OBSERVATIONS AND RESULTS FROM ABOVE SIMULATION:

These are plunger vibrations.
The vibrations from above graph indicates that the vell is ringing at the interval of two seconds with the phase delay of 2 seconds.

Input Pulse signal
This is the input signal which has been fed into the electric circuit. Firstly, the input signal is converted into the physical signal with the help of simulink-physical converter. Then, that physical signal is transferred into the circuit with the help of switch which consists of positive and negative port as well as physical signal port. Furthermore, in the circuit, solenoid and battery is also connected to the switch as well as the electrical reference. Also, a configuration solver is added.
Talking about solenoid, the plunger is connected to ideal motion sensor to analyze the vibration and further motion sensor is connected to scope and display to observe the readings.

Pulse generator parameters.
2) THERMISTOR TO SENSE THE TEMPERATUE OF A HEATER AND TURN ON AND OFF THE FAN AS PER CONDITIONS:

BLOCKS/COMPONENTS USED:
- SIGNAL BUILDER: This block is used to build a signal as per the required conditions with respect to time and fed in to the physical system with the help of simulink-physical signal converter.
- CONTROLLED TEMPERATURE SOURCE: We needed a heater for this experiment, so a controlled temperature block is used in which conditioned signals are fed into this source via simulink physical signal converter as well as one input port is connected to thermal reference and furtermore, output port of this temperature source is connected to the circuit of thermistor.
- THERMISTOR: A thermistor is a resistance thermometer or a resistor whose resistance is dependent on temperature. These are thermally sensitive resistors whose prime function is to exhibit a large, predictable and precise change in electrical resistance when subjected to corresponding change in body temperature.
- BATTERY: The battery block is used to give power to the circuit that connects with thermistor.
- CURRENT SENSOR: The sensor is generally used to measure current in the circuit and converts into the physical signal with the help of converter.
- SCOPE: Scope block helps to forsee graphical representation of the simulation results.
- DISPLAY: Used for displaying the results of a simulation.
OBSERVATIONS AND RESULTS:

Above graph shows the signal builder and scope displays the pulses generated from the signal builder that are fed into the controlled temperature source. These works as a input signals for our simulation.

This is the output window or the results for the given input. The threshold value is 0.01057 and when the output is below that value, it shows constant line which means the switch is off for that period. Also, for 10 to 30 seconds, temperature was above 25 degree celcius and fan conditions were On for that tenure.