Snore detection circuit

The snoring detection circuit, composed of a microphone, sound amplification, and filtering module, solves the problem of high cost in snoring detection, achieves efficient snoring signal extraction and environmental noise removal, and reduces dependence on expensive chips.

CN223540682UActive Publication Date: 2025-11-11SHENZHEN F&R ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423082639.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-11-11
Estimated Expiration
2034-12-13

AI Technical Summary

Technical Problem

Existing snoring detection technologies rely on expensive artificial intelligence chips, resulting in high costs and tight supply, and making it difficult to effectively distinguish snoring signals from environmental noise.

Method used

The snoring detection circuit consists of a microphone, a first sound amplification module, an active filter module, and a processor. It removes environmental noise and extracts snoring signals through amplification and filtering techniques, and uses a common operational amplifier chip to achieve snoring detection.

Benefits of technology

It reduces the cost of snoring detection circuits, improves the accuracy of snoring signal detection, and eliminates the need for expensive artificial intelligence chips and complex software algorithms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223540682U_ABST
    Figure CN223540682U_ABST
Patent Text Reader

Abstract

The utility model provides a snore detection circuit which comprises a microphone, a first sound amplification module, an active filtering module and a processor, the first sound amplification module is used for amplifying sound signals collected by the microphone, the active filtering module is used for filtering the amplified sound signals, and the processor is used for processing the filtered sound signals. The processor is used for filtering various medium-high frequency spurious signals and environmental noise interference signals in the sound signals and outputting target sound signals of low-frequency components meeting snore fluctuating changes, and the processor is used for analyzing whether the target sound signals continuously and rhythmically change or not so as to judge whether the target sound signals are snore signals or not. According to the circuit, snore signal extraction and environmental noise interference filtering can be achieved through a common operational amplifier chip, an expensive artificial intelligence chip and a complex software sampling filtering and recognition algorithm do not need to be adopted, the design difficulty is greatly lowered, and the problems of cost and material preparation are solved. The snore detection circuit can be applied to products such as intelligent snore stopping pillows, intelligent mattresses, sleep monitoring equipment or wearable equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic circuit technology, and in particular to a snoring detection circuit. Background Technology

[0002] Snoring detection is a technology used to monitor and analyze snoring during sleep. It can help identify and assess a user's sleep apnea, thereby providing anti-snoring interventions, snoring analysis, or health advice. Snoring detection requires extracting snoring signals from sound data collected through a microphone. However, the sound data collected by the microphone is often mixed with various environmental noises, posing a challenge to accurately identifying snoring signals.

[0003] Currently, deep learning models are commonly used to detect snoring from sound data. These models learn snoring characteristics to eliminate environmental interference and improve detection performance. However, AI chips based on deep learning models are expensive and in short supply. Therefore, it is necessary to develop a snoring detection circuit that is both accurate and inexpensive. Utility Model Content

[0004] This application provides a snoring detection circuit that can accurately detect snoring signals from sound data, and does not require the use of an artificial intelligence chip, thereby reducing the cost of the snoring detection circuit.

[0005] This application provides a snoring detection circuit, including a microphone, a first sound amplification module, an active filter module, and a processor. The first sound amplification module is connected to the microphone, and the first sound amplification module and the processor are respectively connected to the active filter module, wherein:

[0006] The microphone is used to collect sound signals;

[0007] The first sound amplification module is used to amplify the sound signal and output the amplified sound signal;

[0008] The active filtering module is used to filter the amplified sound signal and output a target sound signal, wherein the target sound signal represents a signal that satisfies the low-frequency components of the snoring fluctuation.

[0009] The processor is used to determine whether the target sound signal is a snoring signal.

[0010] The embodiments of this application have at least the following beneficial effects: The snoring detection circuit provided in this application first amplifies the sound signal collected by the microphone through a first sound amplification module to enhance the intensity of the sound signal and outputs the amplified sound signal. Then, an active filtering module filters the amplified sound signal to remove various mid-to-high frequency stray signals and environmental noise interference signals mixed in the sound signal, and outputs a target sound signal with low-frequency components that meet the fluctuations of snoring to the processor. The processor then analyzes whether the target sound signal changes continuously and rhythmically to determine whether it is a snoring signal. Since the embodiments of this application can extract snoring signals and filter out environmental noise interference using ordinary operational amplifier chips, without the need for expensive artificial intelligence chips and complex software sampling, filtering, and recognition algorithms, the design difficulty can be greatly reduced, and cost and material availability issues can be resolved. The snoring detection circuit provided in this application can be applied to products such as smart anti-snoring pillows, smart mattresses, sleep monitoring devices, or wearable devices.

