WO2016107433A1 - Channel state selection method and device based on ternary coding - Google Patents

Channel state selection method and device based on ternary coding Download PDF

Info

Publication number
WO2016107433A1
WO2016107433A1 PCT/CN2015/098003 CN2015098003W WO2016107433A1 WO 2016107433 A1 WO2016107433 A1 WO 2016107433A1 CN 2015098003 W CN2015098003 W CN 2015098003W WO 2016107433 A1 WO2016107433 A1 WO 2016107433A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
signal
channel
output
state
Prior art date
Application number
PCT/CN2015/098003
Other languages
French (fr)
Chinese (zh)
Inventor
蔡野锋
马登永
Original Assignee
苏州上声电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 苏州上声电子有限公司 filed Critical 苏州上声电子有限公司
Publication of WO2016107433A1 publication Critical patent/WO2016107433A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R23/00Transducers other than those covered by groups H04R9/00 - H04R21/00

Definitions

  • the invention relates to a digital speaker coding method and device, in particular to a channel state selection method and device based on three-state coding.
  • the speaker unit In order to eliminate the limitation of the analog LC filter, break through the digital bottleneck of the speaker unit, improve the integration level of the speaker system, and realize all digitization of all signal processing and transmission links of the speaker system, it is necessary to incorporate the speaker unit into the digital coding link to realize
  • the digital coding of the speaker unit forms a digital speaker system
  • the low-pass filtering characteristic of the speaker unit and the human ear structure completes the conversion of the digital encoding amount to the analog vibration amount, and moves the digital-to-analog conversion link to the electro-acoustic conversion physics.
  • the stage is implemented, thereby eliminating the digital-to-analog conversion devices included in the conventional system and avoiding various electrical noises introduced by the digital-to-analog converter.
  • the digital system based on 1-bit delta-sigma modulation has the following shortcomings while having many of the above advantages: 1 is sensitive to clock jitter, and is easy to introduce nonlinear distortion due to clock jitter; 2 in order to maintain the stability of the modulation structure
  • the allowable input signal has a small dynamic range; 3 requires a high switching rate, while the power MOSFET generates more nonlinear distortion components during the high-speed switching of the speaker load. It also causes an increase in heat generation, temperature rise, and efficiency reduction of the MOSFET.
  • Multi-bit delta-sigma modulation technology overcomes the above-mentioned shortcomings of 1-bit delta-sigma modulation, and it also has a fatal flaw itself - its modulation structure is between the frequency response of multiple speaker units (or voice coil units).
  • the inconsistency and the degree of spatial position separation of a plurality of speaker units have high sensitivity, and it is easy to introduce a large coding error due to inconsistency of multiple unit frequency responses or separation of spatial positions.
  • the dynamic mismatch shaper used in digital systems based on multi-bit delta-sigma modulation is essentially a multi-channel output state selection allocator based on various state selection strategies.
  • the core idea of the dynamic mismatch shaping technique is to use a fast average to select each channel, and to push the signal error introduced by the system due to the deviation of each channel to the high frequency, thereby improving the signal to noise ratio in the audible sound frequency band.
  • the three common dynamic mismatch shaping strategies are DWA (Data-Weighted Averaging), VFMS (Vector-Feedback mismatch-shaping), and TSMS (Tree-Structure mismatch shaping). Among them, the DWA selection strategy has the worst performance.
  • the processed spectrum will still contain more obvious harmonic components at high frequencies, and DWA can only achieve first-order shaping.
  • the shaping effect of TSMS and VFMS is better than that of DWA, and both TSMS and VFMS can achieve second-order.
  • the second-order or more shaping the noise suppression capability of the VFMS is better than the TSMS in the same order.
  • the traditional dynamic mismatch shaper (patent CN101803401A, patent CN102684700A, patent CN102239706A, patent CN102647191A) is designed for binary state coding. These traditional shapers can only contain two levels of "0" and "1".
  • the binary coded signal of the state is subjected to shaping processing, and the three-state coded signal including the three level states of "-1", "0", and "1" cannot be directly shaped.
  • the biggest advantage of the three-state coding is that it can save the number of channels, reduce the amount of resources, and further improve the system integration.
  • a three-state driving method is proposed in US Patent No. 2014169577, but the patent does not describe how to perform multi-channel three-state encoding selection, so that the influence of deviation between multiple channels on system signal-to-noise ratio degradation cannot be avoided.
  • the traditional three-state unit selection strategy is to divide the input signal into positive input and non-positive input, and then use the traditional two-state unit-based dynamic mismatch shaping selection strategy for the two inputs. There are minor changes on the basis of the design, and the structure is simple, but the signal-to-noise of the output signal after shaping is relatively low, and changes with the frequency.
  • This tradition Although the three-state selection strategy reduces the amount of resources realized by the hardware, it also sacrifices the output signal-to-noise ratio performance.
  • U.S. Patent No. 20120057727 proposes a strategy for selecting a tristate unit using channel averaging and time averaging, but this strategy has two drawbacks: (1) This method only gives a choice when the input signal approaches zero. The strategy does not give a selection strategy under other input conditions; (2) The time averaging strategy method will destroy the original signal and easily introduce harmonic distortion.
  • the object of the present invention is to overcome the defects of the channel state selection strategy in the existing digital speaker system, and combines the requirements of low power consumption, digitization and integration development, and proposes a channel state selection method and device based on three-state coding. .
  • a channel state selection method based on three-state coding includes the following steps:
  • the sound source signal is modulated to generate (2L+1) level-level quantized signals x;
  • control signal p, m, z and M channel feedback signal b is selected to generate an M channel state vector signal y;
  • the state vector signal y is shaped to generate a feedback signal b for the M channel update
  • the state vector signal y is amplified by a three-state encoded multi-channel power amplifier to drive a plurality of speaker units in the speaker array or a plurality of voice coils in the multi-voice speaker, and the digital pattern is automatically completed by the speaker array or the multi-voice speaker Conversion and low pass filtering to convert the digitally encoded signal into an analog sound field signal.
  • the method comprises the following steps:
  • the sound source signal is modulated to generate (2L+1) level-level quantized signals x;
  • the control signal p, m, z and the preset M channel feedback signal b is selected to generate an M channel state vector signal y; wherein the preset M channel feedback signal b can be selected as 0;
  • the state vector signal y is shaped to generate an updated M channel feedback signal b, and the control signals p, m, z and the updated M channel feedback signal b are selected to generate an updated M channel state vector signal.
  • the updated state vector signal y is amplified by a three-state encoded multi-channel power amplifier to drive a plurality of speaker units in the speaker array or a plurality of voice coils in the multi-voice speaker, and is automatically completed by a speaker array or a multi-voice speaker.
  • Digital-to-analog conversion and low-pass filtering process convert the digitally encoded signal into an analog sound field signal.
  • step 4) is repeated a plurality of times, and the M channel state vector signal y is updated multiple times until the M channel state vector signal y converges.
  • the (2L+1) level-level quantized signal x in the step 1) the quantized signal x Take any integer in the range [-L, L], where L is an integer and L ⁇ 1.
  • step 1) the steps of the modulation processing in step 1) are as follows:
  • the oversampled PCM coded signal is processed by multi-bit ⁇ - ⁇ modulation to generate a PCM coded signal x with a sampling rate still f o and a quantization level level number (2L+1), wherein the quantization level level The quantity satisfies the condition: (2L+1) ⁇ 2 N .
  • the multi-bit delta-sigma modulation process is designed according to various multi-bit sigma-delta modulators - like the High-Order Single-Stage serial modulation method or multi-level (Multi-Stage (Cascade, MASH)) Parallel modulation method - the modulator structure and parameter design, the noise shaping process is performed on the oversampled signal outputted by the interpolation filter, and the noise energy is pushed to the area outside the audible band to ensure the modulated signal. There is a sufficiently high signal to noise ratio in the audible frequency band.
  • mod(Mx, 2) represents the remainder of (Mx) divided by 2
  • floor((Mx)/2) represents the largest integer of the quotient not greater than (Mx) divided by 2
  • mod(M+x, 2) indicates ( M+x) divided by the remainder of 2
  • floor((M+x)/2): represents the largest integer of the quotient that is not greater than (M+x) divided by 2.
  • the state signal of the i-th channel is y i , i ⁇ ⁇ 1, 2, ..., M ⁇ , y i is selected from three state values of "-1", "0", "1" and satisfies
  • the M channel state vector signal y is generated by arranging all the above elements after the step b) selection processing in the order from 1 to M.
  • the shaping processing in the step 4) includes multi-channel filtering processing, and the transfer function of the filter used in each channel is Where H(z) is the transfer function of the high-pass filter whose order is greater than one.
  • the step 2) the mapping transformation, the step 3) the selection processing, and the step 4) the shaping processing, the three steps jointly complete the shaping processing based on the three-state encoding
  • the output signal of the modulator module performs a mismatch shaping operation, which reduces the output signal-to-noise ratio degradation effect caused by the frequency response deviation between the subsequent channels.
  • the nonlinear distortion component of the synthesized signal introduced by the channel deviation is whitened, and the harmonic power at the specific frequency point is spread into the entire frequency band to be converted into a noise component. , eliminating the nonlinear distortion of the synthesized signal introduced by the harmonic component.
  • the tristate coding based shaping process is designed for the three-level state coded signal, which can save the algorithm hardware resources and save hardware power consumption.
  • the shaping process of the three-state code is based on the performance of the number of times each channel has been recorded in the past, and determines which channels should be selected to participate in the sound signal restoration work at the current time.
  • the shaping of the three-state code can optimize the combination of the channels participating in the signal restoration work to ensure that the total harmonic distortion of the synthesized acoustic signal is minimized.
  • the shaping process of the three-state code is to control the state of the channel according to the criterion of the minimum harmonic distortion of the synthesized acoustic signal, and ensure that each channel participates in the synthesis of the acoustic signal according to the principle of equal probability.
  • Each channel is optimal in its own response. Participate in the synthesis of acoustic signals in the state, thus ensuring the performance of the synthesized acoustic signals.
  • Triangulation-based shaping is performed by averaging each channel as much as possible, equivalent to whitening the total harmonic components of the synthesized acoustic signal, dissipating these harmonic powers throughout the entire audio band, while using each unit as quickly as possible. After whitening, the noise is pushed to the high frequency, the in-band signal-to-noise ratio is improved, and the performance of the synthesized acoustic signal is improved.
  • the three-state coding in step 5) means that the output state of the channel at any time is only switched between three states of “1”, “0”, “-1”. .
  • the channel output state is "1”
  • the input voltage on the speaker load terminal line is V c .
  • the channel output state is "-1”
  • the input voltage on the speaker load terminal line is -V c
  • the channel output state is " When 0”, the input voltage on the speaker load terminal line is 0, where V c is the power supply voltage value of the power amplifier.
  • the encoding and distribution of the multi-channel speaker load is completed by the multi-channel output state selection based on the three-state encoding, and the digital encoding and digitizing driving of each voice coil of the speaker array or the multi-voice speaker are realized.
  • the present invention also provides a channel state selection device based on three-state coding, which is characterized in that it comprises:
  • a modulator module modulating and encoding the sound source signal to generate a PCM coded signal x having a sampling rate f o and a quantization level of 2L+1;
  • mapping module connected to the output of the modulator module, generating control signals p, m and z;
  • a selection module is connected to the output end of the mapping module, and is also connected to the input end and the output end of the shaping module to generate an M channel state vector signal y;
  • An shaping module is connected to the input end and the output end of the selection module to generate an M channel feedback signal b;
  • a multi-channel digital power amplifier and a speaker array or a multi-voice speaker unit module are connected to the output end of the selection module, and the power amplification of the M channel state vector signal y outputted by the selection module is completed by the multi-channel digital power amplifier for driving
  • a plurality of voice coils in a speaker array or a plurality of voice coils in a multi-voice coil speaker are automatically digital-to-analog converted and low-pass filtered by a speaker array or a multi-voice speaker to convert the digitally encoded signal into an analog sound field signal.
  • a modulator module for modulating and encoding the sound source signal to generate a PCM coded signal x having a sampling rate f o and a quantization level of 2L+1;
  • mapping module the input end of the mapping module is connected to the output end of the modulator module to generate control signals p, m and z;
  • the input end of the selection module is connected to the output end of the mapping module, and generates an M channel state vector signal y according to the control signals p, m and z and the preset M channel feedback signal b;
  • An shaping module an input end of the shaping module is connected to an output end of the selection module, an output end of the shaping module is connected to an input end of the connection module, and an updated version is generated according to the M channel state vector signal y M channel feedback signal b, the selection module generates an updated M channel state vector signal y according to the control signals p, m and z and the updated M channel feedback signal b;
  • a multi-channel digital power amplifier and a speaker array or a multi-speaker speaker unit module are connected to the output end of the selection module, and the power amplification of the updated M-channel state vector signal y outputted by the selection module is completed by the multi-channel digital power amplifier.
  • the modulator module is composed of three modules: a format converter module, an interpolation filter module, and a multi-bit delta-sigma modulator module.
  • the format converter module performs encoding format conversion on the sound source signal, and converts the sound source signal into a PCM encoded signal with a sampling rate of f s and a bit width of N.
  • the multi-bit delta-sigma modulator module performs multi-bit delta-sigma modulation on the output signal of the interpolation filter module to generate a PCM encoded signal x having a sampling rate of f o and a quantization level of (2L+1).
  • Interpolation filter module including at least 1 level FIR oversampling interpolation filter and 1 level CIC oversampling interpolation filter, FIR oversampling interpolation filter for smaller oversampling rate interpolation processing, CIC oversampling interpolation filter for large Oversampling rate Interpolation processing.
  • the first stage uses the FIR oversampling interpolation filter, and the last stage uses the CIC oversampling interpolation filter.
  • the mapping module can be divided into offline and online implementations according to the offline calculation control signal and the online calculation control signal.
  • the offline implementation has a fast processing speed but needs to occupy ROM resources.
  • the online implementation consumes less hardware resources, but the processing speed is slightly slower than the offline mode.
  • mapping module 2 the specific process of the offline implementation is as follows:
  • the mapping module comprises a read only memory ROM1 module, a read only memory ROM2 module and a read only memory ROM3 module, and the values of the control signals p, m and z can be pre-calculated by an offline program and Pre-filled into the read-only memory ROM1 module, the read-only memory ROM2 module, and the read-only memory ROM3 module.
  • the memory ROM1 module stores a control signal p, the address index is an input signal x of the mapping module; the memory ROM2 module stores a control signal m, the address index is an input signal x of the mapping module; the memory ROM3 module stores a control signal z, and the address index is The input signal x of the mapping module.
  • the contents of the read-only memory ROM1 module, the read-only memory ROM2 module, and the read-only memory ROM3 module are calculated by the following formula:
  • floor represents the smallest integer that is closest, and mod represents the remainder.
  • mapping module the specific process of the online implementation is as follows:
  • the mapping module is composed of a symbol taking module, an absolute value module, a subtraction A1 module, a last bit module, a shift module, an addition module, a subtraction A2 module, a selector C1 module, and a selector C2 module.
  • the subtraction A1 module subtracts the channel constant M from the output of the absolute value module, and outputs the difference
  • the shifting module shifts the output of the subtraction A1 module to the right by one bit, and outputs the shifted signal
  • the adding module adds the output of the absolute value module and the output of the shifting module, and outputs an added signal
  • the subtraction A2 module subtracts the channel constant M from the output of the last bit module, and subtracts the output of the addition module;
  • the first input signal of the selector C1 module is the output of the addition module, the second input signal is the output of the subtraction A2 module, the third input signal is the output of the symbolic module, and the output of the selector C1 module is the control signal p ;
  • the first input signal of the selector C2 module is the output of the subtraction A2 module
  • the second input signal is the output of the addition module
  • the third input signal is the output of the symbolic module
  • the output of the selector C2 module is the control signal m. .
  • the selection module is composed of a sorting module, a positive selection module, a negative selection module, and an addition module. among them:
  • the sorting module sorts and outputs the input feedback signals b of the selection module in descending order.
  • the positive selection module sets the output state of the channel corresponding to the first p larger value elements of the sorting module output vector to "1", sets the output state of the channel corresponding to the remaining elements of the output vector to "0", and sets all channels.
  • the output states are arranged in the order from 1 to M to generate an M channel state vector signal and output.
  • the negative selection module sets the output state of the channel corresponding to the m smaller value elements of the sorting module output vector to "-1", and sets the output state of the channel corresponding to the remaining elements of the output vector to "0", and all channels are
  • the set output states are arranged in the order from 1 to M to generate an M channel state vector signal and output;
  • the addition module adds the channel state vector signals of the positive selection module and the negative selection module and outputs y.
  • the shaping module is composed of a subtraction module, a filter processing module, a minimum value search module, and an addition module.
  • the subtraction module subtracts the multi-channel state signal vector y of the shaping module from the multi-channel output feedback signal vector b of the shaping module, and outputs the multi-channel signal vector obtained by the subtraction process;
  • the filter processing module performs multi-channel filtering processing on the output signal vector of the subtraction module, and the transfer function of the filter used in each channel is H(z)-1, wherein H(z) is a high-pass filter with an order greater than one. Transfer function.
  • the minimum value search module receives the output of the filter processing module, and searches for the minimum value of the data transmitted on the multi-channel through multiple comparison processes, and outputs the opposite of the minimum value;
  • the adding module adds and outputs the output of the minimum value search module and the output of the filter processing module, and the output of the adding module is an updated feedback control signal b.
  • the multi-channel digital power amplifier and the speaker array or the multi-voice coil speaker unit module are composed of a multi-channel digital power amplifier and a transducer unit module having three-state driving capability.
  • the multi-channel digital power amplifier with three-state driving capability receives the M channel state vector signal y outputted by the selection module and performs multi-channel power amplification processing, and amplifies the status signals "-1", "0", and "1" sent by each channel.
  • a power signal -V c , 0 and V c with drive capability is formed.
  • the transducer unit module receives an output signal of a multi-channel digital power amplifier having three-state driving capability and drives a plurality of voice coils in a speaker array or a plurality of voice coils in a multi-voice speaker, which is automatically replaced by a speaker array or a multi-voice speaker Digital-to-analog conversion and low-pass filtering are performed to convert the digitally encoded signal into an analog sound field signal.
  • the invention adopts three-state coding, including three level formats of "-1", “0” and “1", under the same input condition, and only contains two kinds of electric energy such as "0" and "1"
  • the three-state coding method can reduce the number of channels by half, thereby effectively saving hardware resources occupied by the algorithm, reducing hardware resource overhead, saving hardware power consumption, and having good energy-saving characteristics, and is particularly suitable.
  • Portable consumer electronics products can significantly improve the battery life of lithium battery powered products.
  • the channel state selection strategy based on three-state coding adopted by the invention the method proposed by the invention can effectively improve the front-end input under the condition of the same number of channels, compared with the traditional channel state selection strategy based on two-state coding.
  • the modulation depth of the signal enhances the stability of the system, further increases the amplitude of the output signal and improves the conversion efficiency.
  • the channel state selection strategy based on the three-state coding adopted by the invention white-processes the total harmonic components of the synthesized signal, disperses the harmonic power in the entire sound frequency band, and pushes the noise through the shaping means High frequency, improve the in-band signal-to-noise ratio, and also reduce the harmonic interference level of the unit splitter device, reduce the electromagnetic radiation level of the system, and reduce the interference of electromagnetic radiation to other surrounding electronic products.
  • the proposed method can effectively optimize the multi-channel tri-state coding to ensure the total harmonic distortion of the synthesized signal is minimized, and the system can be significantly improved. Harmonic and noise attenuation suppression, improve system signal-to-noise ratio.
  • FIG. 1 is a signal flow diagram of a channel state selection method based on three-state coding proposed by the present invention
  • Figure 2 shows the feedback signal vector for sorting in the proposed method of the present invention Schematic diagram of channel state selection
  • FIG. 3 is a block diagram showing an implementation of a channel state selection device based on three-state coding according to the present invention; wherein the selection module and the shaping module form a loop, and the output of the previous loop is updated, and can be looped multiple times until the M channel of the module output is selected.
  • State vector signal y converges;
  • FIG. 4 is a flow chart showing signal processing of a modulator module in a channel state selection method based on three-state coding proposed by the present invention
  • FIG. 5 is a flowchart showing signal processing of an interpolation filter in a channel state selection method based on three-state coding according to the present invention
  • FIG. 6 is a schematic structural diagram of an offline implementation manner of a mapping module in a channel state selection method based on three-state coding according to the present invention
  • FIG. 7 is a schematic structural diagram of an online implementation manner of a mapping module in a method for selecting a channel state based on a three-state encoding according to the present invention
  • FIG. 8 is a structural diagram of a selection module in a channel state selection method based on three-state coding proposed by the present invention.
  • FIG. 9 is a structural diagram of a shaping module in a method for selecting a channel state based on a three-state encoding according to the present invention.
  • FIG. 10 is a structural diagram of a multi-bit delta-sigma modulator used by a modulator module in a channel state selection method based on a three-state encoding according to the present invention
  • FIG. 11 is a schematic diagram showing driving of a multi-channel digital power amplifier having three-state driving capability in a channel state selection method based on three-state encoding according to the present invention
  • FIG. 12 is a graph showing the corresponding relationship between the single-channel output signal-to-noise ratio and the change of the input signal frequency and amplitude according to the channel state selection method based on the three-state coding proposed by the present invention and the channel state selection method based on the conventional VFMS improved algorithm.
  • Figure 13 shows the proposed single-channel output signal spectrum of the channel state selection method based on the three-state encoding and the traditional channel state selection method based on the improved VFMS algorithm, wherein the input frequency is 1 kHz;
  • the method and device for selecting channel state based on three-state coding proposed by the invention effectively reduces the hardware resource occupation of the algorithm, improves the stability of the system, and improves the harmonics by using the channel state selection method proposed by the invention. Noise suppression, while also increasing the maximum amplitude and conversion efficiency of the output signal.
  • a channel state selection device based on three-state coding according to the present invention is constructed, and the main body thereof is composed of a modulator module, a mapping module, a selection module, a shaping module, a multi-channel digital power amplifier and a speaker array or a multi-voice speaker unit module.
  • the modulator module comprises a format converter module, an interpolation filter module and a multi-bit delta-sigma modulator module, wherein the format converter module converts the sound source signal into a 16-bit, 48 KHz PCM coded signal output; the interpolation filter module presses The 2-level FIR interpolation filter and the 1-stage CIC interpolation filter have a total of 3 stages of filtering.
  • the 16-bit, 48-KHz PCM coded signal output from the format converter is converted into a 16-bit, 3.072 MHz (48KHz x 64) PCM coded signal output.
  • the first stage uses a 128-order FIR interpolation filter, the oversampling interpolation factor is 2, the second stage uses a 32-order FIR interpolation filter, the oversampling interpolation factor is 2, the third stage uses a CIC interpolation filter, and the oversampling factor is 16.
  • the multi-bit delta-sigma modulator module converts the 16-bit, 3.072 MHz PCM encoded signal output by the interpolation filter into a 17-level, 3.072 MHz PCM encoded signal x output, as shown in Figure 10, using a delta-sigma modulator. It is a topology of 7th-order CIFB (Cascaded Integrators with Distributed Feedback), and its coefficients are shown in Table 1. Table 1 shows the parameter names and corresponding parameter values of the multi-bit delta-sigma modulator used by the modulator module in the channel state selection method based on the three-state coding proposed by the present invention.
  • parameter name A1 A2 A3 A4 A5 A6 A7 Numerical value 0.1955 0.1970 0.2032 0.2171 0.2429 0.2909 0.4204 parameter B1 B2 B3 B4 B5 B6 B7 B8 Numerical value 0.1955 0.1970 0.2032 0.2171 0.2429 0.2909 0.4204 1 parameter C1 C2 C3 C4 C5 C6 C7 Numerical value 0.0519 0.1121 0.1881 0.2945 0.4689 0.9021 3.0390
  • mapping module converts the signal x output by the modulator module into control signals z, p and m outputs.
  • the relationship between x and z, p, m is as follows, where the number of channels M is 8:
  • mapping module There are two main implementations of the mapping module.
  • speed is the primary consideration
  • the implementation structure is shown in Figure 6.
  • the relationship between the storage contents of the read-only memory ROM1, ROM2, and ROM3 and the input signal x is as shown in Table 2.
  • Resource occupancy When it is the primary consideration, its implementation structure is shown in Figure 7.
  • Table 2 shows the contents of the read-only memory ROM1 module, the read-only memory ROM2 module, and the read-only memory ROM3 module when the number of channels is 8.
  • the selection module structure is shown in Figure 8, which mainly includes: a sorting module, a positive selection module, a negative selection module, and an addition module. Assuming that the signal x is 5, then z, p, and m are 1, 6, and 1, respectively, and assuming b is [10, 6, 7, 5, 4, 8, 9, 2], then the sorting module is pressed.
  • the order from small to large is subscripted as [8,4,5,3,2,6,7,1], and the positive selection module subscripts and control signals p from small to large, the largest p in the first p of b
  • the number corresponding channel is set to 1, the other channel is set to 0, the output is [1,1,1,1,0,1,1,0], and the negative selection module subscripts and control signal m according to the order from small to large,
  • the channel corresponding to the m smallest number in b is set to -1, and the other channels are set to 0, the output is [0,0,0,0,0,0,-1], and the addition module is positively selecting the module and negative.
  • Select module output addition, and its output signal y is [1,1,1,0,1,1,-1].
  • the shaping module structure is shown in Figure 9, which mainly includes: a subtraction module, a filter processing module, a minimum value search module, and an addition module.
  • the transfer function of the filter is H(z)-1, where H(z) adopts a second-order filter structure with the expression (1-z -1 ) 2 .
  • Multi-channel digital power amplifier and speaker array or multi-voice speaker unit module mainly consists of multi-channel digital power amplifier and transducer unit module with three-state driving capability, and multi-channel digital power amplifier with three-state driving capability is shown in Figure 11. Shown.
  • Table 3(a) shows the relationship between the output and the input of the channel state selection method based on the three-state coding proposed by the present invention in the 8-channel
  • Table 3(b) also gives the traditional basis.
  • the channel corresponding to the element is set to "-1", and the channel corresponding to the other remaining elements is set to "0"; (4)
  • the output signals of all channels are arranged in order from 1 to M to form the M channel output signal y.
  • the present invention is compared to the conventional channel state selection method based on the improved VFMS algorithm.
  • the proposed channel state selection method based on three-state coding uses more channels in the same time, the number of occurrences of the "0" coding state is greatly reduced, and "-1" or "1" can occur simultaneously in the same time. "Two encoding states, so you can use each output channel more quickly and evenly, pushing the noise to high frequencies and improving the in-band signal-to-noise ratio.
  • Table 3 shows a three-state code-based channel proposed by the present invention when the number of channels is 8, and the value of the feedback signal b is [10, 6, 7, 5, 4, 8, 9, 2] in the first embodiment of the present invention.
  • the correspondence between the single-channel SNR of the channel state selection method based on the three-state coding and the channel state selection method based on the improved VFMS algorithm is presented.
  • the relationship, as shown in Figure 12, also shows the spectrum of the single-channel signal generated by the two methods when the input signal is 1 kHz and the input signal amplitude is -6 dB, as shown in Figure 13. . It can be seen from Fig. 12(a) that the single-channel signal-to-noise ratio of the traditional channel state selection method based on the improved VFMS algorithm increases with the increase of the input signal frequency, but the signal-to-noise ratio is low at all frequencies.
  • the channel state selection method based on the three-state coding proposed by the present invention can also be seen from the spectrum diagram curve of FIG.
  • the shaping and attenuation capabilities are superior to the traditional channel state selection method based on the improved VFMS algorithm. It can also be seen from Fig. 12(a) that the output signal-to-noise ratio of the proposed method does not substantially change with frequency and is a constant value. It can be seen from Fig.
  • the output signal-to-noise ratio of the conventional channel state selection method based on the improved VFMS algorithm does not change linearly with the input signal amplitude
  • the output signal-to-noise ratio of the proposed method is The amplitude of the input signal changes linearly.
  • the signal-to-noise ratio decreases because the shaping process is saturated, but the region is very narrow and the signal-to-noise ratio decreases less.

