Electric vehicle warning tone test method and system based on CAN bus and sound pressure detection
By integrating CAN bus with sound pressure detection, efficient and accurate detection of electric vehicle warning sounds is achieved, solving the problems of low efficiency and high equipment cost of traditional detection methods, and ensuring the standard compliance and production efficiency of electric vehicle warning sounds.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-19
- Publication Date
- 2026-03-31
AI Technical Summary
Traditional methods for detecting warning sounds in electric vehicles are inefficient, error-prone, and expensive, failing to meet the demands of high-frequency, rapid testing on production lines.
An electric vehicle warning sound testing method based on CAN bus and sound pressure level detection is adopted, which integrates ECU parameter detection and acoustic detection. A high-precision sound level meter module is used for objective measurement. ECU parameters are read through the CAN bus and compared with the benchmark value. Combined with sound pressure level detection, one-click fully automatic detection is achieved.
It achieves efficient and accurate detection of electric vehicle warning sounds, ensures standard compliance, eliminates software version errors and part number mismatches, reduces the skill requirements of operators, and meets the production line cycle requirements.
Smart Images

Figure CN121764031A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electric vehicle testing technology, and in particular to a method and system for testing electric vehicle alert sounds based on CAN bus and sound pressure detection. Background Technology
[0002] With the increasing popularity of electric vehicles, in order to ensure pedestrian safety, various countries have introduced regulations requiring electric vehicles to emit warning sounds when driving at low speeds. my country's national standard GB / T 37153-2018 "Low-Speed Warning Sounds for Electric Vehicles" makes clear provisions for this, requiring that the warning sound system must have specific sound pressure levels and frequency characteristics.
[0003] Before leaving the factory, the low-speed warning sound controller ECU products for electric vehicles must undergo two types of core tests: One type is software / hardware parameter verification. The product stores unique identification information. Before leaving the factory, it must be ensured that these parameters are completely consistent with the design documents. Any error may lead to incompatibility or malfunction of the vehicle system. The traditional method is to manually read and compare the data with the naked eye using CAN tools, which is inefficient and prone to errors. Another type is acoustic performance compliance testing. The sound emitted by the product's driving loudspeaker must meet the sound pressure level requirements stipulated by national standards. The traditional testing method is to use a professional acoustic acquisition system in a semi-anechoic chamber, where engineers conduct subjective listening and objective data comparison. This method is expensive, has high environmental requirements, and is time-consuming, and cannot meet the needs of high-frequency and rapid testing on the production line.
[0004] The information disclosed in this background section is intended only to enhance the understanding of the general background of the invention and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention
[0005] This invention provides a method and system for testing electric vehicle alert sounds based on CAN bus and sound pressure detection, thereby effectively solving the problems in the background art.
[0006] To achieve the above objectives, the technical solution adopted by this invention is: a method for testing electric vehicle alert sounds based on CAN bus and sound pressure detection, comprising the following steps: Import the ECU parameter reference list, and input the standard sample sound pressure level reference value and the set allowable offset; Place the product under test into a special tooling fixture, connect the product's power interface and CAN bus interface, and point the sound level meter microphone at the product's sound emission port, keeping the distance at the standard specified position. The parameters of the product under test are read through the CAN bus and compared one by one with the reference values in the ECU parameter reference list. If they are all consistent, the process proceeds to the next step; otherwise, an alarm is triggered and the process terminates. The product is triggered to emit sound, and the sound pressure level is collected by a sound level meter. The error between the sound pressure level and the standard sound pressure level reference value is calculated. It is determined whether the error is within the preset offset range. If it is, the product passes the test; otherwise, an alarm is triggered and the process terminates.
[0007] Furthermore, the ECU parameter benchmark list includes one or more of the following: vehicle manufacturer part number, supplier ID, ECU name, ECU hardware version number, ECU software version number, ECU serial number, ECU manufacturing date, Boot program version number, PreBoot program version number, and software ID.
[0008] Furthermore, the parameters of the product under test are read via the CAN bus and compared one by one with the reference values in the ECU parameter reference list. If all are consistent, the process proceeds to the next step; otherwise, an alarm is triggered and the process terminates. If any parameter is inconsistent, the device immediately terminates the test, triggers an alarm, and indicates the specific parameter item that is incorrect.
[0009] Furthermore, it also includes a data recording step: saving all data, results, and timestamps from each test to the database.
[0010] This invention also includes an electric vehicle warning sound testing system based on CAN bus and sound pressure detection, using the method described above, the system comprising: The system includes a main control unit, a CAN bus communication module, a sound level meter module, a human-machine interface module, a power management module, and an alarm indication module; the main control unit is electrically connected to the CAN bus communication module, the sound level meter module, the human-machine interface module, the power management module, and the alarm indication module, respectively. The main control unit has pre-stored ECU parameter reference values and standard sound pressure level reference values, which are used to control the detection process and perform data comparison. The CAN bus communication module is used for data interaction with the product under test; The sound level meter module is used to collect the sound emitted by the product under test and convert it into sound pressure level data; The alarm indication module is used to provide audible and visual alarm signals based on the comparison results.
[0011] Furthermore, the human-computer interaction module is a touch screen, used to set the allowable offset range of sound pressure level, display real-time detection data, detection results, and historical records.
[0012] Furthermore, the sound level meter module is an integrating sound level meter with Class 1 accuracy conforming to the IEC 61672 standard.
[0013] Furthermore, in addition to supplying power to the device itself, the power management module also provides a controllable 12V DC power supply to the product under test.
[0014] The present invention also includes a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as described above.
[0015] The present invention also includes a storage medium having a computer program stored thereon, which, when executed by a processor, implements the method as described above.
[0016] The beneficial effects of this invention are as follows: It integrates the previously separate ECU parameter detection and acoustic testing into a single device, achieving one-button fully automated testing and greatly improving production efficiency. The use of a high-precision sound level meter module for objective measurement avoids errors and uncertainties arising from subjective human judgment, ensuring accurate compliance with the GB / T 37153-2018 standard. ECU parameters are rigorously compared one by one, eliminating basic errors such as software version mistakes and part number mismatches at the source. All test data is automatically saved, establishing a complete product quality archive for easy traceability. Operators do not need professional CAN bus or acoustic knowledge; they only need to press the start button, significantly reducing skill requirements and training costs. The entire testing process can be completed in a short time, perfectly matching the production line's cycle time requirements. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart of the method in Example 1; Figure 2 This is a schematic diagram of the system structure in Example 1; Figure 3 This is a schematic diagram of the system structure in Example 2; Figure 4 This is a flowchart of the test in Example 2; Figure 5 This is the human-computer interaction page in Example 2; Figure 6 This is a schematic diagram of the structure of the computer device of the present invention. Detailed Implementation
[0019] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0020] Example 1: like Figure 1 The following is a method for testing the warning sound of an electric vehicle based on CAN bus and sound pressure detection, comprising the following steps: Import the ECU parameter reference list, and input the standard sample sound pressure level reference value and the set allowable offset; Place the product under test into a special tooling fixture, connect the product's power interface and CAN bus interface, and point the sound level meter microphone at the product's sound emission port, keeping the distance at the standard specified position. The parameters of the product under test are read through the CAN bus and compared with the reference values in the ECU parameter reference list one by one. If they are all consistent, the next step is initiated; otherwise, an alarm is triggered and the process is terminated. The product is triggered to emit sound, and the sound pressure level is collected by a sound level meter. The error between the sound pressure level and the standard sound pressure level reference value is calculated. It is determined whether the error is within the preset offset range. If it is, the product passes the test; otherwise, an alarm is triggered and the process terminates.
[0021] By integrating previously separate ECU parameter testing and acoustic testing into a single device, one-button fully automated testing is achieved, significantly improving production efficiency. A high-precision sound level meter module is used for objective measurement, avoiding errors and uncertainties arising from subjective human judgment and ensuring accurate compliance with the GB / T 37153-2018 standard. ECU parameters are rigorously compared one by one, eliminating basic errors such as software version mistakes and mismatched part numbers at the source. All test data is automatically saved, establishing a complete product quality archive for easy traceability. Operators do not require specialized CAN bus or acoustic knowledge; simply pressing the start button significantly reduces skill requirements and training costs. The entire testing process can be completed quickly, perfectly matching production line cycle requirements.
[0022] In this embodiment, the ECU parameter baseline list includes one or more of the following: vehicle manufacturer part number, supplier ID, ECU name, ECU hardware version number, ECU software version number, ECU serial number, ECU manufacturing date, Boot program version number, PreBoot program version number, and software ID.
[0023] The process involves reading the parameters of the product under test via the CAN bus and comparing them one by one with the reference values in the ECU parameter reference list. If all parameters match, the process proceeds to the next step; otherwise, an alarm is triggered and the process terminates. If any parameter does not match, the device immediately terminates the test, triggers an alarm, and indicates the specific parameter that is incorrect.
[0024] As a preferred embodiment of the above, a data recording step is also included: saving all data, results and timestamps of each detection to a database.
[0025] like Figure 2 As shown, this embodiment also includes an electric vehicle alert sound testing system based on CAN bus and sound pressure detection, using the method described above. The system includes: The system includes a main control unit, a CAN bus communication module, a sound level meter module, a human-machine interface module, a power management module, and an alarm indication module. The main control unit is electrically connected to the CAN bus communication module, the sound level meter module, the human-machine interface module, the power management module, and the alarm indication module, respectively. The main control unit has pre-stored ECU parameter reference values and standard sound pressure level reference values, which are used to control the detection process and perform data comparison. The CAN bus communication module is used for data exchange with the product under test; The sound level meter module is used to collect the sound emitted by the product under test and convert it into sound pressure level data; The alarm indication module is used to provide audible and visual alarm signals based on the comparison results.
[0026] The human-computer interaction module is a touch screen, used to set the allowable offset range of sound pressure level, display real-time detection data, detection results and historical records.
[0027] The sound level meter module is an integrating sound level meter with Class 1 accuracy conforming to the IEC 61672 standard.
[0028] In addition to powering the device itself, the power management module also provides a controllable 12V DC power supply to the product under test.
[0029] Example 2: refer to Figure 3 The specific hardware configuration of this test equipment is as follows: the main control unit uses an ARM Cortex-M series industrial-grade core board; the CAN bus communication module uses a CTM8251 series isolated CAN transceiver module; the sound level meter module uses a Class 1 accuracy sound level meter module conforming to the IEC 61672 standard; the microphone communicates with the main control unit via a USB interface; the human-machine interface module uses a 7-inch industrial touch screen; the alarm indication module uses high-brightness LED beads and a passive buzzer; the power management module provides 12V output and provides 5V and 3.3V power to each unit inside the equipment.
[0030] Before operation, technicians import the correct ECU parameter reference list through the settings interface on the touch screen, and input the standard sample sound pressure level reference value (e.g., 55.0dB) and the allowable offset (e.g., ±2dB).
[0031] During testing, the operator places the product under test into a dedicated fixture, connects the product's power interface and CAN bus interface, and aligns the sound level meter microphone with the product's sound output port, maintaining the distance specified by the standard. Then, the operator clicks the "Start Test" button on the touchscreen.
[0032] Equipment by Figure 4 Workflow: First, power on and wake up the product, then read all its ID information via the CAN bus. The main control unit compares each entry one by one, and the human-machine interface is as follows: Figure 5 As shown. If the read "ECU software version number" is "V1.2.3" while the baseline value is "V1.2.4", the device will immediately display "FAIL" in red on the screen and highlight the target in red as an alarm, terminating the process. The operator will then be aware of the software version rewriting error.
[0033] If all parameters pass, the device automatically sends a command to have the product play a prompt tone. For example, if the sound level meter collects and calculates the current sound pressure level to be 57.5 dB, and the main control unit calculates that the error between this and the standard value of 55.0 dB is +2.5 dB, this value exceeds the preset ±2 dB range. The device then determines that the acoustic test has failed, triggers a red alarm, and stops. The operator will then know that the product is too loud and is therefore defective.
[0034] Only when both tests are passed will the device finally display a green "PASS" message, indicating that all indicators of the product meet the factory requirements.
[0035] By integrating previously separate ECU parameter testing and acoustic testing into a single device, one-button fully automated testing is achieved, significantly improving production efficiency. A high-precision sound level meter module is used for objective measurement, avoiding errors and uncertainties arising from subjective human judgment and ensuring accurate compliance with the GB / T 37153-2018 standard. ECU parameters are rigorously compared one by one, eliminating basic errors such as software version mistakes and mismatched part numbers at the source. All test data is automatically saved, establishing a complete product quality archive for easy traceability. Operators do not require specialized CAN bus or acoustic knowledge; simply pressing the start button significantly reduces skill requirements and training costs. The entire testing process can be completed quickly, perfectly matching production line cycle requirements.
[0036] Please see Figure 6 The diagram shows a structural schematic of a computer device provided in an embodiment of this application. An embodiment of this application provides a computer device 400, including a processor 410 and a memory 420. The memory 420 stores a computer program executable by the processor 410. When the computer program is executed by the processor 410, it performs the method described above.
[0037] This application embodiment also provides a storage medium 430, on which a computer program is stored, and the computer program is executed by a processor 410 to perform the above method.
[0038] The storage medium 430 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0039] In the description of this invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. "A plurality of" means two or more, unless otherwise explicitly specified.
[0040] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0041] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0042] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.
[0043] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0044] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0045] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0046] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.
Claims
1. A method for testing the prompt sound of an electric vehicle based on CAN bus and sound pressure detection, characterized in that, It comprises the following steps: Importing the ECU parameter reference list, inputting the standard sample sound pressure level reference value and the set allowed offset; Placing the product to be tested into a special fixture, connecting the product power supply interface and the CAN bus interface, and aligning the sound level meter microphone with the product sound hole position, keeping the distance at the standard specified position; Reading the parameters of the product to be tested through the CAN bus, and comparing them one by one with the reference values in the ECU parameter reference list. If all are consistent, proceed to the next step, otherwise, alarm and terminate. Triggering the product to sound, collecting the sound pressure level through the sound level meter, calculating the error between it and the standard sound pressure level reference value, and determining whether the error is within the preset offset range. If yes, it is determined to pass, otherwise, alarm and terminate.
2. The method for testing the prompt sound of electric vehicle based on CAN bus and sound pressure detection according to claim 1, characterized in that, The ECU parameter reference list includes one or more of the vehicle manufacturer part number, supplier ID, ECU name, ECU hardware version number, ECU software version number, ECU serial number, ECU manufacturing date, Boot bootloader version number, PreBoot bootloader version number and software ID. 3.The method of claim 1, wherein, In the step of reading the parameters of the product to be tested through the CAN bus and comparing them one by one with the reference values in the ECU parameter reference list, if any parameter comparison is inconsistent, the device immediately terminates detection and alarms, and indicates the specific parameter item that is incorrect.
4. The method for electric vehicle chime testing based on CAN bus and sound pressure detection according to claim 1, characterized in that, It also includes a data recording step: saving all data, results and time stamps of each detection to a database.
5. A test system for electric vehicle chime based on CAN bus and sound pressure detection, characterized in that, The system comprises the method of any one of claims 1-4: A master control unit, a CAN bus communication module, a sound level meter module, a human-computer interaction module, a power management module and an alarm indication module; the master control unit is electrically connected with the CAN bus communication module, the sound level meter module, the human-computer interaction module, the power management module and the alarm indication module respectively; The master control unit pre-stores ECU parameter reference values and standard sound pressure level reference values, and is used for controlling the detection process and performing data comparison; The CAN bus communication module is used for data interaction with the product to be tested; The sound level meter module is used for collecting the sound emitted by the product to be tested and converting it into sound pressure level data; The alarm indication module is used for providing sound and light alarm signals according to the comparison results.
6. The electric vehicle chime test system based on CAN bus and sound pressure detection according to claim 5, characterized in that, The human-computer interaction module is a touch display screen, which is used for setting the allowed offset range of sound pressure level, displaying real-time detection data, detection results and historical records.
7. The electric vehicle chime test system based on CAN bus and sound pressure detection of claim 5, wherein, The sound level meter module is a class 1 precision integral sound level meter conforming to IEC 61672 standard.
8. The electric vehicle chime test system based on CAN bus and sound pressure detection of claim 5, wherein, The power management module provides controllable 12V DC power supply for the product to be tested in addition to power supply for the device itself.
9. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to realize the method of any one of claims 1-4.
10. A storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to realize the method of any one of claims 1-4.