the clock controlled fire and burglar alarm system according to the present invention has a drive control which is mainly composed of a function selector switch s1 used to set the driving mode , and uses a thermo - electric infrared sensor to provide a driving signal . the control sequence and circuit of a preferred embodiment are described below with reference to the attached drawing . the present invention uses a thermo - electric infrared sensor to detect the invasion of a person into , or fire at its scope of detection by infrared rays from a human body or infrared rays from a sudden rising of room temperature which is converged to the sensor by means of reflector or converging lens . the sensor then transforms the change of infrared energy to a change of electrical potential , which is sent to the positive terminal of ic1a for amplification and filtering , and to c1 for filtering out of noise . ic1a , resistors r1 , r2 and r3 , and capacitors c2 , c3 and c4 compose a non - inverting a . c . amplifier used to cut off unnecessary frequencies but to amplify the required frequency . the amplified signal is then sent to the negative terminal of ic1b via c5 and r5 for amplification and filtering . ic1b , resistors r5 , r6 . r7 and r4 , and capacitors c5 , c7 and c8 compose an inverting a . c . amplifier used to cut off unnecessary frequencies but to amplify the required frequency . r6 is a semi - variable resistor used to adjust amplification factor of ic1b . the amplified and filtered signal from ic1b is sent to an amplitude limited comparator composed of ic1c , ic1d , and resistors r8 , r9 , r10 and r11 used to determine whether the signal input is within or beyond the range of a standard potential . if the signal input has a potential lower than the standard potential at the negative terminal of ic1c , then the output of ic1c is low . if the signal input has a potential higher than the standard potential at the negative terminal of ic1c , then the output of ic1c is high . the change of potential at the output from ic1d is contrary to that of ic1c . therefore , if the input potential is higher than either that of the negative terminal of ic1c or the positive terminal of ic1d , then the transistor tr1 is triggered and grounded . whenever the output of the aforesaid amplitude limited comparator is beyond the standard potential and triggers the transistors tr1 , and if tr1 is grounded , the potential of resistor r16 turns from high to low , and pin &# 34 ; in &# 34 ; of ic8 turns to low too . if the clear terminal &# 34 ; c1 &# 34 ; of ic - 8 is high , then the pin &# 34 ; t2 &# 34 ; of ic - 8 is low . thus , capacitors c10 and c11 discharge through pin &# 34 ; t2 &# 34 ;, and the &# 34 ; output &# 34 ; terminal of ic - 8 simultaneously provides a high output through resistor r19 and diode d2 to the base of transistors tr3 so that tr3 is turned on and grounded . thus , the negative potential via tr3 and resistor r53 to the base of pnp transistors tr4 is used to turn on tr4 , and thus a positive potential goes to the voltage regulator ic5 and sound amplifier ic6 via tr4 . function selector switches s1a and s1b are three - step switches . the upper step is for a normal function ( visitor detection ), the middle step is for turning off power , and the lower step is for an alert condition . when the switch is at the upper step , i . e ., the normal function condition , a negative potential is connected to the base of the pnp transistor tr8 via resistor 43 so that tr8 is switched on by a bias . then , after stabilization by voltage regulator ic5 , a positive current is passed through tr8 , and then , after dividing by resistors r42 and r41 , powers a music ic4 which hence gives a music signal output to variable resistor vr1 via diode d10 and resistor r40 . the variable resistor vr1 is for volume adjustment . the music signal is then sent to a sound power amplifier ic6 for amplification to drive a speaker for providing audible music . when the switch is at the lower step , i . e ., the alert condition , the pnp transistor tr8 can &# 39 ; t be switched on because there is no bias to its base , and thus the music ic4 will not function because of a lack of power . since the base of npn transistor tr7 is not grounded , a positive current after stabilization at voltage regulator ic5 is connecting to the base of tr7 via resistor r44 , and tr7 is thus switched on by a bias , and then the positive current is connecting to a alarm generator circuit composed of ic3a , ic3b and ic3d . ic3a and resistors r21 , r22 , r23 and r24 as well as capacitor c15 compose a square wave generator . the square wave so generated charges capacitor c16 via resistor r25 and after rectification by a diode d8 . ic3b , resistors r26 , r27 , r28 , r29 , r30 and r31 , and capacitor c17 compose an audible signal generator , and the frequency of the audible signal generated by it can be altered by a change of potential . because the potential of c16 can be lowered by discharging via resistor r27 , the audible signal from ic3b can have its frequency changed like the alarm provided by a police car . the signal is then sent to sound power amplifier ic6 via capacitor c19 and resistor r36 for amplification to drive the speaker for providing an alarm . the present invention is mainly characterized by a multiple timing setting and time priority circuit . the time control circuit comprises timers including an analog / digital output type ic - 7 , a time display ( lcd ) and setting switches s2 , s3 and s4 for time setting . the first timer ch - 1 is for timing control on an externally connected electrical appliance , the second timer ch - 2 is for setting at any time to disarm the alert condition and for setting a time priority function to change the alarm signal to a music alarm , and the third timer is to disarm the alert condition at any time without setting the time priority function to prevent an improper alarm . with the third timer ch - 3 , a user can preset a time , such as the scheduled time of return , to disarm the alert condition . when the second timer ( ch - 2 ) reaches the preset time of disarming alert condition , the output terminal of ch - 2 provides a high signal to diodes d3 , d4 and d6 . the signal passing through d4 reaches the base of the npn transistor tr2 via resistor r47 to switch on and ground tr2 . thus , the clear terminal &# 34 ; c1 &# 34 ; of ic - 8 is grounded so that ic - 8 is cleared and provides no output ; the detection function is hence inhibited . the high signal passing through d3 goes to the base of the npn transistor tr3 via resistor r52 to switch on and ground tr3 . then , the negative potential is connected to the base of the pnp transistor tr4 via tr3 and resistor r53 to switch on tr4 ; hence , a positive current is flowing to ic5 and ic6 via tr4 . the high signal passing through d6 goes to the base of the npn transistor tr4 via resistor r45 to switch on and ground tr9 so that negative potential is connected to the base of the pnp transistor tr8 via tr9 and resistor r43 to switch on tr8 . then , the aforesaid positive current via tr4 and ic5 reaches resistor r42 and r39 via tr8 . the positive current passing through resistor r42 reaches ic4 and causes ic4 to generate a music signal , which is then sent to ic6 for amplification and then to drive the speaker for providing music . the positive current passing through resistor r39 reaches the base of the npn transistor tr5 to switch on and ground tr5 , and thus the alarm output resistor r36 is grounded to prevent the generation of an alarm signal . with the above design , in spite of the position of the function selector switches s1a and s1b , the generation of music is a priority and the alert function is disarmed if the output signal from ch - 2 is high . therefore , this timer can be used to control the signal detection system for disarming the alert function temporarily in order to easily allow the user to turn off the alarm at any time such as after waking up in morning . when the third timer reaches the preset time for the disarming of the alert condition , the output terminal of ch - 3 provides a high signal to diode d5 and then to the base of the npn transistor tr2 via resistor r47 to switch on and ground tr2 . hence , the clear terminal &# 34 ; c1 &# 34 ; of ic - 8 is grounded ; ic - 8 is thus cleared and will not provide any output , such that the detection function is inhibited . the time - delay circuit is designed to continue generation of the sound / alarm for a certain period of time after the leaving of the detected person from the scope of detection even if he stays in the scope of detection for only a very short time . the sensor will not receive infrared after the detected person left the scope of the detection , and thus ic1a and ic1b do not provide signals , and the outputs from comparators ic1c and ic1d become low , and transistor tr1 becomes open because there is no bias to it , and a positive potential is connected to input pin &# 34 ; in &# 34 ; of ic - 8 via resistors r14 and r16 so that the potential at input pin &# 34 ; in &# 34 ; turns from low to high . if the clear terminal &# 34 ; c1 &# 34 ; of ic - 8 is high , then terminal &# 34 ; t2 &# 34 ; of ic - 8 turns from a discharging condition to a potential comparison condition . since capacitors c10 and c11 have been discharged , their potential is lower than the standard potential in ic - 8 so that the output terminal &# 34 ; out &# 34 ; of ic - 8 remains high to switch on tr3 and tr4 , and a positive current continues to flow to ic5 and ic6 , and thus the generation of an audible signal continues . because resistor r15 charges c10 and c11 , the potential of c10 and c11 becomes higher and higher . when the potential of c10 and c11 becomes higher than the standard potential in ic - 8 , the output terminal &# 34 ; out &# 34 ; of ic - 8 turns from high to low , and tr3 and tr4 becomes open , and the generation of the audible signal stops . therefore , a change of resistance of resistor r15 or a change of capacitance of capacitors c10 and c11 can change the delay - time . the time - delay circuit according to the present invention is characterized by two different lengths of delay time . only c10 functions during a normal condition and thus the delay time is short because it is not necessary to generate an audible signal for a long time during a normal condition . during an alert condition , because the negative terminal of capacitor c11 is grounded by setting the switch s1b at the lower step , c11 and c10 are connected in parallel , and the capacitance is increased , and thus , the delay time is extended , and the alarm can continue for a long period of time . in order to prevent an improper alarm , the volume of alarm can be divided into two stages . the length of the first stage can be set to 0 - 30 seconds at discretion , and the volume of the first stage can be set by a variable resistor vr2 . when the alarm circuit is powered via tr7 , the capacitor c18 is charged by a positive current via r32 . if the potential at the negative terminal of ic3d is lower than the standard potential at its positive terminal , the output of ic3d is high so that the potential is connected to the base of the npn transistor tr6 via resistor r38 and after filtering by c20 , tr6 is switched on by a bias and grounded ; then , the negative terminal of the variable resistor vr2 is grounded , and the output potential of the alarm is lowered and thus volume of alarm is reduced . the potential of c18 becomes higher and higher due to the charging , and the potential at the negative terminal ic3d gets higher and higher too . if the potential at the negative terminal of ic3d becomes higher than the standard potential at its positive terminal , the output of ic3d is low so that tr6 can &# 39 ; t be switched on and grounded , at the volume of the alarm is thus not reduced but the output is provided at full volume . therefore , the period for the first stage is adjustable by adjusting the variable resistor vr3 to change the standard potential at the positive terminal of ic3d . the circuits and sensor in the present invention might be unstable during the initial period after connecting to a power source . therefore , a delay circuit is designed to delay the starting of its function for about 2 minutes after connecting to a power source in order to prevent an improper detection and to permit the user to have a sufficient time to leave the scope of detection . the delay circuit is composed of the clear terminal &# 34 ; c1 &# 34 ; of ic - 8 and capacitor c13 . whenever the clear terminal &# 34 ; c1 &# 34 ; of ic - 8 is high , no clearing will occur . when the clear terminal &# 34 ; c1 &# 34 ; of ic - 8 is low , ic - 8 is cleared , and no output appears at output terminal &# 34 ; out &# 34 ; of ic - 8 , and the output terminal &# 34 ; out &# 34 ; is low . the terminal &# 34 ; t2 &# 34 ; charges capacitors c10 and c11 rapidly , and ic - 8 is cleared and has no output . before connected to the power source , the residual charge in capacitor c13 discharges through diode d1 . as soon as the present invention is turned on , capacitor c13 is charged by a current via the voltage regulator ic2 and resistor r46 . the potential of capacitor c13 is low during the initial period of charging , and the clear terminal &# 34 ; c1 &# 34 ; of ic - 8 maintains its low and is still cleared . after charging for a certain period of time , capacitor c18 is fully charged , and the clear terminal &# 34 ; c1 &# 34 ; of ic - 8 turns to a high potential , and no clearing occurs , and the present invention is ready . in addition to the aforesaid features and functions , the present invention has an &# 34 ; ext &# 34 ; socket for connection of auxiliary device such as automatic dialing system , radio system , lighting system or other security facilities . furthermore , the length of fire and burglar detection period can be set with its timers . it is indeed an economical , convenient and versatile fire and burglar alarm system .