Power amplifier mode conversion method and system, storage medium and vehicle

By using a power amplifier mode switching method, the volume is calibrated to mute and then enters adaptive mode, which solves the acoustic problems caused by volume changes and speaker obstruction during vehicle startup, thus improving the user experience.

CN121036710APending Publication Date: 2025-11-28GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511184596.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-22
Publication Date
2025-11-28

AI Technical Summary

Technical Problem

The power amplifier was not calibrated after the vehicle rolled off the production line, which caused a sudden change in volume during startup, potentially harming the health of the operators. Furthermore, the change in acoustic performance after the audio system was blocked affected the user experience.

Method used

By using a power amplifier mode switching method, the volume is first calibrated in mute mode, then parameters are written in tuning mode, and finally adaptive calibration is performed in adaptive mode, thus solving the problems of volume variation and acoustic performance.

Benefits of technology

To prevent sudden volume changes during startup, improve user driving comfort, resolve acoustic performance changes caused by speaker obstruction, and enable quick factory reset.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The invention relates to a power amplifier mode conversion method and system, a storage medium and a vehicle, and belongs to the technical field of vehicle audio power amplifiers. According to the method, when a permanent flag bit is not written into a power amplifier, the power amplifier is controlled to enter a first mode, the power amplifier is muted, and after the power amplifier is muted, the power amplifier is switched into a second mode; calibrating the volume of the power amplifier, releasing the mute after the volume calibration, tuning the power amplifier after the mute is released, writing a tuning parameter into a permanent flag bit of the power amplifier, controlling the power amplifier to restart to enter a second mode, and controlling the power amplifier to enter a third mode after receiving a sound calibration signal, and carrying out adaptive calibration on the power amplifier. The power amplifier is muted in the first mode, noise damage to an operator due to the fact that the volume is too large suddenly is prevented, self-adaptive calibration is carried out in the third mode in the second mode, and the problem of sound pressure abnormity caused by sound shielding is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicle audio power amplifier, in particular to a power amplifier mode conversion method and system, a storage medium and a vehicle. BACKGROUND

[0002] At present, vehicles as a necessary tool for every family to travel, provide consumers with a comfortable transportation experience. As a mobile space, vehicles provide users with many convenient entertainment experiences, and the vehicle audio system has become an indispensable entertainment device for consumers. With the continuous development of electronic acoustics, more and more consumers pursue better auditory comfort and driving experience. The abbreviation of power amplifier is power amplifier. The function of the audio power amplifier is to amplify the weak audio signal to the power required to drive the loudspeaker (i.e. the sound) to work, so as to restore the sound signal and realize high-quality audio playback.

[0003] The size and sound effect of the audio power amplifier need to be adjusted, that is, the tuning we say. This operation is performed by the host factory before the vehicle is put on the market after completing the assembly and offline. After the power amplifier tuning and calibration are completed and pass the factory detection, the vehicle is put on the market. However, before the power amplifier is calibrated after the vehicle is offline, the initial sound of the power amplifier cannot be determined. When adjusting through the volume adjustment operation, the decibel number of up / down adjustment cannot be determined, which may cause the sound to be very large at the moment the vehicle starts. This sudden volume change will cause certain damage to the health of the operator. Moreover, after the vehicle is put on the market, the consumer may decorate the vehicle after purchasing, such as putting dustproof covers on the seat headrest and other parts, which may cause the sound to be blocked, thereby affecting the user's driving experience. SUMMARY

[0004] In view of the above problems existing in the prior art, the present application provides a power amplifier mode conversion method and system. After the vehicle is offline, before the power amplifier is calibrated, the power amplifier is forcibly muted through the first mode of the power amplifier, and the volume of the power amplifier is calibrated to prevent sudden volume change from causing damage to the health of the operator. At the same time, after the vehicle is put on the market, the power amplifier can be adaptively calibrated through the third mode to solve the problem of acoustic performance change caused by sound blocking.

[0005] In a first aspect, a power amplifier mode conversion method is provided, applied to a vehicle. The method comprises: determining whether the power amplifier is written into a permanent mark bit; when the power amplifier is not written into the permanent mark bit, controlling the power amplifier to enter a first mode; After the power amplifier enters the first mode, mute the power amplifier; After the power amplifier is muted, calibrate the volume of the power amplifier, and unmute the power amplifier after the volume is calibrated; After the power amplifier is unmuted, tune the power amplifier, and write the tuning parameters into a permanent mark bit of the power amplifier; After the power amplifier writes the permanent mark bit, control the power amplifier to restart and enter the second mode; After the power amplifier enters the second mode, when a sound calibration signal is received, control the power amplifier to enter the third mode, and perform adaptive calibration on the power amplifier.

[0006] In the embodiment of the application, after the vehicle is assembled, it is judged whether the power amplifier is written into the permanent mark bit. When the power amplifier is not written into the permanent mark bit, the power amplifier is in a state of uncertain amplification power at this time, and the power amplifier is controlled to enter the first mode (i.e., factory mode, which refers to the mode of debugging the vehicle by the manufacturer before the vehicle is shipped). In the first mode, the power amplifier is muted to avoid excessive amplification power when the power amplifier is suddenly powered on, which produces noise. When the power amplifier is in the mute state in the first mode, the volume of the power amplifier is calibrated to make the initial amplification power (i.e., the volume of the sound) of the power amplifier a fixed size, and the power amplifier is unmuted after the volume is calibrated, so that noise will not occur when the power amplifier is powered on. After the power amplifier is unmuted, the power amplifier is tuned to optimize the sound quality of the sound, and the tuning parameters are written into the permanent mark bit of the power amplifier. When the power amplifier writes the permanent mark bit, the power amplifier is controlled to restart and enter the second mode (i.e., normal mode, which refers to the mode of normal use by the user after the vehicle is shipped and after the factory detection is completed). In the second mode, when a sound calibration signal is received, the power amplifier is controlled to enter the third mode (i.e., engineering mode, which refers to the mode of adaptive calibration or user-defined calibration of the power amplifier after the sound calibration signal is received in the normal mode), and the power amplifier is adaptively calibrated to solve the problem of sound quality caused by the sound blocking. This power amplifier mode conversion method can not only prevent sudden volume changes from causing noise damage to the operator when tuning the power amplifier before the vehicle is shipped, but also solve the problem of acoustic performance changes caused by sound blocking after the vehicle is shipped, thereby improving the comfort of the user driving.

[0007] In combination with the first aspect, in some implementations of the first aspect, the method for adaptively calibrating the power amplifier is: Control the power amplifier to amplify the test audio to drive the sound to produce sound, and control the vehicle-mounted microphone array to collect actual sound pressure data of the test audio; generating an EQ compensation curve according to the sound pressure data; According to the EQ compensation curve, the blocked frequency band of the power amplifier is boosted to a target curve.

