Power amplifier chip control method and device

文档序号:1908679 发布日期:2021-11-30 浏览:19次 中文

阅读说明:本技术 功放芯片控制方法和装置 (Power amplifier chip control method and device ) 是由 徐庆龙 于 2020-05-26 设计创作,主要内容包括:本申请实施例提供一种功放芯片的控制方法和装置,涉及电子技术领域,有助于解决音频输出装置在上电及下电的时间段内无法输出正常音频的问题,提升用户的使用体验。该方法包括:检测音频系统的上下电信号;当检测到音频系统的上下电信号时,将音频系统中的功放芯片的增益倍数调至第一预设增益倍数;当距离检测到上下电信号的时间大于预设时间阈值时,或者,当检测到功放芯片的电源电压保持稳定,且功放芯片内的放大器的基准电压保持稳定时,将功放芯片的增益倍数调至第二预设增益倍数;第二预设增益倍数大于第一预设增益倍数。(The embodiment of the application provides a control method and device of a power amplifier chip, relates to the technical field of electronics, and is beneficial to solving the problem that a normal audio cannot be output by an audio output device in power-on and power-off time periods, so that the use experience of a user is improved. The method comprises the following steps: detecting up and down electrical signals of an audio system; when the up-down electric signals of the audio system are detected, adjusting the gain multiple of a power amplifier chip in the audio system to a first preset gain multiple; when the time for detecting the up-down electric signals is larger than a preset time threshold value, or when the power supply voltage of the power amplifier chip is detected to be stable and the reference voltage of an amplifier in the power amplifier chip is detected to be stable, adjusting the gain multiple of the power amplifier chip to a second preset gain multiple; the second predetermined gain factor is greater than the first predetermined gain factor.)

1. A power amplifier chip control device is characterized by comprising:

the detecting unit is used for detecting the up-down electric signals of the audio system;

the first adjusting unit is used for adjusting the gain multiple of a power amplifier chip in the audio system to a first preset gain multiple when the up-down electric signals of the audio system are detected;

the second adjusting unit is used for adjusting the gain multiple of the power amplifier chip to a second preset gain multiple when the time for detecting the up and down electric signals is greater than a preset time threshold value, or when the power supply voltage of the power amplifier chip is detected to be stable and the reference voltage of an amplifier in the power amplifier chip is detected to be stable; the second preset gain multiple is greater than the first preset gain multiple.

2. The power amplifier chip control device of claim 1, wherein the first adjusting unit is specifically configured to: and when any one of the power supply voltage of the power amplifier chip is detected to be greater than or equal to a first voltage threshold value, the reference voltage of the amplifier in the power amplifier chip is detected to be greater than or equal to a second voltage threshold value, the power supply voltage of the power amplifier chip is detected to be less than or equal to a third voltage threshold value or the reference voltage of the amplifier in the power amplifier chip is detected to be less than or equal to a fourth voltage threshold value, the gain multiple of the power amplifier chip is adjusted to the first preset gain multiple.

3. A control method of a power amplifier chip is characterized in that the control method is applied to an audio system; the method comprises the following steps:

detecting up and down electrical signals of the audio system;

when the up-down electric signals of the audio system are detected, adjusting the gain multiple of a power amplifier chip in the audio system to a first preset gain multiple;

when the time for detecting the up-down electric signals is larger than a preset time threshold value, or when the power supply voltage of the power amplifier chip is detected to be stable and the reference voltage of an amplifier in the power amplifier chip is detected to be stable, adjusting the gain multiple of the power amplifier chip to a second preset gain multiple; the second preset gain multiple is greater than the first preset gain multiple.

4. The method of claim 3, wherein the adjusting the gain multiple of the power amplifier chip to a first preset gain multiple when up-down electrical signals of the audio system are detected comprises:

and when any one of the power supply voltage of the power amplifier chip is detected to be greater than or equal to a first voltage threshold value, the reference voltage of the amplifier in the power amplifier chip is detected to be greater than or equal to a second voltage threshold value, the power supply voltage of the power amplifier chip is detected to be less than or equal to a third voltage threshold value or the reference voltage of the amplifier in the power amplifier chip is detected to be less than or equal to a fourth voltage threshold value, the gain multiple of the power amplifier chip is adjusted to the first preset gain multiple.

