CN113942449A - Semi-adaptive electronic horn control method, device, equipment and storage medium - Google Patents

Semi-adaptive electronic horn control method, device, equipment and storage medium Download PDF

Info

Publication number
CN113942449A
CN113942449A CN202111237109.3A CN202111237109A CN113942449A CN 113942449 A CN113942449 A CN 113942449A CN 202111237109 A CN202111237109 A CN 202111237109A CN 113942449 A CN113942449 A CN 113942449A
Authority
CN
China
Prior art keywords
preset
road type
working condition
semi
electronic horn
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111237109.3A
Other languages
Chinese (zh)
Inventor
韦宏徽
高锋
周君武
梁国全
彭炳顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongfeng Liuzhou Motor Co Ltd
Original Assignee
Dongfeng Liuzhou Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongfeng Liuzhou Motor Co Ltd filed Critical Dongfeng Liuzhou Motor Co Ltd
Priority to CN202111237109.3A priority Critical patent/CN113942449A/en
Publication of CN113942449A publication Critical patent/CN113942449A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q5/00Arrangement or adaptation of acoustic signal devices

Abstract

The invention relates to the technical field of electronic horns, and discloses a method, a device, equipment and a storage medium for semi-adaptive control of an electronic horn, wherein the method comprises the following steps: when entering a semi-adaptive control state, acquiring pressure information and environmental information of the electronic horn under the current working condition according to the semi-adaptive control state; judging whether the road type under the current working condition is an urban traffic road type or not according to the environmental information; if the road type of the current working condition is the urban traffic road type, controlling the electronic horn to enter a soft mode; judging whether the pressure information is smaller than a preset pressure threshold value or not according to the soft mode; and if the pressure information is smaller than the preset pressure threshold, adjusting the current output volume according to the pressure information. The accessible whistling mode is determined through the obtained current environment information and the pressure information, so that the driving safety is improved.

Description

