In view of above-mentioned, the utility model will provide a kind of alarm, and it utilizes the existing communication equipment and the means of communication, can send warning from trend owner's telephone set or beep-pager according to the signal that detector obtains.
For reaching this purpose, the utility model by the following technical solutions:
A kind of full-computerized communication alarm, comprise the control circuit in shell, Infrared Detectors, loud speaker, key switch and the shell, it is characterized in that: described control circuit by infrared acquisition, trigger startups, warning setting, single-chip microcomputer, number typing, number check and correction, send drive, simulation off-hook, all unit of speech path interface and telephone socket form, wherein: the output that described infrared acquisition and warning are provided with the unit connects the input of described triggering start unit; The output of described triggering start unit connects reset terminal and timing end of described single-chip microcomputer; The FPDP of described single-chip microcomputer connects the input of described transmission driver element; The output of described transmission driver element connects the inner of described speech path interface unit; The described telephone socket of outer termination of described speech path interface unit; A data output of described single-chip microcomputer connects described telephone socket through described simulation off-hook unit; The input and output of described number typing unit connect the inner of described speech path interface unit and described single-chip microcomputer respectively another regularly hold; A data output of described single-chip microcomputer connects the input of described number check and correction unit.
When alarm is dealt with emergencies and dangerous situations the ring state, if infrared detecting unit detects the infrared signal of variation, just wake single-chip microcomputer up by triggering start unit, single-chip microcomputer then takes out telephone number and the alarm code that sets in advance from its memory, deliver to telephone socket by the speech path interface unit, thereby utilize existing communication equipment to send predetermined alarm signal, realize reporting to the police automatically to the telephone set or the beep-pager of this telephone number indication.
Below in conjunction with drawings and Examples the utility model is elaborated.
The utility model comprises the control circuit in shell and the shell.In Fig. 1: the 1st, mains switch, the 2nd, infrared lenses, the 3rd, key switch, the 4th, telephone socket, the 5th, key switch interface, the 6th, battery case.
See also Fig. 2.Control circuit drives, simulates off-hook, all unit of speech path interface and telephone socket by infrared acquisition, triggering startup, warning setting, single-chip microcomputer, number typing, number check and correction, transmission and forms.Wherein: infrared acquisition contacts the input of sending out start unit with the output that the unit is set of reporting to the police; The output that triggers start unit connects reset terminal and timing end of single-chip microcomputer; The FPDP of single-chip microcomputer receives and sends the input of driver element; The output that the sends driver element the inner of road interface unit of answering; The outer termination telephone socket of speech path interface unit; A data output of the single-chip microcomputer socket of answering the call through simulation off-hook unit; Answer respectively another of the inner of road interface unit and single-chip microcomputer of the input and output of number typing unit regularly held; A data output of single-chip microcomputer connects the input of number check and correction unit.
See also Fig. 3,,, mark numeral among the figure and be linkage flag so divide two expressions because of former figure breadth is big.Infrared detecting unit is that infrared-sensitive device M1 and three comparison amplifier U2:A~C of P4488 are composed in series by model;
Triggering start unit is composed in series by two transistor Q3, Q2, the output of amplifier U2:C in the infrared detecting unit connects the base stage input of second transistor Q2 through capacitor C 25, the output of Q2 connects the reset terminal 1 of single-chip microcomputer U1 through resistance, connects the timing end 9 (reseting controling end) of U1 again through isolating diode;
It is the key switch (3 among Fig. 1) that picks out from key switch interface J3 (5 Fig. 1) that warning is provided with the unit, one end ground connection of this key switch, the other end of this switch is divided into two-way, the base stage input of first transistor Q3 in the start unit is sent out in one tunnel contact, and another road connects a data input 14 of single-chip microcomputer through isolating diode D5; The speech path interface unit is a rectifier bridge that is made of D1~D4, its outer termination telephone socket J4 (being 4 among Fig. 1);
Resistor network R10~the R25 and the transistor Q4 of voltage are composed in series frequently by producing double-tone to send driver element, the input port of resistor network links to each other with the FPDP 2,3,6,7,16~19 of single-chip microcomputer U1, the answer the inner of D1~D4 in the interface unit of road of the output of transistor Q4;
Number typing unit is a comparator U2:D, and two inputs of comparator connect the inner of D1~D4 in fixed voltage and the speech path interface unit respectively, the output of comparator connect single-chip microcomputer another regularly hold 8;
Number check and correction unit is composed in series by transistor Q1 and loud speaker S1, and the input of transistor Q1 connects a data output 11 of single-chip microcomputer;
Simulation off-hook unit is a transistor Q5, and the input of transistor Q5 connects a data output 15 of single-chip microcomputer, this transistorized output machine transplanting of rice seat J4 that answers the call.
The data input pin 13 of single-chip microcomputer is that end is set in audio frequency/pulse, and it can be selected by jumper wire device J5.
Narrate its operation principle below:
Alarm be placed on need antitheft, fireproof regional in, infrared lenses will be over against taking precautions against the district.
After single-chip microcomputer U1 powers on, the program of single-chip microcomputer will wait for that the user imports telephone number.Number typing principle is: the positive 45V voltage on the telephone wire is after R31 and R32 dividing potential drop, the voltage that is added on the in-phase input end of comparator U2:D is about positive 5V, and be added in voltage on the inverting input of comparator U2:D is by the voltage of alarm power supply 6V voltage through about the positive 3V that R29 and R30 dividing potential drop produce, at this moment the output of U2:D is a high level, and single-chip microcomputer sends the voice signal of waiting for the input telephone number by number check and correction unit to the user.When the user mentioned phone, the voltage on the in-phase input end of U2:D was reduced to about 1V, and U2:D holds 8 output low levels to the timing of single-chip microcomputer, and single-chip microcomputer begins to prepare to read the number pulse.When the user uses the telephone set that joins with telephone socket J4 to key in telephone number under pulse mode, this number is just delivered to the comparator U2:D of number typing unit through the speech path interface unit, enter the timing end 8 of single-chip microcomputer then, single-chip microcomputer deposits it in memory of single-chip microcomputer in then.After the number typing finishes, single-chip microcomputer takes out this number from its memory, after the bits per inch word is processed into corresponding pulse by the size of its numeral, deliver to number check and correction unit from its data output end 11 again, after transistor Q1 drives, send the sound of corresponding number of times again by loud speaker S1, check for owner.
Before power down, this telephone number will keep always, then need reset after the power down.
Single Chip Microcomputer (SCM) program makes alarm work in the low-power consumption mode.After this, do not have button and the situation of the request of reporting to the police under, single-chip microcomputer is delayed time and is just entered the resting state of low-power consumption after several seconds, to reduce battery consumption.Only give the memory power supply of infrared-sensitive device and single-chip microcomputer when promptly setting up defences; When button being arranged or reporting to the police request, the reset circuit of single-chip microcomputer produces reset signal, makes alarm circuit recover normal power supply.
When owner went out, the switch 3 that pushes button was set to the low level state of setting up defences with the data input pin 14 of single-chip microcomputer, and alarm just is on the alert.When owner returned, the switch 3 that pushes button again was set to the state of withdrawing a garrison of high level with the data input pin 14 of single-chip microcomputer, and alarm just is in the non-state of alert.
During the infrared source that changes when taking precautions against regional internal cause personnel movement or breaking out of fire, infrared signal will focus on by scioptics sheet 2, act on the infrared-sensitive device M1, the voltage of M1 output will change, after amplifier U2:A~C compares and amplifies, output generation high level at U2:C is sent into the triggering start unit, this high level produces a positive pulse at the negative terminal of C25, end after triggering the instantaneous conducting of Q2, so just, the transmitting terminal at Q2 produces a resetting voltage variation, wakes single-chip microcomputer up.Owing to be set to low level setting up defences during state at the data input pin 14 of switch that push button with single-chip microcomputer, also single-chip microcomputer can be waken up, reporting to the police so single-chip microcomputer need be confirmed this time to be waken up still is to cause owing to pressing the button, and at this moment single-chip microcomputer can be confirmed by detecting its data input pin 14.If cause that owing to pressing the button then single-chip microcomputer does not deal with.If cause owing to report to the police, then single-chip microcomputer also will detect its data input pin 13, determine that the code sending method that the user sets is audio frequency or pulse, after determining, single-chip microcomputer just accesses the telephone number that the user sets from its memory, produce through sending driver element that double-audio signal is sent or send pulse signals through its data output end 15.When sending number, send the off-hook level by data output end 15 to simulation off-hook unit earlier, make the Q4 that sends in the driver element be in the amplification region, and then send number, finish the artificial dialing procedure of simulation.This number is just delivered to outside line via speech path interface unit, telephone socket J4.
After the user receives phone, can receive the chimes of doom that single-chip microcomputer is sent subsequently, receive the beep-pager signal after, can show the alarm code that single-chip microcomputer is sent subsequently on the beep-pager.Chimes of doom and alarm code are storages in advance in the single-chip microcomputer.
This alarm carries out the setting and the inspection of telephone number or beep-pager sign indicating number by telephone keyboard and cooperating of loudspeaker sound.The telephone number of alarm, call sign indicating number, alarm code, dial mode all can be defined voluntarily by the user.
In the user family of no phone, the output of simulation off-hook unit also can connect the external forte warning device of expansion.