5. A chip, comprising: a memory for storing a computer program and a processor for executing the computer program to perform the method of claim 3 or 4.

6. A computer-readable storage medium, having stored thereon a computer program which, when run on a computer, causes the computer to perform the method of claim 3 or 4.

Technical Field

The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for controlling a power amplifier chip.

Background

The audio output device (such as a vehicle-mounted audio device, an audio POWER amplifier of a liquid crystal television, or a mobile phone audio device) comprises a POWER amplifier integrated circuit chip (POWER-IC), a loudspeaker and other components. Generally, the voltage for supplying power to the power amplifier chip includes "supply Voltage (VCC) for supplying power to a power supply terminal of the power amplifier chip" and "reference voltage (Vref) for supplying power to an amplifier in the power amplifier chip". At the moment of power-on and power-off of the audio output device, VCC and Vref are subjected to sudden change, the sudden-entering current generated by the sudden change generates a noise signal, and the noise signal is amplified by an amplifier in a power amplification chip and then is output through a loudspeaker, so that the audio output device outputs a pop noise (pop noise).

Generally, to avoid outputting a plosive, at the moment of power on and power off, the audio output device discharges the audio signal at the input end or the output end of the power amplifier chip to the ground. However, normal audio still cannot be output in the time periods of power-on and power-off, thereby affecting the user experience.

Disclosure of Invention

The embodiment of the application provides a power amplifier chip control method and device, which are beneficial to solving the problem that the audio output device cannot output normal audio in the power-on and power-off time periods, and improving the use experience of a user.

In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:

in a first aspect, a method for controlling a power amplifier chip is provided, where the method is applied to an audio system, and the method includes: detecting up and down electrical signals of an audio system; when the up-down electric signals of the audio system are detected, adjusting the gain multiple of a power amplifier chip in the audio system to a first preset gain multiple; when the time for detecting the up-down electric signals is larger than a preset time threshold value, or when the power supply voltage of the power amplifier chip is detected to be stable and the reference voltage of an amplifier in the power amplifier chip is detected to be stable, adjusting the gain multiple of the power amplifier chip to a second preset gain multiple; the second predetermined gain factor is greater than the first predetermined gain factor. The first predetermined gain multiple and the second predetermined gain multiple may be set based on a threshold of the gain multiple generating the plosive. The stabilization of the supply voltage, or the stabilization of the reference voltage, may be characterized in terms of at least one of a variance, an average difference, or a covariance of the corresponding supply voltage over a period of time, or the reference voltage. Therefore, the gain multiple of the power amplifier can be recovered in time, and the user experience is further improved.

Therefore, when the audio system is powered on or powered off, the gain multiple of the power amplifier chip is reduced, so that the condition that a noise signal generated when the power amplifier chip is powered on or powered off is amplified to generate a plosive is avoided, the problem that the audio output device cannot output normal audio in the time period of powering on or powering off is solved, and the use experience of a user is improved.

In a possible implementation manner, the "adjusting the gain multiple of the power amplifier chip to a first preset gain multiple when detecting the up-down electrical signal of the audio system" includes: and when any one of the power supply voltage of the power amplifier chip is detected to be greater than or equal to a first voltage threshold value, the reference voltage of the amplifier in the power amplifier chip is detected to be greater than or equal to a second voltage threshold value, the power supply voltage of the power amplifier chip is detected to be less than or equal to a third voltage threshold value or the reference voltage of the amplifier in the power amplifier chip is detected to be less than or equal to a fourth voltage threshold value, the gain multiple of the power amplifier chip is adjusted to a first preset gain multiple. The first voltage threshold, the second voltage threshold, the third voltage threshold, and the fourth voltage threshold may be set empirically based on the power supply voltage or the amplifier voltage at the time of generating the noise signal.

In a second aspect, a power amplifier chip control device is provided, where the power amplifier chip control device may be configured to perform any one of the methods provided in any one of the possible implementation manners of the first aspect to the first aspect.

According to the second aspect, in a first possible implementation manner of the second aspect, the power amplifier chip control device may be divided into functional modules according to any one of the methods provided by the first aspect. For example, each functional unit may be divided for each function, or two or more functions may be integrated into one processing unit.

