A kind of telephony interface of industrial intercommunication
Technical field
The utility model relates to a kind of public switched telephone network (PSTN) access scheme of industrial intercommunication, specifically is applied to the communication of the inner intercommunication of industrial and mining enterprises.
Background technology
In the internal communication system of industrial and mining enterprises, inner intercom system because of convenient, fast, a key puts in place, Radio Paging etc. is used the demand that the every function that designs has greatly satisfied the user at enterprise, has occupied bigger proportion.
Prior art exists industrial intercommunication product and outside line interface circuit generally can only carry out broadcast ﹠ call in actual applications, can not the duplexing problem of conversing.
Summary of the invention
Technical problem to be solved in the utility model provides a kind of telephony interface of industrial intercommunication, he has and adopts TIM trunk interface module that the line input signal of public switch telephone network PSTN is detected, when detecting the reversed polarity enabling signal, open quiet commutation circuit by the UP control unit, The Calling Party Hooks On testing circuit detects that The Calling Party Hooks On signal, when the signal that reads that The Calling Party Hooks On, the UP control unit discharges quiet commutation circuit, and simulation off-hook control signal resets; When detecting the ringing-current enabling signal, UP control unit control TIM trunk interface module is simulated off-hook, make TIM trunk interface module output audio voice signal, open quiet commutation circuit by the UP control unit, detect caller off hook signal (being busy tone) afterwards again, as read signal, close quiet commutation circuit then with the release of TIM trunk interface module circuit, any one user and intercommunication user both can carry out broadcast ﹠ call in the realization public switch telephone network, can realize the characteristics of duplex conversation again.
For solving the problems of the technologies described above, the telephony interface of a kind of industrial intercommunication that the utility model provides, it is characterized in that, comprise TIM trunk interface module, up control unit, The Calling Party Hooks On testing circuit, line drive circuit, balance bridge circuit, prompt tone produce circuit and quiet commutation circuit.
Described TIM trunk interface module comprises ringing-current and reversed polarity detection sub-module, dislodging machine implementation sub-module and line status detection sub-module, described ringing-current and reversed polarity detection sub-module, dislodging machine implementation sub-module and line status detection sub-module are connected with line input signal and the described up control unit of public switch telephone network PSTN, and described TIM trunk interface module also produces circuit with described The Calling Party Hooks On testing circuit and described prompt tone and is connected.
Described UP control unit also produces circuit, quiet commutation circuit with described prompt tone, The Calling Party Hooks On, and testing circuit is connected.
Described line drive circuit is arranged between described The Calling Party Hooks On testing circuit and the quiet commutation circuit.
Quiet commutation circuit is connected with the balance bridge circuit.
The balance bridge circuit connects intercom system.
Preferred version to above-mentioned foundation structure is that described balance bridge circuit comprises balance bridge module, balance adjustment device and input/output port protection device.
The balance bridge module comprises first resistance (Z1), second resistance (Z2) and the 3rd resistance (Z3), first resistance (Z1), second resistance (Z2), the 3rd resistance (Z3) constitute each arm of bridge circuit, balance adjustment device (VR1) constitutes another arm of bridge circuit, and it is followed in series to form the loop.
The radio voice passage connects after the described input/output port protection device in parallel with described first resistance (Z1); Outside line trunk interface signal input part is with described first resistance (Z1), second resistance (Z2) or the 3rd resistance (Z3), (VR1) is in parallel for the balance adjustment device; Outside line voice-call-signaling output is with described first resistance (Z1), the 3rd resistance (Z3) or second resistance (Z2), (VR1) is in parallel for the balance adjustment device.
To improvement of the technical scheme be, also comprise working station indicator, working station indicator is connected with the UP control unit.
Technique scheme further is improved to, also comprises the unusual indicator light of circuit, the unusual indicator light of described circuit is connected with described TIM trunk interface module.
Advantage of the present utility model is:
1. the utility model adopts TIM trunk interface module that the line input signal of public switch telephone network PSTN is detected, when detecting the reversed polarity enabling signal, line status detection sub-module in the TIM trunk interface module detects line status, detected line state signal is sent to the UP control unit, open quiet commutation circuit by the UP control unit, the UP control unit is by The Calling Party Hooks On the testing circuit signal that detects that The Calling Party Hooks On afterwards, when the signal that reads that The Calling Party Hooks On, quiet commutation circuit is discharged, and simulation off-hook control signal resets; When detecting the ringing-current enabling signal, UP control unit control TIM trunk interface module circuit is simulated off-hook, make TIM trunk interface module output audio voice signal, quiet commutation circuit is opened in the control of UP control unit, to open path, the UP control unit is by The Calling Party Hooks On testing circuit detection The Calling Party Hooks On signal (being busy tone) afterwards, when the signal that reads that The Calling Party Hooks On, quiet commutation circuit is discharged, and simulation off-hook control signal resets.
The utility model is discerned, is handled ringing-current and two kinds of Starting mode of reversed polarity, make and carry out broadcast ﹠ call and duplex conversation in the PSTN public switch telephone network between any one user and intercommunication user, satisfy the user and instruct the demand of broadcasting, intercommunication communication, solved that industrial intercommunication product and outside line interface circuit generally can only carry out broadcast ﹠ call in the prior art, problem that can not the duplex conversation.
2. the utility model produces circuit by prompt tone and produces voice signal, when outside line calling subscriber call through, control it by the UP control unit and export suggestion voice by TIM trunk interface module to the outside line calling subscriber, the called broadcast channel on of announcement can be carried out broadcast ﹠ call.
3, on the UP control unit, working station indicator is set, its operating state is monitored.
4, by increasing line status testing circuit and the unusual indicator light of circuit, when circuit is in abnormal condition, in time report to the police by the unusual indicator light of circuit.
The utility model discloses the solution that a kind of inner intercommunication is connected with the PSTN public switch telephone network, by the utility model, any one telephone subscriber can directly carry out gamut broadcasting and duplex conversation with inner intercom system in the PSTN public switch telephone network.The installation wiring is simple, only needs to insert two core telephone wires to TIM trunk interface module of the present utility model and gets final product working stability, sound clarity.
Description of drawings
Below in conjunction with the drawings and specific embodiments the technical solution of the utility model is further described in detail.
Fig. 1 is a structured flowchart of the present utility model.
Fig. 2 is a circuit block diagram of the present utility model.
Fig. 3 is quiet commutation circuit of the present utility model and balance bridge circuit diagram.
Fig. 4 is the workflow diagram of the utility model UP control unit.
Wherein, Z1-first resistance, Z2-second resistance, Z3-the 3rd resistance, VR1-balance adjustment device, TR1-first transformer, TR2-second transformer.
Embodiment
Structured flowchart of the present utility model as shown in Figure 1, the technical program mainly produce circuit by TIM trunk interface module, up control unit, The Calling Party Hooks On testing circuit, line drive circuit, balance bridge circuit, prompt tone and quiet commutation circuit is formed.
Line input signal, the up control unit of TIM trunk interface module and public switch telephone network PSTN, The Calling Party Hooks On testing circuit and prompt tone produce circuit and are connected; Be provided with ringing-current and reversed polarity detection sub-module, the dislodging machine implementation sub-module that is used to realize simulating the dislodging machine that is used for detection line input signal Starting mode, the line status detection sub-module that is used for various operating states on the detection line in the TIM trunk interface module.The technical scheme that is more preferably is that TIM trunk interface module also is provided with the line status indicator light.
The UP control unit produces circuit, quiet commutation circuit with prompt tone, The Calling Party Hooks On, and testing circuit is connected; Line drive circuit is arranged at that The Calling Party Hooks On between testing circuit and the quiet commutation circuit; Quiet commutation circuit is connected with the balance bridge circuit; The balance bridge circuit connects intercom system.
Its purpose is, make TIM trunk interface module have measuring ability and simulation dislodging machine controlled function such as ring detection, reversed polarity detection, the detection of circuit abnormal condition, line input signal La, Lb deliver to the up control unit with detected ring, reversed polarity and handle through after flowing through voltage protection circuit; The detected signal of circuit abnormal condition is directly exported through the indication of reporting to the police of circuit unusual indicator light; The simulation that the up control unit is sent here is plucked, on-hook signal is delivered to TIM trunk interface module, realizes that the interface simulation is plucked, on-hook, exports the signal transformation on the circuit to audio amplifier circuit, sees Fig. 2.
The input of UP control unit and The Calling Party Hooks On the testing circuit purpose of connecting is to obtain The Calling Party Hooks On signal.The output of UP control unit is connected with TIM trunk interface module, it is handled the simulation off-hook control signal of judging back output to reversed polarity enabling signal, ring enabling signal send to TIM trunk interface module, realize the simulation off-hook by the dislodging machine implementation sub-module of TIM trunk interface module; The output of UP control unit also is connected with quiet commutation circuit, controls the open and close of quiet commutation circuit.The UP control unit also produces circuit with prompt tone and is connected, be used for when outside line calling subscriber call through, control it by the UP control unit and export suggestion voice by TIM trunk interface module to the outside line calling subscriber, the called broadcast channel on of announcement can be carried out broadcast ﹠ call.
In conjunction with circuit block diagram of the present utility model shown in Figure 2 as can be known, the output of TIM trunk interface module connects the UP control unit, and detected reversed polarity enabling signal, ring enabling signal, line state signal are sent to the UP control unit; The output of TIM trunk interface module is connected with also that The Calling Party Hooks On testing circuit, line signal is output audio signal after TIM trunk interface module is handled, and be divided into two-way: the one road delivers to audio amplifier circuit; Another road is to discharge circuit U3A, the testing circuit U1 that sends into after treatment that The Calling Party Hooks On, should The Calling Party Hooks On testing circuit U1 can detect the audio signal of 300Hz ~ 640Hz frequency band, output complete square wave signal is given the UP control unit, and the specific structure key elements such as (the complete square wave deration of signal, the time interval length that repeats) of signal is differentiated to The Calling Party Hooks On by the UP control unit.
Operation principle of the present utility model is: TIM trunk interface module is finished ring detection, reversed polarity detection, the circuit abnormal condition detects and simulation dislodging machine is carried out function.As shown in Figure 1; line input signal La; Lb is through after flowing through voltage protection circuit; send into TIM trunk interface module; ringing-current and reversed polarity detection sub-module by TIM trunk interface module detect ringing-current and two kinds of working methods of reversed polarity startup: the ringing-current of TIM trunk interface module and reversed polarity detection sub-module detect the line input signal of public switch telephone network PSTN; when detecting circuit input ringing-current enabling signal; the line status detection sub-module of TIM trunk interface module detects the ringing signal of input; if circuit is normal; then export the ring enabling signal and give the UP control unit; handle back output simulation off-hook control signal by the UP control unit and give TIM trunk interface module; realize the simulation off-hook; the UP control unit is controlled quiet commutation circuit opening voice channel output circuit simultaneously; TIM trunk interface module is processed into audio frequency signal frequently with the line signal of input; after the broadcast singal via line drive circuit amplification with the calling subscriber, export to intercom system by the balance bridge circuit through quiet commutation circuit.
The Calling Party Hooks On, and testing circuit detects the audio signal of being exported by TIM trunk interface module, when the UP control unit is judged by The Calling Party Hooks On when testing circuit sends for The Calling Party Hooks On signal, signal sends to TIM trunk interface module to the UP control unit with The Calling Party Hooks On, and the output control signal is closed quiet commutation circuit, gets back to initial condition.
When detecting the reversed polarity enabling signal, controlling quiet commutation circuit by the UP control unit opens, afterwards again by The Calling Party Hooks On the key signal that detects that The Calling Party Hooks On, when reading on-hook signal, the UP control unit is controlled quiet commutation circuit and is closed, discharge quiet commutation circuit, the simulation off-hook control signal that resets turns back to initial condition.
Fig. 3 has provided the embodiment of a kind of quiet control of the present utility model and balance bridge circuit.Balance bridge circuit in the present embodiment comprises balance bridge module, balance adjustment device and input/output port protection device; the balance bridge module comprises the first resistance Z1, the second resistance Z2, the 3rd resistance Z3; the first resistance Z1, the second resistance Z2, the 3rd resistance Z3 constitute each arm of bridge circuit; balance adjustment device VR1 constitutes another arm of bridge circuit, and it is followed in series to form the loop.The radio voice passage connects after the described input/output port protection device in parallel with the first resistance Z1, is connected to the A-C end of bridge circuit; Outside line trunk interface signal input part is connected to the C-D end with the described first resistance Z1, the second resistance Z2 or the 3rd resistance Z3, VR1 is in parallel for the balance adjustment device; Outside line voice-call-signaling output is connected to the A-B end with the first resistance Z1, the 3rd resistance Z3 or the second resistance Z2, VR1 is in parallel for the balance adjustment device.
Reply voice signal because of comprising on the radio voice channel signal to send to come from the call signal of outside line and other intercommunication words station, the two is mixed on a pair of holding wire, causes self-oscillation easily.By adjusting the parameter of balance brachium pontis, make brachium pontis be in poised state, to eliminate self-oscillation.After voice signal amplifies through line drive circuit, after C2 delivers to REL1 and carries out quiet switching (normality is by R2 ground connection, to avoid the interference of noise to the radio voice passage), to line ouput transformer TR2, i.e. the second transformer TR2.The first resistance Z1, the second resistance Z2, the 3rd resistance Z3 and balance adjustment device VR1 Compositional balance bridge circuit; adjust the balance of brachium pontis by balance adjustment device VR1; the signal of second transformer TR2 output is delivered to brachium pontis A-B end; bridge balancing is after first resistance Z1 output; after overcurrent protection, output to the full talk circuit port.Input signal is given the trunk interface circuit through brachium pontis C-D end VR2 volume control back to the first transformer TR1, finishes radio voice channel signal ground and imports.The execution mode of this balance bridge circuit makes circuit satisfy Z1 * VR1=Z2 * Z3 by adjusting balance adjustment device VR1, makes electric bridge be in poised state.When outside line calling subscriber call signal is imported, deliver to A-B end voice signal input after its process trunk interface processing of circuit, export the radio voice passage to after being coupled, VCD ≈ 0 is that the output of trunk interface end signal is minimum at this moment, thereby has avoided the mixed of signal and the self-excitation of generation.And intercommunication user answer signal is delivered to trunk interface circuit to the C-D end from the input of A-C end after being coupled.
The workflow diagram of the utility model UP control unit as shown in Figure 4, after the utility model complete machine powering startup work, Automatic Program enters running status: earlier hardware interface is carried out initialization, carrying out the reversed polarity enabling signal then detects, if detect the reversed polarity enabling signal, then reversed polarity being started the working method setting is provided with, open quiet commutation circuit, detect the main frame on-hook signal afterwards, as read on-hook signal then with quiet commutation circuit release, reset and simulate the off-hook control signal, turn back to initial condition; Do not detect signal and then continue to detect, till reading signal.As do not detect the reversed polarity enabling signal, then the ring enabling signal is detected, if detect the ring enabling signal, then ring being started the working method setting carries out, control TIM trunk interface module circuit is simulated the off-hook action, output audio voice signal and quiet commutation circuit is provided with is opened path.Detect caller off hook signal (being busy tone) afterwards again, as read signal, close quiet commutation circuit, turn back to initial condition, do not detect signal and then continue to detect, till reading this signal then with the release of TIM trunk interface module circuit.When two enabling signals all do not detect, then turn back to initial condition, carry out read operation next time, program is operation automatically repeatedly in above-mentioned flow process.
It should be noted last that, above embodiment is only unrestricted in order to the explanation the technical solution of the utility model, although the utility model is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement the technical solution of the utility model, and not breaking away from the spirit and scope of technical solutions of the utility model, it all should be encompassed in the middle of the claim scope of the present utility model.