Semi-adaptive electronic horn control method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of electronic horns, in particular to a method, a device, equipment and a storage medium for semi-adaptive control of an electronic horn.
Background
The vehicle can be exposed to various complex working conditions during the running process. Under the working conditions of urban roads, dense personnel areas and the like, the automobile whistling is difficult to control the volume, so that the environmental pollution is easily caused, and the inconvenience is caused to other traffic participants; under some emergency condition, the driver probably still need whistle in order to warn other traffic participants when controlling the car in the face of emergency, to the driver, not only the operation degree of difficulty is high, has also brought very big traffic hidden danger simultaneously, and the electronic horn mode on the market is single at present, can't satisfy the demand of dealing with different driving condition, leads to there being great potential safety hazard.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for semi-adaptive control of an electronic horn, and aims to solve the technical problem of how to improve driving safety in the prior art.
In order to achieve the above object, the present invention provides a method for semi-adaptively controlling an electronic horn, comprising the steps of:
when entering a semi-adaptive control state, acquiring pressure information and environmental information of the electronic horn under the current working condition according to the semi-adaptive control state;
judging whether the road type under the current working condition is an urban traffic road type or not according to the environmental information;
if the road type of the current working condition is the urban traffic road type, controlling the electronic horn to enter a soft mode;
judging whether the pressure information is smaller than a preset pressure threshold value or not according to the soft mode;
and if the pressure information is smaller than the preset pressure threshold, adjusting the current output volume according to the pressure information.
Optionally, after determining whether the pressure information is smaller than a preset pressure threshold according to the soft mode, the method further includes:
and if the pressure information is greater than or equal to the preset pressure threshold, determining the current output volume according to the first volume.
Optionally, after determining whether the road type under the current working condition is the urban traffic road type according to the environment information, the method further includes:
if the road type under the current working condition is not the urban traffic road type, judging whether the traffic participation number under the current working condition is larger than a preset traffic participation threshold value or not according to the environment information;
and if the traffic participation number under the current working condition is larger than a preset traffic participation threshold value, executing the step of entering a soft mode.
Optionally, if the road type under the current working condition is not the urban traffic road type, determining, according to the environmental information, that the number of traffic participation under the current working condition is greater than a preset traffic participation threshold value includes:
if the road type under the current working condition is not the urban traffic road type, judging whether the motor vehicle traffic participation number under the current working condition is greater than a preset motor vehicle traffic participation threshold value or not according to the environment information, and judging whether the non-motor vehicle traffic participation number under the current working condition is greater than a preset non-motor vehicle traffic participation threshold value or not;
further, if the number of traffic participation under the current working condition is greater than a preset traffic participation threshold, the step of entering the soft mode is executed, and includes:
and if the motor vehicle traffic participation number under the current working condition is larger than a preset motor vehicle traffic participation threshold value and the non-motor vehicle traffic participation number under the current working condition is larger than a preset non-motor vehicle traffic participation threshold value, executing the step of entering the soft mode.
Optionally, if the road type under the current working condition is not an urban traffic road type, after determining, according to the environmental information, that the number of traffic participation under the current working condition is greater than a preset traffic participation threshold, the method further includes:
if the traffic participation number under the current working condition is less than or equal to a preset traffic participation threshold value, controlling the electronic horn to enter a high-activity mode;
judging whether the pressure information is smaller than a preset pressure threshold value according to the hypertonic mode;
and if the pressure information is smaller than the preset pressure threshold, determining the current output volume by adopting a preset strategy according to the pressure information.
Optionally, after determining whether the pressure information is smaller than a preset pressure threshold according to the high-altitude mode, the method further includes:
and if the pressure information is greater than or equal to the preset pressure threshold, determining the current output volume according to a second volume.
Optionally, if the pressure information is greater than or equal to a preset pressure threshold, determining a current output volume according to a second volume, and then further including:
judging whether the frequency of the pressure information which is continuously greater than or equal to a preset pressure threshold value reaches a preset frequency or not;
and if the frequency of the pressure information which is continuously greater than or equal to the preset pressure threshold reaches the preset frequency, determining the current output volume according to the second volume, and controlling the current output volume to sound for a long time.
In addition, in order to achieve the above object, the present invention further provides a semi-adaptive control electronic horn device, including:
the acquisition module is used for acquiring pressure information and environmental information of the electronic horn under the current working condition according to the semi-adaptive control state when entering the semi-adaptive control state;
the judging module is used for judging whether the road type under the current working condition is the urban traffic road type or not according to the environment information;
the mode confirmation module is used for controlling the electronic horn to enter a soft mode if the road type of the current working condition is an urban traffic road type;
the judging module is further used for judging whether the pressure information is smaller than a preset pressure threshold value according to the soft mode;
and the volume determining module is used for determining the current output volume according to the pressure information if the pressure information is smaller than the preset pressure threshold.
In addition, to achieve the above object, the present invention also provides a semi-adaptive control electronic horn device, including: a memory, a processor and a semi-adaptive control electronic horn program stored on the memory and executable on the processor, the semi-adaptive control electronic horn program being configured to implement the steps of the semi-adaptive control electronic horn method as described above.
In addition, to achieve the above object, the present invention further provides a storage medium having a semi-adaptive control electronic horn program stored thereon, wherein the semi-adaptive control electronic horn program, when executed by a processor, implements the steps of the semi-adaptive control electronic horn method as described above.
When the electronic horn enters a semi-adaptive control state, pressure information and environment information of the electronic horn under the current working condition are acquired according to the semi-adaptive control state; judging whether the road type under the current working condition is an urban traffic road type or not according to the environmental information; if the road type of the current working condition is the urban traffic road type, controlling the electronic horn to enter a soft mode; judging whether the pressure information is smaller than a preset pressure threshold value or not according to the soft mode; and if the pressure information is smaller than the preset pressure threshold, adjusting the current output volume according to the pressure information. The accessible whistling mode is determined through the obtained current environment information and the pressure information, so that the driving safety is improved.
Drawings
Fig. 1 is a schematic structural diagram of a semi-adaptive control electronic horn device for a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a method for semi-adaptively controlling an electronic horn according to the present invention;
FIG. 3 is a hardware structure diagram of an electronic horn according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a second embodiment of a method for semi-adaptively controlling an electronic horn according to the present invention;
FIG. 5 is a schematic flow chart illustrating a third embodiment of a method for semi-adaptively controlling an electronic horn according to the present invention;
FIG. 6 is a flowchart illustrating a process of an embodiment of a method for semi-adaptively controlling an electronic horn according to the present invention;
fig. 7 is a block diagram of a semi-adaptive electronic horn device according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a semi-adaptive control electronic horn device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the semi-adaptive control electronic horn device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
It will be appreciated by those skilled in the art that the configuration shown in fig. 1 does not constitute a limitation of the semi-adaptive control electronic horn device and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include an operating system, a network communication module, a user interface module, and a semi-adaptive control electronic horn program.
In the semi-adaptive control electronic horn device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the semi-adaptive control electronic horn device of the present invention may be provided in the semi-adaptive control electronic horn device, and the semi-adaptive control electronic horn device calls the semi-adaptive control electronic horn program stored in the memory 1005 through the processor 1001 and executes the semi-adaptive control electronic horn method provided by the embodiment of the present invention.
An embodiment of the present invention provides a method for semi-adaptively controlling an electronic horn, and referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of the method for semi-adaptively controlling an electronic horn according to the present invention.
In this embodiment, the method for semi-adaptively controlling the electronic horn includes the following steps:
step S10: and when entering a semi-adaptive control state, acquiring the pressure information and the environmental information of the electronic horn under the current working condition according to the semi-adaptive control state.
It should be noted that, the execution subject of this embodiment may be a semi-adaptive control electronic horn device, and may also be other devices that can achieve the same or similar functions.
It can be understood that the semi-adaptive control state may be a state that does not completely depend on the sensor to perform mode setting, and at the same time, a driver needs to input a pressure signal, so when entering the semi-adaptive control state, pressure information and environmental information of the electronic horn under the current working condition may be acquired based on the semi-adaptive control state, and the current working condition may be various complex working conditions that the vehicle faces during the driving process, for example, working conditions on urban roads, dense people areas, and the like, which is not limited in this embodiment.
It should be understood that the environmental information may be environmental information obtained by other sensors already mounted on the automobile, including but not limited to road type information, information of traffic participants around the automobile, and the like, and the present embodiment is not limited thereto, and the pressure information may be information that identifies an input pressure value by a pressure sensor, so as to output a corresponding signal, including a pressure value and a pressure signal, where the pressure value is a pressure value that a driver presses a horn button made by the pressure sensor, and the pressure sensor reads the input pressure value.
It should be noted that fig. 3 shows a hardware structure of the electronic horn, which includes a pressure sensor, other sensors, an MCU module, a driving module, a horn coil, and a sound generating component, where the input signal required by the MCU module is two parts, one is a pressure signal output by the pressure sensor, and the other is environmental information output by the other sensors, and the MCU module stores an electronic horn control program, and executes the program according to the input electrical signal to control the electronic horn to enter a corresponding mode.
Step S20: and judging whether the road type under the current working condition is the urban traffic road type or not according to the environment information.
It can be understood that the road type under the current working condition can be determined to be the urban traffic road type or other traffic road types based on the environmental information acquired by other sensors, so as to judge whether the road type under the current working condition is the urban traffic road type.
Step S30: and if the road type of the current working condition is the urban traffic road type, controlling the electronic horn to enter a soft mode.
It should be understood that the electronic horn in the semi-adaptive control state has two basic modes, namely a soft mode and a high-speed mode, so that the electronic horn is controlled to enter the soft mode when the road type of the current working condition is the urban traffic road type.
Step S40: and judging whether the pressure information is smaller than a preset pressure threshold value or not according to the soft mode.
It should be noted that, when the electronic horn enters the soft mode, it is determined whether a pressure value corresponding to the pressure information is smaller than a preset pressure threshold, where the preset pressure threshold may be 250N, and this embodiment limits this step.
Further, after the step S40, the method further includes:
and if the pressure information is greater than or equal to the preset pressure threshold, determining the current output volume according to the first volume.
It can be understood that the first volume may be a peak value of the horn volume in the soft mode, and in a specific implementation process, the peak value of the horn volume in the soft mode may be 60dB, which is not limited in this embodiment, and therefore, if the pressure value corresponding to the pressure information is greater than or equal to 250N, it is determined that the current output volume may be 60 dB.
Step S50: and if the pressure information is smaller than the preset pressure threshold, adjusting the current output volume according to the pressure information.
It can be understood that if the pressure value corresponding to the pressure information is less than 250N, the current output volume is adjusted according to the pressure information.
It should be understood that the calculation formula for adjusting the current output volume according to the pressure information is:
Figure BDA0003315957260000071
where V denotes the current output volume and F denotes the pressure value.
In the embodiment, when the electronic horn enters a semi-adaptive control state, pressure information and environmental information of the electronic horn under the current working condition are acquired according to the semi-adaptive control state; judging whether the road type under the current working condition is an urban traffic road type or not according to the environmental information; if the road type of the current working condition is the urban traffic road type, controlling the electronic horn to enter a soft mode; judging whether the pressure information is smaller than a preset pressure threshold value or not according to the soft mode; and if the pressure information is smaller than the preset pressure threshold, adjusting the current output volume according to the pressure information. The accessible whistling mode is determined through the obtained current environment information and the pressure information, so that the driving safety is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for semi-adaptively controlling an electronic horn according to a second embodiment of the present invention.
Based on the first embodiment, after step S20, the method for semi-adaptively controlling an electronic horn according to this embodiment further includes:
step S201, if the road type under the current working condition is not the urban traffic road type, judging whether the traffic participation number under the current working condition is larger than a preset traffic participation threshold value according to the environment information.
It can be understood that the traffic participation number is the number of traffic participants around the vehicle under the current working condition determined by the environment information, and includes the motor vehicle traffic participation number and the non-motor vehicle traffic participation number, the preset traffic participation threshold includes a preset motor vehicle traffic participation threshold and a preset non-motor vehicle traffic participation threshold, and if the road type under the current working condition is not the urban traffic road type, it can be further determined whether the traffic participation number is greater than the preset traffic participation threshold.
Further, the step S201 includes:
and if the road type under the current working condition is not the urban traffic road type, judging whether the motor vehicle traffic participation number under the current working condition is greater than a preset motor vehicle traffic participation threshold value or not according to the environment information, and judging whether the non-motor vehicle traffic participation number under the current working condition is greater than the preset non-motor vehicle traffic participation threshold value or not.
It should be understood that the number of motor vehicle traffic participation may be the number of motor vehicles within 30m around the vehicle body as the center, and the number of non-motor vehicle traffic participation may be the number of non-motor vehicles and other traffic participants within 15m around the vehicle body as the center, which is limited in this embodiment, the preset motor vehicle traffic participation threshold is determined by a threshold setting algorithm with the motor vehicle as the target, and the preset non-motor vehicle traffic participation threshold is determined by a threshold setting algorithm with the non-motor vehicle as the target, so that, in the case that the road type is not the urban traffic road type, it is determined whether the number of motor vehicle traffic participation is greater than the preset motor vehicle traffic participation threshold, and it is determined whether the number of non-motor vehicle traffic participation is greater than the preset non-motor vehicle traffic participation threshold.
It should be noted that the final threshold provided by the threshold setting algorithm is composed of two threshold portions, including a basic threshold and a specific threshold, the basic threshold is a basic value generated according to actual traffic conditions of each city motor vehicle or non-motor vehicle in our country, the value is unified in a certain area range, the specific threshold is set for a specific environment, the specific threshold is generated for the motor vehicle or non-motor vehicle according to a trip generation rate generated by land utilization in different areas and current traffic conditions of the area, and the final threshold is calculated according to a certain weight ratio by combining the current driving speed, the current running time, the current driving freedom, the driving safety, the driving comfort and the driving economy, wherein the weight ratio can be set for technicians in the field, and the embodiment does not limit the final threshold, therefore, the preset motor vehicle traffic participation threshold value with the motor vehicle as the target and the preset non-motor vehicle traffic participation threshold value with the non-motor vehicle as the target are obtained.
And S202, if the traffic participation number under the current working condition is larger than a preset traffic participation threshold value, executing the step of controlling the electronic horn to enter a soft mode.
Further, the step S202 includes:
and if the motor vehicle traffic participation number under the current working condition is larger than a preset motor vehicle traffic participation threshold value and the non-motor vehicle traffic participation number under the current working condition is larger than a preset non-motor vehicle traffic participation threshold value, executing a step of controlling the electronic horn to enter a soft mode.
It should be understood that if the number of motor vehicle traffic participation is greater than the preset motor vehicle traffic participation threshold value and the number of non-motor vehicle traffic participation is greater than the preset non-motor vehicle traffic participation threshold value, the electronic horn can be controlled to enter the soft mode, so that the driving convenience is improved, and meanwhile, the environmental pollution is reduced.
In the embodiment, whether the traffic participation number under the current working condition is larger than a preset traffic participation threshold value is judged according to the environment information by judging whether the road type under the current working condition is not the urban traffic road type; and if the traffic participation number under the current working condition is larger than a preset traffic participation threshold value, executing a step of controlling the electronic horn to enter a soft mode, thereby further improving the accuracy of the driving safety.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for semi-adaptively controlling an electronic horn according to a third embodiment of the present invention.
Based on the above semi-adaptive control electronic horn embodiment, after step S201, the method further includes:
step S2011: and if the traffic participation number under the current working condition is less than or equal to a preset traffic participation threshold value, controlling the electronic horn to enter a high-speed mode.
It can be understood that, if the number of motor vehicle traffic participation is less than or equal to the preset motor vehicle traffic participation threshold, or the number of non-motor vehicle traffic participation is less than or equal to the preset non-motor vehicle traffic participation threshold, the electronic horn may be controlled to enter the high-speed mode.
Step S2012: and judging whether the pressure information is smaller than a preset pressure threshold value according to the hypertonic mode.
It should be noted that when the electronic horn enters the high-altitude mode, two modes can be further selected, namely a normal mode and an emergency mode, wherein the default mode is the normal mode, that is, when the electronic horn enters the high-altitude mode, the default mode is the normal mode in the high-altitude mode.
It should be understood that, when the electronic horn enters the high-pressure mode, it is determined whether the pressure value corresponding to the pressure information is smaller than the preset pressure threshold, that is, whether the pressure value in the high-pressure mode is smaller than 250N.
Further, after step S2012, the method further includes:
and if the pressure information is greater than or equal to the preset pressure threshold, determining the current output volume according to a second volume.
It is understood that the first volume may be a peak value of the speaker volume in the high mode, and the peak value of the speaker volume in the high mode may be 95dB in the specific implementation process, which is not limited in this embodiment, and therefore, if the pressure value is greater than or equal to 250N, it is determined that the current output volume may be 95 dB.
Further, if the pressure information is greater than or equal to the preset pressure threshold, after determining the current output volume according to the second volume, the method further includes:
and judging whether the frequency of the pressure information which is continuously greater than or equal to a preset pressure threshold value reaches a preset frequency or not.
It can be understood that, in a specific implementation process, the preset number of times may be three, which is not limited in this embodiment, and therefore, the number of times that the pressure value corresponding to the pressure information is continuously greater than or equal to 250N is obtained, so as to determine whether the number of times that the pressure value corresponding to the pressure information is continuously greater than or equal to 250N reaches three.
And if the frequency of the pressure information which is continuously greater than or equal to the preset pressure threshold reaches the preset frequency, determining the current output volume according to the second volume, and controlling the current output volume to sound for a long time.
It should be understood that if the pressure value corresponding to the pressure information reaches three times continuously greater than or equal to 250N, that is, the driver presses the pressure sensor with a force greater than or equal to 250N for three times continuously, the electronic horn is controlled to enter the emergency mode in the high-speed mode, and then the horn automatically sounds with a peak volume of 95dB for a long time until the driver presses the horn button to exit the emergency mode for the next time.
Step S2013: and if the pressure information is smaller than the preset pressure threshold, determining the current output volume by adopting a preset strategy according to the pressure information.
It can be understood that, if the pressure value is less than 250N, the pressure information determines the current output volume by using a preset strategy, where the preset strategy may be a calculation formula for determining the current output volume by using the pressure information.
It should be noted that, the calculation formula for determining the current output volume through the pressure information is as follows:
Figure BDA0003315957260000101
it should be understood that, as shown in fig. 6, which is a flowchart of a procedure, it is determined whether the type of the urban traffic road is the urban traffic road by using the pressure value and the acquired environmental information, and if so, entering a soft mode and judging whether the pressure value is less than 250N, if so, the output volume is V6F/25 (dB), if not, the output volume is 60dB, and further, it is determined whether it is the type of the urban traffic road, if so, judging whether the number of the traffic participants is larger than a threshold value, if so, entering a soft mode again, if not, entering a high-speed mode, in the high-pressure mode, whether the pressure value is continuously greater than or equal to 250N for three times is judged, if yes, the peak sound volume is prolonged, if not, whether the pressure value is less than 250N is judged, if yes, the output sound volume is V19F/50 (dB), and if not, the output sound volume is 95 dB.
In the embodiment, if the traffic participation number under the current working condition is less than or equal to a preset traffic participation threshold value, the electronic horn is controlled to enter a high-activity mode; judging whether the pressure information is smaller than a preset pressure threshold value according to the hypertonic mode; if the pressure information is smaller than the preset pressure threshold, the pressure information adopts a preset strategy to determine the current output volume; if the pressure information is greater than or equal to the preset pressure threshold, determining the current output volume according to a second volume, and judging whether the frequency of the pressure information which is continuously greater than or equal to the preset pressure threshold reaches a preset frequency; and if the frequency of the pressure information which is continuously greater than or equal to the preset pressure threshold reaches the preset frequency, determining the current output volume according to the second volume, and controlling the current output volume to sound for a long time, so that the driving safety is further effectively improved.
In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores a semi-adaptive control electronic horn program, and the semi-adaptive control electronic horn program, when executed by a processor, implements the steps of the semi-adaptive control electronic horn method described above.
Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
Referring to fig. 7, fig. 7 is a block diagram illustrating a structure of a semi-adaptive control electronic horn device according to a first embodiment of the present invention.
As shown in fig. 7, the semi-adaptive electronic horn apparatus according to the embodiment of the present invention includes:
the acquiring module 10 is configured to acquire pressure information and environmental information of the electronic horn under the current working condition according to a semi-adaptive control state when the electronic horn enters the semi-adaptive control state.
It can be understood that the semi-adaptive control state may be a state that does not completely depend on the sensor to perform mode setting, and at the same time, a driver needs to input a pressure signal, so when entering the semi-adaptive control state, pressure information and environmental information of the electronic horn under the current working condition may be acquired based on the semi-adaptive control state, and the current working condition may be various complex working conditions that the vehicle faces during the driving process, for example, working conditions on urban roads, dense people areas, and the like, which is not limited in this embodiment.
It should be understood that the environmental information may be environmental information obtained by other sensors already mounted on the automobile, including but not limited to road type information, information of traffic participants around the automobile, and the like, and the present embodiment is not limited thereto, and the pressure information may be information that identifies an input pressure value by a pressure sensor, so as to output a corresponding signal, including a pressure value and a pressure signal, where the pressure value is a pressure value that a driver presses a horn button made by the pressure sensor, and the pressure sensor reads the input pressure value.
It should be noted that fig. 3 shows a hardware structure of the electronic horn, which includes a pressure sensor, other sensors, an MCU module, a driving module, a horn coil, and a sound generating component, where the input signal required by the MCU module is two parts, one is a pressure signal output by the pressure sensor, and the other is environmental information output by the other sensors, and the MCU module stores an electronic horn control program, and executes the program according to the input electrical signal to control the electronic horn to enter a corresponding mode.
And the judging module 20 is configured to judge whether the road type under the current working condition is an urban traffic road type according to the environment information.
It can be understood that the road type under the current working condition can be determined to be the urban traffic road type or other traffic road types based on the environmental information acquired by other sensors, so as to judge whether the road type under the current working condition is the urban traffic road type.
And the mode confirmation module 30 is configured to control the electronic horn to enter a soft mode if the road type of the current working condition is an urban traffic road type.
It should be understood that the electronic horn in the semi-adaptive control state has two basic modes, namely a soft mode and a high-speed mode, so that the electronic horn is controlled to enter the soft mode when the road type of the current working condition is the urban traffic road type.
The judging module 20 is further configured to judge whether the pressure information is smaller than a preset pressure threshold according to the soft mode.
It should be noted that, when the electronic horn enters the soft mode, it is determined whether a pressure value corresponding to the pressure information is smaller than a preset pressure threshold, where the preset pressure threshold may be 250N, and this embodiment limits this step.
And the volume determining module 40 is configured to determine a current output volume according to the pressure information if the pressure information is smaller than the preset pressure threshold.
It can be understood that if the pressure value corresponding to the pressure information is less than 250N, the current output volume is adjusted according to the pressure information.
It should be understood that the calculation formula for adjusting the current output volume according to the pressure information is:
Figure BDA0003315957260000121
where V denotes the current output volume and F denotes the pressure value.
In the embodiment, when the electronic horn enters a semi-adaptive control state, pressure information and environmental information of the electronic horn under the current working condition are acquired according to the semi-adaptive control state; judging whether the road type under the current working condition is an urban traffic road type or not according to the environmental information; if the road type of the current working condition is the urban traffic road type, controlling the electronic horn to enter a soft mode; judging whether the pressure information is smaller than a preset pressure threshold value or not according to the soft mode; and if the pressure information is smaller than the preset pressure threshold, adjusting the current output volume according to the pressure information. The accessible whistling mode is determined through the obtained current environment information and the pressure information, so that the driving safety is improved.
In an embodiment, the volume determining module 40 is further configured to determine a current output volume according to a first volume if the pressure information is greater than or equal to the preset pressure threshold.
In an embodiment, the mode confirmation module 30 is further configured to, if the road type under the current working condition is not the urban traffic road type, determine whether the number of traffic participation under the current working condition is greater than a preset traffic participation threshold according to the environmental information; and if the traffic participation number under the current working condition is larger than a preset traffic participation threshold value, executing a step of controlling the electronic horn to enter a soft mode.
In an embodiment, the mode determining module 30 is further configured to, if the road type under the current working condition is not the urban traffic road type, determine whether the number of motor vehicle traffic participation under the current working condition is greater than a preset motor vehicle traffic participation threshold according to the environment information, and determine whether the number of non-motor vehicle traffic participation under the current working condition is greater than a preset non-motor vehicle traffic participation threshold; and if the motor vehicle traffic participation number under the current working condition is larger than a preset motor vehicle traffic participation threshold value and the non-motor vehicle traffic participation number under the current working condition is larger than a preset non-motor vehicle traffic participation threshold value, executing a step of controlling the electronic horn to enter a soft mode.
In an embodiment, the volume determining module 40 is further configured to control the electronic horn to enter a high-speed mode if the traffic participation number under the current working condition is less than or equal to a preset traffic participation threshold; judging whether the pressure information is smaller than a preset pressure threshold value according to the hypertonic mode; and if the pressure information is smaller than the preset pressure threshold, determining the current output volume by adopting a preset strategy according to the pressure information.
In an embodiment, the volume determining module 40 is further configured to determine a current output volume according to a second volume if the pressure information is greater than or equal to the preset pressure threshold.
In an embodiment, the volume determining module 40 is further configured to determine whether the number of times that the pressure information is continuously greater than or equal to a preset pressure threshold reaches a preset number of times; and if the frequency of the pressure information which is continuously greater than or equal to the preset pressure threshold reaches the preset frequency, determining the current output volume according to the second volume, and controlling the current output volume to sound for a long time.
In other embodiments or specific implementation methods of the semi-adaptive control electronic horn device of the present invention, reference may be made to the above embodiments, and details are not repeated here.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may be referred to a method for semi-adaptively controlling an electronic horn according to any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for semi-adaptively controlling an electronic horn, the method comprising:
when entering a semi-adaptive control state, acquiring pressure information and environmental information of the electronic horn under the current working condition according to the semi-adaptive control state;
judging whether the road type under the current working condition is an urban traffic road type or not according to the environmental information;
if the road type of the current working condition is the urban traffic road type, controlling the electronic horn to enter a soft mode;
judging whether the pressure information is smaller than a preset pressure threshold value or not according to the soft mode;
and if the pressure information is smaller than the preset pressure threshold, adjusting the current output volume according to the pressure information.
2. A method for semi-adaptively controlling an electronic horn according to claim 1, wherein after determining whether the pressure information is less than a preset pressure threshold according to the soft mode, the method further comprises:
and if the pressure information is greater than or equal to the preset pressure threshold, determining the current output volume according to the first volume.
3. The method of claim 1, wherein after determining whether the road type under the current operating condition is an urban traffic road type according to the environmental information, the method further comprises:
if the road type under the current working condition is not the urban traffic road type, judging whether the traffic participation number under the current working condition is larger than a preset traffic participation threshold value or not according to the environment information;
and if the traffic participation number under the current working condition is larger than a preset traffic participation threshold value, executing a step of controlling the electronic horn to enter a soft mode.
4. The method of claim 3, wherein if the road type under the current operating condition is not an urban traffic road type, determining, according to the environmental information, that the number of traffic participation under the current operating condition is greater than a preset traffic participation threshold comprises:
if the road type under the current working condition is not the urban traffic road type, judging whether the motor vehicle traffic participation number under the current working condition is greater than a preset motor vehicle traffic participation threshold value or not according to the environment information, and judging whether the non-motor vehicle traffic participation number under the current working condition is greater than a preset non-motor vehicle traffic participation threshold value or not;
further, if the number of traffic participation under the current working condition is greater than a preset traffic participation threshold, the step of controlling the electronic horn to enter the soft mode is executed, and the step includes:
and if the motor vehicle traffic participation number under the current working condition is larger than a preset motor vehicle traffic participation threshold value and the non-motor vehicle traffic participation number under the current working condition is larger than a preset non-motor vehicle traffic participation threshold value, executing a step of controlling the electronic horn to enter a soft mode.
5. The method of claim 3, wherein if the road type under the current operating condition is not an urban traffic road type, after determining, according to the environmental information, that the number of traffic participation under the current operating condition is greater than a preset traffic participation threshold, the method further comprises:
if the traffic participation number under the current working condition is less than or equal to a preset traffic participation threshold value, controlling the electronic horn to enter a high-activity mode;
judging whether the pressure information is smaller than a preset pressure threshold value according to the hypertonic mode;
and if the pressure information is smaller than the preset pressure threshold, determining the current output volume by adopting a preset strategy according to the pressure information.
6. The method of claim 5, wherein after determining whether the pressure information is less than a predetermined pressure threshold according to the hypertonic mode, the method further comprises:
and if the pressure information is greater than or equal to the preset pressure threshold, determining the current output volume according to a second volume.
7. The method of claim 6, wherein if the pressure information is greater than or equal to a predetermined pressure threshold, determining a current output volume according to a second volume, and then further comprising:
judging whether the frequency of the pressure information which is continuously greater than or equal to a preset pressure threshold value reaches a preset frequency or not;
and if the frequency of the pressure information which is continuously greater than or equal to the preset pressure threshold reaches the preset frequency, determining the current output volume according to the second volume, and controlling the current output volume to sound for a long time.
8. A semi-adaptive electronic horn device, comprising:
the acquisition module is used for acquiring pressure information and environmental information of the electronic horn under the current working condition according to the semi-adaptive control state when entering the semi-adaptive control state;
the judging module is used for judging whether the road type under the current working condition is the urban traffic road type or not according to the environment information;
the mode confirmation module is used for controlling the electronic horn to enter a soft mode if the road type of the current working condition is an urban traffic road type;
the judging module is further used for judging whether the pressure information is smaller than a preset pressure threshold value according to the soft mode;
and the volume determining module is used for determining the current output volume according to the pressure information if the pressure information is smaller than the preset pressure threshold.
9. A semi-adaptive control electronic horn device, comprising: a memory, a processor and a semi-adaptive control electronic horn program stored on the memory and executable on the processor, the semi-adaptive control electronic horn program configured to implement the semi-adaptive control electronic horn method of any one of claims 1 to 7.
10. A storage medium having stored thereon a semi-adaptive control electronic horn program which, when executed by a processor, implements the method of semi-adaptive control electronic horn according to any one of claims 1 to 7.
CN202111237109.3A 2021-10-22 2021-10-22 Semi-adaptive electronic horn control method, device, equipment and storage medium Pending CN113942449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111237109.3A CN113942449A (en) 2021-10-22 2021-10-22 Semi-adaptive electronic horn control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111237109.3A CN113942449A (en) 2021-10-22 2021-10-22 Semi-adaptive electronic horn control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113942449A true CN113942449A (en) 2022-01-18