[0011] In one possible implementation of this application, there are multiple first sound amplification modules, and any two first sound amplification modules have different amplification factors;

[0012] The snoring detection circuit also includes a sensitivity setting module, which is used to select one of the amplified sound signals output by the first sound amplification module.

[0013] In the above embodiment, the snoring detection circuit is provided with multiple first sound amplification modules with different amplification factors, and the amplified sound signal output by one of the first sound amplification modules is selected by the sensitivity setting module. In this way, the sensitivity of snoring signal detection can be adjusted by adjusting the amplification factor.

[0014] In one possible implementation of this application, the sensitivity setting module is a toggle switch or a rotary switch.

[0015] In one possible embodiment of this application, the snoring detection circuit further includes a second sound amplification module, which is connected to the active filter module and is used to amplify the target sound signal and output the amplified target sound signal to the processor.

[0016] In the above embodiment, a second sound amplification module is provided after the active filtering module. The second sound amplification module amplifies the target sound signal output by the active filtering module to increase the intensity of the target sound signal input to the processor, so that the processor can analyze and process the target sound signal.

[0017] In one possible embodiment of this application, the snoring detection circuit further includes a rectification and filtering module, which is connected to the second sound amplification module and is used to rectify and filter the amplified target sound signal and then output the rectified and filtered target sound signal to the processor.

[0018] In the above embodiment, a rectification and filtering module is provided after the second sound amplification module to remove negative pulse signals from the amplified target sound signal and prevent negative pulse signals from causing abnormal processor operation.

[0019] In one possible embodiment of this application, there are multiple active filtering modules, multiple second sound amplification modules, and multiple rectifier filtering modules. The snoring detection circuit includes multiple sound processing branches, and each sound processing branch includes a first sound amplification module, a first active filtering module, a second sound amplification module, and a rectifier filtering module.

[0020] In the above embodiment, the snoring detection circuit has multiple sound processing branches. Each sound processing branch can amplify the sound signal, filter out environmental noise from the amplified sound signal, extract the target sound signal that satisfies the low-frequency components of snoring fluctuations, and amplify and filter out noise from the extracted target sound signal. Since the amplification factor of the first sound amplification module in each sound processing branch is different, the intensity of the target sound signal output to the processor after processing the input sound signal by each branch is different. That is, each sound processing branch can achieve snoring detection with different sensitivities. The user can select one of the sound processing branches according to actual needs through the sensitivity setting module. The processor performs snoring judgment processing based on the target sound signal output by the selected sound processing branch.

[0021] In one possible embodiment of this application, the snoring detection circuit further includes a third sound amplification module, which is connected to the microphone and the first sound amplification module respectively, for pre-amplifying the sound signal and outputting the pre-amplified sound signal to the first sound amplification module.

[0022] In the above embodiment, a third sound amplification module is provided between the microphone and the first sound amplification module. The sound signal output from the microphone is pre-amplified and then output to the first sound amplification module for further amplification. At the same time, impedance matching is formed with the operational amplifier of the first sound amplification module.

[0023] In one possible embodiment of this application, the snoring detection circuit further includes a power supply terminal and a power supply decoupling module. The power supply terminal is used to provide power, and the power supply decoupling module is connected between the power supply terminal and the microphone and the third sound amplification module.

[0024] In the above embodiments, the power supply terminal is used to provide working power to the functional modules in the snoring detection circuit. The power supply decoupling module can filter out various noise interference signals coupled in the power supply line and prevent low-frequency self-oscillation signals from appearing after the sound signal output by the microphone is amplified.

[0025] In one possible embodiment of this application, the power supply decoupling module includes a first resistor and an electrolytic capacitor; the first resistor is connected between the power supply terminal and the output terminal of the microphone; one end of the electrolytic capacitor is connected to the first resistor, and the other end is grounded.

[0026] In the above embodiments, the combination of resistors and electrolytic capacitors can provide effective decoupling within a certain frequency range, ensuring stable circuit operation and reducing noise interference.

[0027] In one possible embodiment of this application, the processor has an analog-to-digital conversion interface. The processor receives the target sound signal from the analog-to-digital conversion interface, converts the target sound signal into a digital signal, and analyzes whether the target sound signal changes continuously and rhythmically based on the digital signal, thereby determining whether the target sound signal is a snoring signal.

[0028] In the above embodiments, by converting the analog signal (target sound signal) into a digital signal, the processor can easily process and analyze the target sound signal.

[0029] It should be understood that the above general description and the following detailed description are merely exemplary and do not limit this application. Attached Figure Description

[0030] Figure 1 This is a schematic diagram of the snoring detection circuit provided in the embodiments of this application. Figure 1 ;

