Summary of the invention
For above deficiency, the invention provides a kind of heat backup method and heat backup device with the multichannel power amplifier of the automatic detection of fault and fault automated back-up, when any one power amplifier in multichannel power amplifier breaks down, system is by automatically the power amplifier in backup path being replaced to the power amplifier in the service aisle breaking down, to guarantee public address link no-failure operation.
The heat backup method of multichannel power amplifier, it comprises:
1) initialization: being service aisle by 1st ~ m the channel definition with the passage of n independent power amplifier, is backup path by its m ~ n channel definition, wherein, n is greater than 1 natural number, and m is the natural number that is less than n;
2) input in each service aisle and backup path increases respectively a test signal, then detects in real time the power amplifier output signal on each service aisle;
3) judge that whether the power amplifier on each service aisle works, if the power amplifier of each passage is working properly, directly performs step 6), otherwise, perform step 4);
4) disconnect out of order service aisle;
5) by the out of order service aisle of replacement corresponding to backup path difference;
6) by the loud speaker in respective channel, carry out audio frequency output,
Described step 2) comprising:
21) in the digital signal processor on each service aisle, increase a test signal respectively;
22) respectively audio input signal and test signal after audio signal processor is processed in each service aisle are carried out to stereo process;
23) respectively the mixed signal after stereo process in each service aisle is carried out to power amplification;
24) respectively the audio signal after the power amplification in each service aisle is carried out to 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 continuously test signal, judge the power amplifier normal operation in this service aisle; Otherwise, judge the not normal operation of power amplifier in this service aisle.
Described test signal, for exceeding the normal hearing upper limit, is not the signal of people's ear institute perception.
The test signal increasing in service aisle described in each 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 to isolation coupling processing, isolate sine wave signal; 32) isolated sine wave signal is carried out to Hyblid Buffer Amplifier; 33) sine wave signal of Hyblid Buffer Amplifier is carried out to shaping, form square-wave signal; 34) respectively the square-wave signal in each service aisle is continued to counting, if still fail to detect next square-wave signal in setting-up time, judge that the power amplifier in this service aisle does not have signal output, i.e. cisco unity malfunction; If can continue to detect square-wave signal in setting-up time, judge that the power amplifier in this service aisle has signal output, i.e. normal operation.
Described step 5) comprises: 51) by signal router, the digital signal processor in backup path is replaced with to the digital signal processor on the service aisle breaking down; 52) by the audio signal processor of the digital signal processor in backup path, process, the audio signal after processing and the test signal of this backup path are carried out to audio mixing; 53) power amplifier by backup path carries out power amplification processing to audio signal.
The device of multichannel power amplifier Hot Spare comprises and is used to form the signal router of n independent power amplifier channel, the power amplifier of the digital signal processor of n passage, n passage and n loud speaker, it is characterized in that, wherein 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 to the service aisle breaking down.
Described Hot Spare unit comprises: for producing the signal generator of test signal in the 1st ~ n passage at digital signal processor; For respectively the audio signal in each passage of 1st ~ m passage of digital signal processor and test signal being carried out the mixer of stereo process; Be used for the detecting signal unit of the test signal of the output signal of 1st ~ m passage of lasting sampled power amplifier respectively; Switch switching unit for service aisle that replacement corresponding to backup path broken down; The service aisle breaking down for the test signal judgement adopting according to detecting signal unit, and control signal router replaces with one of passage of the digital signal processor in backup path signal processing and the control unit of the passage of the digital signal processor on the service aisle breaking down.
Described test signal, for exceeding the normal hearing upper limit, is not the signal of people's ear institute perception.
The test signal that described signal generator produces can be different, also can be identical, and the signal generator the best is here the sine wave signal generator of 20kHz.
Described detecting signal unit comprises: for audio signal is carried out to isolation processing, to form the isolation coupling unit of sine wave signal; For the Hyblid Buffer Amplifier unit that the sine wave signal isolating is carried out to signal amplification; For the sine wave signal to after amplifying, carry out Shape correction, to form the shaping unit of square-wave signal.
Described signal is processed with control unit and is comprised: the counter that respectively sampled signal of each detecting signal unit sample detecting is continued statistics; The service aisle breaking down according to the result judgement of counters count, and control signal router replaces with one of passage of the digital signal processor in backup path the microprocessor unit of the passage of the digital signal processor on the service aisle breaking down.
Beneficial effect of the present invention: the present invention is by being divided into service aisle and backup path by the power amplifier that is formed with a plurality of autonomous channels, input at each service aisle increases a test signal, then by detecting signal unit, respectively the output of the power amplifier on each service aisle is carried out to monitoring sampling in real time, if the detecting signal unit on each service aisle can continue to detect sampled signal (test signal), prove the power amplifier normal operation on this service aisle, if the detecting signal unit on one of them or several service aisle can not continue to detect sampled signal, power amplifier cisco unity malfunction on this service aisle is described, power amplifier on the service aisle that can with control unit and switch switching unit, the corresponding replacement of the power amplifier in backup path be broken down by signal processing, to guarantee that the loud speaker on each original service aisle still can work, 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 affect the effect of overall sound, to be also convenient to sample accurately and process, accuracy rate is high.
Embodiment
Below in conjunction with accompanying drawing, the present invention is further elaborated.
As shown in Figure 1, the heat backup method of multichannel power amplifier of the present invention, it comprises:
1) initialization: being service aisle by 1st ~ m the channel definition with the passage of n independent power amplifier, is backup path by its m ~ n channel definition, wherein, n is greater than 1 natural number, and m is the natural number that is less than n.
2) input in each service aisle and backup path increases respectively a test signal, then detect in real time the power amplifier output signal on each service aisle, its detailed process is: 21) in the digital signal processor on each service aisle, increase a test signal respectively; 22) respectively audio input signal and test signal after audio signal processor is processed in each service aisle are carried out to stereo process; 23) respectively the mixed signal after stereo process in each service aisle is carried out to power amplification; 24) respectively the audio signal after the power amplification in each service aisle is carried out to sampling processing, obtain test signal.
3) judge whether the power amplifier on each service aisle works, its criterion is: to step 24) sample and obtain the continuous counter that carries out of test signal, if can obtain continuously test signal, judge the power amplifier normal operation in this service aisle; Otherwise, judge the not normal operation of power amplifier in this service aisle.If the power amplifier of each passage is working properly, directly perform step 6), otherwise, perform step 4).Its detailed process is: 31) respectively the mixed signal in each service aisle is carried out to isolation coupling processing, isolate sine wave signal; 32) isolated sine wave signal is carried out to Hyblid Buffer Amplifier; 33) sine wave signal of Hyblid Buffer Amplifier is carried out to shaping, form square-wave signal; 34) respectively the square-wave signal in each service aisle is continued to counting, if still fail to detect next square-wave signal in setting-up time, judge that the power amplifier in this service aisle does not have signal output, i.e. cisco unity malfunction; If can continue to detect square-wave signal in setting-up time, judge that the power amplifier in this service aisle has signal output, i.e. normal operation.
4) disconnect out of order service aisle.
5) by the out of order service aisle of replacement corresponding to backup path difference, its concrete implementation process is: 51) by signal router, the digital signal processor in backup path is replaced with to the digital signal processor on the service aisle breaking down; 52) by the audio signal processor of the digital signal processor in backup path, process, the audio signal after processing and the test signal of this backup path are carried out to audio mixing; 53) power amplifier by backup path carries out power amplification processing to audio signal.
6) by the loud speaker in respective channel, carry out audio frequency output.
As shown in Figure 4, the heat backup device of multichannel power amplifier of the present invention, it comprises and is used to form the signal router of n independent power amplifier channel, the power amplifier of the digital signal processor of n passage, n passage and n loud speaker, wherein 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 to the service aisle breaking down.
Described Hot Spare unit comprises: for producing the signal generator of test signal in the 1st ~ n passage at digital signal processor; For respectively the audio signal in each passage of 1st ~ m passage of digital signal processor and test signal being carried out the mixer of stereo process; Be used for the detecting signal unit of the test signal of the output signal of 1st ~ m passage of lasting sampled power amplifier respectively; Switch switching unit for service aisle that replacement corresponding to backup path broken down; The service aisle breaking down for the test signal judgement adopting according to detecting signal unit, and control signal router replaces with one of passage of the digital signal processor on alternate channel signal processing and the control unit of the passage of the digital signal processor on the service aisle breaking down.
Wherein, above-mentioned test signal, for exceeding the normal hearing upper limit, is not the signal of people's ear institute perception, and the test signal increasing in service aisle described in each 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: for audio signal is carried out to isolation processing, to form the isolation coupling unit of sine wave signal; For the Hyblid Buffer Amplifier unit that the sine wave signal isolating is carried out to signal amplification; For the sine wave signal to after amplifying, carry out Shape correction, to form the shaping unit of square-wave signal.
Described signal is processed with control unit and is comprised: the counter that respectively sampled signal of each detecting signal unit sample detecting is continued statistics; The service aisle breaking down according to the result judgement of counters count, and control signal router replaces with one of passage of the digital signal processor on alternate channel the microprocessor unit of the passage of the digital signal processor on the service aisle breaking down.
Fault detect of the present invention is implemented shown in schematic diagram 2, in digital signal processor on each passage except conventional audio signal processor, increase sine wave signal generator and 2 * 1 mixers 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.After this signal and audio input signal audio mixing, jointly export to power amplifier, signal is output after power amplifier amplifies, the detecting signal unit of simultaneously feeding, detecting signal unit is comprised of isolation coupling unit, Hyblid Buffer Amplifier unit and square wave shaping unit, by detecting signal unit, detect sampling test signal, and being converted into the square-wave signal output of 20kHz, square-wave signal is exported to signal and is processed the counter with control unit, for detection power amplifier operating state.The operation principle of fault detect is as follows: signal is processed with the counter of control unit counter is carried out to continuous counter, judge whether to continue the square-wave signal of input 20KHz, as within three cycles (0.05 millisecond of each cycle), all fail to detect square-wave signal, judge that 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, the judgement response time to fault is extremely short, as to take three detection signal cycles be basis for estimation, only 0.15 millisecond of response time, for sound reinforcement system, this time is very short, people's ear is difficult to discover.
As shown in Figure 8, it is comprised of resistance R 13, capacitor C 43 and transformer T1 the circuit theory of the isolation coupling unit in detecting signal unit, and this circuit adopts isolating transformer T1 to carry out isolation coupling.
Hyblid Buffer Amplifier unit in 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 form 10 times of amplifiers, detection signal (test signal) is amplified, U20B and peripheral cell form comparator, sinusoidal wave test signal is converted to square-wave signal, exports to microprocessor and count.
The Hot Spare principle of multichannel power amplifier as shown in Figure 3, this example has n platform power amplifier, its intermediate power amplifier 1 ~ n is service aisle, power amplifier n is backup path, when system enters normal operating conditions, audio input signal 1 is exported to digital signal processing circuit 1 through signal router, exports to after treatment power amplifier 1, now switch 1 adhesive (open switch n+1), the signal after amplification is exported to power amplification and is exported 1 port (loud speaker 1).When power amplifier 1 breaks down, signal is processed with control unit audio input signal 1 is exported to digital signal processing circuit n through signal router, export to after treatment power amplifier n, now switch 1 is opened, switch n+1 adhesive, like this, the signal after amplification is still exported to power amplification and is exported 1 port (loud speaker 1), and this operation principle is applicable to a plurality of backup path simultaneously a plurality of service aisles are backed up.
The power amplifier of 8 passages of only take below explains as example, and wherein 1st ~ 7 passages are service aisle, and the 8th passage is backup path:
As shown in Fig. 5, Fig. 6 and Fig. 7, the signal router of the heat backup device of multichannel power amplifier of the present invention, this example has 8 tunnel inputs and the output of 8 tunnels, 8 road input signals and 8 tunnel output signals are routing configuration arbitrarily, it is comprised of buffer amplifier circuit and the 8*16 switching matrix of 8 passages, 8 passage buffer amplifier circuits are responsible for input signal to carry out Hyblid Buffer Amplifier, signal after amplification is exported to switching matrix, switching matrix is 8*16 analog switch matrix, multi-channel signal processing device is exported on 8 tunnels, and 8 passages are exported to signal deteching circuit.Originally be exemplified as 8 digital signal processor for channels, signal processing and control element (PCE) can configure in real time according to the operating state of power amplifier the parameter of each digital signal processor, it is by the digital signal processing circuit of 8 passages, 8 passage buffer amplifier circuits, sine wave signal generator and mixer form, 8 channel digital signal treatment circuits are responsible for the audio signal of input to carry out equilibrium, the processing such as time delay and compression amplitude limit, sine wave signal generator is for generation of the sine wave signal of the 20kHz of the detection signal as power amplifier operating state, mixer mixes output by the sine wave signal of 20kHz and audio signal, buffer amplifier circuit is responsible for audio signal to carry out Hyblid Buffer Amplifier output.Originally be exemplified as 8 channel power amplifiers, signal processing and control element (PCE) can configure according to the operating state of power amplifier the on off state of each switch.Detecting signal unit is responsible for detecting the operating state of each output power amplifier.The various functions such as the fault detect of the responsible whole device of signal processing and control element (PCE) and fault power backup, adopt 32 MCU monolithic computers and EEPROM holder to form, the operating state of each power amplifier of MCU Real-Time Monitoring, when finding that any power amplifier passage breaks down, to immediately back up switching, the concurrent indication of being out of order.Switch switching unit has 15 switches, by signal processing and control element (PCE), controls in real time as required the attracting state of each switch.
Operation principle is as follows: after system powers on, whether 8 outputs of the first sense switch switch unit of signal processing and control element (PCE) are in normal operating conditions (without open circuit and without short circuit), after confirming normally, adhesive switch 1~switch 8, now, power amplifier 1~7 enters operating state, and power amplifier 8 is in Status of Backups, now, the output of No. 8 power amplifiers is connected to 8 inputs of switch switching unit.In system, enter after operating state, signal processing and control element (PCE) detects status input signal and power amplifier output state signal in real time, as the power amplifier that the 1st passage detected breaks down, signal processing and control element (PCE) will transmit control signal immediately to signal router, digital signal processor and switch switching circuit.First the input signal of signal router 1 is routed to signal output 8, the all parameters of the digital signal processor of the 1st passage are copied to the digital signal processor of the 8th passage simultaneously, switch 1 and the switch 8 of handling rear control switch commutation circuit are off-state, switch 9 is attracting state, now, the power amplifier of the 8th passage switches to operating state.So far, complete the backup of fault power amplifier 1 is switched, all a series of actions complete automatically fast by system, and switching time is short, and power amplifier outside, without any connection line of change, meets various public address demands.
The foregoing is only preferred embodiments of the present invention, the present invention is not limited to above-mentioned execution mode, in implementation process, may there is local small structural modification, if various changes of the present invention or modification are not departed to the spirit and scope of the present invention, and within belonging to claim of the present invention and equivalent technologies scope, the present invention is also intended to comprise these changes and modification.