Abstract

Disclosed are a channel state selection method and device based on ternary coding. The method comprises: performing modulation processing on a sound source signal to generate (2L+1) level quantization signals x; performing mapping transformation on the quantization signals x to generate control signals p, m and z; performing selection processing on the control signals p, m and z and an M-channel feedback signal b, and then, outputting an M-channel state vector signal y; performing shaping processing on the state vector signal y, and then, generating the M-channel feedback signal b; and completing electric-acoustic conversion after the state vector signal y passes through a multi-channel power amplifier and an energy converter unit. The device comprises a modulator module, a mapping module, a selection module, a shaping module, and a multi-channel digital power amplifier and a loudspeaker array or a multi-voice-coil loudspeaker unit module, which are connected in sequence. The present invention can effectively reduce hardware resource overheads, reduce hardware power consumption, improve system stability, further improve the amplitude of an output signal, and improve conversion efficiency, and has a high signal-to-noise ratio output capacity.

Description

基于三态编码的通道状态选取方法和装置Channel state selection method and device based on three-state coding 技术领域Technical field
本发明涉及一种数字扬声器编码方法和装置,特别涉及一种基于三态编码的通道状态选取方法和装置。The invention relates to a digital speaker coding method and device, in particular to a channel state selection method and device based on three-state coding.
背景技术Background technique
随着超大规模集成电路制造技术的迅速发展,电声产业的主导产品——扬声器系统的设计与制造逐渐向低功耗、微型化、便携式的方向发展。近些年来,随数字化浪潮带动下产生的半数字化扬声器系统,因其采用脉冲宽度调制(Pulse Width Modulation——PWM)D类功放驱动技术,成功解决了功耗和发热问题,大幅度提升了整个系统的电声转换效率。但是,半数字化扬声器系统的后级仍然需要依靠体积庞大的LC低通模拟滤波器,以滤除数字脉冲调制信号的带外高频分量,将被调制的低频包络信号解调出来,从而完成数模转换过程。为了消除模拟LC滤波器的限制,突破扬声器单元的数字化瓶颈,提高扬声器系统的集成化水平,实现扬声器系统所有信号处理与传输环节的全部数字化,需要将扬声器单元纳入到数字编码环节中,真正实现扬声器单元的数字化编码,形成数字化扬声器系统,从而最终由扬声器单元及人耳自身结构的低通滤波特性,完成数字编码量到模拟振动量的转换,将数模转换环节移至电声转换的物理阶段予以实现,从而消除了传统系统中所包含的数模转换器件,避免了数模转换器所引入的各种电噪声。围绕着扬声器单元的数字化这一核心问题,近年来国内外多家研究机构的学者们已经开展了关于数字化编码调制、数字化功率驱动和数字化扬声器单元制作技术的较为广泛而深入的理论和实践研究,从而形成了以数字化扬声器系统设计为研究方向的全新研究领域。With the rapid development of VLSI manufacturing technology, the design and manufacture of the speaker system, the leading product of the electroacoustic industry, is gradually moving toward low power consumption, miniaturization and portability. In recent years, the semi-digital speaker system generated by the digital wave has successfully solved the power consumption and heat generation problems by using Pulse Width Modulation (PWM) Class D power amplifier driving technology, which greatly improved the whole process. The electroacoustic conversion efficiency of the system. However, the latter stage of the semi-digital speaker system still relies on a bulky LC low-pass analog filter to filter out the out-of-band high-frequency components of the digital pulse-modulated signal, and demodulate the modulated low-frequency envelope signal to complete Digital to analog conversion process. In order to eliminate the limitation of the analog LC filter, break through the digital bottleneck of the speaker unit, improve the integration level of the speaker system, and realize all digitization of all signal processing and transmission links of the speaker system, it is necessary to incorporate the speaker unit into the digital coding link to realize The digital coding of the speaker unit forms a digital speaker system, and finally the low-pass filtering characteristic of the speaker unit and the human ear structure completes the conversion of the digital encoding amount to the analog vibration amount, and moves the digital-to-analog conversion link to the electro-acoustic conversion physics. The stage is implemented, thereby eliminating the digital-to-analog conversion devices included in the conventional system and avoiding various electrical noises introduced by the digital-to-analog converter. Focusing on the core issue of digitization of speaker units, scholars at home and abroad have conducted extensive and in-depth theoretical and practical research on digital code modulation, digital power drive and digital speaker unit fabrication techniques in recent years. Thus, a new research field with digital speaker system design as the research direction has been formed.
为了克服PWM编码引入的失真,保证数字扬声器的高保真重放效果,许多专家学者和工程师们开始研发基于1比特Δ-∑编码的数字化扬声器系统,期望通过Δ-∑调制所使用的过采样和噪声整形技术,将系统量化噪声功率推挤到带外高频区域,提升数字化系统的音质水平。这些基于1比特Δ-∑编码的数字扬声器系统,仅需要一个简单的低通滤波器即可完成数模转换,硬件实现简单;同时系统通过过采样和噪声整形技术能将期望音频带内噪声转移到高频区域,保证了高保真的还原音质。基于1比特Δ-∑调制的数字化系统,在具有上述诸多优点的同时本身也存在着以下几个缺陷:①对时钟抖动较为敏感,容易因时钟抖动引入非线性失真;②为了保持调制结构的稳定性,允许的输入信号动态范围较小;③需要较高的开关速率,而功率型MOSFET管在驱动扬声器负载进行高速开关切换的过程中会产生较多的非线性失真成份,同时 也会引起MOSFET管发热增加、温度升高和效率降低。In order to overcome the distortion introduced by PWM coding and ensure the high-fidelity playback of digital speakers, many experts, scholars and engineers have begun to develop a digital speaker system based on 1-bit delta-sigma coding, which is expected to be oversampled by delta-sigma modulation. The noise shaping technology pushes the system quantization noise power into the out-of-band high-frequency region to improve the sound quality level of the digital system. These digital speaker systems based on 1-bit delta-sigma encoding require only a simple low-pass filter to perform digital-to-analog conversion, and the hardware implementation is simple. At the same time, the system can transmit the desired audio in-band noise through oversampling and noise shaping techniques. In the high frequency area, high-fidelity sound quality is guaranteed. The digital system based on 1-bit delta-sigma modulation has the following shortcomings while having many of the above advantages: 1 is sensitive to clock jitter, and is easy to introduce nonlinear distortion due to clock jitter; 2 in order to maintain the stability of the modulation structure The allowable input signal has a small dynamic range; 3 requires a high switching rate, while the power MOSFET generates more nonlinear distortion components during the high-speed switching of the speaker load. It also causes an increase in heat generation, temperature rise, and efficiency reduction of the MOSFET.
为了解决1比特Δ-∑编码的数字化系统所存在的缺陷,许多学者又转向研究基于多比特Δ-∑编码的数字化系统。多比特Δ-∑调制技术在克服上述1比特Δ-∑调制缺点的同时,自身也存在着一个较为致命的缺陷——其调制结构对多个扬声器单元(或者音圈单元)频响之间的不一致性以及多个扬声器单元的空间位置分离程度具有较高的敏感度,容易因多个单元频响的不一致性或者空间位置的分离性而引入较大的编码误差。In order to solve the defects of the 1-bit delta-sigma coding digital system, many scholars have turned to the research of digital systems based on multi-bit delta-sigma coding. Multi-bit delta-sigma modulation technology overcomes the above-mentioned shortcomings of 1-bit delta-sigma modulation, and it also has a fatal flaw itself - its modulation structure is between the frequency response of multiple speaker units (or voice coil units). The inconsistency and the degree of spatial position separation of a plurality of speaker units have high sensitivity, and it is easy to introduce a large coding error due to inconsistency of multiple unit frequency responses or separation of spatial positions.
为了克服多比特Δ-∑调制技术所具有的偏差敏感性缺陷,自1997年开始,日本法政大学的安田彰教授和Trigence Semiconductor的冈村淳一工程师一直合作研发基于多比特Δ-∑编码的数字化系统,他们提出了基于动态失配整形的系统偏差(频响和空间位置偏差)校正方法,并将系统所用的Δ-∑调制和动态失配技术合并称为“Dnote”技术;他们将“Dnote”技术的实现电路封装成IC芯片——“Dnote”芯片,利用“Dnote”样片制作了多款数字化扬声器系统样机——8元压电式线阵扬声器系统、7元压电式环形阵列系统和6音圈扬声器系统,并于2008年的数字音响视听会展出,这些系统无需功率放大器、LC滤波器,能够以1.5V的低电压驱动,并具有方向控制能力。In order to overcome the bias sensitivity defects of multi-bit delta-sigma modulation technology, since 1997, Professor Yasuda Akira of Japan’s Hosei University and Okamura’s engineer of Trigence Semiconductor have been working together to develop a digital system based on multi-bit delta-sigma coding. They proposed a system bias (frequency response and spatial position deviation) correction method based on dynamic mismatch shaping, and combined the Δ-∑ modulation and dynamic mismatch technology used in the system as “Dnote” technology; they will “Dnote” The technology implementation circuit is packaged into an IC chip, the "Dnote" chip, which uses the "Dnote" sample to create a variety of digital speaker system prototypes - 8-element piezoelectric linear array speaker system, 7-element piezoelectric ring array system and 6 The voice coil speaker system was exhibited at the 2008 Digital Audio Visual View. These systems do not require a power amplifier, LC filter, can be driven at a low voltage of 1.5V, and have directional control capabilities.
基于多比特Δ-∑调制的数字化系统所使用的动态失配整形器本质上是一个基于各种状态选择策略的多通道输出状态选择分配器。动态失配整形技术的核心思想是通过快速的平均选取使用每个通道,将系统因各通道偏差所引入的信号误差推向高频,从而提升可听声频带内的信噪比。常用的三种常见的动态失配整形策略为DWA(Data-Weighted Averaging)、VFMS(Vector-Feedback mismatch-shaping)和TSMS(Tree-Structure mismatch shaping),其中DWA选择策略的性能最差,其整形处理后的频谱在高频处仍会含有较明显的谐波成份,并且DWA只能实现一阶整形,TSMS和VFMS的整形效果要优于DWA的整形效果,并且TSMS和VFMS都可以实现二阶及二阶以上的整形,在同阶情况下VFMS的噪声抑制能力要优于TSMS。传统的动态失配整形器(专利CN101803401A、专利CN102684700A、专利CN102239706A、专利CN102647191A)都是针对二元状态编码所设计的,这些传统整形器仅能对包含“0”和“1”两种电平状态的二元编码信号进行整形处理,对包含“-1”、“0”、“1”三种电平状态的三态编码信号不能直接进行整形处理。与二态编码相比,三态编码的最大优点在于可以节省通道数量,降低资源占有量,进一步提高系统集成度。美国专利US2014169577中提出了一种三态驱动方法,但是该专利并没有阐述如何进行多通道的三态编码选取,因此无法避免多通道之间的偏差对系统信噪比劣化的影响。The dynamic mismatch shaper used in digital systems based on multi-bit delta-sigma modulation is essentially a multi-channel output state selection allocator based on various state selection strategies. The core idea of the dynamic mismatch shaping technique is to use a fast average to select each channel, and to push the signal error introduced by the system due to the deviation of each channel to the high frequency, thereby improving the signal to noise ratio in the audible sound frequency band. The three common dynamic mismatch shaping strategies are DWA (Data-Weighted Averaging), VFMS (Vector-Feedback mismatch-shaping), and TSMS (Tree-Structure mismatch shaping). Among them, the DWA selection strategy has the worst performance. The processed spectrum will still contain more obvious harmonic components at high frequencies, and DWA can only achieve first-order shaping. The shaping effect of TSMS and VFMS is better than that of DWA, and both TSMS and VFMS can achieve second-order. And the second-order or more shaping, the noise suppression capability of the VFMS is better than the TSMS in the same order. The traditional dynamic mismatch shaper (patent CN101803401A, patent CN102684700A, patent CN102239706A, patent CN102647191A) is designed for binary state coding. These traditional shapers can only contain two levels of "0" and "1". The binary coded signal of the state is subjected to shaping processing, and the three-state coded signal including the three level states of "-1", "0", and "1" cannot be directly shaped. Compared with the two-state coding, the biggest advantage of the three-state coding is that it can save the number of channels, reduce the amount of resources, and further improve the system integration. A three-state driving method is proposed in US Patent No. 2014169577, but the patent does not describe how to perform multi-channel three-state encoding selection, so that the influence of deviation between multiple channels on system signal-to-noise ratio degradation cannot be avoided.
传统的三态单元选择策略是将输入信号分为正数输入和非正数输入,然后对两种输入分别采用传统的基于二态单元的动态失配整形选择策略,此种策略可在继承原有设计的基础上做微小改动,结构简单,但是其整形后输出信号的信噪比较低,且随着频率变化而改变。这种传统 三态选择策略虽然降低硬件实现的资源占有量,但是同时也牺牲了输出信噪比性能。美国专利US20120057727提出了一种利用通道平均和时间平均的策略去选择三态单元,但是这种策略存在两个缺陷:(1)此方法只给出了在输入信号趋近于0情况下的选择策略,并没有给出其它输入条件下的选择策略;(2)时间平均策略方法会破坏原有信号,容易引入谐波失真。The traditional three-state unit selection strategy is to divide the input signal into positive input and non-positive input, and then use the traditional two-state unit-based dynamic mismatch shaping selection strategy for the two inputs. There are minor changes on the basis of the design, and the structure is simple, but the signal-to-noise of the output signal after shaping is relatively low, and changes with the frequency. This tradition Although the three-state selection strategy reduces the amount of resources realized by the hardware, it also sacrifices the output signal-to-noise ratio performance. U.S. Patent No. 20120057727 proposes a strategy for selecting a tristate unit using channel averaging and time averaging, but this strategy has two drawbacks: (1) This method only gives a choice when the input signal approaches zero. The strategy does not give a selection strategy under other input conditions; (2) The time averaging strategy method will destroy the original signal and easily introduce harmonic distortion.
针对三态选择策略所存在的缺陷性,并结合低功耗、数字化与集成化发展需求,需要寻找性能优异、实现简单的三态选择方法,以实现性能优异的通道偏差整形效果。Aiming at the defects of the three-state selection strategy and combining the requirements of low power consumption, digitization and integration development, it is necessary to find a three-state selection method with excellent performance and simple implementation to achieve excellent channel deviation shaping effect.
发明内容Summary of the invention
本发明的目的是克服现有数字扬声器系统中通道状态选择策略所存在的缺陷性,并结合低功耗、数字化与集成化发展需求,提出了一种基于三态编码的通道状态选取方法和装置。The object of the present invention is to overcome the defects of the channel state selection strategy in the existing digital speaker system, and combines the requirements of low power consumption, digitization and integration development, and proposes a channel state selection method and device based on three-state coding. .
为了达到上述目的,本发明采取的技术方案如下:In order to achieve the above object, the technical solution adopted by the present invention is as follows:
一种基于三态编码的通道状态选取方法,包括如下步骤:A channel state selection method based on three-state coding includes the following steps:
1)音源信号经调制处理后生成(2L+1)个电平级的量化信号x;1) The sound source signal is modulated to generate (2L+1) level-level quantized signals x;
2)量化信号x经映射变换后生成控制信号p、m和z;2) the quantized signal x is transformed by mapping to generate control signals p, m and z;
3)控制信号p、m、z和M通道反馈信号b经选择处理后生成M通道状态矢量信号y;3) control signal p, m, z and M channel feedback signal b is selected to generate an M channel state vector signal y;
4)状态矢量信号y经整形处理后生成M通道更新的反馈信号b;4) The state vector signal y is shaped to generate a feedback signal b for the M channel update;
5)状态矢量信号y经由三态编码的多声道功放放大后驱动扬声器阵列中的多个扬声器单元或多音圈扬声器中的多个音圈,由扬声器阵列或多音圈扬声器自动完成数模转换和低通滤波处理,从而将数字编码信号转换为模拟声场信号。5) The state vector signal y is amplified by a three-state encoded multi-channel power amplifier to drive a plurality of speaker units in the speaker array or a plurality of voice coils in the multi-voice speaker, and the digital pattern is automatically completed by the speaker array or the multi-voice speaker Conversion and low pass filtering to convert the digitally encoded signal into an analog sound field signal.
优选地,包括如下步骤:Preferably, the method comprises the following steps:
1)音源信号经调制处理后生成(2L+1)个电平级的量化信号x;1) The sound source signal is modulated to generate (2L+1) level-level quantized signals x;
2)量化信号x经映射变换后生成控制信号p、m和z;2) the quantized signal x is transformed by mapping to generate control signals p, m and z;
3)控制信号p、m、z和预设的M通道的反馈信号b经选择处理后生成M通道状态矢量信号y;其中,预设的M通道的反馈信号b可选为0;3) The control signal p, m, z and the preset M channel feedback signal b is selected to generate an M channel state vector signal y; wherein the preset M channel feedback signal b can be selected as 0;
4)状态矢量信号y经整形处理后生成更新的M通道的反馈信号b,控制信号p、m、z和更新后的M通道的反馈信号b经选择处理后生成更新后的M通道状态矢量信号y;4) The state vector signal y is shaped to generate an updated M channel feedback signal b, and the control signals p, m, z and the updated M channel feedback signal b are selected to generate an updated M channel state vector signal. y;
5)更新的状态矢量信号y经由三态编码的多声道功放放大后驱动扬声器阵列中的多个扬声器单元或多音圈扬声器中的多个音圈,由扬声器阵列或多音圈扬声器自动完成数模转换和低通滤波处理,将数字编码信号转换为模拟声场信号。5) The updated state vector signal y is amplified by a three-state encoded multi-channel power amplifier to drive a plurality of speaker units in the speaker array or a plurality of voice coils in the multi-voice speaker, and is automatically completed by a speaker array or a multi-voice speaker. Digital-to-analog conversion and low-pass filtering process convert the digitally encoded signal into an analog sound field signal.
其中,步骤4)循环多次,对M通道状态矢量信号y进行多次更新,直至M通道状态矢量信号y收敛。Wherein, step 4) is repeated a plurality of times, and the M channel state vector signal y is updated multiple times until the M channel state vector signal y converges.
在上述技术方案中,进一步地,步骤1)中所述(2L+1)个电平级的量化信号x,量化信号x 取值为[-L,L]区间范围内的任一整数,其中L为整数且L≥1。In the above technical solution, further, the (2L+1) level-level quantized signal x in the step 1), the quantized signal x Take any integer in the range [-L, L], where L is an integer and L ≥ 1.
在上述技术方案中,进一步地,步骤1)中所述调制处理的步骤如下:In the above technical solution, further, the steps of the modulation processing in step 1) are as follows:
a)将音源信号转化为采样率为fs、位宽为N的PCM编码信号;a) converting the source signal into a PCM coded signal having a sampling rate of f s and a bit width of N;
b)将采样率为fs、位宽为N的PCM编码信号通过升采样的插值低通滤波器处理,产生采样率为fo、位宽仍为N的过采样的PCM编码信号,其中fo=Osr×fs,Osr为过采样因子;b) processing the PCM coded signal with the sampling rate f s and the bit width N by the upsampled low-pass filter to generate an oversampled PCM coded signal with a sampling rate f o and a bit width of still N, where f o = O sr × f s , O sr is an oversampling factor;
c)将过采样的PCM编码信号,经多比特Δ-∑调制处理后生成采样率仍为fo、量化电平等级数为(2L+1)的PCM编码信号x,其中量化电平等级的数量满足条件:(2L+1)<2N。多比特Δ-∑调制处理是按照各种多比特∑-Δ调制器的设计方法——像高阶单级(Higher-Order Single-Stage)串行调制方法或者多级(Multi-Stage(Cascade、MASH))并行调制方法——进行调制器结构和参数设计,实现对插值滤波器输出的过采样信号进行噪声整形处理,将噪声能量推挤到可听频带之外的区域,保证了调制后信号在可听声频带内具有有足够高的信噪比。c) the oversampled PCM coded signal is processed by multi-bit Δ-∑ modulation to generate a PCM coded signal x with a sampling rate still f o and a quantization level level number (2L+1), wherein the quantization level level The quantity satisfies the condition: (2L+1)<2 N . The multi-bit delta-sigma modulation process is designed according to various multi-bit sigma-delta modulators - like the High-Order Single-Stage serial modulation method or multi-level (Multi-Stage (Cascade, MASH)) Parallel modulation method - the modulator structure and parameter design, the noise shaping process is performed on the oversampled signal outputted by the interpolation filter, and the noise energy is pushed to the area outside the audible band to ensure the modulated signal. There is a sufficiently high signal to noise ratio in the audible frequency band.
在上述技术方案中,进一步地,步骤2)中所述控制信号p、m和z满足条件:p+m+z=M,M≥L,其中p代表通道编码状态为“1”的通道数量,m代表通道编码状态为“-1”的通道数量,z代表通道编码状态为“0”的通道数量。In the above technical solution, further, the control signals p, m, and z in the step 2) satisfy the condition: p+m+z=M, M≥L, where p represents the number of channels whose channel coding state is “1” , m represents the number of channels whose channel coding state is "-1", and z represents the number of channels whose channel coding state is "0".
在上述技术方案中,进一步地,步骤2)中所述映射变换的处理如下:In the above technical solution, further, the processing of the mapping transformation in step 2) is as follows:
当量化信号x≥0时,控制信号p、m和z的取值如下:p=x+floor((M-x)/2),m=M-p-z,z=mod(M-x,2);当量化信号x<0时,控制信号p、m和z的取值如下:p=M-m-z,m=-x+floor((M+x)/2),z=mod(M+x,2)。其中mod(M-x,2)表示(M-x)除以2的余数,floor((M-x)/2)表示不大于(M-x)除以2的商的最大整数,mod(M+x,2)表示(M+x)除以2的余数,floor((M+x)/2):表示不大于(M+x)除以2的商的最大整数。When the quantized signal x ≥ 0, the values of the control signals p, m and z are as follows: p = x + floor ((Mx) / 2), m = Mpz, z = mod (Mx, 2); when the quantized signal x When <0, the values of the control signals p, m, and z are as follows: p=Mmz, m=-x+floor((M+x)/2), z=mod(M+x, 2). Where mod(Mx, 2) represents the remainder of (Mx) divided by 2, and floor((Mx)/2) represents the largest integer of the quotient not greater than (Mx) divided by 2, mod(M+x, 2) indicates ( M+x) divided by the remainder of 2, floor((M+x)/2): represents the largest integer of the quotient that is not greater than (M+x) divided by 2.
在上述技术方案中,进一步地,步骤3)中所述选择处理后生成M通道状态矢量信号y的表达式如下:In the above technical solution, further, the expression of the M channel state vector signal y after the selection process in the step 3) is as follows:
y=[y1,y2,…,yM],y=[y 1 ,y 2 ,...,y M ],
其中第i个通道的状态信号为yi,i∈{1,2,…,M},yi从“-1”、“0”、“1”三个状态值中选取且满足
Figure PCTCN2015098003-appb-000001
The state signal of the i-th channel is y i , i ∈ {1, 2, ..., M}, y i is selected from three state values of "-1", "0", "1" and satisfies
Figure PCTCN2015098003-appb-000001
在上述技术方案中,进一步地,所述选择处理的步骤如下:In the above technical solution, further, the steps of the selection process are as follows:
a)设定M通道的反馈信号矢量为b=[b1,b2,…,bM],其中bi代表第i个通道被选择的权重系数,对反馈信号矢量b按照从大到小的顺序进行排序,生成排序后的反馈信号矢量
Figure PCTCN2015098003-appb-000002
其中
Figure PCTCN2015098003-appb-000003
代表排序后的第i个通道被选择的权重系数;
a) Set the feedback signal vector of the M channel to b=[b 1 , b 2 ,..., b M ], where b i represents the weight coefficient selected for the i th channel, and the feedback signal vector b is from large to small. Sort the order, generate the sorted feedback signal vector
Figure PCTCN2015098003-appb-000002
among them
Figure PCTCN2015098003-appb-000003
a weight coefficient representative of the selected i-th channel;
b)根据排序后各通道权重系数
Figure PCTCN2015098003-appb-000004
所处的位次,将排序后的反馈信号矢量
Figure PCTCN2015098003-appb-000005
的前面p个较大值元素所对应通道的输出状态置为“1”,将后面m个较小值元素所对应通道的输出状态置为“-1”,将中间z个剩余元素所对应通道的输出状态置为“0”。
b) according to the weight coefficient of each channel after sorting
Figure PCTCN2015098003-appb-000004
The position of the feedback signal vector after sorting
Figure PCTCN2015098003-appb-000005
The output state of the channel corresponding to the first p larger value elements is set to "1", and the output state of the channel corresponding to the m smaller value elements is set to "-1", and the channel corresponding to the remaining z elements in the middle The output state is set to "0".
c)将经步骤b)选择处理后的上述所有元素按照从1到M的顺序排列生成M通道状态矢量信号y。c) The M channel state vector signal y is generated by arranging all the above elements after the step b) selection processing in the order from 1 to M.
在上述技术方案中,进一步地,步骤4)中所述整形处理包括多通道滤波处理,各通道所使用滤波器的传递函数均为
Figure PCTCN2015098003-appb-000006
其中H(z)是指阶数大于1的高通滤波器的传递函数。
In the above technical solution, further, the shaping processing in the step 4) includes multi-channel filtering processing, and the transfer function of the filter used in each channel is
Figure PCTCN2015098003-appb-000006
Where H(z) is the transfer function of the high-pass filter whose order is greater than one.
在上述技术方案中,进一步地,步骤2)所述映射变换、步骤3)所述选择处理和步骤4)所述整形处理,这三个步骤联合完成了基于三态编码的整形处理,通过对调制器模块的输出信号进行失配整形操作,降低了后级通道之间因频响偏差所引起的输出信噪比劣化效应。基于本发明所提出的通道状态选取方法,由通道偏差所引入的合成信号的非线性失真分量,得到了白化处理,将其特定频点处的谐频功率散布到整个频带内从而转化为噪声成分,消除了谐波分量引入的合成信号非线性失真。In the above technical solution, further, the step 2) the mapping transformation, the step 3) the selection processing, and the step 4) the shaping processing, the three steps jointly complete the shaping processing based on the three-state encoding, The output signal of the modulator module performs a mismatch shaping operation, which reduces the output signal-to-noise ratio degradation effect caused by the frequency response deviation between the subsequent channels. Based on the channel state selection method proposed by the present invention, the nonlinear distortion component of the synthesized signal introduced by the channel deviation is whitened, and the harmonic power at the specific frequency point is spread into the entire frequency band to be converted into a noise component. , eliminating the nonlinear distortion of the synthesized signal introduced by the harmonic component.
基于三态编码的整形处理是针对三电平状态编码信号所设计的,能够节约算法硬件资源,节省硬件电力消耗。三态编码的整形处理是根据以往记录的各通道参与工作的次数性能来裁定当前时刻应该选择哪些通道参与到声信号还原工作中。三态编码的整形处理能够对参与信号还原工作的通道进行优化组合,保证合成声信号的总谐波失真最小。三态编码的整形处理是按照合成声信号总谐波失真最小的准则对通道进行状态切换控制,保证各通道按照几率均等的原则参与合成声信号工作,每个通道都是在自身响应最佳的状态下参与合成声信号工作,从而保证了合成声信号的性能。基于三态编码的整形处理通过尽量平均使用每一个通道,相当于对合成声信号的总谐波成份进行白化处理,将这些谐波功率打散在整个声频带内,同时通过尽量快速使用每个单元,将白化后以噪声推向高频,提高了带内信噪比,提高了合成声信号性能。The tristate coding based shaping process is designed for the three-level state coded signal, which can save the algorithm hardware resources and save hardware power consumption. The shaping process of the three-state code is based on the performance of the number of times each channel has been recorded in the past, and determines which channels should be selected to participate in the sound signal restoration work at the current time. The shaping of the three-state code can optimize the combination of the channels participating in the signal restoration work to ensure that the total harmonic distortion of the synthesized acoustic signal is minimized. The shaping process of the three-state code is to control the state of the channel according to the criterion of the minimum harmonic distortion of the synthesized acoustic signal, and ensure that each channel participates in the synthesis of the acoustic signal according to the principle of equal probability. Each channel is optimal in its own response. Participate in the synthesis of acoustic signals in the state, thus ensuring the performance of the synthesized acoustic signals. Triangulation-based shaping is performed by averaging each channel as much as possible, equivalent to whitening the total harmonic components of the synthesized acoustic signal, dissipating these harmonic powers throughout the entire audio band, while using each unit as quickly as possible. After whitening, the noise is pushed to the high frequency, the in-band signal-to-noise ratio is improved, and the performance of the synthesized acoustic signal is improved.
在上述技术方案中,进一步地,步骤5)中所述三态编码,是指通道在任意时刻的输出状态仅在“1”、“0”、“-1”这三种状态之间进行切换。当通道输出状态为“1”时,扬声器负载端线上的输入电压为Vc,当通道输出状态为“-1”时,扬声器负载端线上的输入电压为-Vc,当通道输出状态为“0”时,扬声器负载端线上的输入电压为0,其中Vc是指功放的供电电源电压值。通过基于三态编码的多通道输出状态选取完成了对多通道扬声器负载的编码分配,实现了对扬声器阵列的各阵元或者多音圈扬声器的各音圈的数字化编码和数字化驱动。In the above technical solution, further, the three-state coding in step 5) means that the output state of the channel at any time is only switched between three states of “1”, “0”, “-1”. . When the channel output state is "1", the input voltage on the speaker load terminal line is V c . When the channel output state is "-1", the input voltage on the speaker load terminal line is -V c , when the channel output state is " When 0”, the input voltage on the speaker load terminal line is 0, where V c is the power supply voltage value of the power amplifier. The encoding and distribution of the multi-channel speaker load is completed by the multi-channel output state selection based on the three-state encoding, and the digital encoding and digitizing driving of each voice coil of the speaker array or the multi-voice speaker are realized.
本发明还提供一种基于三态编码的通道状态选取装置,其特征在于,包括:The present invention also provides a channel state selection device based on three-state coding, which is characterized in that it comprises:
一调制器模块,对音源信号进行调制编码,生成采样率为fo、量化电平级为2L+1的PCM 编码信号x;a modulator module modulating and encoding the sound source signal to generate a PCM coded signal x having a sampling rate f o and a quantization level of 2L+1;
一映射模块,与所述调制器模块的输出端相连接,生成控制信号p、m和z;a mapping module, connected to the output of the modulator module, generating control signals p, m and z;
一选择模块,与所述映射模块的输出端相连接,同时也与整形模块的输入端和输出端相连接,生成M通道状态矢量信号y;a selection module is connected to the output end of the mapping module, and is also connected to the input end and the output end of the shaping module to generate an M channel state vector signal y;
一整形模块,与所述选择模块的输入端和输出端相连接,生成M通道反馈信号b;An shaping module is connected to the input end and the output end of the selection module to generate an M channel feedback signal b;
一多通道数字功放和扬声器阵列或多音圈扬声器单元模块,与所述选择模块的输出端相连,通过多通道数字功放完成对选择模块所输出M通道状态矢量信号y的功率放大,用于驱动扬声器阵列中的多个扬声器单元或多音圈扬声器中的多个音圈,由扬声器阵列或多音圈扬声器自动完成数模转换和低通滤波处理,从而将数字编码信号转换为模拟声场信号。A multi-channel digital power amplifier and a speaker array or a multi-voice speaker unit module are connected to the output end of the selection module, and the power amplification of the M channel state vector signal y outputted by the selection module is completed by the multi-channel digital power amplifier for driving A plurality of voice coils in a speaker array or a plurality of voice coils in a multi-voice coil speaker are automatically digital-to-analog converted and low-pass filtered by a speaker array or a multi-voice speaker to convert the digitally encoded signal into an analog sound field signal.
优选地,包括:Preferably, comprising:
一调制器模块,对音源信号进行调制编码,生成采样率为fo、量化电平级为2L+1的PCM编码信号x;a modulator module for modulating and encoding the sound source signal to generate a PCM coded signal x having a sampling rate f o and a quantization level of 2L+1;
一映射模块,所述映射模块的输入端与所述调制器模块的输出端相连接,生成控制信号p、m和z;a mapping module, the input end of the mapping module is connected to the output end of the modulator module to generate control signals p, m and z;
一选择模块,所述选择模块的输入端与所述映射模块的输出端相连接,根据控制信号p、m和z和预设的M通道反馈信号b生成M通道状态矢量信号y;a selection module, the input end of the selection module is connected to the output end of the mapping module, and generates an M channel state vector signal y according to the control signals p, m and z and the preset M channel feedback signal b;
一整形模块,所述整形模块的输入端与所述选择模块的输出端相连接,所述整形模块的输出端与所述连接模块的输入端连接,根据M通道状态矢量信号y生成更新后的M通道反馈信号b,所述选择模块根据控制信号p、m和z和更新后的M通道反馈信号b生成更新后的M通道状态矢量信号y;An shaping module, an input end of the shaping module is connected to an output end of the selection module, an output end of the shaping module is connected to an input end of the connection module, and an updated version is generated according to the M channel state vector signal y M channel feedback signal b, the selection module generates an updated M channel state vector signal y according to the control signals p, m and z and the updated M channel feedback signal b;
一多通道数字功放和扬声器阵列或多音圈扬声器单元模块,与所述选择模块的输出端相连,通过多通道数字功放完成对选择模块所输出更新后的M通道状态矢量信号y的功率放大,用于驱动扬声器阵列中的多个扬声器单元或多音圈扬声器中的多个音圈,由扬声器阵列或多音圈扬声器自动完成数模转换和低通滤波处理,将数字编码信号转换为模拟声场信号。a multi-channel digital power amplifier and a speaker array or a multi-speaker speaker unit module are connected to the output end of the selection module, and the power amplification of the updated M-channel state vector signal y outputted by the selection module is completed by the multi-channel digital power amplifier. Used to drive multiple speaker units in a speaker array or multiple voice coils in a multi-voice speaker, and automatically perform digital-to-analog conversion and low-pass filtering processing by a speaker array or a multi-voice speaker to convert digitally encoded signals into analog sound fields. signal.
在上述技术方案中,所述调制器模块,是由格式转化器模块、插值滤波器模块和多比特Δ-∑调制器模块这三个模块组成。格式转化器模块对音源信号进行编码格式转换,将音源信号转换为采样率为fs、位宽为N的PCM编码信号。插值滤波器模块对格式转化器模块的输出信号进行升采样插值低通滤波处理,生成采样率为fo、位宽仍为N的过采样的PCM编码信号,其中fo=Osr×fs,Osr为过采样因子。多比特Δ-∑调制器模块对插值滤波器模块的输出信号进行多比特Δ-∑调制处理生成采样率仍为fo、量化电平级为(2L+1)的PCM编码信号x。In the above technical solution, the modulator module is composed of three modules: a format converter module, an interpolation filter module, and a multi-bit delta-sigma modulator module. The format converter module performs encoding format conversion on the sound source signal, and converts the sound source signal into a PCM encoded signal with a sampling rate of f s and a bit width of N. The interpolation filter module performs up-sampling interpolation low-pass filtering on the output signal of the format converter module to generate an oversampled PCM coded signal with a sampling rate f o and a bit width of N, where f o =O sr ×f s , O sr is an oversampling factor. The multi-bit delta-sigma modulator module performs multi-bit delta-sigma modulation on the output signal of the interpolation filter module to generate a PCM encoded signal x having a sampling rate of f o and a quantization level of (2L+1).
插值滤波器模块,包含至少1级以上FIR过采样插值滤波器和1级CIC过采样插值滤波器,FIR过采样插值滤波器用于较小过采样率的插值处理,CIC过采样插值滤波器用于大过采样率 的插值处理。第一级采用FIR过采样插值滤波器,最后一级采用CIC过采样插值滤波器。Interpolation filter module, including at least 1 level FIR oversampling interpolation filter and 1 level CIC oversampling interpolation filter, FIR oversampling interpolation filter for smaller oversampling rate interpolation processing, CIC oversampling interpolation filter for large Oversampling rate Interpolation processing. The first stage uses the FIR oversampling interpolation filter, and the last stage uses the CIC oversampling interpolation filter.
在上述技术方案中,所述映射模块按照离线计算控制信号和在线计算控制信号可以划分为离线和在线两种实现方式。离线实现方式的处理速度快,但是需要占用ROM资源;在线实现方式占用的硬件资源少,但是处理速度比离线方式稍慢。In the above technical solution, the mapping module can be divided into offline and online implementations according to the offline calculation control signal and the online calculation control signal. The offline implementation has a fast processing speed but needs to occupy ROM resources. The online implementation consumes less hardware resources, but the processing speed is slightly slower than the offline mode.
所述映射模块2的一种优选的实现方式——离线实现方式的具体流程如下:A preferred implementation of the mapping module 2 - the specific process of the offline implementation is as follows:
在离线实现方式下,所述映射模块包括由只读储存器ROM1模块、只读储存器ROM2模块和只读储存器ROM3模块组成,控制信号p、m和z的数值可以通过离线程序预先计算并预先填写到只读储存器ROM1模块、只读储存器ROM2模块和只读储存器ROM3模块中。储存器ROM1模块存储控制信号p,地址索引为映射模块的输入信号x;储存器ROM2模块存储控制信号m,地址索引为映射模块的输入信号x;储存器ROM3模块存储控制信号z,地址索引为映射模块的输入信号x。In the offline implementation mode, the mapping module comprises a read only memory ROM1 module, a read only memory ROM2 module and a read only memory ROM3 module, and the values of the control signals p, m and z can be pre-calculated by an offline program and Pre-filled into the read-only memory ROM1 module, the read-only memory ROM2 module, and the read-only memory ROM3 module. The memory ROM1 module stores a control signal p, the address index is an input signal x of the mapping module; the memory ROM2 module stores a control signal m, the address index is an input signal x of the mapping module; the memory ROM3 module stores a control signal z, and the address index is The input signal x of the mapping module.
只读储存器ROM1模块、只读储存器ROM2模块和只读储存器ROM3模块中的存储内容由下列公式计算获得:The contents of the read-only memory ROM1 module, the read-only memory ROM2 module, and the read-only memory ROM3 module are calculated by the following formula:
当x≥0时,p=x+floor((M-x)/2),m=M-p-z,z=mod(M-x,2);When x≥0, p=x+floor((M-x)/2), m=M-p-z, z=mod(M-x, 2);
当x<0时,p=M-m-z,m=-x+floor((M+x)/2),z=mod(M+x,2);When x<0, p=M-m-z, m=-x+floor((M+x)/2), z=mod(M+x, 2);
其中,floor代表取最接近的最小整数,mod代表取余数。Among them, floor represents the smallest integer that is closest, and mod represents the remainder.
所述映射模块的一种优选的实现方式——在线实现方式的具体流程如下:A preferred implementation of the mapping module - the specific process of the online implementation is as follows:
在在线实现方式下,所述映射模块由取符号模块、取绝对值模块、减法A1模块、取末位模块、移位模块、加法模块、减法A2模块、选择器C1模块和选择器C2模块组成。In the online implementation mode, the mapping module is composed of a symbol taking module, an absolute value module, a subtraction A1 module, a last bit module, a shift module, an addition module, a subtraction A2 module, a selector C1 module, and a selector C2 module. .
取符号模块输出映射模块输入信号x的符号位;Taking the symbol bit of the input signal x of the symbol module output mapping module;
取绝对值模块输出映射模块输入信号x的幅值;Taking the absolute value module output mapping module input signal x amplitude;
减法A1模块将通道常数M减去取绝对值模块的输出,将差值输出;The subtraction A1 module subtracts the channel constant M from the output of the absolute value module, and outputs the difference;
取末位模块获取减法A1模块输出二进制编码信号的末位码,作为输出控制信号z;Taking the last bit module to obtain the last bit code of the binary coded signal output by the subtraction A1 module as the output control signal z;
移位模块对减法A1模块的输出进行右移一位,并输出移位后信号;The shifting module shifts the output of the subtraction A1 module to the right by one bit, and outputs the shifted signal;
加法模块对取绝对值模块的输出和移位模块的输出相加,并输出相加信号;The adding module adds the output of the absolute value module and the output of the shifting module, and outputs an added signal;
减法A2模块将通道常数M减去取末位模块的输出,再减去加法模块的输出;The subtraction A2 module subtracts the channel constant M from the output of the last bit module, and subtracts the output of the addition module;
选择器C1模块的第一路输入信号为加法模块的输出,第二路输入信号为减法A2模块的输出,第三路输入信号为取符号模块的输出,选择器C1模块的输出为控制信号p;The first input signal of the selector C1 module is the output of the addition module, the second input signal is the output of the subtraction A2 module, the third input signal is the output of the symbolic module, and the output of the selector C1 module is the control signal p ;
选择器C2模块的第一路输入信号为减法A2模块的输出,第二路输入信号为加法模块的输出,第三路输入信号为取符号模块的输出,选择器C2模块的输出为控制信号m。The first input signal of the selector C2 module is the output of the subtraction A2 module, the second input signal is the output of the addition module, the third input signal is the output of the symbolic module, and the output of the selector C2 module is the control signal m. .
在上述技术方案中,所述选择模块由排序模块、正选择模块、负选择模块、加法模块组成。其中: In the above technical solution, the selection module is composed of a sorting module, a positive selection module, a negative selection module, and an addition module. among them:
排序模块是对选择模块的输入反馈信号b按照从大到小的顺序进行排序并输出。The sorting module sorts and outputs the input feedback signals b of the selection module in descending order.
正选择模块将排序模块输出矢量的前面p个较大值元素所对应通道的输出状态置为“1”,将输出矢量剩余元素所对应通道的输出状态置为“0”,将所有通道所设置的输出状态按照从1到M的顺序排列生成M通道状态矢量信号并输出。The positive selection module sets the output state of the channel corresponding to the first p larger value elements of the sorting module output vector to "1", sets the output state of the channel corresponding to the remaining elements of the output vector to "0", and sets all channels. The output states are arranged in the order from 1 to M to generate an M channel state vector signal and output.
负选择模块将排序模块输出矢量的后面m个较小值元素所对应通道的输出状态置为“-1”,将输出矢量剩余元素所对应通道的输出状态置为“0”,将所有通道所设置的输出状态按照从1到M的顺序排列生成M通道状态矢量信号并输出;The negative selection module sets the output state of the channel corresponding to the m smaller value elements of the sorting module output vector to "-1", and sets the output state of the channel corresponding to the remaining elements of the output vector to "0", and all channels are The set output states are arranged in the order from 1 to M to generate an M channel state vector signal and output;
加法模块将正选择模块和负选择模块的通道状态矢量信号相加并输出y。The addition module adds the channel state vector signals of the positive selection module and the negative selection module and outputs y.
在上述技术方案中,所述整形模块由减法模块、滤波处理模块、最小值搜索模块、加法模块组成。In the above technical solution, the shaping module is composed of a subtraction module, a filter processing module, a minimum value search module, and an addition module.
减法模块将输入整形模块的多通道状态信号矢量y减去整形模块的多通道输出反馈信号矢量b,并将减法处理所得的多通道信号矢量输出;The subtraction module subtracts the multi-channel state signal vector y of the shaping module from the multi-channel output feedback signal vector b of the shaping module, and outputs the multi-channel signal vector obtained by the subtraction process;
滤波处理模块将减法模块的输出信号矢量进行多通道滤波处理后输出,各通道所使用滤波器的传递函数均为H(z)-1,其中H(z)为阶数大于1的高通滤波器的传递函数。The filter processing module performs multi-channel filtering processing on the output signal vector of the subtraction module, and the transfer function of the filter used in each channel is H(z)-1, wherein H(z) is a high-pass filter with an order greater than one. Transfer function.
最小值搜索模块接收滤波处理模块的输出,并通过多次比较处理搜索出多通道上所传送数据的最小值,并将最小值的相反数输出;The minimum value search module receives the output of the filter processing module, and searches for the minimum value of the data transmitted on the multi-channel through multiple comparison processes, and outputs the opposite of the minimum value;
加法模块将最小值搜索模块的输出与滤波处理模块的输出进行相加并输出,加法模块的输出为更新的反馈控制信号b。The adding module adds and outputs the output of the minimum value search module and the output of the filter processing module, and the output of the adding module is an updated feedback control signal b.
在上述技术方案中,所述多通道数字功放和扬声器阵列或多音圈扬声器单元模块,由具有三态驱动能力的多通道数字功放和换能器单元模块组成。In the above technical solution, the multi-channel digital power amplifier and the speaker array or the multi-voice coil speaker unit module are composed of a multi-channel digital power amplifier and a transducer unit module having three-state driving capability.
具有三态驱动能力的多通道数字功放接收选择模块输出的M通道状态矢量信号y并进行多通道功率放大处理,将各通道所送出的状态信号“-1”、“0”和“1”放大形成带有驱动能力的功率信号-Vc、0和VcThe multi-channel digital power amplifier with three-state driving capability receives the M channel state vector signal y outputted by the selection module and performs multi-channel power amplification processing, and amplifies the status signals "-1", "0", and "1" sent by each channel. A power signal -V c , 0 and V c with drive capability is formed.
换能器单元模块接收具有三态驱动能力的多通道数字功放的输出信号并驱动扬声器阵列中的多个扬声器单元或多音圈扬声器中的多个音圈,由扬声器阵列或多音圈扬声器自动完成数模转换和低通滤波处理,从而将数字编码信号转换为模拟声场信号。The transducer unit module receives an output signal of a multi-channel digital power amplifier having three-state driving capability and drives a plurality of voice coils in a speaker array or a plurality of voice coils in a multi-voice speaker, which is automatically replaced by a speaker array or a multi-voice speaker Digital-to-analog conversion and low-pass filtering are performed to convert the digitally encoded signal into an analog sound field signal.
与现有技术相比,本发明的优点在于:The advantages of the present invention over the prior art are:
A.本发明所采用的是三态编码,包含“-1”、“0”和“1”三种电平格式,在同等输入条件下,与仅包含“0”和“1”两种电平状态的传统二态编码相比,三态编码方式可以减少一半的通道数量,从而有效节约算法占用的硬件资源,降低硬件资源开销,节省硬件电力消耗,具有很好的节约电能特点,特别适合便携式消费类电子产品,能够明显提高锂电池供电产品的电池续航能力。 A. The invention adopts three-state coding, including three level formats of "-1", "0" and "1", under the same input condition, and only contains two kinds of electric energy such as "0" and "1" Compared with the traditional two-state coding in the flat state, the three-state coding method can reduce the number of channels by half, thereby effectively saving hardware resources occupied by the algorithm, reducing hardware resource overhead, saving hardware power consumption, and having good energy-saving characteristics, and is particularly suitable. Portable consumer electronics products can significantly improve the battery life of lithium battery powered products.
B.本发明所采用的基于三态编码的通道状态选取策略,在同等通道数的条件下,相比于传统的基于二态编码的通道状态选取策略,本发明所提出方法能够有效提高前端输入信号的调制深度,增强系统的稳定性,进一步提高输出信号幅度,提升转换效率。B. The channel state selection strategy based on three-state coding adopted by the invention, the method proposed by the invention can effectively improve the front-end input under the condition of the same number of channels, compared with the traditional channel state selection strategy based on two-state coding. The modulation depth of the signal enhances the stability of the system, further increases the amplitude of the output signal and improves the conversion efficiency.
C.本发明所采用的基于三态编码的通道状态选取策略,对合成信号的总谐波成份进行了白化处理,将这些谐波功率打散在整个声频带内,并通过整形手段将噪声推向高频,提高带内信噪比,同时也减少了单元分配器装置的谐波干扰水平,降低了系统的电磁辐射水平,减少了电磁辐射所带来的对其他周围电子产品的干扰性。相比于传统的基于三态编码的通道状态选取策略,本发明所提出方法能够对多通道的三态编码进行有效的优化组合,保证合成信号的总谐波失真最小,同时能够明显提高系统的谐波和噪声衰减抑制能力,提升系统信噪比水平。C. The channel state selection strategy based on the three-state coding adopted by the invention white-processes the total harmonic components of the synthesized signal, disperses the harmonic power in the entire sound frequency band, and pushes the noise through the shaping means High frequency, improve the in-band signal-to-noise ratio, and also reduce the harmonic interference level of the unit splitter device, reduce the electromagnetic radiation level of the system, and reduce the interference of electromagnetic radiation to other surrounding electronic products. Compared with the traditional channel state selection strategy based on three-state coding, the proposed method can effectively optimize the multi-channel tri-state coding to ensure the total harmonic distortion of the synthesized signal is minimized, and the system can be significantly improved. Harmonic and noise attenuation suppression, improve system signal-to-noise ratio.
附图说明DRAWINGS
图1表示本发明提出的基于三态编码的通道状态选取方法的信号流程图;1 is a signal flow diagram of a channel state selection method based on three-state coding proposed by the present invention;
图2表示本发明所提出方法中针对排序后的反馈信号矢量
Figure PCTCN2015098003-appb-000007
的通道状态选取示意图;
Figure 2 shows the feedback signal vector for sorting in the proposed method of the present invention
Figure PCTCN2015098003-appb-000007
Schematic diagram of channel state selection;
图3表示本发明提出的基于三态编码的通道状态选取装置的实现框图;其中选择模块和整形模块构成一个循环,对上一次循环的输出进行更新,可循环多次直至选择模块输出的M通道状态矢量信号y收敛;3 is a block diagram showing an implementation of a channel state selection device based on three-state coding according to the present invention; wherein the selection module and the shaping module form a loop, and the output of the previous loop is updated, and can be looped multiple times until the M channel of the module output is selected. State vector signal y converges;
图4表示本发明提出的基于三态编码的通道状态选取方法中调制器模块的信号处理流程图;4 is a flow chart showing signal processing of a modulator module in a channel state selection method based on three-state coding proposed by the present invention;
图5表示本发明提出的基于三态编码的通道状态选取方法中插值滤波器的信号处理流程图;FIG. 5 is a flowchart showing signal processing of an interpolation filter in a channel state selection method based on three-state coding according to the present invention; FIG.
图6表示本发明提出的基于三态编码的通道状态选取方法中映射模块的离线实现方式结构示意图;6 is a schematic structural diagram of an offline implementation manner of a mapping module in a channel state selection method based on three-state coding according to the present invention;
图7表示本发明提出的基于三态编码的通道状态选取方法中映射模块的在线实现方式结构示意图;7 is a schematic structural diagram of an online implementation manner of a mapping module in a method for selecting a channel state based on a three-state encoding according to the present invention;
图8表示本发明提出的基于三态编码的通道状态选取方法中选择模块的结构图;8 is a structural diagram of a selection module in a channel state selection method based on three-state coding proposed by the present invention;
图9表示本发明提出的基于三态编码的通道状态选取方法中整形模块的结构图;FIG. 9 is a structural diagram of a shaping module in a method for selecting a channel state based on a three-state encoding according to the present invention; FIG.
图10给出了本发明提出的基于三态编码的通道状态选取方法中调制器模块所使用多比特Δ-∑调制器的结构图;10 is a structural diagram of a multi-bit delta-sigma modulator used by a modulator module in a channel state selection method based on a three-state encoding according to the present invention;
图11给出了本发明提出的基于三态编码的通道状态选取方法中具有三态驱动能力的多通道数字功放的驱动示意图;FIG. 11 is a schematic diagram showing driving of a multi-channel digital power amplifier having three-state driving capability in a channel state selection method based on three-state encoding according to the present invention; FIG.
图12给出了本发明所提出的基于三态编码的通道状态选取方法与传统的基于VFMS改进算法的通道状态选取方法的单通道输出信噪比随输入信号频率和幅度变化的对应关系曲线,(a)输出信噪比随输入信号频率变化的曲线图,(b)输出信噪比随归一化的输入信号幅度变化的曲 线图,其中输入信号频率为5KHz;FIG. 12 is a graph showing the corresponding relationship between the single-channel output signal-to-noise ratio and the change of the input signal frequency and amplitude according to the channel state selection method based on the three-state coding proposed by the present invention and the channel state selection method based on the conventional VFMS improved algorithm. (a) a plot of the output signal-to-noise ratio as a function of the input signal frequency, and (b) a curve of the output signal-to-noise ratio as a function of the normalized input signal amplitude Line graph, wherein the input signal frequency is 5KHz;
图13给出了所提出的基于三态编码的通道状态选取方法与传统的基于VFMS改进算法的通道状态选取方法的单通道输出信号频谱图,其中输入频率为1KHz;Figure 13 shows the proposed single-channel output signal spectrum of the channel state selection method based on the three-state encoding and the traditional channel state selection method based on the improved VFMS algorithm, wherein the input frequency is 1 kHz;
具体实施方式detailed description
下面结合附图和具体实施方式对本发明作进一步详细描述:The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
本发明所提出的一种基于三态编码的通道状态选取方法和装置,通过使用本发明提出的通道状态选取方法,有效降低了算法硬件资源占有量,增强了系统稳定性,提高了谐波和噪声抑制能力,同时也提高了输出信号最大幅度和转化效率。The method and device for selecting channel state based on three-state coding proposed by the invention effectively reduces the hardware resource occupation of the algorithm, improves the stability of the system, and improves the harmonics by using the channel state selection method proposed by the invention. Noise suppression, while also increasing the maximum amplitude and conversion efficiency of the output signal.
制作一个依据本发明的一种基于三态编码的通道状态选取装置,其主体由调制器模块、映射模块、选择模块、整形模块和多通道数字功放和扬声器阵列或多音圈扬声器单元模块组成。A channel state selection device based on three-state coding according to the present invention is constructed, and the main body thereof is composed of a modulator module, a mapping module, a selection module, a shaping module, a multi-channel digital power amplifier and a speaker array or a multi-voice speaker unit module.
1)调制器模块包含格式转化器模块、插值滤波器模块和多比特Δ-∑调制器模块,其中格式转化器模块将音源信号转换为16比特、48KHz的PCM编码信号输出;插值滤波器模块按2级FIR插值滤波器和1级CIC插值滤波器共3级滤波将格式转化器输出的16比特、48KHz的PCM编码信号转变为16比特、3.072MHz(48KHz x 64)的PCM编码信号输出,第一级采用128阶FIR插值滤波器,过采样插值因子为2,第二级采用32阶FIR插值滤波器,过采样插值因子为2,第三级采用CIC插值滤波器,过采样因子为16;多比特Δ-∑调制器模块将插值滤波器输出的16比特、3.072MHz的PCM编码信号转化为17等级、3.072MHz的PCM编码信号x输出,如图10所示,Δ-∑调制器采用的是7阶CIFB(Cascaded Integrators with Distributed Feedback)的拓扑结构,其系数如表1所示。表1表示本发明提出的基于三态编码的通道状态选取方法中调制器模块所使用的多比特Δ-∑调制器的参数名与相应参数值。1) The modulator module comprises a format converter module, an interpolation filter module and a multi-bit delta-sigma modulator module, wherein the format converter module converts the sound source signal into a 16-bit, 48 KHz PCM coded signal output; the interpolation filter module presses The 2-level FIR interpolation filter and the 1-stage CIC interpolation filter have a total of 3 stages of filtering. The 16-bit, 48-KHz PCM coded signal output from the format converter is converted into a 16-bit, 3.072 MHz (48KHz x 64) PCM coded signal output. The first stage uses a 128-order FIR interpolation filter, the oversampling interpolation factor is 2, the second stage uses a 32-order FIR interpolation filter, the oversampling interpolation factor is 2, the third stage uses a CIC interpolation filter, and the oversampling factor is 16. The multi-bit delta-sigma modulator module converts the 16-bit, 3.072 MHz PCM encoded signal output by the interpolation filter into a 17-level, 3.072 MHz PCM encoded signal x output, as shown in Figure 10, using a delta-sigma modulator. It is a topology of 7th-order CIFB (Cascaded Integrators with Distributed Feedback), and its coefficients are shown in Table 1. Table 1 shows the parameter names and corresponding parameter values of the multi-bit delta-sigma modulator used by the modulator module in the channel state selection method based on the three-state coding proposed by the present invention.
表1Table 1
参数名parameter name a1A1 a2A2 a3A3 a4A4 a5A5 a6A6 a7A7  
数值Numerical value 0.19550.1955 0.19700.1970 0.20320.2032 0.21710.2171 0.24290.2429 0.29090.2909 0.42040.4204  
参数parameter b1B1 b2B2 b3B3 b4B4 b5B5 b6B6 b7B7 b8B8
数值Numerical value 0.19550.1955 0.19700.1970 0.20320.2032 0.21710.2171 0.24290.2429 0.29090.2909 0.42040.4204 11
参数parameter c1C1 c2C2 c3C3 c4C4 c5C5 c6C6 c7C7  
数值Numerical value 0.05190.0519 0.11210.1121 0.18810.1881 0.29450.2945 0.46890.4689 0.90210.9021 3.03903.0390  
2)映射模块将调制器模块输出的信号x转化成为控制信号z、p和m输出。x与z、p、m之间的关系如下,其中通道数M为8:2) The mapping module converts the signal x output by the modulator module into control signals z, p and m outputs. The relationship between x and z, p, m is as follows, where the number of channels M is 8:
当x≥0时,z=mod(M-x,2),p=x+floor((M-x)/2).,m=M-p-z;When x≥0, z=mod(M-x,2), p=x+floor((M-x)/2).,m=M-p-z;
当x<0时,z=mod(M+x,2),m=-x+floor((M+x)/2),p=M-m-z;When x<0, z=mod(M+x, 2), m=-x+floor((M+x)/2), p=M-m-z;
映射模块实现方式主要有两种,当速度为首要考虑因素时,其实现结构如图6所示,只读储存器ROM1、ROM2和ROM3中的存储内容与输入信号x之间关系如表2所示。当资源占有率 为首要考虑因素时,其实现结构如图7所示。There are two main implementations of the mapping module. When the speed is the primary consideration, the implementation structure is shown in Figure 6. The relationship between the storage contents of the read-only memory ROM1, ROM2, and ROM3 and the input signal x is as shown in Table 2. Show. Resource occupancy When it is the primary consideration, its implementation structure is shown in Figure 7.
表2表示当通道数为8时,只读储存器ROM1模块、只读储存器ROM2模块和只读储存器ROM3模块中的存储内容。Table 2 shows the contents of the read-only memory ROM1 module, the read-only memory ROM2 module, and the read-only memory ROM3 module when the number of channels is 8.
表2Table 2
xx z z pp mm
88 00 88 00
77 11 77 00
66 00 77 11
55 11 66 11
44 00 66 22
33 11 55 22
22 00 55 33
11 11 44 33
00 00 44 44
-1-1 11 33 44
-2-2 00 33 55
-3-3 11 22 55
-4-4 00 22 66
-5-5 11 11 66
-6-6 00 11 77
-7-7 11 00 77
-8-8 00 00 88
3)选择模块结构如图8所示,主要包括:排序模块、正选择模块、负选择模块和加法模块。假设信号x为5,则z、p和m分别为1、6、1,同时假设b值为[10,6,7,5,4,8,9,2],则经过排序模块,其按从小到大的顺序下标为[8,4,5,3,2,6,7,1],正选择模块根据从小到大的顺序下标和控制信号p,对b中前p个最大的数对应的通道置1,其它通道置0,则输出为[1,1,1,1,0,1,1,0],负选择模块根据从小到大的顺序下标和控制信号m,对b中后m个最小的数对应的通道置-1,其它通道置0,则输出为[0,0,0,0,0,0,0,-1],加法模块对正选择模块和负选择模块输出相加,其输出信号y为[1,1,1,1,0,1,1,-1]。3) The selection module structure is shown in Figure 8, which mainly includes: a sorting module, a positive selection module, a negative selection module, and an addition module. Assuming that the signal x is 5, then z, p, and m are 1, 6, and 1, respectively, and assuming b is [10, 6, 7, 5, 4, 8, 9, 2], then the sorting module is pressed. The order from small to large is subscripted as [8,4,5,3,2,6,7,1], and the positive selection module subscripts and control signals p from small to large, the largest p in the first p of b The number corresponding channel is set to 1, the other channel is set to 0, the output is [1,1,1,1,0,1,1,0], and the negative selection module subscripts and control signal m according to the order from small to large, The channel corresponding to the m smallest number in b is set to -1, and the other channels are set to 0, the output is [0,0,0,0,0,0,0,-1], and the addition module is positively selecting the module and negative. Select module output addition, and its output signal y is [1,1,1,1,0,1,1,-1].
4)整形模块结构如图9所示,主要包括:减法模块、滤波处理模块、最小值搜索模块、加法模块。滤波器的传递函数为H(z)-1,其中H(z)采用二阶滤波器结构,其表达式为(1-z-1)24) The shaping module structure is shown in Figure 9, which mainly includes: a subtraction module, a filter processing module, a minimum value search module, and an addition module. The transfer function of the filter is H(z)-1, where H(z) adopts a second-order filter structure with the expression (1-z -1 ) 2 .
5)多通道数字功放和扬声器阵列或多音圈扬声器单元模块主要包括具有三态驱动能力的多通道数字功放和换能器单元模块组成,其具有三态驱动能力的多通道数字功放如图11所示。5) Multi-channel digital power amplifier and speaker array or multi-voice speaker unit module mainly consists of multi-channel digital power amplifier and transducer unit module with three-state driving capability, and multi-channel digital power amplifier with three-state driving capability is shown in Figure 11. Shown.
实施例1:Example 1:
在本实施例中,表3(a)给出了本发明所提出基于三态编码的通道状态选取方法在8通道时输出与输入的关系,同时表3(b)也给出了传统的基于VFMS改进算法的通道状态选取方法的输 出与输入的关系。传统的基于VFMS改进算法的通道状态选取方法的通道选择策略为:(1)对M通道反馈信号b=[b1,b2,…,bM]进行推序;(2)当x≥0时,将反馈信号b最大的前x个元素对应的通道置“1”,其它剩余元素所对应通道置“0”;(3)当x<0时,将反馈信号b最小的后-x个元素对应的通道置“-1”,其它剩余元素所对应通道置“0”;(4)将所有通道的输出信号按照从1到M的顺序排列组成M通道输出信号y。假设反馈信号b的取值为[10,6,7,5,4,8,9,2],从表3中可以看出相比于传统的基于VFMS改进算法的通道状态选取方法,本发明所提出的基于三态编码的通道状态选取方法在相同的时间内会使用更多的通道,“0”编码状态出现的次数大大减少,同时在同一时间内可以同时出现“-1”或“1”两种编码状态,因此可以更加快速平均的使用每一个输出通道,从而将噪声推向高频,提高带内信噪比。In the present embodiment, Table 3(a) shows the relationship between the output and the input of the channel state selection method based on the three-state coding proposed by the present invention in the 8-channel, and Table 3(b) also gives the traditional basis. The relationship between the output and the input of the channel state selection method of the improved algorithm of VFMS. The channel selection strategy of the traditional channel state selection method based on the improved VFMS algorithm is: (1) pre-order the M channel feedback signal b=[b 1 , b 2 ,..., b M ]; (2) when x≥0 When the signal corresponding to the first x elements of the feedback signal b is set to "1", the channel corresponding to the other remaining elements is set to "0"; (3) when x < 0, the back -x of the feedback signal b is minimized. The channel corresponding to the element is set to "-1", and the channel corresponding to the other remaining elements is set to "0"; (4) The output signals of all channels are arranged in order from 1 to M to form the M channel output signal y. Assuming that the value of the feedback signal b is [10, 6, 7, 5, 4, 8, 9, 2], it can be seen from Table 3 that the present invention is compared to the conventional channel state selection method based on the improved VFMS algorithm. The proposed channel state selection method based on three-state coding uses more channels in the same time, the number of occurrences of the "0" coding state is greatly reduced, and "-1" or "1" can occur simultaneously in the same time. "Two encoding states, so you can use each output channel more quickly and evenly, pushing the noise to high frequencies and improving the in-band signal-to-noise ratio.
表3表示本发明实施例1中,当通道数为8,反馈信号b值为[10,6,7,5,4,8,9,2]时,本发明提出的基于三态编码的通道状态选取方法和传统的基于VFMS改进算法的通道状态选取方法的输出状态矢量y与输入信号x之间的关系。Table 3 shows a three-state code-based channel proposed by the present invention when the number of channels is 8, and the value of the feedback signal b is [10, 6, 7, 5, 4, 8, 9, 2] in the first embodiment of the present invention. The state selection method and the relationship between the output state vector y of the channel state selection method based on the VFMS improved algorithm and the input signal x.
表3table 3
(a)(a)
Figure PCTCN2015098003-appb-000008
Figure PCTCN2015098003-appb-000008
(b)(b)
Figure PCTCN2015098003-appb-000009
Figure PCTCN2015098003-appb-000009
Figure PCTCN2015098003-appb-000010
Figure PCTCN2015098003-appb-000010
实施例2:Example 2:
在本实施例中,给出了本发明所提出的基于三态编码的通道状态选取方法与传统的基于VFMS改进算法的通道状态选取方法的单通道信噪比随输入信号频率和幅度变化的对应关系,如图12所示,同时也给出了输入信号为1KHz时,输入信号幅度为归一化幅度-6dB时两种方法所产生的单通道信号整形后的频谱图,如图13所示。从图12(a)中可以看出,传统的基于VFMS改进算法的通道状态选取方法的单通道信噪比随输入信号频率增加而增加,但在所有频点上,其信噪比水平都低于本发明所提出的基于三态编码的通道状态选取方法的信噪比,同样从图13的频谱图曲线上也可以看出本发明所提出的基于三态编码的通道状态选取方法,其噪声整形和衰减能力要优于传统的基于VFMS改进算法的通道状态选取方法。从图12(a)也可以看出本发明所提出方法的输出信噪比基本不随频率变化,是一个恒定值。从图12(b)中可以看出,传统的基于VFMS改进算法的通道状态选取方法的输出信噪比并不与输入信号幅度成线性变化关系,而本发明所提出方法的输出信噪比与输入信号幅度成线性变化关系,本发明所提出方法在输入信号幅度过大时,信噪比出现下降是因为整形处理发生了饱和作用,不过区域十分狭小,且信噪比降幅较小。In this embodiment, the correspondence between the single-channel SNR of the channel state selection method based on the three-state coding and the channel state selection method based on the improved VFMS algorithm is presented. The relationship, as shown in Figure 12, also shows the spectrum of the single-channel signal generated by the two methods when the input signal is 1 kHz and the input signal amplitude is -6 dB, as shown in Figure 13. . It can be seen from Fig. 12(a) that the single-channel signal-to-noise ratio of the traditional channel state selection method based on the improved VFMS algorithm increases with the increase of the input signal frequency, but the signal-to-noise ratio is low at all frequencies. According to the signal-to-noise ratio of the channel state selection method based on the three-state coding proposed by the present invention, the channel state selection method based on the three-state coding proposed by the present invention can also be seen from the spectrum diagram curve of FIG. The shaping and attenuation capabilities are superior to the traditional channel state selection method based on the improved VFMS algorithm. It can also be seen from Fig. 12(a) that the output signal-to-noise ratio of the proposed method does not substantially change with frequency and is a constant value. It can be seen from Fig. 12(b) that the output signal-to-noise ratio of the conventional channel state selection method based on the improved VFMS algorithm does not change linearly with the input signal amplitude, and the output signal-to-noise ratio of the proposed method is The amplitude of the input signal changes linearly. When the amplitude of the input signal is too large, the signal-to-noise ratio decreases because the shaping process is saturated, but the region is very narrow and the signal-to-noise ratio decreases less.
最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制。尽管参照实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,对本发明的技术方案进行修改或者等同替换,都不脱离本发明技术方案的精神和范围,其均应涵盖在本发明的权利要求范围当中。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and not limiting. While the invention has been described in detail herein with reference to the embodiments of the embodiments of the invention Within the scope of the claims.