[0008] EQ is the English full name of "Equalizer", also known as equalizer. The function of EQ is to adjust the gain value of different frequency bands in the audio signal, mainly used to compensate for the defects of loudspeakers and sound field, modify the sound source or achieve special sound effects. Its working frequency covers the range of 20Hz-20kHz that can be perceived by human ears. By dividing the frequency band and adjusting the gain of each frequency band, the sound performance can be optimized, and the sound of a specific frequency band can be boosted or reduced to achieve the desired sound quality effect. In the embodiments of the present application, when the power amplifier is in the second mode, after receiving the sound calibration signal, the power amplifier is controlled to enter the third mode. In the third mode, the power amplifier amplifies the test audio signal to drive the sound to produce sound, and the vehicle microphone array collects the actual sound pressure data of the test audio. After obtaining the sound pressure data of the test audio, an EQ compensation curve is generated according to the sound pressure data. According to the EQ compensation curve, the blocked frequency band of the power amplifier is boosted to a target curve. The problem of too low volume and poor sound quality or sound effect caused by the sound being blocked and covered can be solved, and the comfort of the user when using the audio device can be improved.

[0009] In combination with the first aspect, in some implementations of the first aspect, the method of muting the power amplifier is: after the power amplifier enters the first mode, a mute signal is sent to the power amplifier to mute the power amplifier.

[0010] In the embodiments of the present application, after the power amplifier enters the first mode, a mute signal is sent to the power amplifier to suspend the amplification processing of the audio signal by the power amplifier, so as to mute the power amplifier. After the vehicle is completed, the power amplifier has not been tuned, and the permanent mark bit has not been written. The power amplifier is in an uncertain state of amplification power. When the vehicle is started to power on the power amplifier, the sound signal may be amplified to a large value by the power amplifier in an instant, causing the volume of the sound to change suddenly. When the power amplifier has not been tuned, the mute signal is sent to the power amplifier to suspend the amplification processing of the audio signal by the power amplifier, preventing the power amplifier from making the sound volume too large in an instant when starting, and avoiding noise damage to the operator.

[0011] In combination with the first aspect, in some implementations of the first aspect, the method of calibrating the volume of the power amplifier is: when receiving the mute completion signal generated by the power amplifier, the volume calibration fixed parameter is written into the power amplifier.

[0012] In the embodiments of the present application, when the power amplifier is in the first mode, the mute completion signal generated by the power amplifier is received, the volume calibration fixed parameter is written into the power amplifier, and the audio signal amplification power of the power amplifier is in the calibration power. After the power amplifier enters the first mode, the power amplifier is in a mute state, and the tuning operation of the power amplifier needs to be performed. If the volume of the power amplifier is not calibrated at this time, the power amplifier is in an uncertain amplification power state. When the mute of the power amplifier is released, the sound signal may be amplified to a large size by the power amplifier in an instant, causing the volume of the sound to change suddenly. This way can write the volume calibration fixed parameter into the power amplifier when the mute completion signal generated by the power amplifier is received in the mute state, so that the audio signal amplification power of the power amplifier is in the calibration power (i.e., the volume of the sound emitted by the sound is in the calibrated size), and the situation of too large volume does not occur, avoiding damage to the health of the operator.

[0013] In combination with the first aspect, in some implementations of the first aspect, the method for releasing the mute is: The mute release signal is sent to generate the mute release instruction; According to the mute release instruction, the mute of the power amplifier is released.

[0014] In the embodiments of the present application, after the volume calibration, the mute release signal containing the device ID is sent to the CAN bus, the CAN bus is controlled to generate the mute release instruction, and according to the mute release instruction, the mute of the power amplifier is released. This way can simply and quickly realize the mute release. Or, the volume adjustment device is controlled to adjust the volume to the maximum and then to the minimum, and then generate the mute release signal to generate the mute release instruction, according to the mute release instruction, the mute instruction is sent to the power amplifier, and the mute of the power amplifier is released. This way can realize manual mute release of the power amplifier.

[0015] CAN is short for Controller Area Network, which is an ISO international standardized serial communication protocol used in automobiles and other industrial control applications. It was developed by Bosch in Germany and eventually became an international standard (ISO 11898), and is one of the most widely used field buses. CAN bus uses two lines for data transmission, CAN_H and CAN_L. The voltage difference between the two lines is used to represent data, that is, when the voltage of CAN_H is higher than that of CAN_L, it represents logic "0" (explicit), and when the voltage of the two lines is equal, it represents logic "1" (implicit). The transmission type of CAN signal includes periodic and event type, and the periodic message is sent periodically by the computer control module (ECU), while the event message is triggered according to a specific event. CAN bus protocol supports multiple master controllers and can be used for communication between various elements in the vehicle to achieve efficient transmission and interaction of vehicle information.

[0016] In combination with the first aspect, in some implementations of the first aspect, the method for tuning the power amplifier is: After the power amplifier is unmuted, a tuning instruction is generated after a tuning signal sent by a tuning device is received; the tuning signal is a signal generated by the tuning device after a specified operation of the tuning device is received; the tuning instruction contains a tuning parameter; The power amplifier is tuned according to the tuning instruction, and the tuning parameter is stored.

[0017] The size and sound effect of the power amplifier need to be adjusted before the vehicle is put on the market after completing assembly and off-line, that is, the tuning we say. After the power amplifier tuning and calibration are completed and pass the factory detection, the vehicle can be put on the market. In the embodiments of the present application, after the power amplifier is unmuted, a tuning instruction is generated after a signal generated by a tuning device is received after a specified operation of the tuning device is received. The power amplifier is tuned according to the tuning instruction, and the tuning parameter contained in the tuning instruction is stored, the tuning and calibration of the power amplifier are completed, the optimization of the audio signal is realized, the overall sound quality of the sound is improved, and the consumer can have a high-quality audio experience.

[0018] In combination with the first aspect, in some implementations of the first aspect, the method for writing the tuning parameter into the permanent marker bit of the power amplifier is: after receiving the tuning instruction, the tuning parameter is written into the permanent marker bit of the power amplifier.

[0019] In the embodiments of the present application, after receiving the tuning instruction, the tuning parameter is written into the permanent marker bit of the power amplifier. After the power amplifier writes the permanent marker bit, the power amplifier can be controlled to restart and enter the second mode.

[0020] With reference to the first aspect, in some implementations of the first aspect, the method further includes: in the third mode, after receiving the adaptive calibration completion signal, storing adaptive calibration data contained in the adaptive calibration completion signal.

[0021] In the third mode, after receiving the adaptive calibration completion signal, the adaptive calibration data contained in the adaptive calibration completion signal is stored, and the adaptive calibration data is stored in an independent partition and is isolated from the tuning parameters stored in the first mode, thereby achieving double backup and one-key recovery to the factory settings (i.e., the tuning parameters stored in the first mode), which is convenient and fast.

[0022] With reference to the first aspect, in some implementations of the first aspect, the method further includes: In the third mode, after receiving the custom tuning signal, generating a custom tuning instruction; After receiving the custom tuning instruction, storing custom tuning data in the custom tuning instruction.

