CN113825067B - Audio power amplifier driving circuit, circuit control method and device - Google Patents
Audio power amplifier driving circuit, circuit control method and device Download PDFInfo
- Publication number
- CN113825067B CN113825067B CN202111134091.4A CN202111134091A CN113825067B CN 113825067 B CN113825067 B CN 113825067B CN 202111134091 A CN202111134091 A CN 202111134091A CN 113825067 B CN113825067 B CN 113825067B
- Authority
- CN
- China
- Prior art keywords
- amplifier
- output end
- tube
- nmos tube
- output stage
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000001514 detection method Methods 0.000 claims description 28
- 230000000694 effects Effects 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 11
- 230000005236 sound signal Effects 0.000 description 10
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
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
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Amplifiers (AREA)
Abstract
The application provides an audio power amplifier driving circuit, a circuit control method, a device, an electronic device and a computer storage medium, wherein the circuit comprises: the input end of the amplifier is used for receiving a radio source signal; a switching circuit; the first output stage is connected with the output end of the amplifier through the switch circuit, and the second output stage is connected with the output end of the amplifier; and the controller is connected with the switch circuit and used for controlling the switch circuit to be opened and closed according to the intensity of the sound source signal so as to control the connection and disconnection of the first output stage, thereby reducing the power consumption of the audio power amplifier driving circuit when playing the sound source signal with low intensity.
Description
Technical Field
The present application relates to the field of circuit design, and in particular, to an audio power amplifier driving circuit, a circuit control method, an apparatus, an electronic device, and a computer storage medium.
Background
The audio power amplifier driving circuit is an important component in an audio system, and the structure of the audio power amplifier driving circuit generally adopts a multi-stage amplifier to amplify relatively small audio signals, provides larger gain to increase the power of the audio power amplifier driving circuit, and then provides large enough driving capability for a load by an output stage to realize power amplification.
In the existing audio power amplifier driving circuit, the output stage usually adopts a transistor with larger size, so that enough load driving capability can be provided when audio content with higher volume is played. A certain quiescent current is generated per unit size of transistor. However, in the practical application process, the played audio content does not always maintain a higher volume, and because the larger transistor is provided, even when the audio content with a low volume is played, the transistor of the output stage still generates a larger quiescent current, so that the power consumption of the audio power amplifier driving circuit is larger.
Disclosure of Invention
An embodiment of the application aims to provide an audio power amplifier driving circuit, a circuit control method, a circuit control device, electronic equipment and a computer storage medium, which are used for dynamically adjusting the size of an output stage transistor so as to reduce the power consumption of the audio power amplifier driving circuit.
In a first aspect, the present invention provides an audio power amplifier driving circuit, including: the input end of the amplifier is used for receiving a radio source signal; a switching circuit; the first output stage is connected with the output end of the amplifier through the switch circuit, and the second output stage is connected with the output end of the amplifier; and the controller is connected with the switching circuit and used for controlling the switching of the switching circuit according to the intensity of the sound source signal so as to control the connection and disconnection of the first output stage.
In the embodiment of the application, the first output stage and the second output stage are arranged so that the first output stage and the second output stage can be simultaneously connected for driving when the signal intensity of the sound source is larger, and the first output stage can be disconnected for driving only through the second output stage when the signal intensity of the sound source is smaller. Compared with the prior art that only one output stage which can generate larger static current is arranged, the application can reduce the static current generated by the output stage when the sound source signal intensity is smaller, thereby reducing the power consumption of the audio power amplifier driving circuit.
In an alternative embodiment, the amplifier includes a first output and a second output; the first output stage is connected with a first output end and a second output end of the amplifier through the switch circuit; the second output stage is connected to the first output and the second output of the amplifier.
In an alternative embodiment, the first output stage includes a first PMOS transistor and a first NMOS transistor, where a gate of the first PMOS transistor is connected to the first output end of the amplifier through the switch circuit, a gate of the first NMOS transistor is connected to the second output end of the amplifier through the switch circuit, a source of the first PMOS transistor is connected to a power supply, a source of the first NMOS transistor is grounded, and a drain of the first PMOS transistor is connected to a drain of the first NMOS transistor; the second output stage comprises a second PMOS tube and a second NMOS tube, the grid electrode of the second PMOS tube is connected with the first output end of the amplifier, the grid electrode of the second NMOS tube is connected with the second output end of the amplifier, the source electrode of the second PMOS tube is connected with a power supply, the source electrode of the second NMOS tube is grounded, and the drain electrode of the second PMOS tube is connected with the drain electrode of the second NMOS tube; the size of the second PMOS tube is smaller than that of the first PMOS tube, and the size of the second NMOS tube is smaller than that of the first NMOS tube; and/or the switching circuit comprises: a first switch, a second switch, a third switch and a fourth switch; the first switch is arranged between the grid electrode of the first PMOS tube and the first output end of the amplifier; the second switch is arranged between the grid electrode of the first PMOS tube and the source electrode of the first PMOS tube; the third switch is arranged between the grid electrode of the first NMOS tube and the second output end of the amplifier; the fourth switch is arranged between the grid electrode of the first NMOS tube and the source electrode of the first NMOS tube.
In an alternative embodiment, the audio power amplifier driving circuit further includes a third output stage and a fourth output stage; the amplifier comprises a first output end, a second output end, a third output end and a fourth output end; the first output stage is connected with a first output end and a second output end of the amplifier through the switch circuit; the second output stage is connected with the first output end and the second output end of the amplifier; the third output stage is connected with a third output end and a fourth output end of the amplifier through the switch circuit; the fourth output stage is connected to the third and fourth outputs of the amplifier.
In the embodiment of the application, the audio power amplifier driving circuit supports the amplifying mode of the differential power amplifier by arranging the third output stage and the fourth output stage.
In an alternative embodiment, the first output stage includes a first PMOS transistor and a first NMOS transistor, where a gate of the first PMOS transistor is connected to the first output end of the amplifier through the switch circuit, a gate of the first NMOS transistor is connected to the second output end of the amplifier through the switch circuit, a source of the first PMOS transistor is connected to a power supply, a source of the first NMOS transistor is grounded, and a drain of the first PMOS transistor is connected to a drain of the first NMOS transistor; the second output stage comprises a second PMOS tube and a second NMOS tube, the grid electrode of the second PMOS tube is connected with the first output end of the amplifier, the grid electrode of the second NMOS tube is connected with the second output end of the amplifier, the source electrode of the second PMOS tube is connected with a power supply, the source electrode of the second NMOS tube is grounded, and the drain electrode of the second PMOS tube is connected with the drain electrode of the second NMOS tube; the third output stage comprises a third PMOS tube and a third NMOS tube, wherein the grid electrode of the third PMOS tube is connected with the third output end of the amplifier through the switch circuit, the grid electrode of the third NMOS tube is connected with the fourth output end of the amplifier through the switch circuit, the source electrode of the third PMOS tube is connected with a power supply, the source electrode of the third NMOS tube is grounded, and the drain electrode of the third PMOS tube is connected with the drain electrode of the third NMOS tube; the fourth output stage comprises a fourth PMOS tube and a fourth NMOS tube, the grid electrode of the fourth PMOS tube is connected with the third output end of the amplifier, the grid electrode of the fourth NMOS tube is connected with the fourth output end of the amplifier, the source electrode of the fourth PMOS tube is connected with a power supply, the source electrode of the second NMOS tube is grounded, and the drain electrode of the fourth PMOS tube is connected with the drain electrode of the fourth NMOS tube; the size of the second PMOS tube is smaller than that of the first PMOS tube, and the size of the second NMOS tube is smaller than that of the first NMOS tube; the size of the fourth PMOS tube is smaller than that of the third PMOS tube, and the size of the fourth NMOS tube is smaller than that of the third NMOS tube.
In an alternative embodiment, the controller includes: and the silence detection module is used for detecting a silence signal in the sound source signal.
In the embodiment of the application, the time period with lower amplitude of the sound source signal can be more accurately determined by carrying out silence detection on the sound source signal, and then the connection between the first output stage and the amplifier is disconnected in the time period, and only the second output stage is used as the audio power amplifier driving circuit, so that the quiescent current is reduced, and the power consumption of the audio power amplifier driving circuit when playing the sound source signal with low intensity is reduced.
In an alternative embodiment, the controller further comprises: and the voice activity detection module is used for detecting the voice activity of the sound source signal.
In the embodiment of the application, the silence period in the voice signal or the intermittence or pause of the voice signal between adjacent words or phonemes can be more accurately determined by detecting the voice activity of the voice source signal, so that the connection between the first output stage and the amplifier is disconnected in the time period, and only the second output stage is used as the audio power amplifier driving circuit, thereby reducing the quiescent current and reducing the power consumption of the audio power amplifier driving circuit when playing the low-intensity voice source signal.
In a second aspect, the present invention provides a circuit control method, including: acquiring sound source data and/or volume set by audio playing equipment; detecting the amplitude of the sound source data; and determining the number of output stages connected to the audio power amplifier driving circuit according to the amplitude and/or the volume of the sound source data.
In an optional embodiment, when the audio source data is music data, the detecting the amplitude of the audio source data includes: and performing silence detection on the music data.
In an optional embodiment, when the sound source data is voice data, the performing amplitude detection on the sound source data includes: and detecting voice activity of the voice data.
In a third aspect, the present invention provides a circuit control device comprising: the acquisition module is used for acquiring the sound source data; the detection module is used for detecting the amplitude of the sound source data; and the determining module is used for determining the number of output stages connected to the audio power amplifier driving circuit according to the amplitude of the sound source data.
In an optional embodiment, when the sound source data is music data, the detection module is specifically configured to perform silence detection on the music data.
In an alternative embodiment, when the sound source data is voice data, the detection module is specifically configured to perform voice activity detection on the voice data.
In a fourth aspect, the present invention provides an electronic device comprising: a processor, a memory, and a bus; the processor and the memory complete communication with each other through the bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of the preceding embodiments.
In a fifth aspect, the present invention provides a computer storage medium having stored thereon computer program instructions which, when read and executed by a computer, perform a method according to any of the preceding embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a block diagram of an audio power amplifier driving circuit according to an embodiment of the present application;
Fig. 2 is a circuit diagram of an audio power amplifier driving circuit according to an embodiment of the present application;
fig. 3 is a circuit diagram of another audio power amplifier driving circuit according to an embodiment of the present application;
FIG. 4 is a flow chart of a circuit control method according to an embodiment of the present application;
fig. 5 is a block diagram of a circuit control device according to an embodiment of the present application;
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Icon: 100-an audio power amplifier driving circuit; a 101-amplifier; 102-a switching circuit; 103-a first output stage; 104-a second output stage; 105-a controller; 106-a third output stage; 107-fourth output stage; 500-circuit control means; 501-an acquisition module; 502-a detection module; 503-a determination module; 600-an electronic device; 601-a processor; 602-a communication interface; 603-a memory; 604-bus.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a block diagram of an audio power amplifier driving circuit according to an embodiment of the present application, where the audio power amplifier driving circuit 100 may include: an amplifier 101, a switching circuit 102, a first output stage 103, a second output stage 104, and a controller 105.
The audio power amplifier driving circuit 100 may be provided in a portable earphone. It should be noted that, the embodiment of the present application is not limited to the application of the audio power amplifier driving circuit 100 to the portable earphone, and the audio power amplifier driving circuit 100 may be used in various devices for playing audio, such as a television, a mobile phone, etc.
The input of the amplifier 101 is used for receiving a radio source signal. The first output stage 103 is connected to the output of the amplifier 101 via a switching circuit 102, and the second output stage 104 is connected to the output of the amplifier 101. The controller 105 is connected to the switch circuit 102, and is configured to control the switch circuit 102 to switch on and off according to the intensity of the audio signal, so as to control the first output stage 103 to switch on and off.
In the embodiment of the present application, the controller 105 is configured to detect the intensity of the sound source signal input to the amplifier 101, and when the intensity of the sound source signal is high (i.e., the amplitude of the sound source signal is higher than the preset threshold), this means that the required load driving capability is also high. At this time, the controller 105 controls the switching circuit 102 to be turned on so that the first output stage 103 is turned on with the amplifier 101, and both the first output stage 103 and the second output stage 104 are connected with the amplifier 101, thereby enabling to provide a large load driving capability.
When the intensity of the sound source signal is small (i.e., the amplitude of the sound source signal is lower than the preset threshold), this means that the required load driving capability is also low. At this time, the controller 105 controls the switching circuit 102 to be turned off so that the first output stage 103 is disconnected from the amplifier 101, only the second output stage 104 is connected to the amplifier 101, and the load driving capability is provided by the second output stage 104. The quiescent current is reduced compared to when the first output stage 103 and the second output stage 104 are operated simultaneously, thereby reducing the power consumption of the audio power amplifier driving circuit 100 when playing low intensity audio source signals.
It should be noted that the above-mentioned preset threshold may be determined according to the maximum load driving capability that the second output stage 104 can provide. When the second output stage 104 provides the maximum load driving capability, the amplitude corresponding to the audio signal is the preset threshold.
Optionally, the controller 105 may include a silence detection module for detecting a silence signal in the sound source signal. In practical application, when the audio signal is a music signal, it can be understood that playing music or audio content in video, there is often a relatively large period of silence time in the audio signal, and silence detection is performed by the silence detection module to determine when the audio signal is in a silence state. When the audio signal is in a mute state (the amplitude of the audio signal is certainly lower than the preset threshold), the controller 105 controls the switch circuit 102 to be turned off, so as to reduce the power consumption of the audio power amplifier driving circuit 100.
Optionally, the controller 105 may include a voice activity detection module for detecting language activity of the sound source signal. In practical applications, when the source signal is a speech signal, the speech often has a number of silence periods when the speech is played, and there are also pauses or pauses in the speech signal between adjacent words or phonemes. When this occurs, the controller 105 controls the switching circuit 102 to be turned off, reducing the power consumption of the audio power amplifier driving circuit 100.
The audio power amplifier driving circuit 100 may be a single-ended power amplifier circuit or a differential power amplifier circuit, and corresponds to different amplifying modes, and the two amplifying models are respectively described below.
Referring to fig. 2, fig. 2 is a circuit diagram of an audio power amplifier driving circuit according to an embodiment of the application.
In the embodiment of the present application, the audio power amplifier driving circuit 100 is a single-ended power amplifier circuit, the amplifier 101 includes a first output end Vop1 and a second output end Von1, and the first output stage 103 is connected to the first output end Vop1 and the second output end Von1 of the amplifier 101 through the switch circuit 102.
The first output stage 103 includes a first PMOS tube PM1 and a first NMOS tube NM1, where a gate of the first PMOS tube PM1 is connected to the first output Vop1 of the amplifier 101 through the switch circuit 102, a gate of the first NMOS tube NM1 is connected to the second output Von1 of the amplifier 101 through the switch circuit 102, a source of the first PMOS tube PM1 is connected to a power supply, and a source of the first NMOS tube NM1 is grounded, and a drain of the first PMOS tube PM1 is connected to a drain of the first NMOS tube NM 1.
The second output stage 104 includes a second PMOS tube PM2 and a second NMOS tube NM2, where a gate of the second PMOS tube PM2 is connected to the first output Vop1 of the amplifier 101, a gate of the second NMOS tube NM2 is connected to the second output Von1 of the amplifier 101, a source of the second PMOS tube PM2 is connected to a power supply, a source of the second NMOS tube NM2 is grounded, and a drain PM2 of the second PMOS tube is connected to a drain of the second NMOS tube NM 2.
It should be noted that the size of the second PMOS is smaller than the size of the first PMOS, and the size of the second NMOS is smaller than the size of the first NMOS.
The switching circuit 102 includes a first switch S1, a second switch S2, a third switch S3, and a fourth switch S4. The first switch S1 is arranged between the grid electrode of the first PMOS tube PM1 and the first output end Vop1 of the amplifier 101; the second switch S2 is arranged between the grid electrode of the first PMOS tube PM1 and the source electrode of the first PMOS tube PM 1; the third switch S3 is disposed between the gate of the first NMOS tube PM1 and the second output terminal Von1 of the amplifier 101; the fourth switch S4 is disposed between the gate NM1 of the first NMOS transistor and the source of the first NMOS transistor NM 1.
It should be noted that the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 may be controlled switches, and the four switches are controlled to be turned on or turned off by the controller 105.
The audio power amplifier driving circuit 100 further comprises an input resistor R1 connected to the input of the amplifier 101 and a feedback resistor R2 arranged between the input of the amplifier 101 and the first output stage 103.
The working principle of the circuit diagram provided by the embodiment of the application is described below.
In the embodiment of the present application, when the amplitude of the input audio signal is lower than the preset threshold, the first switch S1 and the third switch S3 are closed, and the second switch S2 and the fourth switch S4 are turned on. According to the circuit principle, a first output stage 103 formed by the first PMOS tube PM1 and the first NMOS tube NM1 and a second output stage 104 formed by the second PMOS tube PM2 and the second NMOS tube NM2 are connected to the amplifier 101. At this time, the size of the output stage transistor of the audio power amplifier driving circuit 100 can be understood as the sum of the transistor sizes of the first output stage 103 and the second output stage 104, and is larger, which can provide a larger load driving capability. But the quiescent current generated is higher and the power consumption of the audio power amplifier driving circuit 100 is also higher.
In the embodiment of the present application, when the amplitude of the input audio signal is lower than the preset threshold, the first switch S1 and the third switch S3 are opened, and the second switch S2 and the fourth switch S4 are closed. According to the circuit principle, only the second PMOS tube PM2 and the second NMOS tube NM2 are connected to the amplifier 101. At this time, the size of the output stage transistor of the audio power amplifier driving circuit 100 corresponds to the transistor size of the second output stage 104, and is reduced compared with the case where the amplitude of the input sound source signal is higher than the preset threshold. Although the load driving capability of the audio power amplifier driving circuit 100 is reduced at this time, the load driving capability provided by the second output stage 104 can satisfy the amplification requirement due to the low amplitude of the audio source signal at this time. By the mode, the static current generated when the audio power amplifier driving circuit 100 works is reduced, and the power consumption of the audio power amplifier driving circuit 100 is further reduced.
As an alternative implementation manner, the ratio of the size of the second PMOS tube to the size of the first PMOS tube may be 1:3, and the ratio of the size of the second NMOS tube to the size of the first NMOS tube may also be 1:3.
It should be noted that the ratio of the size of the second PMOS tube to the size of the first PMOS tube and the ratio of the size of the second NMOS tube to the size of the first NMOS tube may be other ratios, for example, 1:2, 1:4, etc., which is not limited in the present application.
Optionally, on the basis of the audio power amplifier driving circuit 100, a plurality of first output stages 103 may be further provided, and correspondingly, each time one more first output stage 103 is provided, 4 more switches are required to be provided, and the structures and connection relationships of the plurality of first output stages 103 are similar. Each time one more first output stage 103 is provided, one more preset threshold value may be provided. When smaller than a first preset threshold (the smallest threshold of the plurality of preset thresholds), only the second output stage 104 is connected to the amplifier, when larger than the first preset threshold and smaller than the second preset threshold (the second smallest threshold of the plurality of preset thresholds), one first output stage 103 is connected, and so on.
It should be noted that the sizes of the transistors in the plurality of first output stages 103 may be flexibly set according to actual requirements.
Referring to fig. 3, fig. 3 is a circuit diagram of another audio power amplifier driving circuit according to an embodiment of the application.
In the embodiment of the present application, the audio power amplifier driving circuit 100 is a differential power amplifier circuit, the audio power amplifier driving circuit 100 further includes a third output stage 106 and a fourth output stage 107, the amplifier 101 includes a first output terminal Vop1, a second output terminal Von1, a third output terminal Vop2 and a fourth output terminal Von2, and the first output stage 103 is connected with the first output terminal Vop1 and the second output terminal Von1 of the amplifier 101 through the switch circuit 102; the second output stage 104 is connected to the first output Vop1 and the second output Von1 of the amplifier 101. The third output stage 106 is connected to the third output terminal Vop2 and the fourth output terminal Von2 of the amplifier 101 via the switching circuit 102; the fourth output stage 107 is connected to the third output Vop2 and the fourth output Von2 of the amplifier 101.
The first output stage 103 includes a first PMOS pipe PM1 and a first NMOS pipe NM1, the second output stage 104 includes a second PMOS pipe PM2 and a second NMOS pipe NM2, the third output stage 106 includes a third PMOS pipe PM3 and a third NMOS pipe NM3, and the fourth output stage 107 includes a fourth PMOS pipe PM4 and a fourth NMOS pipe NM4. The switching circuit 102 includes a first switch S1, a second switch S2, a third switch S3, a fourth switch S4, a fifth switch S5, a sixth switch S6, a seventh switch S7, and an eighth switch S8.
As can be seen from fig. 3, the structures of the first output stage and the second output stage and the connection relationship between the first output stage and the second output stage and the other devices in the embodiment of the application are the same as those of the first output stage and the second output stage in fig. 2, for brevity, the description is not repeated here.
According to the difference between the differential power amplifier circuit and the single-ended power amplifier circuit, the structures of the third output stage and the fourth output stage in the embodiment of the application and the connection relationship with other devices are similar to those of the first output stage and the second output stage in the embodiment of the application, and the connection relationship with other devices is not repeated for brevity of description.
In addition, the audio power amplifier driving circuit 100 further includes an input resistor R1 and a resistor R2 connected to two input terminals of the amplifier 101, respectively, and a feedback resistor R3 provided between the input terminal of the amplifier 101 and the first output stage 103, and a feedback resistor R4 provided between the other input terminal of the amplifier 101 and the third output stage.
Optionally, in the embodiment of the present application, a plurality of first output stages and a plurality of third output stages may also be provided, and a specific expansion manner is similar to the foregoing embodiment corresponding to fig. 2, so that the description is concise and will not be repeated herein.
Based on the same inventive concept, please refer to fig. 4, fig. 4 is a flowchart of a circuit control method according to an embodiment of the present application. The circuit control method provided by the embodiment of the present application is applied to the controller 105 of the audio power amplifier driving circuit 100 in the foregoing embodiment, and the circuit control method may include the following steps:
Step 401: acquiring sound source data and/or volume set by audio playing equipment;
Step 402: detecting the amplitude of the sound source data;
Step 403: and determining the number of output stages connected to the audio power amplifier driving circuit according to the amplitude and/or the volume of the sound source data.
It should be noted that the method provided by the embodiment of the present application may be applied to the audio power amplifier driving circuit provided by the foregoing embodiment.
In the embodiment of the application, firstly, sound source data is acquired. The sound source data may be a piece of music being played, voice data of a conversation being performed by the user, or the like.
After the sound source data is acquired, amplitude detection is carried out on the sound source data. In the amplitude detection, the peak value of the detected sound source data may be detected, or the average amplitude value of the detected sound source data may be detected.
After the amplitude of the sound source data is determined, the number of output stages connected to the audio power amplifier driving circuit is determined according to the amplitude of the sound source data. Specifically, the amplitude of the sound source data is proportional to the number of output stages connected to the audio power amplifier driving circuit. That is, the larger the amplitude of the sound source data is, the larger the number of output stages connected to the audio power amplifier driving circuit is, so as to improve the load driving capability of the output stages. If the amplitude of the sound source data is smaller, the number of output stages connected to the audio power amplifier driving circuit is smaller, so that the quiescent current generated by the output connection of the audio power amplifier driving circuit is reduced, and the power consumption of the audio power amplifier driving circuit is further reduced.
In addition, the number of output stages connected to the audio power amplifier driving circuit may be adjusted according to the volume set by the audio playback apparatus, in addition to the amplitude of the sound source data. The volume of the audio playing device is proportional to the number of output stages connected to the audio power amplifier driving circuit.
As an alternative embodiment, when the sound source data is music data, silence detection is performed on the music data in consideration of the fact that the music data tends to have a large period of silence time.
As an alternative embodiment, when the sound source data is voice data, voice data is subjected to language activity detection in consideration of that the voice data often has a lot of silence periods and that the voice signal also has pauses or pauses between adjacent words or phonemes.
In addition, the embodiment of the application also provides a circuit control device. Referring to fig. 5, fig. 5 is a block diagram of a circuit control device according to an embodiment of the present application, where the circuit control device 500 may include:
An acquisition module 501, configured to acquire sound source data;
The detection module 502 is configured to perform amplitude detection on the sound source data;
A determining module 503, configured to determine the number of output stages connected to the audio power amplifier driving circuit according to the amplitude of the audio source data.
In an alternative embodiment, when the sound source data is music data, the detection module 502 is specifically configured to perform silence detection on the music data.
In an alternative embodiment, when the sound source data is voice data, the detection module 502 is specifically configured to perform voice activity detection on the voice data.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device 600 according to an embodiment of the application, where the electronic device 600 includes: at least one processor 601, at least one communication interface 602, at least one memory 603 and at least one bus 604. Where bus 604 is used to enable direct connection communication of these components, communication interface 602 is used for signaling or data communication with other node devices, and memory 603 stores machine readable instructions executable by processor 601. When the electronic device 600 is in operation, the processor 601 communicates with the memory 603 via the bus 604, and machine readable instructions when invoked by the processor 601 perform a circuit control method as described above.
The processor 601 may be an integrated circuit chip having signal processing capabilities. The processor 601 may be a general-purpose processor including a central processing unit (CentralProcessing Unit, CPU), a network processor (NetworkProcessor, NP), and the like; but may also be a Digital signal processor (Digital SignalProcessing, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components. Which may implement or perform the various methods, steps, and logical blocks disclosed in embodiments of the application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The Memory 603 may include, but is not limited to, random access Memory (RandomAccess Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), and the like.
It is to be understood that the configuration shown in fig. 6 is illustrative only, and that electronic device 600 may also include more or fewer components than shown in fig. 6, or have a different configuration than shown in fig. 6. The components shown in fig. 6 may be implemented in hardware, software, or a combination thereof. In the embodiment of the present application, the electronic device 600 may be, but is not limited to, a physical device such as a desktop, a notebook, a smart phone, an intelligent wearable device, a vehicle-mounted device, or a virtual device such as a virtual machine. In addition, the electronic device 600 need not be a single device, but may be a combination of multiple devices, such as a server cluster, or the like.
In addition, the embodiment of the present application also provides a computer storage medium, on which a computer program is stored, which when executed by a computer, performs the steps of the circuit control method as in the above embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
Further, the units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Furthermore, functional modules in various embodiments of the present application may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM) random access Memory (RandomAccess Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (8)
1. An audio power amplifier driving circuit, comprising:
the input end of the amplifier is used for receiving a radio source signal;
A switching circuit;
The first output stage is connected with the output end of the amplifier through the switch circuit, and the second output stage is connected with the output end of the amplifier;
The controller is connected with the switch circuit and used for controlling the switch circuit to be opened and closed according to the intensity of the sound source signal so as to control the connection and disconnection of the first output stage;
the amplifier comprises a first output end and a second output end;
The first output stage is connected with a first output end and a second output end of the amplifier through the switch circuit;
The second output stage is connected with the first output end and the second output end of the amplifier;
The first output stage comprises a first PMOS tube and a first NMOS tube, wherein the grid electrode of the first PMOS tube is connected with the first output end of the amplifier through the switch circuit, the grid electrode of the first NMOS tube is connected with the second output end of the amplifier through the switch circuit, the source electrode of the first PMOS tube is connected with a power supply, the source electrode of the first NMOS tube is grounded, and the drain electrode of the first PMOS tube is connected with the drain electrode of the first NMOS tube;
The second output stage comprises a second PMOS tube and a second NMOS tube, the grid electrode of the second PMOS tube is connected with the first output end of the amplifier, the grid electrode of the second NMOS tube is connected with the second output end of the amplifier, the source electrode of the second PMOS tube is connected with a power supply, the source electrode of the second NMOS tube is grounded, and the drain electrode of the second PMOS tube is connected with the drain electrode of the second NMOS tube;
the size of the second PMOS tube is smaller than that of the first PMOS tube, and the size of the second NMOS tube is smaller than that of the first NMOS tube;
and/or the switching circuit comprises:
A first switch, a second switch, a third switch and a fourth switch;
the first switch is arranged between the grid electrode of the first PMOS tube and the first output end of the amplifier;
the second switch is arranged between the grid electrode of the first PMOS tube and the source electrode of the first PMOS tube;
The third switch is arranged between the grid electrode of the first NMOS tube and the second output end of the amplifier;
The fourth switch is arranged between the grid electrode of the first NMOS tube and the source electrode of the first NMOS tube.
2. The circuit of claim 1, wherein the audio power amplifier driving circuit further comprises a third output stage and a fourth output stage; the amplifier comprises a first output end, a second output end, a third output end and a fourth output end;
The first output stage is connected with a first output end and a second output end of the amplifier through the switch circuit;
The second output stage is connected with the first output end and the second output end of the amplifier;
the third output stage is connected with a third output end and a fourth output end of the amplifier through the switch circuit;
The fourth output stage is connected to the third and fourth outputs of the amplifier.
3. The circuit of claim 2, wherein the first output stage comprises a first PMOS and a first NMOS, the gate of the first PMOS is connected to the first output of the amplifier through the switch circuit, the gate of the first NMOS is connected to the second output of the amplifier through the switch circuit, the source of the first PMOS is connected to a power supply, the source of the first NMOS is grounded, and the drain of the first PMOS is connected to the drain of the first NMOS;
The second output stage comprises a second PMOS tube and a second NMOS tube, the grid electrode of the second PMOS tube is connected with the first output end of the amplifier, the grid electrode of the second NMOS tube is connected with the second output end of the amplifier, the source electrode of the second PMOS tube is connected with a power supply, the source electrode of the second NMOS tube is grounded, and the drain electrode of the second PMOS tube is connected with the drain electrode of the second NMOS tube;
the third output stage comprises a third PMOS tube and a third NMOS tube, wherein the grid electrode of the third PMOS tube is connected with the third output end of the amplifier through the switch circuit, the grid electrode of the third NMOS tube is connected with the fourth output end of the amplifier through the switch circuit, the source electrode of the third PMOS tube is connected with a power supply, the source electrode of the third NMOS tube is grounded, and the drain electrode of the third PMOS tube is connected with the drain electrode of the third NMOS tube;
The fourth output stage comprises a fourth PMOS tube and a fourth NMOS tube, the grid electrode of the fourth PMOS tube is connected with the third output end of the amplifier, the grid electrode of the fourth NMOS tube is connected with the fourth output end of the amplifier, the source electrode of the fourth PMOS tube is connected with a power supply, the source electrode of the second NMOS tube is grounded, and the drain electrode of the fourth PMOS tube is connected with the drain electrode of the fourth NMOS tube;
the size of the second PMOS tube is smaller than that of the first PMOS tube, and the size of the second NMOS tube is smaller than that of the first NMOS tube;
the size of the fourth PMOS tube is smaller than that of the third PMOS tube, and the size of the fourth NMOS tube is smaller than that of the third NMOS tube.
4. A circuit according to any one of claims 1 to 3, wherein the controller comprises: and the silence detection module is used for detecting a silence signal in the sound source signal.
5. A circuit according to any one of claims 1-3, wherein the controller further comprises: and the voice activity detection module is used for detecting the voice activity of the sound source signal.
6. A circuit control method, comprising:
acquiring sound source data and/or volume set by audio playing equipment;
Detecting the amplitude of the sound source data;
The number of output stages to be connected to the audio power amplifier driving circuit according to any one of claims 1 to 5 is determined according to the amplitude and/or the volume of the sound source data.
7. A circuit control device, comprising:
the acquisition module is used for acquiring the sound source data;
The detection module is used for detecting the amplitude of the sound source data;
A determining module, configured to determine the number of output stages connected to the audio power amplifier driving circuit according to the amplitude of the audio source data.
8. An electronic device, comprising: a processor, a memory, and a bus; the processor and the memory complete communication with each other through the bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions capable of performing the method of claim 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111134091.4A CN113825067B (en) | 2021-09-27 | 2021-09-27 | Audio power amplifier driving circuit, circuit control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111134091.4A CN113825067B (en) | 2021-09-27 | 2021-09-27 | Audio power amplifier driving circuit, circuit control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113825067A CN113825067A (en) | 2021-12-21 |
CN113825067B true CN113825067B (en) | 2024-06-11 |
Family
ID=78915658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111134091.4A Active CN113825067B (en) | 2021-09-27 | 2021-09-27 | Audio power amplifier driving circuit, circuit control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113825067B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3988694A (en) * | 1974-12-20 | 1976-10-26 | Hitachi, Ltd. | Automatic level controller |
CN202077000U (en) * | 2011-05-20 | 2011-12-14 | 深圳市纳芯威科技有限公司 | Audio frequency power amplifier automatic switching circuit and power amplifier chip |
CN102386867A (en) * | 2010-06-14 | 2012-03-21 | 哈曼国际工业有限公司 | High efficiency audio amplifier system |
CN102386868A (en) * | 2010-06-14 | 2012-03-21 | 哈曼国际工业有限公司 | High efficiency balanced output amplifier system |
US10333473B1 (en) * | 2018-04-26 | 2019-06-25 | Synaptics Incorporated | Stabilizing high performance audio amplifiers |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7843271B2 (en) * | 2006-03-27 | 2010-11-30 | Freescale Semiconductor, Inc. | Audio amplifier and methods for use therewith |
-
2021
- 2021-09-27 CN CN202111134091.4A patent/CN113825067B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3988694A (en) * | 1974-12-20 | 1976-10-26 | Hitachi, Ltd. | Automatic level controller |
CN102386867A (en) * | 2010-06-14 | 2012-03-21 | 哈曼国际工业有限公司 | High efficiency audio amplifier system |
CN102386868A (en) * | 2010-06-14 | 2012-03-21 | 哈曼国际工业有限公司 | High efficiency balanced output amplifier system |
CN202077000U (en) * | 2011-05-20 | 2011-12-14 | 深圳市纳芯威科技有限公司 | Audio frequency power amplifier automatic switching circuit and power amplifier chip |
US10333473B1 (en) * | 2018-04-26 | 2019-06-25 | Synaptics Incorporated | Stabilizing high performance audio amplifiers |
Also Published As
Publication number | Publication date |
---|---|
CN113825067A (en) | 2021-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9955254B2 (en) | Systems and methods for preventing distortion due to supply-based modulation index changes in an audio playback system | |
US10333473B1 (en) | Stabilizing high performance audio amplifiers | |
US11201598B2 (en) | Volume adjusting method and mobile terminal | |
CN107465824B (en) | Volume adjustment method, device, mobile terminal and storage medium | |
CN112235692B (en) | Audio switching circuit, electronic device and audio switching method | |
US20240136986A1 (en) | Driving circuit for audio power amplifier and electronic device | |
JP4949208B2 (en) | Speech processing system | |
US9065414B2 (en) | Automatic volume reduction | |
CN107436751A (en) | Volume adjustment method, device, terminal equipment and storage medium | |
CN107506168B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
CN107483734B (en) | Volume adjustment method, device, terminal device and storage medium | |
CN107479852B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
US11848652B2 (en) | Amplifier circuitry | |
CN113825067B (en) | Audio power amplifier driving circuit, circuit control method and device | |
JP6018491B2 (en) | D / A conversion circuit, zero cross point detection method, in-vehicle audio apparatus, audio component apparatus, and electronic apparatus using the same | |
CN107479851B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
CN111726733A (en) | Electronic device, audio output control method, audio output control device, and storage medium | |
CN111277932B (en) | Overcurrent protection using improved stability systems and methods | |
CN107229447B (en) | Audio noise elimination method and device | |
CN218240722U (en) | Audio transmission circuit | |
US10965253B2 (en) | Mute mechanism with reduced pop noise in audio amplifier systems and methods | |
CN114650485A (en) | Signal transmission method, device, computer equipment and storage medium | |
CN119002620A (en) | Power consumption control circuit, power consumption control method and electronic equipment | |
JPH11312936A (en) | Mute circuit | |
CN107506169A (en) | Volume adjustment method, device, terminal equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |