A display control method and system for an audio power amplifier

Through real -time and continuous audio output signal sampling and processing mechanisms, combined with adaptive sampling and spectrum analysis, the problem of displaying effects and jumping in traditional audio power amplifier display control methods has been solved, and higher display accuracy and vision are realized Feedback effect.

CN119045773BActive Publication Date: 2025-01-28深圳远虑科技有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411551971.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-01-28
Estimated Expiration
2044-11-01

AI Technical Summary

Technical Problem

The display control method of traditional audio power amplifiers relies on segmented LED display based on microcontrollers, resulting in a significant discretization and jumping feeling of display effect, which is difficult to truly reflect the subtle power changes of the audio signal.

Method used

By introducing real -time and continuous audio output signal sampling and processing mechanisms, adaptive audio signal sampling and spectrum analysis are adopted, real -time audio output signal data is generated, and the energy calculation and dynamic energy gradient processing of frequency bands are performed. Evaluate.

Benefits of technology

It significantly improves the display accuracy and visual feedback effect of the audio power amplifier, avoids the problem of jumping in the traditional display method, and can intuitively present the small energy fluctuations of the audio signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119045773B_ABST
    Figure CN119045773B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of audio power display technology, and in particular to a display control method and system for an audio power amplifier. The method comprises the following steps: adaptively sampling the output audio signal of the audio power amplifier to generate real-time audio output signal data; dynamically processing the real-time audio output signal data with a dynamic energy gradient to generate audio energy gradient data; adjusting the brightness of multiple display areas according to the audio energy gradient data to generate dynamic display brightness control data; adjusting the display interface layout of the multiple display area data to obtain display interface layout data; and performing continuous display control of the output power using the display interface layout data and the dynamic display brightness control data to obtain corrected display brightness control data. The present invention significantly improves the power display continuity and multi-channel audio power display accuracy of the audio power amplifier through independent multi-area brightness control and linked brightness control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio power display, and in particular to a display control method and system for an audio power amplifier. Background Art

[0002] As an important part of audio equipment, audio power amplifiers are usually used to enhance input audio signals and drive speakers to provide sufficient audio output. During operation, the power output of audio power amplifiers will change dynamically according to the changes in audio signals, so it is necessary to feedback the output power of audio signals in real time and accurately. However, the traditional audio power amplifier display control method mainly relies on segmented LED display based on microcontrollers. This method divides the power level into several discrete intervals and indicates the interval where the current output power is located by lighting up the corresponding number of LED lights, resulting in obvious discreteness and jumping of the display effect, making it difficult to truly reflect the subtle power changes of the audio signal. For example, in the low-power output stage of the audio power amplifier, the LED light will not light up at all, and only when the power gradually increases to a certain threshold will one or more LED lights light up, which will bring discontinuity to the user's visual feedback; at the same time, the output power signals of multiple channels often have different dynamic change characteristics. The traditional display control method usually only evenly distributes the display resources among the channels, and cannot dynamically adjust according to the specific audio signal strength of each channel, which leads to poor display effect when the signal of some channels is weak. Summary of the invention

[0003] Based on this, the present invention provides a display control method and system for an audio power amplifier to solve at least one of the above technical problems.

[0004] To achieve the above object, a display control method of an audio power amplifier comprises the following steps:

[0005] Step S1: acquiring working state parameters of the audio power amplifier to generate device working state parameters; adaptively sampling the output audio signal of the audio power amplifier according to the device working state parameters, and performing digital signal conversion to generate real-time audio output signal data;

[0006] Step S2: performing audio spectrum analysis on the real-time audio output signal data, and performing frequency band energy calculation to generate audio frequency band energy data; performing dynamic energy gradient processing according to the audio frequency band energy data to generate audio energy gradient data; performing color value mapping processing according to the audio energy gradient data to generate color gradient mapping data;

[0007] Step S3: combining display patterns according to the color gradient mapping data to generate dynamic display pattern data; performing energy proportion analysis on the audio frequency band energy data to generate frequency energy proportion data; performing dynamic graphic element scaling on the dynamic display pattern data according to the frequency energy proportion data to generate graphic element scaling data;

[0008] Step S4: Divide the multi-channel display area according to the real-time audio output signal data to obtain multi-display area data; perform audio amplification channel mapping on the audio energy gradient data and the multi-display area data, and adjust the display brightness to generate dynamic display brightness control data; adjust the display interface layout of the multi-display area data through dynamic display pattern data and graphic element scaling data to obtain display interface layout data; use the display interface layout data and the dynamic display brightness control data to continuously display the output power of the audio power amplifier to generate multi-channel output power display data; perform real-time display brightness correction on the multi-channel output power display data to obtain corrected display brightness control data.

[0009] The present invention significantly improves the display accuracy and visual feedback effect of the audio power amplifier by introducing a real-time, continuous audio output signal sampling and processing mechanism. Different from the traditional LED-based discrete display, the adaptive audio signal sampling and spectrum analysis are adopted to fundamentally solve the problem of jumping feeling caused by discrete interval division in the power display process. Through the acquisition and adaptive sampling of the working state parameters of the equipment, the output audio signal of the audio power amplifier in each working stage can be accurately obtained and digitally processed to ensure the continuity and accuracy of signal acquisition. At the same time, based on the frequency band energy calculation after spectrum analysis, the energy distribution of audio signals in different frequency bands can be carefully evaluated, so that the energy data of each frequency band not only reflects the strength of the overall audio signal, but also accurately displays the dynamic changes of energy in each frequency band. Through audio energy gradient processing and color gradient mapping, the dynamic change display of power display is effectively realized, so that the power output change is not only reflected in the change of value, but also through the smooth transition of color gradient, the tiny energy fluctuation of the audio signal is intuitively presented. This processing method can not only make up for the defects of "no display" or display lag in the low power stage of traditional LED display, but also enhance the user's intuitive feeling of power change. Especially after color mapping, through pattern combination and dynamic scaling processing, the power display is no longer limited to a single numerical value or light display, but is presented with more complex and continuous dynamic graphic elements, which helps to improve the accuracy of user experience and the beauty of visual effects. By analyzing the energy proportion of the audio frequency band, the reasonable allocation of display resources is guaranteed, especially in the multi-channel scenario, the display brightness and display area can be dynamically allocated according to the audio signals of different channels. In this way, it not only avoids the signal weakening problem caused by the average allocation of resources between channels in the traditional method, but also intelligently adjusts the brightness and display interface layout, so that the audio signal changes of each channel can be fully displayed, significantly improving the power display continuity and detail display of the audio power amplifier. Therefore, a display control method of an audio power amplifier of the present invention dynamically adjusts the sampling frequency through the working state parameters of the audio power amplifier, sets the display element pattern and color considering the energy value of the output audio signal, and performs multi-region brightness independent control and linkage compensation mechanism according to the characteristics of the multi-channel audio signal, thereby realizing the continuous, multi-channel, and visual display of the output power of the audio power amplifier, and significantly improving the user experience.

[0010] Preferably, step S1 comprises the following steps:

[0011] Step S11: acquiring working state parameters of the audio power amplifier to generate device working state parameters;

[0012] Step S12: Performing a weighted scoring of the equipment working state parameters using a preset equipment working state weight value to generate real-time equipment state scoring data;

[0013] Step S13: setting the adaptive sampling frequency according to the real-time device status score data to obtain adaptive sampling frequency data;

[0014] Step S14: sampling the output audio signal of the audio power amplifier in real time through the adaptive sampling frequency data to generate audio sampling stream data;

[0015] Step S15: using an analog-to-digital converter to convert the audio sample stream data into a digital signal to generate real-time audio output signal data.

[0016] The present invention effectively improves the performance and adaptability of the audio power amplifier under different working environments by introducing a real-time acquisition and weighted scoring mechanism for working state parameters. First, the acquisition of the working state parameters of the device enables the amplifier to comprehensively monitor its current working state, including key factors such as temperature, power output, and voltage. Weighted scoring of these state parameters based on preset weight values ​​further realizes the quantitative evaluation of the device state, so that the device can dynamically adjust its own operating strategy according to its current state, ensuring the stability and efficiency of the amplifier under different loads and usage conditions. The sampling frequency of the audio signal is flexibly adjusted according to the real-time state score of the device, which not only improves the flexibility of sampling, but also avoids the sampling distortion or signal loss caused by the fixed sampling frequency when the device state changes greatly, thereby ensuring the accuracy and continuity of the audio output signal. The introduction of the analog-to-digital converter accurately converts the analog audio signal into a digital signal, enhances the system's signal processing accuracy, and realizes efficient operation and intelligent control of the device under different states.

[0017] Preferably, step S2 comprises the following steps:

[0018] Step S21: performing fast Fourier transform on the real-time audio output signal data to obtain real-time audio output frequency domain data;

[0019] Step S22: performing audio spectrum analysis according to the real-time audio output frequency domain data to generate output audio spectrum data;

[0020] Step S23: performing frequency band energy calculation on the output audio spectrum data to generate audio frequency band energy data; performing dynamic energy gradient processing on the audio frequency band energy data to generate audio energy gradient data;

[0021] Step S24: obtaining color display gradient mapping table data, wherein the color display gradient mapping table data includes a color gradient interval and a corresponding energy gradient interval, the color gradient interval is provided with a starting color and an ending color, and a color gradient is generated according to the starting color and the ending color;

[0022] Step S25: performing color interval matching on the audio energy gradient data using the color display gradient mapping table data to generate color interval matching data;

[0023] Step S26: Perform color value mapping processing according to the color interval matching data to generate color gradient mapping data.

[0024] The present invention uses fast Fourier transform (FFT) to convert real-time audio signals from time domain to frequency domain, which not only improves the accuracy of signal processing, but also enables the system to clearly separate different frequency components, perform spectrum analysis, and generate output audio spectrum data. Through frequency band energy calculation, the energy distribution of each frequency band can be accurately captured to ensure that each frequency component in the audio signal is reasonably displayed. The output audio spectrum data is subjected to frequency band energy calculation, and dynamic energy gradient processing is performed to convert the energy values ​​of the audio signal in different frequency bands into energy gradient data. This energy gradient processing can more carefully depict the energy change trend of the audio signal in different frequency bands. For example, the energy of a certain frequency band gradually increases or decreases, which can be reflected by the change of the energy gradient value. Using a pre-set color display gradient mapping table, the audio energy gradient data is mapped to different color intervals, and the corresponding color gradient is generated according to the color interval to realize the color visualization of the audio energy gradient. For example, the frequency band with lower energy can be mapped to a cold color (such as blue), the frequency band with higher energy can be mapped to a warm color (such as red), and the change of the energy gradient value can be mapped to the gradual change process of the color. Through this color gradient mapping, users can intuitively see the energy distribution of audio signals in different frequency bands. For example, when the low-frequency energy is stronger, the corresponding area will appear warmer colors, and when the high-frequency energy is stronger, the corresponding area will appear cooler colors.

[0025] Preferably, step S236 includes the following steps:

[0026] Step S231: performing windowing and smoothing processing on the output audio spectrum data, and performing spectrum peak detection to generate audio main frequency component data;

[0027] Step S232: performing frequency range processing according to the audio main frequency component data to generate frequency range division data;

[0028] Step S233: using the frequency range division data to divide the audio main frequency component data into frequency bands, and generating output audio frequency band data;

[0029] Step S234: performing frequency band energy integration operation on the output audio frequency band data to generate audio frequency band energy data;

[0030] Step S235: performing audio frequency band energy statistics on the audio frequency band energy data, and performing energy value averaging processing to generate average frequency band energy data;

[0031] Step S236: Perform dynamic range compression processing according to the average frequency band energy data to obtain compressed frequency band energy data; wherein step S236 is specifically as follows:

[0032] Step S2361: using a preset energy range compression threshold to perform dynamic energy value judgment on the average frequency band energy data, when the average frequency band energy data exceeds the preset energy range compression threshold, logarithmic compression processing is performed on the average frequency band energy data to generate compressed frequency band energy data;

[0033] Step S2362: when the average frequency band energy data does not exceed the preset energy range compression threshold, the average frequency band energy data is used as the compressed frequency band energy data;

[0034] Step S237: performing nonlinear gradient mapping on the compressed frequency band energy data to generate audio energy gradient data.

[0035] The present invention utilizes windowing smoothing and spectrum peak detection to significantly reduce spectrum noise interference, thereby ensuring accurate extraction of the main frequency components. Through frequency range processing and frequency band division, the frequency band information of the audio signal is presented in a more refined manner, further improving the resolution of the frequency distribution. The integral operation of the frequency band energy further enhances the calculation accuracy of the energy distribution, so that the energy changes of the audio signal in different frequency bands can be accurately reflected. After statistics, the energy value average processing is implemented, so that the energy of each frequency band is presented in a more stable manner, avoiding the influence of instantaneous fluctuations on the overall energy analysis. The output of this stage provides a basis for dynamic range compression, so that the system can perform personalized processing for the energy characteristics of different frequency bands. When the average frequency band energy exceeds the preset compression threshold, the logarithmic compression processing is applied, which can effectively suppress the influence of excessive signals on the overall output and improve the adaptive ability of the system; while the frequency band that does not exceed the threshold is kept at the original value, ensuring the natural performance of the signal. The power energy range of the audio signal can be kept within an appropriate range, avoiding excessive occupation of the display effect by the high-energy frequency band.

[0036] Preferably, step S3 comprises the following steps:

[0037] Step S31: performing a main color mode analysis on the color gradient mapping data based on a preset color mode library to generate main color display mode data, wherein the main color display mode data includes a basic display pattern, a display primary color, and a display secondary color;

[0038] Step S32: drawing a contrasting color pattern according to the display primary color and the display secondary color, and combining display patterns using the basic display pattern to generate dynamic display pattern data;

[0039] Step S33: performing energy proportion analysis on the audio frequency band energy data to generate frequency energy proportion data;

[0040] Step S34: performing frequency band energy weight allocation according to the frequency energy proportion data to generate frequency band energy weight data;

[0041] Step S35: constructing a three-dimensional distribution of audio energy according to the frequency band energy weight data, and performing plane projection processing on the dynamic display pattern data to generate audio energy plane projection data;

[0042] Step S36: Perform graphic element size mapping through audio energy plane projection data, and perform dynamic graphic element scaling to generate graphic element scaling data.

[0043] The present invention performs color mode analysis based on a preset color mode library, and generates main color display mode data so that the main color and auxiliary color of the display correspond to the characteristics of the audio signal, forming a highly coordinated display effect in color, which helps users quickly distinguish the energy intensity of different audio frequency bands. Then, by using contrasting color pattern drawing and dynamic pattern combination, it is ensured that the visual display maintains high recognition in dynamic changes, and at the same time, the change of audio signal energy is displayed, so that the audio power is more vivid in visual effect. Through the energy proportion analysis of audio frequency band energy data and the allocation of frequency band energy weights, the accurate division of frequency band energy is achieved, so that the energy of different frequency bands can be reasonably adjusted according to the actual weight when displayed, which not only increases the accuracy of graphic display, but also ensures that the importance of different frequency bands in the audio power graph is highlighted. The size mapping and scaling processing of graphic elements are performed through the audio energy plane projection data, and the real-time changes of the audio signal are directly expressed through the dynamic scaling of the graphics, so that the graphics can be adjusted accordingly with the changes in audio power, enhancing the real-time and accuracy of visual feedback.

[0044] Preferably, step S4 comprises the following steps:

[0045] Step S41: performing channel status recognition according to the real-time audio output signal data to obtain audio multi-channel status data; performing multi-channel display area division according to the audio multi-channel status data to obtain multi-display area data;

[0046] Step S42: performing audio amplification channel mapping on the audio energy gradient data based on the audio multi-channel state data, and performing energy gradient increment analysis to obtain audio energy gradient increment data;

[0047] Step S43: estimating the multi-channel audio output power of the audio power amplifier by using the audio energy gradient increment data to generate audio output power estimation data;

[0048] Step S44: performing preliminary brightness display calculation on the multi-display area data according to the audio output power estimation data to generate initial area brightness display data;

[0049] Step S45: performing regional brightness display compensation on the initial regional brightness display data, and performing display brightness control adjustment to generate dynamic display brightness control data;

[0050] Step S46: Drawing dynamic visual elements based on the multi-display area data through the dynamic display pattern data and the graphic element scaling data, and adjusting the display interface layout to obtain display interface layout data;

[0051] Step S47: Utilize the display interface layout data and the dynamic display brightness control data to continuously display the output power of the audio power amplifier and generate multi-channel output power display data; perform real-time display brightness correction on the multi-channel output power display data to obtain corrected display brightness control data.

[0052] The present invention can reasonably allocate display areas according to the states of different channels through the identification of audio multi-channel signals and the division of multiple display areas, so that the visual feedback of multi-channel signals is more intuitive and accurate. Then, by using energy gradient increment analysis and power estimation data, the system can dynamically track the power changes of audio output, ensure that the output of the audio power amplifier is consistent with the actual audio signal, and improve the accuracy of output power estimation. This enables the display brightness to be adjusted in real time according to the power data, avoiding the situation where the power output does not match the display, thereby improving the response speed of the system and the accuracy of power display. The introduction of regional brightness compensation and dynamic brightness control further optimizes the brightness display effect of the multi-channel area, can perform real-time compensation according to the power output of each channel, prevent the problem of uneven display brightness, and ensure the balance and consistency of the display effect. Finally, through the drawing of dynamic visual elements and the adjustment of interface layout, not only the display interface is more visually beautiful, but also the user's perception and interactive experience of different audio channel states are enhanced. Through continuous brightness correction and adaptive adjustment of visual elements, it is ensured that under different channel output conditions, the display effect of audio power always maintains dynamic smoothness and efficient response. This multi-level intelligent control significantly improves the display performance and user experience of the audio power amplifier.

[0053] Preferably, step S44 includes the following steps:

[0054] Step S441: dividing the output power into intervals according to the audio output power estimation data to obtain power interval division data;

[0055] Step S442: setting the brightness change rate for the power interval division data to generate brightness change rate data;

[0056] Step S443: setting the display brightness interval boundary value of the audio power amplifier according to the brightness change rate data, and constructing a power-brightness piecewise linear function according to the power interval division data;

[0057] Step S444: using a power-brightness piecewise linear function to perform initial display brightness calculation on the multi-display region data to generate initial region brightness display data.

[0058] The present invention divides the output power interval, and the system can accurately divide the power signal into different intervals. This process enables the display brightness within different power ranges to be optimized in a targeted manner, thereby enhancing the sense of hierarchy and readability of the display. Secondly, the setting of the brightness change rate provides a dynamic response mechanism for the relationship between power and brightness, ensuring that when the audio power changes, the display brightness can transition smoothly, avoiding abrupt brightness changes, thereby improving the user's visual comfort. By constructing a piecewise linear function of power-brightness, the system achieves more accurate brightness control. This function can dynamically adjust the corresponding brightness value according to different power intervals, ensuring that the brightness level of each display area matches its output power, and preventing display imbalance due to power changes.

[0059] Preferably, step S45 includes the following steps:

[0060] Step S451: collecting real-time channel output power of the audio power amplifier through the audio multi-channel status data to generate real-time channel power output data;

[0061] Step S452: performing power data area allocation according to the real-time channel power output data to obtain channel power allocation data;

[0062] Step S453: Calculating adjacent channel power differences according to the channel power allocation data to generate channel power difference data;

[0063] Step S454: performing brightness area compensation calculation on the channel power difference data using a preset power linkage intensity coefficient to generate multi-channel brightness compensation data;

[0064] Step S455: performing linkage brightness superposition processing on the initial area brightness display data through the multi-channel brightness compensation data to generate dynamic brightness compensation data;

[0065] Step S456: performing multi-region independent brightness control signal processing according to the dynamic brightness compensation data to generate dynamic display brightness control data.

[0066] The real-time channel output power acquisition of the present invention enables the system to obtain the power data of each channel, which provides a solid foundation for subsequent regional allocation and brightness adjustment. The process of regional allocation of power data ensures that the output power of each channel can be reasonably allocated, thereby reflecting the real audio output state and avoiding the audio distortion caused by uneven power distribution. Through the calculation of the power difference between adjacent channels, the system can accurately analyze the power difference between different channels and provide data basis for subsequent brightness compensation. The brightness regional compensation is performed using the preset power linkage intensity coefficient, which can effectively adjust the display brightness between channels, so that the display effects of different channels are coordinated with each other, ensuring the unity and smoothness of the overall visual effect. This process effectively solves the common brightness imbalance problem in multi-channel audio systems and ensures that users can maintain good continuity in viewing and listening experience. The superposition processing of dynamic brightness compensation data enables the initial brightness display to be adjusted in real time according to the actual power output. This linkage brightness control not only improves the intelligent level of the display effect, but also allows users to intuitively perceive the power changes of each channel under different audio output conditions. By dynamically generating display brightness control signals, the system can better respond to user operations and environmental changes in actual applications, making the display control of the audio power amplifier more accurate and flexible.

