Electroacoustic transducer and control method and system thereof
Technical Field
The invention relates to electroacoustic transducer design technology, in particular to an electroacoustic transducer and a control method and a control system thereof.
Background
The acoustic wave acts as a mechanical wave and transmits information by way of mechanical vibrations. The acoustic wave has the characteristics of reduced signal attenuation, low energy loss and the like in the underwater transmission process, and is suitable for underwater communication. The generation of sound waves relies on transducer means, which convert electrical energy into an acoustic signal with a transducer and which is received by a receiving end. In the past, underwater acoustic communication is limited by technical problems, and a single-frequency carrier transmission mode is generally selected for communication. However, with the continuous development of science and technology, a transmission method using multicarrier communication is also possible. The problems existing in the current underwater acoustic communication are as follows:
(1) The electroacoustic transducer needs a high-intensity exciting circuit for operation, so that a large amount of reactive power is consumed in the operation process, the output power of the transducer is limited, and the intensity of emitted sound waves is limited.
(2) Electroacoustic transducers suffer from their own characteristics, the intensity of the emitted sound is highly attenuated with increasing frequency, and therefore it is difficult to control the sound source level intensity of the signal when the transducer switches operating frequency points.
(3) The intensity of the sound source of the emitted sound wave presents Rayleigh distribution in the frequency domain, and the intensity of the sound source with different heights leads to excessive amplification noise when the signal performs channel estimation in the frequency domain, thereby seriously affecting the accuracy of the channel estimation. The signal needs to be sound source set.
(4) The nonlinear effect generated in the multi-carrier transmission process causes the problem of interaction between carrier signals, so that the fluctuation of transmission power is very large, the amplifier at the front end is required to have a very wide variation range, and the demodulation device at the rear end is required to adopt more processing modes for the signals.
In the prior art, the requirement of a broadband is met by adopting a method of switching the capacitor, however, the method of switching the capacitor needs a large number of switching devices, so that transient current impact is easily caused to a main circuit, an additional control algorithm is added to control the switching devices, and very high instability is brought to the operation of a system.
The existing impedance matching based on the active impedance matching method mainly utilizes the controllability of an inverter to accurately perform reactive power compensation on a circuit. The detection of reactive current in the circuit is accomplished by the instantaneous reactive power theory. Although the active impedance matching based method can achieve very well broadband impedance matching, the addition of active devices makes the overall device very expensive. In addition, the active devices need to be controlled by a controller, which also brings great instability to the operation of the whole set of devices.
Disclosure of Invention
The invention aims to solve the technical problem of providing an electroacoustic transducer, a control method and a control system thereof, which aim at overcoming the defects of the prior art, ensure that a circuit in a broadband keeps a high power factor on the premise of not increasing active devices, and reduce the requirement of the electroacoustic transducer on the capacity of a power amplifier end.
The electroacoustic transducer comprises a power amplifier, wherein the power amplifier is coupled with an impedance matching network through a transformer, the impedance matching network is connected with the transducer, the transducer is communicated with a receiving end, the impedance matching network comprises a first inductor, a second inductor and a third capacitor which are connected in series, one end of the first inductor is connected with one end of a secondary side of the transformer, the third capacitor is connected with the transducer, one end of the first capacitor is connected between the first inductor and the second inductor in parallel, the other end of the first capacitor is connected with the other end of the secondary side of the transformer, one end of the second capacitor is connected between the second inductor and the third capacitor in parallel, the other end of the second capacitor is connected with the other end of the secondary side of the transformer, and an objective function F 1 of the impedance matching network is as follows:
Wherein L 1、L2 is the first inductance value and the second inductance value of the impedance matching network, C 1、C2、C3 is the first capacitance value, the second capacitance value and the third capacitance value of the impedance matching network, alpha and beta are set upper limit values, n is the number of data sets participating in the optimizing process, Z in(s) is the transfer function of the total input end impedance of the impedance matching network in the complex frequency domain, real (Z in)、imag(Zin) represents the real part and the imaginary part of the transfer function Z in respectively, A 0~a5、b0~b6 are constant coefficients, s is complex variable.
After the impedance matching network is constructed by the method, the underwater acoustic system is improved by the following steps:
1) The circuit keeps high power factor in a certain broadband, so that the requirement on the capacity of a power amplifier end is reduced;
2) Because of the capacitance in the matching network, the circuit can boost the transducer to a certain extent, and the intensity of the sound wave output by the transducer is improved;
3) After matching, the input impedance Z in remains within a certain range of magnitude at all times, and the transducer can remain high power operation within the frequency band.
The objective function calculation process includes:
1) Randomly generating a plurality of parameter sets, wherein each parameter set comprises an inductance value and a capacitance value;
2) Judging whether the parameters in each parameter group meet the constraint condition of the objective function, if so, substituting each parameter group into the impedance matching network to obtain a plurality of power factors lambda, otherwise, returning to the step 1);
3) Calculating the value of an objective function by using the power factor, and storing a parameter group corresponding to the minimum objective function value;
4) Substituting the parameter set obtained in the step 3) into a chaotic mapping formula to generate a new parameter set, and returning to the step 1) until the set maximum cycle number is reached, wherein the chaotic mapping formula expression is as follows: X k represents the parameter set obtained in step 3), and X k+1 represents a new parameter set.
The unknowns in the objective function are large and there are many points that are not differentiable. The adoption of the common gradient descent method or the particle swarm optimization method is very easy to be trapped in local optimal points in the optimizing process. The chaotic mapping method can enable the objective function to traverse all possibilities in the optimizing process, and can find the optimal point in a large range.
As an inventive concept, the present invention also provides a control method of the above electroacoustic transducer, comprising the steps of:
s1, demodulating and restoring the underwater sound signal received by a sampling receiving end, and taking the restored signal as the input of a software equalizer to obtain an equalized signal;
S2, modulating the balanced signal, generating a switching signal to drive a switching tube of the power amplifier, and adjusting the amplitude of the transmitting signal;
the software equalizer is an FIR filter, and the transfer function G (z) of the FIR filter is expressed as follows:
G(z)=a1z-1+a2z-2+a3z-3...+amz-m;
Where a 1、a2、……、am is the coefficient of the FIR filter.
The control mode has the advantages that:
1) The problem of inconsistent output sound wave sound source level intensity brought by the impedance matching circuit is solved, and convenience is brought to water sound communication.
2) The power amplifier is automatically adjusted without paying attention to the output signal of the power amplifier end.
3) Any mixed wave can be output, and conditions can be provided for mixed wave communication.
In the invention, the coefficient calculation process of the FIR filter comprises the following steps:
A) Determining the signal with the largest amplitude in the restored signals;
B) Normalizing the rest restored signals by using the signals determined in the step A), and taking the reciprocal of the normalized value to obtain the amplitude-frequency characteristic gamma of the ideal filter;
C) Taking k groups of frequency points to construct a filter function, and constructing an error function E (z) of the filter by using the following formula:
Wherein G (z x) is the value of the transfer function G (z) at a particular frequency f x;
D) And changing the coefficient of the FIR filter until the error function value is smaller than a set value, obtaining the coefficient of the final FIR filter, and taking the FIR filter at the moment as a software equalizer.
Advantages in the FIR filter coefficient calculation process are:
1) The target performance of the filter is fixed and the calculation is convenient by knowing the frequency response characteristic and the order.
2) The filter can be designed quickly.
In the step a), the signal with the largest amplitude in the restored signals is obtained by using an bubbling sequencing method.
As an inventive concept, the present invention also provides a control system of an electroacoustic transducer, comprising:
One or more processors;
and a memory having one or more programs stored thereon, which when executed by the one or more processors cause the one or more processors to implement the steps of the above-described method of the present invention.
As an inventive concept, the present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above-described method of the present invention.
Compared with the prior art, the invention has the beneficial effects that the impedance matching of the electroacoustic transducer can be effectively realized, so that the transducer gets rid of the frequency limit and the function of emitting sound waves in a wide frequency band is realized. And meanwhile, the sound source setting is carried out on the matched sound waves by using a software equalization algorithm, a series of sound waves are set into signals with consistent intensity, and convenience is brought to subsequent signal processing. The invention provides feasibility for high power operation, wide frequency band operation, and mixed wave communication of the transducer.
Drawings
FIG. 1 is a schematic diagram of an electroacoustic transducer design in accordance with an embodiment of the present invention;
FIG. 2 is a calculation process of a passive matching circuit according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a software equalizer according to an embodiment of the present invention;
FIG. 4 is a graph showing a comparison between different topologies according to an embodiment of the present invention;
FIGS. 5 (a) and 5 (b) are graphs of power amplifier side voltage and current waveforms before and after matching under the same conditions as the embodiment of the present invention;
fig. 6 (a) and fig. 6 (b) are diagrams showing the comparison between the active power and the reactive power output from the power amplifier sides before and after matching under the same condition in the embodiment of the present invention;
FIGS. 7 (a) and 7 (b) are graphs showing the comparison of the effects of the embodiment of the invention before and after matching of the 300Hz and 400Hz signal mixing waves;
Fig. 8 (a) -8 (c) are graphs of software filtering effects of an embodiment of the invention, fig. 8 (a) is an ideal signal given by a power amplifier, fig. 8 (b) is a signal received by a hydrophone after passing through a hardware matching circuit, and fig. 8 (c) is a signal received by the hydrophone after passing through a software equalizer and returning to a power amplifier end for adjustment.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a process diagram of the whole set of device, adopts a power amplifier topology in an H-bridge form, is composed of four switching devices S 1、S2、S3、S4, and utilizes a transformer to transfer the output voltage U o of the power amplifier to a matching network of a secondary side. The matching network includes an inductance L 1、L2, and a capacitance C 1、C2、C3. The transducer converts the electrical signal passing through the matching circuit into sound waves for output and receives by means of the hydrophone. Then the sampling circuit is utilized to demodulate and restore the received signal on water, and the restored signal is sent into the software equalizer to obtain the equalized signal. And modulating the equalized signal, generating a switch signal to drive a switch S 1-S4 to feed back to the power amplification end, and adjusting the amplitude of the transmitting signal.
The design of the impedance matching circuit according to the embodiment of the invention is as follows.
The impedance characteristics of the transducer are complex, and the impedance characteristic curve can be divided into a linear part and a nonlinear part. Considering the demands of underwater acoustic communication, it is common to operate only with a frequency band having a linear characteristic. Therefore, the embodiment of the invention can give the equivalent impedance of the transducer as follows:
ZL=R+jXL=R+j(2πf)L (1)
The impedance characteristic of the transducer presents the inductance, so the impedance matching mode of single capacitor series effectively improves the operation characteristic of the transducer. Assuming that the inductance value of the serial capacitor is C, and the capacitor and the transducer form an LC series circuit together, the expression of the total impedance Z L of the circuit is:
After impedance matching, the complex impedance of the circuit is obviously reduced, and the reactive power consumed in the operation process of the transducer is also greatly reduced. However, the matching circuit in the LC serial connection manner can only obtain a better matching effect near the resonance frequency point, and cannot meet the requirement of broadband impedance matching.
The embodiment of the invention selects a high-order passive impedance matching topology as the best choice. The high-order impedance matching topology is complex, but the change of the high-order impedance matching topology in the phase frequency characteristic is slow, so that the requirement of broadband impedance matching can be met. The traditional high-order matching topology has a T-shaped or pi-shaped matching circuit, however, the three-order impedance matching topology still cannot meet the impedance matching requirement of the transducer. Therefore, the embodiment of the invention provides a LCLCC impedance matching model with higher order, and the topology of the model is shown in figure 1.
After impedance matching the transducer with LCLCC network, the expression of the total loop impedance transfer function Z in(s) in the complex frequency domain is as follows by means of laplace transform:
wherein a 0-a5、b0-b6 is a constant coefficient. The effect of matching the topology is entirely determined by the parameters within the topology device, and therefore the choice of parameters is very important.
The design objective lambda of passive impedance matching is to keep the phase-frequency characteristic of the transfer function Z in(s) near 0 degrees in a certain frequency band, thereby achieving the purpose of impedance matching. For the design target λ, the following formula can be given:
the closer the value of λ is to 1, the better the effect after matching, reflecting the smaller the reactive current component in the circuit.
For solving the parameters of the matching network, the optimal process is performed by using an iterative algorithm, the objective function is set to be lambda, the constraint conforming to the practical meaning is given, and after the required objective function and constraint are input, the problem to be solved is converted into the optimization problem with the constraint. For constraint constraints of objective functions and variables in the optimization problem, in combination with the formulas (3) and (4) and fig. 1, specific details of the optimization problem are shown in the formula (5):
Wherein, F 1 is a target fitness function, L, C represents parameters of inductance and capacitance in the impedance matching circuit, alpha and beta are set upper limit values, and the values are respectively 0.01 and 10.
For the solution of the matching circuit parameters, the specific process is as shown in fig. 2:
1. Parameter set X k of 10000 sets of inductance-capacitance L 1、L2、C1、C2、C3 is randomly generated, where k is the set number of the parameter set. Judging whether the generated parameters meet the constraint by utilizing the constraint condition in the formula (5), and if the generated parameters do not meet the constraint condition, randomly generating the parameters again;
2. Substituting the parameters of each parameter group into a circuit, calculating the power factor lambda of the power by using the total impedance Z in(s), calculating the value of the fitness function F 1, searching the minimum value of the function F 1 from 10000 parameter groups on the premise of meeting constraint conditions, sending the corresponding parameters into the groups for storage, and preparing to search whether a better solution exists again.
4. And (3) sending the parameter set obtained in the step (2) into a chaotic mapping formula and generating a new parameter set X k+1, and continuously repeating the steps until the set maximum cycle number is reached, wherein the chaotic mapping formula is shown as a formula (6).
5. Searching an optimal solution from the stored data sets, and on the premise that constraint conditions are met, obtaining the optimal solution to be searched by the corresponding parameter set when the F 1 function is minimum.
After the design is completed, the designed impedance matching circuit is calculated and the topology effect is verified by using the formula (4), and the matching effect of LCCLC impedance matching topology is compared with that of a single-capacitor type circuit and a T-type circuit, and the result is shown in figure 4.
It can be observed that the impedance matching topology provided by the embodiment of the invention has better matching effect compared with the traditional matching circuit, and can achieve the matching effect of high power factor in a very wide frequency band.
Meanwhile, the output current of the power supply is analyzed by utilizing the instantaneous reactive power, and the instantaneous reactive power formula is as follows:
Wherein D represents shifting the signal by 90 degrees, V s、Is represents the voltage and current of the power supply terminal, and P s、Qs represents the active power and reactive power, respectively.
And checking the effect through simulation software. After impedance matching, the voltage and current waveforms of the power amplifier end and the active and reactive power output by the power supply are as shown in fig. 5 (a), 5 (b), 6 (a) and 6 (b), and it can be seen that the phase angle difference between the voltage and current of the power supply end is greatly reduced after matching, and in addition, the active power output by the power amplifier end is greatly increased, so that the active output of the energy converter is improved. It can also be seen that under the same condition, the output power of the transducer is amplified after impedance matching, which also causes a great difference in the intensity of the sound source level of the output sound wave when signals with different frequency bands are transmitted, which causes problems for subsequent signal processing, so that a software equalizer is required to balance the output sound source while impedance matching is performed on hardware.
For the transmission of the mixed wave, as the impedance matching circuit is adopted to correct the phase angle, the phase angle difference between the signal at the output end of the transducer and the given instruction signal is reduced, so that the problem of peak value overlapping between currents is avoided, the fluctuation of power is reduced, convenience is brought to the modulation of the subsequent mixed wave, and feasibility is provided for the transmission of the mixed wave from the hardware. The matching effect for the mixed wave is as shown in fig. 7 (a) and 7 (b). It can be seen that the matching effect for the mixing wave is better and the phase angle error between the signal and the current is reduced.
The design of the software filter according to the embodiment of the invention is as follows.
After impedance matching, the output power of the transducer in different frequency bands is enhanced, and the intensity difference of sound source signals among different frequency bands is also aggravated, so that the difficulty is brought to data processing in the process of water sound communication. Therefore, an algorithm on software is needed to automatically tune the output sound wave.
The FIR filter based on finite impulse response is a typical software filter, and the FIR filter has the function of smoothing time domain waveforms, and is very suitable for being used as a software equalizer. For an FIR filter, the transfer function expression of the Z domain is mainly:
G(z)=a1z-1+a2z-2+a3z-3...+anz-n (8)
Where a n are the coefficients of the FIR filter.
The resulting acoustic wave signal can remain highly uniform in sound source intensity after multiplying the acoustic wave signal with the FIR filter in the frequency domain, i.e., after convolving in the time domain.
For the design of the equalization algorithm, the key is the solution of coefficients and orders in the FIR expression, and for the solution of filter coefficients, the solution is also performed in a computer iterative mode. And selecting a TLS least square method, taking the frequency domain response of the wanted filter as an objective function, and fitting by using the least square method, so as to obtain the wanted digital filter. The order of the filter is chosen to be 7000. For the solution problem of the software equalizer, a specific flow is shown in fig. 3.
1. Demodulating and restoring the carrier signal, and stopping receiving after a certain time length is reached;
2. for the received signal group, finding out the signal with the largest amplitude by using an bubbling sequencing method;
3. normalizing other signals by using the found maximum amplitude signal, and performing reciprocal operation on the obtained normalized value to obtain amplitude-frequency characteristic gamma of the ideal filter;
4. the amplitude-frequency characteristic gamma of an ideal filter is taken as a design target of the filter, and the gain of the given filter is 7000 steps. Combining equation (9), the error function E (z) of the construction filter is:
the coefficients in equation (8) are continuously changed based on the principle of the least squares method to reduce the error function E (z).
5. When the error function E (z) is smaller than a predetermined value, an expression of the filter is obtained and used as a software equalizer.
The software equalizer is simulated by using simulation software, and the signals are processed by a digital filter, so that the underwater sound signals with inconsistent original strength can be seen to be converted into signals with the same amplitude after the signals pass through an FIR filter. The signal is fed back to the power amplifier again, so that the amplitude values of all frequency bands can be kept consistent, and convenience is brought to subsequent signal processing.
And verifying the whole set of device through simulation software. The power amplifier gives the ideal signal shown in fig. 8 (a), and after passing through the hardware matching circuit, the hydrophone receives the signal shown in fig. 8 (b). It is obvious that after matching, the intensities of the transmitted signals in different frequency bands change, which affects subsequent signal processing. And after passing through the software equalizer and returning to the power amplifier end for adjustment, the signals received by the hydrophone are as shown in fig. 8 (c). After the adjustment of the software equalizer, the amplitude intensity of all frequency band signals is uniform, and convenience is brought to subsequent signal processing.
The simulation result verifies that the method of the embodiment of the invention can effectively realize the impedance matching of the electroacoustic transducer, so that the transducer gets rid of the frequency limit and realizes the function of emitting sound waves in a wide frequency band. And meanwhile, the sound source setting is carried out on the matched sound waves by using a software equalization algorithm, a series of sound waves are set into signals with consistent intensity, and convenience is brought to subsequent signal processing. The whole set of impedance matching method of software and hardware provides feasibility for high-power operation, broadband operation and mixed wave communication of the transducer.