Local battery telephone switchboard
Technical field
The present invention relates to telephonic communication field, relate in particular to a kind of local battery telephone switchboard.
Background technology
In telephonic communication technology, interval along the railway, often use magneto telephone set, this telephone set is done bell signal source and is furnished with call power supply with magneto hand generator.It requires lowly to circuit and switching equipment, and speech range is far away, and maneuverability is easy to use, can connect words without switchboard direct.
Collective-electric telephone, by the call of switching equipment concentrated supply and bell signal power supply.It is simple in structure, but between user, call needs human relay working.
Self-action telephone set, is on collective-electric telephone, installs that the parts such as dial or keypad form additional.It sends numerical selection information by dialing or button, controls switch and carries out automatic connection.Easy to use, do not need human relay working, but automatic switching equipment is more complicated.
Before this, local battery apparatus and magneto exchange dispatcher form scheduling communications system, and common telephone network interconnection, but magneto switchboard volume is large, and price is high, uses dumb.
Development along with telephonic communication technology, at railway section, used optical-fibre communications to replace after cable communication, the use of the telephone communication network based on VOIP, under this kind of form, both used in the telephone communication network based on VOIP, at the on-the-spot magnetic telephone that uses of railway section, access again, side, also can complete the access of magnetite special circuit equally AT STATION.It is the good thing of killing two birds with one stone.
Summary of the invention
The object of the invention is to, a kind of local battery telephone switchboard is provided, realize the mutual conversion between magnetite interface and FXO interface; Can use optical fiber to replace cable communication at railway section, use the telephone communication network based on VOIP, can use again magnetic telephone access at railway section scene, side, also can complete the access of magnetite special circuit equally AT STATION.
Technical scheme of the present invention is: a kind of local battery telephone switchboard, comprise power module, ringing-current module, single chip machine controlling circuit, ringing-current detection module, ring control module, magnetite interface circuit, interface conversion circuit, FXO interface circuit, busy tone detection module, feed detection module and local loop module, described power module respectively with ringing-current module, ring control module, busy tone detection module, feed detection module, local loop module and single chip machine controlling circuit link together, described FXO interface circuit passes through respectively busy tone detection module, feed detection module and local loop module are connected on single chip machine controlling circuit, described magnetite interface circuit is connected on single chip machine controlling circuit by ring control module and ringing-current detection module respectively, described ringing-current module is connected in ring control module, described magnetite interface circuit, interface conversion circuit and FXO interface circuit are connected in turn.
According to a preferred embodiment of the invention, described ring control module is integrated in single chip machine controlling circuit.
According to a preferred embodiment of the invention, also comprise housing, on described housing front panel, be provided with, power supply indicator, ringing-current indicator light, single-chip microcomputer run indicator and line holding indicator light;
On described shell back face-plate, be provided with power supply leading-in terminal, socket, reset key.
According to a preferred embodiment of the invention, described interface conversion circuit comprises:
Relay; Described relay is connected with described single chip machine controlling circuit;
Described single chip machine controlling circuit is known after the ringing signal of magnetite interface incoming call, controls described relay closes, forms loop with described FXO interface circuit, enters talking state; Or, know after the ringing signal of described FXO interface incoming call, magnetite interface is sent to ringing-current, when ring time reaches the first setting-up time threshold value, control described relay closes and described FXO interface circuit and form loop, enter talking state;
Under talking state, described single chip machine controlling circuit knows that local battery apparatus disconnects or learns local battery apparatus incoming call ringing signal again in call, controls described relay and disconnects, and finishes this calling;
Under seizure condition, described single chip machine controlling circuit knows that FXO interface busy-back signal reaches after the second setting-up time threshold value, controls described relay and disconnects, and finishes this calling.
By a kind of local battery telephone switchboard of the present invention, realize the conversion between magnetite interface and FXO interface.Can use optical fiber to replace cable communication at railway section, use the telephone communication network based on VOIP, can use again magnetic telephone access at railway section scene, side, also can complete the access of magnetite special circuit equally AT STATION.
Accompanying drawing explanation
Fig. 1 is the operation principle block diagram of a kind of local battery telephone switchboard of the present invention;
Fig. 2 is the structural representation of the housing front panel of a kind of local battery telephone switchboard of the present invention;
Fig. 3 is the structural representation of the shell back face-plate of a kind of local battery telephone switchboard of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is carried out to detailed narration.A kind of local battery telephone switchboard as shown in Figure 1, power module links together by wire with ringing-current module, ring control module, busy tone detection module, feed detection module, local loop module and single chip machine controlling circuit respectively, for ringing-current module, ring control module, busy tone detection module, feed detection module, local loop module and single chip machine controlling circuit provide power supply.FXO interface circuit is connected on single chip machine controlling circuit by wire by busy tone detection module, feed detection module and local loop module respectively, magnetite interface circuit is connected on single chip machine controlling circuit by wire by ring control module and ringing-current detection module respectively, ringing-current module is connected in ring control module by wire, and magnetite interface circuit, interface conversion circuit and FXO interface circuit link together by wire.Ring control module is integrated in single chip machine controlling circuit.
Interface conversion circuit comprises a relay; Relay is connected by wire with single chip machine controlling circuit; Single chip machine controlling circuit is known after the ringing signal of magnetite interface incoming call, controls described relay closes, forms loop with FXO interface circuit, enters talking state; Or, to know after the ringing signal of FXO interface incoming call, magnetite interface is sent to ringing-current, and when ring time reaches the first setting-up time threshold value, control relay is closed forms loop with FXO interface circuit, enters talking state; Under talking state, single chip machine controlling circuit knows that local battery apparatus disconnects or learns local battery apparatus incoming call ringing signal again in call, controls described relay and disconnects, and finishes this calling; Under seizure condition, single chip machine controlling circuit knows that FXO interface busy-back signal reaches after the second setting-up time threshold value, and control relay disconnects, and finishes this calling.
Fig. 2 is the structural representation of the housing front panel of a kind of local battery telephone switchboard of the present invention.Fig. 3 is the structural representation of rear board.As can be seen from Fig., a kind of local battery telephone switchboard of the present invention, comprises a housing, local battery telephone switchboard circuit, and local battery telephone switchboard circuit is contained in described housing; On described housing front panel, there are 5 green indicating lamp and mains switches that are used for display device operating state; Indicator light from left to right, is followed successively by 12V power supply indicator, 5V power supply indicator, ringing-current indicator light, single-chip microcomputer run indicator and line holding indicator light; Wherein, 12V and 5V power supply indicator are used to refer to power work state, and indicator light is lighted and represented that power work is normal; Ringing-current indicator light is lighted when to the ring of magnetite interface; The running status of run indicator indication single-chip microcomputer, while normally moving, indicator light interval 1s is glittering; Work as line holding, when talking state, take indicator light and light, speech channel is restored rear indicator light and is extinguished.
On shell back face-plate, there is 1 12V power supply leading-in terminal, be used for introducing direct current 12V input power; 1 RJ11 socket, is used for introducing the outside line of FXO interface; Socket is introduced in the outside line of 1 magnetite interface; 1 reset key, is used for equipment to carry out the reset operation of program;
Local battery telephone switchboard is realized the conversion between magnetite interface and FXO interface.
Local battery telephone switchboard circuit, the conversion regime of realizing between magnetite interface and FXO interface is:
(1) magnetite interface connects local battery apparatus, and during incoming call, electric circuit inspection is after the ringing signal of incoming call, and circuit control relay is closed, forms loop with FXO interface, and imitate pick machine, takies indicator light and light, and enters talking state;
(2) during the incoming call of FXO interface, equipment Inspection, after the ringing signal of incoming call, sends the ringing-current of 5s to magnetite interface, and then FXO interface forms loop, and imitate pick machine, takies indicator light and light, and enters talking state;
(3), under magnetic telephone talking state, because local battery apparatus cannot send on-hook signal, in local battery telephone switchboard, design now two kinds of methods and send on-hook signal and discharge circuit:
One, by magnetite phone, pull out the mode of line, after equipment Inspection disconnects to local battery apparatus, speech channel is restored, and takies indicator light and extinguishes, this end of calling;
Two, by local battery apparatus, in call, again send ringing signal mode, electric circuit inspection is after the ringing signal of incoming call, and speech channel is restored, and takies indicator light and extinguishes, this end of calling;
(4) under seizure condition, equipment Inspection is after FXO interface 3s busy-back signal, and speech channel is restored, and takies indicator light and extinguishes, this end of calling.
Under design of the present invention, those skilled in the art, can derive a plurality of technical schemes, and still, all technical schemes are all within the protection range of the claims in the present invention book.