Summary of the invention
At above deficiency, the invention provides a kind of multichannel audio standby system, the multichannel program source is carried out 100% redundancy backup, promptly adopt two to overlap independently multichannel program source, a cover is the main program source, and a cover is the backup program source, two programs sources are connected by the multi-channel audio automatic backup system and manage, when break down in the main program source, can switch to the backup program source automatically apace, guarantee that program source has high safety guarantee in performance.In addition, this invention also can be carried out redundancy backup to the multi-channel audio processor, when primary processor breaks down, automatically switches to the back-up processing device.
Multichannel audio standby system comprises a multichannel audio standby system main control system and at least 14 multichannel audio standby system switchs at the most, every multichannel audio standby system switch maximum provides the input of eight tunnel audio signal, the input of eight road backup audio signals.Multichannel audio standby system is by the backup path of many All-China Federation of Taiwan Compatriots of control computer realization machine extended audio.
The multichannel audio standby system main control system is responsible for the input and output of detection signal based on the main frame microcontroller system, and fault judgement, according to judged result output control command, is responsible for the power supply of whole system simultaneously.The multichannel audio standby system main control system comprises the main frame microcontroller system, the control signal communicating circuit, detection signal input circuit and detection signal output circuit, the main frame microcontroller system is responsible for the state computing and the control of system, the control signal communicating circuit is responsible for the communication between main control system and the Ge Tai switch, and the communication between multichannel audio standby system main control system and the control computer, the detection signal input circuit is used to detect the running status that the outside is subjected to watch-dog, judge whether to break down, the detection signal output circuit is used for to being subjected to watch-dog that detection signal is provided.
The multichannel audio standby system switch is realized the switching of multi-channel audio signal based on the multi-channel audio matrix.The multichannel audio standby system switch comprises the audio input buffer amplifying circuit, audio signal matrix commutation circuit, audio output buffer amplifying circuit and switching machine microcontroller system, the Balanced Audio conversion of signals that the audio input buffer amplifying circuit is responsible for passage is non-equilibrium audio signal, and input to audio signal matrix commutation circuit, audio signal matrix commutation circuit realizes the route setting of audio signal, the audio output buffer amplifying circuit is responsible for the audio signal of passage is converted to the output of Balanced Audio signal, and the switching machine microcontroller system is used for switch and main control system
The detection signal input circuit of described multichannel audio standby system main control system and detection signal output circuit respectively have 4 independently passages, and the passage of described detection signal input circuit is identical, and the passage of detection signal output circuit is identical.
The operation principle that described multichannel audio standby system job failure is judged is: the main frame microcontroller system carries out continuous counter to detecting the input port, judge whether to continue the detection signal of input 20KHz, if in the fixed cycle, all fail to detect square-wave signal, judge that then this interface does not have the detection signal input, thereby judge and provide the equipment of detection signal to break down for this interface.Fixed cycle is 3 cycles, 0.05 millisecond of each cycle.
Described multichannel audio standby system switch comprises 16 audio input buffer amplifying circuits, and each audio input buffer amplifying circuit passage is identical.
Described audio signal matrix commutation circuit adopts 16 * 8 audio frequency switching matrix.
Described audio output buffer amplifying circuit is 8, and each audio output buffer amplifying circuit passage is identical.
Of the present inventionly have a mind to effect: the present invention adopts electronic switch to carry out audio frequency to switch, and not only switch speed is fast, and can not produce impulsive noise when switching.Can also the signal of multi-channel audio player or multi-channel audio processor be switched fast, and has fault detection capability, when the equipment that detects breaks down, can respond and automatically switch to alternate device fast, reaction time is very short, only need 0.15 millisecond, for the public address occasion of high safety realizes automatic redundancy backup function.
Embodiment
Below in conjunction with accompanying drawing the present invention is further set forth.
The structure of multichannel audio standby system is seen Fig. 1, this system comprises two parts, wherein a part is multichannel audio standby system main control system (hereinafter claiming main control system), it is based on the main frame single-chip computer control system, be responsible for the input and output of detection signal, and fault judgement, according to judged result output control command, be responsible for the power supply of whole system simultaneously.Another part is multichannel audio standby system switch (hereinafter claiming switch), based on the multi-channel audio matrix, realize the switching of multi-channel audio signal, system supports four switchs at most, every switch maximum provides the input of eight tunnel audio signal, the input of eight road backup audio signals.The maximum backup of supporting 32 tunnel audio signals of every cover audio standby system.In addition, overlap the backup path that audio standby system can online extended audio more.
System's formation of multichannel audio standby system main control system sees Fig. 2 for details, main control system comprises 4 parts, be main frame microcontroller system circuit, control signal communicating circuit, detection signal input circuit and detection signal output circuit, wherein detection signal input circuit and detection signal output circuit respectively have 4 independently passages.
Building of microcontroller system circuit sees Fig. 3 for details, and it mainly is responsible for the state computing and the control of system.The function of each element is as follows: U11 and peripheral cell thereof are microcontroller system, and as the processing core of system, U12 and peripheral cell thereof constitute EEPROM, are used for the logging program data.
Building of detection signal input circuit sees Fig. 4 for details, shared 4 passages independently, and each passage is identical, is used to detect the running status that the outside is subjected to watch-dog, judges whether to break down.Fig. 4 is the detection signal input circuit of passage 1, other 3 passages are identical, the function of each element is as follows: U20A and peripheral cell thereof constitute 10 times of amplifiers, detection signal is amplified, U20B and peripheral cell constitute comparator, the detection signal of sine wave is converted to square-wave signal, exports to the U11 monolithic computer and count, detect the fault judgement input interface of mouth as the first via.
Building of detection signal output circuit sees Fig. 5 for details, and 4 independently passages are also arranged, and each passage is identical, is used for to being subjected to watch-dog that detection signal is provided.Fig. 5 is the detection signal output circuit of passage 1, and other 3 passages are identical, and the function of each element is as follows: U5A and peripheral cell thereof, constitute the sine wave shaped circuit, and the square-wave signal that microcontroller system is provided is converted into sine wave signal output.
Building of control signal communicating circuit sees Fig. 6 for details, and it is responsible for the communication between main control system and the Ge Tai switch, and the communication between main control system and the control computer.The function of each element is as follows: U13 and peripheral cell thereof constitute the RS485 bus interface, and U14 and peripheral cell thereof constitute the RS232 computer interface.
The operation principle of system works fault judgement is as follows: the main frame monolithic computer carries out continuous counter to detecting the input port, judges whether to continue the detection signal of input 20KHz.As in three cycles (0.05 millisecond of each cycle), all fail to detect square-wave signal, judge that then this interface does not have the detection signal input, thereby judge and provide the equipment of detection signal to break down for this interface.Because adopt the mode of monolithic computer counting to carry out fault detect, extremely short to the failure judgment response time, as being basis for estimation with three detection signal cycles, only 0.15 millisecond of response time, for sound reinforcement system, this time is very short, people's ear can't be discovered.The detection signal of system can be provided by the equipment of being monitored, and also can be exported by main control system.
System's formation of multichannel audio standby system switch sees Fig. 7 for details.Comprise 4 parts, i.e. 16 audio input buffer amplifying circuits, audio signal matrix commutation circuit, audio output buffer amplifying circuit and switch microcontroller systems.
Building of audio input buffer amplifying circuit sees Fig. 8 for details, every switch is totally 16 audio input buffer amplifiers, this figure is the circuit of audio input channel 1, other passage is identical, with the Balanced Audio conversion of signals of 16 passages is the non-equilibrium audio signal of 16 passages, and inputs to the U21 Audio Matrix.The function of each element is: it is 1 buffer amplifier circuit that U101 and peripheral cell thereof constitute multiplication factor, and the audio signal of balance is converted to nonequilibrium audio signal.
Building of audio signal matrix commutation circuit sees Fig. 9 for details, is 16 * 8 audio frequency switching matrix, realizes the route setting of audio signal.The function of each element is as follows: U21 is the switch matrix of 16 inputs, 8 outputs, the setting of can programming of the routing relation between input channel and the output channel.
Building of audio output buffer amplifying circuit sees Figure 10 for details, and every switch is totally 8 each audio output buffer amplifying circuit, and this figure is the circuit of passage 1, and other passage is identical, and the audio signal of 8 passages is converted to the output of Balanced Audio signal.The function of each element is: U301 and peripheral cell formation multiplication factor thereof are 1 audio frequency buffer amplifier, and non-equilibrium audio signal is converted to the output of Balanced Audio signal.Because adopt electronic switch matrix to realize the route setting of multichannel voice frequency input channel and output channel, its conversion speed is quite fast, the mode that enters switching than the mode with relay is fast more than 100 times, and does not have generating noise during switching.
Building of switch microcontroller system sees Figure 11 for details, is mainly used in communication and system's control of switch and main control system.The function of each element is: U51 and peripheral cell thereof constitute single-chip computer control system, and as the management control core of switch, U52 and peripheral cell thereof constitute EEPROM, are used for the logging program data; U53 and peripheral cell thereof constitute the RS485 bus interface, are used for and the main control system communication.
The main application of multichannel audio standby system has two aspects, and promptly multi-channel audio is play redundancy backup system and multi-channel audio processor redundancy standby system.
System's formation that multi-channel audio is play redundancy backup system sees Figure 12 for details, in this was used, system comprised a multi-channel audio Play System main control system, one eight channel audio standby system switch, and two eight rail audio players (is main frame, and is backup machine).The main audio player has the output of eight road audio frequency, the 8th passage wherein is linked into the first via detection signal input port of main control system.Below the principle Analysis of system: in eight rail audio players, the pre-record sine wave signal of 20KHz of the 8th rail, other seven audio track recorded program signals, two players are recorded identical programme signal, control by the synchronous playing controller, realize synchronous playing.In performance, when main eight rail audio players carry out playing programs, continue to play the detection signal of 20KHz on its 8th passage, simultaneously, back up eight rail audio players and also carry out playing programs synchronously.When faults such as main eight rail audio players appearance deadlock, its the 8th passage can not be exported the audio signal of 20KHz, main control system breaks down fast detecting to main eight rail audio players, immediately to the switch inputting switching command, the programme signal of backup audio player plays is exported as the work programme signal, realized the automated back-up of audio player.
The formation of multi-channel audio processor redundancy standby system sees Figure 13 for details, in this was used, system comprised a multichannel audio standby system main control system, one eight channel audio standby system switch, and two four advanced eight and go out audio process (for main frame, is backup machine).The first via detection signal of main control system output inserts the 4th input interface of two audio process, after handling, exports audio process by the 8th passage, the detection signal of primary processor is input to the first via detection signal input port of main control system, and the detection signal of back-up processing device is input to the second road detection signal input port of main control system.The principle Analysis of system is as follows: main sound reinforcement system audio output signal is input to two four simultaneously and advances eight and go out audio process, switch is given in the feed-in simultaneously of the output signal of two audio process, when the main audio processor is working properly, the signal of switch output main audio processor, when the main audio processor breaks down, the signal of switch output backup audio processor.Main control system is at the sine wave signal of first via detection signal delivery outlet output 20KHz, behind two processors, insert the first via respectively and the second road detection signal input port is detected, when main audio processor or backup audio processor break down, main control system can fast detecting arrive, and immediately to the switch input control order.The output channel of switch is switched to the output signal of audio process working properly, realize the automated back-up of audio process.