CN109963227A - A kind of horn control circuit and loudspeaker control method - Google Patents
A kind of horn control circuit and loudspeaker control method Download PDFInfo
- Publication number
- CN109963227A CN109963227A CN201711425982.9A CN201711425982A CN109963227A CN 109963227 A CN109963227 A CN 109963227A CN 201711425982 A CN201711425982 A CN 201711425982A CN 109963227 A CN109963227 A CN 109963227A
- Authority
- CN
- China
- Prior art keywords
- loudspeaker
- air pressure
- singlechip controller
- target
- output channel
- 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
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q5/00—Arrangement or adaptation of acoustic signal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/007—Protection circuits for transducers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/04—Circuits for transducers, loudspeakers or microphones for correcting frequency response
Landscapes
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Mechanical Engineering (AREA)
- Details Of Audible-Bandwidth Transducers (AREA)
Abstract
The present invention provides a kind of horn control circuit and loudspeaker control method, which includes loudspeaker, relay assembly, baroceptor and singlechip controller;Relay assembly is connect by least two output channels with loudspeaker, and the resistance value of different output channels is different;Singlechip controller is connect with relay assembly and baroceptor respectively;For receiving the target air pressure of baroceptor acquisition, the target output channel of selective relay component connection opens loudspeaker;Air pressure range belonging to the resistance value and target air pressure of target output channel is in positive relationship.In horn control circuit of the present invention, the air pressure range as belonging to the resistance value and target air pressure of target output channel is in positive relationship, when that is to say that air pressure around loudspeaker is lower, singlechip controller can choose the smaller output channel of resistance value, to input biggish electric current to loudspeaker, it can be improved whistle volume of the loudspeaker under lower pressure, and then improve the safety of driving.
Description
Technical field
The present invention relates to technical field of vehicle control, in particular to a kind of horn control circuit and a kind of loudspeaker controlling party
Method.
Background technique
In recent years, popularizing with automobile, many people can select self driving to go on a journey when planning long-distance trip.And due to
The topography environment of each department is different, therefore the area of various height above sea levels, such as people may be undergone in long-distance driving conditions
Vehicle can be driven, is driven a vehicle from plains region to highlands.
In general, car horn is by internal diaphragm vibration sounding, however, due to depositing between the area of Different Altitude
In draught head, therefore, when driver, which drives vehicle, to drive a vehicle from plains region to highlands, the diaphragm of car horn is in inside
In the case that air pressure is constant, external atmospheric pressure will be gradually decreased, so that the Oscillation Amplitude of diaphragm will reduce therewith, lead to automobile loudspeaker
The sound that issues in the higher area of height above sea level is lower, and then when needing to blow a whistle, can not have to pedestrian around and vehicle
Effect warning, reduces the safety of driving.
Summary of the invention
In view of this, the present invention is directed to propose a kind of horn control circuit, with solve car horn height above sea level higherly
The problem of sound that area issues is lower, reduces so as to cause travel safety.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
A kind of horn control circuit, including loudspeaker, relay assembly, baroceptor and singlechip controller;
The relay assembly is connect by least two output channels with the loudspeaker, and the resistance of different output channels
Value is different;
The singlechip controller is connect with the relay assembly and the baroceptor respectively;For receiving
The target air pressure for stating baroceptor acquisition selects the target output channel of the relay assembly connection to open the loudspeaker;
Air pressure range belonging to the resistance value and the target air pressure of the target output channel is in positive relationship.
Further, the horn control circuit further include:
Voice cue module is connect with the singlechip controller;
Correspondingly, the singlechip controller, is also used to when the air pressure range is pre-set low pressure range, to institute's predicate
Sound cue module sends low pressure standby signal;
The voice cue module, for playing low pressure prompting message when receiving the low pressure standby signal.
Further, in each output channel of relay assembly connection, wherein an output channel is directly and institute
Loudspeaker connection is stated, other output channels are connect by the resistance of different resistance values with the loudspeaker respectively.
Further, the horn control circuit further include:
Horn switch;
Fuse is connect with the horn switch and the relay assembly respectively;
Low pressure conversion module is connect with the singlechip controller;For the output voltage of external power supply to be converted to mesh
Voltage is marked, and the target voltage is input to the singlechip controller, to be powered to the singlechip controller.
Compared with the existing technology, horn control circuit of the present invention has the advantage that
In embodiments of the present invention, relay assembly is connect by least two output channels with loudspeaker, and different outputs
The resistance value of access is different, and singlechip controller is connect with relay assembly and baroceptor respectively, so as to receive air pressure
The target air pressure of sensor acquisition, and the target output channel of selective relay component connection opens loudspeaker, since target exports
Air pressure range belonging to the resistance value and target air pressure of access is in positive relationship, that is to say that the air pressure on loudspeaker periphery is lower, single-chip microcontroller
The output channel that controller will select resistance value smaller, so that singlechip controller can select when the air pressure around loudspeaker is lower
The lesser output channel of resistance value is selected, to input biggish electric current to loudspeaker, so as to improve ring of the loudspeaker under lower pressure
Sibilant rale amount, and then improve the safety of driving.
Another object of the present invention is to propose a kind of loudspeaker control method, with solve car horn height above sea level higherly
The problem of sound that area issues is lower, reduces so as to cause travel safety.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
A kind of loudspeaker control method, the method are applied to any of the above-described kind of horn control circuit, which comprises
The target air pressure of baroceptor acquisition is received by singlechip controller;
Air pressure range belonging to the target air pressure is determined by the singlechip controller;
The target corresponding with the air pressure range of the relay assembly connection is connected by the singlechip controller
Output channel opens loudspeaker;The resistance value and the air pressure range of the target output channel are in positive relationship.
Further, described being connected relay assembly connection with the air pressure model by the singlechip controller
Corresponding target output channel is enclosed, after opening loudspeaker, further includes:
When the air pressure range is pre-set low pressure range, the unlatching of the loudspeaker is determined by the singlechip controller
Duration;
When the opening time reaches preset duration, the relay assembly is switched to by the singlechip controller
The resistance value of connection is less than the output channel of current output channel.
Further, described being connected relay assembly connection with the air pressure model by the singlechip controller
Corresponding target output channel is enclosed, after opening loudspeaker, further includes:
When the air pressure range is pre-set low pressure range, sent by the singlechip controller to voice cue module
Low pressure standby signal;
When stating voice cue module and receiving the low pressure standby signal, low pressure prompting message is played.
Another object of the present invention is to propose a kind of vehicle, to solve car horn in the higher area sending of height above sea level
The problem of sound is lower, reduces so as to cause travel safety.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
A kind of vehicle, the vehicle include aforementioned any horn control circuit.
The vehicle, above-mentioned loudspeaker control method and above-mentioned horn control circuit compared with the existing technology possessed by advantage
Identical, details are not described herein.
Detailed description of the invention
The attached drawing for constituting a part of the invention is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of structural block diagram of horn control circuit described in the embodiment of the present invention;
Fig. 2 is the structural block diagram of another horn control circuit described in the embodiment of the present invention;
Fig. 3 is a kind of flow chart of loudspeaker control method described in the embodiment of the present invention;
Fig. 4 is the flow chart of another loudspeaker control method described in the embodiment of the present invention.
Description of symbols:
01- loudspeaker, 02- relay assembly, 03- baroceptor, 04- singlechip controller, 05- horn switch, 06- are protected
Dangerous silk, 07- voice cue module, 08- magnetic induction sensor, 09- low pressure conversion module.
Specific embodiment
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
Embodiment one
Referring to Fig.1, a kind of horn control circuit of the embodiment of the present invention is shown, which may include loudspeaker
01, relay assembly 02, baroceptor 03 and singlechip controller 04;
Relay assembly 02 is connect by least two output channels with loudspeaker 01, and the resistance value of different output channels is not
Together;
Singlechip controller 04 is connect with relay assembly 02 and baroceptor 03 respectively;For receiving air pressure sensing
The target air pressure that device 03 acquires, the target output channel that selective relay component 02 connects open loudspeaker 01;Target output channel
Resistance value and target air pressure belonging to air pressure range be in positive relationship.
In general, the higher regional air pressure of height above sea level is lower, the lower local air pressure of height above sea level is higher, and baroceptor 03 can be adopted
Collect the air pressure on loudspeaker periphery, and the air pressure of acquisition is sent to singlechip controller, so that singlechip controller 04 can receive
The air pressure that baroceptor 03 acquires.In addition, the relay assembly 02 connecting with singlechip controller 04 may include at least two
Output channel, and the resistance value of different output channels is different, relay assembly 02 can by least two output channels with
Loudspeaker 01 connect, and then singlechip controller 04 can receive baroceptor 03 acquisition target air pressure when, selection after
The target output channel that electric appliance component 02 connects opens loudspeaker 01, so that loudspeaker 01 can be in target output channel corresponding current
Driving is lower to issue whistle sound.
Since the resistance value of every output channel of relay assembly connection is different, pass through the electricity of different output channels
Stream is also different, in addition, the air pressure range as belonging to the resistance value and current gas pressure of output channel can be in positive relationship, that is to say
The air pressure on loudspeaker periphery is lower, the output channel that singlechip controller will select resistance value smaller, thus the air pressure around loudspeaker
When lower, singlechip controller can choose the lesser output channel of resistance value, to input biggish electric current to loudspeaker, pass through raising
The input current of loudspeaker can be improved loudspeaker under lower pressure namely the whistle volume of high altitude localities, and then guarantee loudspeaker
It also pedestrian and vehicle can effectively be warned to around in high altitude localities, improve the safety of driving.
In embodiments of the present invention, relay assembly is connect by least two output channels with loudspeaker, and different outputs
The resistance value of access is different, and singlechip controller is connect with relay assembly and baroceptor respectively, so as to receive air pressure
The target air pressure of sensor acquisition, and the target output channel of selective relay component connection opens loudspeaker, since target exports
Air pressure range belonging to the resistance value and target air pressure of access is in positive relationship, that is to say that the air pressure on loudspeaker periphery is lower, single-chip microcontroller
The output channel that controller will select resistance value smaller, so that singlechip controller can select when the air pressure around loudspeaker is lower
The lesser output channel of resistance value is selected, to input biggish electric current to loudspeaker, so as to improve ring of the loudspeaker under lower pressure
Sibilant rale amount, and then improve the safety of driving.
Embodiment two
Referring to Fig. 2, another horn control circuit of the embodiment of the present invention is shown, which may include
Horn switch 05, fuse 06, relay assembly 02, loudspeaker 01, baroceptor 03, singlechip controller 04, voice prompting
Module 07, magnetic induction sensor 08 and low pressure conversion module 09.
Wherein, fuse 06 is connect with horn switch 05 and relay assembly 02 respectively;Relay assembly 02 is by least
Two output channels are connect with loudspeaker 01, and the resistance value of different output channels is different;Singlechip controller 04 respectively with relay
Component 02 and baroceptor 03 connect;Voice cue module 07 is connect with singlechip controller 04;Magnetic induction sensor 08 divides
It is not connect with loudspeaker 01 and singlechip controller 04;Low pressure conversion module 09 is connect with singlechip controller 04.
Horn switch 05 can be a key switch, be usually located on the steering wheel of vehicle, can be used for opening and closing loudspeaker
?.
Fuse 06 can fuse in time when encountering short circuit, so that the power supply of loudspeaker 01 is cut off, with right
Loudspeaker 01 are carried out to be protected.In practical applications, fuse 06 is also commonly used for other circuits in protection vehicle.
In each output channel that relay assembly 02 connects, wherein an output channel can directly connect with loudspeaker 01
It connects, other output channels can be connect by the resistance of different resistance values with loudspeaker 01 respectively, so that relay assembly 02 can be to
Loudspeaker 01 export different electric currents.
Baroceptor 03 can be set in the periphery of loudspeaker 01, so as to acquire the air pressure on 01 periphery of loudspeaker, with right
The operating air pressure of loudspeaker 01 is monitored.
Singlechip controller 04 can be used for receiving the target air pressure of the acquisition of baroceptor 03, selective relay component 02
The target output channel of connection opens loudspeaker 01, wherein air pressure range belonging to the resistance value and target air pressure of target output channel
In positive relationship.The air pressure as belonging to the resistance value and current gas pressure of output channel, which is enclosed, can that is to say loudspeaker in positive relationship
The air pressure on 01 periphery is lower, the output channel that singlechip controller 04 will select resistance value smaller, thus the gas around loudspeaker 01
When pressing lower, singlechip controller 04 can choose the lesser output channel of resistance value, to input biggish electric current to loudspeaker 01, lead to
The input current for improving loudspeaker 01 is crossed, can be improved loudspeaker 01 in the whistle volume in low pressure area.
Further, singlechip controller 04 can be also used for working as air pressure range belonging to target air pressure being pre-set low pressure model
When enclosing, low pressure standby signal is sent to voice cue module 07.Correspondingly, voice cue module 07 can be used for receive it is low
When pressing standby signal, low pressure prompting message is played, so as to remind the driver on vehicle, current environment under low pressure will affect loudspeaker
Use need to sail out of the higher low pressure area of height above sea level as early as possible.
Further, magnetic induction sensor 08 can be used for detecting the magnetic induction intensity of loudspeaker 01 in preset duration
When being persistently greater than default magnetic induction intensity, the first standby signal is sent to singlechip controller 04, then works as singlechip controller
04 when receiving the first standby signal, the power supply that cutting loudspeaker 01 connect, and then by singlechip controller 04 to voice prompting
Module 07 sends the second standby signal, when voice cue module 07 receives the second standby signal, plays loudspeaker abnormal prompt
Message.
Loudspeaker work normally when magnetic induction intensity in alternating rule change, when trumpet due to elastic slice contact and
When there is short circuit, constant magnetic induction intensity will be transformed to by the magnetic induction intensity of alternation, therefore, when magnetic induction sensor detects
When being persistently greater than default magnetic induction intensity in preset duration to the magnetic induction intensity of loudspeaker, it is short can to determine that trumpet occurs
Road, and then singlechip controller can directly cut off the power supply of loudspeaker connection, to protect horn control circuit.Meanwhile passing through
Voice cue module plays loudspeaker abnormal prompt message, and driver's trumpet can be reminded short circuit occur in time, need to be located in time
Reason.
Further, low pressure conversion module 09 can be used for the output voltage of external power supply being converted to target voltage, and
Target voltage is input to singlechip controller 04, to be powered to singlechip controller 04.Most of device in vehicle
It can be powered by the 12V power supply of vehicle, and singlechip controller 04 then needs the voltage of 5V to be powered, but due to
Be individually for singlechip controller 04 and power that the manufacturing cost of vehicle can be greatly increased, thus can by low pressure conversion module 09,
The power supply that the 12V power supply of vehicle is converted to 5V is powered, so as to reduce the manufacturing cost of vehicle.
In embodiments of the present invention, relay assembly is connect by least two output channels with loudspeaker, and different outputs
The resistance value of access is different, and singlechip controller is connect with relay assembly and baroceptor respectively, so as to receive air pressure
The target air pressure of sensor acquisition, and the target output channel of selective relay component connection opens loudspeaker, since target exports
Air pressure range belonging to the resistance value and target air pressure of access is in positive relationship, that is to say that the air pressure on loudspeaker periphery is lower, single-chip microcontroller
The output channel that controller will select resistance value smaller, so that singlechip controller can select when the air pressure around loudspeaker is lower
The lesser output channel of resistance value is selected, to input biggish electric current to loudspeaker, so as to improve ring of the loudspeaker under lower pressure
Sibilant rale amount, and then improve the safety of driving.In addition, interior driver can be reminded by voice cue module,
It will affect the use of loudspeaker to which driver can understand current environment under low pressure in time.
Embodiment three
Referring to Fig. 3, a kind of loudspeaker control method of the embodiment of the present invention is shown, this method can be applied to any of the above-described
Horn control circuit described in embodiment, this method can specifically include following steps:
Step 301: the target air pressure of baroceptor acquisition is received by singlechip controller.
Baroceptor can be acquired the air pressure on loudspeaker periphery, and then baroceptor will can currently collect
Target air pressure be sent to singlechip controller, and then singlechip controller can receive the target gas of baroceptor acquisition
Pressure.
For example, the target air pressure that baroceptor can collect loudspeaker periphery is 75Pa (Pascal), then air pressure transmission
Target air pressure 75Pa can be sent to singlechip controller by sensor, and then singlechip controller can receive target air pressure
75Pa。
Step 302: air pressure range belonging to target air pressure is determined by singlechip controller.
After singlechip controller receives the target air pressure of baroceptor acquisition, it can determine belonging to the target air pressure
Air pressure range.In practical applications, the developer of vehicle can set in singlechip controller in advance and store multiple
Air pressure range, so when singlechip controller receives target air pressure, it can be from multiple air pressure ranges of storage, determining should
Air pressure range belonging to target air pressure.
It should be noted that input current generally can not be more than the maximum current limited when loudspeaker maintain to work normally, because
When this practical application, if being not connected to the output of resistance there are the output channel that one is not connected to resistance in a plurality of output channel
Access must assure that electric current is no more than the maximum current value limited when being connected, so as to the normal work of minimumguarantee loudspeaker
Make.If being not connected to the output channel of resistance in a plurality of output channel, the smallest output channel of resistance value of resistance is connected
It must assure that electric current is no more than the maximum current value limited when conducting, so as to the normal work of minimumguarantee loudspeaker.
For example, the developer of vehicle can set in singlechip controller in advance and store multiple air pressure ranges, packet
Include P≤72Pa, 72Pa≤P < 82Pa, 82Pa≤P < 92Pa and P >=92Pa4 air pressure range, wherein the corresponding resistance of P≤72Pa
Value is the output channel of R1, and 72Pa≤P < 82Pa corresponds to the output channel that resistance value is R2, and 82Pa≤P < 92Pa corresponds to resistance value and is
The output channel of R3, P >=92Pa correspond to the output channel that resistance value is R4, and R1 < R2 < R3 < R4, and then singlechip controller
Gas belonging to target air pressure 75Pa can be determined from P≤72Pa, 72Pa≤P < 82Pa, 82Pa≤P < 92Pa and P >=92Pa
Pressure range is 72Pa≤P < 82Pa.
Step 303: the target corresponding with the air pressure range connected by singlechip controller turn-on relay component is defeated
Access out opens loudspeaker.
After singlechip controller determines air pressure range belonging to target air pressure, it can be connected to relay assembly
Target output channel input current corresponding with the air pressure range, the electricity so as to which target output channel is connected, in power supply
Stream can be inputted in loudspeaker by target output channel, and then can open loudspeaker.
Wherein, different air pressure ranges can correspond to the different output channel of relay assembly, and the resistance value of output channel
It is in positive relationship with air pressure range, that is to say that the air pressure on loudspeaker periphery is lower, singlechip controller will selects smaller defeated of resistance value
Access out, so that singlechip controller can choose the lesser output channel of resistance value when the air pressure around loudspeaker is lower, with to
Loudspeaker input biggish electric current, by improving the input current of loudspeaker, can be improved loudspeaker under lower pressure namely High aititude
The whistle volume in area, and then guarantee that loudspeaker also pedestrian and vehicle can effectively be warned in high altitude localities to around, it mentions
The high safety of driving.
For example, singlechip controller can be to the corresponding with air pressure range 72Pa≤P < 82Pa of relay assembly connection
Resistance value is the output channel input current of R2, and so as to which the output channel that resistance value is R2 is connected, the electric current in power supply can be with
It is inputted in loudspeaker by the output channel that resistance value is R2, and then loudspeaker can be opened.
In embodiments of the present invention, singlechip controller can receive the target air pressure of baroceptor acquisition, then really
Set the goal air pressure range belonging to air pressure, and then the target corresponding with the air pressure range that can be connected with turn-on relay component is defeated
Access out opens loudspeaker.Since the resistance value of the different output channels of relay assembly connection is different, and the resistance of target output channel
Value is in positive relationship with air pressure range belonging to target air pressure, that is to say that the air pressure on loudspeaker periphery is lower, and singlechip controller will
Select the smaller output channel of resistance value, thus when the air pressure around loudspeaker is lower, singlechip controller can choose resistance value compared with
Small output channel, to input biggish electric current to loudspeaker, so as to improve whistle volume of the loudspeaker under lower pressure, into
And improve the safety of driving.
Example IV
Referring to Fig. 4, another loudspeaker control method of the embodiment of the present invention is shown, this method can be applied to embodiment
Horn control circuit described in two, this method can specifically include following steps:
Step 401: the target air pressure of baroceptor acquisition is received by singlechip controller.
This step is identical as the realization process of above-mentioned steps 301, and this will not be detailed here.
For example, the target air pressure that baroceptor can collect loudspeaker periphery is 65Pa, then baroceptor can be with
Target air pressure 65Pa is sent to singlechip controller, and then singlechip controller can receive target air pressure 65Pa.
Step 402: air pressure range belonging to target air pressure is determined by singlechip controller.
This step is identical as the realization process of above-mentioned steps 302, and this will not be detailed here.
For example, the developer of vehicle can set in singlechip controller in advance and store multiple air pressure ranges, packet
Include P≤72Pa, 72Pa≤P < 82Pa, 82Pa≤P < 92Pa and P >=92Pa4 air pressure range, wherein the corresponding resistance of P≤72Pa
Value is the output channel of R1, and 72Pa≤P < 82Pa corresponds to the output channel that resistance value is R2, and 82Pa≤P < 92Pa corresponds to resistance value and is
The output channel of R3, P >=92Pa correspond to the output channel that resistance value is R4, and R1 < R2 < R3 < R4, and then singlechip controller
Gas belonging to target air pressure 65Pa can be determined from P≤72Pa, 72Pa≤P < 82Pa, 82Pa≤P < 92Pa and P >=92Pa
Pressure range is P≤72Pa.
Step 403: the target corresponding with the air pressure range connected by singlechip controller turn-on relay component is defeated
Access out opens loudspeaker.
This step is identical as the realization process of above-mentioned steps 303, and this will not be detailed here.
For example, singlechip controller can be to the resistance value corresponding with air pressure range P≤72Pa that relay assembly connects
The output channel input current of R1, so as to which the output channel that resistance value is R1 is connected, the electric current in power supply can pass through resistance
The output channel that value is R1 inputs in loudspeaker, and then can open loudspeaker.
Step 404: when the air pressure range is pre-set low pressure range, when determining the unlatching of loudspeaker by singlechip controller
It is long.
The developer of vehicle, can also be by multiple gas in multiple air pressure ranges that singlechip controller is set and is stored
Minimum air pressure range is set as pre-set low pressure range in pressure range, when the air pressure on loudspeaker periphery belongs to pre-set low pressure range,
Can determine that the volume for sending of honking at this time is smaller, correspondingly, the resistance value for the output channel that singlechip controller is connected compared with
It is small, so that the electric current for inputting loudspeaker is larger.Therefore after loudspeaker unlatching, at the time of singlechip controller can be opened from loudspeaker
Start timing, be monitored with the opening time to loudspeaker, whether loudspeaker are continued working under larger current convenient for subsequent
Situation is monitored.
For example, being preset low in P≤72Pa, 72Pa≤P < 82Pa, 82Pa≤P < 92Pa and P >=92Pa4 air pressure range
Pressure may range from P≤72Pa, and single-chip microcontroller can determine that the corresponding air pressure range P≤72Pa of target air pressure 65Pa is pre-set low pressure
Range at the time of singlechip controller can be opened from loudspeaker at this time, and then determines that the opening time of loudspeaker is 30 seconds.
Step 405: when length reaches preset duration when activated, relay assembly connection being switched to by singlechip controller
Resistance value be less than current output channel output channel.
Since when current air pressure range is pre-set low pressure range, loudspeaker will continue the work under the driving of larger current
Make, easily cause loudspeaker ablated, loudspeaker caused to damage, therefore, singlechip controller it needs to be determined that loudspeaker opening time, and
And when air pressure range is pre-set low pressure range, and opening time is greater than preset duration, the resistance of relay assembly connection is switched to
Value is less than the output channel of current output channel, to protect horn control circuit.
For example, singlechip controller can determine that beginning reaches preset duration 30 seconds in duration 30 seconds, and then single-chip microcontroller controls
The resistance value that device can switch to relay assembly connection is less than the R1 output channel of current R2 output channel.
Step 406: when air pressure range is pre-set low pressure range, being sent by singlechip controller to voice cue module
Low pressure standby signal.
When the air pressure on loudspeaker periphery belongs to pre-set low pressure range, it can determine that the volume for sending of honking at this time is smaller,
And then the voice cue module that singlechip controller can be configured into vehicle sends low pressure standby signal, the low pressure standby signal
For voltage signal.
For example, single-chip microcontroller can determine that the corresponding air pressure range P≤72Pa of target air pressure 65Pa is pre-set low pressure range, this
When singlechip controller can to voice cue module send low pressure standby signal.
Step 407: when voice cue module receives low pressure standby signal, playing low pressure prompting message.
When voice cue module receives low pressure standby signal, it can determine that the volume for sending of honking at this time is smaller,
And then voice cue module can play low pressure prompting message, so as to prompt driver, understand convenient for driver
The working condition of loudspeaker sails out of the higher low pressure area of height above sea level as early as possible.
Further, after start-up, following step can also be performed in vehicle, comprising: examines when by magnetic induction sensor
When measuring the magnetic induction intensity of loudspeaker and being persistently greater than default magnetic induction intensity in preset duration, the is sent to singlechip controller
One standby signal;When singlechip controller receives the first standby signal, the power supply of cutting loudspeaker connection;Pass through single-chip microcontroller control
Device processed sends the second standby signal to voice cue module;When voice cue module receives the second standby signal, loudspeaker is played
Abnormal prompt message.
Loudspeaker work normally when magnetic induction intensity in alternating rule change, when trumpet due to elastic slice contact and
When there is short circuit, constant magnetic induction intensity will be transformed to by the magnetic induction intensity of alternation, therefore, when magnetic induction sensor detects
When being persistently greater than default magnetic induction intensity in preset duration to the magnetic induction intensity of loudspeaker, it is short can to determine that trumpet occurs
Road, and then singlechip controller can directly cut off the power supply of loudspeaker connection, to protect horn control circuit.Meanwhile passing through
Voice cue module plays loudspeaker abnormal prompt message, and driver's trumpet can be reminded short circuit occur in time, need to be located in time
Reason.
For example, low pressure prompting message " current environment can be played when voice cue module receives low pressure standby signal
Air pressure is lower, influences loudspeaker use, please sails out of low pressure area as early as possible!".
In embodiments of the present invention, singlechip controller can receive the target air pressure of baroceptor acquisition, then really
Set the goal air pressure range belonging to air pressure, and then the target corresponding with the air pressure range that can be connected with turn-on relay component is defeated
Access out opens loudspeaker.Since the resistance value of the different output channels of relay assembly connection is different, and the resistance of target output channel
Value is in positive relationship with air pressure range belonging to target air pressure, that is to say that the air pressure on loudspeaker periphery is lower, and singlechip controller will
Select the smaller output channel of resistance value, thus when the air pressure around loudspeaker is lower, singlechip controller can choose resistance value compared with
Small output channel, to input biggish electric current to loudspeaker, so as to improve whistle volume of the loudspeaker under lower pressure, into
And improve the safety of driving.In addition, can be reminded interior driver by voice cue module, thus driver
Current environment under low pressure can be understood in time will affect the use of loudspeaker.
Embodiment five
The embodiment of the invention also provides a kind of vehicle, the vehicle includes aforementioned any horn control circuit.
In embodiments of the present invention, relay assembly is connect by least two output channels with loudspeaker, and different outputs
The resistance value of access is different, and singlechip controller is connect with relay assembly and baroceptor respectively, so as to receive air pressure
The target air pressure of sensor acquisition, and the target output channel of selective relay component connection opens loudspeaker, since target exports
Air pressure range belonging to the resistance value and target air pressure of access is in positive relationship, that is to say that the air pressure on loudspeaker periphery is lower, single-chip microcontroller
The output channel that controller will select resistance value smaller, so that singlechip controller can select when the air pressure around loudspeaker is lower
The lesser output channel of resistance value is selected, to input biggish electric current to loudspeaker, so as to improve ring of the loudspeaker under lower pressure
Sibilant rale amount, and then improve the safety of driving.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of horn control circuit, which is characterized in that the horn control circuit includes loudspeaker, relay assembly, air pressure transmission
Sensor and singlechip controller;
The relay assembly is connect by least two output channels with the loudspeaker, and the resistance value of different output channels is not
Together;
The singlechip controller is connect with the relay assembly and the baroceptor respectively;For receiving the gas
The target air pressure of pressure sensor acquisition selects the target output channel of the relay assembly connection to open the loudspeaker;It is described
Air pressure range belonging to the resistance value of target output channel and the target air pressure is in positive relationship.
2. horn control circuit according to claim 1, which is characterized in that the horn control circuit further include:
Voice cue module is connect with the singlechip controller;
Correspondingly, the singlechip controller, is also used to when the air pressure range is pre-set low pressure range, Xiang Suoshu voice mentions
Show that module sends low pressure standby signal;
The voice cue module, for playing low pressure prompting message when receiving the low pressure standby signal.
3. horn control circuit according to claim 1, which is characterized in that each output of the relay assembly connection
In access, wherein an output channel is directly connect with the loudspeaker, other output channels pass through the resistance of different resistance values respectively
It is connect with the loudspeaker.
4. horn control circuit according to claim 1, which is characterized in that the horn control circuit further include:
Horn switch;
Fuse is connect with the horn switch and the relay assembly respectively;
Low pressure conversion module is connect with the singlechip controller;For the output voltage of external power supply to be converted to target electricity
Pressure, and the target voltage is input to the singlechip controller, to be powered to the singlechip controller.
5. a kind of loudspeaker control method, which is characterized in that the method is applied to any loudspeaker control of Claims 1-4
Circuit processed, which comprises
The target air pressure of baroceptor acquisition is received by singlechip controller;
Air pressure range belonging to the target air pressure is determined by the singlechip controller;
Target corresponding with the air pressure range output of the relay assembly connection is connected by the singlechip controller
Access opens loudspeaker.
6. according to the method described in claim 5, it is characterized in that, described be connected the relay by the singlechip controller
Device assembly connection target output channel corresponding with the air pressure range, open loudspeaker after, further includes:
When the air pressure range is pre-set low pressure range, when determining the unlatching of the loudspeaker by the singlechip controller
It is long;
When the opening time reaches preset duration, the relay assembly is switched to by the singlechip controller and is connected
Resistance value be less than current output channel output channel.
7. according to the method described in claim 5, it is characterized in that, described be connected the relay by the singlechip controller
Device assembly connection target output channel corresponding with the air pressure range, open loudspeaker after, further includes:
When the air pressure range is pre-set low pressure range, low pressure is sent to voice cue module by the singlechip controller
Standby signal;
When stating voice cue module and receiving the low pressure standby signal, low pressure prompting message is played.
8. a kind of vehicle, which is characterized in that the vehicle includes any horn control circuit of Claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711425982.9A CN109963227A (en) | 2017-12-25 | 2017-12-25 | A kind of horn control circuit and loudspeaker control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711425982.9A CN109963227A (en) | 2017-12-25 | 2017-12-25 | A kind of horn control circuit and loudspeaker control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109963227A true CN109963227A (en) | 2019-07-02 |
Family
ID=67021497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711425982.9A Pending CN109963227A (en) | 2017-12-25 | 2017-12-25 | A kind of horn control circuit and loudspeaker control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109963227A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112644380A (en) * | 2021-01-20 | 2021-04-13 | 奇瑞汽车股份有限公司 | Vehicle altitude alarm system and method and automobile |
WO2023097794A1 (en) * | 2021-11-30 | 2023-06-08 | 歌尔股份有限公司 | Wrist-worn device, and air pressure adjustment method, apparatus and system therefor |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102347059A (en) * | 2010-08-04 | 2012-02-08 | 鸿富锦精密工业(深圳)有限公司 | Audio player and electronic device with the same |
CN103500574A (en) * | 2012-08-16 | 2014-01-08 | 万喻 | Intelligent electronic horn and achieving method thereof |
CN104365119A (en) * | 2012-06-07 | 2015-02-18 | Actiwave公司 | Non-linear control of loudspeakers |
CN104754462A (en) * | 2013-12-31 | 2015-07-01 | 上海晨兴希姆通电子科技有限公司 | Automatic regulating device and method for volume and earphone |
CN106664481A (en) * | 2014-03-19 | 2017-05-10 | 思睿逻辑国际半导体有限公司 | Non-linear control of loudspeakers |
CN106952650A (en) * | 2017-02-28 | 2017-07-14 | 大连理工大学 | A kind of train voice amplifying unit based on ARM+FPGA frameworks |
-
2017
- 2017-12-25 CN CN201711425982.9A patent/CN109963227A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102347059A (en) * | 2010-08-04 | 2012-02-08 | 鸿富锦精密工业(深圳)有限公司 | Audio player and electronic device with the same |
CN104365119A (en) * | 2012-06-07 | 2015-02-18 | Actiwave公司 | Non-linear control of loudspeakers |
CN103500574A (en) * | 2012-08-16 | 2014-01-08 | 万喻 | Intelligent electronic horn and achieving method thereof |
CN104754462A (en) * | 2013-12-31 | 2015-07-01 | 上海晨兴希姆通电子科技有限公司 | Automatic regulating device and method for volume and earphone |
CN106664481A (en) * | 2014-03-19 | 2017-05-10 | 思睿逻辑国际半导体有限公司 | Non-linear control of loudspeakers |
CN106952650A (en) * | 2017-02-28 | 2017-07-14 | 大连理工大学 | A kind of train voice amplifying unit based on ARM+FPGA frameworks |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112644380A (en) * | 2021-01-20 | 2021-04-13 | 奇瑞汽车股份有限公司 | Vehicle altitude alarm system and method and automobile |
WO2023097794A1 (en) * | 2021-11-30 | 2023-06-08 | 歌尔股份有限公司 | Wrist-worn device, and air pressure adjustment method, apparatus and system therefor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103702866B (en) | Vehicle approaching alert device | |
US9073477B2 (en) | Vehicle approach notification device | |
US20130208912A1 (en) | Simulation of engine sounds in silent vehicles | |
CN104412321B (en) | Siren drive circuit | |
JP2013197991A (en) | Vehicle presence notification device | |
WO2018166296A1 (en) | Warning sound producer for new energy vehicle | |
CN203287425U (en) | Low-voltage early warning apparatus for electronic speed regulator, model aircraft and electronic speed regulator | |
KR20160093053A (en) | Compressor system and method for operating the compressor system in dependence on the current situation of the rail vehicle | |
CN109963227A (en) | A kind of horn control circuit and loudspeaker control method | |
JPH0732948A (en) | Antificial running sound generating device for electric vehicle | |
JPWO2015040836A1 (en) | Acoustic device, acoustic system, mobile device, and fault diagnosis method for acoustic system | |
CN105383377A (en) | Pedestrian warning device and vehicle | |
JP2013244792A (en) | Vehicle approach warning device | |
CN106364427B (en) | Automobile power control method and device | |
KR102555064B1 (en) | Device and Method for virtual engine sound generation | |
KR20130142492A (en) | System and producing method for virtual engine sound | |
JP2012218662A (en) | Vehicle approach warning device | |
JP4487461B2 (en) | Generator control system | |
CN207644315U (en) | A kind of horn circuit | |
KR20110029959A (en) | An near alarm generating device for automobile | |
CN201594906U (en) | Vehicular audio control circuit | |
KR20120077630A (en) | Virtual engine sound system for an electric motor based vehicle | |
JP4024932B2 (en) | helmet | |
CN204488640U (en) | Horn control system and this automobile | |
CN208896966U (en) | High definition two-screen Interactive headrest display apparatus and automobile audio |
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 |
Application publication date: 20190702 |
|
RJ01 | Rejection of invention patent application after publication |