[0031] Figure 2 This is a schematic diagram of the snoring detection circuit provided in the embodiments of this application. Figure 2 ;

[0032] Figure 3 This is a schematic diagram of the snoring detection circuit provided in the embodiments of this application. Figure 3 . Detailed Implementation

[0033] To make the objectives, technical methods, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific examples described herein are for illustrative purposes only and are not intended to limit the scope of this application.

[0034] It should be noted that the meaning of "multiple" (or "more than") in the description of the embodiments of this application refers to two or more, and "greater than," "less than," "exceeding," etc. are understood to exclude the number itself, while "above," "below," "within," etc. are understood to include the number itself. If "first," "second," etc. are used in the description, they are only for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or the order of the technical features indicated.

[0035] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, or the existence of B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c can represent: the existence of a alone, the existence of b alone, the existence of c alone, the simultaneous existence of a and b, the simultaneous existence of a and c, the simultaneous existence of b and c, or the simultaneous existence of a, b, and c, where a, b, and c can be single or multiple.

[0036] The terms "substantially," "about," and similar terms used in the embodiments of this application are used as approximate terms, not as terms of degree, and are intended to take into account the inherent biases of measured or calculated values ​​known to those skilled in the art. Furthermore, the term "may" used in describing the embodiments of this application refers to "one or more possible embodiments." The terms "use," "using," and "used" used in the embodiments of this application can be considered synonymous with the terms "utilize," "utilizing," and "utilized," respectively. Additionally, the term "exemplary" is intended to refer to an instance or example.

[0037] In this application embodiment, unless otherwise explicitly specified and limited, the term "connection" should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral part; it can be a direct connection or an indirect connection through an intermediate medium. Furthermore, the term "coupled" can refer to an electrical connection method for achieving signal transmission. "Coupled" can be a direct electrical connection or an indirect electrical connection through an intermediate medium.

[0038] See Figure 1 This is a schematic diagram of the snoring detection circuit provided in an embodiment of this application. Figure 1 .like Figure 1 As shown, the snoring detection circuit provided in this embodiment includes a microphone 100, a first sound amplification module 200, an active filter module 300, and a processor 400. The first sound amplification module 200 is connected to the microphone 100, and the first sound amplification module 200 and the processor 400 are connected to the active filter module 300. The microphone 100 is used to collect sound signals; the first sound amplification module 200 is used to amplify the sound signals and output the amplified sound signals; the active filter module 300 is used to filter the amplified sound signals and output target sound signals, wherein the target sound signals represent the low-frequency components that satisfy the fluctuations of snoring; and the processor 400 is used to determine whether the target sound signals are snoring signals.

[0039] The snoring detection circuit provided in this embodiment first amplifies the sound signal collected by the microphone 100 through the first sound amplification module 200 to enhance the intensity and quality of the sound signal, and outputs the amplified sound signal. Then, the amplified sound signal is filtered by the active filtering module 300 to remove various mid-to-high frequency stray signals and environmental noise interference signals mixed in the sound signal, and outputs a target sound signal with low-frequency components that meet the fluctuations of snoring to the processor 400. The processor 400 then determines whether the target sound signal is a snoring signal. Since this embodiment can extract the snoring signal and filter out environmental noise interference using a common operational amplifier chip, it does not require expensive artificial intelligence chips or complex software sampling, filtering, and recognition algorithms, thus greatly reducing the design difficulty and solving the problems of cost and material availability.

[0040] It should be noted that the first sound amplification module 200 in this application embodiment can be implemented using a transistor amplifier, operational amplifier, or integrated circuit amplifier, etc., and this application embodiment does not limit this.

[0041] It should be noted that, given that most of the energy in snoring is concentrated in the low-frequency range, with less energy in the mid-frequency range and very little energy in the high-frequency range and above, this embodiment uses an active filtering module 300 to filter the input sound signal, removing mid-frequency and high-frequency signals (mainly stray signals and environmental noise interference signals), leaving the low-frequency snoring fluctuation signal, thereby achieving the purpose of snoring extraction. The active filtering module 300 in this embodiment can be implemented using an active low-pass filter or an active band-pass filter; this embodiment does not impose any limitations on this.

[0042] It should be noted that the processor 400 in this application embodiment may be a microcontroller (MCU), digital signal processor (DSP) system, etc., and this application embodiment does not limit it.

[0043] See Figure 2 This is a schematic diagram of the snoring detection circuit provided in an embodiment of this application. Figure 2 In some embodiments of this application, the snoring detection circuit includes multiple first sound amplification modules 200 as described above, and any two first sound amplification modules 200 have different amplification factors. The snoring detection circuit also includes a sensitivity setting module 1000, which is used to select the amplified sound signal output by one of the first sound amplification modules 200. In this embodiment, the snoring detection circuit uses multiple first sound amplification modules 200 with different amplification factors, and the sensitivity setting module 1000 selects the amplified sound signal output by one of the first sound amplification modules 200, thus enabling the sensitivity of snoring signal detection to be adjusted by adjusting the amplification factor.

