Week -2
Challenge 2.1
Objective:
To Build a Simulink model for doorbell with following condition.
- Switch operating the doorbell with 2 seconds switch closed and open.
- Uses electromagnetic solenoid valve.
Solution procedure:
We have electromagnetic solenoid valve which rings the bell as switch opens and closes at every 2 seconds.
- Electromagnetic solenoid valve uses battery power and in between connected with switch which operates the ON and OFF.
- Switch receives signal from pulse generator where every 2 seconds switch will be closed. Once switch is ON electromagnetic solenoid valve gets activated and rings the bell.
- The ring is measured with linear translational sensors which derives the velocity and position of plunger.
Simulink Blocks Used:
Battery: Powers solenoid valve.
SMPT Switch: works ON/OFF with inputs on the other end.
Pulse Generator: Input ON/OFF signal for SMPT switch.
Solenoid Valve: Rings the bell when switch is activated.
Linear Translational Motion Sensor: measure velocity and position of solenoid valve.
Scope: To display the results.
Model:

Results:
The model was run for 10 sec and results were recorded in scope. It was observed that after every two seconds doorbell gets ON and rings.
Position Plot

Velocity plot

Challenge 2.2
Objective:
To build a Simulink a model to switch ON a heater fan when the temperature sensed above 25 degrees.
Solution procedure:
We have a temperature source wherein we have set of temperature values registered in kelvin. The heater temperature found 23°C from 0-10 sec and 27°C 10-30 sec and 23°C from 30-50 sec.
We create a temperature source accordingly with time and store the values. Temperature values are fed into thermistor which has been powered through dc voltage and reads the temperature. And resistor and voltage sensors are used to read the voltage. Based on the voltage read from sensor switch has been provided to turn ON/OFF Fan when it reaches threshold and turns ON.
Simulink Blocks Used:
Repeating sequence stair
Controlled temperature source
Thermistor
Resistor
Voltage sensor
DC Power supply
Switch
Scope
Simulink Model:

Results and conclusion:
The Simulink block was run for 50 sec and found the FAN turns ON when the temperature is read above 25 degrees. The results were recorded using scope block.