According to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the power amplifier chip control device may include a processor, and the processor is configured to execute any method provided by the first aspect and any possible implementation manner of the first aspect.

In a third aspect, a computer-readable storage medium, such as a computer-non-transitory readable storage medium, is provided. Having stored thereon a computer program (or instructions) which, when run on a computer, causes the computer to perform any of the methods provided by the first aspect or any of the possible implementations of the first aspect.

In a fourth aspect, there is provided a computer program product enabling, when running on a computer, the execution of any one of the methods provided in the first aspect or any one of the possible implementations of the first aspect.

In a fifth aspect, a chip is provided, which includes: a processor, configured to invoke and run a computer program stored in the memory from the memory, and execute any method provided by the first aspect or any possible implementation manner of the first aspect.

It can be understood that any one of the power amplifier chip control devices, computer readable storage media, computer program products or chips provided above can be applied to the corresponding method provided above, and therefore, the beneficial effects achieved by the power amplifier chip control devices can refer to the beneficial effects in the corresponding method, and are not described herein again.

Drawings

Fig. 1 is a schematic structural diagram of an audio system to which an embodiment of the present application is applied;

fig. 2 is a schematic flowchart of a method for controlling a power amplifier chip according to an embodiment of the present disclosure;

fig. 3 is a schematic flowchart of a method for adjusting a gain multiple of a power amplifier chip according to an embodiment of the present disclosure;

fig. 4 is a schematic structural diagram of a power amplifier chip control device according to an embodiment of the present application.

Detailed Description

In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.

In the embodiments of the present application, "at least one" means one or more. "plurality" means two or more.

In the embodiment of the present application, "and/or" is only one kind of association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.

Before describing the resource allocation method provided by the embodiment of the present application in detail, the application scenario and the implementation environment related to the embodiment of the present application are briefly described here.

Fig. 1 is a schematic structural diagram of an audio system to which the embodiment of the present invention is applied. The audio system shown in fig. 1 includes a Digital Signal Processing (DSP) chip 101, a power amplifier chip 102, a processor 103, and a Speaker (SP) 104.

The DSP chip 101 is configured to convert a digital signal corresponding to the audio file into an analog signal and output the analog signal to the power amplifier chip 102.

The power amplifier chip 102 is configured to amplify the received analog signal, generate a driving signal, and output the driving signal to the speaker 104, so as to drive the speaker 104 to output sound.

And the processor 103 is used for correspondingly controlling the DSP chip 101 and the power amplifier chip 102. Specifically, the power amplifier chip control method provided in the embodiment of the present application may be executed by the processor 103, so as to achieve the corresponding effect to be achieved by the present application.

In the embodiment of the application, when the processor 103 detects the up-down electrical signal of the audio system, the gain multiple of the power amplifier chip 102 is adjusted to the first preset gain multiple, and when the distance detects the up-down electrical signal for the preset time period, the gain multiple of the power amplifier chip 102 is adjusted to the second preset gain multiple. Therefore, the condition that the noise signal generated when the power amplifier chip is powered on is amplified to generate the plosive is avoided, and the use experience of a user is improved.

The processor 103 may be a general processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more ics for controlling the execution of programs according to the present disclosure. The processor 103 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.

Fig. 2 is a schematic flow chart of a power amplifier chip control method according to an embodiment of the present disclosure. Illustratively, the present embodiment may be applied to a processor in the audio system shown in fig. 1. The method shown in fig. 2 may comprise the steps of:

s100: the processor detects up and down electrical signals of the audio system.

The up-down electric signal is information representing that the power supply voltage of the power amplifier chip is greater than or equal to a first voltage threshold, the reference voltage of an amplifier in the power amplifier chip is greater than or equal to a second voltage threshold, the power supply voltage of the power amplifier chip is less than or equal to a third voltage threshold, or the reference voltage of the amplifier in the power amplifier chip is less than or equal to a fourth voltage threshold. The first to fourth voltage thresholds may be set empirically based on the power supply voltage or the amplifier voltage at which the noise signal is generated.

Considering that the power-down time sequence of the reference voltage of the amplifier in the power amplifier chip is prior to the power supply voltage of the power amplifier chip when the audio system is powered down. Therefore, during power-down, the reference voltage of the amplifier in the power amplifier chip fluctuates before the power supply voltage of the power amplifier chip. Therefore, in the embodiment of the present application, the information that the reference voltage of the amplifier in the power amplifier chip is less than or equal to the fourth voltage threshold may be used as the up-down signal of the audio system.

It is understood that the power supply voltage of the power amplifier chip and the reference voltage of the amplifier in the power amplifier chip can inform the processor of the detected result by using a voltage detector, a comparator or the like.

S101: when the processor detects the up-down electric signals of the audio system, the processor adjusts the gain multiple of the power amplifier chip to a first preset gain multiple. The first preset gain multiple is the gain multiple of a power amplifier chip which cannot output the plosive.

Optionally, the first preset gain multiple is smaller than a preset gain threshold. The preset gain threshold is set according to a critical value of the gain multiple of the power amplification chip of the explosive sound output by the audio output device. The first preset gain multiple may be any value less than a preset gain threshold.

Specifically, when the processor detects that the power supply voltage of the power amplifier chip is greater than or equal to a first voltage threshold, the reference voltage of the amplifier in the power amplifier chip is greater than or equal to a second voltage threshold, the power supply voltage of the power amplifier chip is less than or equal to a third voltage threshold or the reference voltage of the amplifier in the power amplifier chip is less than or equal to a fourth voltage threshold, the processor sends indication information to the power amplifier chip, wherein the indication information is used for indicating the power amplifier chip to adjust the gain multiple of the power amplifier chip to a first preset gain multiple so as to reduce the size of a noise signal output by the power amplifier chip to a driving signal of the loudspeaker, and reduce the noise of the loudspeaker in the process.

For example, assume that the default state of the gain factor of the power amplifier chip is 30 dB. Then, when the audio system is electrified to work, the power amplifier chip works according to the gain multiple of 30dB, if a noise signal is transmitted into the power amplifier chip, the power amplifier chip can amplify the noise signal by about 31 times and then output the noise signal to the loudspeaker, and when the processor detects the up-down electric signal of the audio system in the application, the indicating information is sent to the power amplifier chip and used for indicating the power amplifier chip to adjust the gain multiple to 1 time, and the power amplifier chip can not amplify the noise signal.

In the embodiment of the application, the processor can adjust the gain multiple of the power amplifier chip back to the normal level after the power supply voltage of the power amplifier chip and the reference voltage of the amplifier in the power amplifier chip are output stably.

S102: the processor determines that when the time for detecting the up-down electrical signal is greater than a preset time threshold, or when the power supply voltage of the power amplifier chip is detected to be stable and the reference voltage of the amplifier in the power amplifier chip is detected to be stable, the gain multiple of the power amplifier chip is adjusted to a second preset gain multiple, wherein the second preset gain multiple is greater than the first preset gain multiple.

The preset time threshold value can be set according to the historical time for the power amplifier chip to keep the power supply voltage of the power amplifier chip stable from power-on or power-off and the reference voltage of the amplifier in the power amplifier chip stable.

And when the processor detects that the power supply voltage of the power amplifier chip is kept stable and the reference voltage of the amplifier in the power amplifier chip is kept stable, the gain multiple of the power amplifier chip is adjusted to a second gain multiple. In a specific implementation, the method for adjusting the gain multiple of the power amplifier chip as shown in fig. 3 may be implemented, and the method includes the following steps:

s1021: the processor detects the power supply voltage of the power amplifier chip and the reference voltage of the amplifier in the power amplifier chip.

S1022: the processor judges whether the power supply voltage of the power amplifier chip and the reference voltage of the amplifier in the power amplifier chip are stable or not.

If yes, go to S1023; if not, re-executing S1021.

In a possible implementation manner, the processor obtains a plurality of groups of power supply voltage values of the power amplifier chip and a plurality of groups of reference voltage values of the amplifier in the power amplifier chip within a preset time period, and the processor may determine whether the power supply voltage of the power amplifier chip is stable according to at least one of variance, average difference, or covariance of the plurality of groups of power supply voltage values. The processor may determine whether the reference voltage of the amplifier in the power amplifier chip remains stable according to at least one of the variance, the average difference, or the covariance of the plurality of sets of reference voltage values.

S1023: and the processor adjusts the gain multiple of the power amplification chip to a second preset gain multiple.

