CN107708034A - A kind of Dolby circuit, Dolby circuit processing system and computer-readable medium - Google Patents
A kind of Dolby circuit, Dolby circuit processing system and computer-readable medium Download PDFInfo
- Publication number
- CN107708034A CN107708034A CN201710827252.5A CN201710827252A CN107708034A CN 107708034 A CN107708034 A CN 107708034A CN 201710827252 A CN201710827252 A CN 201710827252A CN 107708034 A CN107708034 A CN 107708034A
- Authority
- CN
- China
- Prior art keywords
- amplifier
- value
- attenuator
- phase
- micro
- Prior art date
- Legal status (The legal status 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 status listed.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2410/00—Microphones
- H04R2410/01—Noise reduction using microphones having different directional characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/01—Input selection or mixing for amplifiers or loudspeakers
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
Abstract
A kind of Dolby circuit and Dolby circuit processing system,The Dolby circuit includes playing sound chamber,It is arranged on the microphone and loudspeaker for playing sound intracavitary,First amplifier,Second amplifier,Micro-control unit,Attenuator,Anti-phase adder and the first blender,The output end of microphone is connected to the first input end of anti-phase adder by attenuator,Second input of anti-phase adder and the input access original audio signal of the first amplifier,The output end of anti-phase adder is connected to the first input end of the first blender by the second amplifier,Second control terminal of micro-control unit connects the control terminal of the second amplifier,The control terminal of the first control terminal connection attenuator of micro-control unit,The test side of micro-control unit connects the test side of the first amplifier,The output end of first amplifier connects the second input of the first blender,The input of the output end connection loudspeaker of first blender.Noise reduction can be improved by implementing the embodiment of the present invention.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of Dolby circuit, noise-reduction method and computer-readable medium.
Background technology
Noise is more and more in environment residing for present people, with the development of science and technology, user is to audios such as audio amplifier, earphones
The decrease of noise functions of equipment there has also been higher requirement, and especially for the crowd for pursuing high-quality life and sensitivity, noise is done
It is very painful to disturb.
In order to reduce influence of the noise to the result of broadcast of audio frequency apparatus, Dolby circuit is typically added in audio frequency apparatus.
Dolby circuit is by gathering outside noise and outside noise being handled, due to the outside noise and human ear of Dolby circuit collection
The noise differences being actually hearing are larger, and the noise reduction of current Dolby circuit is poor.
The content of the invention
The embodiment of the present invention provides a kind of Dolby circuit and a kind of noise-reduction method, can effectively improve noise reduction.
In a first aspect, the embodiments of the invention provide a kind of Dolby circuit, it is characterised in that including:Play sound chamber, first
Amplifier, the second amplifier, micro-control unit, attenuator, anti-phase adder and the first blender, wherein:
The broadcasting sound intracavitary fixed setting microphone and loudspeaker, the output end of the microphone connect the attenuator
Input, the first input end of the output end connection anti-phase adder of the attenuator, the second of the anti-phase adder
The input of input and first amplifier accesses original audio signal, the output end connection institute of the anti-phase adder
The input of the second amplifier is stated, the output end of second amplifier connects the first input end of first blender, institute
The second control terminal for stating micro-control unit connects the control terminal of second amplifier, the first control terminal of the micro-control unit
The control terminal of the attenuator is connected, the test side of the micro-control unit connects the test side of first amplifier, described
The output end of first amplifier connects the second input of first blender, the output end connection institute of first blender
State the input of loudspeaker;
The microphone, which exports the first voice signal collected to the attenuator, first voice signal, to be included
Noise signal and the voice signal of loudspeaker output, the attenuator will be defeated after first voice signal progress attenuation processing
Go out to the first input end of the anti-phase adder, the anti-phase adder by first voice signal after attenuation processing and
The original audio signal synthesizes anti-phase noise signal, and the anti-phase noise signal is exported to second amplifier, institute
State the second amplifier to be amplified the anti-phase noise signal, second amplifier believes the anti-phase noise after amplification
Number output is to first blender;First blender is by the anti-phase noise signal and described first after the amplification
Original audio signal synthesis mixing after the amplification of amplifier output plays output signal and exported to the loudspeaker, described
The mixing broadcasting output signal is converted to mixing voice signal and exported by loudspeaker.
Second aspect, the embodiments of the invention provide a kind of Dolby circuit processing system, including the Dolby circuit, its
In, the Dolby circuit also includes holder, and the memory is used to store computer program, and the computer program includes journey
Sequence instructs, and the micro-control unit is arranged to call described program instruction, performs following steps:
The micro-control unit detects the gain of first amplifier, and the pad value of the regulation attenuator and institute
State the gain of the second amplifier.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium
Computer program is stored with, the computer program includes programmed instruction, and described program instruction is worked as is held by the micro-control unit
The micro-control unit is set to detect the yield value of first amplifier, and the pad value of the regulation attenuator and institute during row
State the yield value of the second amplifier.
The Dolby circuit in the embodiment of the present invention, the increasing by the micro-control unit according to first amplifier
Beneficial value adjusts the yield value of the pad value of the attenuator and second amplifier so that compound voice that the loudspeaker export
Noise in sound signal is cancelled out each other with the noise that microphone collects, and so as to realize accurate noise reduction process, can improve drop
Make an uproar effect.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of Dolby circuit provided in an embodiment of the present invention;
Fig. 2 is a kind of structural representation of anti-phase adder provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation for Dolby circuit that another embodiment of the present invention provides;
Fig. 4 is the structural representation of the Dolby circuit in a kind of Dolby circuit processing system provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Herein
" embodiment " is referred to it is meant that the special characteristic, structure or the characteristic that describe may be embodied in the present invention at least in conjunction with the embodiments
In one embodiment.The phrase, which occurs, in each position in the description might not each mean identical embodiment, nor
With the independent or alternative embodiment of other embodiments mutual exclusion.Those skilled in the art explicitly and implicitly understand,
Embodiment described herein can be combined with other embodiments.
Based on the embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of creative work is not made
The every other embodiment obtained, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used to distinguish
Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that
It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
The step of being defined in the step of having listed or unit, but alternatively also including not listing or unit, or alternatively also wrap
Include for other intrinsic steps of these processes, method, product or equipment or unit.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal device described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other
Portable set.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal device including display and touch sensitive surface is described.However, it should manage
Solution, one or more of the other physical User that terminal device can include such as physical keyboard, mouse and/or control-rod connect
Jaws equipment.
Terminal device supports various application programs, such as one or more of following:Drawing application program, demonstration application
Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should
With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on the terminal device can use at least one of such as touch sensitive surface
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and terminal device on surface.So, the public physics frame of terminal device
Structure (for example, touch sensitive surface) can be supported to apply journey with the various of user interface directly perceived and transparent for a user
Sequence.
It is a kind of structural representation of Dolby circuit provided in an embodiment of the present invention referring to Fig. 1, noise reduction as shown in Figure 1
Circuit includes:Play sound chamber 10, the first amplifier 14, the second amplifier 15, micro-control unit 16, attenuator 12, anti-phase addition
The blender 17 of device 13 and first, wherein:
Fixed setting microphone 11 and loudspeaker 18 in sound chamber 10 are played, the output end 111 of microphone 11 connects attenuator 12
Input 121, the output end 122 of attenuator 12 connects the first input end 131 of anti-phase adder 13, anti-phase adder 13
The input 141 of second input 132 and the first amplifier 14 accesses original audio signal, the output end of anti-phase adder 13
The input 151 of 133 the second amplifiers 15 of connection, the output end 153 of the second amplifier 15 connect the first of the first blender 17
Input 171, the second control terminal 163 of micro-control unit 16 connect the control terminal 152 of the second amplifier 15, micro-control unit 16
The first control terminal 162 connection attenuator 12 control terminal 123, the test side 161 of micro-control unit 16 connects the first amplifier
14 test side 142, the output end 143 of the first amplifier 14 connect the second input 172 of the first blender 17, the first mixing
The output end 173 of device 17 connects the input 181 of loudspeaker 18;
Microphone 11, which exports the first voice signal collected to attenuator 12, above-mentioned first voice signal, includes noise
The voice signal that signal and loudspeaker 18 export, attenuator 12 are exported to anti-phase after above-mentioned first voice signal is carried out into attenuation processing
The first input end 131 of adder 13, anti-phase adder 13 is by above-mentioned first voice signal after attenuation processing and above-mentioned initial
Audio signal synthesizes anti-phase noise signal, and above-mentioned anti-phase noise signal is exported to the second amplifier 15, the second amplifier 15
The anti-phase noise signal is amplified, the above-mentioned anti-phase noise signal after amplification is exported to first and mixed by the second amplifier 15
Clutch 17, after the amplification that the first blender 17 exports the above-mentioned anti-phase noise signal after above-mentioned amplification and the first amplifier 14
Above-mentioned original audio signal synthesis mixing plays output signal and exported to loudspeaker 18, loudspeaker 18 plays output letter by above-mentioned mixing
Number be converted to mixing voice signal and export;
Micro-control unit 16, for detecting the yield value of the first amplifier 14 and the pad value of regulated attenuator 12, also use
In the yield value for adjusting the second amplifier 15.
Microphone, scientific name are microphone, are the energy conversion devices that voice signal is converted to electric signal, also referred to as microphone,
Microphone;Loudspeaker refer to the electroacoustic component that can convert electrical signals to sound, are also loudspeaker;It is to include loudspeaker to play sound chamber
Cavity, can be manufactured using different materials, be generally divided into sealed, the open and class of semi open model three.
In embodiments of the present invention, play the inside of sound chamber 10 and microphone 11 and loudspeaker 18 has been fixedly installed, microphone 11 can
To gather above-mentioned first voice signal, the sound letter that above-mentioned first voice signal can include noise signal and loudspeaker 18 export
Number, wherein, because sound has a decay in communication process, the voice signal that loudspeaker 18 export and microphone 11 gather the
One voice signal is had any different, and the voice signal that above-mentioned loudspeaker 18 export refers to that propagating certain distance after loudspeaker 18 export arrives
Up to the voice signal of microphone 11.
, can be with acquisition noise signal, above-mentioned jam-to-signal microphone installed in the microphone 11 played inside sound chamber 18
11 are placed in when playing sound 18 outside of chamber the noise signal that gathers closer in the noise signal for reaching human ear, for example, playing sound chamber
18 can be an earphone, conventionally, as the wearing mode of different user is different with the seal degree of earphone, it is outside
Noise intensity and Er Nei noise intensity between it is variant, and the microphone of acquisition noise is placed in the embodiment of the present invention and broadcast
The inside of playback chamber, the noise signal received closest to human ear can be effectively collected, carries out noise reduction process on this basis,
The noise reduction improved.
Amplifier in the embodiment of the present invention, being can be the voltage of input signal or the device of power amplification, by electron tube
Or transistor, power transformer and other electric elements composition, the gain (being embodied as yield value) of amplifier represent amplification
Device power amplification multiple, the parameter commonly use decibel (dB) to measure.Audio signal is with the regular of voice, music and audio
The frequency of sound wave, changes in amplitude information carrier, above-mentioned original audio signal inputs from the input 141 of the first amplifier 14,
From the original audio signal after the output amplification of output end 143 to the first blender after the enhanced processing of the first amplifier 14
17 the second input 172, the first blender 17 can be mixed into after anti-phase noise signal in the original audio signal through output
The output of end 173.
First voice signal that microphone 11 gathers is exported defeated to attenuator 12 by the output end 111 of microphone 11
Enter end 121, attenuator 12 can carry out attenuation processing to the first voice signal that microphone 11 gathers.Attenuator is specified
It is a kind of to introduce the circuit of predetermined decay in frequency range, wherein, the decay (being embodied as pad value) of attenuator is used for
The value of the signal reduction to be passed through in description transmitting procedure, can be expressed with multiple or decibels.Attenuator 12
Pad value be adjusted by the first control terminal 162 of micro-control unit 16 by the control terminal 123 of attenuator 12.
In embodiments of the present invention, there can be current gain value when the first amplifier 14 works, micro-control unit 16 can
To detect the current gain value of the first amplifier 14 by test side 161.
Micro-control unit (Microcontroller Unit, MCU) in the embodiment of the present invention, also known as single-sheet miniature meter
Calculation machine (Single Chip Microcomputer) or single-chip microcomputer, are central processing unit (Central Process
Unit, CPU) frequency and specification do appropriate reduction, and by internal memory (Memory), counter (Timer), USB, A/D conversion,
The perimeter interfaces such as UART, PLC, DMA, or even LCD drive circuits are all incorporated on one chip, form the computer of chip-scale.
Because the principle of noise reduction of the embodiment of the present invention is anti-phase to be mixed into the first voice signal that microphone 11 collects
Noise signal offsets the noise signal in first voice signal, therefore first has to the first sound letter for gathering microphone 11
The amplitude of number first input end 131 for reaching anti-phase adder 13 is identical with the amplitude of above-mentioned original audio signal, due to above-mentioned
Original audio signal have passed through the enhanced processing of the first amplifier 14, so micro-control unit 16 is according to the first amplification detected
The current attenuation value of the current gain value regulated attenuator 12 of device 14.
Specifically, micro-control unit 16 can calculate the current attenuation value D of attenuator 12 according to below equation:
D=PA-Dm-s-Din-m-Dpa-in-Ds-pa,
Wherein, D represents the current attenuation value of attenuator 12, and PA represents the current gain value of the first amplifier 14, Dm-sRepresent
Loudspeaker 18 arrive the pad value of gram wind 11, and the pad value of loudspeaker 18 to microphone 11 can measure to obtain in advance by instrument, Din-m
Represent that attenuator 12 does not perform the declining to anti-phase adder 13 of microphone 11 in the case of attenuation processing (can regard a wire as)
Depreciation, Dpa-inRepresent that above-mentioned original audio signal is output to the pad value of the first amplifier 14, Ds-paRepresent the first amplifier 14
To the pad value of loudspeaker 18.
Wherein, Dm-s、Din-m、Dpa-inAnd Ds-paAll it is fixed testing constant, can be obtained beforehand through apparatus measures,
Above-mentioned parameter and numerical value call when can be stored in microprocessing unit 16 subsequently to calculate.Micro-control unit 16 detects
After the current gain value PA of one amplifier 14, D value can be calculated according to the formula, and by the current attenuation of the attenuator
Value is arranged to D, then attenuator 12 can use pad value D to carry out attenuation processing to above-mentioned first voice signal, and by after processing
The first voice signal exported by output end 122 to the first input end 131 of anti-phase adder 13.
Anti-phase adder 13 can be anti-phase by the first voice signal after attenuation processing and the synthesis of above-mentioned original audio signal
Noise signal, specifically, the first voice signal after the receiving attenuation of first input end 131 processing of anti-phase adder 13, second
Input 132 receives above-mentioned original audio signal, as shown in Fig. 2 anti-phase adder 13 can include phase inverter 1301 and second
Blender 1302, wherein, phase inverter can be by the circuit devcie of the phasing back 180 degree of input signal, blender
The signal of two kinds and the above is carried out to be mixed to form a kind of device of signal;The connection of output end 1,311 second of phase inverter 1301 is mixed
The first input end 1321 of clutch 1302, the input of phase inverter 1301 are the first input end 131 of anti-phase adder 13, second
Second input of blender 1302 is the second input 131 of anti-phase adder 13, and the output end of the second blender 1302 is
The output end 133 of anti-phase adder;Attenuator 12 is exported to phase inverter 1301 after first voice signal is carried out into attenuation processing
The first voice signal after attenuation processing can be carried out anti-phase processing by input 131, phase inverter 1301, obtain anti-phase sound letter
Number, and the anti-phase voice signal is exported can be by the anti-phase voice signal to the second blender 1302, the second blender 1302
Anti-phase noise signal is synthesized with above-mentioned original audio signal, and the anti-phase noise signal is exported to second by output end 133
Amplifier 15, wherein, above-mentioned anti-phase voice signal is identical with the first voice signal amplitude after above-mentioned attenuation processing, and phase difference is
180 degree.
In embodiments of the present invention, because the first voice signal that microphone 11 gathers is declined after attenuator 12
Subtract, i.e., noise signal therein is also decayed, that is, needs to be controlled the amplitude of above-mentioned anti-phase noise signal, to reach
Just offset the effect of above-mentioned noise signal.Therefore the second amplifier 15 can be used anti-phase to be made an uproar what anti-phase adder 13 exported
Acoustical signal is amplified.
Second amplifier 15 can have current gain value when working, and micro-control unit 16 can be adjusted by control terminal 163
The current gain value of the second amplifier 15 is saved, specifically, micro-control unit 16 can be true according to the current attenuation value of attenuator 12
The current gain value of fixed second amplifier 15, and the yield value of the second amplifier 15 is arranged to working as above-mentioned second amplifier 15
Preceding yield value.
Micro-control unit 16 determines the current gain value of the second amplifier 15 according to the current attenuation value of attenuator 12, specifically
Can be:Micro-control unit 16 calculates yield value PB according to below equation:
PB=D+Din-m+Dpb-out+Ds-pb+Dm-s,
Wherein, PB represents the current gain value of the second amplifier 15, and D represents the current attenuation value of attenuator 12, microcontroller
Unit 16 can be in above-mentioned, Din-mRepresent that microphone 11 arrives the pad value of anti-phase adder 13, Dpb-outRepresent anti-phase adder 13
To the pad value of the second amplifier 15, Ds-pbRepresent that the second amplifier 15 arrives the pad value of loudspeaker 18, Dm-sRepresent that loudspeaker 15 arrive wheat
The pad value of gram wind 11, Din-mRepresent that attenuator 12 does not perform microphone 11 in the case of attenuation processing (can regard a wire as)
To the pad value of anti-phase adder 13.
Wherein, Din-m、Dpb-out、Ds-pb、Dm-sAll it is fixed testing constant, can be obtained beforehand through apparatus measures, on
State parameter and call when numerical value can be stored in microprocessing unit 16 subsequently to calculate.Micro-control unit 16 can be before
The pad value D that one step calculates, yield value PB is calculated by the formula, and the current gain value of the second amplifier 15 is true
It is set to PB, the yield value of the second amplifier 15 can be arranged to yield value PB by micro-control unit by the second control terminal 163, then
Second amplifier 15 can be amplified using yield value PB to above-mentioned anti-phase noise signal, and the anti-phase noise after amplification is believed
Number exported by output end 153 to the first input end 171 of the first blender 17.By aforesaid operations, anti-phase after amplification is made an uproar
Acoustical signal can more accurately offset noise signal.
The first input end 171 of first blender 17, which can receive the anti-phase noise after amplifying by the second amplifier 15, to be believed
Number, the second input 172 can receive the original audio signal after amplifying by the first amplifier 14, receive above-mentioned amplification
After original audio signal after rear anti-phase noise signal and above-mentioned amplification, the first blender 17 can be with anti-after above-mentioned amplification
Original audio signal synthesis mixing after phase noise signal and above-mentioned amplification plays output signal, and is exported by output end 173
To loudspeaker 18.
The above-mentioned mixing that input 181 receives can be played output signal and be converted to mixing voice signal simultaneously by loudspeaker 18
Output, include the original audio signal after amplification and amplification in the mixing voice signal of the output after above-mentioned noise reduction process
Anti-phase noise signal afterwards, the anti-phase noise signal after the amplification can offset noise signal, the sound that can receive user
Signal is only the original audio signal after amplifying, and improves noise reduction, also improves the audio signal quality that user listens to.
It is the structural representation of another Dolby circuit provided in an embodiment of the present invention referring to Fig. 3, drop as shown in Figure 3
Noise cancellation circuit is that further optimization obtains on the basis of the embodiment of the Dolby circuit shown in Fig. 1, noise reduction as shown in Figure 3 electricity
Road also includes on the basis of the Dolby circuit shown in Fig. 1:
Volume controller 19, for adjusting the yield value of the first amplifier 14;
The control terminal 191 of volume controller 19 connects the control terminal 144 of the first amplifier 14.
The volume controller mentioned in the embodiment of the present invention, can be for adjust sound signal intensity include button,
The device of knob or button, typically by controlling amplifier to realize the regulation to sound signal intensity.
Specifically, the Dolby circuit adds volume controller 19, volume control on the basis of the Dolby circuit shown in Fig. 1
Device 19 processed can adjust the yield value of the first amplifier 14 by control terminal 144 of the control terminal 191 through the first amplifier 14, with control
The size of the original audio signal after the amplification of the first amplifier 14 output is made, i.e. user can be controlled using volume as needed
Device 19 controls the sound signal intensity listened to.
Micro-control unit 16 can detect regulation situation of the volume controller 19 to the yield value of the first amplifier 14, i.e.,
The change of the yield value of the first amplifier 14 is detected, micro-control unit 16 can be adjusted according to the current gain value of the first amplifier 14
The yield value of the pad value of H-section attenuator H 12 and the second amplifier 15, i.e., the adjustable feelings of amplification situation of above-mentioned original audio signal
Under condition, micro-control unit 16 may also detect that the current gain value of the first amplifier 14, to carry out other noise reduction process steps,
The flexibility of noise reduction process is added, the broadcasting that can be directed to different original audio signals carries out accurate noise reduction process, is protecting
The Consumer's Experience of Dolby circuit and the flexibility of noise reduction process are added while having demonstrate,proved noise reduction.
Optionally, in above-mentioned Dolby circuit, micro-control unit 16 is additionally operable to it is determined that the current increasing of the second amplifier 15
After benefit value, in the case where the current gain value for detecting the second amplifier 15 is less than predetermined threshold value, the second amplifier is controlled
15 in stopping magnifying state.
Specifically, micro-control unit 16 it is determined that after the current gain value of the second amplifier 15, can detect this second
Whether the current gain value (the yield value PB calculated) of amplifier 15 is less than predetermined threshold value, and above-mentioned predetermined threshold value can be with data
Form is stored in micro-control unit 16, when the current gain value (the yield value PB calculated) of second amplifier 15 is less than in advance
If threshold value, micro-control unit 16 controls the second amplifier 15 to be in stopping magnifying state.Above-mentioned second amplifier 15 is in above-mentioned
Stop magnifying state, refer to that the second amplifier 15, without enhanced processing, directly inputs this to the input signal of input 151
Signal is exported by output end 153, i.e., the second amplifier 15 can be counted as wire, realizes the output end of anti-phase adder 13
133 and first blender 17 the effect that is directly connected to of input 171.
In these cases, the anti-phase noise signal that anti-phase adder 13 exports can be directly defeated without enhanced processing
Enter the first blender 17 and carry out mixed processing, and the high sensitivity of microphone 11 is in the sense of hearing of human ear, it is less in noise signal
In the case of, the effect of basic neutralisation noise signal can also be reached without the anti-phase noise signal of enhanced processing, by above-mentioned
Method, circuit power consumption can be reduced.
In addition, the embodiment of the Dolby circuit may be referred to the tool of the embodiment of the Dolby circuit shown in Fig. 1
Body describes, and here is omitted.
The embodiment of the present invention also provides a kind of Dolby circuit processing system, and the Dolby circuit processing system can be included as schemed
Any Dolby circuit shown in 1 or Fig. 3, wherein, the Dolby circuit also includes holder 20, and the memory 20 is based on storing
Calculation machine program, the computer program include programmed instruction, and the micro-control unit 16 is arranged to call described program to refer to
Order, perform following steps:
Micro-control unit 16 detects the yield value of the first amplifier 14, and the pad value of regulated attenuator 12 and second is put
The yield value of big device 15.
It is a kind of structural representation of Dolby circuit in Dolby circuit processing system provided in an embodiment of the present invention referring to Fig. 4
Figure, the calling end 164 for calling the connection of end 201 microprocessing unit 16 of memory 20.
The memory 20 can include read-only storage and random access memory, and provide instruction to microprocessing unit 16
And data.Above-mentioned instruction and data can be used for the yield value that micro-control unit 16 detects the first amplifier 14, and regulation declines
Subtract the pad value of device 12 and the yield value of the second amplifier 15.
Optionally, memory 20 can be also used for storing the yield value of the first amplifier 14, attenuator 12 pad value and
The yield value of second amplifier 15.
The a part of of memory 20 can also include nonvolatile RAM.For example, memory 20 can be with
The information of storage device type.
In the specific implementation, the Dolby circuit described in the embodiment of the present invention can perform Dolby circuit shown in Fig. 1 and Fig. 3
Step described by embodiment, will not be repeated here.
A kind of computer-readable recording medium is provided in another embodiment of the invention, the computer-readable recording medium
Computer program is stored with, the computer program includes programmed instruction, and said procedure is instructed when being performed by micro-control unit 16
Micro-control unit 16 is set to perform following steps:
Micro-control unit 16 detects the yield value of the first amplifier 14, and the pad value of regulated attenuator 12 and second is put
The yield value of big device 15.
The computer-readable recording medium can be in the Dolby circuit processing system described in foregoing any embodiment
The External memory equipment of the internal storage unit of microprocessing unit or the Dolby circuit, such as on microprocessing unit
The plug-in type hard disk of outfit, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD)
Card, flash card (Flash Card) etc..Further, the computer-readable recording medium both can also include in Dolby circuit
The internal storage unit of microprocessing unit also include External memory equipment.The computer-readable recording medium is used to store institute
State computer program and the Dolby circuit or other programs and data needed for system.The computer-readable recording medium
It can be also used for temporarily storing the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially
Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the drop of foregoing description
The specific work process of noise cancellation circuit and unit or equipment, the corresponding process in preceding method embodiment is may be referred to, herein no longer
Repeat.
In several embodiments provided herein, it should be understood that disclosed Dolby circuit, Dolby circuit processing
System, it can realize by another way.For example, shown or discussed mutual coupling or direct-coupling or communication
Connection can be by the INDIRECT COUPLING of some interfaces, device or unit or communication connection or electricity, it is mechanical or its
Its form connection.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
- A kind of 1. Dolby circuit, it is characterised in that including:Play sound chamber, the first amplifier, the second amplifier, micro-control unit, Attenuator, anti-phase adder and the first blender, wherein:The broadcasting sound intracavitary fixed setting microphone and loudspeaker, the output end of the microphone connect the input of the attenuator End, the output end of the attenuator connect the first input end of the anti-phase adder, the second input of the anti-phase adder The input of end and first amplifier access original audio signal, the output end connection described the of the anti-phase adder The input of two amplifiers, the output end of second amplifier connects the first input end of first blender, described micro- Second control terminal of control unit connects the control terminal of second amplifier, the first control terminal connection of the micro-control unit The control terminal of the attenuator, the test side of test side connection first amplifier of the micro-control unit, described first The output end of amplifier connects the second input of first blender, and the output end of first blender connects the loudspeaker Input;The microphone, which exports the first voice signal collected to the attenuator, first voice signal, includes noise Signal and the loudspeaker output voice signal, the attenuator will first voice signal carry out attenuation processing after export to The first input end of the anti-phase adder, the anti-phase adder is by first voice signal after attenuation processing and described Original audio signal synthesizes anti-phase noise signal, and the anti-phase noise signal is exported to second amplifier, and described the Two amplifiers are amplified to the anti-phase noise signal, and second amplifier is defeated by the anti-phase noise signal after amplification Go out to first blender;First blender amplifies the anti-phase noise signal after the amplification and described first Original audio signal synthesis mixing after the amplification of device output plays output signal and exported to the loudspeaker, the loudspeaker The mixing broadcasting output signal is converted into mixing voice signal and exported;The micro-control unit, for detecting the yield value of first amplifier and adjusting the pad value of the attenuator, also For adjusting the yield value of second amplifier.
- 2. Dolby circuit according to claim 1, it is characterised in that the micro-control unit detects first amplifier Yield value and adjust the pad value of the attenuator, be specially:The micro-control unit adjusts the current of the attenuator according to the current gain value of first amplifier detected Pad value.
- 3. Dolby circuit according to claim 2, it is characterised in that the micro-control unit is according to described detected The current gain value of one amplifier adjusts the current attenuation value of the attenuator, is specially:The micro-control unit calculates the current attenuation value D of the attenuator according to below equation:D=PA-Dm-s-Din-m-Dpa-in-Ds-pa,Wherein, D represents the current attenuation value of the attenuator, and PA represents the current gain value of first amplifier, Dm-sRepresent To the pad value of the microphone, the pad value of the loudspeaker to the microphone measured the loudspeaker in advance by instrument Arrive, Din-mRepresent that the attenuator does not perform the microphone declining to the anti-phase adder in the case of the attenuation processing Depreciation, Dpa-inRepresent that the original audio signal is output to the pad value of first amplifier, Ds-paRepresent that described first puts Pad value of the big device to the loudspeaker.
- 4. according to the Dolby circuit described in claim any one of 1-3, it is characterised in that micro-control unit regulation described the The yield value of two amplifiers, it is specially:The micro-control unit determines the current gain value of second amplifier according to the current attenuation value of the attenuator, and The yield value of second amplifier is arranged to the current gain value of second amplifier.
- 5. Dolby circuit according to claim 4, it is characterised in that the micro-control unit is worked as according to the attenuator Preceding pad value determines the current gain value of second amplifier, is specially:The micro-control unit calculates the current gain value PB of second amplifier according to below equation:PB=D+Din-m+Dpb-out+Ds-pb+Dm-s,Wherein, PB represents the current gain value of second amplifier, and D represents the current attenuation value of the attenuator, Din-mRepresent The microphone is to the pad value of the anti-phase adder, Dpb-outRepresent the anti-phase adder to second amplifier Pad value, Ds-pbRepresent second amplifier to the pad value of the loudspeaker, Dm-sRepresent the loudspeaker to the microphone Pad value, Din-mRepresent that the attenuator does not perform in the case of the attenuation processing microphone to the anti-phase adder Pad value.
- 6. Dolby circuit according to claim 5, it is characterised in thatThe micro-control unit, it is additionally operable to, it is determined that after the current gain value of second amplifier, detecting described In the case that the current gain value of two amplifiers is less than predetermined threshold value, controls second amplifier to be in and stop magnifying state.
- 7. Dolby circuit according to claim 6, it is characterised in that the Dolby circuit also includes volume controller, institute State the yield value that volume controller is used to adjust first amplifier.
- 8. Dolby circuit according to claim 7, it is characterised in that the anti-phase adder includes phase inverter and second and mixed Clutch, wherein:The output end of the phase inverter connects the first input end of second blender, and the input of the phase inverter is described The first input end of anti-phase adder, the second input of second blender input for the second of the anti-phase adder End, the output end of second blender are the output end of the anti-phase adder;The attenuator is exported to the input of the phase inverter after first voice signal is carried out into attenuation processing, described anti- First voice signal after attenuation processing is carried out anti-phase processing and obtains anti-phase voice signal by phase device, and by the anti-phase sound Sound signal is exported to second blender, and second blender is by the anti-phase voice signal and the original audio signal Anti-phase noise signal is synthesized, and the anti-phase noise signal is exported to second amplifier.
- A kind of 9. Dolby circuit processing system, it is characterised in that including the Dolby circuit as described in claim any one of 1-8, Wherein, the Dolby circuit also includes holder, and the memory is used to store computer program, and the computer program includes Programmed instruction, the micro-control unit are arranged to call described program instruction, perform following steps:The micro-control unit detects the yield value of first amplifier, and the pad value of the regulation attenuator and described The yield value of second amplifier.
- A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the microcontroller list when being performed by the micro-control unit Member detects the yield value of first amplifier, and the gain of the pad value and second amplifier of the regulation attenuator Value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710827252.5A CN107708034A (en) | 2017-09-12 | 2017-09-12 | A kind of Dolby circuit, Dolby circuit processing system and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710827252.5A CN107708034A (en) | 2017-09-12 | 2017-09-12 | A kind of Dolby circuit, Dolby circuit processing system and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107708034A true CN107708034A (en) | 2018-02-16 |
Family
ID=61172450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710827252.5A Withdrawn CN107708034A (en) | 2017-09-12 | 2017-09-12 | A kind of Dolby circuit, Dolby circuit processing system and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107708034A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108834033A (en) * | 2018-05-24 | 2018-11-16 | 深圳普罗声声学科技有限公司 | Noise-reduction method and device, the hearing aid of apparatus for processing audio |
CN111050250A (en) * | 2020-01-15 | 2020-04-21 | 北京声智科技有限公司 | Noise reduction method, device, equipment and storage medium |
CN115379353A (en) * | 2022-07-15 | 2022-11-22 | 科大讯飞股份有限公司 | Audio processing device |
-
2017
- 2017-09-12 CN CN201710827252.5A patent/CN107708034A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108834033A (en) * | 2018-05-24 | 2018-11-16 | 深圳普罗声声学科技有限公司 | Noise-reduction method and device, the hearing aid of apparatus for processing audio |
CN111050250A (en) * | 2020-01-15 | 2020-04-21 | 北京声智科技有限公司 | Noise reduction method, device, equipment and storage medium |
CN115379353A (en) * | 2022-07-15 | 2022-11-22 | 科大讯飞股份有限公司 | Audio processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102172044B (en) | Control method and apparatus for audio output | |
CN203761556U (en) | Double-microphone noise reduction earphone | |
CN112954115B (en) | Volume adjusting method and device, electronic equipment and storage medium | |
CN112637724B (en) | Earphone noise reduction method, system and storage medium | |
TW201043045A (en) | Acoustic in-ear detection for earpiece | |
KR100916726B1 (en) | The hearing level formaly as hearing loss measure system and method and the audio signal output controller using the same and method | |
CN111508510B (en) | Audio processing method and device, storage medium and electronic equipment | |
CN102293013A (en) | Acoustic in-ear detection for earpiece | |
CN106664471A (en) | Ear pressure sensors integrated with speakers for smart sound level exposure | |
CN107708034A (en) | A kind of Dolby circuit, Dolby circuit processing system and computer-readable medium | |
CN104811155A (en) | Balance device adjusting method and device | |
CN106937190A (en) | Terminal, noise cancelling headphone and earphone noise-reduction method | |
CN107170463A (en) | Method for regulating audio signal and system | |
CN102104815A (en) | Automatic volume adjusting earphone and earphone volume adjusting method | |
WO2021115006A1 (en) | Method and apparatus for protecting user hearing, and electronic device | |
CN103702253B (en) | A kind of information processing method and electronic equipment | |
CN103796136B (en) | Equipment and method for ensuring output loudness and tone quality of different sound effect modes | |
CN109498030A (en) | A kind of free found field hearing test system and method | |
CN101783656A (en) | Loudness control method, module and device of stereo system | |
KR20220080066A (en) | Environmental and aggregate acoustic dosimetry | |
CN110248268A (en) | A kind of wireless headset noise-reduction method, system and wireless headset and storage medium | |
CN108600915A (en) | A kind of method, apparatus of audio output, harmonic distortion filtering equipment and terminal | |
CN101600132B (en) | Method and device for adjusting audio file play effect on portable handheld device | |
CN104581468A (en) | Headphone with active noise cancellation function and automatic calibration method of headphone | |
CN105748079B (en) | A kind of hearing test method and system based on bluetooth headset |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180216 |
|
WW01 | Invention patent application withdrawn after publication |