Claims (18)

  1. 一种基于三态编码的通道状态选取方法,包括如下步骤:A channel state selection method based on three-state coding includes the following steps:
    1)音源信号经调制处理后生成(2L+1)个电平级的量化信号x;1) The sound source signal is modulated to generate (2L+1) level-level quantized signals x;
    2)量化信号x经映射变换后生成控制信号p、m和z;2) the quantized signal x is transformed by mapping to generate control signals p, m and z;
    3)控制信号p、m、z和M通道反馈信号b经选择处理后生成M通道状态矢量信号y;3) control signal p, m, z and M channel feedback signal b is selected to generate an M channel state vector signal y;
    4)状态矢量信号y经整形处理后生成M通道的反馈信号b;4) The state vector signal y is shaped to generate a feedback signal b of the M channel;
    5)状态矢量信号y经由三态编码的多声道功放放大后驱动扬声器阵列中的多个扬声器单元或多音圈扬声器中的多个音圈,由扬声器阵列或多音圈扬声器自动完成数模转换和低通滤波处理,将数字编码信号转换为模拟声场信号。5) The state vector signal y is amplified by a three-state encoded multi-channel power amplifier to drive a plurality of speaker units in the speaker array or a plurality of voice coils in the multi-voice speaker, and the digital pattern is automatically completed by the speaker array or the multi-voice speaker Conversion and low-pass filtering to convert the digitally encoded signal into an analog sound field signal.
  2. 根据权利要求1所述的一种基于三态编码的通道状态选取方法,其特征在于,包括如下步骤:The method for selecting a channel state based on three-state coding according to claim 1, comprising the steps of:
    1)音源信号经调制处理后生成(2L+1)个电平级的量化信号x;1) The sound source signal is modulated to generate (2L+1) level-level quantized signals x;
    2)量化信号x经映射变换后生成控制信号p、m和z;2) the quantized signal x is transformed by mapping to generate control signals p, m and z;
    3)控制信号p、m、z和预设的M通道的反馈信号b经选择处理后生成M通道状态矢量信号y;3) the control signal p, m, z and the preset M channel feedback signal b is selected to generate an M channel state vector signal y;
    4)状态矢量信号y经整形处理后生成更新的M通道的反馈信号b,控制信号p、m、z和更新后的M通道的反馈信号b经选择处理后生成更新后的M通道状态矢量信号y;4) The state vector signal y is shaped to generate an updated M channel feedback signal b, and the control signals p, m, z and the updated M channel feedback signal b are selected to generate an updated M channel state vector signal. y;
    5)更新的状态矢量信号y经由三态编码的多声道功放放大后驱动扬声器阵列中的多个扬声器单元或多音圈扬声器中的多个音圈,由扬声器阵列或多音圈扬声器自动完成数模转换和低通滤波处理,将数字编码信号转换为模拟声场信号。5) The updated state vector signal y is amplified by a three-state encoded multi-channel power amplifier to drive a plurality of speaker units in the speaker array or a plurality of voice coils in the multi-voice speaker, and is automatically completed by a speaker array or a multi-voice speaker. Digital-to-analog conversion and low-pass filtering process convert the digitally encoded signal into an analog sound field signal.
  3. 根据权利要求1或2所述一种基于三态编码的通道状态选取方法,其特征在于,所述步骤1)中所述(2L+1)个电平级的量化信号x,所述的量化信号x的取值为区间[-L,L]范围内的任一整数,其中L为整数且L≥1。A channel state selection method based on three-state coding according to claim 1 or 2, characterized in that (2L+1) level-level quantized signals x in the step 1), the quantization The value of the signal x is any integer in the range [-L, L], where L is an integer and L ≥ 1.
  4. 根据权利要求1或2所述一种基于三态编码的通道状态选取方法,其特征在于,所述步骤1)中所述调制处理的步骤如下:The channel state selection method based on the three-state coding according to claim 1 or 2, wherein the step of the modulation processing in the step 1) is as follows:
    a)将音源信号转化为采样率为fs、位宽为N的PCM编码信号;a) converting the source signal into a PCM coded signal having a sampling rate of f s and a bit width of N;
    b)将采样率为fs、位宽为N的PCM编码信号通过升采样的插值低通滤波器处理,产生采样率为fo、位宽为N的过采样的PCM编码信号,其中fo=Osr×fs,Osr为过采样因子;b) processing the PCM coded signal with a sampling rate f s and a bit width N by an upsampled low-pass filter to generate an oversampled PCM coded signal with a sampling rate f o and a bit width N, where f o =O sr ×f s , O sr is an oversampling factor;
    c)将过采样的PCM编码信号,经多比特Δ-∑调制处理后生成采样率为fo、量化电平等级数为(2L+1)的PCM编码信号x,所述的量化电平等级的数量(2L+1)<2N,所述的多比特 Δ-∑调制处理是按照各种多比特∑-Δ调制器的设计方法进行调制器结构和参数设计,实现对插值滤波器输出的过采样信号进行噪声整形处理,将噪声能量推挤到可听频带之外的区域,保证调制后信号在可听声频带内具有有足够高的信噪比。c) processing the oversampled PCM encoded signal by multi-bit delta-sigma modulation to generate a PCM encoded signal x having a sampling rate f o and a quantization level level number (2L+1), said quantization level level The number of (2L+1)<2 N , the multi-bit delta-sigma modulation process is designed according to the design method of various multi-bit sigma-delta modulators, and the output of the interpolation filter is realized. The oversampled signal is subjected to noise shaping processing to push the noise energy into an area outside the audible band to ensure that the modulated signal has a sufficiently high signal to noise ratio in the audible frequency band.
  5. 根据权利要求1或2所述一种基于三态编码的通道状态选取方法,其特征在于,所述步骤2)中所述控制信号p、m和z满足条件:p+m+z=M,M≥L,其中p代表通道编码状态为“1”的通道数量,m代表通道编码状态为“-1”的通道数量,z代表通道编码状态为“0”的通道数量。The channel state selection method based on the three-state coding according to claim 1 or 2, wherein the control signals p, m and z in the step 2) satisfy the condition: p+m+z=M, M ≥ L, where p represents the number of channels whose channel coding state is "1", m represents the number of channels whose channel coding state is "-1", and z represents the number of channels whose channel coding state is "0".
  6. 根据权利要求1或2所述一种基于三态编码的通道状态选取方法,其特征在于,所述步骤2)中所述映射变换的处理如下:The channel state selection method based on the three-state coding according to claim 1 or 2, wherein the processing of the mapping transformation in the step 2) is as follows:
    当量化信号x≥0时,控制信号p、m和z的取值为:When the quantized signal x ≥ 0, the values of the control signals p, m and z are:
    p=x+floor((M-x)/2),m=M-p-z,z=mod(M-x,2);p=x+floor((M-x)/2), m=M-p-z,z=mod(M-x,2);
    当量化信号x<0时,控制信号p、m和z为:When the quantized signal x < 0, the control signals p, m and z are:
    p=M-m-z,m=-x+floor((M+x)/2),z=mod(M+x,2);p=M-m-z, m=-x+floor((M+x)/2), z=mod(M+x, 2);
    其中,floor代表取最接近的最小整数,mod代表取余数。Among them, floor represents the smallest integer that is closest, and mod represents the remainder.
  7. 根据权利要求1或2所述一种基于三态编码的通道状态选取方法,其特征在于,所述步骤3)中所述选择处理后生成M通道状态矢量信号y的表达式如下:y=[y1,y2,…,yM],其中第i个通道的状态信号为yi,i∈{1,2,…,M},yi从“-1”、“0”、“1”三个状态值中选取且满足
    Figure PCTCN2015098003-appb-100001
    The channel state selection method based on the three-state coding according to claim 1 or 2, wherein the expression of the M channel state vector signal y after the selection process in the step 3) is as follows: y=[ y 1 , y 2 ,...,y M ], wherein the state signal of the i-th channel is y i , i ∈ {1, 2, ..., M}, y i from "-1", "0", "1 "Three state values selected and satisfied
    Figure PCTCN2015098003-appb-100001
  8. 根据权利要求1或2所述一种基于三态编码的通道状态选取方法,其特征在于,所述选择处理的步骤如下:A channel state selection method based on three-state coding according to claim 1 or 2, wherein the step of selecting the processing is as follows:
    a)设定M通道的反馈信号矢量为b=[b1,b2,…,bM],其中bi代表第i个通道被选择的权重系数,i∈{1,2,…,M},对反馈信号矢量b按照从大到小的顺序进行排序,生成排序后的反馈信号矢量
    Figure PCTCN2015098003-appb-100002
    其中
    Figure PCTCN2015098003-appb-100003
    代表排序后的第i个通道被选择的权重系数;
    a) Set the feedback signal vector of the M channel to b = [b 1 , b 2 , ..., b M ], where b i represents the weight coefficient selected for the i th channel, i ∈ {1, 2, ..., M }, sorting the feedback signal vectors b in descending order to generate a sorted feedback signal vector
    Figure PCTCN2015098003-appb-100002
    among them
    Figure PCTCN2015098003-appb-100003
    a weight coefficient representative of the selected i-th channel;
    b)根据排序后的各通道权重系数
    Figure PCTCN2015098003-appb-100004
    所处的位次,将排序后的反馈信号矢量
    Figure PCTCN2015098003-appb-100005
    的前面p个较大值元素所对应通道的输出状态置为“1”,将后面m个较小值元素所对应通道的输出状态置为“-1”,将中间z个剩余元素所对应通道的输出状态置为“0”。
    b) according to the weight coefficient of each channel after sorting
    Figure PCTCN2015098003-appb-100004
    The position of the feedback signal vector after sorting
    Figure PCTCN2015098003-appb-100005
    The output state of the channel corresponding to the first p larger value elements is set to "1", and the output state of the channel corresponding to the m smaller value elements is set to "-1", and the channel corresponding to the remaining z elements in the middle The output state is set to "0".
    c)将经步骤b)选择处理后的上述所有元素按照从通道1到M的顺序排列生成M通道 状态矢量信号y。c) generating all the above elements after the step b) selection processing in the order from channel 1 to M to generate the M channel State vector signal y.
  9. 根据权利要求1或2所述一种基于三态编码的通道状态选取方法,其特征在于,所述步骤4)中所述整形处理包括多通道滤波处理,各通道所使用滤波器的传递函数均为
    Figure PCTCN2015098003-appb-100006
    其中H(z)是指阶数大于1的高通滤波器的传递函数。
    The channel state selection method based on the three-state coding according to claim 1 or 2, wherein the shaping processing in the step 4) comprises multi-channel filtering processing, and the transfer function of the filter used in each channel is for
    Figure PCTCN2015098003-appb-100006
    Where H(z) is the transfer function of the high-pass filter whose order is greater than one.
  10. 根据权利要求1或2所述一种基于三态编码的通道状态选取方法,其特征在于,所述步骤5)中所述三态编码,是指通道在任意时刻的输出状态仅在“1”、“0”、“-1”这三种状态之间进行切换;当通道输出状态为“1”时,扬声器负载端线上的输入电压为Vc;当通道输出状态为“-1”时,扬声器负载端线上的输入电压为-Vc;当通道输出状态为“0”时,扬声器负载端线上的输入电压为0;其中Vc是指多声道功放的供电电源电压值,通过基于三态编码的多通道输出状态选取多通道扬声器负载的编码分配,对扬声器阵列的各阵元或者多音圈扬声器的各音圈进行数字化编码和数字化驱动。The channel state selection method based on the three-state coding according to claim 1 or 2, wherein the three-state coding in the step 5) means that the output state of the channel at any time is only "1". Switch between the three states “0” and “-1”; when the channel output state is “1”, the input voltage on the speaker load terminal line is V c ; when the channel output state is “-1”, The input voltage on the speaker load terminal line is -V c ; when the channel output state is "0", the input voltage on the speaker load terminal line is 0; where V c is the power supply voltage value of the multi-channel power amplifier, based on three The multi-channel output state of the state code selects the code distribution of the multi-channel speaker load, and digitally encodes and digitizes the voice coils of each array element or multi-voice speaker of the speaker array.
  11. 一种基于三态编码的通道状态选取装置,其特征在于,包括:A channel state selection device based on three-state coding, comprising:
    一调制器模块,对音源信号进行调制编码,生成采样率为fo、量化电平级为2L+1的PCM编码信号x;a modulator module for modulating and encoding the sound source signal to generate a PCM coded signal x having a sampling rate f o and a quantization level of 2L+1;
    一映射模块,与所述调制器模块的输出端相连接,生成控制信号p、m和z;a mapping module, connected to the output of the modulator module, generating control signals p, m and z;
    一选择模块,与所述映射模块的输出端相连接,同时也与整形模块4的输入端和输出端相连接,生成M通道状态矢量信号y;a selection module is connected to the output end of the mapping module, and is also connected to the input end and the output end of the shaping module 4 to generate an M channel state vector signal y;
    一整形模块,与所述选择模块的输入端和输出端相连接,生成M通道反馈信号b;An shaping module is connected to the input end and the output end of the selection module to generate an M channel feedback signal b;
    一多通道数字功放和扬声器阵列或多音圈扬声器单元模块,与所述选择模块的输出端相连,通过多通道数字功放完成对选择模块所输出M通道状态矢量信号y的功率放大,用于驱动扬声器阵列中的多个扬声器单元或多音圈扬声器中的多个音圈,由扬声器阵列或多音圈扬声器自动完成数模转换和低通滤波处理,将数字编码信号转换为模拟声场信号。A multi-channel digital power amplifier and a speaker array or a multi-voice speaker unit module are connected to the output end of the selection module, and the power amplification of the M channel state vector signal y outputted by the selection module is completed by the multi-channel digital power amplifier for driving A plurality of voice coils in a speaker array or a plurality of voice coils in a multi-voice coil speaker are automatically digital-to-analog converted and low-pass filtered by a speaker array or a multi-voice speaker to convert the digitally encoded signal into an analog sound field signal.
  12. 根据权利要求11所述的一种基于三态编码的通道状态选取装置,其特征在于,包括:The channel state selection device based on the three-state coding according to claim 11, comprising:
    一调制器模块,对音源信号进行调制编码,生成采样率为fo、量化电平级为2L+1的PCM编码信号x;a modulator module for modulating and encoding the sound source signal to generate a PCM coded signal x having a sampling rate f o and a quantization level of 2L+1;
    一映射模块,所述映射模块的输入端与所述调制器模块的输出端相连接,生成控制信号p、m和z;a mapping module, the input end of the mapping module is connected to the output end of the modulator module to generate control signals p, m and z;
    一选择模块,所述选择模块的输入端与所述映射模块的输出端相连接,根据控制信号p、m和z和预设的M通道反馈信号b生成M通道状态矢量信号y; a selection module, the input end of the selection module is connected to the output end of the mapping module, and generates an M channel state vector signal y according to the control signals p, m and z and the preset M channel feedback signal b;
    一整形模块,所述整形模块的输入端与所述选择模块的输出端相连接,所述整形模块的输出端与所述连接模块的输入端连接,根据M通道状态矢量信号y生成更新后的M通道反馈信号b,所述选择模块根据控制信号p、m和z和更新后的M通道反馈信号b生成更新后的M通道状态矢量信号y;An shaping module, an input end of the shaping module is connected to an output end of the selection module, an output end of the shaping module is connected to an input end of the connection module, and an updated version is generated according to the M channel state vector signal y M channel feedback signal b, the selection module generates an updated M channel state vector signal y according to the control signals p, m and z and the updated M channel feedback signal b;
    一多通道数字功放和扬声器阵列或多音圈扬声器单元模块,与所述选择模块的输出端相连,通过多通道数字功放完成对选择模块所输出更新后的M通道状态矢量信号y的功率放大,用于驱动扬声器阵列中的多个扬声器单元或多音圈扬声器中的多个音圈,由扬声器阵列或多音圈扬声器自动完成数模转换和低通滤波处理,将数字编码信号转换为模拟声场信号。a multi-channel digital power amplifier and a speaker array or a multi-speaker speaker unit module are connected to the output end of the selection module, and the power amplification of the updated M-channel state vector signal y outputted by the selection module is completed by the multi-channel digital power amplifier. Used to drive multiple speaker units in a speaker array or multiple voice coils in a multi-voice speaker, and automatically perform digital-to-analog conversion and low-pass filtering processing by a speaker array or a multi-voice speaker to convert digitally encoded signals into analog sound fields. signal.
  13. 根据权利要求11或12所述的一种基于三态编码的通道状态选取装置,其特征在于,所述调制器模块,包括格式转化器模块、插值滤波器模块和多比特Δ-∑调制器模块,A channel state selection device based on three-state coding according to claim 11 or 12, wherein the modulator module comprises a format converter module, an interpolation filter module and a multi-bit delta-sigma modulator module ,
    格式转化器模块,用于对音源信号进行编码格式转换,将音源信号转换为采样率为fs、位宽为N的PCM编码信号,The format converter module is configured to perform encoding format conversion on the sound source signal, and convert the sound source signal into a PCM coded signal with a sampling rate of f s and a bit width of N.
    插值滤波器模块,用于对格式转化器模块的输出信号进行升采样插值低通滤波处理,生成采样率为fo、位宽为N的过采样的PCM编码信号,其中fo=Osr×fs,Osr为过采样因子,The interpolation filter module is configured to perform up-sampling interpolation low-pass filtering on the output signal of the format converter module to generate an oversampled PCM coded signal with a sampling rate f o and a bit width N, where f o =O sr × f s , O sr is an oversampling factor,
    多比特Δ-∑调制器模块,用于对插值滤波器模块的输出信号进行多比特Δ-∑调制处理生成采样率为fo、量化电平级为(2L+1)的PCM编码信号x。The multi-bit delta-sigma modulator module is configured to perform multi-bit delta-sigma modulation processing on the output signal of the interpolation filter module to generate a PCM encoded signal x having a sampling rate f o and a quantization level of (2L+1).
  14. 根据权利要求11或12所述的一种基于三态编码的通道状态选取装置,其特征在于,所述映射模块的离线实现方式如下:The channel state selection device based on the three-state coding according to claim 11 or 12, wherein the offline implementation of the mapping module is as follows:
    在离线实现方式下,所述映射模块包括只读储存器ROM1模块、只读储存器ROM2模块和只读储存器ROM3模块,控制信号p、m和z的数值通过离线程序预先计算并分别预先填写到只读储存器ROM1模块、只读储存器ROM2模块和只读储存器ROM3模块中,储存器ROM1模块存储控制信号p,地址索引为映射模块的输入信号x;储存器ROM2模块存储控制信号m,地址索引为映射模块2的输入信号x;储存器ROM3模块存储控制信号z,地址索引为映射模块2的输入信号x,In the offline implementation mode, the mapping module includes a read only memory ROM1 module, a read only memory ROM2 module, and a read only memory ROM3 module, and the values of the control signals p, m, and z are pre-calculated by an offline program and pre-filled separately. In the read only memory ROM1 module, the read only memory ROM2 module and the read only memory ROM3 module, the memory ROM1 module stores the control signal p, the address index is the input signal x of the mapping module; the memory ROM2 module stores the control signal m The address index is the input signal x of the mapping module 2; the memory ROM3 module stores the control signal z, and the address index is the input signal x of the mapping module 2,
    只读储存器ROM1模块、只读储存器ROM2模块和只读储存器ROM3模块中的存储内容由下列公式计算获得:The contents of the read-only memory ROM1 module, the read-only memory ROM2 module, and the read-only memory ROM3 module are calculated by the following formula:
    当x≥0时,p=x+floor((M-x)/2),m=M-p-z,z=mod(M-x,2);When x≥0, p=x+floor((M-x)/2), m=M-p-z, z=mod(M-x, 2);
    当x<0时,p=M-m-z,m=-x+floor((M+x)/2),z=mod(M+x,2);When x<0, p=M-m-z, m=-x+floor((M+x)/2), z=mod(M+x, 2);
    其中,floor代表取最接近的最小整数,mod代表取余数。Among them, floor represents the smallest integer that is closest, and mod represents the remainder.
  15. 根据权利要求11或12所述的一种基于三态编码的通道状态选取装置,其特征在于,所述映射模块的在线实现方式如下:The channel state selection device based on the three-state coding according to claim 11 or 12, wherein the online implementation manner of the mapping module is as follows:
    在线实现方式下,所述映射模块包括取符号模块、取绝对值模块、减法A1模块、取 末位模块、移位模块、加法模块、减法A2模块、选择器C1模块和选择器C2模块,In the online implementation mode, the mapping module includes a symbol module, an absolute value module, a subtraction A1 module, and a fetching module. Last module, shift module, addition module, subtraction A2 module, selector C1 module and selector C2 module,
    取符号模块,用于输出映射模块输入信号x的符号位;Taking a symbol module for outputting a sign bit of the mapping module input signal x;
    取绝对值模块,用于输出映射模块输入信号x的幅值;Taking an absolute value module for outputting the amplitude of the mapping module input signal x;
    减法A1模块,用于将通道数M减去取绝对值模块的输出后将差值的二进制编码信号输出;The subtraction A1 module is configured to subtract the channel number M from the output of the absolute value module and output the binary coded signal of the difference;
    取末位模块,用于获取减法A1模块输出的二进制编码信号的末位码,作为输出控制信号z;Taking the last bit module, used to obtain the last bit code of the binary coded signal output by the subtraction A1 module, as the output control signal z;
    移位模块,用于对减法A1模块的输出右移一位后将移位后信号输出;The shifting module is configured to output the signal after shifting the output of the subtraction A1 module to the right by one bit;
    加法模块对取绝对值模块的输出和移位模块的输出相加后将相加信号输出;The adding module adds the output of the absolute value module and the output of the shifting module, and then adds the signal output;
    减法A2模块,用于将通道数M减去取末位模块的输出,再减去加法模块的输出;The subtraction A2 module is used to subtract the channel number M from the output of the last bit module, and then subtract the output of the addition module;
    选择器C1模块的第一路输入信号为加法模块的输出,第二路输入信号为减法A2模块的输出,第三路输入信号为取符号模块的输出,选择器C1模块的输出为控制信号p;The first input signal of the selector C1 module is the output of the addition module, the second input signal is the output of the subtraction A2 module, the third input signal is the output of the symbolic module, and the output of the selector C1 module is the control signal p ;
    选择器C2模块的第一路输入信号为减法A2模块的输出,第二路输入信号为加法模块的输出,第三路输入信号为取符号模块的输出,选择器C2模块的输出为控制信号m。The first input signal of the selector C2 module is the output of the subtraction A2 module, the second input signal is the output of the addition module, the third input signal is the output of the symbolic module, and the output of the selector C2 module is the control signal m. .
  16. 根据权利要求11或12所述的一种基于三态编码的通道状态选取装置,其特征在于,所述选择模块包括排序模块、正选择模块、负选择模块、加法模块,其中:The channel state selection device based on the three-state coding according to claim 11 or 12, wherein the selection module comprises a sorting module, a positive selection module, a negative selection module, and an addition module, wherein:
    排序模块,用于对选择模块的输入反馈信号b按照从大到小的顺序进行排序并输出;a sorting module, configured to sort and output the input feedback signals b of the selection module in descending order;
    正选择模块,用于将排序模块输出矢量的前面p个较大值元素所对应通道的输出状态置为“1”,将输出矢量剩余元素所对应通道的输出状态置为“0”,将所有通道所设置的输出状态按照从1到M的顺序排列生成M通道状态矢量信号并输出;Positive selection module, which is used to set the output state of the channel corresponding to the first p larger value elements of the sorting module output vector to "1", and set the output state of the channel corresponding to the remaining elements of the output vector to "0", all The output state set by the channel is arranged in the order from 1 to M to generate an M channel state vector signal and output;
    负选择模块,用于将排序模块输出矢量的后面m个较小值元素所对应通道的输出状态置为“-1”,将输出矢量剩余元素所对应通道的输出状态置为“0”,将所有通道所设置的输出状态按照从1到M的顺序排列生成M通道状态矢量信号并输出;The negative selection module is configured to set the output state of the channel corresponding to the m smaller value elements of the sorting module output vector to “-1”, and set the output state of the channel corresponding to the remaining elements of the output vector to “0”, The output states set by all channels are arranged in the order from 1 to M to generate an M channel state vector signal and output;
    加法模块,用于将正选择模块和负选择模块的通道状态矢量信号相加并输出状态矢量信号y。An adding module is configured to add channel state vector signals of the positive selection module and the negative selection module and output a state vector signal y.
  17. 根据权利要求11或12所述的一种基于三态编码的通道状态选取装置,其特征在于,所述整形模块包括减法模块、滤波处理模块、最小值搜索模块、加法模块,The channel state selection device based on the three-state coding according to claim 11 or 12, wherein the shaping module comprises a subtraction module, a filter processing module, a minimum value search module, and an addition module.
    减法模块,用于将输入的多通道状态信号矢量y减去整形模块的多通道反馈信号矢量b,并将减法处理所得的多通道信号矢量输出;a subtraction module, configured to subtract the multi-channel feedback signal vector b of the shaping module from the input multi-channel state signal vector y, and output the multi-channel signal vector obtained by the subtraction process;
    滤波处理模块将减法模块的输出信号矢量进行多通道滤波处理后输出,各通道所使用滤波器的传递函数均为H(z)-1,其中H(z)为阶数大于1的高通滤波器的传递函数;The filter processing module performs multi-channel filtering processing on the output signal vector of the subtraction module, and the transfer function of the filter used in each channel is H(z)-1, wherein H(z) is a high-pass filter with an order greater than one. Transfer function
    最小值搜索模块接收滤波处理模块的输出,并通过多次比较处理搜索出多通道上所传 送数据的最小值,并将最小值的相反数输出;The minimum value search module receives the output of the filter processing module, and searches for the multi-channel transmission through multiple comparison processing. Send the minimum value of the data and output the opposite of the minimum value;
    加法模块将最小值搜索模块的输出与滤波处理模块的输出进行相加并输出,加法模块的输出为更新的反馈控制信号b。The adding module adds and outputs the output of the minimum value search module and the output of the filter processing module, and the output of the adding module is an updated feedback control signal b.
  18. 根据权利要求11或12所述的一种基于三态编码的通道状态选取装置,其特征在于,所述多通道数字功放和扬声器阵列或多音圈扬声器单元模块包括具有三态驱动能力的多通道数字功放和换能器单元模块;A channel state selection device based on three-state coding according to claim 11 or 12, wherein said multi-channel digital power amplifier and speaker array or multi-voice speaker unit module comprises multi-channel with three-state driving capability Digital power amplifier and transducer unit module;
    具有三态驱动能力的多通道数字功放,用于接收选择模块输出的更新后的M通道状态矢量信号y并进行多通道功率放大处理,将各通道所送出的状态信号“-1”、“0”和“1”放大形成带有驱动能力的功率信号-Vc、0和VcThe multi-channel digital power amplifier with three-state driving capability is used for receiving the updated M-channel state vector signal y outputted by the selection module and performing multi-channel power amplification processing, and the status signals "-1" and "0" sent by each channel are And "1" are amplified to form a power signal with drive capability -V c , 0 and V c ;
    换能器单元模块,用于接收具有三态驱动能力的多通道数字功放的输出信号并驱动扬声器阵列中的多个扬声器单元或多音圈扬声器中的多个音圈,由扬声器阵列或多音圈扬声器自动完成数模转换和低通滤波处理,将数字编码信号转换为模拟声场信号。 a transducer unit module for receiving an output signal of a multi-channel digital power amplifier having three-state driving capability and driving a plurality of voice coils in a speaker array or a plurality of voice coils in a multi-voice speaker, by a speaker array or a multi-tone The ring speaker automatically performs digital-to-analog conversion and low-pass filtering to convert the digitally encoded signal into an analog sound field signal.
