CN118658277A - Sound pressure self-checking method and device - Google Patents
Sound pressure self-checking method and device Download PDFInfo
- Publication number
- CN118658277A CN118658277A CN202411151748.1A CN202411151748A CN118658277A CN 118658277 A CN118658277 A CN 118658277A CN 202411151748 A CN202411151748 A CN 202411151748A CN 118658277 A CN118658277 A CN 118658277A
- Authority
- CN
- China
- Prior art keywords
- voltage
- sound
- direct
- resistor
- sound pressure
- 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
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012545 processing Methods 0.000 claims abstract description 46
- 230000000694 effects Effects 0.000 claims abstract description 11
- 238000004590 computer program Methods 0.000 claims description 18
- 238000005070 sampling Methods 0.000 claims description 15
- 239000000919 ceramic Substances 0.000 claims description 14
- 230000002596 correlated effect Effects 0.000 claims description 13
- 230000009471 action Effects 0.000 claims description 11
- 239000000758 substrate Substances 0.000 claims description 11
- 239000003990 capacitor Substances 0.000 claims description 10
- 238000004519 manufacturing process Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 8
- 238000013507 mapping Methods 0.000 claims description 6
- 230000000875 corresponding effect Effects 0.000 claims description 4
- 238000012360 testing method Methods 0.000 claims description 3
- 238000001514 detection method Methods 0.000 abstract description 16
- 230000007613 environmental effect Effects 0.000 abstract description 5
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 11
- 238000001914 filtration Methods 0.000 description 5
- 230000005236 sound signal Effects 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000000087 stabilizing effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000002184 metal Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Measuring Fluid Pressure (AREA)
Abstract
The embodiment of the invention provides a sound pressure self-checking method and a device, which are applied to the sound pressure self-checking device and comprise the following steps: the microprocessor unit generates a pulse width modulation signal, the pulse width modulation signal generates a driving voltage through the driving unit, the driving voltage enables the sounding device to generate deformation, the deformation enables gas in a sound cavity of the sounding device to generate sound, and the deformation enables the sounding device to generate alternating current voltage; the microprocessor analyzes the voltage amplitude of the target direct-current voltage to determine the sound pressure of sound emitted by the sound emitting device, wherein the target direct-current voltage is obtained by converting the alternating-current voltage generated by the sound emitting device by the signal processing unit. According to the invention, the problem of sound pressure false detection caused by interference of environmental noise in the related technology is solved, and the effect of reducing the sound pressure false detection is further achieved.
Description
Technical Field
The embodiment of the invention relates to the field of safety, in particular to a sound pressure self-checking method and device.
Background
An alarm is a device that emits an alarm sound or light signal to alert a person. It is commonly installed in buildings, vehicles or other facilities for alerting to emergency situations or incidents, and is a common security device. The sound pressure is an important index for measuring the sound volume, and the sound pressure is subjected to self-checking, so that whether the alarm sound function of the alarm is normal or not can be effectively detected, and equipment with abnormal sound function can be effectively identified, and replaced or repaired in time.
At present, a common mode for sound pressure self-checking is to add a sound pick-up in a circuit, collect sound signals through the sound pick-up, convert the sound signals into electric signals, and process and identify the collected electric signals, so that the size of a sound pressure level is judged, and the sound pressure self-checking is completed. However, in the self-checking mode, if other noise sources exist in the surrounding environment and the volume of the noise sources is large enough, even if the sound function of the alarm is faulty, the sound pressure level of the sound signal collected by the pickup is large enough, so that the sound function of the alarm is judged to be normal, and false detection is caused.
There is currently no effective solution to the above problems.
Disclosure of Invention
The embodiment of the invention provides a sound pressure self-checking method and device, which at least solve the problem of sound pressure false detection caused by interference of environmental noise in the related technology.
According to an embodiment of the present invention, there is provided a sound pressure self-checking method applied to a sound pressure self-checking device, the sound pressure self-checking device is provided with a sound generating device, a driving unit, a signal processing unit, and a microprocessor unit, including: the microprocessor unit generates a pulse width modulation signal, the pulse width modulation signal generates a driving voltage through the driving unit, the driving voltage enables the sounding device to generate deformation, the deformation enables gas in a sound cavity of the sounding device to generate sound, and the deformation enables the sounding device to generate alternating voltage; the microprocessor unit analyzes the voltage amplitude of the target direct-current voltage to determine the sound pressure of the sound emitted by the sound emitting device, wherein the target direct-current voltage is obtained by converting the alternating-current voltage generated by the sound emitting device by the signal processing unit.
In an exemplary embodiment, the sound generating device is provided with a piezoelectric ceramic plate, and the driving voltage deforms the sound generating device, including: the driving voltage enables the piezoelectric ceramic piece to generate the deformation under the action of the inverse piezoelectric effect.
In an exemplary embodiment, the sound emitting device is further provided with a substrate and a feedback pole, and the deformation causes the sound emitting device to generate an alternating voltage, including: the deformation causes the alternating voltage to be generated between the feedback pole and the substrate, wherein the amplitude of the alternating voltage is positively correlated with the magnitude of the deformation.
In an exemplary embodiment, before the microprocessor unit analyzes the voltage magnitude of the target dc voltage to determine the sound pressure of the sound emitted by the sound emitting device, the method further includes: the alternating voltage generated by the sound generating device is transmitted to the signal processing unit, and the signal processing unit converts the alternating voltage into the target direct voltage.
In one exemplary embodiment, the signal processing unit includes: the utility model provides a sound production device, including sound production device, signal processing unit, filter circuit, second load circuit block, partial pressure sampling circuit and protection circuit, the sound production device produces alternating voltage transmission to signal processing unit will alternating voltage converts the target direct voltage includes: the first load circuit reduces the amplitude of the alternating voltage to obtain a first alternating voltage, and inputs the first alternating voltage into the rectifying circuit; the rectification circuit converts the first alternating voltage into a first direct voltage and inputs the first direct voltage into the filter circuit; the filter circuit filters the first direct-current voltage to obtain a second direct-current voltage, and inputs the second direct-current circuit into the second load circuit; the second load circuit reduces the amplitude of the second direct current voltage to obtain a third direct current voltage, and inputs the third direct current voltage into the voltage division sampling circuit; the voltage division sampling circuit divides the third direct-current voltage to obtain a fourth direct-current voltage, and inputs the fourth direct-current voltage into the protection circuit; and the protection circuit filters the direct-current voltage with the amplitude exceeding a preset threshold value in the fourth direct-current voltage to obtain the target direct-current voltage.
In one exemplary embodiment, the microprocessor analyzes a voltage magnitude of the target dc voltage to determine a sound pressure of the sound emitted from the sound emitting device, including: the microprocessor determines a target sound pressure matched with the voltage amplitude of the target direct-current voltage in a preset mapping relation, wherein the corresponding relation between the voltage amplitude and the sound pressure is recorded in the preset mapping relation; and determining the target sound pressure as the sound pressure of the sound emitted by the sound emitting device.
According to another embodiment of the present invention, there is provided a sound pressure self-checking apparatus including: the device comprises a sounding device, a driving unit, a signal processing unit and a microprocessor unit, wherein the microprocessor unit is used for generating a pulse width modulation signal and transmitting the pulse width modulation signal to the driving unit; the driving unit is used for converting the pulse width modulation signal into a driving voltage; the sound generating device is used for generating deformation when the driving voltage passes through, the deformation enables gas in a sound cavity of the sound generating device to generate sound, and the deformation enables the sound generating device to generate alternating current voltage; the signal processing unit is used for receiving the alternating voltage from the sound generating device and converting the alternating voltage into a target direct voltage; the microprocessor unit is further used for analyzing the voltage amplitude of the target direct current voltage to determine the sound pressure of the sound emitted by the sound emitting device.
In one exemplary embodiment, a sound emitting device includes: the piezoelectric ceramic piece is used for generating deformation under the action of an inverse piezoelectric effect when the driving voltage passes through; the substrate and the feedback electrode are used for generating the alternating voltage under the action of the deformation, wherein the amplitude of the alternating voltage is positively correlated with the magnitude of the deformation.
In one exemplary embodiment, the signal processing unit includes: the sound generating device comprises a first resistor, a first diode, a first capacitor, a second resistor, a third resistor, a fourth resistor, a second diode and a power supply, wherein a first end of the first resistor is connected with a feedback electrode of the sound generating device, and a second end of the first resistor is grounded; the anode of the first diode is connected with the first end of the first resistor, and the cathode of the first diode is connected with the first end of the first capacitor; the second end of the first capacitor is connected with the second end of the first resistor; the first end of the second resistor is connected to the cathode of the first diode, and the second end of the second resistor is connected to the second end of the first resistor; the first end of the third resistor is connected to the cathode of the first diode, and the second end of the third resistor is connected to the first end of the fourth resistor; the second end of the fourth resistor is connected with the second end of the first resistor; the anode of the second diode is connected to the first end of the fourth resistor and the microprocessor unit, and the cathode of the second diode is connected to the power supply.
According to yet another embodiment of the present invention, there is also provided a computer-readable storage medium having stored therein a computer program, wherein the computer program when executed by a processor implements the steps of the method as described in any of the above.
According to a further embodiment of the invention, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to a further embodiment of the invention, there is also provided a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method as described in any of the preceding claims.
According to the invention, the sound-emitting device is deformed to emit sound through the PWM signal, and when the sound-emitting device emits sound, alternating voltage positively correlated with the sound pressure is generated, and the sound pressure self-checking function is completed through recognizing the processed voltage, so that the self-checking of the sound pressure is realized. Therefore, the problem of sound pressure false detection caused by interference of environmental noise in the related art can be solved, and the effect of reducing the sound pressure false detection is achieved.
Drawings
Fig. 1 is a hardware block diagram of an arithmetic device of a sound pressure self-checking method according to an embodiment of the present invention;
Fig. 2 is a flowchart of a sound pressure self-test method according to an embodiment of the present invention;
Fig. 3 is a functional block diagram of a signal processing unit according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a first AC voltage according to an embodiment of the invention;
FIG. 5 is a second DC voltage schematic in accordance with an embodiment of the invention;
FIG. 6 is a fourth DC voltage schematic in accordance with an embodiment of the invention;
Fig. 7 is a block diagram of a sound pressure self-checking device according to an embodiment of the present invention;
FIG. 8 is a block diagram of a sound emitting device according to an embodiment of the present invention;
fig. 9 is a block diagram of a signal processing unit according to an embodiment of the present invention.
Detailed Description
For a better understanding of the embodiments of the present invention, some terms in the embodiments of the present invention are explained below:
Sound pressure self-checking device: the sound-sensing fire alarm is used in all products which take sound as an important function or have special requirements on volume, such as fire detection alarms of smoke sensing fire detection alarms, temperature sensing fire detection alarms, combustible gas detection alarms and the like, building inclination alarms, audible and visual alarms and the like.
Sound pressure: during the process of sound wave propagation in the air, the medium particles vibrate, so that the air generates density change, and the pressure generated on the medium (air) due to the sound wave vibration is called sound pressure. The sound pressure unit is Pa (Pa) or newton per square meter, where 1 pa=1n/m 2.
Sound pressure level: i.e., the level of sound pressure, is expressed in logarithmic units in decibels (dB). For example, the noise in daily life exceeds a certain decibel, which is the sound pressure level of the noise, and the sound level is usually compared.
Self-checking: the device detects whether each component of its own hardware can operate normally.
An alarm is a device that emits an alarm sound or light signal to alert a person. In some safety protection occasions, an alarm is usually used for sending out alarm sound and/or light to indicate danger, so that people can be reminded of danger, and emergency treatment, evacuation or danger avoidance is needed immediately. Therefore, the alarm sound signal is very important as an effective alarm mode with high timeliness and wide notification range, and whether the function of the alarm sound signal is normal or not.
The sound pressure is an important index for measuring the sound volume, so that more people can be notified at key time in order to ensure that the alarm volume is large enough, and the sound pressure level index during alarm is specified in the relevant standard. And the sound pressure is self-checked according to the sound pressure level index, so that whether the alarm sound function of the alarm is normal or not can be effectively detected, and equipment with abnormal sound function can be effectively identified, and replaced or repaired in time.
At present, a common sound pressure self-checking mode is that a sound pick-up (also called a microphone or a microphone) is added in a circuit, during self-checking, an alarm performs analog alarm, an acoustic signal is collected through the sound pick-up, the acoustic signal is converted into an electric signal, and the collected electric signal is processed and identified, and because the amplitude of the electric signal and the amplitude of the sound pressure are positively correlated, the sound pressure level can be judged through the amplitude of the electric signal: when self-checking, the amplitude of the electric signal is close to 0, which indicates abnormal alarm sound function, the amplitude of the electrical signal is less than a threshold value when self-checking, indicating that the sound pressure level does not reach the standard, thereby realizing the self-checking of sound pressure.
However, the following problems exist in the conventional scheme of adopting a sound pickup to perform sound pressure self-test:
1) Easy false detection qualification: when self-checking, when other noise sources exist in the surrounding environment, the pickup can collect and convert all sounds including noise into electric signals, and especially under the condition that the sound volume of the noise source is large enough, even if the sound function of the alarm is faulty, the amplitude of the electric signals collected by the pickup is enough to reach a judging threshold value, so that the sound function of the alarm is misjudged to be normal.
2) High power consumption: most alarms are battery powered, and power consumption directly affects battery life. Because the consumption of adapter is great, consequently, carry out acoustic pressure self-checking through the adapter can reduce the life of battery. Or reduce the consumption through the power supply of control adapter in the design, this kind of mode is through controlling the power supply for the adapter when needing the adapter, and the outage of the other time control adapter to practice thrift the consumption, but like this can increase control cost.
3) The cost is high: the cost of the pickup is higher, the pickup and the related processing circuit are added, the product cost can be increased, and the cost performance of the product is reduced.
In summary, aiming at the problems, the invention provides a sound pressure self-checking method, which can realize effective self-checking of the sound pressure of an alarm under the condition of only increasing minimum cost, avoid false checking and simultaneously not reduce the service life of the original battery.
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
Fig. 1 is a block diagram of a hardware structure of an arithmetic device of a sound pressure self-checking method according to an embodiment of the present application, and a microprocessor unit in the method embodiment provided in the embodiment of the present application may be executed in the arithmetic device of fig. 1. As shown in fig. 1, the computing device may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU, a programmable logic device FPGA, or the like processing device) and a memory 104 for storing data, where the computing device may further include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the configuration shown in fig. 1 is merely illustrative, and is not intended to limit the configuration of the computing device. For example, the computing device may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to the acoustic pressure self-checking method in the embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the computing device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computing device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as a NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, a method for operating the above computing device is provided, and the method is applied to a sound pressure self-checking device, where the sound pressure self-checking device is provided with a sound generating device, a driving unit, a signal processing unit, and a microprocessor unit, and fig. 2 is a flowchart of a sound pressure self-checking method according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
Step S202, the microprocessor unit generates a pulse width modulation signal, the pulse width modulation signal generates a driving voltage through the driving unit, the driving voltage enables the sounding device to generate deformation, the deformation enables gas in a sound cavity of the sounding device to generate sound, and the deformation enables the sounding device to generate alternating voltage;
the pulse width modulation signal (PWM signal) is a pulse signal for adjusting an output signal of an electronic device, the width of the pulse of which varies according to the amplitude of an analog signal, and the magnitude of the output voltage is controlled mainly by adjusting the pulse width of the signal; the driving voltage can be a direct current voltage generated by a PWM signal, and the sound generating device can generate stable deformation through the direct current voltage; the sounding device may be a buzzer, where the piezoelectric ceramic sheet in the buzzer deforms after receiving the ac voltage, so as to sound. When the sound pressure self-checking is executed, the microprocessor unit generates a PWM signal, the PWM signal generates higher PWM driving voltage through the buzzer driving unit, the piezoelectric ceramic buzzer generates forward and reverse deformation along with the change of the frequency of the PWM signal under the action of the reverse piezoelectric effect, and the deformation agitates the gas in the sound cavity to emit sound, wherein the amplitude of the deformation is positively correlated with the size of the sound pressure.
The self-checking device of the sound pressure sends out a pulse signal, so that the buzzer sounds under the action of the pulse signal, the sound pressure is detected, the self-checking device of the sound pressure is ensured to respond only when the alarm sounds, and the possibility of false detection caused by environmental noise is avoided.
In step S204, the microprocessor unit analyzes the voltage amplitude of the target dc voltage to determine the sound pressure of the sound emitted by the sound emitting device, where the target dc voltage is a dc voltage obtained by converting the ac voltage generated by the sound emitting device by the signal processing unit.
The target direct-current voltage can be an alternating-current voltage generated by deformation of the sounding device and is output after being processed by the signal processing unit; through analyzing the amplitude of the direct current voltage, the sound pressure of the sound emitted by the sound emitting device can be determined, so that the self-detection of the sound pressure is completed.
Alternatively, the main body of execution of the above steps may be a background processor, or other devices with similar processing capability, and may also be a machine integrated with at least an image acquisition device and a data processing device, where the image acquisition device may include a graphics acquisition module such as a camera, and the data processing device may include a terminal such as a computer, a mobile phone, and the like, but is not limited thereto.
Through the steps, the positive piezoelectric effect of the piezoelectric ceramic buzzer is skillfully utilized, the sounding device is enabled to deform and sound through the PWM signal, and when the sounding device sounds, alternating current voltage positively correlated with the sound pressure is generated, the sound pressure self-checking function is completed through recognizing the processed voltage, and the self-checking of the sound pressure is realized. The problem of sound pressure false detection caused by interference of environmental noise in the related art is solved, the situation of sound pressure false detection is reduced, and the effectiveness of sound pressure self-detection is improved.
In addition, as the active devices are not added, and the passive devices are adopted for signal acquisition, no extra power consumption is generated, and therefore the service life of the original battery is not reduced; meanwhile, no complex active device exists, the number of used components is small, and the overall scheme cost is low.
As an alternative embodiment, the sound generating device is provided with a piezoelectric ceramic plate, and the driving voltage deforms the sound generating device, including: the driving voltage enables the piezoelectric ceramic piece to generate the deformation under the action of the inverse piezoelectric effect.
As an alternative embodiment, the sound generating device is further provided with a substrate and a feedback pole, and the deformation makes the sound generating device generate an ac voltage, including: the deformation causes the alternating voltage to be generated between the feedback pole and the substrate, wherein the amplitude of the alternating voltage is positively correlated with the magnitude of the deformation.
Optionally, when the piezoelectric ceramic plate of the sounding device deforms, due to positive piezoelectric effect, alternating voltage which changes along with the deformation can be generated between the feedback electrode and the metal substrate, and the amplitude of the voltage is positively correlated with the deformation of the sounding device and is positively correlated with the sound pressure of the sounding device.
As an alternative embodiment, before the microprocessor unit analyzes the voltage amplitude of the target dc voltage to determine the sound pressure of the sound emitted by the sound emitting device, the method further includes: the alternating voltage generated by the sound generating device is transmitted to the signal processing unit, and the signal processing unit converts the alternating voltage into the target direct voltage.
Specifically, the signal processing unit includes: the utility model provides a sound production device, including sound production device, signal processing unit, filter circuit, second load circuit block, partial pressure sampling circuit and protection circuit, the sound production device produces alternating voltage transmission to signal processing unit will alternating voltage converts the target direct voltage includes: the first load circuit reduces the amplitude of the alternating voltage to obtain a first alternating voltage, and inputs the first alternating voltage into the rectifying circuit; the rectification circuit converts the first alternating voltage into a first direct voltage and inputs the first direct voltage into the filter circuit; the filter circuit filters the first direct-current voltage to obtain a second direct-current voltage, and inputs the second direct-current circuit into the second load circuit; the second load circuit reduces the amplitude of the second direct current voltage to obtain a third direct current voltage, and inputs the third direct current voltage into the voltage division sampling circuit; the voltage division sampling circuit divides the third direct-current voltage to obtain a fourth direct-current voltage, and inputs the fourth direct-current voltage into the protection circuit; and the protection circuit filters the direct-current voltage with the amplitude exceeding a preset threshold value in the fourth direct-current voltage to obtain the target direct-current voltage.
In the circuit, the first alternating voltage is reduced by the first load circuit, so that the first stable assistance of the voltage signal is realized; then, rectifying and filtering the first alternating voltage through a diode (rectifying circuit) and a capacitor (filtering circuit) respectively to obtain a second direct voltage, and reducing the amplitude of the second direct voltage through a second load circuit again to realize secondary stabilizing and assisting of a voltage signal and ensure the stability of the direct voltage; the stable direct current voltage (third direct current voltage) is input into the voltage division sampling circuit to divide the voltage, the voltage (fourth direct current voltage) in a safety range which can be identified by the microprocessor is obtained, meanwhile, in order to avoid the situation that the voltage amplitude of the voltage after voltage division sampling exceeds the safety range due to resistance errors or circuit load influence, the direct current voltage with the amplitude exceeding a preset threshold value in the voltage obtained by voltage division is filtered by the protection circuit, the target direct current voltage amplitude input into the microprocessor is ensured to be in the safety range, and the microprocessor is prevented from being damaged or failed.
Fig. 3 is a schematic functional block diagram of a signal processing unit according to an embodiment of the present invention, as shown in fig. 3, the signal processing unit mainly includes functions of rectification, filtering, voltage division sampling, protection circuit, etc., where a specific process flow is as follows:
s1, connecting an alternating voltage into a load I in a signal processing unit, reducing and stabilizing the amplitude of the alternating voltage, wherein the waveform of the alternating voltage (first alternating voltage) after reducing and stabilizing is shown in fig. 4;
S2, connecting the stabilized alternating voltage into a rectifying circuit to rectify the alternating voltage into direct voltage (first direct voltage), and connecting the direct voltage into a filtering circuit;
s3, generating more stable direct current voltage through a filter circuit, and rectifying and filtering to obtain a direct current voltage (second direct current voltage) waveform shown in fig. 5;
s4, connecting the stable direct-current voltage into a second load to obtain the voltage (third direct-current voltage) under the load;
And S5, finally, dividing the stable direct current voltage (third direct current voltage) by a voltage division sampling circuit, processing the voltage (fourth direct current voltage) obtained by dividing the voltage into a voltage (target direct current voltage) in a safety range recognizable by the microprocessor by a protection circuit, and inputting the voltage (fourth direct current voltage) into the microprocessor for analysis processing, wherein the waveform of the voltage (fourth direct current voltage) obtained by dividing the voltage is shown in fig. 6.
The direct current voltage after partial pressure sampling is positively correlated with the sound pressure of the sound production of the buzzer, and the voltage amplitude after partial pressure sampling is analyzed by the microprocessor, so that whether the buzzer produces sound or not and the sound pressure can be effectively identified, and the effective self-checking of the sound pressure is completed.
As an alternative embodiment, the microprocessor analyzes the voltage amplitude of the target dc voltage to determine the sound pressure of the sound emitted by the sound emitting device, including: the microprocessor determines a target sound pressure matched with the voltage amplitude of the target direct-current voltage in a preset mapping relation, wherein the corresponding relation between the voltage amplitude and the sound pressure is recorded in the preset mapping relation; and determining the target sound pressure as the sound pressure of the sound emitted by the sound emitting device.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
In this embodiment, a sound pressure self-checking device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and is not described in detail. Fig. 7 is a block diagram of a sound pressure self-checking device according to an embodiment of the present invention, as shown in fig. 7, the device includes: the device comprises a sounding device, a driving unit (buzzer driving), a signal processing unit and a microprocessor unit, wherein the microprocessor unit is used for generating a pulse width modulation signal and transmitting the pulse width modulation signal to the driving unit; the driving unit is used for converting the pulse width modulation signal into a driving voltage; the sound generating device is used for generating deformation when the driving voltage passes through, the deformation enables gas in a sound cavity of the sound generating device to generate sound, and the deformation enables the sound generating device to generate alternating current voltage; the signal processing unit is used for receiving the alternating voltage from the sound generating device and converting the alternating voltage into a target direct voltage; the microprocessor unit is further used for analyzing the voltage amplitude of the target direct current voltage to determine the sound pressure of the sound emitted by the sound emitting device.
In one exemplary embodiment, fig. 8 is a block diagram of a sound emitting device according to an embodiment of the present invention, as shown in fig. 8, the sound emitting device includes: the piezoelectric ceramic piece (silver-plated piezoelectric ceramic piece) is used for generating deformation under the action of an inverse piezoelectric effect when the driving voltage passes through; a substrate (metal substrate) and a feedback pole for generating the alternating voltage under the action of the deformation, wherein the amplitude of the alternating voltage is positively correlated with the magnitude of the deformation.
In an exemplary embodiment, fig. 9 is a block diagram of a signal processing unit according to an embodiment of the present invention, and as shown in fig. 9, the signal processing unit includes: the sound generating device comprises a first resistor R1, a first diode D1, a first capacitor C1, a second resistor R2, a third resistor R3, a fourth resistor R4, a second diode D2 and a power supply VDD, wherein a first end of the first resistor is connected with a feedback pole of the sound generating device, and a second end of the first resistor is grounded; the anode of the first diode is connected with the first end of the first resistor, and the cathode of the first diode is connected with the first end of the first capacitor; the second end of the first capacitor is connected with the second end of the first resistor; the first end of the second resistor is connected to the cathode of the first diode, and the second end of the second resistor is connected to the second end of the first resistor; the first end of the third resistor is connected to the cathode of the first diode, and the second end of the third resistor is connected to the first end of the fourth resistor; the second end of the fourth resistor is connected with the second end of the first resistor; the anode of the second diode is connected to the first end of the fourth resistor and the microprocessor unit, and the cathode of the second diode is connected to the power supply.
Embodiments of the present invention also provide a computer readable storage medium having a computer program stored therein, wherein the computer program when executed by a processor implements the steps of the method described in any of the above.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Embodiments of the application also provide a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method described in the various embodiments of the application.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. The sound pressure self-checking method is characterized by being applied to a sound pressure self-checking device, wherein the sound pressure self-checking device is provided with a sound generating device, a driving unit, a signal processing unit and a microprocessor unit, and comprises the following steps:
the microprocessor unit generates a pulse width modulation signal, the pulse width modulation signal generates a driving voltage through the driving unit, the driving voltage enables the sounding device to generate deformation, the deformation enables gas in a sound cavity of the sounding device to generate sound, and the deformation enables the sounding device to generate alternating voltage;
The microprocessor unit analyzes the voltage amplitude of the target direct-current voltage to determine the sound pressure of sound emitted by the sound emitting device, wherein the target direct-current voltage is the direct-current voltage obtained by converting the alternating-current voltage generated by the sound emitting device by the signal processing unit.
2. The method of claim 1, wherein the sound emitting device is provided with a piezoelectric ceramic sheet, and wherein the driving voltage deforms the sound emitting device, comprising:
The driving voltage enables the piezoelectric ceramic piece to generate the deformation under the action of the inverse piezoelectric effect.
3. A method according to claim 1 or 2, wherein the sound emitting device is further provided with a substrate and a feedback pole, the deformation causing the sound emitting device to generate an alternating voltage, comprising:
The deformation causes the alternating voltage to be generated between the feedback pole and the substrate, wherein the amplitude of the alternating voltage is positively correlated with the magnitude of the deformation.
4. The method of claim 1, wherein before the microprocessor unit analyzes the voltage magnitude of the target dc voltage to determine the sound pressure of the sound emitted by the sound emitting device, the method further comprises:
The alternating voltage generated by the sound generating device is transmitted to the signal processing unit, and the signal processing unit converts the alternating voltage into the target direct voltage.
5. The method of claim 4, wherein the signal processing unit comprises: the utility model provides a sound production device, including sound production device, signal processing unit, filter circuit, second load circuit block, partial pressure sampling circuit and protection circuit, the sound production device produces alternating voltage transmission to signal processing unit will alternating voltage converts the target direct voltage includes:
The first load circuit reduces the amplitude of the alternating voltage to obtain a first alternating voltage, and inputs the first alternating voltage into the rectifying circuit;
the rectification circuit converts the first alternating voltage into a first direct voltage and inputs the first direct voltage into the filter circuit;
The filter circuit filters the first direct-current voltage to obtain a second direct-current voltage, and inputs the second direct-current circuit into the second load circuit;
The second load circuit reduces the amplitude of the second direct current voltage to obtain a third direct current voltage, and inputs the third direct current voltage into the voltage division sampling circuit;
The voltage division sampling circuit divides the third direct-current voltage to obtain a fourth direct-current voltage, and inputs the fourth direct-current voltage into the protection circuit;
and the protection circuit filters the direct-current voltage with the amplitude exceeding a preset threshold value in the fourth direct-current voltage to obtain the target direct-current voltage.
6. The method of claim 1, wherein the microprocessor unit analyzes the voltage magnitude of the target dc voltage to determine the sound pressure of the sound emitted by the sound emitting device, comprising:
The microprocessor determines a target sound pressure matched with the voltage amplitude of the target direct-current voltage in a preset mapping relation, wherein the corresponding relation between the voltage amplitude and the sound pressure is recorded in the preset mapping relation;
And determining the target sound pressure as the sound pressure of the sound emitted by the sound emitting device.
7. A sound pressure self-checking device is characterized by comprising a sound generating device, a driving unit, a signal processing unit and a microprocessor unit, wherein,
The microprocessor unit is used for generating a pulse width modulation signal and transmitting the pulse width modulation signal to the driving unit;
the driving unit is used for converting the pulse width modulation signal into a driving voltage;
The sound generating device is used for generating deformation when the driving voltage passes through, the deformation enables gas in a sound cavity of the sound generating device to generate sound, and the deformation enables the sound generating device to generate alternating current voltage;
The signal processing unit is used for receiving the alternating voltage from the sound generating device and converting the alternating voltage into a target direct voltage;
the microprocessor unit is further used for analyzing the voltage amplitude of the target direct current voltage to determine the sound pressure of the sound emitted by the sound emitting device.
8. The acoustic pressure self-test device of claim 7, wherein the sound emitting means comprises:
the piezoelectric ceramic piece is used for generating deformation under the action of an inverse piezoelectric effect when the driving voltage passes through;
the substrate and the feedback electrode are used for generating the alternating voltage under the action of the deformation, wherein the amplitude of the alternating voltage is positively correlated with the magnitude of the deformation.
9. The sound pressure self-test device according to claim 8, wherein the signal processing unit includes: a first resistor, a first diode, a first capacitor, a second resistor, a third resistor, a fourth resistor, a second diode and a power supply, wherein,
A first end of the first resistor is connected with a feedback electrode of the sound generating device, and a second end of the first resistor is grounded;
The anode of the first diode is connected with the first end of the first resistor, and the cathode of the first diode is connected with the first end of the first capacitor;
the second end of the first capacitor is connected with the second end of the first resistor;
The first end of the second resistor is connected to the cathode of the first diode, and the second end of the second resistor is connected to the second end of the first resistor;
The first end of the third resistor is connected to the cathode of the first diode, and the second end of the third resistor is connected to the first end of the fourth resistor;
the second end of the fourth resistor is connected with the second end of the first resistor;
The anode of the second diode is connected to the first end of the fourth resistor and the microprocessor unit, and the cathode of the second diode is connected to the power supply.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, wherein the computer program, when being executed by a processor, realizes the steps of the method according to any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411151748.1A CN118658277A (en) | 2024-08-21 | 2024-08-21 | Sound pressure self-checking method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411151748.1A CN118658277A (en) | 2024-08-21 | 2024-08-21 | Sound pressure self-checking method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118658277A true CN118658277A (en) | 2024-09-17 |
Family
ID=92697714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411151748.1A Pending CN118658277A (en) | 2024-08-21 | 2024-08-21 | Sound pressure self-checking method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118658277A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104697627A (en) * | 2013-12-09 | 2015-06-10 | 深圳市海洋王照明工程有限公司 | Voice and vibration detection circuit and voice and vibration detection device |
CN218497635U (en) * | 2022-08-30 | 2023-02-17 | 赛特威尔电子股份有限公司 | Sound detection circuit based on self-feedback of sounder and alarm |
-
2024
- 2024-08-21 CN CN202411151748.1A patent/CN118658277A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104697627A (en) * | 2013-12-09 | 2015-06-10 | 深圳市海洋王照明工程有限公司 | Voice and vibration detection circuit and voice and vibration detection device |
CN218497635U (en) * | 2022-08-30 | 2023-02-17 | 赛特威尔电子股份有限公司 | Sound detection circuit based on self-feedback of sounder and alarm |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9721457B2 (en) | Global positioning system equipped with hazard detector and a system for providing hazard alerts thereby | |
US20200152033A1 (en) | Battery-powered device having a battery and loud sound detector using passive sensing | |
US20160093187A1 (en) | Sound and Temperature Sensors for Environmental Anomaly Detection | |
CN108122383B (en) | Alarm signal output device, detection alarm equipment and detection alarm platform system | |
CN102547526A (en) | Real-time monitoring method and system of microphone working state | |
CN110618916A (en) | Server protection method, equipment and medium | |
CN104807395A (en) | Mobile terminal deformation alarm device, monitoring system and alarm method of mobile terminal deformation alarm device | |
CN112067323B (en) | Automatic inspection system | |
CN118658277A (en) | Sound pressure self-checking method and device | |
CN213601355U (en) | Medical equipment and alarm circuit thereof | |
EP2843655B1 (en) | Apparatus and method of silent monitoring alarm sounders | |
CN108804574A (en) | Alarm prompt method, apparatus, computer readable storage medium and electronic equipment | |
CN112399012B (en) | Proximity sensor setting method, device and storage medium | |
US11176799B2 (en) | Global positioning system equipped with hazard detector and a system for providing hazard alerts thereby | |
JP2003149349A (en) | Lightning alarm device and lightning alarm method | |
CN114694365B (en) | Alarm detection device and method | |
TWI760991B (en) | Device and method for alarm detetion | |
CN220983396U (en) | Capacitor state monitoring device based on ultrasonic signals | |
CN210091348U (en) | Transmission line's thing networking geological disasters early warning system | |
CN115188143B (en) | Control method and device of intelligent interaction equipment, intelligent interaction equipment and medium | |
CN110121136B (en) | Audio system, line terminal apparatus and branch terminal apparatus | |
CN210895755U (en) | Power dispatching monitoring secondary alarm system | |
KR100932323B1 (en) | Piezoelectric Generation System and Generation Method | |
CN115909628A (en) | Forest fire detection method and system based on infrasonic wave detection technology | |
WO2019036962A1 (en) | Machine room noise prompt system based on internet of things |
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 |