[0044] It should be understood that because different first sound amplification modules 200 have different amplification factors, the same sound signal will produce sound signals of different intensities after being amplified by different first sound amplification modules 200. For example, a first sound amplification module 200 with a high amplification factor can output a sound signal with a higher signal strength than a first sound amplification module 200 with a low amplification factor. This higher signal strength makes it more likely that the processor 400 will determine that the current sound signal is a snoring signal, that is, the snoring detection sensitivity is higher. In other words, selecting the amplified sound signal output by the first sound amplification module 200 with a high amplification factor can achieve high-sensitivity snoring detection; while selecting the amplified sound signal output by the first sound amplification module 200 with a low amplification factor can achieve low-sensitivity snoring detection. Users can choose the sensitivity level of snoring detection according to their needs.

[0045] The aforementioned sensitivity setting module 1000 can be a switch, specifically a button switch, a touch button switch, etc.; the sensitivity setting module 1000 can also be a rotary switch. This application embodiment does not limit the specific form of the sensitivity setting module 1000. The sensitivity setting module 1000 enables the selection of snoring detection sensitivity levels.

[0046] In one possible specific example, the snoring detection circuit includes a microphone 100, multiple first sound amplification modules 200, a sensitivity setting module 1000, an active filter module 300, and a processor 400. The input terminal of each first sound amplification module 200 is connected to the microphone 100, and the output terminal of each first sound amplification module 200 is connected to the input terminal of the active filter module 300. The output terminal of the active filter module 300 is connected to the input terminal of the processor 400. The sensitivity setting module 1000 is connected between the microphone 100 and the first sound amplification modules 200, or connected to the processor 400, and can enable the signal of one of the first sound amplification modules 200 to be connected, or the signal of another first sound amplification module 200 to be cut off, thereby enabling the selection of the amplified sound signal output by one of the first sound amplification modules 200.

[0047] In another possible specific example, the snoring detection circuit includes a microphone 100, multiple first sound amplification modules 200, a sensitivity setting module 1000, multiple active filter modules 300, and a processor 400. The multiple first sound amplification modules 200 and multiple active filter modules 300 are connected one-to-one to form a multi-level sound processing branch. The input terminal of each first sound amplification module 200 is connected to the microphone 100, and the output terminal of each first sound amplification module 200 is connected to the input terminal of the corresponding active filter module 300. The output terminal of each active filter module 300 is connected to one input terminal of the processor 400. The sensitivity setting module 1000 is connected to the processor 400 and can output a level selection indication signal to the processor 400, so that the processor 400 selects to detect one of the sound processing branches according to the selection indication signal, thereby enabling the selection of the amplified sound signal output by one of the first sound amplification modules 200.

[0048] In some embodiments of this application, the snoring detection circuit further includes a second sound amplification module 500, which is connected to the active filter module 300 and is used to amplify the target sound signal and output the amplified target sound signal to the processor 400.

[0049] It should be understood that by setting up a second sound amplification module 500 after the active filter module 300, the target sound signal output by the active filter module 300 can be amplified by the second sound amplification module 500, thereby increasing the intensity of the target sound signal input to the processor 400, so that the processor 400 can analyze and process the target sound signal.

[0050] It should be noted that the second sound amplification module 500 in this application embodiment can be implemented using a transistor amplifier, operational amplifier, or integrated circuit amplifier, etc., and this application embodiment does not limit this.

[0051] In some embodiments of this application, the snoring detection circuit further includes a rectification and filtering module 600, which is connected to the second sound amplification module 500 and is used to rectify and filter the amplified target sound signal and output the rectified and filtered target sound signal to the processor 400.

[0052] It should be understood that a rectification and filtering module 600 is set after the second sound amplification module 500 to rectify and filter the amplified target sound signal to remove negative pulses and prevent negative pulse signals from causing abnormal operation of the processor.

[0053] In some embodiments of this application, there are multiple active filter modules 300, second sound amplification modules 500 and rectifier filter modules 600. The snoring detection circuit includes multiple sound processing branches, each of which includes a first sound amplification module 200, an active filter module 300, a second sound amplification module 500 and a rectifier filter module 600.