[0067] Preferably, step S47 includes the following steps:

[0068] Step S471: using the display interface layout data to perform display interface layout analysis on the audio power amplifier to generate display area layout matrix data;

[0069] Step S472: decoding the dynamic display brightness control data into multi-region independent brightness parameters to generate brightness control parameter data;

[0070] Step S473: mapping the brightness control parameter data to the display area according to the display area layout matrix data to generate regional brightness allocation data;

[0071] Step S474: Divide the LED display array into a plurality of drive units according to the regional brightness distribution data, each unit being composed of a plurality of LEDs connected in series and a constant current drive circuit, thereby obtaining a display control drive unit;

[0072] Step S475: Calculating the pulse width modulation duty cycle of the display control driving unit according to the regional brightness distribution data to generate brightness pulse width modulation control signal data;

[0073] Step S476: dynamically adjusting the regional brightness using the driving circuit based on the brightness pulse width modulation control signal data, and performing continuous display control of the audio output power using the display area layout matrix data to generate multi-channel output power display data;

[0074] Step S477: using a brightness sensor to monitor the audio power amplifier in real time, and performing multi-region brightness deviation analysis to generate real-time brightness deviation data;

[0075] Step S478: performing display brightness correction on the multi-channel output power display data using the real-time brightness deviation data, thereby obtaining corrected display brightness control data.

[0076] The present invention, through the analysis of the display interface layout, generates display area layout matrix data, which lays the foundation for subsequent brightness parameter decoding and area mapping. This process ensures that the system can clearly identify different display areas, thereby realizing independent brightness control between areas, and providing a personalized adjustment scheme for the display effect of each channel. In terms of brightness control, by independently decoding the dynamic display brightness control data, the system can generate more refined brightness control parameters to ensure that each display area is adaptively adjusted according to the changes in real-time audio output. The generation of regional brightness allocation data makes the display of the audio power amplifier more in line with the user's visual needs and actual audio output state, avoiding the decline in viewing experience caused by uneven overall brightness. The LED display array is divided into multiple drive units, so that each unit can independently perform pulse width modulation duty cycle calculation, which improves the flexibility and accuracy of the display. Through this hierarchical control, the system can quickly respond and dynamically adjust the brightness under different audio output conditions, ensuring the continuity and stability of the display effect. This mechanism not only improves the response speed of the device, but also ensures the user's experience in a multi-channel audio environment.

[0077] Preferably, the present invention further provides a display control system of an audio power amplifier, which executes the display control method of the audio power amplifier as described above, and the display control system of the audio power amplifier comprises:

[0078] The working state acquisition module is used to obtain working state parameters of the audio power amplifier and generate equipment working state parameters; the output audio signal of the audio power amplifier is adaptively sampled according to the equipment working state parameters, and digital signal conversion is performed to generate real-time audio output signal data;

[0079] The spectrum energy calculation module is used to perform audio spectrum analysis on the real-time audio output signal data, and perform frequency band energy calculation to generate audio frequency band energy data; perform dynamic energy gradient processing according to the audio frequency band energy data to generate audio energy gradient data; perform color value mapping processing according to the audio energy gradient data to generate color gradient mapping data;

[0080] The display element generation module is used to combine display patterns according to the color gradient mapping data to generate dynamic display pattern data; perform energy proportion analysis on the audio frequency band energy data to generate frequency energy proportion data; perform dynamic graphic element scaling on the dynamic display pattern data according to the frequency energy proportion data to generate graphic element scaling data;

[0081] The output power display control module is used to divide the multi-channel display area according to the real-time audio output signal data to obtain the multi-display area data; perform audio amplification channel mapping between the audio energy gradient data and the multi-display area data, and adjust the display brightness to generate dynamic display brightness control data; adjust the display interface layout of the multi-display area data by dynamic display pattern data and graphic element scaling data to obtain display interface layout data; use the display interface layout data and the dynamic display brightness control data to perform continuous display control of the output power of the audio power amplifier to generate multi-channel output power display data; perform real-time display brightness correction on the multi-channel output power display data to obtain corrected display brightness control data. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] Figure 1 A schematic flow chart of the steps of a display control method for an audio power amplifier of the present invention;

[0083] Figure 2 for Figure 1 Detailed implementation steps of step S3 in FIG.

[0084] Figure 3 for Figure 1 Detailed implementation steps of step S4 in FIG.

[0085] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0086] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.

[0087] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0088] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.

[0089] To achieve this, please refer to Figures 1 to 3 The present invention provides a display control method of an audio power amplifier, comprising the following steps:

[0090] Step S1: acquiring working state parameters of the audio power amplifier to generate device working state parameters; adaptively sampling the output audio signal of the audio power amplifier according to the device working state parameters, and performing digital signal conversion to generate real-time audio output signal data;

[0091] Step S2: performing audio spectrum analysis on the real-time audio output signal data, and performing frequency band energy calculation to generate audio frequency band energy data; performing dynamic energy gradient processing according to the audio frequency band energy data to generate audio energy gradient data; performing color value mapping processing according to the audio energy gradient data to generate color gradient mapping data;

[0092] Step S3: combining display patterns according to the color gradient mapping data to generate dynamic display pattern data; performing energy proportion analysis on the audio frequency band energy data to generate frequency energy proportion data; performing dynamic graphic element scaling on the dynamic display pattern data according to the frequency energy proportion data to generate graphic element scaling data;

[0093] Step S4: Divide the multi-channel display area according to the real-time audio output signal data to obtain multi-display area data; perform audio amplification channel mapping on the audio energy gradient data and the multi-display area data, and adjust the display brightness to generate dynamic display brightness control data; adjust the display interface layout of the multi-display area data through dynamic display pattern data and graphic element scaling data to obtain display interface layout data; use the display interface layout data and the dynamic display brightness control data to continuously display the output power of the audio power amplifier to generate multi-channel output power display data; perform real-time display brightness correction on the multi-channel output power display data to obtain corrected display brightness control data.

[0094] In the embodiment of the present invention, reference Figure 1 The above is a schematic flow chart of the steps of a display control method of an audio power amplifier of the present invention. In this embodiment, the display control method of an audio power amplifier includes the following steps:

[0095] Step S1: acquiring working state parameters of the audio power amplifier to generate device working state parameters; adaptively sampling the output audio signal of the audio power amplifier according to the device working state parameters, and performing digital signal conversion to generate real-time audio output signal data;

[0096] In an embodiment of the present invention, taking a two-channel stereo power amplifier as an example, firstly, a voltage sensor and a current sensor are used to respectively collect the voltage and current signals at the output end of the power amplifier in real time to generate device working state parameters, such as output voltage, output current, load impedance, etc. According to the device working state parameters, such as the peak-to-peak value of the output voltage, the sampling frequency of the audio signal is adaptively adjusted. For example, the higher the peak-to-peak value, the higher the sampling frequency is, so as to ensure the sampling accuracy. A high-speed analog-to-digital converter (ADC) is used to convert the collected analog audio signal into a digital signal to generate real-time audio output signal data. For example, a 16-bit ADC is used to sample the audio signal at a frequency of 96kHz, and the sampled data is stored in a memory.

[0097] Step S2: performing audio spectrum analysis on the real-time audio output signal data, and performing frequency band energy calculation to generate audio frequency band energy data; performing dynamic energy gradient processing according to the audio frequency band energy data to generate audio energy gradient data; performing color value mapping processing according to the audio energy gradient data to generate color gradient mapping data;

[0098] In an embodiment of the present invention, a fast Fourier transform (FFT) algorithm is used to perform spectrum analysis on real-time audio output signal data, and the audio signal is decomposed into multiple frequency bands, for example, the frequency range of 0-20kHz is divided into 10 frequency bands. The energy value of each frequency band is calculated to generate audio frequency band energy data. For example, the square sum of the signal amplitude in each frequency band is calculated to obtain the energy value of the frequency band. Dynamic energy gradient processing is performed on the audio frequency band energy data, for example, the difference between the energy values ​​of adjacent frequency bands is calculated to generate audio energy gradient data, reflecting the change trend of the audio signal energy in the frequency spectrum. Color value mapping processing is performed according to the audio energy gradient data, for example, the energy gradient value is mapped to the hue and saturation of the HSV color space. The larger the gradient value, the warmer the hue and the higher the saturation, and the color gradient mapping data is generated. For example, the energy gradient value is mapped from low to high to the hue changes of blue, green, yellow, and red. The higher the gradient value, the higher the saturation, and the brightness remains unchanged.

[0099] Step S3: combining display patterns according to the color gradient mapping data to generate dynamic display pattern data; performing energy proportion analysis on the audio frequency band energy data to generate frequency energy proportion data; performing dynamic graphic element scaling on the dynamic display pattern data according to the frequency energy proportion data to generate graphic element scaling data;

[0100] In an embodiment of the present invention, a display pattern combination is performed according to the color gradient mapping data, for example, the color mapping data of each frequency band is converted into rectangular bars, and arranged in frequency order to generate dynamic display pattern data. For example, the color mapping data of 10 frequency bands are converted into 10 colored rectangular bars of different heights to form a spectrum diagram. The energy proportion analysis is performed on the audio frequency band energy data, for example, the proportion of the energy value of each frequency band to the total energy value is calculated to generate frequency energy proportion data. The dynamic display pattern data is dynamically scaled by the frequency energy proportion data, for example, the height of each rectangular bar is scaled according to the energy proportion of its corresponding frequency band to generate graphic element scaling data. For example, if the energy proportion of a certain frequency band is 20%, the height of the corresponding rectangular bar is set to 20% of the maximum height.

[0101] Step S4: Divide the multi-channel display area according to the real-time audio output signal data to obtain multi-display area data; perform audio amplification channel mapping on the audio energy gradient data and the multi-display area data, and adjust the display brightness to generate dynamic display brightness control data; adjust the display interface layout of the multi-display area data through dynamic display pattern data and graphic element scaling data to obtain display interface layout data; use the display interface layout data and the dynamic display brightness control data to continuously display the output power of the audio power amplifier to generate multi-channel output power display data; perform real-time display brightness correction on the multi-channel output power display data to obtain corrected display brightness control data.

