Challenge

Simulink model of doorbell and heater.

Aim: 1-To make a simulink model of doorbell using solenoid block.

2-Use a thermistor to sense the temprature of heater and turn on or off the fan as per the conditions.

1-Block diagram of doorbell

Explanation of Block diagram used in model:

  1. pulse generator
  2. battery
  3. simulink- ps converter&ps-simulink converter
  4. ps switch
  5. solver configuration
  6. solenoid
  7. ideal transistional motion sensor
  8. mechanical and electrical refrence
  9. scope
  • pulse generator is basically used to fed the input values to the model and one scope is been connected to the pulse so that we can see the input fedded is correct or not the conditions are satisified or not.
  • Battery is used to give current source to the circuit as soon as the ps switch gets closed
  • We used ps switch which is connected to the pulse generator through simulink ps converter as our ps switch is simscape model as per the given input to the pulse generator the ps witch will close the circuit at every 2 sec and again it will open the circuit .
  • solver configuration is must in simscape model to solve the model.
  • solenoid is used to convert the electrical signals to mechancical output of the plunger .
  • ideal transistional motion sensor is used to sense the plunger movement and gives the output pulse on the graph.
  • mechanical and electrical refrence is also used to give a particular fixed or refrence postion in which respect to the other points been operated.
  • scope is used here to broadcast the output plot as per the plunger motions.

Output:

This plot shows us the input data is correct or not which is at every 2 sec the switch shold be closed.

Result:

In this plot we can see at every 2 sec there is vibration in plots which shows that plunger moves down and hit the bell and bell is rang so our conditions got satisfied.

2-Block diagarm of thermistor which is used to sense temprature of heater and on the fan at given condition:

Explanation and the blocks used in this model:

  1. Signal builder
  2. Controlled Temprature source
  3. Thermistor
  4. Resistor
  5. Voltage sensor
  6. Dc voltage source
  7. Switch,constant,display and scope
  • First we used the signal builder to feed the given conditions of the heater at which the thermistor has to sense the temmprature(i.e from 0 to 10 sec the temprature is 293 k ,from 10 to 30 sec the temprature is 300k and from 30 to 50 sec temprature is 298k)
  • Then we used controlled temprature source which take the input values and translate it and feed to the the thermistor.
  • Thermistor sense the temprature which has been input in the system and gives output as per that.
  • Resistor and voltage sensor is used to pass the temprature output values to the switch and voltage sensor around resistor sense the voltage accross it .
  • Dc voltage source supplies 12 v supply to the circuit.
  • As switch gets the thresold value greater than equal to constant then it on the fan at 298k.The 2 contant used in sysytem is that if thresold value is greater than so it will give 1 value or it will give 0 value if it does not satisfies the given condition.
  • Scope is used to get desired output graph so we can determine the inputs and output are satisfied or not.

Output:

Result:

Here by seeing the plot we can say that the fan gets on at 25 degree celcius and for other all temprature and time value fan is switched off.

fan is on between 10 to 30 sec at 25 degree celcius.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.