[0023] When the power amplifier enters the third mode, not only can the power amplifier be adaptively calibrated, but also can be custom calibrated according to the user's custom operation. In the third mode, after receiving the custom tuning signal, a custom tuning instruction is generated, and after receiving the custom tuning instruction, custom tuning data in the custom tuning instruction is stored, and the custom tuning data is stored in an independent partition and is isolated from the tuning parameters stored in the first mode, thereby achieving double backup and one-key recovery to the factory settings (i.e., the tuning parameters stored in the first mode), which is convenient and fast.

[0024] The second aspect provides a power amplifier mode conversion system applied to a vehicle. The system includes: A power amplifier configured to amplify an audio signal and generate a mute completion signal when mute is completed. A detection module connected to the power amplifier and configured to detect a write condition of a permanent marker bit of the power amplifier. A judgment module in communication connection with the detection module and configured to receive the write condition of the permanent marker bit of the power amplifier sent by the detection module, and the judgment module is configured to judge whether the power amplifier is written with the permanent marker bit. The control module is connected with the power amplifier, the detection module and the judgment module, and is configured to: control the power amplifier to enter a first mode when the power amplifier does not write a permanent mark bit; mute the power amplifier after the power amplifier enters the first mode; calibrate the volume of the power amplifier after the power amplifier is muted; unmute after the volume is calibrated; tune the power amplifier and write tuning parameters into the permanent mark bit of the power amplifier after the power amplifier is unmuted; control the power amplifier to restart and enter a second mode when the power amplifier writes the permanent mark bit; control the power amplifier to enter a third mode and perform self-adaptive calibration when a sound school qualification signal is received after the power amplifier enters the second mode.

[0025] With reference to the second aspect, in some implementations of the second aspect, the control module is provided with: a writing module configured to write the tuning parameters into the permanent mark bit of the power amplifier; an operation module configured to receive a user operation; a signal receiving module configured to receive a user operation signal; an instruction generating module configured to generate an operation instruction after receiving the user operation signal.

[0026] With reference to the second aspect, in some implementations of the second aspect, the operation module further includes: a volume adjusting device configured to send an unmuting signal; a tuning device configured to send a tuning signal.

[0027] With reference to the second aspect, in some implementations of the second aspect, the control module is further configured to: send a muting signal to the power amplifier after the power amplifier enters the first mode; write volume calibration fixed parameters into the power amplifier after receiving a mute completion signal generated by the power amplifier; generate an unmuting instruction after receiving the unmuting signal; unmute the power amplifier according to the unmuting instruction; generate the unmuting signal to generate the unmuting instruction after the volume adjusting device adjusts the volume to the maximum and then to the minimum; generate a tuning instruction after receiving the tuning signal sent by the tuning device after the power amplifier is unmuted; tune the power amplifier according to the tuning instruction and store the tuning parameters; and write the tuning parameters into the permanent mark bit of the power amplifier after receiving the tuning instruction.

[0028] With reference to the second aspect, in some implementations of the second aspect, the system further includes a CAN bus connected with the power amplifier and the control module, configured to receive and transmit signals between the power amplifier and the control module.

[0029] With reference to the second aspect, in some implementations of the second aspect, the control module is further configured to send a demute signal containing the device ID to the CAN bus after the volume calibration, and control the CAN bus to generate a demute instruction.

[0030] With reference to the second aspect, in some implementations of the second aspect, the system further comprises a data storage module connected to the power amplifier, configured to store power amplifier setting data.

[0031] With reference to the second aspect, in some implementations of the second aspect, the data storage module further comprises: a factory setting storage module, configured to store tuning parameters when the power amplifier is in the first mode; an adaptive setting storage module, configured to store adaptive calibration data and user-defined data when the power amplifier is in the third mode.

[0032] With reference to the second aspect, in some implementations of the second aspect, the system further comprises a sound box connected to the power amplifier, configured to play test audio.

[0033] With reference to the second aspect, in some implementations of the second aspect, the control module is further configured to control the power amplifier to amplify the test audio to drive the sound box to produce sound.

[0034] With reference to the second aspect, in some implementations of the second aspect, the system further comprises a microphone array connected to the power amplifier, configured to collect sound pressure data of the test audio.

[0035] With reference to the second aspect, in some implementations of the second aspect, the control module is further configured to control the vehicle-mounted microphone array to collect actual sound pressure data of the test audio, generate an EQ compensation curve according to the sound pressure data, and improve the occluded frequency band of the power amplifier to a target curve according to the EQ compensation curve.

[0036] The third aspect provides a computer program product, which comprises computer program code, and when the computer program code is run on a computer, the computer program code causes the computer to execute the power amplifier mode conversion method of the first aspect.

[0037] The fourth aspect provides a computer-readable storage medium, which stores computer program code, and when the computer program code is executed by one or more processors, the computer program code causes an apparatus comprising the one or more processors to execute the power amplifier mode conversion method of the first aspect.

[0038] In a fifth aspect, an embodiment of the present application provides a chip system, which comprises a processor, and the processor is configured to invoke a computer program or computer instructions stored in a memory, so that the processor executes the power amplifier mode conversion method in the first aspect.

[0039] In a sixth aspect, an embodiment of the present application provides an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program, so that the electronic device implements the power amplifier mode conversion method in the first aspect.

[0040] In a seventh aspect, a vehicle is provided. The vehicle comprises the power amplifier mode conversion system in the second aspect, or the computer readable storage medium in the fourth aspect, or the chip system in the fifth aspect, or the electronic device in the sixth aspect.

[0041] The technical scheme provided by the embodiments of the present application has at least the following beneficial effects: The power amplifier mode conversion method and system provided by the embodiments of the present application are applied to a vehicle. It is determined whether the power amplifier is written into a permanent mark bit. When the power amplifier is not written into the permanent mark bit, the power amplifier is controlled to enter a first mode. In the first mode, the power amplifier is muted, the volume of the power amplifier is calibrated after muting, the mute is released after the volume calibration, the power amplifier is tuned, and the tuning parameters are written into the permanent mark bit of the power amplifier. When the power amplifier is written into the permanent mark bit, the power amplifier is controlled to restart and enter a second mode. In the second mode, when an acoustic calibration signal is received, the power amplifier is controlled to enter a third mode, and the power amplifier is adaptively calibrated. The power amplifier mode conversion method can mute the power amplifier in the first mode, which can prevent the audio signal from being amplified to a large noise by the power amplifier in an instant when the power amplifier is powered on during tuning of the power amplifier before shipment. The power amplifier is muted after volume calibration, which can prevent the audio signal from being amplified to a large noise by the power amplifier in an instant when the mute is released during tuning of the power amplifier before shipment, so as to avoid sudden volume change of the sound and avoid noise damage to the operator. In the third mode of the second mode, the power amplifier is adaptively calibrated, which solves the problem of acoustic performance change caused by sound blocking after the vehicle is shipped, and improves the comfort of the user during driving. The data of the first mode is isolated from the data of the third mode, so that the factory settings (i.e. the tuning parameters stored in the first mode) can be quickly restored, which is convenient and fast.

