Week -2
1.Simulink model of doorbell using solenoid
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 the output waveform. The switch block used is controlled by externalphysical signal.If the external signal is greater than the thresold parameter then the switch is closed, otherwise switch is open.The positive terminal of the switch is connected to switch and the negative terminal is connected to the electrical reference.
The solenoid block is connected with switch and battery and we will get a complete electrical circuit. The port c is connected with mechanical reference.The ideal translational sensor is connected with solenoid block R to observe the movement of the plunger.Scope is connected with the ideal translational sensor to get the output.PS-simulink converter is used to convert the physical signal to simulink signal.Solver configuration: Each physical network represented by a connected simscape blocks requires solver setting information for simulation.
2. Fan controlled byThermistor:
Inputs: Temparature source 20degrees celsius from 0 to 10 secs, 27 degrees celsius from 10 to 30 secs,23 degrees celsius from 30 to 50 secs.
Fan conditions: ON if the temparature above 25 degrees celsius,Off otherwise.
The input signal corresponding to the above parameters is given using a signal builder block.
At point 1, Time=0 seconds, Temparature=293.15 k
At point 2, Time=10 seconds, Temparature=293.15 k
At point 3, Time=10 seconds, Temparature=300.15 k
At point 4, Time=30 seconds, Temparature=300.15 k
At point 5, Time=30 seconds, Temparature=296.15 k
At point 6, Time=50 seconds, Temparature=296.15 k
Controlled Temparature source represnts an ideal source of thermal energy,that can maintain a controlled temparature difference regardless of the heat flow rate. The temparature difference is set by the physical signal port S.A positive temparature difference causes the temparature at port B to be greater than the temparature at port A. Thermistor is a type resistor whose resistance is based upon temparature. A linear resistor is used to inorder to control the the amount of current from the battery. The voltage sensor is used to convert the voltage measured between two points into a physical signal. Voltage source which represenrs dc or ac.elctrical reference block is given. Solver Configuration: Each physical network represented by a connected simscape blocks requires solver setting information for simulation.
a