Ultrasonic sensor sensitivity diagnosis method and electronic equipment

文档序号:1797674 发布日期:2021-11-05 浏览:33次 中文

阅读说明:本技术 一种超声波传感器灵敏度诊断方法和电子设备 (Ultrasonic sensor sensitivity diagnosis method and electronic equipment ) 是由 黄诚标 周江勇 付杰 何德仁 林志奇 林朝辉 廖顽强 于 2021-08-05 设计创作,主要内容包括:本发明提供一种超声波传感器灵敏度诊断方法和电子设备,方法包括以下步骤:读取汽车行驶状态和速度,若汽车处于前进档位,且速度大于预设车速时,开启传感器;传感器发射与地面具有交点的测量弦线,并等待接收反馈信号;将若干个传感器分成有限个诊断组,以诊断组为单位,判断组内传感器所接收的反馈信号。存在以下两种在汽车正常行驶时进行传感器灵敏度诊断的情况,若存在至少一个传感器没有接收到反馈信号,存在至少一个其他传感器接收到反馈信号,则可判断出灵敏度下降的目标传感器;若在同一诊断组内,存在某一个或几个传感器所统计的反馈信号次数少于组内其他参照传感器的反馈信号次数,通过量化的方式也可判断出灵敏度下降的目标传感器。(The invention provides a method for diagnosing sensitivity of an ultrasonic sensor and an electronic device, wherein the method comprises the following steps: reading the running state and speed of the automobile, and starting a sensor if the automobile is in a forward gear and the speed is higher than a preset speed; the sensor transmits a measuring string with an intersection point with the ground and waits for receiving a feedback signal; the sensors are divided into a limited number of diagnostic groups, and the feedback signals received by the sensors in the group are judged by taking the diagnostic groups as units. The method comprises the following two conditions that the sensitivity of the sensor is diagnosed when the automobile normally runs, if at least one sensor does not receive a feedback signal and at least one other sensor receives the feedback signal, a target sensor with reduced sensitivity can be judged; if the number of times of feedback signals counted by one or more sensors in the same diagnosis group is less than that of the feedback signals of other reference sensors in the group, the target sensor with reduced sensitivity can be judged in a quantitative mode.)

1. A method for diagnosing the sensitivity of an ultrasonic sensor, comprising the steps of:

reading the running state and speed of the automobile, and starting a sensor if the automobile is in a forward gear and the speed is higher than a preset speed;

the sensor transmits a measuring string with an intersection point with the ground and waits for receiving a feedback signal;

dividing a plurality of sensors into a limited number of diagnosis groups, and judging feedback signals received by the sensors in the groups by taking the diagnosis groups as units;

and if at least one sensor in the group does not receive the feedback signal and at least one sensor in the group receives the feedback signal within the set diagnosis time or the set diagnosis route, diagnosing that the sensitivity of the sensor corresponding to the feedback signal is reduced and defining the sensor as the target sensor.

2. A method for diagnosing the sensitivity of an ultrasonic sensor, comprising the steps of:

reading the running state and speed of the automobile, and starting a sensor if the automobile is in a forward gear;

the sensor transmits a measuring string with an intersection point with the ground and waits for receiving a feedback signal;

dividing a plurality of sensors into a limited number of diagnosis groups, and judging feedback signals received by the sensors in the groups by taking the diagnosis groups as units;

determining a selected sensor in a diagnosis group, counting the feedback signals received by the selected sensor in a set diagnosis time or a set diagnosis route, comparing the number of times of receiving the feedback signals by a limited number of reference sensors selected from all the remaining sensors in the same diagnosis group, and diagnosing that the sensitivity of the selected sensor is reduced and defining the selected sensor as a target sensor if the accumulated number of the selected sensors is less than that of the reference sensors.

3. The ultrasonic sensor sensitivity diagnosis method according to claim 1 or 2, wherein the diagnosis groups are grouped by a vehicle head, a vehicle tail, a vehicle side body, or are grouped by all sensors of the whole vehicle.

4. The ultrasonic sensor sensitivity diagnosis method as claimed in claim 3, wherein the sensitivity of the sensor is increased before emitting the measurement string having an intersection with the ground after the driving state and the speed of the vehicle satisfy the sensor turn-on condition.

5. The method of claim 4, wherein before turning on the sensor, it is determined whether the current speed is greater than a preset vehicle speed, wherein the preset vehicle speed is 15 km/h.