According to the power amplifier chip control method provided by the embodiment of the application, the gain multiple of the power amplifier chip is reduced when the audio system is powered on, so that the condition that the noise signal generated when the power amplifier chip is powered on is amplified to generate plosive is avoided. Compared with the prior art, the power amplifier chip control method provided by the invention has the advantages of high response speed and no influence on normal use of a user because the power amplifier chip does not need to be controlled to mute, and is beneficial to solving the problem that the audio output device cannot output normal audio in the power-on and power-off time periods, thereby improving the use experience of the user.

Fig. 4 is a schematic structural diagram of a power amplifier chip control device according to an embodiment of the present disclosure. The power amplifier chip control device 40 may be configured to perform the functions performed by the processor in any of the above embodiments (such as the embodiment shown in fig. 2). The power amplifier chip control device 40 includes: a detection unit 401, a first adjustment unit 402 and a second adjustment unit 403. The detecting unit 401 is configured to detect an up-down electrical signal of the audio system; the first adjusting unit 402 is configured to adjust a gain multiple of a power amplifier chip in the audio system to a first preset gain multiple when an up-down electrical signal of the audio system is detected; the second adjusting unit is used for adjusting the gain multiple of the power amplifier chip to a second preset gain multiple when the time for detecting the up-down electric signal is greater than a preset time threshold value, or when the power supply voltage of the power amplifier chip is detected to be stable and the reference voltage of an amplifier in the power amplifier chip is detected to be stable; the second predetermined gain factor is greater than the first predetermined gain factor. For example, in connection with fig. 2, the detection unit 401 may be used to perform S100 and S103. The first adjusting unit 402 may be configured to perform S101; the second adjusting unit 403 may be used to execute S102.

Optionally, the first adjusting unit 402 is specifically configured to: and when any one of the power supply voltage of the power amplifier chip is detected to be greater than or equal to a first voltage threshold value, the reference voltage of the amplifier in the power amplifier chip is detected to be greater than or equal to a second voltage threshold value, the power supply voltage of the power amplifier chip is detected to be less than or equal to a third voltage threshold value or the reference voltage of the amplifier in the power amplifier chip is detected to be less than or equal to a fourth voltage threshold value, the gain multiple of the power amplifier chip is adjusted to a first preset gain multiple.

In one example, referring to fig. 1, the detection unit 401, the first adjustment unit 402, and the second adjustment unit 403 may all be implemented by the processor 103 in fig. 1.

For the detailed description of the above alternative modes, reference is made to the foregoing method embodiments, which are not described herein again. In addition, for explanation and description of beneficial effects of any one of the power amplifier chip control devices 40 provided above, reference may be made to the corresponding method embodiments described above, and details are not repeated.

It should be noted that the actions performed by the above units are only specific examples, and the actions actually performed by the above units refer to the actions or steps mentioned in the description of the embodiment based on fig. 2.

Embodiments of the present application also provide a computer-readable storage medium, which stores a computer program, and when the computer program runs on a computer, the computer program causes the computer to execute the actions or steps mentioned in any of the embodiments provided above.

The embodiment of the application also provides a chip. Integrated with circuitry and one or more interfaces for implementing the functions of the processor described above. Optionally, the functions supported by the chip may include processing actions in the embodiment described based on fig. 2, which is not described herein again. Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be implemented by a program instructing the associated hardware to perform the steps. The program may be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a random access memory, or the like. The processing unit or processor may be a central processing unit, a general purpose processor, an Application Specific Integrated Circuit (ASIC), a microprocessor (DSP), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof.

The embodiments of the present application also provide a computer program product containing instructions, which when executed on a computer, cause the computer to execute any one of the methods in the above embodiments. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the present application are all or partially generated upon loading and execution of computer program instructions on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or can comprise one or more data storage devices, such as servers, data centers, and the like, that can be integrated with the media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.

It should be noted that the above devices for storing computer instructions or computer programs provided in the embodiments of the present application, such as, but not limited to, the above memories, computer readable storage media, communication chips, and the like, are all nonvolatile (non-volatile).

Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.

Although the present application has been described in conjunction with specific features and embodiments thereof, various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and figures are merely exemplary of the present application as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the present application.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:显示面板及其制备方法、显示装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!