[0102] In an embodiment of the present invention, a multi-channel display area is divided according to real-time audio output signal data, for example, the display screen is divided into two left and right areas, corresponding to the left channel and the right channel, respectively, to obtain multi-display area data. Audio energy gradient data and multi-display area data are mapped to audio amplification channels, for example, the audio energy gradient data of the left channel is mapped to the left display area, and the audio energy gradient data of the right channel is mapped to the right display area, and the display brightness is adjusted, for example, the energy gradient value is mapped to the display brightness, the larger the gradient value, the higher the brightness, and dynamic display brightness control data is generated. The display interface layout of the multi-display area data is adjusted by dynamically displaying pattern data and graphic element scaling data, for example, the spectrum graph is placed in the corresponding display area to obtain display interface layout data. The output power of the audio power amplifier is continuously displayed and controlled using the display interface layout data and the dynamic display brightness control data, for example, the color and brightness of the spectrum graph are updated on the display screen in real time to generate multi-channel output power display data. Perform real-time display brightness correction on the multi-channel output power display data, for example, use a light sensor to detect the ambient light intensity, and adjust the display brightness according to the ambient light intensity, so as to obtain corrected display brightness control data to ensure that the display effect can be clearly seen under different ambient light.

[0103] Preferably, step S1 comprises the following steps:

[0104] Step S11: acquiring working state parameters of the audio power amplifier to generate device working state parameters;

[0105] Step S12: Performing a weighted scoring of the equipment working state parameters using a preset equipment working state weight value to generate real-time equipment state scoring data;

[0106] Step S13: setting the adaptive sampling frequency according to the real-time device status score data to obtain adaptive sampling frequency data;

[0107] Step S14: sampling the output audio signal of the audio power amplifier in real time through the adaptive sampling frequency data to generate audio sampling stream data;

[0108] Step S15: using an analog-to-digital converter to convert the audio sample stream data into a digital signal to generate real-time audio output signal data.

[0109] In an embodiment of the present invention, built-in sensors and external sensors are used to collect multiple working state parameters of the power amplifier in real time, such as output voltage, output current, load impedance, radiator temperature, fan speed, etc., to generate a device working state parameter data set. For example, a voltage sensor and a current sensor are used to collect the voltage and current signals at the output end of the power amplifier respectively, a temperature sensor is used to collect the radiator temperature, and a Hall sensor is used to detect the fan speed, etc. According to the working characteristics of the power amplifier and the degree of influence on the display effect, the weight value of each device working state parameter is pre-set, for example, the output voltage weight is 0.5, the output current weight is 0.3, the load impedance weight is 0.1, the radiator temperature weight is 0.05, and the fan speed weight is 0.05. The collected device working state parameters are multiplied by the corresponding weight values, and then summed to generate real-time device status scoring data. For example, if the output voltage is 10V, the output current is 5A, the load impedance is 8Ω, the radiator temperature is 50°C, and the fan speed is 1000rpm, then the device status score is: 10 0.5+5 0.3+8 0.1+50 0.05+1000 0.05=59.8. Adaptively adjust the sampling frequency of the audio signal according to the real-time device status score data. For example, the device status score can be divided into multiple levels, each level corresponds to a sampling frequency, and the higher the score, the higher the sampling frequency. For example, when the device status score is lower than 60, the sampling frequency is set to 44.1kHz; when the device status score is between 60 and 80, the sampling frequency is set to 48kHz; when the device status score is higher than 80, the sampling frequency is set to 96kHz. The audio signal output by the power amplifier is sampled in real time according to the adaptive sampling frequency using a high-speed analog-to-digital converter (ADC) to generate audio sampling stream data. For example, a 24-bit ADC is used to sample the audio signal at a frequency of 96kHz, and the sampled data is stored in a memory buffer.

[0110] Preferably, step S2 comprises the following steps:

[0111] Step S21: performing fast Fourier transform on the real-time audio output signal data to obtain real-time audio output frequency domain data;

[0112] Step S22: performing audio spectrum analysis according to the real-time audio output frequency domain data to generate output audio spectrum data;

[0113] Step S23: performing frequency band energy calculation on the output audio spectrum data to generate audio frequency band energy data; performing dynamic energy gradient processing on the audio frequency band energy data to generate audio energy gradient data;

[0114] Step S24: obtaining color display gradient mapping table data, wherein the color display gradient mapping table data includes a color gradient interval and a corresponding energy gradient interval, the color gradient interval is provided with a starting color and an ending color, and a color gradient is generated according to the starting color and the ending color;

[0115] Step S25: performing color interval matching on the audio energy gradient data using the color display gradient mapping table data to generate color interval matching data;

[0116] Step S26: Perform color value mapping processing according to the color interval matching data to generate color gradient mapping data.

[0117] In an embodiment of the present invention, the real-time audio output signal data generated in step S15 are subjected to fast Fourier transform (FFT) respectively. For example, the FFT algorithm library function is used to perform FFT operation on the data of each channel, and the time domain signal is converted into a frequency domain signal to obtain real-time audio output frequency domain data, which contains the amplitude and phase information of each frequency component. The number of FFT points is set to 1024, which means that 1024 sampling points are used as a data block for FFT operation. After completing the FFT operation, frequency domain data of 512 frequency points can be obtained, and the interval between each frequency point is 46.875Hz (48000 / 1024≈46.875). The 512 frequency points obtained in step S21 are divided into 20 frequency bands, each frequency band covers 25 frequency points, totaling 500 frequency points (20 25=500). The remaining 12 frequency points can be ignored. Each frequency band represents a specific frequency range. For example, the first frequency band represents 0-1171.875Hz (25 46.875=1171.875), the second frequency band represents 1171.875-2343.75Hz, and so on. Calculate the sum of the squares of the amplitudes of the 25 frequency points in each frequency band to obtain the energy value of the frequency band. Finally, the output audio spectrum data containing 20 frequency band energy values ​​is generated, corresponding to the left and right channels respectively. These frequency domain data represent the intensity distribution of the left and right channel audio signals at each frequency at the current moment. For example, the sum of the squares of the amplitudes of the 25 frequency points in the first frequency band (0-1171.875Hz) of the left channel is 1000, and the sum of the squares of the amplitudes of the second frequency band (1171.875-2343.75Hz) is 1500, then the energy gradient of the first frequency band of the left channel is 500 (1500-1000=500). And so on, calculate the energy gradients of all 20 frequency bands of the left channel. The same processing is performed on the right channel, and finally the audio energy gradient data of 20 frequency bands of the left and right channels are obtained. A color display gradient mapping table is preset, which contains multiple color gradient intervals and corresponding energy gradient intervals. Each color gradient interval has a starting color and an ending color. For example, the first color gradient interval corresponds to an energy gradient interval of -10dB to -5dB, the starting color is blue (RGB value is (0,0,255)), and the ending color is cyan (RGB value is (0,255,255)); the second color gradient interval corresponds to an energy gradient interval of -5dB to 0dB, the starting color is cyan, and the ending color is green (RGB value is (0,255,0)), and so on. Based on the starting color and the ending color, a color gradient is generated using methods such as linear interpolation. For example, the color gradient from blue to cyan is divided into 5 levels, each level corresponds to an RGB color value, such as (0,0,255), (0,64,255), (0,128,255), (0,192,255), (0,255,255). The audio energy gradient data generated in step S23 is matched with the energy gradient interval in the color display gradient mapping table, for example, the energy gradient value of each frequency band is converted into a dB value (for example, using the formula: 10 log10(energy value)), and then compare it with the energy gradient interval in the mapping table to find the corresponding color gradient interval and generate color interval matching data. For example, if the energy gradient value of a frequency band is -7dB, then its corresponding color gradient interval is -10dB to -5dB. For example, the energy gradient of the first frequency band of the left channel is -3dB, corresponding to the color gradient of "dark yellow to light yellow", then the corresponding color value can be calculated based on the ratio of -3dB in the interval of "-5dB to 0dB", such as RGB(200,200,50). Similar processing is performed on all frequency bands, and finally the color value corresponding to each frequency band of the left and right channels is obtained, that is, the color gradient mapping data.

[0118] Preferably, step S236 includes the following steps:

[0119] Step S231: performing windowing and smoothing processing on the output audio spectrum data, and performing spectrum peak detection to generate audio main frequency component data;

[0120] Step S232: performing frequency range processing according to the audio main frequency component data to generate frequency range division data;

[0121] Step S233: using the frequency range division data to divide the audio main frequency component data into frequency bands, and generating output audio frequency band data;

[0122] Step S234: performing frequency band energy integration operation on the output audio frequency band data to generate audio frequency band energy data;

[0123] Step S235: performing audio frequency band energy statistics on the audio frequency band energy data, and performing energy value averaging processing to generate average frequency band energy data;

[0124] Step S236: Perform dynamic range compression processing according to the average frequency band energy data to obtain compressed frequency band energy data; wherein step S236 is specifically as follows:

[0125] Step S2361: using a preset energy range compression threshold to perform dynamic energy value judgment on the average frequency band energy data, when the average frequency band energy data exceeds the preset energy range compression threshold, logarithmic compression processing is performed on the average frequency band energy data to generate compressed frequency band energy data;

[0126] Step S2362: when the average frequency band energy data does not exceed the preset energy range compression threshold, the average frequency band energy data is used as the compressed frequency band energy data;

[0127] Step S237: performing nonlinear gradient mapping on the compressed frequency band energy data to generate audio energy gradient data.