[0054] It should be understood that the snoring detection circuit has multiple sound processing branches. Each branch amplifies the sound signal, filters out environmental noise from the amplified signal, extracts the target sound signal containing low-frequency components that correspond to the fluctuations in snoring, and amplifies and filters out noise from the extracted target sound signal. Because the amplification factors of the first sound amplification modules 200 in each branch are different, the intensity of the target sound signal output to the processor 400 after processing the input sound signal varies. In other words, each branch can achieve snoring detection with different sensitivities. Users can select one of the sound processing branches through the sensitivity setting module 1000 according to their needs. The processor 400 then performs snoring judgment processing based on the target sound signal output by the selected branch.

[0055] In some embodiments of this application, the snoring detection circuit further includes a third sound amplification module 700, which is connected to the microphone 100 and the first sound amplification module 200 respectively, and is used to pre-amplify the sound signal and output the pre-amplified sound signal to the first sound amplification module 200.

[0056] It should be understood that a third sound amplification module 700 is set between the microphone 100 and the first sound amplification module 200. The sound signal output from the microphone 100 is pre-amplified and then output to the first sound amplification module 200 for further amplification. At the same time, it forms impedance matching with the operational amplifier of the first sound amplification module.

[0057] It should be noted that the third sound amplification module 700 in this application embodiment can be implemented using a transistor amplifier, operational amplifier, or integrated circuit amplifier, etc., and this application embodiment does not limit this.

[0058] In some embodiments of this application, the processor 400 has an analog-to-digital conversion interface. The processor 400 receives a target sound signal from the analog-to-digital conversion interface, converts the target sound signal into a digital signal, and analyzes whether the target sound signal changes continuously and rhythmically based on the digital signal, thereby determining whether the target sound signal is a snoring signal.

[0059] It should be understood that by converting the analog signal (target sound signal) into a digital signal, the processor 400 can easily process and analyze the target sound signal.

[0060] In some embodiments of this application, the snoring detection circuit further includes a power supply terminal 800 and a power supply decoupling module 900. The power supply terminal 800 is used to provide power supply, and the power supply decoupling module 900 is connected between the power supply terminal 800, the microphone 100, and the third sound amplification module 700.

[0061] It should be understood that the power supply terminal 800 is used to provide working power to the functional modules in the snoring detection circuit, and the power supply decoupling module 900 can filter out various noise interference signals coupled in the power supply line to prevent low-frequency self-oscillation signals from appearing after the sound signal output by the microphone 100 is amplified.

[0062] In some embodiments of this application, the power supply decoupling module 900 includes a first resistor and an electrolytic capacitor; the first resistor is connected between the power supply terminal 800, the output terminal of the microphone 100, and the third sound amplification module 700; one end of the electrolytic capacitor is connected to the first resistor, and the other end is grounded.

[0063] It should be understood that the combination of resistors and electrolytic capacitors can provide effective decoupling within a certain frequency range, ensuring stable circuit operation and reducing noise interference.

[0064] like Figure 2 As shown, the snoring detection circuit includes: a microphone 100, a third sound amplification module 700, multiple sound processing branches, a processor 400, a sensitivity setting module 1000, a power supply terminal 800, and a power supply decoupling module 900. Each sound processing branch includes a first sound amplification module 200, an active filter module 300, a second sound amplification module 500, and a rectifier filter module 600 connected sequentially. The third sound amplification module 700 is connected to the microphone 100. Each sound processing branch is connected to the output terminal of the third sound amplification module 700 and the input terminal of the processor 400. The sensitivity setting module 1000 is connected to the processor 400. The power supply terminal 800 supplies power to the microphone 100 and the active filter module 300. The power supply decoupling module 900 is connected to the power supply terminal 800.

[0065] Figure 2 The snoring detection circuit shown collects sound signals from the environment via microphone 100. Microphone 100 outputs the collected sound signals to the third sound amplification module 700, which pre-amplifies the sound signals. The sensitivity setting module 1000 can be a push-button switch or a rotary switch. The sensitivity setting module 1000 can select one of the sound processing branches to perform snoring extraction processing on the sound signal output from the third sound amplification module 700, outputting a target sound signal suspected to be snoring to the processor 400 for further snoring judgment processing. The first sound amplification modules 200 in each sound processing branch have different amplification factors. Therefore, the intensity of the target sound signal output to the processor 400 after processing by different sound processing branches is different, allowing the sensitivity setting module 1000 to obtain different snoring detection sensitivities when selecting different sound processing branches.

[0066] See Figure 3 This is a schematic diagram of the snoring detection circuit provided in an embodiment of this application. Figure 3 .like Figure 3 As shown, in this snoring detection circuit, +5V is the power supply terminal 800; resistor R2 is the load resistor of microphone 100 connected to CN1; resistor R1 and electrolytic capacitor EC1 form a power supply decoupling module 900, which is used to filter out various noise interference signals coupled in the 5V power supply line and avoid low-frequency self-oscillation signals after the sound signal collected by microphone 100 is amplified; capacitor C1, capacitor C2, resistor R3, resistor R4 and transistor Q1 form a third sound amplification module 700, which initially amplifies the sound signal collected by microphone 100 and then divides it into two sound processing branches.