[0042] The above description is only a summary of the technical solutions of the present application, in order to make the technical means of the present application more clearly understood, the present application can be implemented according to the content of the description, and in order to make the above and other purposes, characteristics and advantages of the present application more obvious, the specific embodiments of the present application are described as follows. BRIEF DESCRIPTION OF DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0044] Figure 1 The flowchart of the power amplifier mode conversion method of the embodiments of the present application.

[0045] Figure 2 The flowchart of the adaptive calibration method for the power amplifier of the embodiments of the present application.

[0046] Figure 3 The architecture diagram of the power amplifier mode conversion system of the embodiments of the present application.

[0047] Figure 4 The architecture diagram of the vehicle of the embodiments of the present application.

[0048] In the figure, 100, power amplifier mode conversion, 101, power amplifier, 102, detection module, 103, judgment module, 1031, operation module, 104, control module, 1041, write module, 1042, operation module, 10421, volume adjusting device, 10422, tone adjusting device, 1043, signal receiving module, 1044, instruction generating module, 105, CAN bus, 106, data storage module, 1061, factory setting storage module, 1062, adaptive setting storage module, 107, sound, 108, microphone array, 109, power supply, 200, vehicle, 201, memory, 202, processor, 203, computer program. DETAILED DESCRIPTION

[0049] In order to make the technical problems, technical solutions and beneficial effects of the present application more clearly understood, the present application will be further described in detail in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.

[0050] The prefix words such as "first", "second" in the embodiments of the present application are only used to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of ordinal words such as "first" and "second" in the embodiments of the present application does not constitute a limitation on the described objects, and the description of the described objects should be referred to the description of the context in the claims or embodiments, and should not constitute redundant limitation because of the use of such prefix words. In addition, in the description of the embodiments, unless otherwise stated, the meaning of "multiple" is two or more than two.

[0051] The technical solutions in the embodiments of the present application will be described below in combination with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise stated, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" in this paper only describes the association relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent three cases of A alone, A and B together, and B alone.

[0052] In several embodiments provided in the embodiments of the present application, it should be understood that the disclosed system and method can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed objects can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0053] At present, vehicles as a necessary tool for every family to travel provide consumers with a comfortable transportation experience. As a moving space, vehicles provide users with many convenient entertainment experiences, and the development of automotive intelligent cockpits makes comfortable entertainment experience increasingly become a key element to improve driving quality. Among them, the vehicle audio system has become an indispensable entertainment configuration for consumers. With the continuous development of electronic acoustic technology, the vehicle audio system technology has made a great leap, and consumers' pursuit of vehicle audio is no longer satisfied with simple "sound", but pursue more delicate, more real and more layered auditory comfort.

[0054] As an important component of the automobile audio equipment and system, the audio power amplifier plays a crucial role in the loudspeaker and function implementation of the audio system. The core function of the audio power amplifier is to enhance the input micro signal to the power level that can drive the loudspeaker through two-stage processing of voltage amplification and power amplification, usually including a preamplifier circuit and a power amplifier stage. The preamplifier circuit mainly amplifies the small signal, and a same-direction amplification circuit is used to amplify the voltage of the input audio small signal to obtain the input required by the power amplifier stage. The power amplifier stage mainly performs power amplification on the audio to enable it to drive the resistor to obtain the required audio.

[0055] In the audio system of the automobile, the power amplifier is the main device for driving the loudspeaker (i.e. the sound) to produce sound. In the audio system, the power amplifier works with the loudspeaker to amplify the audio small signal to a power sufficient to drive the loudspeaker (i.e. the sound) to work, thereby restoring the sound signal and realizing high-quality audio playback.

[0056] The sound size and sound effect of the power amplifier need to be adjusted, i.e. the tuning we mentioned, which is completed by the host factory after the vehicle is completed and out of the assembly line before it is put on the market. After the power amplifier tuning and calibration are completed and pass the factory detection, the vehicle can be put on the market. The current vehicle audio power amplifier tuning method mainly adjusts the sound size and sound effect of the power amplifier by the operator after the vehicle audio system is powered on, but after the vehicle is completed and out of the assembly line, the power amplifier is in the initial state without calibration. At this time, the initial sound of the power amplifier cannot be determined in size. When adjusting through the volume adjustment operation, the decibel number of up / down adjustment cannot be determined. After the vehicle is started, the power amplifier is powered on, and the amplification power of the audio signal is uncertain. It may be too large in the moment of power-on, causing the loudspeaker to produce a very loud sound, resulting in sudden volume changes, which causes certain noise damage to the health of the operator. At present, there is no effective method to avoid such hazards, so a mode is needed to realize tuning, and the power amplifier will not produce sudden volume changes in the moment of power-on.

[0057] Meanwhile, after the vehicle is put on the market, the host factory has tuned the power amplifier and set the default parameters of the power amplifier. The vehicle audio system can provide the consumer with the default mode of audio experience. However, after the consumer purchases the vehicle, most consumers may decorate the interior of the vehicle (such as putting dust covers, headrest covers, etc. on the seats, headrests, etc.), causing the coverage of the loudspeakers to be blocked, thereby causing the acoustic performance of the audio system to change and affecting the user's driving experience. At present, consumers can customize the tuning according to personal preferences through the buttons provided by the vehicle audio system. For the scene where the loudspeakers are blocked and need to be tuned, simply through the consumer's custom settings, the quality of the sound effect adjustment cannot be completely guaranteed, and the manual adjustment process is cumbersome, so a mode is needed to automatically adjust the blocked frequency band of the power amplifier.

[0058] In view of the above two cases, a power amplifier mode conversion method is urgently needed, which can solve the above two problems of the power amplifier by converting different modes according to different stages of the vehicle.

[0059] Based on the above application scenarios, the present application provides a power amplifier mode conversion method.

[0060] Figure 1 is a schematic flowchart of a power amplifier mode conversion method provided by the present embodiment. The method is applicable to a vehicle. The method comprises the following steps.

[0061] S1, determining whether the power amplifier is written into a permanent flag bit.

[0062] In the present embodiment, whether the power amplifier is written into a permanent flag bit is determined to determine whether the power amplifier is in an untuned state. This determination method can accurately determine the state of the power amplifier, so that when the power amplifier is not tuned after the vehicle is assembled and completed, the power amplifier can enter a first mode (i.e. factory mode, which refers to the mode in which the manufacturer tunes the vehicle before the vehicle is put on the market), and the power amplifier is muted.

[0063] S2, when the power amplifier is not written into the permanent flag bit, controlling the power amplifier to enter the first mode.

[0064] In the present embodiment, when the power amplifier is not written into the permanent flag bit, the power amplifier is in an uncertain amplification power state, and the power amplifier is controlled to enter the first mode so as to facilitate the next operation of the power amplifier.