[0128] In an embodiment of the present invention, the output audio spectrum data generated in step S22 is subjected to windowing and smoothing processing, for example, the spectrum data is subjected to windowing processing using a Hanning window to reduce spectrum leakage. Then, spectrum peak detection is performed, for example, a peak detection algorithm is used to find the local maximum in the spectrum, and these local maximums correspond to the main frequency components of the audio signal. The frequency and amplitude information of these main frequency components are stored in the corresponding array to generate audio main frequency component data. According to the audio main frequency component data, the frequency range of the audio signal is determined. For example, the frequency values ​​of all main frequency components can be sorted, the lowest frequency and the highest frequency can be found, and these two frequency values ​​can be used as the frequency range of the audio signal. For example, if the lowest frequency is 100Hz and the highest frequency is 10kHz, the frequency range of the audio signal is 100Hz to 10kHz. The frequency range division data generated in step S232 is used to divide the audio main frequency component data into frequency bands. For example, the frequency range can be divided into several equal-width frequency bands, or nonlinear division can be performed according to the auditory characteristics of the human ear. For example, the frequency range from 100Hz to 10kHz can be divided into 10 frequency bands, and the width of each frequency band is 1kHz. Then, each main frequency component is allocated to the corresponding frequency band to generate output audio frequency band data. For example, the 200Hz peak of the left channel is divided into the "20Hz-250Hz" sub-band, the 1kHz peak is divided into the "500Hz-1kHz" sub-band, and the 5kHz peak is divided into the "4kHz-8kHz" sub-band. The 100Hz peak of the right channel is divided into the "20Hz-250Hz" sub-band, and the 2kHz peak is divided into the "1kHz-2kHz" sub-band. The output audio frequency band data divided in step S233 is subjected to frequency band energy integration operation. Specifically, the square of the amplitude of all frequency points in each sub-band is integrated to obtain the energy value of the sub-band. For example, the energy value of the "20Hz-250Hz" sub-band of the left channel is the sum of the square of the amplitude of all frequency points in the sub-band. Audio frequency band energy statistics are performed on the audio frequency band energy data, such as calculating the average value, maximum value, minimum value and other statistics of the energy value of each frequency band. Then, the energy value is averaged, for example, the energy value of each frequency band is divided by the number of main frequency components in the frequency band to obtain the average frequency band energy data. An energy range compression threshold is preset, for example, 0.8. For energy values ​​exceeding the threshold in the average frequency band energy data, logarithmic compression is performed, for example: compressed_energy=log10(average_energy) / log10(threshold); where compressed_energy is the compressed energy value, average_energy is the average frequency band energy data, and threshold is the preset energy range compression threshold.For energy values ​​in the average frequency band energy data that do not exceed the preset threshold, they are directly used as compressed frequency band energy data without compression processing. The compressed frequency band energy data obtained in step S236 is subjected to nonlinear gradient mapping to generate audio energy gradient data. The nonlinear mapping function can be designed according to actual needs. For example, a sigmoid function or an exponential function can be used to enhance the visual effect. For example, the following sigmoid function can be used for mapping: energy_gradient=1 / (1+exp(-k. (compressed_energy-c))); where energy_gradient is the energy gradient value after mapping, compressed_energy is the energy value after compression, k is the parameter that controls the steepness of the curve, and c is the parameter that controls the center position of the curve. By adjusting the values ​​of k and c, the shape of the mapping curve can be changed to achieve different visual effects.

[0129] As an example of the present invention, refer to Figure 2 As shown, Figure 1 Detailed implementation steps of step S3 in the flowchart, in this example, step S3 includes:

[0130] Step S31: performing a main color mode analysis on the color gradient mapping data based on a preset color mode library to generate main color display mode data, wherein the main color display mode data includes a basic display pattern, a display primary color, and a display secondary color;

[0131] In an embodiment of the present invention, the preset color mode library includes three modes: Mode 1: the basic display pattern is a circle, the main color is a warm color (such as red, orange, yellow), and the secondary color is a cold color (such as blue, green). Mode 2: the basic display pattern is a triangle, the main color is a cold color, and the secondary color is a warm color. Mode 3: the basic display pattern is a square, the main color is green, and the secondary color is purple. The color gradient mapping data generated by the analysis step S26 is counted to count the frequency and intensity of each color in all frequency bands. For example, if the red color has a higher frequency and greater intensity in the high frequency band, it can be determined that the main color display mode is mode 1. Finally, the main color display mode data is generated, for example: the basic display pattern is a circle, the main color is red, and the secondary color is blue.

[0132] Step S32: drawing a contrasting color pattern according to the display primary color and the display secondary color, and combining display patterns using the basic display pattern to generate dynamic display pattern data;

[0133] In an embodiment of the present invention, according to the display primary color (red) and the display secondary color (blue) determined in step S31, a suitable contrasting color pattern is selected for drawing. For example, red can be used to draw the outer contour of a circle, and blue can be used to draw the inner filling of the circle. According to the resolution of the display screen and the division of the left and right channels, a virtual drawing area is created, for example, a 64x32 pixel area is used to represent the left channel. According to the basic display pattern (circle), the center point coordinates and radius of the circle are calculated. A circle is drawn in the drawing area using a graphics library function (for example, the Bresenham circle drawing algorithm). For example, a circle with a radius of 15 pixels is drawn at the center of the left channel drawing area. The outer contour color of the circle is set to the display primary color (red). The inner filling color of the circle is set to the display secondary color (blue). The drawn graphic information, including the color value and coordinate information of each pixel, is stored in the dynamic display pattern data. The same process is performed on the right channel, and finally the dynamic display pattern data of the left and right channels are generated.

[0134] Step S33: performing energy proportion analysis on the audio frequency band energy data to generate frequency energy proportion data;

[0135] In the embodiment of the present invention, assuming that the audio signal is divided into 20 frequency bands, step S23 generates audio frequency band energy data for each frequency band. The ratio of the energy value of each frequency band to the total energy value is calculated to generate frequency energy proportion data. For example, if the energy value of the first frequency band is 10 and the total energy value is 100, the energy proportion of the first frequency band is 0.1 (10 / 100=0.1).

[0136] Step S34: performing frequency band energy weight allocation according to the frequency energy proportion data to generate frequency band energy weight data;

[0137] In the embodiment of the present invention, a weight value is assigned to each frequency band according to the frequency energy proportion data generated in step S33. For example, the weight values ​​can be assigned to each frequency band from high to low according to the order of energy proportion. The higher the energy proportion of the frequency band, the greater its weight value. Finally, frequency band energy weight data of 20 frequency bands are generated.

[0138] Step S35: constructing a three-dimensional distribution of audio energy according to the frequency band energy weight data, and performing plane projection processing on the dynamic display pattern data to generate audio energy plane projection data;

[0139] In an embodiment of the present invention, the audio energy weight data of 20 frequency bands are mapped to a three-dimensional coordinate system to construct a three-dimensional distribution of audio energy. For example, the frequency band number can be mapped to the X-axis, the energy weight value can be mapped to the Y-axis, and the left and right channels can be mapped to the positive and negative directions of the Z-axis, respectively. Then, the three-dimensional distribution is projected onto a two-dimensional plane, such as an XY plane. The projected figure can be an irregular polygon, whose shape reflects the frequency distribution characteristics of the current audio signal. Finally, the audio energy plane projection data is generated, and the coordinates of each vertex of the polygon are recorded.

[0140] Step S36: Perform graphic element size mapping through audio energy plane projection data, and perform dynamic graphic element scaling to generate graphic element scaling data.

[0141] In the embodiment of the present invention, the size of the graphic element in the dynamic display pattern data generated in step S32 is dynamically adjusted according to the audio energy plane projection data generated in step S35.

[0142] For example, the coordinates of each vertex of the polygon can be mapped to the radius of a circle, the side length of a triangle, or the side length of a square. When the energy of a certain frequency band is high, the corresponding graphic element will be enlarged; otherwise, it will be reduced. Finally, the graphic element scaling data is generated to record the scaling ratio of each graphic element. The scaling ratio of the circle directly reflects the audio energy of the corresponding frequency band. The greater the energy, the greater the scaling ratio and the larger the circle. The simultaneous scaling of multiple circles can intuitively show the spectral distribution and dynamic changes of the audio signal. For example, when the bass frequency energy is strong, the corresponding circle will be significantly larger than other circles. By dynamically adjusting the size of the graphic elements, unnecessary display content can be reduced. For example, when the audio output power is low, the graphic elements can be reduced, thereby reducing the power consumption of the display device and improving display efficiency.

[0143] As an example of the present invention, refer to Figure 3 As shown, Figure 1 Detailed implementation steps of step S4 in the embodiment are shown in the flowchart. In this embodiment, step S4 includes:

[0144] Step S41: performing channel status recognition according to the real-time audio output signal data to obtain audio multi-channel status data; performing multi-channel display area division according to the audio multi-channel status data to obtain multi-display area data;

[0145] In an embodiment of the present invention, real-time audio output signal data is analyzed, and channel status identification is performed based on the real-time audio output signal data, for example, determining whether each channel has an audio signal output, and the audio signal strength of each channel. For example, a threshold value can be set, and when the audio signal strength of a channel exceeds the threshold value, the channel is considered to be in an activated state; otherwise, the channel is considered to be in an inactivated state. The status information of each channel is stored in the audio multi-channel status data, such as stereo, left channel mono, right channel mono, etc. Assuming that the current audio signal is stereo, the display screen of the power amplifier is evenly divided into two left and right display areas, which are used to display the audio information of the left and right channels respectively. If the audio signal is identified as a left channel mono, the entire display screen is used to display the left channel information.

[0146] Step S42: performing audio amplification channel mapping on the audio energy gradient data based on the audio multi-channel state data, and performing energy gradient increment analysis to obtain audio energy gradient increment data;

[0147] In an embodiment of the present invention, the audio energy gradient data generated in step S23 is mapped to the corresponding channel according to the audio multi-channel state data obtained in step S41. For example, if the current sound is stereo, the energy gradient data of the left channel is mapped to the left display area, and the energy gradient data of the right channel is mapped to the right display area. Next, the change trend of the energy gradient data of each channel is analyzed, the increment of the energy gradient between adjacent time windows is calculated, and the audio energy gradient increment data is generated. For example, the difference in the energy gradient of each frequency band between the current time window and the previous time window can be calculated. For example, if the energy gradient value of a frequency band at the current time point is 10, and the energy gradient value of the frequency band at the previous time point is 8, then the energy gradient increment value of the frequency band is 2.

[0148] Step S43: estimating the multi-channel audio output power of the audio power amplifier by using the audio energy gradient increment data to generate audio output power estimation data;

[0149] In an embodiment of the present invention, the audio output power of each channel is estimated based on the audio energy gradient increment data obtained in step S42, combined with the circuit parameters and performance indicators of the power amplifier. For example, a mapping relationship table between energy gradient increment and output power is pre-established, and the table can be obtained through experimental measurement or simulation analysis. Assuming that the energy gradient increment of the first frequency band of the left channel is 0.2, according to the mapping relationship table, it can be found that the audio output power corresponding to this frequency band is 1W. A similar estimation is performed for all frequency bands, and the power values ​​of all frequency bands of each channel are added to obtain an estimated value of the total output power of each channel. For example, the power values ​​of all frequency bands of the left channel are added to obtain 15W, and the power values ​​of all frequency bands of the right channel are added to obtain 10W, and these two estimated values ​​are stored in the audio output power estimation data.

[0150] Step S44: performing preliminary brightness display calculation on the multi-display area data according to the audio output power estimation data to generate initial area brightness display data;