[0067] The composition and working principle of the first sound processing branch are as follows: Operational amplifier chip U1 contains four operational amplifiers: U1A, U1B, U1C, and U1D. Capacitor C3, resistor R5, operational amplifier U1B, resistor R6, resistor R7, and capacitor C4 form a non-inverting operational amplifier circuit for AC signals (i.e., the first sound amplification module 200). Its amplification factor is 1 + (R7 ÷ R6), which amplifies the sound signal input to capacitor C3 a second time. Resistor R5 is the input load. Resistors R8 and R9, capacitors C5 and C6, resistors R11 and R10, and U1C form an active filter module 300, used to filter out various mid-to-high frequency stray signals and environmental noise interference signals mixed in the sound waveform, extracting the low-frequency snoring fluctuation envelope signal (i.e., the target sound signal). Resistor R12, capacitor C7, resistor R13, resistor R14, and U1D form a non-inverting operational amplifier circuit (i.e., the second sound amplification module 500), with a magnification factor of 1 + (R14 ÷ R13). This amplifies the waveform of the snoring fluctuation envelope signal input from resistor R12 and raises the overall snoring waveform above 0V. Diode D1, diode D2, capacitor C8, and resistor R15 form a voltage doubler rectifier filter module 600. Capacitor C8 is used to filter out noise so that it can be read by the analog-to-digital converter interface AD1 of the processor 400.

[0068] The second audio processing branch is as follows: Operational amplifier chip U2 contains four operational amplifiers: U2A, U2B, U2C, and U2D. Capacitor C9, resistor R16, U2A, resistor R17, resistor R18, and capacitor C10 form a non-inverting operational amplifier circuit for AC signals (i.e., the first audio amplification module 200), with a gain of 1 + (R18 ÷ R17). This amplifies the audio signal input to capacitor C9 a second time. Resistor R16 is the input load. Resistors R19 and R20, capacitors C11 and C12, resistors R21 and R22, and U2B form an active filter module 300, used to filter out various mid-to-high frequency stray signals and environmental noise interference signals mixed in the audio signal, and extract the low-frequency snoring fluctuation envelope signal (i.e., the target audio signal). Resistor R23, capacitor C13, resistor R24, resistor R25, and U2C form a non-inverting operational amplifier circuit with a gain of 1 + (R25 ÷ R24). This circuit amplifies the waveform of the snoring waveform input from resistor R23, raising the overall snoring waveform above 0V. Diode D3, diode D4, capacitor C14, and resistor R26 form a voltage doubler rectifier filter module 600. Capacitor C14 filters out noise for the processor 400's analog-to-digital converter interface AD2 to read.

[0069] Because the amplification factor of the in-phase operational amplifier stage composed of U1D in the first sound processing branch is relatively small, while the amplification factor of the in-phase operational amplifier stage composed of U2C in the second sound processing branch is relatively large, for the same intensity of snoring, the snoring signal amplitude detected by the AD1 port of the processor 400 is smaller, resulting in lower snoring detection sensitivity. Conversely, the snoring signal amplitude detected by the AD2 port of the processor 400 is larger, resulting in higher snoring detection sensitivity. In practice, the sensitivity setting module 1000 (which can be a push-button switch, toggle switch, or rotary switch, etc.) can be used to select the high or low sensitivity level of snoring detection. Specifically, the sensitivity setting module 1000 outputs a level selection indicator signal to the processor 400, and the processor 400 determines whether to use the AD1 port to read the lower-sensitivity snoring signal or the AD2 port to read the higher-sensitivity snoring signal based on the level selection indicator signal. The processor 400 reads the rhythm changes of the snoring signal through the AD1 / AD2 ports. If the maximum peak is detected to repeat continuously for more than 5 times, showing a relatively regular rhythm change, it can be determined as valid snoring; otherwise, it is considered as external sound interference. The sensitivity of snoring detection can be adjusted by changing the resistance values ​​of resistors R14 and R25. The higher the resistance values ​​of resistors R14 and R25, the higher the sensitivity of snoring detection, and the more sensitive the detection of snoring.

[0070] For example, a snoring detection circuit can be applied to a smart anti-snoring pillow or smart mattress. Based on the snoring detected in real time by the circuit, the pillow or mattress can autonomously intervene (such as adjusting the pillow / headboard angle) to reduce snoring and help improve the user's sleep. Users can choose the appropriate sensitivity level based on their sleep detection needs. For example, selecting a high sensitivity level will detect and respond to even softer snoring sounds. Conversely, selecting a low sensitivity level will only detect and respond to very loud snoring sounds.

