The utility model content
At above-mentioned the problems of the prior art and deficiency; the utility model provides a kind of security performance good, telephone network is not exerted an influence diverse in function; interactive performance is good, possesses the telephone device that is used for household network communication of voice suggestion and cipher protection function simultaneously.
The technical solution of the utility model, realize as follows:
A kind of telephone device that is used for household network communication comprises telephone line socket, automatic take offing machine circuit, ring sample circuit, microprocessor, sound circuit, memory EEPROM, dtmf signal process chip, signal point of common coupling and power module.Its design feature is, telephone line socket is connected with the ring sample circuit with automatic take offing machine circuit respectively, automatic take offing machine circuit is connected with the signal point of common coupling, the signal point of common coupling is connected with sound circuit with the dtmf signal process chip respectively, and sound circuit, ring sample circuit, automatic take offing machine circuit, dtmf signal process chip, memory EEPROM, power module are connected with microprocessor respectively.
The composite pipe circuit that above-mentioned automatic take offing machine circuit comprises the directional circuit be made up of diode D1-D4, be made up of resistance R 6, triode T2 and T1, piezo-resistance ZNR, the equivalent resistance of forming by the D.C. resistance of resistance R 4 and R5, audio frequency transformer, telephone wire CJ2 connects directional circuit, the piezo-resistance ZNR directional circuit that inserts in parallel, the directional circuit negativing ending grounding, anode connects composite pipe circuit, composite pipe circuit is connected with equivalent resistance, and the P17 pin of microprocessor connects the composite pipe circuit of circuit for answering by optocoupler U7-2, resistance R 8.
Above-mentioned ring sample circuit comprises capacitance coupling circuit, photoelectrical coupler, diode D5 that is made up of capacitor C 1 and resistance R 1 and the integrating circuit of being made up of capacitor C 2 and resistance R 7, capacitance coupling circuit connects the emission side of photoelectrical coupler, the emission side of photoelectrical coupler is in parallel with diode D5, and the outlet side of photoelectrical coupler connects integrating circuit.
Above-mentioned sound circuit comprises the ISD speech chip; by loudspeaker CJ5; resistance R 20; resistance R 21; resistance R 22; capacitor C 14; capacitor C 15; the MICPHONE match circuit that capacitor C 16 is formed; by triode T13; resistance R 15; the audio frequency amplifier that resistance R 16 is formed; audio frequency transformer; diode D6 protective circuit and coupling capacitance C7; 17 pins of ISD speech chip connect the MICPHONE match circuit; 14 of ISD speech chip; 15 pins connect audio frequency amplifier as output pin through capacitor C 6; audio frequency amplifier is in parallel with diode D6 protective circuit, and audio frequency amplifier connects audio frequency transformer through coupling capacitance C7.
Above-mentioned dtmf signal process chip comprises the MT8888c chip; be connected into the operational amplifier of voltage follow mode; protective circuit of diode D7 and by triode T4; T5; resistance R 31-R34; diode D8; the phone sound process testing circuit that capacitor C 20 is formed; the 8th pin concatenation operation amplifier of MT8888c chip; the output pin 1 of operational amplifier; 2 through diode D7 protective circuits and capacitor C 8 audio frequency amplifier that is of coupled connections; audio frequency transformer is connected the 2nd pin of MT8888c chip with resistance R 23 through capacitor C 10; the 13rd pin of MT8888c chip connects phone sound process testing circuit, and phone sound process testing circuit connects the 5th pin of microprocessor.
It is the memory EEPROM of 24C01A in order to the telephone number of storage lock needs and the model of other information that above-mentioned microprocessor connects a slice, the 18th, 19 pins of microprocessor connect the clock oscillation circuit XT1 of the crystal oscillator that uses 11.0592MHZ, and the 9th pin of microprocessor connects the interim charging circuit of being made up of capacitor C 24, diode D9 and resistance R 35.
The utility model has been protected telephone communication device owing to used the make a return journey high voltage interference of telephone wire of piezo-resistance in automatic take offing machine circuit.Also used equivalent resistance to come regulating system to insert the resistance value of telephone network in the automatic take offing machine circuit, guaranteed that when the T1 conducting, the direct current in the telephone wire is about 20MA, has avoided the influence to Be Controlled electrical equipment and telephone network.This device adopts microprocessor and connected memory EEPROM24C01A to realize cryptoguard, thereby has increased the fail safe of this device.The speech chip of this device provides the voice operating prompting to the user, can effectively prevent user's misoperation, speech chip also provides the alarm voice that can adjust flexibly simultaneously, and the alarm call of combined memory EEPROM24C01A storage can adapt to different warning needs.Simultaneously, the user can also carry out alternately with strange land telephone set and this device, realizes the control of electric equipment in the family, the inquiry of current open and-shut mode are changed or set the part configuration information of this device.
Embodiment
Referring to Fig. 1, Fig. 2, a kind of telephone device that is used for household network communication comprises telephone line socket 1, automatic take offing machine circuit 2, ring sample circuit 3, microprocessor 4, sound circuit 5, memory EEPROM6, dtmf signal process chip 7, signal point of common coupling 8 and power module 9.Its design feature is, telephone line socket 1 is connected with ring sample circuit 3 with automatic take offing machine circuit 2 respectively, automatic take offing machine circuit 2 is connected with signal point of common coupling 8, signal point of common coupling 8 is connected with sound circuit 5 with dtmf signal process chip 7 respectively, and sound circuit 5, ring sample circuit 3, automatic take offing machine circuit 2, dtmf signal process chip 7, memory EEPROM6, power module 9 are connected with microprocessor 4 respectively.
Referring to Fig. 2, Fig. 3, automatic take offing machine circuit 2 comprises the directional circuit of being made up of diode D1-D4 10, by resistance R 6, the composite pipe circuit 11 that triode T2 and T1 form, piezo-resistance ZNR12, by resistance R 4 and R5, the equivalent resistance 13 that the D.C. resistance of audio frequency transformer 20 is formed, telephone wire CJ2 connects directional circuit 10, the piezo-resistance ZNR12 directional circuit 10 that inserts in parallel, directional circuit 10 negativing ending groundings, anode connects composite pipe circuit 11, composite pipe circuit 11 is connected with equivalent resistance 13, and the 17th pin of microprocessor 4 is by optocoupler U7-2, resistance R 8 connects the composite pipe circuit 11 of circuit for answering 2.When the 17th pin of microprocessor 4 was high level, 6, the 5 pin conductings of optocoupler U7-2 made the triode T1 conducting of composite pipe circuit 11.No matter the polarity of telephone wire how, directional circuit 10 guarantees that the emitter of triode T1 is positive voltage.Piezo-resistance ZNR12 be for the high-tension interference of removing telephone wire as thunderbolt etc., the protection phone module is unlikely to damage.When triode T1 conducting, equivalent resistance 13 guarantees that the direct current in the telephone wire is: about 20MA, realize normal handoff functionality.Audio frequency transformer 20 is realized the mutual coupling of signals such as DTMF, voice, process simultaneously, and realizes the electrical isolation of telephone wire and microprocessor 4.
Referring to Fig. 2, Fig. 4, above-mentioned ring sample circuit 3 comprises capacitance coupling circuit 14, photoelectrical coupler 15, diode D5 that is made up of capacitor C 1 and resistance R 1 and the integrating circuit of being made up of capacitor C 2 and resistance R 7 16, capacitance coupling circuit 14 connects the emission side of photoelectrical coupler 15, the emission side of photoelectrical coupler 15 is in parallel with diode D5, and the outlet side of photoelectrical coupler 15 connects integrating circuit 16.Bell signal is added to the emission side of photoelectrical coupler 15 behind capacitance coupling circuit 14, positive half cycle at bell signal, the luminous tube of photoelectrical coupler 15 is luminous, 7 of its outlet side, 8 pin conductings, capacitor C 2 is by 8, the 7 pin charging of photoelectrical coupler 15, and charging rate is very fast, and the 33rd pin of microprocessor 4 can reach below the 1V very soon.Negative half period at bell signal, the luminous tube of photoelectrical coupler 15 is not luminous, 8,7 pin of its outlet side end, and capacitor C 2 is by resistance R 7 discharges, the time constant of discharge is: 100K*100U=1S, and the frequency of bell signal is 25HZ, and the cycle is 40MS, so the discharge process of capacitor C 2 is slower than charging process, voltage on the capacitor C 2 can maintain below the 1V basically, and microprocessor can detect low level bell signal.The setting of diode D5 is that the emission side of the time protection photoelectrical coupler for the negative half period of bell signal is not damaged.During no bell signal, the emission side of photoelectrical coupler 15 is not luminous, and 8,7 pin of its outlet side end, and capacitor C 2 finally is put into 5V by resistance R 7 discharges, and the 33rd pin of microprocessor 4 is a high level.
Referring to Fig. 2; Fig. 5; above-mentioned sound circuit 5 comprises ISD speech chip 17; by loudspeaker CJ5; resistance R 20; resistance R 21; resistance R 22; capacitor C 14; capacitor C 15; the MICPHONE match circuit 18 that capacitor C 16 is formed; by triode T13; resistance R 15; the audio frequency amplifier 19 that resistance R 16 is formed; diode D6 protective circuit and coupling capacitance C7; 17 pins of ISD speech chip 17 connect the MICPHONE match circuit; 14 of ISD speech chip 17; 15 pins connect audio frequency amplifier 19 as output pin through capacitor C 6; audio frequency amplifier 19 is in parallel with diode D6 protective circuit; play a protective role, audio frequency amplifier 19 connects audio frequency transformer 20 through coupling capacitance C7.Wherein, the ISD speech chip is selected ISD25120 for use, can record 120 seconds high-quality voice signal at most, and multipotency is divided into 600 sections.Voice signal is delivered to ISD25120 by the 17th pin of ISD25120, but through the operation recorded speech to ISD25120.The signal of playback is exported by the 14th, 15 pins of ISD25120, and this signal can drive sound horn on the one hand, also can be added to audio frequency amplifier 19 by capacitor C 6 simultaneously and is coupled on the audio frequency transformer 20 by capacitor C 7 after amplifying.
Referring to Fig. 2; Fig. 6; above-mentioned dtmf signal process chip 7 comprises MT8888c chip 21; be connected into the operational amplifier 22 of voltage follow mode; diode D7 protective circuit and by triode T4; T5; resistance R 31-R34; diode D8; the phone sound process testing circuit 23 that capacitor C 20 is formed; the 8th pin concatenation operation amplifier 22 of MT8888c chip 21; the output 1 of operational amplifier 22; 2 pin are through protective circuit of diode D7 and capacitor C 8 audio frequency amplifier 19 that is of coupled connections; audio frequency transformer 20 is connected the 2nd pin of MT8888c chip 21 with resistance R 23 through capacitor C 10; the 13rd pin of MT8888c chip 21 connects phone sound process testing circuit 23, and phone sound process testing circuit 23 connects the 5th pin of microprocessor 4.By the 8th pin of MT8888c chip 21, resistance R 24 and operational amplifier 22 send single audio signal or send the dual tone multi-frequency dtmf signal to audio frequency transformer 20.Output 1, the 2 foot meridian capacitor C8 of operational amplifier 22 are coupled to audio frequency amplifier 19.Protective circuit of diode D7 is the damage that may cause operational amplifier 22 for the high-voltage signal that prevents to be come by audio frequency transformer 20 couplings by the telephone wire side.Dtmf signal on the telephone wire is delivered to the input of MT8888c chip 21 through audio frequency transformer 20, capacitor C 10, resistance R 23.Phone sound process testing circuit 23 can make the CP pin of MT8888c chip 21 export the conversation process signals of phone by after MT8888c chip 21 is carried out software setting, can know the residing state of this phone by the analysis of 4 pairs of signals of microprocessor.
Referring to Fig. 2, it is the memory EEPROM24 of 24C01A in order to the telephone number of storage lock needs and the model of other information that above-mentioned microprocessor 4 connects a slices, the 18th, 19 pins of microprocessor 4 connect the clock oscillation circuit XT1 of the crystal oscillator that uses 11.0592MHZ, and the 9th pin of microprocessor 4 connects the interim charging circuit of being made up of capacitor C 24, diode D9 and resistance R 35 25.The memory EEPROM storage inside that is connected with microprocessor 4 the 10th, 11 pins the sequence number of producer's title, module type, module.These all are the information of normal communication indispensability on the HomeNet network.And supply module 9 and resistance R 36, resistance R 37, resistance R 38, diode D10, inductance L, capacitor C 27, capacitor C 28 constitute power supply units, bus 24V voltage, are transformed into 5V and supply with this module.
Cipher protection function of the present utility model is realized as follows: the utility model leaves it among RAM of microprocessor 4 in after receiving password.When judging that user cipher is whether correct, reading system password from memory EEPROM24C01A leaves among the RAM of microprocessor 4 earlier, each byte relatively successively, have one inconsistent, then input the password mistake.If wrong, then receive again less than 3 times; If expire 3 times, major cycle is returned in then the utility model on-hook.The reception of revising password is similar to the reception checking routine flow process of password, only need relatively be whether the password modification data of twice input are consistent, if unanimity then need be saved among the memory EEPROM24C01A; Inconsistent, then password will not be revised, and returns.The warning number also leaves among the memory EEPROM24C01A, and it is similar to the modification password to revise outer group warning number.
Implementation of the present utility model is: telephone line socket 1 direct connection telephone line from the above mentioned, as phone by outside when squeezing into, it is 1: 4 square wave that its bell signal becomes duty ratio through ring sample circuit 3, send into the I/O mouth of microprocessor 4, monitor by microprocessor 4, when ring is reach 6 times, microprocessor 4 control automatic take offing machine circuits 2 off-hooks, control sound circuit 5 then and play voice, voice are delivered to signal point of common coupling 8 and are passed to called telephone through telephone wire again.The user is according to the voice suggestion in the phone, press corresponding key issue an order, order is passed to signal point of common coupling 8 through telephone wire, caught by dtmf signal process chip 7, send into microprocessor 4 after treatment, microprocessor 4 becomes corresponding instruction to data processing again, sends on the subscriber bus by the serial ports with network communication, obtains operating result then.
Implementation by telephone call is: the alarm signal on the subscriber bus, after the serial ports of microprocessor 4 is sent into, microprocessor 4 is analyzed, from memory EEPROM6, read the telephone number of prior storage, control automatic take offing machine circuit 2 off-hooks again, control dtmf signal process chip 7 immediately and outwards transfer to this number, whether control dtmf signal process chip 7 detection called phones then puts through, if put through, dtmf signal process chip 7 just can be notified microprocessor 4, and 4 of microprocessors drive sound circuit 5 and play the voice of recording in advance, and voice signal is by common signal Coupling point 8, be sent to called phone through telephone wire, report to the police.Wherein said power module 9 is whole microprocessor 4 power supplies.
This device also provides " voice suggestion is arranged " and " no voice sound prompting " two kinds of modes of operation simultaneously, and the user can according to circumstances select for use." voice suggestion is arranged " and be fit to those persons of using just, " not having the prompting continued operation " is fit to those practicians, allows them can finish the operation of hope more quickly.In addition, this telephone communication device also provides with owner and has far controlled the public function of checking meter that functions of the equipments are isolated, and this makes things convenient for the government functionary to check meter, and they need not to register one's residence, the code name of according to the form below on phone, and that has just transmitted the number of degrees of table phone.And owner need not worry the safety problem of family.