6. The ultrasonic sensor sensitivity diagnosis method according to claim 1, wherein the target sensor and a plurality of sensors adjacent thereto are defined as a diagnosis determination group, all sensors in the diagnosis determination group are controlled to re-emit the measuring string, and the diagnosis of the feedback signal is performed again to determine whether the sensitivity of the target sensor is degraded.

7. The ultrasonic sensor sensitivity diagnostic method according to claim 2, wherein the selected sensor and two reference sensors adjacent to the selected sensor on the left and right sides thereof are defined as a diagnostic group, and the number of times of feedback signals of the selected sensor and the remaining two reference sensors are compared.

8. The method for diagnosing the sensitivity of an ultrasonic sensor according to claim 1 or 2, wherein a warning message is issued by a warning unit after the sensor having a decreased sensitivity is diagnosed.

9. The ultrasonic sensor sensitivity diagnosis method according to claim 1 or 2, wherein the sensor sensitivity diagnosis is continuously performed during forward running of the automobile, and the sensitivity of the target sensor is adjusted with reference to the sensitivity sensing curve of the target sensor in combination with the fitted curve of the feedback signal received during forward running and in combination with the sensing curves and fitted curves of the other sensors in the diagnosis group.

10. An electronic device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, the at least one instruction, at least one program, set of codes, or set of instructions being loaded and executed by the processor to implement the ultrasonic sensor sensitivity diagnostic method according to any one of claims 1 to 9.

Technical Field

The invention belongs to the technical field of automobile safe driving, and particularly relates to a method for diagnosing the sensitivity of an ultrasonic sensor and electronic equipment.

Background

Currently, most automobiles are equipped with safety radars, which include ultrasonic sensors and play a very important safety role in the normal driving of the automobile by the driver, including normal forward or reverse. Generally, an ultrasonic sensor is mounted on a bumper of an automobile and is easily impacted by flying stones carried in the movement of the automobile, so that the function or performance of the sensor is damaged, wherein if the sensor is damaged by collision and loses the function, the automobile can be directly diagnosed and reported, but if the sensor only has reduced performance, the automobile is difficult to detect that the sensitivity of the sensor is reduced, so that a driver may have a potential safety hazard when driving the automobile with the assistance of the sensor with reduced sensitivity.

Disclosure of Invention

The invention aims to overcome the defects in the prior art, provides a method for diagnosing the sensitivity of an ultrasonic sensor and electronic equipment, solves the problem that the ultrasonic sensor with reduced sensitivity cannot be diagnosed in the prior art, and overcomes the defect that an automobile can drive with the sensor with reduced sensitivity.

In order to achieve the above object, a first aspect of the present invention provides an ultrasonic sensor sensitivity diagnosis method including the steps of:

reading the running state and speed of the automobile, and starting a sensor if the automobile is in a forward gear and the speed is higher than a preset speed;

the sensor transmits a measuring string with an intersection point with the ground and waits for receiving a feedback signal;

dividing a plurality of sensors into a limited number of diagnosis groups, and judging feedback signals received by the sensors in the groups by taking the diagnosis groups as units;

and if at least one sensor in the group does not receive the feedback signal and at least one sensor in the group receives the feedback signal within the set diagnosis time or the set diagnosis route, diagnosing that the sensitivity of the sensor corresponding to the feedback signal is reduced and defining the sensor as the target sensor.

In a second aspect, the present invention also provides a method for diagnosing the sensitivity of an ultrasonic sensor, comprising the steps of:

reading the running state and speed of the automobile, and starting a sensor if the automobile is in a forward gear;

the sensor transmits a measuring string with an intersection point with the ground and waits for receiving a feedback signal;

dividing a plurality of sensors into a limited number of diagnosis groups, and judging feedback signals received by the sensors in the groups by taking the diagnosis groups as units;

determining a selected sensor in a diagnosis group, counting the feedback signals received by the selected sensor in a set diagnosis time or a set diagnosis route, comparing the number of times of receiving the feedback signals by a limited number of reference sensors selected from all the remaining sensors in the same diagnosis group, and diagnosing that the sensitivity of the selected sensor is reduced and defining the selected sensor as a target sensor if the accumulated number of the selected sensors is less than that of the reference sensors.

In some embodiments, the diagnostic groups are grouped by head, tail, side, or all sensors of the entire vehicle.

