Challenge

Week -2

AIM- 1. To make a simulink model by using solenoid model.

2. To use the thermistor to sense the temprature of heater and turn on/off the fan.

Simulink model explanation-

we have used following blocks in the model-

1. Pulse generator .

2. Switch.

3. Battery.

4. Solenoid.

5. Ideal Translational motor sensor.

6. Scope.

7. Electrical reffference & Mechanical translaitional reference.

As per given conditions switch is closed for 2 sec. & then released.

The pulse generator is used to create square wave pulses at regular intervals. The block waveform parameters,

amplitude, pulse width, period and phase delay, determine the shape of waveform.

Switch block is controlled by external physical signal & if the external physical signal is greater than the switch is closed or else switch is open.

Positive terminal is connected to block while as, the negative terminals is connected to the electrical refference . when we connect to solenoid block with the switch and battery form a complete electrical circuit.

The port c is connected with mechanical refference. The ideal translational motion sensor is connected with the solenoid block R is to observe the movement of the plunger. scope is connected to the ideal translational motion sensor to get the output.

The signal from the pulse generator was converted using by the simulink-ps converter and is given to the input switch. A solenoid intrduced and battery is connected to the it. The voltage of the battery connected was made as same as that of the rated voltage of the solenoid.

The position of the solenoid plunger is measured using an ideal translational motion sensor connected to the circuit .

The initial position of the set to 5mm in the translational motion sensor. The scope is connected to visualize its behaviour. The spring constant and damping parameters of the solenoid block was altered to obtain the desired graph.

The simulation was run for 30 sec and obtained is shown above. It can be observed that at each 2 seconds bell was ringing.

Conclusion for Door Bell-

Giving input as the time period for 2 seconds in the pulse generator to open & close the switch. when the switch is closed the solenoid block receives electrical power from the battery and plunger moves from R To C port to hit the bell and produce sound.

Thermistor-

Temperature source - 20 from 0 to 10 sec, 27 from 10 to 30 sec, 23 from 30 to 50 secs.

Fan condition ON if temperature above 25 degree, OFF otherwise.

Simulink and explanation-

Signal Building block is added to input the values as per given conditions.

At point 1, time = 0sec. to 10 sec. & temp = 293k.

At point 2, time = 10sec. to 30 sec. & temp = 300k.

At point 3, time = 30sec. to 50 sec. & temp = 296k.

Controlled temperature source reprensts an ideal source of thermal energy, that can maintain controlled temperature difference regardless of heat flow rate. The temperature difference is set by the physical signal port S. A positive temperature differrence causes the temperature at port B greater than the temp at port A.

Thermistor is a type of resistor whose resistance is based upon the temperature.

A linear resistor is used to convert the voltage measured between two points into physical signal & voltage source represents AC/DC.

Electrical refference block is given.

Solver configuration- each physical network represented by the connected simscape blocks requires solver setting information for simulation.

DETAILED TEMPERATURE SOURCE-

Thermistor-

Its a type of a resistor whose resistance depends upon temperature, more than in standard resistors. this thermistor word is a combination of thermal and resistor.

CONTROLLED TEMPERATURE SOURCE-

  • This block represents an ideal source of thermal energy is powerful enough to maintain specified temperature differences across source regardless of the heat flow consumed by the system.
  • connection at point A & B are thermal observing ports corresponding to the source of inlet & outlet respectively. port s is the physical signal port through which the control signals that drive the source is applied.
RESISTOR-

This is the linear resistor, described with the following equation

V=IR

where, V= voltage, I= Current, R- resistance

VOLTAGE SENSOR-

The device converts the voltage measured between two points of an electrical circuits into physical signals proportional to the voltage.

VOLTAGE SOURCE-

It impliments the voltage source with DC/AC & Noise components.

ELECTRICAL REFERENCE-

it represent an electrical ground. Electrical conserving ports of all the blocks that are directly connected to the ground must be connected to the electrical reference port. A model with electrical components must contain at least one electrical reference block.

In this model signal buider is used to get the temperature signal for controlled temperture source(heater).
the temperature of the heater is supplied to thermister to sense it. Now in order to run the fan when the value reaches 298k we have to trigger the circuit with some external supply of battery and there is no device to calculate the resistance value of thermistor. so we have to attached the another resistor in series across the terminal in series. The voltage sensor is connected across the resistor to calculate the voltage drop into it. This voltage drop is inputted as a threshold value of switch to start the fan and fan will go on when threshold value is more than 0.109.

From 0-10 sec fan is off because the temperature is 293k which is below 298k. after 10 sec it goes to 300k so fan will turn ON beacuse temperture exceeds 298k. after 30 sec fan will turn off beacause value goes 296k which is less than the 298k.

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.