[0151] In the embodiment of the present invention, according to the audio output power estimation data (15W for the left channel and 10W for the right channel) generated in step S43, a preliminary brightness display calculation is performed on the multi-display area data divided in step S41. For example, the output power estimation value of each channel can be linearly mapped to the corresponding display area brightness value. Assuming that the brightness range of the display screen is 0 to 255, the output power of the left channel 15W can be mapped to a brightness value of 200, and the output power of the right channel 10W can be mapped to a brightness value of 133. The initial brightness value of each display area is stored in the initial area brightness display data, for example, the initial brightness value of the left display area is 200, and the initial brightness value of the right display area is 133.

[0152] Step S45: performing regional brightness display compensation on the initial regional brightness display data, and performing display brightness control adjustment to generate dynamic display brightness control data;

[0153] In the embodiment of the present invention, the initial regional brightness display data generated in step S44 is compensated for regional brightness display. For example, in order to enhance the stereo effect, the brightness can be compensated according to the difference between the left and right channel powers. Assuming that the preset power linkage intensity coefficient is 0.1 and the left and right channel power difference is 5W (15W-10W=5W), the brightness compensation value is 0.5 (5W 0.1=0.5). Increase the brightness value of the left display area by 0.5 and decrease the brightness value of the right display area by 0.5 to obtain the compensated brightness value. For example, the brightness value of the left display area is 200.5 and the brightness value of the right display area is 132.5. Then perform display brightness control adjustment. For example, in order to avoid excessive brightness or low brightness, you can set an upper and lower brightness limit. Assuming that the upper brightness limit is 255 and the lower brightness limit is 0, limit the brightness value of the left display area to within 255 and the brightness value of the right display area to above 0. Finally, generate dynamic display brightness control data. For example, the brightness value of the left display area is 255 and the brightness value of the right display area is 132.5.

[0154] Step S46: Drawing dynamic visual elements based on the multi-display area data through the dynamic display pattern data and the graphic element scaling data, and adjusting the display interface layout to obtain display interface layout data;

[0155] In an embodiment of the present invention, based on the multi-display area data (left display area and right display area) obtained in step S41, the dynamic display pattern data generated in step S32 (for example, there is a circular pattern for each left and right channel) and the graphic element scaling data generated in step S36 (for example, the circular scaling ratio corresponding to each frequency band) are used to draw dynamic visual elements. For example, a circular pattern is drawn in the left display area, and its radius is scaled according to the audio energy of the corresponding frequency band. Assuming that the energy of the first frequency band in the left display area is higher, the radius of the circle corresponding to it is enlarged; if the energy of the second frequency band is lower, the radius of the circle corresponding to it is reduced. Similar scaling operations are performed on the circles of all frequency bands and drawn in the left display area. The same process is performed on the right display area, and finally the dynamic visual elements of the left and right channels are obtained. Then, the display interface layout is adjusted. For example, the position, size, color, etc. of the circular pattern can be adjusted according to the dynamic changes of the audio signal to make the display interface more vivid and intuitive. The final display interface layout information is stored in the display interface layout data, for example, the center coordinates, radius, color and other information of each circular pattern are recorded.

[0156] Step S47: Utilize the display interface layout data and the dynamic display brightness control data to continuously display the output power of the audio power amplifier and generate multi-channel output power display data; perform real-time display brightness correction on the multi-channel output power display data to obtain corrected display brightness control data.

[0157] In an embodiment of the present invention, the display interface layout data generated in step S46 (for example, the center coordinates, radius, color, and other information of each circular pattern) and the dynamic display brightness control data generated in step S45 (for example, the brightness value of the left display area is 255, and the brightness value of the right display area is 132.5) are used to continuously display the output power of the audio power amplifier. For example, each pixel of the display screen is mapped to an LED light, and the brightness of each LED light is controlled according to the display interface layout data and the dynamic display brightness control data. For example, the brightness of the LED light in the left display area is set to 255, and the brightness of the LED light in the right display area is set to 132.5. At the same time, according to the information of the circular pattern, the color and brightness of the LED light at the corresponding position are controlled, for example, the color of the LED light inside the circular pattern is set to blue, and the brightness is set to the brightness value corresponding to the circular pattern. Finally, the dynamic changes of the left and right channel audio signals are presented on the display screen, for example, the circular pattern in the left display area is larger and brighter, indicating that the audio energy of the left channel is higher; the circular pattern in the right display area is smaller and darker, indicating that the audio energy of the right channel is lower. Then, the multi-channel output power display data is subjected to real-time display brightness correction. For example, a brightness sensor can be used to monitor the brightness of the display screen in real time and compare it with the target brightness value. If there is a deviation between the actual brightness and the target brightness, the brightness of the LED light is adjusted to be close to the target brightness. For example, if the actual brightness of the left display area is lower than the target brightness of 255, the brightness of the LED light in the left display area is increased; if the actual brightness of the right display area is higher than the target brightness of 132.5, the brightness of the LED light in the right display area is decreased. The corrected brightness control data is stored in the corrected display brightness control data, for example, the brightness value of the left display area is 250, and the brightness value of the right display area is 130.

[0158] Preferably, step S44 includes the following steps:

[0159] Step S441: dividing the output power into intervals according to the audio output power estimation data to obtain power interval division data;

[0160] Step S442: setting the brightness change rate for the power interval division data to generate brightness change rate data;

[0161] Step S443: setting the display brightness interval boundary value of the audio power amplifier according to the brightness change rate data, and constructing a power-brightness piecewise linear function according to the power interval division data;

[0162] Step S444: using a power-brightness piecewise linear function to perform initial display brightness calculation on the multi-display region data to generate initial region brightness display data.

[0163] In an embodiment of the present invention, for example, the maximum output power of the audio power amplifier is 100W. In order to achieve more refined brightness control, the output power range of 0-100W is divided into 5 intervals: 0-20W, 20-40W, 40-60W, 60-80W, and 80-100W. Each interval corresponds to a different brightness change rate to reflect the impact of power changes on visual effects. These power interval information are recorded in the power interval division data. In order to make the brightness change more obvious when the low power output is output and the brightness change is smoother when the high power output is output, a different brightness change rate is set for each power interval. For example, the brightness change rate of the 0-20W interval is set to 10% / W, the brightness change rate of the 20-40W interval is set to 5% / W, the brightness change rate of the 40-60W interval is set to 3% / W, the brightness change rate of the 60-80W interval is set to 2% / W, and the brightness change rate of the 80-100W interval is set to 1% / W. These brightness change rate information are recorded in the brightness change rate data. According to the brightness change rate set in step S442, the display brightness interval boundary value of each power interval is calculated. Taking the left channel as an example, assuming that its output power estimate is 30W, which falls within the power interval of 20-40W. The brightness change rate of this interval is 5% / W, so the brightness range of this interval is 50%-100% (50%=20W*5% / W, 100%=40W 5% / W). Based on the power interval division data and brightness change rate data, a power-brightness piecewise linear function is constructed to calculate the brightness value corresponding to each power value. The expression of the piecewise linear function is as follows: brightness=if power<=20:10 power; else if power<= 40: 5 power + 100; else if power<=60:3 power+200; else ifpower<=80:2 power+300; else: power+400; where brightness represents the brightness value, ranging from 0-1000, corresponding to 0%-100% of the actual brightness; power represents the power value, ranging from 0-100W. According to the power-brightness piecewise linear function constructed in step S443, the brightness value corresponding to the left channel output power of 30W is calculated. Substituting 30 into the function expression, the brightness value is 250 (250=5 30+100), corresponding to the actual brightness of 25%. Set the initial area brightness display data of the left channel to 25%. If there is no audio signal input to the right channel, its initial area brightness display data remains at 0.

[0164] Preferably, step S45 includes the following steps:

[0165] Step S451: collecting real-time channel output power of the audio power amplifier through the audio multi-channel status data to generate real-time channel power output data;

[0166] Step S452: performing power data area allocation according to the real-time channel power output data to obtain channel power allocation data;

[0167] Step S453: Calculating adjacent channel power differences according to the channel power allocation data to generate channel power difference data;

[0168] Step S454: performing brightness area compensation calculation on the channel power difference data using a preset power linkage intensity coefficient to generate multi-channel brightness compensation data;

[0169] Step S455: performing linkage brightness superposition processing on the initial area brightness display data through the multi-channel brightness compensation data to generate dynamic brightness compensation data;

[0170] Step S456: performing multi-region independent brightness control signal processing according to the dynamic brightness compensation data to generate dynamic display brightness control data.

[0171] In an embodiment of the present invention, the output power of the left and right channels is collected in real time by using a power detection circuit built into the power amplifier or an external power meter. For example, a current sensor and a voltage sensor can be used to measure the current and voltage at the output ends of the left and right channels respectively, and then the real-time power value is calculated according to the power formula P=U×I. The collected power values ​​of the left and right channels are stored in the real-time channel power output data, for example, the real-time power of the left channel is 16W, and the real-time power of the right channel is 12W. According to the real-time channel power output data (16W for the left channel and 12W for the right channel) generated in step S451, the power data is allocated to the corresponding display area. For example, the power value of the left channel 16W is allocated to the left display area, and the power value of the right channel 12W is allocated to the right display area. The power value corresponding to each display area is stored in the channel power allocation data, for example, the power value of the left display area is 16W, and the power value of the right display area is 12W. According to the channel power allocation data (16W for the left display area and 12W for the right display area) obtained in step S452, the power difference between adjacent channels is calculated. For example, the power difference between the left and right channels is 4W (16W-12W=4W). The calculated power difference is stored in the channel power difference data. The channel power difference data is calculated for brightness area compensation using the preset power linkage intensity coefficient. The power linkage intensity coefficient is used to adjust the degree of influence of the power difference between channels on brightness compensation. For example, the power linkage intensity coefficient can be set to 0.1. According to the channel power difference data 4W and the power linkage intensity coefficient 0.1, the brightness area compensation value is calculated: Compensation=PowerDifference×Coefficient. Among them, Compensation represents the brightness compensation value, PowerDifference represents the channel power difference, and Coefficient represents the power linkage intensity coefficient. In this example, the brightness compensation value is 0.4 (4W×0.1=0.4). The calculated brightness compensation value is stored in the multi-channel brightness compensation data. For example, the brightness compensation value of the left display area is +0.4, and the brightness compensation value of the right display area is -0.4. The initial area brightness display data is linked to brightness superposition processing through the multi-channel brightness compensation data. For example, the initial area brightness display data generated in step S44 is: the left display area is 150, and the right display area is 100. According to the brightness compensation value calculated in step S454, the initial brightness value is superimposed: NewBrightness = InitialBrightness+Compensation. Among them, NewBrightness represents the brightness value after superposition, InitialBrightness represents the initial brightness value, and Compensation represents the brightness compensation value.In this example, the superimposed brightness value of the left display area is 150.4 (150+0.4=150.4), and the superimposed brightness value of the right display area is 99.6 (100-0.4=99.6). Convert the brightness value of each display area into a corresponding control signal. For example, the brightness value can be normalized to a range of 0 to 1, and then the normalized brightness value can be multiplied by the maximum output current value of the LED driver chip to obtain the driving current value of each LED lamp. Assuming that the maximum output current of the LED driver chip is 20mA, the driving current value of the LED lamp in the left display area is: Current=NormalizedBrightness×MaxCurrent; where Current represents the driving current value of the LED lamp, NormalizedBrightness represents the normalized brightness value, and MaxCurrent represents the maximum output current value of the LED driver chip. In this example, the driving current value of the LED lamp in the left display area is 11.8mA (150.4 / 255×20mA≈11.8mA), and the driving current value of the LED lamp in the right display area is 7.8mA (99.6 / 255×20mA≈7.8mA).