Family

ID=79332653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111237109.3A Pending CN113942449A (en) 2021-10-22 2021-10-22 Semi-adaptive electronic horn control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113942449A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102834297A (en) * 2010-03-31 2012-12-19 日本先锋公司 Warning sound output device, warning sound output method, warning sound output program, and recording medium
CN203027210U (en) * 2012-06-21 2013-06-26 龙澍坤 Motor vehicle volume intelligent adjustment loudspeaker
CN104842870A (en) * 2014-11-11 2015-08-19 北汽福田汽车股份有限公司 Automatic horn volume adjusting system, vehicle and horn volume adjusting method
CN105653235A (en) * 2016-01-21 2016-06-08 吉林大学 Car horn volume mode self-adaptive control method based on environmental identification
CN109318797A (en) * 2018-10-17 2019-02-12 侯珩 A kind of automobile auto-control horn device, method and system
CN111090409A (en) * 2018-10-19 2020-05-01 宝马股份公司 Method, device and system for adaptively controlling volume of vehicle horn

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102834297A (en) * 2010-03-31 2012-12-19 日本先锋公司 Warning sound output device, warning sound output method, warning sound output program, and recording medium
CN203027210U (en) * 2012-06-21 2013-06-26 龙澍坤 Motor vehicle volume intelligent adjustment loudspeaker
CN104842870A (en) * 2014-11-11 2015-08-19 北汽福田汽车股份有限公司 Automatic horn volume adjusting system, vehicle and horn volume adjusting method
CN105653235A (en) * 2016-01-21 2016-06-08 吉林大学 Car horn volume mode self-adaptive control method based on environmental identification
CN109318797A (en) * 2018-10-17 2019-02-12 侯珩 A kind of automobile auto-control horn device, method and system
CN111090409A (en) * 2018-10-19 2020-05-01 宝马股份公司 Method, device and system for adaptively controlling volume of vehicle horn