[0071] This embodiment only describes a snoring detection circuit that allows for selectable high or low sensitivity through two sound processing branches. It should be understood that in specific embodiments, an additional sound processing branch can be added to achieve medium sensitivity, giving users more options. The method is the same as above, so it will not be described in detail here.

[0072] For component selection, U1 and U2 can be selected from chips with a working voltage of 3V to 36V and built-in 4-channel operational amplifiers, such as the LM324. C2 is selected as a 1nF surface mount capacitor, C1 and C15 are selected as 1uF surface mount capacitors, C3 and C9 are selected as 4.7uF surface mount capacitors, C4 and C10 are selected as 22uF surface mount capacitors, C8 and C14 are selected as 180nF capacitors, C5, C6, C7, C11, C12 and C13 are selected as 470nF surface mount capacitors, and EC1 is selected as a 220uF electrolytic capacitor with a withstand voltage of 16V. R1 should be 220 ohms, R2 2.2K, R3 3.9K, R4, R15, R26 1M, R7, R18 3M, R5, R16 220K, R6, R10, R11, R13, R17, R21, R22, R24 10K, R8, R9, R12, R19, R20, R23 100K, R14 51K, and R25 150K. Microphone 100 can be a high-sensitivity omnidirectional type with a sensitivity of -42±3dB, such as model JMO-945B-423C-100. Microphone 100 is mounted on the product casing to improve sound pickup. Microphone 100 also has a 2-pin connector, the other end of which has a PH-2Y male connector for plugging into the CN1 socket on the circuit board. D1, D2, D3, and D4 are surface-mount Schottky diodes of model B5819W, Q1 is an NPN surface-mount transistor such as 9014 or 8050, and CN1 is a socket with a lead pitch of 2mm and model PH-2A.

[0073] For example, the snoring detection circuit provided in this application embodiment can be applied to a smart anti-snoring pillow. For instance, a snoring detection circuit is provided in the smart anti-snoring pillow. This snoring detection circuit includes a microphone 100, a third sound amplification module 700, a sensitivity setting module 1000, multiple sound processing branches, and a processor 400. Each sound processing branch includes a first sound amplification module 200, an active filter module 300, a second sound amplification module 500, and a rectifier filter module 600. The microphone 100 collects sound signals from the surrounding environment and outputs the collected sound signals to the third sound amplification module 700, which pre-amplifies the sound signals. The sensitivity setting module 1000 can be a push-button switch or a rotary switch. The sensitivity setting module 1000 can select one of the sound processing branches to perform snoring extraction processing on the sound signal output by the third sound amplification module 700, and output a target sound signal suspected to be snoring to the processor 400 for further snoring judgment processing. Each sound processing branch has a first sound amplification module 200 with a different amplification factor. Therefore, the same sound signal, after being processed by different sound processing branches, will have different intensity levels of the target sound signal output to the processor 400. This allows the sensitivity setting module 1000 to obtain different snoring detection sensitivities when selecting different sound processing branches. The snoring extraction processing performed on the sound signal by each sound processing branch includes: amplifying the sound signal through the first sound amplification module 200 and outputting the amplified sound signal; filtering out various mid-to-high frequency stray signals and environmental noise interference signals in the amplified sound signal through the active filter module 300 and outputting the target sound signal, which can be understood as the low-frequency snoring fluctuation envelope signal; and amplifying the target sound signal and filtering out negative pulse signals through the second sound amplification module 500 and the rectifier filter module 600 before outputting the target sound signal to the processor 400. The processor 400 performs snoring detection processing on the target sound signal, including: determining whether the amplitude of the target sound signal exceeds a preset amplitude threshold; if so, further determining whether the maximum peak value of the target sound signal repeats continuously more than a preset number of times and exhibits a relatively regular rhythmic change; if so, the target sound signal is determined to be valid snoring. Based on the identified snoring, the intelligent anti-snoring pillow intervenes to reduce snoring by automatically adjusting the pillow's height, softness, and tilt angle.