In some embodiments, after the vehicle driving state and speed meet the sensor turn-on condition, the sensitivity of the sensor is increased before emitting a measurement string having an intersection with the ground.

In some embodiments, before turning on the sensor, it is determined whether the current speed is greater than a preset vehicle speed, wherein the preset vehicle speed is 15 km/h.

In some embodiments, the target sensor and the adjacent sensors are defined as a diagnosis-confirmed group, all the sensors in the diagnosis-confirmed group are controlled to emit the measuring strings again, and the diagnosis of the feedback signals is performed again to determine whether the sensitivity of the target sensor is reduced.

In some embodiments, the selected sensor and two reference sensors adjacent to the selected sensor on the left and right sides thereof are defined as a diagnostic group, and the number of times of feedback signals of the selected sensor and the remaining two reference sensors are compared.

In some embodiments, after the sensor with reduced sensitivity is diagnosed, a prompt message is sent through the warning unit.

In some embodiments, the sensor sensitivity diagnostics are performed continuously during forward travel of the vehicle, and the sensitivity of the target sensor is adjusted with reference to the sensitivity sensing curve of the target sensor in combination with a fitted curve of the feedback signal it receives during forward travel, in combination with the sensing curves and fitted curves of the other sensors in the diagnostic set.

In a third aspect, the present invention provides an electronic device comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set, or instruction set, and the at least one instruction, at least one program, code set, or instruction set is loaded and executed by the processor to implement the ultrasound sensor sensitivity diagnosis method as described above.

The invention has the beneficial effects that:

therefore, according to the embodiment of the disclosure, when the automobile runs forwards and reaches a certain speed, the sensors are controlled to perform self-checking, and the feedback signal receiving conditions of other sensors in the diagnosis group are analyzed and judged, so that if at least one sensor does not receive the feedback signal and at least one other sensor receives the feedback signal, a target sensor with reduced sensitivity can be judged.

If the frequency of the feedback signals counted by one or more sensors is less than that of the feedback signals of other reference sensors in the same diagnosis group, the target sensor with the reduced sensitivity can be judged in a quantification mode.

Drawings

The invention is further illustrated by means of the attached drawings, but the embodiments in the drawings do not constitute any limitation to the invention, and for a person skilled in the art, other drawings can be obtained on the basis of the following drawings without inventive effort.

Fig. 1 is a schematic flowchart of a method for diagnosing sensitivity of an ultrasonic sensor according to embodiment 1.

Fig. 2 is a schematic flow chart of a method for diagnosing the sensitivity of an ultrasonic sensor according to embodiment 2.

Detailed Description

The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.

The applicant researches and discovers that:

the ultrasonic sensor is generally installed on a guard bar of an automobile and is easily impacted by flying stones carried in the movement of the automobile, so that the function or the performance of the sensor is damaged, wherein if the sensor is damaged and loses the function, the automobile can be directly diagnosed and reported, but if the performance of the sensor is only reduced, the automobile is difficult to detect the reduction of the sensitivity of the sensor, so that a driver can possibly generate a safety hazard when driving the automobile under the assistance of the sensor with the reduced sensitivity.

According to the characteristics of the ultrasonic sensor, the ultrasonic wave propagation speed is slow, a certain time is spent after the ultrasonic wave reaches an obstacle and is reflected back, and a certain reaction time is required for people, so that the sensor is generally started only at a low speed, and in order to prevent the sensor from generating false alarm by irradiating the ground, the sensitivity of the sensor is generally not set to be very high, namely, if the sensitivity of the sensor is adjusted to be high, the ground can be detected.

Example 1:

referring to fig. 1, in the present embodiment 1, there is provided an ultrasonic sensor sensitivity diagnosis method including the steps of:

reading the running state and speed of the automobile, and starting a sensor if the automobile is in a forward gear and the speed is higher than a preset speed;

the sensor transmits a measuring string with an intersection point with the ground and waits for receiving a feedback signal;

dividing a plurality of sensors into a limited number of diagnosis groups, and judging feedback signals received by the sensors in the groups by taking the diagnosis groups as units;

and if at least one sensor in the group does not receive the feedback signal and at least one sensor in the group receives the feedback signal within the set diagnosis time or the set diagnosis route, diagnosing that the sensitivity of the sensor corresponding to the feedback signal is reduced and defining the sensor as the target sensor.

