Automobile electrical equipment detection method, device, computer equipment and storage medium
By collecting and analyzing the electrical signals of automobile electrical equipment in the body control system, the problem of not being able to obtain operating indicators is solved, and the timely identification and safety guarantee of the equipment is achieved to avoid the amplification of faults.
Patent Information
- Application Number
- CN202411081014.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-08
AI Technical Summary
The existing body control system cannot obtain the operating indicators of the automotive electrical equipment, which makes it impossible to determine whether the equipment is abnormal, resulting in the expansion of the fault and serious damage.
By obtaining the trigger signal, signal standard interval, acquisition period and acquisition frequency in the vehicle body control system, collecting electric signals, and determining whether there is an abnormal signal through the abnormal identification module to determine whether the device is an abnormal device.
It realizes timely and accurate identification of automotive electrical equipment, avoids the amplification of faults, ensures the safety of equipment, and avoids poor use or serious damage to the equipment.
Smart Images

Figure CN118604507B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of a transmission system for multiplex transmission, wherein the multiplex transmission is used to transmit multiple signals on a common channel, and in particular to a method, device, computer equipment and storage medium for detecting automotive electrical equipment. Background Art
[0002] Automotive electrical equipment is a system in a car that is responsible for various functions such as windshield wipers, power supply, and lighting. They provide drivers with a comfortable, safe, and convenient driving environment and support the normal operation of the vehicle. At present, at least one automotive electrical equipment is integrated in a car, and each automotive electrical equipment is controlled by the body control system.
[0003] However, the current body control system is unable to obtain the operating indicators of the automotive electrical equipment, and thus is unable to determine whether the automotive electrical equipment has any abnormalities, resulting in the continued use of faulty automotive electrical equipment, causing poor use of the automotive electrical equipment, and even further amplification of the fault, causing serious damage to the automotive electrical equipment. Summary of the invention
[0004] The purpose of the present invention is to provide an automobile electrical equipment detection method, device, computer equipment and storage medium, which are used to solve the problem that the existing technology cannot obtain the operating indicators of automobile electrical equipment, and thus cannot determine whether the automobile electrical equipment is abnormal, resulting in the continued use of faulty automobile electrical equipment, causing poor use of the automobile electrical equipment, and even further amplifying the fault, causing serious damage to the automobile electrical equipment.
[0005] To achieve the above-mentioned object, the present invention provides an automotive electrical equipment detection method, which runs in a vehicle body control system and is used to detect at least one automotive electrical equipment in the vehicle;
[0006] The method comprises:
[0007] Acquire a trigger signal of a first electrical device, and acquire a signal standard interval of the first electrical device according to the trigger signal; wherein the first electrical device is one of at least one of the automotive electrical devices; the trigger signal is an operation instruction that triggers the operation of the automotive electrical device; and the signal standard interval is a numerical interval of an operating indicator that characterizes the normal operation of the automotive electrical device under the operating conditions corresponding to the trigger signal;
[0008] Acquire the collection period and collection frequency of the first electrical device; wherein the collection period is the time period during which the automotive electrical device sends electrical signals to the CAN bus; the collection frequency refers to the numerical interval of the frequency of the electrical signals sent by the automotive electrical device to the CAN bus; the CAN bus is a communication protocol bus used to transmit electrical signals in the vehicle;
[0009] According to the collection period and the collection frequency, at least one electrical signal of the first electrical device is collected in the CAN bus; wherein the electrical signal is generated by triggering a sensor preset in the automotive electrical device; the electrical signal characterizes the category of the operating index of the automotive electrical device in a preset working collection interval through the frequency of the voltage; the electrical signal constructs a curve of the operating index in the working collection interval through the change of the voltage amplitude; the measured value data of the curve at each time point in the working collection interval corresponds to the voltage amplitude of the electrical signal at each time point in the working collection interval;
[0010] If it is determined that at least one of the electrical signals has T abnormal signals, the first electrical device is determined to be an abnormal device; wherein the abnormal signal refers to an electrical signal whose operating index curve is not within the signal standard interval; T is any natural number greater than or equal to 1.
[0011] In the above solution, obtaining a trigger signal of a first electrical device, and obtaining a signal standard interval of the first electrical device according to the trigger signal includes:
[0012] Acquire an interaction frequency; wherein the interaction frequency is the frequency of a trigger signal output by an interaction device in a CAN bus; the interaction device is a module for sending a trigger signal to at least one of the automotive electrical devices;
[0013] Obtaining a trigger signal from the CAN bus according to the interaction frequency;
[0014] The automotive electrical device that sends the trigger signal is identified according to the signal frequency of the trigger signal, and the identified automotive electrical device is set as the first electrical device; wherein the signal frequency is used to characterize the automotive electrical device operated by the trigger signal.
[0015] In the above solution, obtaining the collection period and collection frequency of the first electrical device includes:
[0016] Determine a collection period according to the device category of the first electrical device; wherein the device category refers to the type of automotive electrical devices classified in an automobile;
[0017] A collection frequency is determined according to the device number of the first electrical device.
[0018] In the above solution, collecting at least one electrical signal of the first electrical device in the CAN bus according to the collection period and the collection frequency includes:
[0019] Acquire a composite signal from the CAN bus; wherein the composite signal includes at least one electrical signal sent by each automotive electrical device within a detection time period;
[0020] Preprocessing the composite signal to obtain a preprocessed signal;
[0021] Extracting the electrical signal corresponding to the acquisition period from the preprocessed signal to obtain a target period signal; wherein the target period signal is an electrical signal sent by all automotive electrical devices in the device category where the first electrical device is located;
[0022] Filter and separate the target time period signal according to the acquisition frequency to obtain a time period frequency signal;
[0023] The time period frequency signal is demodulated to obtain at least one electrical signal of the first electrical device.
[0024] In the above solution, if it is determined that at least one of the electrical signals has T abnormal signals, before determining that the first electrical device is an abnormal device, the method further includes:
[0025] If it is determined that the working current data has more than M working current values that are not in the standard current interval, then the electrical signal corresponding to the working current data is determined to be an abnormal signal; wherein the working current data is a curve of the working current of the automotive electrical equipment in the working acquisition interval, and the working current is a category of the operating index; the working current curve reflects the working current value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; M is any natural number greater than or equal to 1; the standard current interval is a numerical interval in the signal standard interval; the standard current interval is a numerical interval of the working current that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal;
[0026] If it is determined that the working voltage data has more than N working voltage values that are not in the standard voltage interval, then the electrical signal corresponding to the working voltage data is determined to be an abnormal signal; wherein, the working voltage data is a curve of the working voltage of the automotive electrical equipment within the working acquisition interval, and the working voltage is a category of the operating indicators; the working voltage curve reflects the working voltage value of the automotive electrical equipment at each time point within the working acquisition interval through the voltage amplitude of the electrical signal at each time point; N is any natural number greater than or equal to 1; the standard voltage interval is a numerical interval in the signal standard interval; the standard voltage interval is a numerical interval of the working voltage that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0027] In the above solution, if it is determined that at least one of the electrical signals has T abnormal signals, before determining that the first electrical device is an abnormal device, the method further includes:
[0028] Generate working power data of the first electrical device according to the working current data and the working voltage data; wherein the working power data is a curve of the working power of the automotive electrical device within the working acquisition interval, and the working power curve reflects the working power value of the automotive electrical device at each time point within the working acquisition interval;
[0029] If it is determined that the working power data has more than P working power values that are not in the standard power range, the electrical signal corresponding to the working current signal is determined to be an abnormal signal, and the electrical signal corresponding to the working voltage signal is determined to be an abnormal signal; P is any natural number greater than or equal to 1; the standard power range is a numerical range in the signal standard range; the standard power range is a numerical range of the working power that characterizes the normal operation of automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0030] In the above solution, if it is determined that at least one of the electrical signals has T abnormal signals, before determining that the first electrical device is an abnormal device, the method further includes:
[0031] If it is determined that the vibration amplitude data has more than Q vibration amplitude values that are not in the standard amplitude interval, then the electrical signal corresponding to the vibration amplitude data is determined to be an abnormal signal; wherein the vibration amplitude data is a curve of the vibration amplitude of the automotive electrical equipment within the working acquisition interval, the vibration amplitude is a category in the operating index, and the vibration amplitude curve reflects the vibration amplitude value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Q is any natural number greater than or equal to 1; the standard amplitude interval is a numerical interval in the signal standard interval; the standard amplitude interval is a numerical interval of the vibration amplitude that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal; and / or
[0032] If it is determined that the transmittance data has more than X transmittance values that are not in the standard transmittance interval, then the electrical signal corresponding to the transmittance data is determined to be an abnormal signal; wherein the transmittance data is a transmittance curve of the automotive electrical equipment in the working acquisition interval, the transmittance is a category in the operating indicators, and the transmittance curve reflects the transmittance value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Q is any natural number greater than or equal to 1; the standard transmittance interval is a numerical interval in the signal standard interval; the standard transmittance interval is a numerical interval of transmittance that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal; and / or
[0033] If it is determined that the sound amplitude data has more than Y sound amplitude values that are not in the standard sound amplitude interval, then the electrical signal corresponding to the sound amplitude data is determined to be an abnormal signal; wherein the sound amplitude data is a curve of the sound amplitude of the automotive electrical equipment in the working acquisition interval, the sound amplitude is a category in the operating index, and the sound amplitude curve reflects the sound amplitude value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Y is any natural number greater than or equal to 1; the standard sound amplitude interval is a numerical interval in the signal standard interval; the standard sound amplitude interval is a numerical interval of the sound amplitude that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal; and / or
[0034] If it is determined that the sound frequency data has more than Z sound frequency values that are not in the standard audio frequency interval, then the electrical signal corresponding to the sound frequency data is determined to be an abnormal signal; wherein the sound frequency data is a curve of the sound frequency of the automotive electrical equipment in the working acquisition interval, the sound frequency is a category in the operating index, and the sound frequency curve reflects the sound frequency value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Z is any natural number greater than or equal to 1; the standard audio frequency interval is a numerical interval in the signal standard interval; the standard audio interval is a numerical interval of the sound frequency that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0035] To achieve the above-mentioned object, the present invention also provides an automobile electrical equipment detection device, which is installed in a vehicle body control system and is used to detect at least one automobile electrical equipment in the vehicle;
[0036] The device comprises:
[0037] A trigger standard module, used to obtain a trigger signal of a first electrical device, and obtain a signal standard interval of the first electrical device according to the trigger signal; wherein the first electrical device is one of at least one of the automotive electrical devices; the trigger signal is an operation instruction that triggers the operation of the automotive electrical device; and the signal standard interval is a numerical interval of an operating indicator that characterizes the normal operation of the automotive electrical device under the operating conditions corresponding to the trigger signal;
[0038] a time period frequency module, used to obtain the collection time period and collection frequency of the first electrical device; wherein the collection time period is the time period in which the automotive electrical device sends electrical signals to the CAN bus; the collection frequency refers to the numerical interval of the frequency of the electrical signals sent by the automotive electrical device to the CAN bus; the CAN bus is a communication protocol bus used to transmit electrical signals in the vehicle;
[0039] A signal acquisition module, configured to acquire at least one electrical signal of the first electrical device in a CAN bus according to the acquisition period and the acquisition frequency; wherein the electrical signal is generated by triggering a sensor preset in the automotive electrical device; the electrical signal characterizes the category of the operating index of the automotive electrical device in a preset working acquisition interval through the frequency of the voltage; the electrical signal constructs a curve of the operating index in the working acquisition interval through the change of the voltage amplitude; the measured value data of the curve at each time point in the working acquisition interval corresponds to the voltage amplitude of the electrical signal at each time point in the working acquisition interval;
[0040] An abnormality identification module is used to determine that the first electrical device is an abnormal device if it is determined that at least one of the electrical signals has T abnormal signals; wherein the abnormal signal refers to an electrical signal whose curve of the operating indicator is not within the signal standard interval; T is any natural number greater than or equal to 1.
[0041] To achieve the above objectives, the present invention also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor of the computer device executes the computer program, the steps of the above-mentioned automotive electrical equipment detection method are implemented.
[0042] To achieve the above object, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program stored in the computer-readable storage medium is executed by a processor, the steps of the above-mentioned automotive electrical equipment detection method are implemented.
[0043] The present invention provides an automobile electrical equipment detection method, device, computer equipment and storage medium, which achieve the technical effect of obtaining the operating indicators of the automobile electrical equipment by obtaining a trigger signal of the first electrical equipment, obtaining the signal standard interval of the first electrical equipment according to the trigger signal, and obtaining the collection time period and collection frequency of the first electrical equipment, and collecting at least one electrical signal of the first electrical equipment in the CAN bus according to the collection time period and collection frequency.
[0044] By determining that the first electrical equipment is an abnormal equipment if at least one electrical signal contains T abnormal signals, and setting the abnormal signal as an electrical signal whose operating index curve is not within the signal standard interval, a technical effect of timely and accurate identification of whether an abnormal situation occurs in the automotive electrical equipment is achieved, so as to ensure the safety of each automotive electrical equipment, avoid the use of faulty automotive electrical equipment, resulting in poor use of the automotive electrical equipment, or even further expansion of the fault, resulting in serious damage to the automotive electrical equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is a flow chart of Embodiment 1 of the automotive electrical equipment detection method of the present invention;
[0046] Figure 2 It is a schematic diagram of the environmental application of the automobile electrical equipment detection method in Embodiment 2 of the automobile electrical equipment detection method of the present invention;
[0047] Figure 3 is a specific method flow chart of the automobile electrical equipment detection method in Embodiment 2 of the automobile electrical equipment detection method of the present invention;
[0048] Figure 4 This is a schematic diagram of a program module of a third embodiment of the automobile electrical equipment detection device of the present invention;
[0049] Figure 5 Schematic diagram of the hardware structure of the computer device in the fourth embodiment of the computer device of the present invention. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0051] Example 1: Please refer to Figure 1, a vehicle electrical equipment detection method of this embodiment is run in a vehicle body control system and is used to detect at least one vehicle electrical equipment in the vehicle; the method comprises:
[0052] S101: Acquire a trigger signal of a first electrical device, and acquire a signal standard interval of the first electrical device according to the trigger signal; wherein the first electrical device is one of at least one automotive electrical device; the trigger signal is an operation instruction that triggers the automotive electrical device to operate; and the signal standard interval is a numerical interval of an operating indicator that characterizes the normal operation of the automotive electrical device under the operating conditions corresponding to the trigger signal;
[0053] S102: Acquire a collection period and a collection frequency of the first electrical device; wherein the collection period is a time period during which the automotive electrical device sends an electrical signal to the CAN bus; the collection frequency refers to a numerical interval of the frequency of the electrical signal sent by the automotive electrical device to the CAN bus; the CAN bus is a communication protocol bus used in the automobile to transmit electrical signals;
[0054] S103: According to the collection period and the collection frequency, at least one electrical signal of the first electrical device is collected in the CAN bus; wherein the electrical signal is generated by triggering a sensor preset in the automotive electrical device; the electrical signal characterizes the category of the operating index of the automotive electrical device in a preset working collection interval through the frequency of the voltage; the electrical signal constructs a curve of the operating index in the working collection interval through the change of the voltage amplitude; the measured value data of the curve at each time point in the working collection interval corresponds to the voltage amplitude of the electrical signal at each time point in the working collection interval;
[0055] S112: If it is determined that there are T abnormal signals in at least one electrical signal, the first electrical device is determined to be an abnormal device; wherein the abnormal signal refers to an electrical signal whose curve of the operating index is not within the signal standard interval; and T is any natural number greater than or equal to 1.
[0056] In this example, the body control system BCM (Body Control Module) is an electronic control system that is responsible for driving, monitoring and controlling the electronic control unit (ECU) related to the vehicle's body functions. The body control system is used to control automotive electrical equipment in the car.
[0057] Equipment categories for automotive electrical equipment include: wiper systems, instrument systems, and auxiliary systems.
[0058] The automotive electrical equipment of the wiper system includes: the drive mechanism; the drive mechanism is the power source of the wiper system, and there are two main options: mechanical motor and electronic motor. When the driver operates the wiper switch, the wiper motor starts, and the motor speed is decelerated and torque increased by the worm gear, and then acts to drive the swing arm.
[0059] The automotive electrical equipment of the instrument system includes: ammeter, charge indicator, voltmeter, oil pressure gauge, thermometer, fuel gauge, speedometer and odometer, engine tachometer, which are used to display various status of the vehicle.
[0060] The automotive electrical equipment of the auxiliary system includes: headlights, fog lights, tail lights, brake lights, shed lights, electric horns, turn signal flashers, horns, and buzzers, which are used to ensure driving safety.
[0061] The trigger signal is a specific operation performed by a user on the vehicle electrical equipment in the vehicle.
[0062] By acquiring the collection period and collection frequency of the first electrical device, the period and frequency of the electrical signal sent by the first electrical device in the CAN bus are determined, thereby achieving the technical effect of targeted collection of the electrical signal sent by the first electrical device. It should be noted that the automotive electrical device will send an electrical signal to the CAN bus through a preset sensor to characterize the operating indicators of the automotive electrical device.
[0063] According to the acquisition period and acquisition frequency, the technical effect of acquiring all electrical signals sent by an automotive electrical device in a one-time manner in the CAN bus is achieved. The electrical signal represents the operating index according to its voltage frequency, and then based on the voltage frequency and the voltage amplitude at each time point, a curve of each operating index of the automotive electrical device is obtained to reflect the index value of the operating index at each time point, thereby achieving the technical effect of acquiring the operating index of the automotive electrical device.
[0064] By determining that the first electrical device is an abnormal device if at least one electrical signal contains T abnormal signals, all automotive electrical devices that have T abnormal signals are set as abnormal devices, thereby achieving the technical effect of timely and accurate identification of whether abnormal conditions occur in automotive electrical devices, thereby ensuring the safety of each automotive electrical device, and avoiding the use of faulty automotive electrical equipment, resulting in poor use of the automotive electrical equipment, or even further amplification of the fault, leading to serious damage to the automotive electrical equipment.
[0065] Embodiment 2: This embodiment is a specific application scenario of the above-mentioned embodiment 1. Through this embodiment, the method provided by the present invention can be explained more clearly and specifically.
[0066] In the following, the method provided in this embodiment is specifically described by taking, in a car running the automobile electrical device detection method, collecting at least one electrical signal of the first electrical device in the CAN bus according to the collection period and the collection frequency, and determining that the first electrical device is an abnormal device if at least one of the electrical signals has T abnormal signals as an example. It should be noted that this embodiment is only exemplary and does not limit the scope of protection of the embodiments of the present invention.
[0067] Figure 2 The following is a schematic diagram showing an environmental application of the automotive electrical equipment detection method according to the second embodiment of the present application.
[0068] In an exemplary embodiment, the vehicle body control system 21 in which the vehicle electrical device detection method is located is connected to at least one vehicle electrical device 23 via a CAN bus 22 .
[0069] Figure 3 It is a specific method flow chart of an automobile electrical equipment detection method provided by an embodiment of the present invention, and the method specifically includes steps S301 to S312.
[0070] See also Figure 3 The present application provides an automotive electrical equipment detection method, which runs in a vehicle body control system and is used to detect at least one automotive electrical equipment in the vehicle; the method comprises:
[0071] S301: Obtain a trigger signal of a first electrical device, and obtain a signal standard range of the first electrical device according to the trigger signal; wherein the first electrical device is one of at least one automotive electrical device; the trigger signal is an operation instruction that triggers the operation of the automotive electrical device; and the signal standard range is a numerical range of operating indicators that characterize the normal operation of the automotive electrical device under the operating conditions corresponding to the trigger signal.
[0072] In this example, the body control system BCM (Body Control Module) is an electronic control system that is responsible for driving, monitoring and controlling the electronic control unit (ECU) related to the vehicle's body functions. The body control system is used to control automotive electrical equipment in the car.
[0073] Equipment categories for automotive electrical equipment include: wiper systems, instrument systems, and auxiliary systems.
[0074] The automotive electrical equipment of the wiper system includes: the drive mechanism; the drive mechanism is the power source of the wiper system, and there are two main options: mechanical motor and electronic motor. When the driver operates the wiper switch, the wiper motor starts, and the motor speed is decelerated and torque increased by the worm gear, and then acts to drive the swing arm.
[0075] The automotive electrical equipment of the instrument system includes: ammeter, charge indicator, voltmeter, oil pressure gauge, thermometer, fuel gauge, speedometer and odometer, engine tachometer, which are used to display various status of the vehicle.
[0076] The automotive electrical equipment of the auxiliary system includes: headlights, fog lights, tail lights, brake lights, shed lights, electric horns, turn signal flashers, horns, and buzzers, which are used to ensure driving safety.
[0077] The trigger signal is a specific operation performed by a user on the vehicle electrical equipment in the vehicle.
[0078] For example, the operating conditions of the drive mechanism include: low-speed first-level scraping and brushing operation (the gears of the drive mechanism are divided into low gear, middle gear and high gear, and each gear has first-level speed, second-level speed, third-level speed and fourth-level speed), middle-speed second-level scraping and brushing operation, and high-speed second-level scraping and brushing operation;
[0079] The operating condition of the instrument system is the instrument start operation, that is, when the user starts the car, the ammeter, charge indicator, voltmeter, oil pressure gauge, thermometer, fuel meter, speed and odometer, and engine tachometer are started at the same time.
[0080] The operating conditions of the auxiliary system include: turning on the high beam of the headlights, turning on the low beam of the headlights, turning on the fog lights, starting the turn signal flashers, etc.
[0081] Based on the above example, the signal standard range includes:
[0082] The numerical range of the operating index that characterizes the normal operation of the driving mechanism when the driving mechanism is scraping at the first speed of low gear;
[0083] The numerical range of the operating index that characterizes the normal operation of the driving mechanism when the driving mechanism is scraping at the middle gear and second speed;
[0084] The numerical range of the operating index that characterizes the normal operation of the driving mechanism when the driving mechanism is scraping at the high-speed secondary level;
[0085] The numerical range of the operating indicators of the ammeter, charge indicator, voltmeter, oil pressure gauge, thermometer, fuel gauge, speedometer and odometer, and engine tachometer that indicate the normal operation of the ammeter, charge indicator, voltmeter, oil pressure gauge, thermometer, fuel gauge, speedometer and odometer, and engine tachometer at startup;
[0086] When the headlights are turned on with high beam, the numerical range of the operating index that indicates the normal operation of the headlights;
[0087] When the headlights are turned on with low beam, the numerical range of the operating index that represents the normal operation of the headlights;
[0088] When the fog lamp is turned on, the numerical range of the operating index representing the normal operation of the fog lamp;
[0089] When the turn signal flasher is started, the numerical range of the operating index that represents the normal operation of the turn signal flasher.
[0090] In a preferred embodiment, obtaining a trigger signal of a first electrical device, and obtaining a signal standard interval of the first electrical device according to the trigger signal includes:
[0091] Acquire the interaction frequency; wherein the interaction frequency is the frequency of the trigger signal output by the interaction device in the CAN bus; the interaction device is a module for sending a trigger signal to at least one automotive electrical device;
[0092] Get the trigger signal from the CAN bus according to the interaction frequency;
[0093] The automotive electrical device that sends the trigger signal is identified according to the signal frequency of the trigger signal, and the identified automotive electrical device is set as the first electrical device; wherein the signal frequency is used to characterize the automotive electrical device operated by the trigger signal.
[0094] In this example, the interactive devices of the car refer to those devices or systems that allow the driver and passengers to interact with and control the vehicle, including: human-computer interaction interface, driver information display system and car networking system; the human-computer interaction interface includes: touch screen, voice control system and gesture recognition system; the touch screen allows the driver and passengers to operate various functions of the vehicle by touching icons, buttons or sliders on the screen, such as navigation, music playback, air conditioning control, etc. The voice control system allows the driver to control various functions of the vehicle through voice commands. The gesture recognition system captures the driver's gestures through cameras or other sensors and converts them into vehicle control commands. The driver information display system includes the instrument panel and the head-up display system; the instrument panel is an important part of the driver information display system and can display various vehicle information such as vehicle speed, fuel level, engine temperature, etc. The head-up display system is a technology that projects important information directly in front of the driver's line of sight, and can display key data such as vehicle speed and navigation information without the driver looking down at the instrument panel. The car networking system refers to the connection between the car and the Internet. Through the car networking system, the driver can obtain information such as weather, traffic, road conditions, etc., and perform operations such as remote vehicle control and online navigation.
[0095] The CAN bus in the car is a serial communication protocol used for network communication, data transmission, fault diagnosis and system expansion; the CAN bus enables high-speed and reliable communication between the various electronic control units (ECUs) of the vehicle. These ECUs include engine controllers, safety system controllers, instrument controllers, etc. They exchange data through the CAN bus to achieve centralized control and management of the car. Sensors and controllers quickly exchange information through the CAN bus to achieve effective coordination of various functions of the vehicle. For example, the engine controller can send engine operating status information to the safety system controller through the CAN bus, and the safety system controller can send warning signals to the instrument controller. The CAN bus allows diagnostic equipment to read real-time data and fault information of each electronic control unit of the vehicle through the OBD-II (on-board diagnostic system) interface to provide support for fault diagnosis and maintenance. The CAN bus supports the connection of multiple electronic control units, which is convenient for upgrading and expanding the vehicle to adapt to the continuous development and changes in automotive technology.
[0096] The interaction frequency is the frequency range of the electrical signals sent by the interactive devices in the CAN bus;
[0097] The signal frequency is a specific frequency value in the interaction frequency, and the interaction frequency has at least one signal frequency; the signal frequency is the frequency value of a trigger signal sent by an interaction device in the CAN bus for controlling a specified automotive electrical device.
[0098] S302: Obtaining a collection period and a collection frequency of the first electrical device; wherein the collection period is the time period in which the automotive electrical device sends electrical signals to the CAN bus; the collection frequency refers to the numerical range of the frequency of the electrical signals sent by the automotive electrical device to the CAN bus; the CAN bus is a communication protocol bus used to transmit electrical signals in the automobile.
[0099] In this example, the collection period and frequency of the first electrical device are obtained to determine the period and frequency of the electrical signal sent by the first electrical device in the CAN bus, thereby achieving the technical effect of targeted collection of the electrical signal sent by the first electrical device.
[0100] It should be noted that the automotive electrical equipment will send electrical signals to the CAN bus through sensors to characterize the operating indicators of the automotive electrical equipment.
[0101] In a preferred embodiment, obtaining the collection period and collection frequency of the first electrical device includes:
[0102] Determine a collection period according to the device category of the first electrical device; wherein the device category refers to the type of automotive electrical devices classified in the vehicle;
[0103] A collection frequency is determined according to the device number of the first electrical device.
[0104] In this example, the equipment category of at least one automotive electrical equipment includes: a wiper system, an instrument system, and an auxiliary system; and the equipment number is a unique identifier of the automotive electrical equipment.
[0105] Exemplarily, the collection period of the wiper system is T1-T2; the collection frequency of the driving mechanism of the wiper system is F11-F12.
[0106] The collection period of the instrument system is T3-T4; the collection frequency of the ammeter of the instrument system is F21-F22, the collection frequency of the charging indicator is F23-F24, the collection frequency of the voltmeter is F25-F26, and so on.
[0107] The collection period of the auxiliary system is T5-T6; the collection frequency of the auxiliary system's headlights is F31-F32, the collection frequency of the fog lights is F33-F34, the collection frequency of the tail lights is F35-F36, and so on.
[0108] S303: Collect at least one electrical signal of the first electrical device in the CAN bus according to the collection period and the collection frequency; wherein the electrical signal is generated by triggering a sensor preset in the automotive electrical device; the electrical signal characterizes the category of the operating index of the automotive electrical device in a preset working collection interval through the frequency of the voltage; the electrical signal constructs a curve of the operating index in the working collection interval through the change of the voltage amplitude; the measured value data of the curve at each time point in the working collection interval corresponds to the voltage amplitude of the electrical signal at each time point in the working collection interval.
[0109] In this example, according to the acquisition period and acquisition frequency, the technical effect of acquiring all electrical signals sent by an automotive electrical device in the CAN bus at one time is achieved.
[0110] The electrical signal represents the operating index according to its voltage frequency, and then based on the voltage frequency and the voltage amplitude at each time point, a curve of each operating index of the automotive electrical equipment is obtained to reflect the index value of the operating index at each time point, thereby achieving the technical effect of obtaining the operating index of the automotive electrical equipment.
[0111] In a preferred embodiment, collecting at least one electrical signal of the first electrical device in the CAN bus according to the collection period and the collection frequency includes:
[0112] Acquire a composite signal from the CAN bus; wherein the composite signal includes at least one electrical signal sent by each automotive electrical device within a detection time period;
[0113] Preprocessing the composite signal to obtain a preprocessed signal;
[0114] Extracting the electrical signal corresponding to the acquisition period in the preprocessed signal to obtain a target period signal; wherein the target period signal is an electrical signal sent by all automotive electrical devices in the device category where the first electrical device belongs;
[0115] Filter and separate the target time period signal according to the acquisition frequency to obtain the time period frequency signal;
[0116] The time period frequency signal is demodulated to obtain at least one electrical signal of the first electrical device.
[0117] In this example, the preprocessing is to perform amplification and equalization preprocessing operations on the composite signal to improve the signal quality and signal-to-noise ratio.
[0118] Each electrical signal in the composite signal has a timestamp. The electrical signals whose timestamps fall within the acquisition period in the preprocessed signal are extracted and summarized to obtain the target period signal.
[0119] The target filter is called to filter and separate the target time period signal to obtain the time period frequency signal; wherein the target filter is a filter whose subchannel frequency range is configured as the acquisition frequency, so as to extract the electrical signal on the corresponding subchannel from the target time period signal to obtain the time period frequency signal.
[0120] The time period frequency signal obtained on the sub-channel of the target filter is demodulated to obtain at least one electrical signal of the first electrical device, thereby obtaining the electrical signal originally output by the first electrical device.
[0121] For example: the first electrical equipment is a driving mechanism of a wiper system, and the categories of operating indicators of the driving mechanism include: operating current, operating voltage, vibration amplitude, transmittance, sound amplitude and sound frequency; accordingly, the frequency values in the acquisition frequency of F11-F12 include: F111, F112, F113, F114, F115 and F116.
[0122] Therefore, in at least one electrical signal of the driving mechanism of the wiper system, the frequency of the voltage of the electrical signal representing the working current is F111, the frequency of the voltage of the electrical signal representing the working voltage is F112, the frequency of the voltage of the electrical signal representing the vibration amplitude is F113, the frequency of the voltage of the electrical signal representing the transmittance is F114, the frequency of the voltage of the electrical signal representing the sound amplitude is F115, and the frequency of the voltage of the electrical signal representing the sound frequency is F116.
[0123] S304: If it is determined that the working current data has more than M working current values that are not in the standard current interval, then the electrical signal corresponding to the working current data is determined to be an abnormal signal; wherein the working current data is a curve of the working current of the automotive electrical equipment within the working acquisition interval, and the working current is a category in the operating indicators; the working current curve reflects the working current value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; M is any natural number greater than or equal to 1; the standard current interval is a numerical interval in the signal standard interval; the standard current interval is a numerical interval of the working current that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0124] In this example, the working current data is the working current curve formed by the current sensor of the automotive electrical equipment, which collects the working current value received by the automotive electrical equipment within the working collection interval (for example, 30 seconds) at each time point (for example, 1 second) when the automotive electrical equipment is working. The working current value is the measured value data of the working current curve.
[0125] By identifying the number of working current values that exceed the upper and lower limits of the standard current range in the working current data, the electrical signal corresponding to the working current data can be judged according to the stability of the working current data. If the number exceeds M times, it means that the working current is very unstable, which further indicates that the working current of the automotive electrical equipment is abnormal, and the electrical signal corresponding to the working current data is set as an abnormal signal.
[0126] It should be noted that the working current has different values and stability under different operating conditions. Therefore, a standard current range is adopted to characterize the numerical range of the working current under the operating conditions corresponding to the trigger signal, so as to judge the working current data under different operating conditions and ensure the accuracy of the abnormal judgment of the working current data.
[0127] S305: If it is determined that the working voltage data has more than N working voltage values that are not in the standard voltage interval, then the electrical signal corresponding to the working voltage data is determined to be an abnormal signal; wherein the working voltage data is a curve of the working voltage of the automotive electrical equipment within the working acquisition interval, and the working voltage is a category in the operating indicators; the working voltage curve reflects the working voltage value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; N is any natural number greater than or equal to 1; the standard voltage interval is a numerical interval in the signal standard interval; the standard voltage interval is a numerical interval of the working voltage that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0128] In this example, the working voltage data is the working voltage curve formed by the voltage sensor of the automotive electrical equipment, which collects the working voltage value received by the automotive electrical equipment within the working collection interval (for example, 30 seconds) at each time point (for example, 1 second) when the automotive electrical equipment is working. The working voltage value is the measured value data of the working current curve.
[0129] By identifying the number of working voltage values that exceed the upper and lower limits of the standard voltage range in the working voltage data, the electrical signal corresponding to the working voltage data can be judged according to the stability of the working voltage data. If the number exceeds N times, it means that the working voltage is very unstable, which further indicates that the working voltage of the automotive electrical equipment is abnormal, and the electrical signal corresponding to the working voltage data is set as an abnormal signal.
[0130] It should be noted that the working voltage has different values and stability under different operating conditions. Therefore, a standard voltage range is adopted to characterize the numerical range of the working voltage under the operating conditions corresponding to the trigger signal, so as to judge the working voltage data under different operating conditions and ensure the accuracy of the abnormal judgment of the working voltage data.
[0131] S306: Generate working power data of the first electrical device according to the working current data and the working voltage data; wherein the working power data is a curve of the working power of the automotive electrical device within the working collection interval, and the working power curve reflects the working power value of the automotive electrical device at each time point within the working collection interval.
[0132] In this example, the working power value at each time point is obtained by multiplying the working current value and the working voltage value at each time point, and the working power values at each time point are summarized to obtain the working power data of the curve representing the working power of the automotive electrical equipment within the working collection interval.
[0133] S307: If it is determined that the working power data has more than P working power values that are not in the standard power range, then the electrical signal corresponding to the working current signal is determined to be an abnormal signal, and the electrical signal corresponding to the working voltage signal is determined to be an abnormal signal; P is any natural number greater than or equal to 1; the standard power range is a numerical range in the signal standard range; the standard power range is a numerical range of the working power that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0134] In this example, when the working current data and the working voltage data are both normal, the working power of the automotive electrical equipment may be abnormal. For example, the working current data and the working voltage data are both high or too low, but do not exceed the standard current range and the standard voltage range. Therefore, the abnormal working power is too high or too low.
[0135] In order to timely and accurately identify the above-mentioned abnormal situations, this example obtains the working power value at each time point and determines whether each working power value exceeds the standard power range. It accurately identifies the working power values that exceed the upper and lower limits of the standard power range, and then reliably determines whether the current working power of the automotive electrical equipment is abnormal.
[0136] S308: If it is determined that the vibration amplitude data has more than Q vibration amplitude values that are not in the standard amplitude interval, then the electrical signal corresponding to the vibration amplitude data is determined to be an abnormal signal; wherein, the vibration amplitude data is a curve of the vibration amplitude of the automotive electrical equipment within the working acquisition interval, the vibration amplitude is a category in the operating indicators, and the vibration amplitude curve reflects the vibration amplitude value of the automotive electrical equipment at each time point within the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Q is any natural number greater than or equal to 1; the standard amplitude interval is a numerical interval in the signal standard interval; the standard amplitude interval is a numerical interval of the vibration amplitude that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0137] In this example, the vibration amplitude data is the vibration sensor of the automotive electrical equipment. When the automotive electrical equipment is working, the vibration amplitude value of the automotive electrical equipment within the working collection interval (for example, 30 seconds) is collected at each time point (for example, 1 second) to form a working voltage curve. The vibration amplitude value is the measured value data of the vibration amplitude curve.
[0138] Some automotive electrical equipment (for example, the driving mechanism of the wiper system) will vibrate during operation. If the automotive electrical equipment has a large vibration amplitude, it means that the automotive electrical equipment is faulty or worn. Therefore, the present application identifies the number of vibration amplitude values that exceed the upper and lower limits of the standard amplitude range in the vibration amplitude data, so as to judge the electrical signal corresponding to the vibration amplitude data according to the stability of the vibration amplitude data. If the number exceeds Q times, it means that the vibration amplitude is very unstable, which further indicates that the vibration amplitude of the automotive electrical equipment is abnormal, and the electrical signal corresponding to the vibration amplitude data is set as an abnormal signal.
[0139] It should be noted that the vibration amplitude is different in value and stability under different operating conditions. Therefore, a standard voltage range that characterizes the numerical range of the vibration amplitude of the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal is adopted to judge the vibration amplitude data under different operating conditions, thereby ensuring the accuracy of the abnormal judgment of the vibration amplitude data.
[0140] S309: If it is determined that the transmittance data has more than X transmittance values that are not in the standard transmittance interval, then the electrical signal corresponding to the transmittance data is determined to be an abnormal signal; wherein the transmittance data is a transmittance curve of the automotive electrical equipment within the working collection interval, transmittance is a category in the operating indicators, and the transmittance curve reflects the transmittance value of the automotive electrical equipment at each time point in the working collection interval through the voltage amplitude of the electrical signal at each time point; Q is any natural number greater than or equal to 1; the standard transmittance interval is a numerical interval in the signal standard interval; the standard transmittance interval is a numerical interval of transmittance that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0141] In this example, the transmittance data is the transmittance value of the windshield collected by the optical sensor in the car when the wiper system is working within the working collection interval (for example, within 30 seconds), and the transmittance data having at least one transmittance value is obtained. The transmittance value is the measured value data of the transmittance curve.
[0142] The wiping effect of some automotive electrical equipment (for example, the driving mechanism of the wiper system) may be poor during operation, which indicates that the wiper rod or wiper blade of the wiper system is faulty. Therefore, the present application identifies the number of transmittance values in the transmittance data that exceed the upper and lower limits of the standard transmittance range, so as to judge the electrical signal corresponding to the transmittance data according to the stability of the transmittance data. If the number exceeds X times, it means that the transmittance is very unstable, which further indicates that the transmittance of the automotive electrical equipment is abnormal, and the electrical signal corresponding to the transmittance data is set as an abnormal signal.
[0143] It should be noted that the transmittance is different in value and stability under different operating conditions. Therefore, a standard voltage range is used to characterize the numerical range of transmittance for normal operation of automotive electrical equipment under the operating conditions corresponding to the trigger signal, so as to judge the transmittance data under different operating conditions and ensure the accuracy of abnormal judgment of transmittance data.
[0144] S310: If it is determined that the sound amplitude data has more than Y sound amplitude values that are not in the standard sound amplitude interval, the electrical signal corresponding to the sound amplitude data is determined to be an abnormal signal. The sound amplitude data is a curve of the sound amplitude of the automotive electrical equipment in the working acquisition interval, the sound amplitude is a category in the operating index, and the sound amplitude curve reflects the sound amplitude value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Y is any natural number greater than or equal to 1; the standard sound amplitude interval is a numerical interval in the signal standard interval; the standard sound amplitude interval is a numerical interval of the sound amplitude that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0145] In this example, the sound amplitude data is the sound sensor of the automotive electrical equipment. When the automotive electrical equipment is working, the sound amplitude value of the automotive electrical equipment within the working collection interval (for example, 30 seconds) is collected at each time point (for example, 1 second) to form a curve of the working voltage. The sound amplitude value is the measured value data of the sound amplitude curve.
[0146] Some automotive electrical equipment (for example, the driving mechanism of the wiper system, the turn signal flasher, the horn, and the buzzer) will make sounds during operation. If the automotive electrical equipment has a large sound amplitude, it means that the automotive electrical equipment has a fault or is worn. Therefore, the present application identifies the number of sound amplitude values that exceed the upper and lower limits of the standard sound amplitude range in the sound amplitude data, so as to judge the electrical signal corresponding to the sound amplitude data according to the stability of the sound amplitude data. If the number exceeds Y times, it means that the sound amplitude is very unstable, which further indicates that the sound amplitude of the automotive electrical equipment is abnormal, and the electrical signal corresponding to the sound amplitude data is set as an abnormal signal.
[0147] It should be noted that the sound amplitude is different in value and stability under different operating conditions. Therefore, a standard voltage range of the numerical range of the sound amplitude that characterizes the normal operation of automotive electrical equipment under the operating conditions corresponding to the trigger signal is used to judge the sound amplitude data under different operating conditions, thereby ensuring the accuracy of abnormal judgment of the sound amplitude data.
[0148] S311: If it is determined that the sound frequency data has more than Z sound frequency values that are not in the standard sound frequency interval, then determine that the electrical signal corresponding to the sound frequency data is an abnormal signal. The sound frequency data is a curve of the sound frequency of the automotive electrical equipment in the working acquisition interval, the sound frequency is a category in the operating index, and the sound frequency curve reflects the sound frequency value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Z is any natural number greater than or equal to 1; the standard sound frequency interval is a numerical interval in the signal standard interval; the standard sound frequency interval is a numerical interval of the sound frequency that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0149] In this example, the sound frequency data is the sound sensor of the automotive electrical equipment. When the automotive electrical equipment is working, the sound frequency value of the automotive electrical equipment in the working collection interval (for example, 30 seconds) is collected at each time point (for example, 1 second) to form a curve of the working voltage. The sound frequency value is the measured value data of the sound frequency curve.
[0150] Some automotive electrical equipment (for example, the drive mechanism of the wiper system, the turn signal flasher, the horn, and the buzzer) will make sounds during operation. If the automotive electrical equipment has a large sound frequency, it means that the automotive electrical equipment has a fault or is worn. Therefore, the present application identifies the number of sound frequency values that exceed the upper and lower limits of the standard sound frequency range in the sound frequency data, so as to judge the electrical signal corresponding to the sound frequency data according to the stability of the sound frequency data. If the number exceeds Z times, it means that the sound frequency is very unstable, which further indicates that the sound frequency of the automotive electrical equipment is abnormal, and the electrical signal corresponding to the sound frequency data is set as an abnormal signal.
[0151] It should be noted that the sound frequency has different values and stability under different operating conditions. Therefore, a standard voltage range of the numerical range of the sound frequency that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal is adopted to judge the sound frequency data under different operating conditions, thereby ensuring the accuracy of the abnormal judgment of the sound frequency data.
[0152] S312: If it is determined that there are T abnormal signals in at least one electrical signal, the first electrical device is determined to be an abnormal device; wherein the abnormal signal refers to an electrical signal whose curve of the operating index is not within the signal standard interval; and T is any natural number greater than or equal to 1.
[0153] In this example, if it is determined that at least one electrical signal contains T abnormal signals, the first electrical device is determined to be an abnormal device. As a result, all automotive electrical devices that have T abnormal signals are set as abnormal devices, thereby achieving the technical effect of timely and accurate identification of whether abnormal conditions occur in automotive electrical devices, thereby ensuring the safety of each automotive electrical device and avoiding the use of faulty automotive electrical equipment, resulting in poor use of the automotive electrical equipment, or even further amplification of the fault, leading to serious damage to the automotive electrical equipment.
[0154] In this embodiment, the value of T can be set according to the car model and car condition.
[0155] Car models include: car brand, car name, car year, and car model, for example: Volkswagen Magotan 2021 330TSI DSG Leading Model.
[0156] The vehicle condition includes: the year the vehicle was used, the mileage of the vehicle, and the number of times the vehicle was repaired;
[0157] For example: 3 years of use, 100,000 kilometers of mileage, and 2 repairs in total.
[0158] A plurality of training samples are obtained, wherein the input data of the training samples are the vehicle model and vehicle condition of the training vehicle, the sample identifier of the training samples is the training output value of the training vehicle, and the training output value indicates that when an abnormal signal of the training output value appears in an automotive electrical device of the training vehicle, the automotive electrical device is determined to be an abnormal device.
[0159] The neural network model is trained with training samples to obtain a mature network model. At this time, the mature network model can determine the T value in a targeted manner according to the car model and condition of each car to ensure that the abnormal equipment in each car electrical equipment can be accurately identified, reducing the false alarm rate of abnormal equipment. Among them, the neural network model is a computational model that simulates the working mode of the human nervous system. It processes information by constructing a large number of artificial neurons (also called nodes or units) and the connections between them (called synapses or weights). These neurons and connections can be organized into different levels and architectures to complete complex tasks such as classification, recognition, prediction, etc.
[0160] Example 3: Please refer to Figure 4 The present application provides an automobile electrical equipment detection device 4, which runs in a vehicle body control system and is used to detect at least one automobile electrical equipment in the vehicle; the automobile electrical equipment detection device 4 includes:
[0161] The trigger standard module 41 obtains a trigger signal of a first electrical device, and obtains a signal standard interval of the first electrical device according to the trigger signal; wherein the first electrical device is one of at least one automotive electrical device; the trigger signal is an operation instruction that triggers the operation of the automotive electrical device; and the signal standard interval is a numerical interval of an operating indicator that characterizes the normal operation of the automotive electrical device under the operating conditions corresponding to the trigger signal.
[0162] The time period frequency module 42 obtains the collection time period and collection frequency of the first electrical device; wherein the collection time period is the time period in which the automotive electrical device sends electrical signals to the CAN bus; the collection frequency refers to the numerical range of the frequency of the electrical signals sent by the automotive electrical device to the CAN bus; the CAN bus is a communication protocol bus used to transmit electrical signals in the automobile.
[0163] The signal acquisition module 43 acquires at least one electrical signal of the first electrical device in the CAN bus according to the acquisition period and the acquisition frequency; wherein the electrical signal is generated by triggering a sensor preset in the automotive electrical device; the electrical signal characterizes the category of the operating index of the automotive electrical device in a preset working acquisition interval through the frequency of the voltage; the electrical signal constructs a curve of the operating index in the working acquisition interval through the change of the voltage amplitude; the measured value data of the curve at each time point in the working acquisition interval corresponds to the voltage amplitude of the electrical signal at each time point in the working acquisition interval.
[0164] The abnormality identification module 412 determines that the first electrical device is an abnormal device if it is determined that there are T abnormal signals in at least one electrical signal; wherein the abnormal signal refers to an electrical signal whose curve of the operating indicator is not in the signal standard interval; and T is any natural number greater than or equal to 1.
[0165] Optionally, the automobile electrical equipment detection device 4 further includes:
[0166] The current identification module 44 determines that the electrical signal corresponding to the working current data is an abnormal signal if it is determined that the working current data has more than M working current values that are not in the standard current interval; wherein the working current data is a curve of the working current of the automotive electrical equipment within the working acquisition interval, and the working current is a category in the operating indicators; the working current curve reflects the working current value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; M is any natural number greater than or equal to 1; the standard current interval is a numerical interval in the signal standard interval; the standard current interval is a numerical interval of the working current that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0167] The voltage identification module 45 determines that the electrical signal corresponding to the working voltage data is an abnormal signal if it is determined that the working voltage data has more than N working voltage values that are not in the standard voltage interval; wherein the working voltage data is a curve of the working voltage of the automotive electrical equipment within the working acquisition interval, and the working voltage is a category in the operating indicators; the working voltage curve reflects the working voltage value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; N is any natural number greater than or equal to 1; the standard voltage interval is a numerical interval in the signal standard interval; the standard voltage interval is a numerical interval of the working voltage that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0168] The power calculation module 46 generates working power data of the first electrical equipment according to the working current data and the working voltage data; wherein the working power data is a curve of the working power of the automotive electrical equipment within the working collection interval, and the working power curve reflects the working power value of the automotive electrical equipment at each time point within the working collection interval.
[0169] The power identification module 47 determines that the electrical signal corresponding to the working current signal is an abnormal signal, and determines that the electrical signal corresponding to the working voltage signal is an abnormal signal if it is determined that the working power data has more than P working power values that are not in the standard power interval; P is any natural number greater than or equal to 1; the standard power interval is a numerical interval in the signal standard interval; the standard power interval is a numerical interval of the working power that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0170] The amplitude recognition module 48 determines that the electrical signal corresponding to the vibration amplitude data is an abnormal signal if it is determined that the vibration amplitude data has more than Q vibration amplitude values that are not in the standard amplitude interval; wherein the vibration amplitude data is a curve of the vibration amplitude of the automotive electrical equipment within the working acquisition interval, the vibration amplitude is a category in the operating index, and the vibration amplitude curve reflects the vibration amplitude value of the automotive electrical equipment at each time point within the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Q is any natural number greater than or equal to 1; the standard amplitude interval is a numerical interval within the signal standard interval; the standard amplitude interval is a numerical interval of the vibration amplitude that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0171] The transmittance recognition module 49 determines that the electrical signal corresponding to the transmittance data is an abnormal signal if it is determined that the transmittance data has more than X transmittance values that are not in the standard transmittance interval; wherein the transmittance data is a transmittance curve of the automotive electrical equipment in the working acquisition interval, transmittance is a category in the operating index, and the transmittance curve reflects the transmittance value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Q is any natural number greater than or equal to 1; the standard transmittance interval is a numerical interval in the signal standard interval; the standard transmittance interval is a numerical interval of the transmittance that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0172] The sound amplitude identification module 410 determines that the electrical signal corresponding to the sound amplitude data is an abnormal signal if it is determined that the sound amplitude data has more than Y sound amplitude values that are not in the standard sound amplitude interval. The sound amplitude data is a curve of the sound amplitude of the automotive electrical equipment in the working acquisition interval. The sound amplitude is a category in the operating index. The sound amplitude curve reflects the sound amplitude value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point. Y is any natural number greater than or equal to 1. The standard sound amplitude interval is a numerical interval in the signal standard interval. The standard sound amplitude interval is a numerical interval of the sound amplitude that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0173] The audio recognition module 411 determines that the electrical signal corresponding to the audio frequency data is an abnormal signal if it is determined that the audio frequency data has more than Z audio frequency values that are not in the standard audio frequency interval. The audio frequency data is a curve of the audio frequency of the automotive electrical equipment in the working acquisition interval. The audio frequency is a category in the operating index. The audio frequency curve reflects the audio frequency value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point. Z is any natural number greater than or equal to 1. The standard audio frequency interval is a numerical interval in the signal standard interval. The standard audio interval is a numerical interval of the audio frequency that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
[0174] Embodiment 4: To achieve the above-mentioned purpose, the present invention further provides a computer device 5. The components of the automobile electrical equipment detection device of Embodiment 3 can be dispersed in different computer devices. The computer device 5 can be a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including independent server, or server cluster composed of multiple application servers) etc. that executes the program. The computer device of this embodiment includes at least but is not limited to: a memory 51 and a processor 52 that can be connected to each other through a system bus, such as Figure 5 It should be pointed out that Figure 5 Only a computer device with components is shown, but it should be understood that implementing all of the components shown is not a requirement and more or fewer components may alternatively be implemented.
[0175] In this embodiment, the memory 51 (i.e., readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 51 may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the memory 51 may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. equipped on the computer device. Of course, the memory 51 may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory 51 is generally used to store an operating system and various application software installed on the computer device, such as the program code of the automotive electrical equipment detection device of the third embodiment. In addition, the memory 51 may also be used to temporarily store various data that have been output or are to be output.
[0176] In some embodiments, the processor 52 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 52 is generally used to control the overall operation of the computer device. In this embodiment, the processor 52 is used to run the program code stored in the memory 51 or process data, such as running the automotive electrical equipment detection device to implement the automotive electrical equipment detection method of the first embodiment and the second embodiment.
[0177] Embodiment 5: To achieve the above purpose, the present invention also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, and the program realizes corresponding functions when executed by the processor 52. The computer-readable storage medium of this embodiment is used to store a computer program for realizing the automotive electrical equipment detection method, and when executed by the processor 52, the automotive electrical equipment detection methods of Embodiments 1 and 2 are realized.
[0178] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0179] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.
[0180] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for detecting automotive electrical equipment, characterized in that: Running in a body control system of an automobile, for detecting at least one automobile electrical device in the vehicle; The method comprises: Acquire a trigger signal of a first electrical device, and acquire a signal standard interval of the first electrical device according to the trigger signal; wherein the first electrical device is one of at least one of the automotive electrical devices; the trigger signal is an operation instruction that triggers the operation of the automotive electrical device; and the signal standard interval is a numerical interval of an operating indicator that characterizes the normal operation of the automotive electrical device under the operating conditions corresponding to the trigger signal; Acquire the collection period and collection frequency of the first electrical device; wherein the collection period is the time period during which the automotive electrical device sends electrical signals to the CAN bus; the collection frequency refers to the numerical interval of the frequency of the electrical signals sent by the automotive electrical device to the CAN bus; the CAN bus is a communication protocol bus used to transmit electrical signals in the vehicle; At least one electrical signal of the first electrical device is collected in the CAN bus according to the collection period and the collection frequency; wherein the electrical signal is generated by triggering a sensor preset in the automotive electrical device; the electrical signal characterizes the category of the operating index of the automotive electrical device in a preset working collection interval through the frequency of the voltage; the electrical signal constructs a curve of the operating index in the working collection interval through the change of the voltage amplitude; the measured value data of the curve at each time point in the working collection interval corresponds to the voltage amplitude of the electrical signal at each time point in the working collection interval; according to the collection period and the collection frequency, the first electrical device is collected in the CAN bus The method comprises: obtaining a composite signal from the CAN bus; wherein the composite signal includes at least one electrical signal sent by each automotive electrical device within a detection time period; preprocessing the composite signal to obtain a preprocessed signal; extracting the electrical signal corresponding to the acquisition time period in the preprocessed signal to obtain a target time period signal; wherein the target time period signal is an electrical signal sent by all automotive electrical devices in the device category where the first electrical device belongs; filtering and separating the target time period signal according to the acquisition frequency to obtain a time period frequency signal; and demodulating the time period frequency signal to obtain at least one electrical signal of the first electrical device; If it is determined that at least one of the electrical signals has T abnormal signals, the first electrical device is determined to be an abnormal device; wherein, the abnormal signal refers to an electrical signal whose operating index curve is not in the signal standard interval; T is any natural number greater than or equal to 1; if it is determined that at least one of the electrical signals has T abnormal signals, before determining that the first electrical device is an abnormal device, the method also includes: if it is determined that the working current data has more than M working current values that are not in the standard current interval, then the electrical signal corresponding to the working current data is determined to be an abnormal signal; wherein, the working current data is a curve of the working current of the automotive electrical equipment within the working acquisition interval, and the working current is a category in the operating indicators; the working current curve reflects the working current value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; M is any natural number greater than or equal to 1; the standard The current interval is a numerical interval in the signal standard interval; the standard current interval is a numerical interval of the working current that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal; if it is determined that the working voltage data has more than N working voltage values that are not in the standard voltage interval, then the electrical signal corresponding to the working voltage data is determined to be an abnormal signal; wherein the working voltage data is a curve of the working voltage of the automotive electrical equipment within the working acquisition interval, and the working voltage is a category in the operating indicators; the working voltage curve reflects the working voltage value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; N is any natural number greater than or equal to 1; the standard voltage interval is a numerical interval in the signal standard interval; the standard voltage interval is a numerical interval of the working voltage that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
2. The automotive electrical equipment detection method according to claim 1, characterized in that: Acquiring a trigger signal of a first electrical device, and acquiring a signal standard interval of the first electrical device according to the trigger signal, comprising: Acquire an interaction frequency; wherein the interaction frequency is the frequency of a trigger signal output by an interaction device in a CAN bus; the interaction device is a module for sending a trigger signal to at least one of the automotive electrical devices; Obtaining a trigger signal from the CAN bus according to the interaction frequency; The automotive electrical device that sends the trigger signal is identified according to the signal frequency of the trigger signal, and the identified automotive electrical device is set as the first electrical device; wherein the signal frequency is used to characterize the automotive electrical device operated by the trigger signal.
3. The automotive electrical equipment detection method according to claim 1, characterized in that: Acquiring the collection period and collection frequency of the first electrical device includes: Determine a collection period according to the device category of the first electrical device; wherein the device category refers to the type of automotive electrical devices classified in an automobile; A collection frequency is determined according to the device number of the first electrical device.
4. The automotive electrical equipment detection method according to claim 1, characterized in that: If it is determined that at least one of the electrical signals has T abnormal signals, before determining that the first electrical device is an abnormal device, the method further includes: Generate working power data of the first electrical device according to the working current data and the working voltage data; wherein the working power data is a curve of the working power of the automotive electrical device within the working acquisition interval, and the working power curve reflects the working power value of the automotive electrical device at each time point within the working acquisition interval; If it is determined that the working power data has more than P working power values that are not in the standard power range, the electrical signal corresponding to the working current signal is determined to be an abnormal signal, and the electrical signal corresponding to the working voltage signal is determined to be an abnormal signal; P is any natural number greater than or equal to 1; the standard power range is a numerical range in the signal standard range; the standard power range is a numerical range of the working power that characterizes the normal operation of automotive electrical equipment under the operating conditions corresponding to the trigger signal.
5. The automotive electrical equipment detection method according to claim 1, characterized in that: If it is determined that at least one of the electrical signals has T abnormal signals, before determining that the first electrical device is an abnormal device, the method further includes: If it is determined that the vibration amplitude data has more than Q vibration amplitude values that are not in the standard amplitude interval, then the electrical signal corresponding to the vibration amplitude data is determined to be an abnormal signal; wherein the vibration amplitude data is a curve of the vibration amplitude of the automotive electrical equipment within the working acquisition interval, the vibration amplitude is a category in the operating index, and the vibration amplitude curve reflects the vibration amplitude value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Q is any natural number greater than or equal to 1; the standard amplitude interval is a numerical interval in the signal standard interval; the standard amplitude interval is a numerical interval of the vibration amplitude that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal; and / or If it is determined that the transmittance data has more than X transmittance values that are not in the standard transmittance interval, then the electrical signal corresponding to the transmittance data is determined to be an abnormal signal; wherein the transmittance data is a transmittance curve of the automotive electrical equipment in the working acquisition interval, the transmittance is a category in the operating index, and the transmittance curve reflects the transmittance value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Q is any natural number greater than or equal to 1; the standard transmittance interval is a numerical interval in the signal standard interval; the standard transmittance interval is a numerical interval of transmittance that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal; and / or If it is determined that the sound amplitude data has more than Y sound amplitude values that are not in the standard sound amplitude interval, then the electrical signal corresponding to the sound amplitude data is determined to be an abnormal signal; wherein the sound amplitude data is a curve of the sound amplitude of the automotive electrical equipment within the working acquisition interval, the sound amplitude is a category in the operating index, and the sound amplitude curve reflects the sound amplitude value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Y is any natural number greater than or equal to 1; the standard sound amplitude interval is a numerical interval in the signal standard interval; the standard sound amplitude interval is a numerical interval of the sound amplitude that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal; and / or If it is determined that the sound frequency data has more than Z sound frequency values that are not in the standard audio frequency interval, then the electrical signal corresponding to the sound frequency data is determined to be an abnormal signal; wherein the sound frequency data is a curve of the sound frequency of the automotive electrical equipment in the working acquisition interval, the sound frequency is a category in the operating index, and the sound frequency curve reflects the sound frequency value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; Z is any natural number greater than or equal to 1; the standard audio frequency interval is a numerical interval in the signal standard interval; the standard audio interval is a numerical interval of the sound frequency that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
6. An automotive electrical equipment detection device, characterized in that: Installed in a body control system of an automobile, for detecting at least one automobile electrical device in the vehicle; The device comprises: A trigger standard module, used to obtain a trigger signal of a first electrical device, and obtain a signal standard interval of the first electrical device according to the trigger signal; wherein the first electrical device is one of at least one of the automotive electrical devices; the trigger signal is an operation instruction that triggers the operation of the automotive electrical device; and the signal standard interval is a numerical interval of an operating indicator that characterizes the normal operation of the automotive electrical device under the operating conditions corresponding to the trigger signal; a time period frequency module, used to obtain the collection time period and collection frequency of the first electrical device; wherein the collection time period is the time period in which the automotive electrical device sends electrical signals to the CAN bus; the collection frequency refers to the numerical interval of the frequency of the electrical signals sent by the automotive electrical device to the CAN bus; the CAN bus is a communication protocol bus used to transmit electrical signals in the vehicle; A signal acquisition module, used to acquire at least one electrical signal of the first electrical device in a CAN bus according to the acquisition period and the acquisition frequency; wherein the electrical signal is generated by triggering a sensor preset in the automotive electrical device; the electrical signal characterizes the category of the operating index of the automotive electrical device in a preset working acquisition interval through the frequency of the voltage; the electrical signal constructs a curve of the operating index in the working acquisition interval through the change of the voltage amplitude; the measured value data of the curve at each time point in the working acquisition interval corresponds to the voltage amplitude of the electrical signal at each time point in the working acquisition interval; and the signal acquisition module is used to acquire at least one electrical signal of the first electrical device in a CAN bus according to the acquisition period and the acquisition frequency. The at least one electrical signal of the first electrical device comprises: obtaining a composite signal from the CAN bus; wherein the composite signal comprises at least one electrical signal sent by each automotive electrical device within a detection time period; preprocessing the composite signal to obtain a preprocessed signal; extracting the electrical signal corresponding to the acquisition time period in the preprocessed signal to obtain a target time period signal; wherein the target time period signal is an electrical signal sent by all automotive electrical devices in the device category to which the first electrical device belongs; filtering and separating the target time period signal according to the acquisition frequency to obtain a time period frequency signal; demodulating the time period frequency signal to obtain at least one electrical signal of the first electrical device; An abnormality identification module is used to determine that the first electrical device is an abnormal device if it is determined that at least one of the electrical signals has T abnormal signals; wherein the abnormal signal refers to an electrical signal whose operating index curve is not in the signal standard interval; T is any natural number greater than or equal to 1; if it is determined that at least one of the electrical signals has T abnormal signals, before determining that the first electrical device is an abnormal device, it also includes: if it is determined that the working current data has more than M working current values that are not in the standard current interval, then determine that the electrical signal corresponding to the working current data is an abnormal signal; wherein the working current data is a curve of the working current of the automotive electrical equipment in the working acquisition interval, and the working current is a category in the operating index; the working current curve reflects the working current value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; M is any natural number greater than or equal to 1; the The standard current interval is a numerical interval in the signal standard interval; the standard current interval is a numerical interval of the working current that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal; if it is determined that the working voltage data has more than N working voltage values that are not in the standard voltage interval, then the electrical signal corresponding to the working voltage data is determined to be an abnormal signal; wherein the working voltage data is a curve of the working voltage of the automotive electrical equipment within the working acquisition interval, and the working voltage is a category in the operating indicators; the working voltage curve reflects the working voltage value of the automotive electrical equipment at each time point in the working acquisition interval through the voltage amplitude of the electrical signal at each time point; N is any natural number greater than or equal to 1; the standard voltage interval is a numerical interval in the signal standard interval; the standard voltage interval is a numerical interval of the working voltage that characterizes the normal operation of the automotive electrical equipment under the operating conditions corresponding to the trigger signal.
7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor of the computer device executes the computer program, the steps of the automotive electrical equipment detection method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program stored in the readable storage medium implements the steps of the automotive electrical equipment detection method according to any one of claims 1 to 5 when executed by a processor.