[0065] S3, after the power amplifier enters the first mode, muting the power amplifier.

[0066] In the embodiment of the present application, after the power amplifier enters the first mode, a mute signal is sent to the power amplifier to force the power amplifier to mute, so that the power amplifier is initially in a mute state, and when the vehicle is completed and the power amplifier of the vehicle audio system needs to be tuned, the power amplifier is in a mute state at the moment of power-on, and the sound volume of the sound system does not change suddenly, thereby avoiding damage to the health of the operator.

[0067] In an embodiment of the present application, the method for muting the power amplifier is: after the power amplifier enters the first mode, a mute signal is sent to the power amplifier to mute the power amplifier.

[0068] In the embodiment of the present application, after the power amplifier enters the first mode, a mute signal is sent to the power amplifier to suspend the amplification of the audio signal by the power amplifier, so that the power amplifier is muted. When the vehicle is completed and the power amplifier has not been tuned, the power amplifier has not been written into a permanent mark bit, and the power amplifier is in an uncertain amplification state. At this time, the vehicle is started to power on the power amplifier, and the sound signal may be amplified to a large size by the power amplifier at the moment of power-on, resulting in a sudden change in the sound volume of the sound system. When the power amplifier has not been tuned, the mute signal is sent to the power amplifier to suspend the amplification of the audio signal by the power amplifier, thereby preventing the power amplifier from making the sound volume of the sound system too large at the moment of starting, and avoiding noise damage to the operator.

[0069] In the embodiment of the present application, after the mute signal is sent to the power amplifier, the power amplifier suspends the amplification of the audio signal through an input circuit or a control signal. For example, the input signal is bypassed to the ground through a mute circuit, or the output drive stage of the power amplifier is directly cut off, thereby avoiding noise generated by the loudspeaker due to transient signal changes. The signal bypass method is to directly ground or bypass the input signal to a low-noise path through an analog switch tube to block the transmission of the audio signal, and the drive stage shutdown method is to cut off the power supply or signal of the output drive stage of the power amplifier to prevent impact noise generated by the sudden switching of the power stage.

[0070] S4, after the power amplifier is muted, the volume of the power amplifier is calibrated, and the mute is released after the volume is calibrated.

[0071] In the embodiment of the application, the volume of the power amplifier is calibrated after the power amplifier is muted, and the mute is released after the volume calibration, and the volume calibration is completed in the mute state of the power amplifier. When the mute of the power amplifier of the vehicle audio system needs to be released, the volume of the power amplifier has been calibrated, and the volume is relatively stable or comfortable at this time. The sound volume will not change suddenly in the moment when the power amplifier is powered on, and the health of the operator will not be harmed.

[0072] In an embodiment of the application, the method for calibrating the volume of the power amplifier comprises: writing the volume calibration fixed parameter into the power amplifier when the mute completion signal generated by the power amplifier is received.

[0073] In the embodiment of the application, after the power amplifier enters the first mode, the power amplifier is in a mute state, and the volume calibration fixed parameter is written into the power amplifier when the mute completion signal generated by the power amplifier is received, so that the audio signal amplification power of the power amplifier is at the calibration power. After the power amplifier enters the first mode, the power amplifier is in a mute state, and the tuning operation of the power amplifier needs to be performed when the mute is released. If the volume of the power amplifier is not calibrated at this time, the amplification power of the power amplifier is uncertain, and the sound signal amplified by the power amplifier may be very large when the mute of the power amplifier is released, so that the sound volume changes suddenly. When the mute of the power amplifier is released, the volume calibration fixed parameter is written into the power amplifier when the mute completion signal generated by the power amplifier is received in the mute state, so that the audio signal amplification power of the power amplifier is at the calibration power, and the volume is not too large, thereby avoiding harm to the health of the operator.

[0074] In an embodiment of the application, the method for releasing the mute comprises: sending a mute release signal to generate a mute release instruction; releasing the mute of the power amplifier according to the mute release instruction.

[0075] In the embodiment of the application, after the volume calibration, the mute release signal containing the device ID is sent to the CAN bus, the CAN bus generates a mute release instruction according to the mute release signal, and the mute of the power amplifier is released according to the mute release instruction. This method can quickly and simply release the mute. Alternatively, the volume adjustment device generates a mute release signal after adjusting the volume to the maximum and then to the minimum, generates a mute release instruction according to the mute release signal, sends the mute instruction to the power amplifier according to the mute release instruction, and releases the mute of the power amplifier. This method can manually release the mute of the power amplifier.

[0076] In the embodiment of the present application, the CAN bus is a serial communication protocol bus for real-time applications, which can use twisted pair, coaxial cable or optical fiber to transmit signals. The CAN bus has no master-slave nodes, and all nodes on the CAN bus are equivalent. When a node on the CAN bus sends data, it broadcasts the data in the form of a message to all nodes in the network. Therefore, each node receives the data regardless of whether the data is sent to itself. The first 11 characters of each message on the CAN bus are identifiers, which define the priority of the message. In the same bus, the identifier is unique, and it is impossible for two nodes to send messages with the same identifier. The receiving node (such as a power amplifier) will determine whether to receive the frame of information (such as a mute instruction) according to the identifier. This technology is generally referred to as message filtering technology.

[0077] In the embodiment of the present application, the volume adjusting device can be a volume knob, a volume button, or a button on a display screen. It can be adjusted to the maximum and then to the minimum. Here, no limitation is made.

[0078] S5, after the power amplifier is unmuted, the power amplifier is tuned, and the tuning parameters are written into the permanent marking bit of the power amplifier.

[0079] An audio power amplifier is a power amplifier device for amplifying audio signals and driving a loudspeaker to produce sound. Its core function is to amplify the input micro signal to a power level that can drive a loudspeaker through two-stage processing of voltage amplification and power amplification. It usually includes a preamplifier circuit and a power amplifier stage. The key parameters of a power amplifier include output power (including rated power and peak power), frequency response (mainly 20Hz-20kHz), distortion (Hi-Fi level products can be lower than 0.05%), and signal-to-noise ratio (generally higher than 60dB). In order to further improve the quality of audio processing of the power amplifier, the power amplifier needs to be tuned. In the embodiment of the present application, after the power amplifier is unmuted, the power amplifier is tuned to improve the quality of audio processing of the power amplifier, and the tuning parameters are written into the permanent marking bit of the power amplifier to meet the conditions for the power amplifier to enter the second mode.

[0080] In an embodiment of the present application, the method for tuning the power amplifier is as follows: After the power amplifier is unmuted, a tuning instruction is generated after receiving a tuning signal sent by a tuning device. The tuning signal is a signal generated by the tuning device after receiving a specified operation of the tuning device. The tuning instruction contains tuning parameters. The power amplifier is tuned according to the tuning instruction, and the tuning parameters are stored.