PCT/CN2015/098003 2014-12-31 2015-12-21 Channel state selection method and device based on ternary coding WO2016107433A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410851893.0 2014-12-31
CN201410851893.0A CN104581589B (en) 2014-12-31 2014-12-31 Channel status choosing method and device based on tri-state coding

Publications (1)

Publication Number Publication Date
WO2016107433A1 true WO2016107433A1 (en) 2016-07-07

Family

ID=53096607

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/098003 WO2016107433A1 (en) 2014-12-31 2015-12-21 Channel state selection method and device based on ternary coding

Country Status (2)

Country Link
CN (1) CN104581589B (en)
WO (1) WO2016107433A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113170205A (en) * 2018-12-03 2021-07-23 杜比实验室特许公司 Interpolation of shaping functions
CN113633262A (en) * 2021-08-13 2021-11-12 嘉兴知芯电子科技有限公司 Near-infrared spectrum brain function imaging system and imaging signal sampling method
CN116320901A (en) * 2023-05-15 2023-06-23 之江实验室 Sound field regulating and controlling system and method thereof

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581589B (en) * 2014-12-31 2018-01-02 苏州上声电子有限公司 Channel status choosing method and device based on tri-state coding
US10735138B2 (en) 2017-05-02 2020-08-04 Futurewei Technologies, Inc. Multi-label offset lifting method
WO2019028681A1 (en) 2017-08-08 2019-02-14 深圳市汇顶科技股份有限公司 Conversion module and conversion circuit
CN107911779B (en) * 2017-11-10 2020-10-23 佛山市柯博明珠数码电子有限公司 Loudspeaker system driven by digital signal
CN112637731A (en) * 2020-11-30 2021-04-09 常州元晶电子科技有限公司 Full digital audio frequency directional system based on PCM coding and bit group switch control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102474266A (en) * 2009-12-09 2012-05-23 株式会社特瑞君思半导体 Selection device
CN103733642A (en) * 2011-08-12 2014-04-16 株式会社特瑞君思半导体 Drive circuit
WO2014065408A1 (en) * 2012-10-25 2014-05-01 株式会社 Trigence Semiconductor Converter
CN104581589A (en) * 2014-12-31 2015-04-29 苏州上声电子有限公司 Channel state selection method and device based on ternary coding

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5396588B2 (en) * 2008-06-16 2014-01-22 株式会社 Trigence Semiconductor Digital speaker driving device, digital speaker device, actuator, flat display device and portable electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102474266A (en) * 2009-12-09 2012-05-23 株式会社特瑞君思半导体 Selection device
CN103733642A (en) * 2011-08-12 2014-04-16 株式会社特瑞君思半导体 Drive circuit
WO2014065408A1 (en) * 2012-10-25 2014-05-01 株式会社 Trigence Semiconductor Converter
CN104581589A (en) * 2014-12-31 2015-04-29 苏州上声电子有限公司 Channel state selection method and device based on ternary coding

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113170205A (en) * 2018-12-03 2021-07-23 杜比实验室特许公司 Interpolation of shaping functions
CN113170205B (en) * 2018-12-03 2023-11-10 杜比实验室特许公司 Shaping function generation method and device and image decoding method and device
CN113633262A (en) * 2021-08-13 2021-11-12 嘉兴知芯电子科技有限公司 Near-infrared spectrum brain function imaging system and imaging signal sampling method
CN113633262B (en) * 2021-08-13 2023-08-18 嘉兴知芯电子科技有限公司 Near infrared spectrum brain function imaging system and imaging signal sampling method
CN116320901A (en) * 2023-05-15 2023-06-23 之江实验室 Sound field regulating and controlling system and method thereof
CN116320901B (en) * 2023-05-15 2023-08-29 之江实验室 Sound field regulating and controlling system and method thereof

