Acoustic sensor array control circuit for acoustic camera and control method thereof
Technical Field
The invention belongs to the technical field of sound source analysis, and particularly relates to an acoustic sensor array control circuit for an acoustic camera and a control method thereof.
Background
In the technology of comprehensively collecting sound and images, an acoustic camera is used as tip measuring equipment for visualizing sound, and is new technical equipment required in various fields such as multimedia information communication equipment, household appliances, automobiles, buildings and the like. The acoustic camera is a special device for measuring sound field distribution within a certain range by utilizing an acoustic sensor array, can be used for measuring the position of sound emitted by an object and the state of sound radiation, and can display visual images in a cloud picture mode, namely acoustic imaging measurement.
The acoustic sensor array measures sound waves generated by a sound source by using a plurality of acoustic sensors, and collects sound source signals by using the acoustic sensors. The multiple acoustic sensors on the existing acoustic sensor array respectively send signals to different sensors by different clock sources, but the signals of the acoustic sensors are not synchronous due to the fact that the signals of the acoustic sensors are sent by different clock sources, so that the synchronism of signal acquisition is poor, and the acquisition accuracy of the acoustic sensor array is affected.
Disclosure of Invention
The invention aims to provide an acoustic sensor array control circuit for an acoustic camera, which has the advantages of simple structure, high signal synchronism of the acoustic sensor and high acquisition precision.
The technical scheme of the invention is as follows:
an acoustic sensor array control circuit for an acoustic camera, comprising:
the digital sound signal processing module is used for receiving the sound signal and processing the sound signal and converting the sound signal into a digital signal;
the main control unit is used for sending an excitation clock signal to the acoustic sensor array, receiving the digital signal and the optical image, and processing the digital signal and the optical image to obtain an acoustic data frame and an image data frame;
the main control unit comprises a crystal oscillator, a bit clock phase-locked loop, a byte phase-locked loop, a bit clock distribution unit, a byte clock distribution unit and a converter, wherein the crystal oscillator is used for sending bit clock signals and byte clock signals, the bit clock phase-locked loop is used for sending the bit clock signals to the bit clock distribution unit, the byte phase-locked loop is used for sending the byte clock signals to the byte clock distribution unit, the bit clock distribution unit and the byte clock unit respectively distribute a plurality of received bit clock signals and byte clock signals to a plurality of output signals and send the output signals to the converter, and the converter is used for receiving and converting the bit clock signals and the byte clock signals and sending the byte clock signals to the acoustic sensor unit;
the acoustic sensor array is provided with 8 branches, 8 acoustic sensor units are uniformly distributed on each branch, each 8 acoustic sensor units comprises 4 main channel sensors and 4 auxiliary channel sensors, each main channel sensor is electrically connected with each corresponding auxiliary channel sensor, and the converter is correspondingly electrically connected with each main channel sensor.
In the above technical solution, each of the main channel sensors is electrically connected to one of the converters, and the number of the converters is 32.
In the above technical solution, the bit clock distribution unit includes 8 bit clock distributors, and the bit clock distributor adopts a quarter clock distributor.
In the above technical solution, the byte clock distribution unit includes 8 byte clock distributors, and the byte clock distributor adopts a quarter clock distributor.
In the above technical solution, the converter adopts a two-in one-out converter.
In the above technical solution, the acoustic sensor units are distributed in a spiral involute type circular array on a curved surface or a plane.
In the above technical solution, the main channel sensor and the accessory channel sensor are connected by parallel twisted pairs.
Another object of the present invention is to provide a control method of an acoustic sensor array control circuit for an acoustic camera, comprising the steps of:
(1) The crystal oscillator in the main control unit is respectively converted into a bit clock signal and a byte clock signal through a bit clock phase-locked loop and a byte phase-locked loop, and the signals are sent to the bit clock distribution unit and the byte clock distribution unit;
(2) The bit clock distribution unit distributes 32 bit clock output signals through 8 clock distributors and sends the bit clock output signals to the converters, and meanwhile, the byte clock distribution unit distributes 32 byte clock signal output signals through 8 clock distributors and sends the byte clock output signals to the 32 converters corresponding to the byte clock output signals one by one;
(3) After receiving the bit clock output signal and the byte clock signal output signal, the converter converts the 32 bit clock output signals and the 32 byte clock output signals and sends the converted signals to 32 main channel sensors corresponding to the converted signals one by one, and each main channel sensor transmits the bit clock output signal and the byte clock signal output signal to an accessory channel sensor corresponding to the main channel sensor, so that the synchronization of the bit clock signal and the byte clock signal of the acoustic sensor unit is completed;
(4) After the bit clock signal and the byte clock signal are synchronized, triggering the acoustic sensor unit to work, collecting the sound signal of the sound source, and sending the sound signal to the digital sound signal processing module;
(5) The digital sound signal processing module processes and converts the sound signal into a digital signal and sends the digital signal to the main control unit, so that the control of the acoustic sensor array is completed.
The invention has the advantages and positive effects that:
the plurality of acoustic microphone units arranged on the acoustic sensor array comprise a main channel sensor and an accessory channel sensor corresponding to the main channel sensor, the same main control unit sends out clock source signals, and the signals distribute output signals to the microphone units of the array through the distributor, so that clock signals from the same clock source are transmitted to the acoustic sensors, the clock signals of the acoustic sensor units are effectively ensured to be synchronous, the synchronous error of the clock signals is reduced, and the reliability of data sampling of the acoustic sensors is improved.
And 2, after receiving the bit clock signal and the byte clock signal, the converter converts the two paths of signals into an output signal and then transmits the output signal to the sensor unit, so that the synchronization of the transmission signals is effectively ensured, and the stability of data sampling of the acoustic sensor is improved.
And 3. The byte clock is matched with the bit clock, so that the data acquired by the sensor are accurately positioned and acquired, and the integrity of the acquired data transmission is ensured to be high.
Drawings
FIG. 1 is a schematic diagram of the structure of an acoustic sensor array control circuit for an acoustic camera of the present invention;
fig. 2 is a schematic diagram of the clock synchronization network of the present invention that hosts the transmit stimulus clock.
Detailed Description
The present invention will be described in further detail with reference to specific examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the present invention.
Example 1
As shown, an acoustic sensor array control circuit for an acoustic camera of the present invention includes:
the acoustic sensor array is used for sensing and collecting sound signals of a sound source;
the digital sound signal processing module (model ADAU 7002) is used for receiving the sound signal and processing the sound signal and converting the sound signal into a digital signal, and the digital sound signal processing module is electrically connected with the main control unit;
the main control unit is used for sending an excitation clock signal to the acoustic sensor array, receiving the digital signal and the optical image, and processing the digital signal and the optical image to obtain an acoustic data frame and an image data frame;
the main control unit comprises a crystal oscillator, a bit clock phase-locked loop, a byte phase-locked loop, a bit clock distribution unit, a byte clock distribution unit and a converter, wherein the crystal oscillator is used for sending bit clock signals and byte clock signals, the bit clock phase-locked loop is used for sending the bit clock signals to the bit clock distribution unit, the byte phase-locked loop is used for sending the byte clock signals to the byte clock distribution unit, the bit clock distribution unit and the byte clock unit respectively distribute a plurality of received bit clock signals and byte clock signals to a plurality of output signals and send the output signals to the converter, and the converter is used for receiving and converting the bit clock signals and the byte clock signals and sending the byte clock signals to the acoustic sensor unit;
the acoustic sensor array is provided with 8 branches, 8 acoustic sensor units are uniformly distributed on each branch, each 8 acoustic sensor units comprises 4 main channel sensors and 4 auxiliary channel sensors, each main channel sensor is electrically connected with each corresponding auxiliary channel sensor, and the converter is correspondingly electrically connected with each main channel sensor.
Further, the bit clock distribution unit includes 8 bit clock distributors, and the bit clock distributor adopts one-fourth clock distributors, the byte clock distribution unit includes 8 byte clock distributors, and the byte clock distributor adopts one-fourth clock distributors, wherein the model of the clock distributor is CDCLVC1004.
Further, the converter adopts a two-in-one-out converter, and the model of the converter is ADAU7002.
Further, the data sampled by the sensor is in bit units, and the bit clock is how long to collect; the byte clock is data obtained by sampling at the sensor, the position of 20 bits is determined and found according to the data obtained by sampling, the position of first bit data in the data is determined by the bit clock, the position of the next 20 bits based on the position of the first bit data is determined by the byte clock, the position of the next 20 bits based on the position of the first bit data is determined, and thus the 20 bits of clock signals transmitted at one time are processed, and the processed 20 bits of clock signals are transmitted to the main control unit.
Further, the crystal oscillator, the bit clock phase-locked loop and the byte phase-locked loop are integrated, after the crystal oscillator signal enters the corresponding bit clock phase-locked loop and byte phase-locked loop, the signal coming out of the bit clock phase-locked loop and byte phase-locked loop is 3.072 MHz, and the output clock after signal processing is 48KHz, so that the crystal oscillator is suitable for the sampling frequency of an acoustic sensor unit.
A control method of an acoustic sensor array control circuit for an acoustic camera, comprising the steps of:
(1) The crystal oscillator in the main control unit is respectively converted into a bit clock signal and a byte clock signal through a bit clock phase-locked loop and a byte phase-locked loop, and the signals are sent to the bit clock distribution unit and the byte clock distribution unit;
(2) The bit clock distribution unit distributes 32 bit clock output signals through 8 clock distributors and sends the bit clock output signals to the converters, and meanwhile, the byte clock distribution unit distributes 32 byte clock signal output signals through 8 clock distributors and sends the byte clock output signals to the 32 converters corresponding to the byte clock output signals one by one;
(3) After receiving the bit clock output signal and the byte clock signal output signal, the converter converts the 32 bit clock output signals and the 32 byte clock output signals and sends the converted signals to 32 main channel sensors corresponding to the converted signals one by one, and each main channel sensor transmits the bit clock output signal and the byte clock signal output signal to an accessory channel sensor corresponding to the main channel sensor, so that the synchronization of the bit clock signal and the byte clock signal of the acoustic sensor unit is completed;
(4) After the bit clock signal and the byte clock signal are synchronized, triggering the acoustic sensor unit to work, collecting the sound signal of the sound source, and sending the sound signal to the digital sound signal processing module;
(5) The digital sound signal processing module processes and converts the sound signal into a digital signal and sends the digital signal to the main control unit, so that the control of the acoustic sensor array is completed.
The sampling frequency of the acoustic sensor unit is 48KHz, the data output adopts single-wire transmission, and the main channel sensor and the accessory channel sensor are excited by simultaneously sending a bit clock signal and a byte clock signal through the same crystal oscillator, so that the signal frequency of an input clock sent by the crystal oscillator is converted into 48KHz of an output clock, the synchronization of the clock signals is ensured, and the high synchronization and the high reliability of sound source sampling are ensured.
Example 2
Based on embodiment 1, the number of sensors satisfies 2 n The mechanisms of digital acoustic signal processing and data transmission are correspondingly extended according to the allocation scheme of embodiment 1, so that clock synchronization can be completed.
Example 3
Based on embodiment 1, the number of sensors can be adjusted according to actual requirements, and the number of sensors can be increased or reduced.
Taking 128 sensors as an example, according to the array type of the sensor in embodiment 1, the branches of the sensors are correspondingly expanded, so that the array arrangement of the 128 sensors can be completed, and an acoustic sensor array with good synchronism is obtained.
Example 4
Based on embodiment 1, the main control unit adopts an FPGA unit, the digital acoustic signal processing module adopts an ADAU chip, and the ADAU chip can convert a stereo pulse modulation (PDM) bit stream into pulse code modulation audio (PCM) data, and can also configure TDM time slots. The acoustic sensor units are distributed in a spiral involute type circular array on a curved surface or a plane.
The foregoing describes one embodiment of the present invention in detail, but the description is only a preferred embodiment of the present invention and should not be construed as limiting the scope of the invention. All changes and modifications that come within the meaning and range of equivalency of the claims are to be embraced within their scope.