[0081] The sound size and sound effect of the power amplifier need to be adjusted after the vehicle is completed and before it is put on the market, that is, the tuning of the power amplifier. After the tuning and calibration of the power amplifier are completed and pass the factory detection, the vehicle can be put on the market. In the embodiment of the application, after the power amplifier is unmuted, the tuning device generates a signal after receiving the specified operation of the tuning device, generates a tuning instruction, tunes the power amplifier according to the tuning instruction, stores the tuning parameters contained in the tuning instruction, completes the tuning and calibration of the power amplifier, optimizes the audio signal, improves the overall sound quality of the sound, and enables consumers to have a high-quality audio experience.

[0082] In an embodiment of the application, the method for writing the tuning parameters into the permanent marking bit of the power amplifier is as follows: after receiving the tuning instruction, the tuning parameters are written into the permanent marking bit of the power amplifier.

[0083] In the embodiment of the application, after receiving the tuning instruction, the tuning parameters are written into the permanent marking bit of the power amplifier. After the power amplifier writes the permanent marking bit, the power amplifier can be controlled to restart and enter the second mode. After the power amplifier writes the permanent marking bit, the power amplifier can be prevented from being forcibly muted when it enters the third mode.

[0084] S6, when the power amplifier writes the permanent marking bit, the power amplifier is controlled to restart and enter the second mode.

[0085] In the embodiment of the application, when the power amplifier writes the permanent marking bit, it indicates that the tuning of the power amplifier has been completed, and the power amplifier is controlled to restart and enter the second mode (that is, the normal mode, which refers to the mode under normal use of the user after the vehicle is completed and after the factory detection is completed). The first mode and the second mode of the power amplifier are switched, and the second mode is the mode under normal use of the user after the vehicle is completed and after the factory detection is completed. In the second mode, the power amplifier has completed a series of operations such as tuning and has stable sound quality.

[0086] S7, after the power amplifier enters the second mode, when the sound school calibration signal is received, the power amplifier is controlled to enter the third mode and is adaptively calibrated.

[0087] In the embodiment of the application, after the power amplifier enters the second mode, after receiving the sound school qualification signal, the power amplifier enters the third mode (i.e., the engineering mode, which refers to the mode in which the power amplifier can be adaptively calibrated or user-defined calibrated after receiving the sound school qualification signal in the normal mode), and in the third mode, the power amplifier is adaptively calibrated, and the adaptive calibration data is stored in the independent partition of the data storage module, which can automatically improve the blocked frequency band of the power amplifier, while supporting one-key recovery to the factory settings (i.e., the tuning parameters stored in the first mode), which is convenient and fast.

[0088] In the embodiment of the application, the sound school qualification signal is a signal sent by a set key component, which can be a combination of multiple physical keys or a key component on a display screen, and can meet the requirements of unconventional button combinations and non-single buttons, which are not limited here.

[0089] In an embodiment of the application, referring to Figure 2 The method for adaptively calibrating the power amplifier is as follows: S71, controlling the power amplifier to amplify the test audio to drive the sound to emit sound, and controlling the vehicle-mounted microphone array to collect actual sound pressure data of the test audio; S72, generating an EQ compensation curve according to the sound pressure data; S73, improving the blocked frequency band of the power amplifier to a target curve according to the EQ compensation curve.

[0090] In the embodiment of the application, when the power amplifier is in the second mode, after obtaining the sound school qualification instruction generated by the central controller after receiving the signal sent by the central controller fixed operation, the power amplifier enters the third mode, controls the power amplifier to amplify the test audio signal to drive the sound to emit sound, controls the vehicle-mounted microphone array to collect actual sound pressure data of the test audio, and after obtaining the sound pressure data of the test audio, automatically generates an EQ compensation curve according to the sound pressure data, can obtain the blocked frequency band of the power amplifier according to the EQ compensation curve, and automatically improves the blocked frequency band of the power amplifier according to the obtained blocked frequency band information, which can solve the problems of too low volume, poor sound quality or sound effect due to the sound being blocked and covered, and improve the comfort of the user when using the audio equipment. The custom tuning data is stored in the independent partition of the data storage module, which is isolated from the tuning parameters stored in the first mode, realizing double backup of the power amplifier custom tuning data and the power amplifier tuning parameters. When the user removes the in-vehicle decoration (such as a headrest cover), the sound is no longer blocked, and there is no need to adaptively set the setting data stored in the storage module, at which time one-key recovery to the factory settings (i.e., the tuning parameters stored in the first mode) can be realized, which is convenient and fast.

[0091] An EQ compensation curve is a parametric curve used to adjust the frequency response characteristics of audio devices (such as headphones and speakers). By compensating for the frequency response deviation of the device itself, it makes the sound more consistent with a specific target curve (such as a flat curve or a Harman curve). Its core function is to balance the sound performance of different frequency bands and optimize the overall listening experience. The EQ compensation curve corrects the original frequency response characteristics of the device through parametric adjustments (such as gain for a specified frequency band, Q value, etc.). For example, the difference between the headphone frequency response curve and the target curve (such as the Harman curve) can be compensated to achieve the effect of "headphone frequency response + compensation curve = target curve". In this embodiment, an EQ compensation curve is automatically generated based on the sound pressure data. Based on the EQ compensation curve, the gain value of a specific frequency band is adjusted to control the strength relationship of each frequency component in the sound, thereby correcting the frequency response defects of the audio device or shaping a specific sound effect style, achieving timbre optimization and defect correction for the blocked frequency band of the power amplifier.

[0092] The human ear can perceive sound frequencies ranging from 20Hz to 20kHz, with speech frequencies mostly concentrated in the 80Hz-12kHz range. Different frequency bands have varying effects on auditory experiences such as timbre structure, clarity, and spatiality. Based on frequency band division, 20Hz-60Hz influences low-frequency power, 60Hz-250Hz forms the fundamental rhythmic tone, 250Hz-4kHz dominates instrument harmonics and vocal clarity, 4kHz-5kHz adjusts the perceived distance of the sound source, and 6kHz-16kHz controls timbre brightness. Different music genres use EQ to adjust frequency band proportions: for example, pop music balances the entire frequency range, rock music enhances high and low frequencies, jazz music improves the sense of presence, classical music highlights instrumental performance, and vocals focus on the mid-frequency range. Due to individual auditory differences and device characteristics, personalized adjustments based on auditory characteristics are necessary in practical applications. In the embodiments of this application, the test audio typically uses audio with a frequency range of 20Hz-20kHz.