[0172] Preferably, step S47 includes the following steps:

[0173] Step S471: using the display interface layout data to perform display interface layout analysis on the audio power amplifier to generate display area layout matrix data;

[0174] Step S472: decoding the dynamic display brightness control data into multi-region independent brightness parameters to generate brightness control parameter data;

[0175] Step S473: mapping the brightness control parameter data to the display area according to the display area layout matrix data to generate regional brightness allocation data;

[0176] Step S474: Divide the LED display array into a plurality of drive units according to the regional brightness distribution data, each unit being composed of a plurality of LEDs connected in series and a constant current drive circuit, thereby obtaining a display control drive unit;

[0177] Step S475: Calculating the pulse width modulation duty cycle of the display control driving unit according to the regional brightness distribution data to generate brightness pulse width modulation control signal data;

[0178] Step S476: dynamically adjusting the regional brightness using the driving circuit based on the brightness pulse width modulation control signal data, and performing continuous display control of the audio output power using the display area layout matrix data to generate multi-channel output power display data;

[0179] Step S477: using a brightness sensor to monitor the audio power amplifier in real time, and performing multi-region brightness deviation analysis to generate real-time brightness deviation data;

[0180] Step S478: performing display brightness correction on the multi-channel output power display data using the real-time brightness deviation data, thereby obtaining corrected display brightness control data.

[0181] In the embodiment of the present invention, for example, the display screen of the audio power amplifier is a 128x64 pixel LED array, and the display interface layout data generated in step S46 includes dynamic visual element information of the left and right channels, such as the center coordinates, radius, color, etc. of the circular pattern. Using the display interface layout data, the display interface of the audio power amplifier is analyzed for layout, and a 128 64 is a two-dimensional array used to represent the pixels of the entire display screen. Traverse each pixel in the circle of the left display area and set the value of the corresponding array element to 1, indicating that the pixel needs to be lit; for the pixels outside the circle and all the pixels in the right display area, keep the value of the array element 0, indicating that these pixels do not need to be lit. The resulting display area layout matrix data is a 128 64, which contains the display status information of each pixel. Since the brightness of the left and right channel display areas needs to be controlled independently, the dynamic display brightness control data needs to be decoded separately. For example, the brightness control signal of the left display area is 60. Assuming that the maximum brightness of the LED array in this area is 255, the decoded brightness control parameter data is 153 (153≈60 / 100 255). Similarly, the brightness control signal of the right display area is 40, and the decoded brightness control parameter data is 102 (102≈40 / 100 255). The brightness control parameter data finally generated contains independent brightness information for the left and right channels, which are 153 and 102 respectively. Traverse the display area layout matrix data generated in step S471. For the array element with a value of 1, it means that the pixel needs to be lit. According to the display area where it is located, assign the corresponding brightness control parameter data in step S472 to the pixel. For example, for the pixel in the circle of the left display area, set its brightness value to 153; for the right display area, since there is no graphic display at present, the brightness values ​​of all pixels are kept at 0. The final generated regional brightness allocation data is a 128 64, which contains the specific brightness value of each pixel. Assume that the LED display screen of the power amplifier consists of 8 rows of LEDs, 16 LEDs in each row, and a total of 128 LEDs. In order to achieve more precise brightness control, these 128 LEDs are divided into 8 drive units, each of which contains 16 LEDs connected in series and controlled by a constant current drive circuit. According to the regional brightness distribution data generated in step S473, the PWM signal duty cycle of each drive unit is calculated. For example, assuming that among the 16 LEDs controlled by the first drive unit, 8 LEDs have a brightness value of 153 and the remaining 8 LEDs have a brightness value of 0, then the average brightness value of the drive unit is 76.5 (76.5=(153 8+0 8) / 16). Assuming that the period of the PWM signal is 1 millisecond, the duty cycle of the PWM signal of the drive unit is 76.5% (76.5%=76.5 / 100). For example, if the duty cycle of the PWM signal of the first drive unit is set to 76.5%, then 8 of the 16 LEDs controlled by the drive unit will be lit at 100% brightness, and the remaining 8 LEDs will be turned off, thereby achieving an average brightness of 76.5%. At the same time, the display area layout matrix data is used to control the display state of each pixel, for example, the pixels in the circular area are lit, and the pixels outside the circular area are turned off, and finally a dynamic circular pattern is presented on the display screen. The brightness of the display screen is monitored in real time using a brightness sensor. For example, a plurality of photosensitive sensors can be evenly placed around the display screen to measure the light intensity of different areas respectively, and the measurement results are converted into brightness values. The real-time brightness value of each area is compared with the regional brightness distribution data generated in step S473 to analyze the brightness deviation. For example, assuming that the target brightness value of the area controlled by the first driving unit is 76.5, and the actual measured brightness value is 74, then the brightness deviation of the area is -2.5. According to the real-time brightness deviation data obtained by analyzing step S477, the multi-channel output power display data is corrected for display brightness. For example, for an area with a negative brightness deviation, the PWM signal duty cycle of the area can be appropriately increased to increase the LED brightness; conversely, the PWM signal duty cycle can be appropriately reduced to reduce the LED brightness. By correcting the display brightness in real time, the influence of factors such as ambient light and LED aging on the display effect can be effectively overcome to ensure the accuracy and stability of the display effect. For example, in the case where the brightness deviation of the first driving unit is -2.5, the PWM signal duty cycle can be adjusted from 76.5% to 79% ((76.5+2.5) / 100), thereby increasing the brightness to the target value of 76.5.

[0182] Preferably, the present invention further provides a display control system of an audio power amplifier, which executes the display control method of the audio power amplifier as described above, and the display control system of the audio power amplifier comprises:

[0183] The working state acquisition module is used to obtain working state parameters of the audio power amplifier and generate equipment working state parameters; the output audio signal of the audio power amplifier is adaptively sampled according to the equipment working state parameters, and digital signal conversion is performed to generate real-time audio output signal data;

[0184] The spectrum energy calculation module is used to perform audio spectrum analysis on the real-time audio output signal data, and perform frequency band energy calculation to generate audio frequency band energy data; perform dynamic energy gradient processing based on the audio frequency band energy data to generate audio energy gradient data; perform color value mapping processing based on the audio energy gradient data to generate color gradient mapping data;

[0185] The display element generation module is used to combine display patterns according to the color gradient mapping data to generate dynamic display pattern data; perform energy proportion analysis on the audio frequency band energy data to generate frequency energy proportion data; perform dynamic graphic element scaling on the dynamic display pattern data according to the frequency energy proportion data to generate graphic element scaling data;

[0186] The output power display control module is used to divide the multi-channel display area according to the real-time audio output signal data to obtain the multi-display area data; perform audio amplification channel mapping between the audio energy gradient data and the multi-display area data, and adjust the display brightness to generate dynamic display brightness control data; adjust the display interface layout of the multi-display area data by dynamic display pattern data and graphic element scaling data to obtain display interface layout data; use the display interface layout data and the dynamic display brightness control data to perform continuous display control of the output power of the audio power amplifier to generate multi-channel output power display data; perform real-time display brightness correction on the multi-channel output power display data to obtain corrected display brightness control data.

[0187] The beneficial effect of the present application is that the display accuracy and visual feedback effect of the audio power amplifier are significantly improved through the real-time and continuous audio output signal sampling and processing mechanism. Different from the traditional LED-based discrete display, the present invention can accurately obtain the output audio signal of the audio power amplifier at each working stage through the acquisition and adaptive sampling of the working state parameters of the equipment, and perform digital processing to ensure the continuity and accuracy of signal acquisition. Through the frequency band energy calculation after spectrum analysis, the energy distribution of audio signals in different frequency bands is carefully evaluated, so that the energy data of each frequency band not only reflects the strength of the overall audio signal, but also accurately displays the dynamic changes of energy in each frequency band. Through audio energy gradient processing and color gradient mapping, the dynamic change display of power display is effectively realized, so that the power output change is not only reflected in the change of value, but also through the smooth transition of color gradient, the tiny energy fluctuation of the audio signal is intuitively presented, which can make up for the defects of "no display" or display lag in the low power stage of traditional LED display. By analyzing the energy proportion of the audio frequency band, the reasonable allocation of display resources is guaranteed, especially in the multi-channel scene, the display brightness and display area can be dynamically allocated according to the audio signals of different channels. This not only avoids the signal weakening problem caused by the average distribution of resources between channels in the traditional method, but also makes the audio signal changes of each channel fully displayed by intelligently adjusting the brightness and display interface layout, significantly improving the power display continuity and detail display of the audio power amplifier. Using the preset power linkage intensity coefficient for brightness area compensation can effectively adjust the display brightness between channels, so that the display effects of different channels are coordinated with each other, effectively solving the common brightness imbalance problem in multi-channel audio systems. This linkage brightness control not only improves the intelligent level of display effects, but also allows users to intuitively perceive the power changes of each channel under different audio output conditions.

[0188] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.