[0074] For example, the snoring detection circuit provided in this application embodiment can be applied in a smart wearable device. For instance, a snoring detection circuit integrated into a smart wearable device includes a microphone 100, a third sound amplification module 700, a first sound amplification module 200, an active filter module 300, a second sound amplification module 500, and a rectifier filter module 600. The microphone 100 collects sound signals from the surrounding environment and outputs them to the third sound amplification module 700. The third sound amplification module 700 pre-amplifies the sound signals and outputs the pre-amplified sound signal. The first sound amplification module 200 further amplifies the pre-amplified sound signal and outputs the amplified sound signal. The active filter module 300 filters out various mid-to-high frequency stray signals and environmental noise interference signals from the amplified sound signal, outputting the target sound signal, which can be understood as the low-frequency snoring fluctuation envelope signal. After the second sound amplification module 500 and the rectifier filter module 600 amplify the target sound signal and filter out negative pulse signals, the target sound signal is output to the processor 400. The processor 400 performs snoring judgment processing on the target sound signal, including: determining whether the amplitude of the target sound signal is greater than a preset amplitude threshold; if so, further determining whether the maximum peak value of the target sound signal continuously repeats more than a preset number of times and exhibits a relatively regular rhythmic change; if so, the target sound signal is determined to be valid snoring. The processor 400 records and analyzes valid snoring sounds, generates snoring detection data, and uploads it to the server. The server analyzes the user's sleep quality based on the snoring detection data and generates a sleep quality report. Users can view their sleep quality report and obtain relevant health advice by logging into the client APP.

[0075] The snoring detection circuit provided in this application embodiment can also be applied to products such as smart mattresses, sleep monitoring devices, smart home systems, and medical devices.

[0076] It should be noted that the apparatus described in the embodiments of this application is merely illustrative. For example, the division of units is only a logical functional division, and there may be other division methods in actual implementation. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection between devices or units, and may be electrical, mechanical, or other forms.

[0077] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0078] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0079] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium.

[0080] It should be noted that the descriptions of each embodiment in the above embodiments have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0081] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the scope of the technology disclosed in this application, or make equivalent substitutions for some of the technical features. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be covered within the protection scope of this application.

Claims

1. A snoring detection circuit, characterized in that, The system includes a microphone, a first sound amplification module, an active filter module, and a processor. The first sound amplification module is connected to the microphone, and the first sound amplification module and the processor are respectively connected to the active filter module. The microphone is used to collect sound signals; The first sound amplification module is used to amplify the sound signal and output the amplified sound signal; The active filtering module is used to filter the amplified sound signal and output a target sound signal, wherein the target sound signal represents a signal that satisfies the low-frequency components of the snoring fluctuation. The processor is used to determine whether the target sound signal is a snoring signal.

2. The snoring detection circuit according to claim 1, characterized in that, There are multiple first sound amplification modules, and any two first sound amplification modules have different amplification factors; The snoring detection circuit also includes a sensitivity setting module, which is used to select one of the amplified sound signals output by the first sound amplification module.

3. The snoring detection circuit according to claim 2, characterized in that, The sensitivity setting module is a toggle switch or a rotary switch.

4. The snoring detection circuit according to claim 2, characterized in that, The snoring detection circuit also includes a second sound amplification module, which is connected to the active filter module and is used to amplify the target sound signal and output the amplified target sound signal to the processor.

5. The snoring detection circuit according to claim 4, characterized in that, The snoring detection circuit also includes a rectification and filtering module, which is connected to the second sound amplification module. The rectification and filtering module is used to rectify and filter the amplified target sound signal to remove negative pulse signals, prevent negative pulse signals from causing abnormal operation of the processor, and output the rectified and filtered target sound signal to the processor.

6. The snoring detection circuit according to claim 5, characterized in that, There are multiple active filtering modules, multiple second sound amplification modules, and multiple rectifier filtering modules. The snoring detection circuit includes multiple sound processing branches, and each sound processing branch includes a first sound amplification module, a first active filtering module, a second sound amplification module, and a rectifier filtering module.

7. The snoring detection circuit according to claim 1, characterized in that, The snoring detection circuit further includes a third sound amplification module, which is connected to the microphone and the first sound amplification module respectively, and is used to pre-amplify the sound signal and output the pre-amplified sound signal to the first sound amplification module.

8. The snoring detection circuit according to claim 7, characterized in that, The snoring detection circuit also includes a power supply terminal and a power supply decoupling module. The power supply terminal is used to provide power, and the power supply decoupling module is connected between the power supply terminal, the microphone, and the third sound amplification module.

9. The snoring detection circuit according to claim 8, characterized in that, The power supply decoupling module includes a first resistor and an electrolytic capacitor; the first resistor is connected between the power supply terminal and the microphone output terminal; one end of the electrolytic capacitor is connected to the first resistor, and the other end is grounded.

10. The snoring detection circuit according to claim 1, characterized in that, The processor has an analog-to-digital conversion interface. The processor receives the target sound signal from the analog-to-digital conversion interface, converts the target sound signal into a digital signal, and analyzes whether the target sound signal changes continuously and rhythmically based on the digital signal, thereby determining whether the target sound signal is a snoring signal.