[0093] The 20Hz-40Hz frequency range is the extremely low frequency range. The sound in this range gives a powerful and forceful feeling, like the thunder. However, excessive boosting of this range will make the sound muddy and unclear, affecting clarity. The 40Hz-160Hz frequency range is the mid-low frequency range. This range is responsible for the power and thickness of the sound. Boosting this range can make the sound fuller, but too high a range will produce a rumbling sound. If this range and the mid-high frequencies are attenuated, the sound will become thin. The 500Hz to 2kHz frequency range is the mid-frequency range. The mid-frequency range is responsible for the brightness of the sound and contains the low-frequency harmonics of most musical instruments. Boosting it too much will make the sound sound unnatural, like what you hear on a telephone. The 2kHz-4kHz frequency band is the mid-high frequency range, which is the part of the human hearing most sensitive to. Excessive boosting of this band can make the sound metallic and even affect speech recognition. Boosting too much around 3kHz can cause auditory fatigue and even annoyance. The 5kHz-10kHz frequency band is the high frequency range, which has a sense of presence and can increase the clarity of speech and music. Boosting this band can make the sound source seem slightly closer to the listener. The 10kHz-20kHz frequency band is the ultra-high frequency range, which controls the brightness and clarity of the overall sound. The use of the 8kHz frequency should be limited, as this frequency can make the sound shrill and harsh, and excessive use can damage the overall sound quality. By understanding the characteristics of these frequency bands, you can better adjust audio settings and create a richer and more moving musical experience. In this embodiment, the frequency band of the power amplifier that is blocked is typically the 500Hz-20kHz band, including mid-frequency, mid-high frequency, high frequency, and ultra-high frequency. By boosting these frequency bands, the brightness and clarity of the sound are improved, thereby enhancing the user experience and comfort of the consumer.

[0094] In one embodiment of this application, the method further includes: in a third mode, after receiving the adaptive calibration completion signal, storing the adaptive calibration data contained in the adaptive calibration completion signal.

[0095] In this embodiment of the application, in the third mode, after receiving the adaptive calibration completion signal, the adaptive calibration data contained in the adaptive calibration completion signal is stored. The adaptive calibration data is stored in an independent partition, isolated from the tuning parameters stored in the first mode, thus achieving dual backup. It can be restored to the factory settings (i.e., the tuning parameters stored in the first mode) with one click, which is convenient and fast.

[0096] In one embodiment of this application, the method further includes: In the third mode, after receiving a custom tuning signal, a custom tuning command is generated; Upon receiving the custom tuning instruction, the custom tuning data in the custom tuning instruction is stored.

[0097] When the power amplifier enters the third mode, it can not only perform adaptive calibration but also custom calibration based on user-defined operations. In this embodiment, in the third mode, after receiving a custom tuning signal, a custom tuning command is generated, and after receiving the custom tuning command, the custom tuning data in the custom tuning command is stored. The custom tuning data is stored in an independent partition, isolated from the tuning parameters stored in the first mode, providing dual backup. It can be restored to factory settings (i.e., the tuning parameters stored in the first mode) with one click, which is convenient and quick.

[0098] In this embodiment, the custom tuning signal is a signal generated by the user executing a custom button. Since the user may adjust more than one data when making custom adjustments to the power amplifier according to their own preferences, the custom button may be a combination of multiple buttons or a single button. These buttons can be physical buttons and / or knobs, or buttons on the display screen, as long as they can achieve custom tuning of the power amplifier, there is no limitation here.

[0099] This application provides a power amplifier mode conversion system suitable for vehicles. Figure 3 The diagram shown is a schematic of the power amplifier mode conversion system.

[0100] The power amplifier mode conversion system 100 includes: Power amplifier 101 is used to amplify audio signals and generate a mute completion signal when mute is completed. The detection module 102 is connected to the power amplifier 101 and is used to detect the writing status of the permanent marker bit of the power amplifier 101; The judgment module 103 is communicatively connected to the detection module 102 and is used to receive the writing status of the permanent flag bit of the power amplifier 101 sent by the detection module 102. The judgment module 103 is configured to: determine whether the power amplifier 101 has been written with the permanent flag bit. A control module 104 is connected to the power amplifier 101, the detection module 102, and the judgment module 103. The control module 104 is configured to: control the power amplifier 101 to enter a first mode when no permanent flag is written to the power amplifier 101; mute the power amplifier 101 after it enters the first mode; calibrate the volume of the power amplifier 101 after it is muted; unmute the power amplifier 101 after the volume is calibrated; tune the power amplifier 101 after it is unmuteed and write the tuning parameters to the permanent flag of the power amplifier 101; restart the power amplifier 101 to enter a second mode when a permanent flag is written to the power amplifier 101; and control the power amplifier 101 to enter a third mode and perform adaptive calibration when an acoustic calibration signal is received after the power amplifier 101 enters the second mode.

[0101] In this embodiment, the detection module 102 can be detachably connected to the power amplifier 101, or it can be fixedly connected to the power amplifier 101, or it can be set inside the power amplifier 101. As long as it can read the permanent mark bit of the power amplifier 101, there is no limitation here.

[0102] In this embodiment of the application, the power amplifier 101 is connected to the power supply 109, and the power supply 109 is used to provide power to the power amplifier 101.

[0103] See also Figure 3 In one embodiment of this application, the control module 104 is provided with: The writing module 1041 is used to write tuning parameters to permanent flag bits of the power amplifier 101; Operation module 1042 is used to receive user operations; Signal receiving module 1043 is used to receive user operation signals; The instruction generation module 1044 is used to generate operation instructions after receiving user operation signals.

[0104] In this embodiment of the application, the operation module further includes: Volume control device 10421, used to send an unmute signal; Tuning device 10422 is used to send tuning signals.

[0105] See also Figure 3In one embodiment of this application, the control module 104 is further configured to: send a mute signal to the power amplifier 101 after the power amplifier 101 enters the first mode; write volume calibration fixed parameters into the power amplifier 101 upon receiving the mute completion signal generated by the power amplifier 101; generate an unmute command upon receiving an unmute signal; unmute the power amplifier 101 according to the unmute command; control the volume adjustment device 10421 to adjust the volume to the maximum and then to the minimum to generate an unmute signal, thereby generating the unmute command; after the power amplifier 101 is unmuteed, generate a tuning command upon receiving a tuning signal sent by the tuning device 10422; tune the power amplifier 101 according to the tuning command and store the tuning parameters; and write the tuning parameters into a permanent flag bit of the power amplifier 101 upon receiving the tuning command.

[0106] See also Figure 3 In one embodiment of this application, the system further includes a CAN bus 105 connected to the power amplifier 101 and the control module 104, for receiving and transmitting signals between the power amplifier 101 and the control module 104.

[0107] In this embodiment of the application, the control module 104 is further configured to: after the volume is calibrated, send an unmute signal containing the device ID to the CAN bus 105, and control the CAN bus 105 to generate an unmute command.

[0108] See also Figure 3 In one embodiment of this application, the system further includes a data storage module 106 connected to the power amplifier 101 for storing power amplifier 101 setting data.

[0109] In this embodiment of the application, the data storage module 106 further includes: The factory setting storage module 1061 is used to store the tuning parameters after the power amplifier 101 is in the first mode and the mute is released. The adaptive setting storage module 1062 is used to store adaptive calibration data and user-defined data when the power amplifier 101 is in the third mode.

[0110] See also Figure 3 In one embodiment of this application, the system further includes an audio speaker 107 connected to the power amplifier 101 for playing test audio.

