Summary of the invention
At above deficiency, the invention provides a kind of heat backup method and heat backup device with multi-channel power amplifier of automatic detection of fault and fault automated back-up, when any one power amplifier in the multi-channel power amplifier breaks down, system will be automatically replaces power amplifier in the service aisle that breaks down to the power amplifier in the backup path, to guarantee public address link no-failure operation.
The heat backup method of multi-channel power amplifier, it comprises:
1) initialization: the 1st ~ m the channel definition that will have the passage of n independent power amplifier is service aisle, is backup path with its m ~ n channel definition, and wherein, n is the natural number greater than 1, and m is the natural number less than n;
2) input in each service aisle and backup path increases a test signal respectively, detects the power amplifier output signal on each service aisle then in real time;
3) judge power amplifier operate as normal whether on each service aisle, if the power amplifier of each passage is working properly, direct execution in step 6), otherwise, execution in step 4);
4) disconnect out of order service aisle;
5) with the corresponding out of order service aisle of replacement of backup path difference;
6) carry out audio frequency output by the loud speaker on the respective channel,
Described step 2) comprising:
21) increase a test signal in the digital signal processor on each service aisle respectively;
22) respectively audio input signal and test signal after the process audio signal processor processing in each service aisle are carried out the audio mixing processing;
23) respectively the mixed signal after the audio mixing processing in each service aisle is carried out power amplification;
24) respectively the audio signal after the power amplification in each service aisle is carried out sampling processing, obtains test signal,
The criterion of described step 3) is: to step 24) sample and obtain the continuous counter that carries out of test signal, if can obtain test signal continuously, then judge the power amplifier operate as normal in this service aisle; Otherwise, judge that the power amplifier in this service aisle does not have operate as normal.
Described test signal is not the signal of people's ear institute perception for exceeding the normal hearing upper limit.
The test signal that increases in each described service aisle can be different, also can be identical, and test signal the best described here is the sine wave signal of unified 20kHz.
Described step 3) comprises: 31) respectively the mixed signal in each service aisle is carried out isolation coupling and handle, isolate sine wave signal; 32) isolated sine wave signal is cushioned amplification; 33) sine wave signal that buffering is amplified carries out shaping, forms square-wave signal; 34) respectively the square-wave signal in each service aisle is continued counting,, judge that then the power amplifier in this service aisle does not have signal output, i.e. cisco unity malfunction if still fail to detect next square-wave signal in the setting-up time; If can continue to detect square-wave signal in the setting-up time, judge that then the power amplifier in this service aisle has signal output, i.e. operate as normal.
Described step 5) comprises: 51) digital signal processor on the backup path is replaced with digital signal processor on the service aisle that breaks down by signal router; 52) handle by the audio signal processor of the digital signal processor on the backup path, the audio signal after handling and the test signal of this backup path are carried out audio mixing; 53) power amplifier by backup path carries out the power amplification processing to audio signal.
The device of multi-channel power amplifier Hot Spare comprises the signal router that is used to form n independent power amplifier channel, the digital signal processor of n passage, power amplifier and n loud speaker of n passage, it is characterized in that, wherein the 1st ~ m power amplifier passage is service aisle, the m ~ n power amplifier passage is backup path, and it also comprises the Hot Spare unit of backup path being replaced the service aisle that breaks down.
Described Hot Spare unit comprises: the signal generator that is used for producing test signal in the 1st ~ n of digital signal processor passage; Be used for respectively audio signal and test signal in each passage of the 1st ~ m passage of digital signal processor are carried out the mixer that audio mixing is handled; Be used for the detecting signal unit of the test signal of the output signal of the 1st ~ m passage of lasting sampled power amplifier respectively; The switch switching unit that is used for service aisle that the replacement of backup path correspondence is broken down; The test signal that is used for adopting according to detecting signal unit is judged the service aisle that breaks down, and the control signal router replaces with one of the passage of the digital signal processor on the backup path signal processing and the control unit of the passage of the digital signal processor on the service aisle that breaks down.
Described test signal is not the signal of people's ear institute perception for exceeding the normal hearing upper limit.
The test signal that described signal generator produces can be different, also can be identical, and the signal generator the best here is the sine wave signal generator of 20kHz.
Described detecting signal unit comprises: be used for audio signal is carried out isolation processing, to form the isolation coupling unit of sine wave signal; Be used for the sine wave signal that isolates is carried out the buffering amplifying unit that signal amplifies; Be used for that the sine wave signal after amplifying is carried out shaping and handle, to form the shaping unit of square-wave signal.
Described signal processing and control unit comprise: the counter that respectively sampled signal of each detecting signal unit sample detecting is continued statistics; Judge the service aisle that breaks down according to the result of counters count, and the control signal router replaces with one of the passage of the digital signal processor on the backup path microprocessor unit of the passage of the digital signal processor on the service aisle that breaks down.
Beneficial effect of the present invention: the present invention is divided into service aisle and backup path by the power amplifier that will be formed with a plurality of autonomous channels, input at each service aisle increases a test signal, respectively the output of the power amplifier on each service aisle is monitored sampling in real time by detecting signal unit then, if the detecting signal unit on each service aisle can continue to detect sampled signal (test signal), then prove the power amplifier operate as normal on this service aisle, if the detecting signal unit on one of them or the several service aisle can not continue to detect sampled signal, power amplifier cisco unity malfunction on this service aisle then is described, then can be by signal processing and control unit and switch switching unit with the corresponding power amplifier of replacing on the service aisle that breaks down of the power amplifier on the backup path, to guarantee that the loud speaker on each original service aisle still can operate as normal; And test signal of the present invention adopts the sine wave of 20kHz, can not be the perception of people's ear institute, can not influence the effect of overall sound, also is convenient to sample accurately and handle, and accuracy rate is high.
Embodiment
Below in conjunction with accompanying drawing the present invention is further set forth.
As shown in Figure 1, the heat backup method of multi-channel power amplifier of the present invention, it comprises:
1) initialization: the 1st ~ m the channel definition that will have the passage of n independent power amplifier is service aisle, is backup path with its m ~ n channel definition, and wherein, n is the natural number greater than 1, and m is the natural number less than n.
2) input in each service aisle and backup path increases a test signal respectively, detect the power amplifier output signal on each service aisle then in real time, its detailed process is: 21) increase a test signal in the digital signal processor on each service aisle respectively; 22) respectively audio input signal and test signal after the process audio signal processor processing in each service aisle are carried out the audio mixing processing; 23) respectively the mixed signal after the audio mixing processing in each service aisle is carried out power amplification; 24) respectively the audio signal after the power amplification in each service aisle is carried out sampling processing, obtain test signal.
3) judge power amplifier operate as normal whether on each service aisle, its criterion is: to step 24) sample and obtain the continuous counter that carries out of test signal, if can obtain test signal continuously, then judge the power amplifier operate as normal in this service aisle; Otherwise, judge that the power amplifier in this service aisle does not have operate as normal.If the power amplifier of each passage is working properly, direct execution in step 6), otherwise, execution in step 4).Its detailed process is: 31) respectively the mixed signal in each service aisle is carried out isolation coupling and handle, isolate sine wave signal; 32) isolated sine wave signal is cushioned amplification; 33) sine wave signal that buffering is amplified carries out shaping, forms square-wave signal; 34) respectively the square-wave signal in each service aisle is continued counting,, judge that then the power amplifier in this service aisle does not have signal output, i.e. cisco unity malfunction if still fail to detect next square-wave signal in the setting-up time; If can continue to detect square-wave signal in the setting-up time, judge that then the power amplifier in this service aisle has signal output, i.e. operate as normal.
4) disconnect out of order service aisle.
5) the out of order service aisle of replacement that backup path is respectively corresponding, its concrete implementation process is: 51) digital signal processor on the backup path is replaced with digital signal processor on the service aisle that breaks down by signal router; 52) handle by the audio signal processor of the digital signal processor on the backup path, the audio signal after handling and the test signal of this backup path are carried out audio mixing; 53) power amplifier by backup path carries out the power amplification processing to audio signal.
6) carry out audio frequency output by the loud speaker on the respective channel.
As shown in Figure 4, the heat backup device of multi-channel power amplifier of the present invention, it comprises the signal router that is used to form n independent power amplifier channel, the digital signal processor of n passage, power amplifier and n loud speaker of n passage, wherein the 1st ~ m power amplifier passage is service aisle, the m ~ n power amplifier passage is backup path, and it also comprises the Hot Spare unit of backup path being replaced the service aisle that breaks down.
Described Hot Spare unit comprises: the signal generator that is used for producing test signal in the 1st ~ n of digital signal processor passage; Be used for respectively audio signal and test signal in each passage of the 1st ~ m passage of digital signal processor are carried out the mixer that audio mixing is handled; Be used for the detecting signal unit of the test signal of the output signal of the 1st ~ m passage of lasting sampled power amplifier respectively; The switch switching unit that is used for service aisle that the replacement of backup path correspondence is broken down; The test signal that is used for adopting according to detecting signal unit is judged the service aisle that breaks down, and the control signal router replaces with one of the passage of the digital signal processor on the alternate channel signal processing and the control unit of the passage of the digital signal processor on the service aisle that breaks down.
Wherein, above-mentioned test signal is not the signal of people's ear institute perception for exceeding the normal hearing upper limit, and the test signal that increases in each described service aisle can be different, also can be identical, test signal of the present invention is paid the utmost attention to the sine wave signal into unified 20kHz.
Described detecting signal unit comprises: be used for audio signal is carried out isolation processing, to form the isolation coupling unit of sine wave signal; Be used for the sine wave signal that isolates is carried out the buffering amplifying unit that signal amplifies; Be used for that the sine wave signal after amplifying is carried out shaping and handle, to form the shaping unit of square-wave signal.
Described signal processing and control unit comprise: the counter that respectively sampled signal of each detecting signal unit sample detecting is continued statistics; Judge the service aisle that breaks down according to the result of counters count, and the control signal router replaces with one of the passage of the digital signal processor on the alternate channel microprocessor unit of the passage of the digital signal processor on the service aisle that breaks down.
It is shown in Figure 2 that principle is implemented in fault detect of the present invention, in the digital signal processor on each passage except that the audio signal processor of routine, increase sine wave signal generator and one 2 * 1 mixer of a 20kHz, the sine wave signal of 20kHz is as the test signal of power amplifier operating state, this signal has exceeded normal person's upper limit of hearing, can be by the perception of people's ear institute.Export to power amplifier jointly behind this signal and the audio input signal audio mixing, signal is output after power amplifier amplifies, the detecting signal unit of feeding simultaneously, detecting signal unit is made up of isolation coupling unit, buffering amplifying unit and square wave shaping unit, detect the sampling test signal by detecting signal unit, and being converted into the square-wave signal output of 20kHz, square-wave signal is exported to the counter of signal processing and control unit, confession detection power amplifier operating state.The operation principle of fault detect is as follows: the counter of signal processing and control unit carries out continuous counter to counter, judge whether to continue the square-wave 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 power amplifier does not have signal output, thereby judging this power amplifier breaks down, counter adopts the mode of microprocessor software counting to work, 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 is for sound reinforcement system, this time is very short, and people's ear is difficult to discover.
The circuit theory of the isolation coupling unit in the detecting signal unit as shown in Figure 8, it is made up of resistance R 13, capacitor C 43 and transformer T1, this circuit adopts isolating transformer T1 to carry out isolation coupling.
The buffering amplifying unit in the detecting signal unit and the circuit theory of square wave shaping unit are as shown in Figure 9, the function of each element is as follows: U20A and peripheral cell thereof constitute 10 times of amplifiers, detection signal (test signal) is amplified, U20B and peripheral cell constitute comparator, the test signal of sine wave is converted to square-wave signal, exports to microprocessor and count.
The Hot Spare principle of multi-channel power amplifier as shown in Figure 3, this example has n platform power amplifier, its intermediate power amplifier 1 ~ n is a service aisle, power amplifier n is a backup path, when system entered normal operating conditions, audio input signal 1 was exported to digital signal processing circuit 1 through signal router, exported to power amplifier 1 after treatment, switch 1 adhesive (open switch n+1) this moment, the signal after the amplification is exported to power amplification and is exported 1 port (loud speaker 1).When power amplifier 1 breaks down, signal processing and control unit are exported to digital signal processing circuit n with audio input signal 1 through signal router, export to power amplifier n after treatment, this moment, switch 1 was opened, switch n+1 adhesive, like this, the signal after the amplification is still exported to power amplification and is exported 1 port (loud speaker 1), and this operation principle is applicable to that simultaneously a plurality of backup path back up a plurality of service aisles.
Be that example explains with the power amplifier of 8 passages only below, and wherein the 1st ~ 7 passage is service aisle, the 8th passage is a backup path:
As Fig. 5, Fig. 6 and shown in Figure 7, the signal router of the heat backup device of multi-channel power amplifier of the present invention, this example has 8 tunnel inputs and 8 tunnel outputs, 8 road input signals and 8 tunnel output signals are routing configuration arbitrarily, it is made up of the buffer amplifier circuit and the 8*16 switching matrix of 8 passages, 8 passage buffer amplifier circuits are responsible for input signal is cushioned amplification, signal after the amplification is exported to switching matrix, switching matrix is the 8*16 analog switch matrix, 8 the tunnel export to the multi channel signals processor, and 8 passages are exported to signal deteching circuit.Originally be exemplified as 8 channel digital signal processors, signal processing and control unit can dispose the parameter of each digital signal processor in real time according to the operating state of power amplifier, it is by the digital signal processing circuit of 8 passages, 8 passage buffer amplifier circuits, sine wave signal generator and mixer are formed, 8 channel digital signal treatment circuits are responsible for the audio signal of input is carried out equilibrium, processing such as time-delay and compression amplitude limit, sine wave signal generator is used to produce the sine wave signal as the 20kHz of the detection signal of power amplifier operating state, mixer mixes output with sine wave signal and the audio signal of 20kHz, and buffer amplifier circuit is responsible for audio signal is cushioned amplification output.Originally be exemplified as 8 channel power amplifiers, signal processing and control unit can dispose the on off state of each switch according to the operating state of power amplifier.Detecting signal unit is responsible for detecting the operating state of each output power amplifier.Various functions such as the fault detect of the responsible whole device of signal processing and control unit and fault power backup, adopt 32 MCU monolithic computers and EEPROM holder to form, MCU monitors the operating state of each power amplifier in real time, when finding that any power amplifier passage breaks down, to back up switching immediately, the concurrent indication of being out of order.Switch switching unit has 15 switches, is controlled the attracting state of each switch as required in real time by signal processing and control unit.
Operation principle is as follows: after system powers on, whether 8 outputs of signal processing and control unit elder generation sense switch switch unit are in normal operating conditions (promptly do not have open circuit and do not have short circuit), after confirming normally, adhesive switch 1~switch 8, at this moment, power amplifier 1~7 enters operating state, and power amplifier 8 is in Status of Backups, at this moment, the output of No. 8 power amplifiers is connected to 8 inputs of switch switching unit.After system enters operating state, signal processing and control unit detect status input signal and power amplifier output state signal in real time, as the power amplifier that detects the 1st passage breaks down, and signal processing and control unit will transmit control signal immediately to signal router, digital signal processor and switch switching circuit.At first the input signal 1 with signal router is routed to signal output 8, simultaneously all parameters of digital signal processor of the 1st passage are copied to the digital signal processor of the 8th passage, switch 1 and the switch 8 of handling back control switch commutation circuit are off-state, switch 9 is an attracting state, at this moment, the power amplifier of the 8th passage switches to operating state.So far, finish the backup of fault power amplifier 1 is switched, all a series of actions are finished automatically fast by system, and switching time is short, and the power amplifier outside need not to change any connection line, satisfies various public address demands.
The above only is a better embodiment of the present invention, the present invention is not limited to above-mentioned execution mode, in implementation process, may there be local small structural modification, if various changes of the present invention or modification are not broken away from the spirit and scope of the present invention, and belong within claim of the present invention and the equivalent technologies scope, then the present invention also is intended to comprise these changes and modification.