Similar Documents

Publication Publication Date Title
US10929652B2 (en) Information providing device and information providing method
JP6713490B2 (en) Information providing apparatus and information providing method
CN112937432A (en) Control method, device and equipment of vehicle sound production device and storage medium
Gaffar et al. Using artificial intelligence to automatically customize modern car infotainment systems
CN111993889A (en) Vehicle instrument control method, device, equipment and storage medium
CN113270098B (en) Voice control method, vehicle, cloud and storage medium
CN113851126A (en) In-vehicle voice interaction method and system
CN113942449A (en) Semi-adaptive electronic horn control method, device, equipment and storage medium
CN112748897A (en) Volume debugging method, device and equipment for vehicle-mounted system
CN113386779B (en) Driving style recognition method, device and storage medium
CN115042710A (en) Control method and device for automobile horn and automobile
CN116101193A (en) Vehicle, control method thereof, vehicle-mounted controller and readable storage medium
CN110288991B (en) Voice recognition method and device
CN114666765A (en) Method and device for seeking vehicle use help from inside to outside of vehicle
JP2018116709A (en) Information processing device, information processing method and information processing program
US20230186893A1 (en) Apparatus and method for controlling vehicle sound
US20240025431A1 (en) Vehicle driving assistance system
CN115489431A (en) Driving reminding method, device, equipment and storage medium
JP6490723B2 (en) Information processing apparatus, information processing method, and information processing program
CN116534023A (en) Driving mode excitation method, driving mode excitation device, vehicle and storage medium
CN116729252A (en) Low-speed prompt tone control method and device, storage medium and electronic equipment
CN115534983A (en) Voice broadcasting method, system, device and medium based on driving emotion
CN117135535A (en) In-vehicle sound field control method, electronic device and readable storage medium
CN117125067A (en) Auxiliary driving method, equipment and storage medium for vehicle
CN116080568A (en) Control method and device for vehicle, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220118