[0189] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A display control method for an audio power amplifier, characterized in that: The following steps are involved: Step S1: acquiring working state parameters of the audio power amplifier to generate device working state parameters; adaptively sampling the output audio signal of the audio power amplifier according to the device working state parameters, and performing digital signal conversion to generate real-time audio output signal data; Step S2: performing audio spectrum analysis on the real-time audio output signal data, and performing frequency band energy calculation to generate audio frequency band energy data; performing dynamic energy gradient processing according to the audio frequency band energy data to generate audio energy gradient data; Performing color value mapping processing according to the audio energy gradient data to generate color gradient mapping data; Step S3: performing display pattern combination according to the color gradient mapping data to generate dynamic display pattern data; performing energy proportion analysis on the audio frequency band energy data to generate frequency energy proportion data; Perform dynamic graphic element scaling on the dynamic display pattern data through the frequency energy ratio data to generate graphic element scaling data; Step S4: Divide the multi-channel display area according to the real-time audio output signal data to obtain multi-display area data; perform audio amplification channel mapping on the audio energy gradient data and the multi-display area data, and adjust the display brightness to generate dynamic display brightness control data; adjust the display interface layout of the multi-display area data through dynamic display pattern data and graphic element scaling data to obtain display interface layout data; use the display interface layout data and the dynamic display brightness control data to continuously display the output power of the audio power amplifier to generate multi-channel output power display data; perform real-time display brightness correction on the multi-channel output power display data to obtain corrected display brightness control data.

2. The display control method of the audio power amplifier according to claim 1, characterized in that: Step S1 includes the following steps: Step S11: acquiring working state parameters of the audio power amplifier to generate device working state parameters; Step S12: Performing a weighted scoring of the equipment working state parameters using a preset equipment working state weight value to generate real-time equipment state scoring data; Step S13: setting the adaptive sampling frequency according to the real-time device status score data to obtain adaptive sampling frequency data; Step S14: sampling the output audio signal of the audio power amplifier in real time through the adaptive sampling frequency data to generate audio sampling stream data; Step S15: using an analog-to-digital converter to convert the audio sample stream data into a digital signal to generate real-time audio output signal data.

3. The display control method of the audio power amplifier according to claim 1, characterized in that: Step S2 includes the following steps: Step S21: performing fast Fourier transform on the real-time audio output signal data to obtain real-time audio output frequency domain data; Step S22: performing audio spectrum analysis according to the real-time audio output frequency domain data to generate output audio spectrum data; Step S23: performing frequency band energy calculation on the output audio spectrum data to generate audio frequency band energy data; performing dynamic energy gradient processing on the audio frequency band energy data to generate audio energy gradient data; Step S24: obtaining color display gradient mapping table data, wherein the color display gradient mapping table data includes a color gradient interval and a corresponding energy gradient interval, the color gradient interval is provided with a starting color and an ending color, and a color gradient is generated according to the starting color and the ending color; Step S25: performing color interval matching on the audio energy gradient data using the color display gradient mapping table data to generate color interval matching data; Step S26: Perform color value mapping processing according to the color interval matching data to generate color gradient mapping data.

4. The display control method of the audio power amplifier according to claim 3, characterized in that: Step S23 includes the following steps: Step S231: performing windowing and smoothing processing on the output audio spectrum data, and performing spectrum peak detection to generate audio main frequency component data; Step S232: performing frequency range processing according to the audio main frequency component data to generate frequency range division data; Step S233: using the frequency range division data to divide the audio main frequency component data into frequency bands, and generating output audio frequency band data; Step S234: performing frequency band energy integration operation on the output audio frequency band data to generate audio frequency band energy data; Step S235: performing audio frequency band energy statistics on the audio frequency band energy data, and performing energy value averaging processing to generate average frequency band energy data; Step S236: Perform dynamic range compression processing according to the average frequency band energy data to obtain compressed frequency band energy data; wherein step S236 is specifically as follows: Step S2361: using a preset energy range compression threshold to perform dynamic energy value judgment on the average frequency band energy data, when the average frequency band energy data exceeds the preset energy range compression threshold, logarithmic compression processing is performed on the average frequency band energy data to generate compressed frequency band energy data; Step S2362: when the average frequency band energy data does not exceed the preset energy range compression threshold, the average frequency band energy data is used as the compressed frequency band energy data; Step S237: performing nonlinear gradient mapping on the compressed frequency band energy data to generate audio energy gradient data.

5. The display control method of the audio power amplifier according to claim 3, characterized in that: Step S3 includes the following steps: Step S31: performing a main color mode analysis on the color gradient mapping data based on a preset color mode library to generate main color display mode data, wherein the main color display mode data includes a basic display pattern, a display primary color, and a display secondary color; Step S32: drawing a contrasting color pattern according to the display primary color and the display secondary color, and combining display patterns using the basic display pattern to generate dynamic display pattern data; Step S33: performing energy proportion analysis on the audio frequency band energy data to generate frequency energy proportion data; Step S34: performing frequency band energy weight allocation according to the frequency energy proportion data to generate frequency band energy weight data; Step S35: constructing a three-dimensional distribution of audio energy according to the frequency band energy weight data, and performing plane projection processing on the dynamic display pattern data to generate audio energy plane projection data; Step S36: Perform graphic element size mapping through audio energy plane projection data, and perform dynamic graphic element scaling to generate graphic element scaling data.

6. The display control method of the audio power amplifier according to claim 1, characterized in that: Step S4 includes the following steps: Step S41: performing channel status recognition according to the real-time audio output signal data to obtain audio multi-channel status data; performing multi-channel display area division according to the audio multi-channel status data to obtain multi-display area data; Step S42: performing audio amplification channel mapping on the audio energy gradient data based on the audio multi-channel state data, and performing energy gradient increment analysis to obtain audio energy gradient increment data; Step S43: estimating the multi-channel audio output power of the audio power amplifier by using the audio energy gradient increment data to generate audio output power estimation data; Step S44: performing preliminary brightness display calculation on the multi-display area data according to the audio output power estimation data to generate initial area brightness display data; Step S45: performing regional brightness display compensation on the initial regional brightness display data, and performing display brightness control adjustment to generate dynamic display brightness control data; Step S46: Drawing dynamic visual elements based on the multi-display area data through the dynamic display pattern data and the graphic element scaling data, and adjusting the display interface layout to obtain display interface layout data; Step S47: Utilize the display interface layout data and the dynamic display brightness control data to continuously display the output power of the audio power amplifier and generate multi-channel output power display data; perform real-time display brightness correction on the multi-channel output power display data to obtain corrected display brightness control data.

7. The display control method of the audio power amplifier according to claim 6, characterized in that: Step S44 includes the following steps: Step S441: dividing the output power into intervals according to the audio output power estimation data to obtain power interval division data; Step S442: setting the brightness change rate for the power interval division data to generate brightness change rate data; Step S443: setting the display brightness interval boundary value of the audio power amplifier according to the brightness change rate data, and constructing a power-brightness piecewise linear function according to the power interval division data; Step S444: using a power-brightness piecewise linear function to perform initial display brightness calculation on the multi-display region data to generate initial region brightness display data.

8. The display control method of the audio power amplifier according to claim 6, characterized in that: Step S45 includes the following steps: Step S451: collecting real-time channel output power of the audio power amplifier through the audio multi-channel status data to generate real-time channel power output data; Step S452: performing power data area allocation according to the real-time channel power output data to obtain channel power allocation data; Step S453: Calculating adjacent channel power differences according to the channel power allocation data to generate channel power difference data; Step S454: performing brightness area compensation calculation on the channel power difference data using a preset power linkage intensity coefficient to generate multi-channel brightness compensation data; Step S455: performing linkage brightness superposition processing on the initial area brightness display data through the multi-channel brightness compensation data to generate dynamic brightness compensation data; Step S456: performing multi-region independent brightness control signal processing according to the dynamic brightness compensation data to generate dynamic display brightness control data.

9. The display control method of the audio power amplifier according to claim 6, characterized in that: Step S47 includes the following steps: Step S471: using the display interface layout data to perform display interface layout analysis on the audio power amplifier to generate display area layout matrix data; Step S472: decoding the dynamic display brightness control data into multi-region independent brightness parameters to generate brightness control parameter data; Step S473: mapping the brightness control parameter data to the display area according to the display area layout matrix data to generate regional brightness allocation data; Step S474: Divide the LED display array into a plurality of drive units according to the regional brightness distribution data, each unit being composed of a plurality of LEDs connected in series and a constant current drive circuit, thereby obtaining a display control drive unit; Step S475: Calculate the pulse width modulation duty cycle of the display control driving unit according to the regional brightness distribution data to generate brightness pulse width modulation control signal data; Step S476: dynamically adjusting the regional brightness using the driving circuit based on the brightness pulse width modulation control signal data, and performing continuous display control of the audio output power using the display area layout matrix data to generate multi-channel output power display data; Step S477: using a brightness sensor to monitor the audio power amplifier in real time, and performing multi-region brightness deviation analysis to generate real-time brightness deviation data; Step S478: performing display brightness correction on the multi-channel output power display data using the real-time brightness deviation data, thereby obtaining corrected display brightness control data.

10. A display control system for an audio power amplifier, characterized in that: Used to execute the display control method of the audio power amplifier according to claim 1, the display control system of the audio power amplifier comprises: The working state acquisition module is used to obtain working state parameters of the audio power amplifier and generate equipment working state parameters; the output audio signal of the audio power amplifier is adaptively sampled according to the equipment working state parameters, and digital signal conversion is performed to generate real-time audio output signal data; The spectrum energy calculation module is used to perform audio spectrum analysis on the real-time audio output signal data, and perform frequency band energy calculation to generate audio frequency band energy data; perform dynamic energy gradient processing according to the audio frequency band energy data to generate audio energy gradient data; perform color value mapping processing according to the audio energy gradient data to generate color gradient mapping data; The display element generation module is used to combine display patterns according to the color gradient mapping data to generate dynamic display pattern data; perform energy proportion analysis on the audio frequency band energy data to generate frequency energy proportion data; perform dynamic graphic element scaling on the dynamic display pattern data according to the frequency energy proportion data to generate graphic element scaling data; The output power display control module is used to divide the multi-channel display area according to the real-time audio output signal data to obtain the multi-display area data; perform audio amplification channel mapping between the audio energy gradient data and the multi-display area data, and adjust the display brightness to generate dynamic display brightness control data; adjust the display interface layout of the multi-display area data by dynamic display pattern data and graphic element scaling data to obtain display interface layout data; use the display interface layout data and the dynamic display brightness control data to perform continuous display control of the output power of the audio power amplifier to generate multi-channel output power display data; perform real-time display brightness correction on the multi-channel output power display data to obtain corrected display brightness control data.

Citation Information

Patent Citations

  • Method of manufacturing a film product

    US60100255P0

  • Image processing method and device

    CN112215760A

  • Light dynamic control method, device and system based on sound and storage medium

    CN113727501A