That is, if all sensors can receive feedback signals in the same diagnosis group, all sensors are proved to be normal, and the sensitivity is not reduced; if one or more sensors receive the feedback signal and one or more sensors do not receive the feedback signal, the difference is generated, and the sensitivity of some sensors is proved to be reduced, and the diagnosis idea of qualitative analysis is adopted.

Example 2:

referring to fig. 2, in the present embodiment 2, there is provided an ultrasonic sensor sensitivity diagnosis method including the steps of:

reading the running state and speed of the automobile, and starting a sensor if the automobile is in a forward gear;

the sensor transmits a measuring string with an intersection point with the ground and waits for receiving a feedback signal;

dividing a plurality of sensors into a limited number of diagnosis groups, and judging feedback signals received by the sensors in the groups by taking the diagnosis groups as units;

determining a selected sensor in a diagnosis group, counting the feedback signals received by the selected sensor in a set diagnosis time or a set diagnosis route, comparing the number of times of receiving the feedback signals by a limited number of reference sensors selected from all the remaining sensors in the same diagnosis group, and diagnosing that the sensitivity of the selected sensor is reduced and defining the selected sensor as a target sensor if the accumulated number of the selected sensors is less than that of the reference sensors.

The method comprises the steps that a plurality of sensors in a diagnosis group respectively accumulate and calculate the number of times of feedback signals received by the sensors in set diagnosis time or diagnosis distance, the feedback signals are compared through the number of times, if the number of times of each sensor is consistent and is larger than zero, the condition that each sensor is normal is proved, and the sensitivity is not reduced; if the feedback signals are inconsistent, a sensor with less times can be judged to have problems, and it is reminded that the number of the sensors is less than that, can be slightly less than that, or can be greatly less than that, i.e., to filter out cases that differ only by one or two statistical times, a substantially smaller concept may be employed, namely, the accumulated number of the selected sensors and the number of the reference sensors are calculated in proportion, the accumulated number of the selected sensors is defined as X, the number of the reference sensors is defined as Y, if the number of the reference sensors is more than one, then the average value Y of the number of the sensors is taken, if aX is less than Y, the sensitivity of the selected sensor is proved to be reduced, the parameter a is controlled to adapt to the concept that the number of the sensors is greatly less, that is, if Y is 50, a may be selected to be 16, if X is 1, 2 or 3, the sensitivity of the selected sensor is determined to be decreased, otherwise the sensitivity of the selected sensor is still normal. Of course, the parameter a can be selected to be combined with the road condition, if the road condition is stable and belongs to the urban road condition, the parameter a can be selected to be a smaller value, such as 1.2 or 1.5, and if the road condition is bad and belongs to the outdoor road condition, the parameter a can be selected to be a larger value, such as 15 or 16. The diagnosis idea of quantitative analysis is mainly adopted.

It should be noted that, in the above two embodiments, more specifically, when the method of embodiment 1 is performed, the diagnosis is generally performed at a speed exceeding a certain speed, because the accuracy can be ensured when a preset vehicle speed is exceeded due to the difference of the feedback signals between the detection sensors; in the case of the embodiment 2, the diagnosis can be performed at a lower speed because the number of times of comparing the feedback signals between the sensors needs to be counted, the vehicle does not frequently encounter obstacles during normal high-speed running, and when the number of times of the feedback signals is overall small, the comparison is inaccurate, but of course, the detection of the embodiment 2 can be started at a high speed; generally speaking, when an automobile normally runs and reaches a certain speed, a sensor is controlled to perform self-checking, the sensor transmits a measuring string to the ground, so that echo is reflected and received by the sensor, but due to the fact that road conditions are complex, the sensor possibly receives a feedback signal after transmitting the measuring string, and also possibly cannot receive the feedback signal when encountering a pit, so that the sensor enters a waiting time for receiving after transmitting the measuring string, statistics needs to be carried out within a set diagnosis time and a diagnosis route, unreal data is avoided, and the diagnosis time and the route can be short for the stable road conditions of a city, for example, the diagnosis time is 1 minute, and the diagnosis route is 1 km; if the road condition is outdoor bad, the diagnosis time and the distance can be lengthened adaptively, for example, the diagnosis time is 5 minutes, and the diagnosis distance is 3 km.

