Loudspeaker control circuit, system and method
By using a single piezoelectric speaker and multi-sound driver in the electric vehicle horn control system, combined with the SPI interface and real-time feedback mechanism, the problems of low integration, high power consumption and lack of intelligent control in the traditional system are solved, and a more efficient and intelligent speaker control effect is achieved.
Patent Information
- Application Number
- CN202510358424.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-06-27
AI Technical Summary
The electric vehicle horn control system has low integration, high power consumption and lacks intelligent control, making it difficult to adapt to complex usage scenarios.
It adopts a single piezoelectric speaker and multi-sound driver to communicate between the controller and the driver through the SPI interface, monitor the working status of the speaker in real time and adjust the driving signal dynamically to achieve intelligent control and feedback mechanisms.
Reduces the number of components and power consumption of the system, improves the integration and response speed of the system, and enhances the adjustability and adaptability of the sound effects.
Smart Images

Figure CN120224075A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of horn control, and specifically provides a horn control circuit, system and method. Background Art
[0002] Functions such as the horn, turn signal, and alarm of electric vehicles are usually realized by independent sound - generating devices. Although traditional designs can meet basic functional requirements, their limitations are exposed in practical applications. Although traditional iron horns have high sound pressure and clear sounds, their driving power consumption is large and requires a relatively high power supply. Usually, the working current of a 12V iron horn can reach more than 1.5A, and the peak current even exceeds 4A. In addition, the tone of iron horns is single, only capable of emitting fixed sounds, and the sound pressure is non - adjustable, making it difficult to adapt to complex usage scenarios. Functions such as turn signal, remote control signal, and alarm signal rely on independent sound - generating structures, which not only increase the material cost and assembly man - hours of the entire vehicle, but also lead to complex wiring and high system redundancy.
[0003] In addition, the horn control system of traditional electric vehicles has deficiencies in terms of integration and intelligence. Each functional module is independent, lacking a unified control and feedback mechanism, resulting in the inability to make dynamic adjustments according to environmental changes during actual use. Especially in functions such as anti - theft alarms, the response speed and reliability of traditional systems need to be improved. Summary of the Invention
[0004] The present invention provides a horn control circuit, system and method to solve the technical problems of low integration, high power consumption and lack of intelligent control in the horn control system of electric two - wheel vehicles.
[0005] The technical solutions of the present invention to solve the above - mentioned technical problems are as follows:
[0006] On the one hand, a horn control circuit is provided. The control circuit includes:
[0007] A controller for receiving user instructions and generating corresponding level signals. The controller communicates with the driver through an SPI interface to ensure stable signal transmission;
[0008] A driver for receiving the level signal and generating a drive signal to drive the piezoelectric horn to emit corresponding sound effects. The driver is powered by a 12V power supply, and the power supply is connected through a voltage regulator to ensure stable voltage supply;
[0009] A piezoelectric horn using a piezoelectric ceramic sheet as a sound - generating unit, which emits various sound effects through the drive signal. The piezoelectric horn is connected to the driver through an audio cable;
[0010] The power supply module is powered by a 12V power supply to be compatible with the vehicle's power supply scheme. The power supply module includes a voltage regulator, filter capacitors, and a fuse to ensure power supply safety;
[0011] The communication interface is used for communication between the controller and the driver. The communication interface adopts the SPI protocol to support high-speed data transmission and two-way communication;
[0012] The feedback circuit is used to monitor the working state of the piezoelectric horn in real time and transmit the feedback information to the driver for dynamic adjustment. The feedback circuit includes a current sensor, a voltage sensor, and a temperature sensor. The analog signals are converted into digital signals through an ADC converter and then transmitted to the driver for processing.
[0013] Furthermore, the driver is built-in with a DC016 multi-sound piezoelectric horn driver chip. The piezoelectric horn driver chip realizes 7 different sound effect outputs through three level selection ports, including 3 kinds of horn sounds, turn signal sounds, locking sounds, unlocking sounds, and alarm sounds. The three level selection ports of the piezoelectric horn driver chip are respectively connected to the corresponding output pins of the controller, and different sound effects are selected by setting the levels of the output pins.
[0014] Furthermore, the controller is an anti-theft alarm wireless remote control controller. The controller can detect the state of the vehicle and send corresponding level signals to the driver according to different states, so as to drive the piezoelectric horn to emit corresponding sound effects. When the vehicle is illegally moved, the controller can drive the driver to make the piezoelectric horn emit an alarm sound. The controller also includes an unlocking recognition port for detecting the state of the key inserted into the lock hole and starting, and an alarm button for triggering the alarm sound effect.
[0015] Furthermore, the power supply module also includes:
[0016] A 48 - 60V battery module for direct power supply to ensure stable power supply;
[0017] A voltage adapter for converting the 48 - 60V voltage into a voltage suitable for the driver to work to ensure the normal operation of the driver. The voltage adapter adopts a DC - DC buck converter to reduce the ripple;
[0018] The protection circuit includes overcurrent protection, overvoltage protection, and short - circuit protection to ensure circuit safety;
[0019] The voltage regulator, filter capacitors, and fuse in the power supply module are connected in sequence.
[0020] Furthermore, the feedback circuit further includes a fault diagnosis module. The fault diagnosis module can judge the working state of the piezoelectric horn according to the feedback information of the current sensor, voltage sensor and temperature sensor, and send an alarm signal to the controller when an abnormality occurs. The current sensor, voltage sensor and temperature sensor are respectively connected to the piezoelectric horn, convert the analog signal into a digital signal through an ADC converter, and then transmit it to the driver for processing.
[0021] Furthermore, the control circuit includes an anti-theft alarm wireless remote controller and a DC016 multi-sound effect drive module. The DC016 multi-sound effect drive module is powered by a 12V power supply and is compatible with the power supply scheme of traditional electric vehicles. The 12V power supply is connected to the driver through a voltage regulator, filter capacitor and fuse. The anti-theft alarm wireless remote controller communicates with the DC016 multi-sound effect drive module through an SPI interface. The output pins of the anti-theft alarm wireless remote controller are connected to the three level selection ports of the piezoelectric horn driver chip, and different sound effects are selected by setting the levels of the pins. The piezoelectric horn is connected to the output end of the driver through an audio cable, receives the drive signal and emits sound.
[0022] Furthermore, the control circuit includes an anti-theft alarm wireless remote controller and a DC016 multi-sound effect drive module. The DC016 multi-sound effect drive module is directly powered by a 48 - 60V battery. The 48 - 60V power supply is converted into a voltage suitable for the driver to work through a DC-DC buck converter, and then connected to the driver through a voltage regulator, filter capacitor and fuse to ensure the stability of the power supply. The anti-theft alarm wireless remote controller communicates with the DC016 multi-sound effect drive module through an SPI interface. The output pins of the controller are connected to the three level selection ports of the piezoelectric horn driver chip, and different sound effects are selected by setting the levels of the pins. The piezoelectric horn is connected to the output end of the driver through an audio cable, receives the drive signal and emits sound.
[0023] On the other hand, a horn control system is provided, including the horn control circuit as described above. The control system further includes:
[0024] A controller for receiving user instructions and generating corresponding level signals.
[0025] A driver for receiving the level signal and generating a drive signal to drive the piezoelectric horn to emit corresponding sound effects. The driver is powered by a 12V or 48 - 60V power supply and is connected through a voltage regulator to ensure a stable voltage supply.
[0026] A piezoelectric horn using a piezoelectric ceramic sheet as a sounding unit, emitting a variety of sound effects through a drive signal. The piezoelectric horn is connected to the driver through an audio cable.
[0027] A power module that supports two power supply methods of 12V or 48 - 60V. The power module includes a voltage regulator, filter capacitors, and a fuse;
[0028] A communication interface for communication between the controller and the driver. The communication interface uses the SPI protocol to support high - speed data transmission and two - way communication.
[0029] A feedback circuit for real - time monitoring of the operating state of the piezoelectric horn and transmitting feedback information to the driver for dynamic adjustment. The feedback circuit includes a current sensor, a voltage sensor, and a temperature sensor, which convert analog signals into digital signals through an ADC converter and then transmit them to the driver for processing.
[0030] On the other hand, a horn control method is provided, using the horn control system as described above. The steps of the control method include:
[0031] When the vehicle starts, initialize the controller, check the status of all sensors and input devices, and prepare to receive instructions from the user;
[0032] The controller monitors user inputs in real - time, analyzes the user's intention, and generates corresponding control signals. The user inputs include horn buttons, turn signal switches, and remote control operations;
[0033] According to the user's instructions, the controller generates a set of level signal sequences through internal logical operations to control the driver of the piezoelectric horn to produce different sound effects;
[0034] After receiving the level signal sequence, the driver calculates the optimal driving waveform through a waveform generation algorithm and converts the driving waveform into an actual driving signal to drive the piezoelectric horn to emit corresponding sounds;
[0035] While outputting the driving signal, the driver monitors the operating state of the piezoelectric horn in real - time and dynamically adjusts the driving signal through a feedback mechanism to optimize the output sound effect.
[0036] Furthermore, the step of calculating the optimal driving waveform through the waveform generation algorithm includes:
[0037] The driver calculates the optimal driving waveform according to the received level signals through a built - in waveform generation algorithm;
[0038] The driver performs frequency modulation on the driving waveform according to the physical characteristics of the piezoelectric horn to meet the requirements of different application scenarios.
[0039] The driver synchronizes the driving signal with the vibration phase of the piezoelectric horn through phase control technology to improve the sound quality.
[0040] The step of dynamically adjusting the driving signal through the feedback mechanism includes:
[0041] The driver is built-in with a sensor to monitor the working state of the piezoelectric horn in real time.
[0042] According to the monitoring results, the driver dynamically adjusts the amplitude and frequency of the driving signal through an adaptive adjustment algorithm to ensure the best sound effect output.
[0043] When an abnormal situation is detected, the driver automatically triggers a fault diagnosis program to locate the problem and adjust the driving signal intensity or pause the output to protect the piezoelectric horn from damage.
[0044] The beneficial effects of the present invention are:
[0045] By introducing a single piezoelectric horn and a multi-sound driver, the present invention solves the main technical problems of the traditional electric vehicle horn control system, such as low integration, high power consumption, and lack of intelligent control. Specifically, first, the present invention uses a single piezoelectric horn to replace the traditional iron horn and other independent sound-producing devices, reducing the number of components in the system, lowering the material cost and assembly man-hours. The piezoelectric horn not only has the advantages of high sound pressure and wide frequency band, but also can achieve efficient sound pressure output by optimizing the driving signal frequency, thus greatly reducing power consumption while ensuring the sound quality.
[0046] Furthermore, the multi-sound driver of the present invention is built-in with a variety of sound effects, including horn sound, turning sound, locking sound, unlocking sound, and alarm sound, etc., and can realize the output of different sound effects through simple level signal switching. This highly integrated design not only simplifies the structure of the system, but also improves the reliability and response speed of the system, especially in key functions such as anti-theft alarm.
[0047] Furthermore, the present invention introduces intelligent control and a feedback mechanism to ensure the best sound effect output by monitoring the working state of the piezoelectric horn in real time and dynamically adjusting the driving signal.
[0048] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly and implement it according to the content of the specification, the following takes the preferred embodiments of the present invention and combines with the drawings for detailed description. Description of the Drawings
[0049] Figure 1 It is a flowchart of the horn control method in an embodiment of the present invention;
[0050] Figure 2Schematic diagram of generating signal encryption in an embodiment of the present invention;
[0051] Figure 3 Schematic diagram of adaptive filtering in an embodiment of the present invention;
[0052] Figure 4 Schematic diagram of voltage conversion in an embodiment of the present invention;
[0053] Figure 5 Schematic diagram of feedback mechanism in an embodiment of the present invention;
[0054] Figure 6 Loudspeaker control circuit in an embodiment of the present invention Figure 1 ;
[0055] Figure 7 Loudspeaker control circuit in an embodiment of the present invention Figure 2 ;
[0056] Figure 8 Schematic diagram of the principle of loudspeaker control system in an embodiment of the present invention. Detailed implementation manners
[0057] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0058] The term "including" and any of its variations in the description and claims of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices. In addition, the use of "and / or" in the description and claims indicates at least one of the connected objects. For example, A and / or B means including three cases: A alone, B alone, and both A and B exist.
[0059] In the embodiments of the present invention, words such as "exemplary" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.
[0060] The present invention provides the following preferred embodiments:
[0061] Example 1
[0062] To solve the problems of low integration, high power consumption, and lack of intelligent control in the electric vehicle horn control system, this embodiment proposes a horn control method and further optimizes the initialization process when the vehicle starts and the initialization logic of the controller. As Figure 1 shown, the steps of the horn control method are as follows:
[0063] S100. When the vehicle starts, initialize the controller, check the status of all sensors and input devices, and prepare to receive instructions from the user.
[0064] S200. The controller monitors the user input in real time, analyzes the user's intention, and generates corresponding control signals. The user input includes the horn button, the turn signal switch, and the remote control operation.
[0065] S300. According to the user's instructions, the controller generates a set of level signal sequences through internal logic operations to control the driver of the piezoelectric horn to produce different sound effects.
[0066] S400. After receiving the level signal sequence, the driver calculates the optimal driving waveform through a waveform generation algorithm and converts the driving waveform into an actual driving signal to drive the piezoelectric horn to emit corresponding sounds.
[0067] S500. While outputting the driving signal, the driver monitors the working status of the piezoelectric horn in real time and dynamically adjusts the driving signal through a feedback mechanism to optimize the output sound effect.
[0068] Specifically, when the vehicle starts, the controller first executes the initialization program, checks the status of all sensors and input devices, ensures that the system is in the best working state, and is ready to receive instructions from the user. During the initialization process, the controller will perform a comprehensive self-check, including sensor calibration, input device connection detection, and initialization of the internal logic operation module.
[0069] Furthermore, after the initialization is completed, the controller enters the real-time monitoring mode, monitors the user input in real time, analyzes the user's intention, and generates corresponding control signals. The user input includes the horn button, the turn signal switch, and the remote control operation. The controller converts these input signals into specific control instructions through the internal logic operation module. It should be understood that the controller can not only recognize simple button operations, but also recognize continuous or combined operations of the user through the built-in intelligent algorithm, so as to generate more complex control signals. For example, when the user presses the horn button and the turn signal switch at the same time, the controller will generate a special combined signal to trigger a specific sound effect mode.
[0070] Further, according to the user instruction, the controller generates a set of level signal sequences through internal logical operations to control the driver of the piezoelectric horn to produce different sound effects. The generation of the level signal sequences is based on a pre-set mapping table, and each user instruction corresponds to a unique set of level signal sequences. When generating the level signal sequences, the controller performs multiple checks to ensure the accuracy and integrity of the signals. In addition, the controller also has a redundancy check function, which can detect and correct possible errors during signal transmission to ensure the reliability of the signals.
[0071] Further, after receiving the level signal sequences, the driver calculates the optimal driving waveform through a waveform generation algorithm and converts the driving waveform into an actual driving signal to drive the piezoelectric horn to emit corresponding sounds. The waveform generation algorithm optimizes the frequency and phase of the driving waveform according to the physical characteristics of the piezoelectric horn to ensure the best sound effect output. It should be understood that when generating the driving waveform, the driver will refer to the current working environment parameters, such as temperature, humidity, etc., and dynamically adjust the waveform parameters to adapt to different usage scenarios.
[0072] Further, while outputting the driving signal, the driver monitors the working state of the piezoelectric horn in real time and dynamically adjusts the driving signal through a feedback mechanism to optimize the output sound effect. The driver is built-in with multiple sensors to real-time monitor parameters such as the sound pressure, frequency, and temperature of the piezoelectric horn, and feedback these parameters to the controller. According to the feedback information, the driver dynamically adjusts the amplitude and frequency of the driving signal through an adaptive adjustment algorithm to ensure the best sound effect output. When an abnormal situation is detected, the driver will automatically trigger a fault diagnosis program to locate the problem and take corresponding measures, such as adjusting the driving signal strength or pausing the output, to protect the piezoelectric horn from damage.
[0073] The benefits of this embodiment are as follows: By optimizing the initialization process when the vehicle starts and the initialization logic of the controller, it is ensured that the system is in the best working state at startup. At the same time, by real-time monitoring the user input and parsing the user intention to generate corresponding control signals, an accurate response to the user operation is achieved. In addition, through the generation and redundancy check of the level signal sequences, the reliable and accurate signal transmission is ensured. Finally, through the waveform generation algorithm and the feedback mechanism, the dynamic adjustment of the driving signal is realized to ensure the best sound effect output.
[0074] Embodiment 2
[0075] To solve the problem that the horn control system of electric two-wheelers responds untimely in complex environments, this embodiment further optimizes the monitoring and parsing mechanism of the controller for user input. The controller real-time collects target data through an integrated sensor network, including environmental noise, vehicle speed, and battery power. These data are not only used to real-time monitor the current working environment but also provide more decision-making basis for the controller.
[0076] Further, based on the collected target data, the controller uses machine learning algorithms to analyze the current environment, predict the user's operation requirements, and prepare the corresponding sound effect mode in advance. Through learning historical data, the machine learning algorithms can identify the user behavior patterns in different environments and predict the user's next operation requirements accordingly. For example, in a noisy environment, the controller may predict that the user needs a larger speaker volume and thus adjusts the sound effect mode in advance. It should be understood that this prediction mechanism not only improves the system's response speed but also enhances the personalization and intelligence of the user experience.
[0077] Further, when multiple user instructions are triggered simultaneously, the controller processes them according to the preset priority rules to ensure that critical operations are executed first. The priority rules are set based on the importance and urgency of user operations. For example, the priority of the anti-theft alarm instruction is higher than that of the ordinary speaker button operation. In this way, the controller can reasonably allocate resources when multiple instructions are triggered simultaneously to ensure the timely response to critical operations. It can be understood that the priority rules not only improve the system's reliability but also enhance the system's fault tolerance to a certain extent.
[0078] Further, during the process of processing user input, the controller also real-time monitors the status of the sensor network to ensure the accuracy and integrity of data collection. When a fault or data anomaly occurs in the sensor network, the controller automatically switches to the standby mode and continues to execute basic control functions. In addition, the controller has a self-repair function and can automatically repair itself after detecting minor faults and resume normal monitoring and analysis functions.
[0079] The benefits of this embodiment are as follows. By optimizing the monitoring and parsing mechanism of the controller for user input, intelligent prediction and priority processing of user operations are achieved. Based on the integrated sensor network and machine learning algorithms, the controller can analyze the current environment in real time, predict user needs, and prepare the corresponding sound effect mode in advance. In addition, through the setting of priority rules, the timely response to critical operations is ensured, and the reliability and intelligence level of the system are improved.
[0080] Embodiment Three
[0081] To solve the problem that the electric two-wheeler horn control system is prone to errors during signal transmission, this embodiment further optimizes the level signal sequence generation mechanism of the internal logic operation module of the controller. There is a level signal coding table inside the controller, and each user instruction maps to a unique level signal sequence. The design of this coding table not only improves the speed of signal generation but also ensures the uniqueness and accuracy of the signals.
[0082] Further, the controller calls the level signal coding table according to the user instruction and generates specific level signals through logical operations. The logical operation module adopts an advanced algorithm and can quickly process the user instruction and generate the corresponding level signal sequence. It should be understood that when generating the level signal, the logical operation module will refer to the current working environment parameters, such as temperature, humidity, etc., and dynamically adjust the signal parameters to adapt to different usage scenarios. In addition, the logical operation module also has a redundancy check function and can add redundancy check codes during the signal generation process to prevent signal transmission errors.
[0083] Further, the controller attaches a redundancy check code while generating the level signal to prevent signal transmission errors. The design of the redundancy check code is based on the hash algorithm and can effectively detect and correct possible errors during the transmission process. It should be understood that the redundancy check code not only improves the reliability of signal transmission but also enhances the fault tolerance of the system to a certain extent. When a signal transmission error is detected, the controller will automatically regenerate and send the correct level signal to ensure the accuracy and integrity of the signal.
[0084] Further, when generating the level signal, the controller will also refer to the historical data to optimize the signal generation strategy. By learning a large amount of historical data, the controller can identify common user operation patterns and optimize the signal generation logic accordingly. For example, for frequently used instructions, the controller will preferentially generate the corresponding level signal to shorten the response time. It can be understood that this optimization mechanism improves the response speed of the system.
[0085] The benefit of this embodiment is that by optimizing the level signal sequence generation mechanism of the internal logical operation module of the controller, the accuracy of signal transmission is ensured. Based on the design of the level signal coding table and the redundancy check code, the controller can quickly generate and transmit the level signal to prevent signal transmission errors. In addition, by referring to the historical data to optimize the signal generation strategy, the controller improves the response speed and smoothness of the system.
[0086] Embodiment Four
[0087] To solve the problem of inconsistent sound quality of the horn control system of electric two-wheel vehicles in different application scenarios, this embodiment further optimizes the waveform generation algorithm and phase control technology of the driver. The driver calculates the optimal drive waveform according to the received level signal through the built-in waveform generation algorithm. The waveform generation algorithm is based on the physical characteristics of the piezoelectric horn and optimizes the frequency and phase of the drive waveform to meet the requirements of different application scenarios.
[0088] Furthermore, the driver performs frequency modulation on the driving waveform according to the physical characteristics of the piezoelectric horn to meet the requirements of different application scenarios. The frequency modulation technology fine-tunes the frequency of the driving waveform to ensure that the piezoelectric horn can produce the best sound effects at different frequencies. It should be understood that frequency modulation not only improves the quality of the sound effects but also enhances the adaptability of the system to a certain extent. For example, in a noisy environment, the driver can make the piezoelectric horn emit higher-frequency sounds through frequency modulation to ensure the clarity of the sound effects.
[0089] Furthermore, the driver synchronizes the driving signal with the vibration phase of the piezoelectric horn through phase control technology to improve the sound quality. The phase control technology precisely adjusts the phase of the driving signal to ensure that the driving signal is synchronized with the vibration phase of the piezoelectric horn. It should be understood that phase synchronization not only improves the quality of the sound effects but also enhances the stability of the system to a certain extent. For example, under high-frequency vibrations, the phase synchronization technology can effectively reduce harmonic distortion and ensure the purity of the sound effects. The specific phase control algorithm can be expressed as:
[0090] F(t) = A·sin(ωt + φ), where A is the amplitude, ω is the angular frequency, and φ is the initial phase. By adjusting the initial phase φ, the driver can achieve the synchronization of the driving signal and the vibration phase of the piezoelectric horn.
[0091] Furthermore, while outputting the driving signal, the driver monitors the working state of the piezoelectric horn in real time and dynamically adjusts the driving signal through a feedback mechanism to optimize the output sound effects. The driver is built-in with multiple sensors to monitor parameters such as the sound pressure, frequency, and temperature of the piezoelectric horn in real time and feeds these parameters back to the controller. According to the feedback information, the driver dynamically adjusts the amplitude and frequency of the driving signal through an adaptive adjustment algorithm to ensure the best sound effect output. When an abnormal situation is detected, the driver will automatically trigger a fault diagnosis program to locate the problem and take corresponding measures, such as adjusting the driving signal intensity or pausing the output, to protect the piezoelectric horn from damage. The specific fault diagnosis program includes but is not limited to:
[0092] Sound pressure abnormal detection: When the sound pressure exceeds the preset range, the driver will adjust the driving signal intensity to ensure that the sound pressure returns to normal.
[0093] Temperature abnormal detection: When the temperature is too high, the driver will pause the output and wait for the temperature to drop before resuming work.
[0094] Frequency abnormal detection: When the frequency fluctuates too much, the driver will adjust the frequency parameters to ensure the frequency stability.
[0095] The benefits of this embodiment are that by optimizing the waveform generation algorithm and phase control technology of the driver, the consistency of sound quality in different application scenarios is ensured. Based on frequency modulation and phase synchronization technologies, the driver can dynamically adjust the driving waveform according to the physical characteristics of the piezoelectric horn to ensure the best sound output. In addition, through the feedback mechanism and fault diagnosis program, the driver can monitor the working state of the piezoelectric horn in real time to ensure the stability and reliability of the system.
[0096] Embodiment Five
[0097] To solve the problem that the sound quality of the horn control system of electric two-wheelers gradually degrades during long-term use, this embodiment further optimizes the intelligent optimization algorithm and self-learning function of the driver. The driver adopts an intelligent optimization algorithm based on a deep neural network. By learning a large amount of historical data, it automatically adjusts the parameters of the driving signal to achieve the best sound output. The intelligent optimization algorithm learns from historical data to identify the best driving parameters in different usage scenarios and optimizes the current driving signal accordingly.
[0098] Furthermore, the driver has a self-learning function and can continuously optimize the driving signal generation strategy according to user habits and environmental changes. The self-learning function analyzes the historical records of user operations to identify the user's common operation patterns and optimizes the driving signal generation logic accordingly. For example, for users who often use the vehicle in noisy environments, the driver will automatically adjust the sound mode so that it can still produce clear sounds in noisy environments. It should be understood that the self-learning function not only improves the adaptability of the system but also enhances the personalization of the user experience to a certain extent.
[0099] Furthermore, the driver uses a signal generation algorithm to generate the driving signal. The expression of the signal generation algorithm is:
[0100] where S(t) represents the driving signal, A and B represent the amplitudes of the main frequency and the secondary frequency respectively, α is the attenuation coefficient, ω and φ are the angular frequency and the initial phase of the main frequency, w n is the weight of the secondary frequency, ω n and φ n are the angular frequency and the initial phase of the secondary frequency, and N is the number of secondary frequencies. By adjusting these parameters, the driver can generate different types of driving signals to adapt to different usage scenarios.
[0101] Furthermore, when generating the drive signal, the driver also refers to the current working environment parameters, such as temperature, humidity, etc., and dynamically adjusts the signal parameters to adapt to different usage scenarios. It should be understood that this dynamic adjustment mechanism not only improves the quality of the sound effect but also enhances the adaptability of the system to a certain extent. For example, in a high-temperature environment, the driver will automatically adjust the attenuation coefficient of the drive signal to ensure the clarity of the sound effect.
[0102] The benefits of this embodiment are that by optimizing the intelligent optimization algorithm and self-learning function of the driver, the long-term stability of the system and the consistency of the sound quality are ensured. Based on the intelligent optimization algorithm of the deep neural network, the driver can automatically adjust the parameters of the drive signal by learning historical data to ensure the best sound output. In addition, the self-learning function analyzes the historical records of user operations to optimize the generation logic of the drive signal and improve the adaptability of the system.
[0103] Embodiment Six
[0104] To solve the problem of potential safety risks that may exist in the signal transmission process of the horn control system of electric two-wheel vehicles, this embodiment further optimizes the security of the controller when generating the level signal. When generating the level signal, the controller uses an asymmetric encryption algorithm to encrypt the signal to ensure the security of signal transmission, as Figure 2 shown. The asymmetric encryption algorithm not only improves the confidentiality of signal transmission but also ensures the integrity and non-tamperability of the signal.
[0105] Furthermore, the controller is built with a key management system that supports dynamic update of encryption keys. The key management system can dynamically adjust the encryption keys according to the working state and environmental parameters of the system to ensure that each generated level signal is encrypted using the latest key. It should be understood that dynamically updating the encryption keys not only improves the security of the system but also enhances the flexibility and adaptability of the system to a certain extent. For example, when the vehicle runs for a long time or passes through a specific area, the controller will automatically update the keys to cope with potential security threats.
[0106] Furthermore, the expression of the asymmetric encryption algorithm is:
[0107] where C represents the encrypted level signal, E is the encryption function, K is the key, M is the plaintext level signal, H is the hash function, L is the number of key segments, K i and M i are the segments of the key and the plaintext, P i is the modulus, and i represents the segment index of the key and the plaintext, which is used to identify the corresponding relationship between each segment of the key and the plaintext. In this way, the controller can encrypt each segment of the plaintext when generating the level signal to ensure the confidentiality of signal transmission.
[0108] Further, when generating the level signal, the controller also refers to the current working environment parameters, such as temperature, humidity, etc., and dynamically adjusts the parameters of the encryption algorithm to adapt to different usage scenarios. It should be understood that this dynamic adjustment mechanism not only improves the effectiveness of the encryption algorithm, but also enhances the adaptability of the system to a certain extent. For example, in a high-temperature environment, the controller will automatically adjust the parameters of the encryption algorithm to ensure the security of signal transmission.
[0109] Further, when generating the level signal, the controller also performs multiple verifications to ensure that the encrypted signal is correct. The controller will use the built-in verification module to verify the encrypted signal multiple times to ensure the integrity and accuracy of the signal. It can be understood that the multiple verification mechanism not only improves the reliability of signal transmission, but also enhances the fault tolerance of the system to a certain extent. When a signal transmission error is detected, the controller will automatically regenerate and send the correct level signal to ensure the accuracy and integrity of the signal.
[0110] The benefit of this embodiment is that by optimizing the security of the controller when generating the level signal, the confidentiality and integrity of signal transmission are ensured. Based on the asymmetric encryption algorithm and the key management system, the controller can dynamically update the encryption key to ensure that each generated level signal is encrypted using the latest key. In addition, by dynamically adjusting the parameters of the encryption algorithm and the multiple verification mechanism, the controller improves the effectiveness of the encryption algorithm and the reliability of signal transmission.
[0111] Embodiment Seven
[0112] To solve the problem that the horn control system of electric two-wheelers is interfered by the outside world in a complex environment, this embodiment further optimizes the feedback mechanism and filtering algorithm of the driver. The driver is built-in with multiple sensors, and through multi-sensor fusion technology, the working state of the piezoelectric horn is comprehensively analyzed to improve the feedback accuracy. Multi-sensor fusion technology ensures the accuracy and comprehensiveness of the feedback information by comprehensively analyzing the data of multiple sensors.
[0113] Further, the driver adopts an adaptive filtering algorithm to filter out external interference signals in real time to ensure the purity of the drive signal. The adaptive filtering algorithm identifies and filters out external interference signals by real-time monitoring and analysis of the drive signal to ensure the purity of the drive signal. It should be understood that the adaptive filtering algorithm not only improves the quality of the drive signal, but also enhances the anti-interference ability of the system to a certain extent. For example, in a noisy environment, the adaptive filtering algorithm can effectively filter out environmental noise to ensure the clarity of the drive signal, as Figure 3 shown.
[0114] Further, the expression of the adaptive filtering algorithm is:
[0115] Among them, F(x) represents the filtered signal, β and μ are the parameters of the activation function, J is the number of filters, γ j and δ j are the weights and slopes of each filter, θ j is the threshold of each filter, x represents the input value of the original signal, and j represents the filter number. The expression of the activation function is:
[0116] which is used to map the input value between 0 and 1. By adjusting the β and μ parameters, the activation function can better adapt to different signal characteristics.
[0117] Furthermore, while the driver outputs the drive signal, it monitors the working state of the piezoelectric horn in real time, and dynamically adjusts the drive signal through a feedback mechanism to optimize the output sound effect, as Figure 5 shown. The driver is built-in with a variety of sensors to monitor parameters such as the sound pressure, frequency, and temperature of the piezoelectric horn in real time, and feeds these parameters back to the controller. According to the feedback information, the driver dynamically adjusts the amplitude and frequency of the drive signal through an adaptive adjustment algorithm to ensure the best sound effect output. When an abnormal situation is detected, the driver will automatically trigger a fault diagnosis program to locate the problem and take corresponding measures, such as adjusting the drive signal intensity or pausing the output, to protect the piezoelectric horn from damage.
[0118] The benefits of this embodiment are that by optimizing the feedback mechanism and filtering algorithm of the driver, the purity of the drive signal and the anti-interference ability of the system are ensured. Based on the multi-sensor fusion technology and the adaptive filtering algorithm, the driver can monitor the working state of the piezoelectric horn in real time, and dynamically adjust the drive signal through the feedback mechanism to ensure the best sound effect output. In addition, by filtering out external interference signals in real time, the driver improves the quality of the drive signal and ensures the stability of the system.
[0119] Embodiment Eight
[0120] To solve the problem of the stable operation of the horn control system of electric two-wheelers in different voltage environments, this embodiment proposes a horn control circuit, as Figure 6 shown. The control circuit includes a controller, a driver, a piezoelectric horn, a power supply module, a communication interface, and a feedback circuit. Through reasonable electrical connections and protocol designs among the components, the stability and reliability of the system are ensured.
[0121] Specifically, the controller is used to receive user instructions and generate corresponding level signals. The controller communicates with the driver through an SPI interface to ensure stable signal transmission. The SPI interface is a synchronous serial communication interface that supports high-speed data transmission and two-way communication, and can effectively reduce the delay and error rate during signal transmission. It should be understood that communicating through the SPI interface not only improves the stability of signal transmission but also enhances the system's response speed to a certain extent. For example, when the user presses the horn button, the controller can quickly transmit the level signal to the driver to ensure that the piezoelectric horn emits the corresponding sound effect in a timely manner.
[0122] Further, the driver is used to receive the level signal and generate a drive signal to drive the piezoelectric horn to emit the corresponding sound effect. The driver is powered by a 12V power supply, and the power supply is connected through a voltage regulator to ensure a stable voltage supply. The role of the voltage regulator is to stabilize the input voltage at 12V to ensure that the driver can work properly in different voltage environments. It should be understood that through the connection of the voltage regulator, the driver can still maintain a stable output under large voltage fluctuations, ensuring that the sound quality of the piezoelectric horn is not affected.
[0123] Further, the piezoelectric horn uses a piezoelectric ceramic sheet as the sound-emitting unit and emits various sound effects through the drive signal. The piezoelectric horn is connected to the driver through an audio cable to ensure the reliability and integrity of signal transmission. It should be understood that the selection and layout of the audio cable have a direct impact on the quality of signal transmission. In this embodiment, a shielded audio cable is used, which can effectively reduce external electromagnetic interference and ensure the purity of signal transmission. In addition, the length and routing path of the audio cable are also optimized to reduce signal loss during transmission.
[0124] Further, the power supply module is powered by a 12V power supply to be compatible with the power supply scheme of traditional electric vehicles. The power supply module includes a voltage regulator, filter capacitors, and a fuse to ensure power supply safety. The voltage regulator is used to stabilize the input voltage, the filter capacitors are used to reduce voltage fluctuations, and the fuse is used to protect the circuit from overcurrent damage. It should be understood that through the combined use of the voltage regulator and filter capacitors, the power supply module can still maintain a stable output under large voltage fluctuations, ensuring the normal operation of the system. In addition, the setting of the fuse provides additional safety protection for the circuit to avoid damage caused by overcurrent or short circuit.
[0125] The benefit of this embodiment is that by optimizing the design of the horn control circuit, the stable operation of the system in different voltage environments is ensured. Based on the communication method of the SPI interface and the connection of the voltage regulator, the signal transmission between the controller and the driver is more stable and reliable. In addition, through a reasonable power supply module design, the power supply safety of the system is ensured.
[0126] Embodiment Nine
[0127] To solve the problem of the horn control system of electric two-wheelers operating stably in a high-voltage environment, the design of the power supply module is further optimized in this embodiment, as Figure 7 shown. The power supply module not only supports power supply with a 12V power source, but also adds a 48 - 60V battery module for direct power supply to ensure a stable power supply. The voltage adapter is used to convert the 48 - 60V voltage into a voltage suitable for the operation of the driver, as Figure 4 shown, to ensure the normal operation of the driver. The voltage adapter adopts a DC - DC buck converter to reduce the ripple and ensure the stability of the output voltage.
[0128] Furthermore, the power supply module also includes a protection circuit, including overcurrent protection, overvoltage protection, and short - circuit protection, to ensure the safety of the circuit. The overcurrent protection circuit can automatically cut off the power supply when the current exceeds the preset threshold to prevent the circuit from overheating or being damaged. The overvoltage protection circuit can automatically adjust the output voltage when the input voltage is too high to ensure the safe operation of the driver. The short - circuit protection circuit can immediately cut off the power supply when a short - circuit is detected to prevent the circuit from being damaged. It should be understood that through the setting of these protection circuits, the power supply module can still operate stably under various abnormal conditions, ensuring the safety and reliability of the system.
[0129] Furthermore, the voltage adapter adopts a DC - DC buck converter to convert the 48 - 60V voltage into a voltage suitable for the operation of the driver. The DC - DC buck converter has the characteristics of high efficiency and low ripple, and can stabilize the input voltage within the range required by the driver. It should be understood that through the use of the DC - DC buck converter, the power supply module can still maintain a stable output in a high - voltage environment, ensuring the normal operation of the driver. In addition, the DC - DC buck converter has a high efficiency, which can reduce energy loss and improve the energy utilization rate of the system.
[0130] Furthermore, the power supply module also includes filter capacitors and fuses to ensure power supply safety. The filter capacitors are used to reduce voltage fluctuations and ensure the stability of the output voltage. The fuses are used to protect the circuit from overcurrent damage. It should be understood that through the combined use of filter capacitors and fuses, the power supply module can still maintain a stable output under large voltage fluctuations, ensuring the normal operation of the system. In addition, the setting of the fuses provides additional safety protection for the circuit, avoiding damage caused by overcurrent or short - circuit.
[0131] The benefit of this embodiment is that by optimizing the design of the power module, the stable operation of the system in a high-voltage environment is ensured. Based on the combined use of a 48 - 60V battery module and a DC-DC buck converter, the power module can still maintain a stable output in a high-voltage environment, ensuring the normal operation of the driver. In addition, through the setting of the protection circuit, the power module can still maintain stable operation under various abnormal conditions.
[0132] Embodiment Ten
[0133] To solve the compatibility problem of the electric vehicle horn control system under different power supply methods, this embodiment further optimizes the overall design of the horn control system, as Figure 8 shown. The control system includes a controller, a driver, a piezoelectric horn, a power module, a communication interface, and a feedback circuit. Through reasonable electrical connections and protocol designs among the components, the compatibility of the system is ensured.
[0134] Specifically, the controller is used to receive user instructions and generate corresponding level signals. The communication interface between the controller and the driver adopts the SPI protocol to support high-speed data transmission and two-way communication. The SPI protocol is a synchronous serial communication interface that supports high-speed data transmission and two-way communication, and can effectively reduce the delay and error rate during signal transmission.
[0135] Further, the driver is used to receive the level signal and generate a driving signal to drive the piezoelectric horn to emit corresponding sound effects. The driver is powered by a 12V or 48 - 60V power supply and is connected through a voltage regulator to ensure a stable voltage supply. The role of the voltage regulator is to stabilize the input voltage within the range required by the driver, ensuring that the driver can operate normally under different voltage environments. It should be understood that through the connection of the voltage regulator, the driver can still maintain a stable output under large voltage fluctuations, ensuring that the sound quality of the piezoelectric horn is not affected.
[0136] Further, the piezoelectric horn uses a piezoelectric ceramic sheet as the sound-emitting unit and emits various sound effects through the driving signal. The piezoelectric horn is connected to the driver through an audio cable to ensure the reliability and integrity of signal transmission. It should be understood that the selection and layout of the audio cable have a direct impact on the quality of signal transmission. In this embodiment, a shielded audio cable is used, which can effectively reduce external electromagnetic interference and ensure the purity of signal transmission. In addition, the length and routing path of the audio cable are also optimized to reduce signal transmission losses.
[0137] Furthermore, the power supply module supports two power supply methods: 12V or 48 - 60V, ensuring the compatibility of the system. The power supply module includes a voltage regulator, filter capacitors, and a fuse to ensure power supply safety. The voltage regulator is used to stabilize the input voltage, the filter capacitors are used to reduce voltage fluctuations, and the fuse is used to protect the circuit from overcurrent damage. It should be understood that through the combined use of the voltage regulator and filter capacitors, the power supply module can still maintain a stable output under large voltage fluctuations, ensuring the normal operation of the system. In addition, the setting of the fuse provides additional safety protection for the circuit, avoiding damage caused by overcurrent or short circuit.
[0138] Furthermore, the feedback circuit is used to monitor the working state of the piezoelectric horn in real time and transmit the feedback information to the driver for dynamic adjustment. The feedback circuit includes a current sensor, a voltage sensor, and a temperature sensor. The analog signals are converted into digital signals through an ADC converter and then transmitted to the driver for processing. It should be understood that through the real-time monitoring of the feedback circuit, the driver can dynamically adjust the driving signal according to the working state of the piezoelectric horn to ensure the best sound effect output. In addition, the setting of the feedback circuit provides additional safety protection for the system, ensuring that the piezoelectric horn can stop working in a timely manner under abnormal conditions to avoid damage.
[0139] The benefits of this embodiment are that by optimizing the overall design of the horn control system, the compatibility and reliability of the system under different power supply methods are ensured. Based on the support of the two power supply methods of 12V and 48 - 60V, the control system can work stably in different voltage environments. In addition, through the reasonable design of the power supply module and the setting of the feedback circuit, the power supply safety and sound quality of the system are ensured.
[0140] The above embodiments have further elaborated in detail the purpose, technical solutions, and beneficial effects of the present invention. It should be understood that the above are only specific embodiments of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present invention shall be included in the protection scope of the present invention.
Claims
1. A speaker control circuit, characterized in that: The control circuit comprises: The controller is used to receive user instructions and generate corresponding level signals. The controller communicates with the driver via an SPI interface to ensure stable signal transmission. A driver, used to receive a level signal and generate a driving signal to drive the piezoelectric speaker to emit a corresponding sound effect. The driver is powered by a 12V power supply, and the power supply is connected through a voltage regulator to ensure a stable voltage supply; A piezoelectric speaker uses a piezoelectric ceramic sheet as a sound-generating unit and emits a variety of sound effects through a driving signal. The piezoelectric speaker is connected to the driver through an audio cable; The power module is powered by a 12V power supply to be compatible with the vehicle's power supply solution. The power module includes a voltage stabilizer, a filter capacitor, and a fuse to ensure power supply safety; A communication interface, used for communication between the controller and the driver, wherein the communication interface adopts the SPI protocol to support high-speed data transmission and bidirectional communication; The feedback circuit is used to monitor the working status of the piezoelectric speaker in real time and transmit feedback information to the driver for dynamic adjustment. The feedback circuit includes a current sensor, a voltage sensor and a temperature sensor. The analog signal is converted into a digital signal through an ADC converter and then transmitted to the driver for processing.
2. The speaker control circuit according to claim 1, characterized in that: The driver has a built-in DC016 multi-sound effect piezoelectric horn driver chip, and the piezoelectric horn driver chip realizes 7 different sound effect outputs through three level selection ports, including 3 horn sounds, turn sound, locking sound, unlocking sound and alarm sound; the three level selection ports of the piezoelectric horn driver chip are respectively connected to the corresponding output pins of the controller, and different sound effects are selected by setting the levels of the output pins.
3. The speaker control circuit according to claim 1, characterized in that: The controller is an anti-theft alarm wireless remote control controller. The controller can detect the state of the vehicle and send corresponding level signals to the driver according to different states, thereby driving the piezoelectric horn to emit corresponding sound effects; when the vehicle is illegally moved, the controller can drive the driver to make the piezoelectric horn emit an alarm sound; the controller also includes an unlocking identification port for detecting the state of the key being inserted into the lock hole and started, and an alarm button for triggering the alarm sound effect.
4. The speaker control circuit according to claim 1, characterized in that: The power module also includes: 48-60V battery module for direct power supply to ensure stable power supply; A voltage adapter, used to convert a 48-60V voltage into a voltage suitable for the driver to ensure normal operation of the driver, wherein the voltage adapter adopts a DC-DC step-down converter to reduce ripples; Protect circuits, including over-current protection, over-voltage protection and short-circuit protection, to ensure circuit safety; The voltage stabilizer, filter capacitor and fuse in the power module are connected in sequence.
5. The speaker control circuit according to claim 1, characterized in that: The feedback circuit also includes a fault diagnosis module, which can determine the working state of the piezoelectric horn based on the feedback information of the current sensor, the voltage sensor and the temperature sensor, and send an alarm signal to the controller when an abnormality occurs; the current sensor, the voltage sensor and the temperature sensor are respectively connected to the piezoelectric horn, and the analog signal is converted into a digital signal through an ADC converter, and then transmitted to the driver for processing.
6. The speaker control circuit according to claim 2, characterized in that: The control circuit includes an anti-theft alarm wireless remote control controller and a DC016 multi-sound effect driving module; the DC016 multi-sound effect driving module is powered by a 12V power supply and is compatible with the power supply scheme of traditional electric vehicles. The 12V power supply is connected to the driver through a voltage stabilizer, a filter capacitor and a fuse. The anti-theft alarm wireless remote control controller communicates with the DC016 multi-sound effect driving module through an SPI interface. The output pins of the anti-theft alarm wireless remote control controller are connected to the three level selection ports of the piezoelectric speaker driver chip, and different sound effects are selected by setting the pin levels; the piezoelectric speaker is connected to the output end of the driver through an audio line, receives a driving signal and emits a sound.
7. The speaker control circuit according to claim 2, characterized in that: The control circuit includes an anti-theft alarm wireless remote control controller and a DC016 multi-sound effect driving module; the DC016 multi-sound effect driving module is directly powered by a 48-60V battery, the 48-60V power supply is converted into a voltage suitable for the operation of the driver through a DC-DC step-down converter, and then connected to the driver through a voltage stabilizer, a filter capacitor and a fuse to ensure the stability of the power supply, the anti-theft alarm wireless remote control controller communicates with the DC016 multi-sound effect driving module through an SPI interface, the output pins of the controller are connected to the three level selection ports of the piezoelectric speaker driver chip, and different sound effects are selected by setting the pin levels, and the piezoelectric speaker is connected to the output end of the driver through an audio line, receives the drive signal and emits a sound.
8. A horn control system, comprising the horn control circuit according to any one of claims 1 to 7, characterized in that: The control system further comprises: A controller, used to receive user instructions and generate corresponding level signals; A driver, used to receive the level signal and generate a driving signal to drive the piezoelectric speaker to emit a corresponding sound effect. The driver is powered by a 12V or 48-60V power supply and connected through a voltage regulator to ensure a stable voltage supply; A piezoelectric speaker uses a piezoelectric ceramic sheet as a sound-generating unit and emits a variety of sound effects through a driving signal. The piezoelectric speaker is connected to the driver through an audio cable; A power module supports two power supply modes: 12V or 48-60V. The power module includes a voltage stabilizer, a filter capacitor and a fuse; A communication interface, used for communication between the controller and the driver, wherein the communication interface adopts the SPI protocol to support high-speed data transmission and bidirectional communication; The feedback circuit is used to monitor the working status of the piezoelectric speaker in real time and transmit feedback information to the driver for dynamic adjustment. The feedback circuit includes a current sensor, a voltage sensor and a temperature sensor. The analog signal is converted into a digital signal through an ADC converter and then transmitted to the driver for processing.
9. A horn control method, using the horn control system according to claim 8, characterized in that: The steps of the control method include: When the vehicle starts, the controller is initialized, the status of all sensors and input devices is checked, and it is ready to receive instructions from the user; The controller monitors user input in real time, analyzes user intentions and generates corresponding control signals, wherein the user input includes horn buttons, turn signal switches, and remote control operations; According to user instructions, the controller generates a set of level signal sequences through internal logic operations, which are used to control the driver of the piezoelectric speaker to produce different sound effects; After receiving the level signal sequence, the driver calculates the optimal driving waveform through a waveform generation algorithm, and converts the driving waveform into an actual driving signal to drive the piezoelectric speaker to emit a corresponding sound; While outputting the driving signal, the driver monitors the working state of the piezoelectric speaker in real time and dynamically adjusts the driving signal through a feedback mechanism to optimize the output sound effect.
10. The speaker control method according to claim 9, characterized in that: The step of calculating the optimal driving waveform by a waveform generation algorithm comprises: The driver calculates the optimal driving waveform according to the received level signal through a built-in waveform generation algorithm; The driver performs frequency modulation on the driving waveform according to the physical characteristics of the piezoelectric speaker to meet the needs of different application scenarios; The driver synchronizes the driving signal with the vibration phase of the piezoelectric speaker through phase control technology to improve the sound quality; The step of dynamically adjusting the driving signal through a feedback mechanism comprises: The driver has a built-in sensor to monitor the working status of the piezoelectric speaker in real time; According to the monitoring results, the driver dynamically adjusts the amplitude and frequency of the driving signal through an adaptive adjustment algorithm to ensure the best sound output; When an abnormal situation is detected, the driver automatically triggers a fault diagnosis program to locate the problem and adjust the driving signal strength or suspend the output to protect the piezoelectric speaker from damage.