Week -2
Use a thermistor to sense the temperature of a heater & turn on or turn off the fan as per the below conditions:
https://1drv.ms/u/s!AqbpDVcFOhawhkgqv8xr-iQjStXv?e=Vi83hZ
in these model I used following blocks
- Repeating sequence stairs(defined in image) where I give a signal from 293K to 300K as temperature. to controlled temperature source.
- Controlled temperture source
- Temperature sensor ,which sense the temperature as per the output of the controlled temperature source.
- Thermistor block.
- Voltage source like battery(12V DC with internal resistance)
- Voltage sensor.
- Resistance with value of 1 ohm(if I am not using addition resistor than the change in voltage value as per temperature is very very low.)
- Switch, which open or close as per the input value given to the switch and the threshold.
- Lamp will glow when switch is CLOSED.
- Used Electrical Reference,Thermal Refrence, and solver configuration block.
Diffrent scope and display to show the graph and values. - condtions as per the question(here I convert degree celcius to Kelvin by adding 273)
first one 293K for 0 to 10 sec
second 300K for 10 to 30 sec
third 297K for 30 to 50 sec
FAN WILL ON WHENE TEMPERATURE IS ABOVE 298K
INSIDE MODEL I SHOW A TABLE WHERE I DEFINE DIFFRENT VOLATAGE VALUE AT DIFFRENT TEMPERATURE VALUES.
1.Make a Simulink model of Doorbell using solenoid block with the following details:
block I used for this model.
https://1drv.ms/u/s!AqbpDVcFOhawhl2jQbKPO8oiJXf9?e=YucXVN
- solenoid:- Which is energized by the battery
- ideal translation motion sensor:-it measure the movement of plunger inside the solenoid.
- battery:- used to energized the solenoid coil.
- switch:- this switch is CLOSE whene the input physical signal is greter than the threshold value of switch otherwise it remain open.
- pulse generator:- it is used to generate signal which help to close the switch .
- physical to simulink and simulink to physical block are used whereever required.
- solver configuration and electrical refrence is used.
NOTE:- CONNECTION OF SWITCH TO BATTERY AND SOLENOID IS VERY IMPORTANAT AS IF WRONG IT MAY LEAD WRONG OUTPUT.