Also Published As

Publication number Publication date
CN104581589B (en) 2018-01-02
CN104581589A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
WO2016107433A1 (en) Channel state selection method and device based on ternary coding
US9300258B2 (en) Method and device for driving digital speaker based on code conversion
CA2935487C (en) Implementation method and device of multi-bit .delta.-.sigma. modulation-based digital speaker system
KR101665211B1 (en) Method and apparatus for channel equalization and beam control of digital speaker array system
JP5828596B2 (en) All-digital speaker device
CN103152673B (en) Digital loudspeaker drive method and device based on quaternary code dynamic mismatch reshaping
JP4890503B2 (en) Delta-sigma modulator
KR102302839B1 (en) Switchable secondary playback path
US7081793B2 (en) High-efficiency amplifier, converter and methods
CN103167380B (en) A kind of digitlization audio beam loudspeaker system
US20060282185A1 (en) Device and method for signal processing
JP2011211725A (en) Digital/analog conversion apparatus
CN110233602B (en) Class D digital audio amplifier
CN104967948B (en) Digital speaker driving method and device based on amplitude modulation and phase modulation
CN102694553B (en) Data converter circuits and method
CN205040004U (en) Digit speaker drive arrangement based on amplitude modulation and phase modulation
Yu et al. A pseudo-natural sampling algorithm for low-cost low-distortion asymmetric double-edge PWM modulators
CN114512154A (en) Signal density modulation encoder, digital sound reconstruction system, and signal processing system
US7034726B2 (en) Data converter
Kong et al. A power-efficient digital amplifier using input dependent bit flipping for portable audio systems
US11438697B2 (en) Low-latency audio output with variable group delay
CN108011638B (en) Digital radio frequency pulse modulation method and modulator
Pracný et al. System-level power optimization for a ΣΔ D/A converter for hearing-aid application
Lin et al. Design of a fully-digital class-D audio power amplifier based on open-loop configuration
TW202345143A (en) Noise shaping digital automatic gain control system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15875111

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15875111

Country of ref document: EP

Kind code of ref document: A1