[0111] In this embodiment of the application, the control module 104 is further configured to control the power amplifier 101 to amplify the test audio to drive the speaker to produce sound.

[0112] See also Figure 3In one embodiment of this application, the system further includes a microphone array 108 connected to the power amplifier 101 for collecting sound pressure data of the test audio.

[0113] In this embodiment of the application, the control module is further configured to: control the vehicle-mounted microphone array 108 to collect the actual sound pressure data of the test audio; generate an EQ compensation curve based on the sound pressure data; and boost the blocked frequency band of the power amplifier 101 to the target curve based on the EQ compensation curve.

[0114] This application also provides a computer program product, which includes computer program code. When the computer program code is run on a computer, it causes the computer to execute the power amplifier mode switching method described in the above embodiments. This computer program can be installed in a vehicle system.

[0115] This application also provides a computer-readable storage medium storing program code that is executed by one or more processors. When the program code runs on the processor, it causes a device including one or more processors to perform the power amplifier mode switching method described in the above embodiments. The processor running this computer-readable storage medium can be installed in a vehicle system.

[0116] It should be understood that when the modules or units described herein are implemented using software, they can be implemented in whole or in part as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0117] This application provides a chip system including a processor, or the chip system including a memory and a processor, for calling computer programs or computer instructions stored in the memory to cause the processor to execute the power amplifier mode switching method involved in the above embodiments. The chip system can be a single chip or a chip module composed of multiple chips. This chip system can be installed in a vehicle system.

[0118] This application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the electronic device implements the power amplifier mode switching method described in the above embodiments. This electronic device can be installed in a vehicle system.

[0119] This application provides a vehicle.

[0120] For example, see Figure 4 The vehicle 200 includes a memory 201, a processor 202, and a computer program 203 stored in the memory 201 and executable on the processor 202. When the processor 202 executes the computer program 203, it enables the processor 202 to implement the power amplifier mode switching method described in the above embodiments.

[0121] For example, the vehicle 200 may include a power amplifier, a detection module, a judgment module, and a control module, wherein the judgment module and the control module may be integrated into a processor.

[0122] The power amplifier is used to amplify the audio signal and generate a mute completion signal when mute is complete. The detection module is connected to the power amplifier and is used to detect the writing status of the permanent marker bit of the power amplifier; The judgment module is communicatively connected to the detection module and is used to receive the writing status of the permanent flag bit of the power amplifier sent by the detection module. The judgment module is configured to: determine whether the power amplifier has been written with the permanent flag bit. The control module is connected to the power amplifier, the detection module, and the judgment module. The control module is configured to: control the power amplifier to enter a first mode when no permanent flag is written to the power amplifier; mute the power amplifier after it enters the first mode; calibrate the power amplifier volume after it is muted; unmute the power amplifier after the volume is calibrated; tune the power amplifier after it is unmuteed and write the tuning parameters to the permanent flag of the power amplifier; restart the power amplifier to enter a second mode when a permanent flag is written to the power amplifier; and control the power amplifier to enter a third mode to perform adaptive calibration when an acoustic calibration signal is received after it enters the second mode.

[0123] Those skilled in the art will recognize that the modules, units, and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0124] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be covered. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A power amplifier mode conversion method, characterized in that, Applied to vehicles, the method includes: Determine whether a permanent flag has been written to the power amplifier; When the power amplifier has not been written with a permanent flag bit, control the power amplifier to enter the first mode; After the power amplifier enters the first mode, mute the power amplifier; After the power amplifier is muted, calibrate the power amplifier volume, and then unmute it after the volume is calibrated. After the power amplifier is unmuted, the power amplifier is tuned, and the tuning parameters are written to the permanent flag bit of the power amplifier. When a permanent flag is written to the power amplifier, the power amplifier is restarted and enters the second mode. After the power amplifier enters the second mode, upon receiving the acoustic calibration signal, it controls the power amplifier to enter the third mode for adaptive calibration.

2. The power amplifier mode conversion method according to claim 1, characterized in that, The method for adaptive calibration of a power amplifier is as follows: The control power amplifier amplifies the test audio to drive the speaker to produce sound, and the control vehicle microphone array collects the actual sound pressure data of the test audio. An EQ compensation curve is generated based on the sound pressure data; Based on the EQ compensation curve, the blocked frequency band of the power amplifier is boosted to the target curve.

3. The power amplifier mode conversion method according to claim 1, characterized in that, The method for calibrating the volume of a power amplifier is as follows: upon receiving a mute completion signal generated by the power amplifier, the volume calibration fixed parameters are written into the power amplifier.

4. The power amplifier mode conversion method according to claim 1, characterized in that, The method to unmute is as follows: Send an unmute signal to generate an unmute command; Release the mute command to release the power amplifier.

5. The power amplifier mode conversion method according to claim 1, characterized in that, The method for tuning a power amplifier is as follows: After the power amplifier is unmuted, a tuning command is generated upon receiving a tuning signal from the tuning device; the tuning signal is a signal generated by the tuning device after receiving the specified operation from the tuning device; the tuning command includes tuning parameters. The power amplifier is tuned according to the tuning command, and the tuning parameters are stored.

6. The power amplifier mode conversion method according to claim 1, characterized in that, The method for writing tuning parameters into the permanent flag bit of the power amplifier is as follows: after receiving the tuning command, write the tuning parameters into the permanent flag bit of the power amplifier.

7. The power amplifier mode conversion method according to claim 1, characterized in that, The method further includes: In the third mode, after receiving a custom tuning signal, a custom tuning command is generated; Upon receiving the custom tuning instruction, the custom tuning data in the custom tuning instruction is stored.

8. A power amplifier mode conversion system, characterized in that, Applied to vehicles, including: A power amplifier is used to amplify audio signals and generate a mute completion signal when mute is complete. A detection module, connected to the power amplifier, is used to detect the writing status of the permanent marker bit of the power amplifier; The judgment module is communicatively connected to the detection module and is used to receive the writing status of the permanent flag bit of the power amplifier sent by the detection module. The judgment module is configured to: determine whether the power amplifier has been written with the permanent flag bit. A control module, connected to the power amplifier, the detection module, and the judgment module, is configured to: control the power amplifier to enter a first mode when no permanent flag is written to the power amplifier; mute the power amplifier after it enters the first mode; calibrate the power amplifier volume after it is muted; unmute the power amplifier after the volume is calibrated; tune the power amplifier after it is unmuteed and write the tuning parameters to the permanent flag of the power amplifier; restart the power amplifier to enter a second mode when a permanent flag is written to the power amplifier; and control the power amplifier to enter a third mode to perform adaptive calibration when an acoustic calibration signal is received after it enters the second mode.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program code that is executed by one or more processors, and when the program code is run on the processor, causes a device including the one or more processors to perform the power amplifier mode switching method as described in any one of claims 1 to 7.

10. A vehicle, characterized in that, The vehicle includes the power amplifier mode conversion system as described in claim 8, or the computer-readable storage medium as described in claim 9.