As an embodiment, since a vehicle may be equipped with a plurality of sensors respectively mounted on the front, rear or side of the vehicle, when performing diagnostic grouping, a plurality of sensors also located on the front of the vehicle may be grouped into one group, and a plurality of sensors also located on the left side of the vehicle may be grouped into one group, which is particularly suitable for quantitative analysis; certainly, when qualitative analysis is carried out, all sensors of the whole vehicle can be set as a group, so that the sensors with faults can be conveniently and directly positioned.

In the above two embodiments, in order to improve the diagnosis accuracy, when the driving state and the speed of the vehicle are detected to meet the sensor starting condition, the sensitivity of the sensor is firstly improved, a measuring string having an intersection point with the ground is then emitted, and the preset vehicle speed is 15km/h, so that the sensor emitting the measuring string can smoothly receive the feedback signal under the condition of high vehicle speed.

In embodiment 1, after the target sensor is diagnosed, the target sensor and a plurality of sensors adjacent to the target sensor are defined as a diagnosis confirming group, all sensors in the diagnosis confirming group are controlled to emit measuring strings again, the diagnosis of the feedback signals is carried out again to determine whether the sensitivity of the target sensor is reduced, and the diagnosis accuracy is further improved by means of multiple diagnoses and different diagnosis analysis groups of components.

In embodiment 2, when determining the diagnostic group, the steps of determining the diagnostic group may be interchanged with one of the selected sensors, that is, the selected sensor may be added to the previous diagnostic group, or the diagnostic group may be determined after the first sensor is selected, and if the latter is determined, the selected sensor and the two reference sensors adjacent to the left and right of the selected sensor are defined as the diagnostic group, that is, the selected sensor is used as the center, the two reference sensors on the left and right sides of the selected sensor are respectively formed into the diagnostic group, and the number of feedback signals of the selected sensor and the two other reference sensors is compared, and of course, if the selected sensor is located on the front side or the rear side of the vehicle, the selected sensor is one of the edges thereof, or the other limited number of reference sensors located on the same side in the group may be selected.

In the above two embodiments, after the sensor with reduced sensitivity is diagnosed, the warning unit sends out the prompt message, so that the pattern can be displayed in the central control screen, and the sound can also be sent out to remind the driver of the specific sensor with reduced performance and attention to maintenance and replacement.

In the above two embodiments, the sensor sensitivity diagnosis is continuously performed during the forward driving of the vehicle, and the continuity here may be throughout the whole driving process, including but not limited to performing the diagnosis all the time, or may be performing the diagnosis once every time or every distance with time or distance as the diagnosis interval, and referring to the sensitivity sensing curve of the target sensor, and adjusting the sensitivity of the target sensor by combining the fitting curve of the feedback signal received by the target sensor during the forward driving, and combining the sensing curves and the fitting curves of the other sensors in the diagnosis group.

It should be noted that, after the target sensor is diagnosed, in order to make the target sensor capable of adaptively and temporarily satisfying the driving of the driver, and avoiding the occurrence of safety accidents, the original sensitivity sensing curve of the target sensor may be compared with the fitting curve of the feedback signal, and this comparison relationship belongs to an abnormal condition, and the sensing curve and the fitting curve of other sensors in the diagnostic group may be combined, and the fitting curve under the abnormal condition is gentler than the fitting curve under the normal condition, i.e. the feedback sensitivity is not high, and the sensitivity of the target sensor may be increased by combining the actual range of the sensing curve, so as to improve the restoring capability of the target sensor to the fitting curve, and maintain good driving performance in a short time.

In another aspect, the present invention provides an electronic device comprising a processor and a memory, wherein the memory has stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the method of ultrasound sensor sensitivity diagnosis as described above.

The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.

In a typical configuration, a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.

Compared with the prior art, the ultrasonic sensor sensitivity diagnosis method and the electronic equipment provided by the invention have the advantages that when the automobile runs forwards and reaches a certain speed, the sensors are controlled to carry out self-checking, the feedback signal receiving conditions of other sensors in the diagnosis group are analyzed and judged, and if at least one sensor does not receive the feedback signal and at least one other sensor receives the feedback signal, a target sensor with reduced sensitivity can be judged.

If the frequency of the feedback signals counted by one or more sensors is less than that of the feedback signals of other reference sensors in the same diagnosis group, the target sensor with the reduced sensitivity can be judged in a quantification mode.

Finally, it should be emphasized that the present invention is not limited to the above-described embodiments, but only the preferred embodiments of the invention have been described above, and the present invention is not limited to the above-described embodiments, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种拖曳线列阵消扭装置和方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!