A control system based on negative electric field to aid sleep and abnormal snoring detection and intervention

By designing a control system based on negative electric fields, combining pressure sensing and human body sensing, using piezoelectric ceramic transformers and low-noise and high-sensitivity devices, the problems of low snoring recognition rate and poor stability of negative electric fields are solved, and efficient sleep monitoring and correction are achieved , improves sleep quality.

CN118502332BActive Publication Date: 2024-10-15SHANDONG LEKANG ELECTRONICS IND RES INST CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410969414.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-15
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

The existing technology is not sensitive enough to extract snoring sounds, and there is too much noise interference, resulting in a low recognition rate and the inability to accurately correct poor sleep states. Moreover, the pressure sensing sensor cannot accurately determine the state of a person in bed, and the stability of the negative electric field is also poor. Not good.

Method used

Design a control system based on negative electric field sleep aid and abnormal snoring detection and intervention. It detects the sound of a person snoring and performs signal processing to identify abnormal breathing. It uses a microcontroller to control the motor vibration to wake up the person, and determines the person's condition through pressure sensing or human body induction. The bed state uses a piezoelectric ceramic transformer to stably generate a negative electric field, combined with a low-noise and highly sensitive MIC1 collection device and an optimized signal processing algorithm to achieve accurate identification and correction.

Benefits of technology

It has achieved a snoring recognition rate of 98%, accurately determines the state of a person in bed, and corrects bad sleep through negative electric field intervention. The negative electric field generating unit has good stability, can effectively promote sleep, and improve sleep quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118502332B_ABST
    Figure CN118502332B_ABST
Patent Text Reader

Abstract

The present application discloses a control system based on negative electric field to aid sleep and abnormal snoring detection and intervention, including a main control unit and a power exchange unit, the main control unit is connected to a snoring acquisition unit, a negative electric field generating unit, an intervention unit and a detection unit, the detection unit includes a pressure detection unit and a capacitance change detection unit, and the power exchange unit is connected to a snoring acquisition unit and a negative electric field generating unit. It has the following advantages: by detecting the sound of human snoring and performing signal processing to identify abnormal breathing, when such abnormal signal is detected, the single-chip computer signal wakes the person from the snoring state by controlling the motor vibration, so that the person corrects the bad sleep state; by judging whether the person is out of bed through the capacitance change generated by pressure sensing or human body sensing, and judging by the person being in bed, the main control unit controls the start and output of the negative electric field at a fixed time to promote the person's sleep.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a control system based on negative electric field to aid sleep and abnormal snoring detection and intervention, belonging to the application field of electronic control technology. Background Art

[0002] Sleep is an indispensable physiological phenomenon for humans, and is accompanied by a variety of physiological activities, including slight movements of parts of the body. Although improving sleep quality has always been a life goal pursued by people, it is still a long way from achieving this goal due to the limited understanding of the sleep process and the lack of popular and effective monitoring methods.

[0003] The existing technology is not sensitive enough to extract snoring sounds, and there are many interferences, resulting in too much noise in the collected snoring sounds. The snoring sounds of people cannot be accurately identified, the recognition rate is too low, and the poor sleeping state cannot be effectively corrected.

[0004] The existing technology of using pressure sensing to identify whether a person is in bed has an obvious disadvantage, that is, if a heavy object is placed on the bed, it may misjudge the person to be in bed, and it is not possible to accurately determine the state of the person in bed.

[0005] In the prior art, the negative electric field is generated directly by electric energy, which has poor stability. Summary of the invention

[0006] The technical problem to be solved by the present invention is to address the above shortcomings and provide a control system based on negative electric field to aid sleep and abnormal snoring detection intervention. The system detects the sound of human snoring and performs signal processing to identify abnormal breathing. When such an abnormal signal is detected, the microcontroller signal wakes the person from the snoring state by controlling the motor vibration, so that the person can correct the bad sleep state. The capacitance change generated by pressure sensing or human body sensing is used to determine whether the person has left the bed, and based on the judgment of the person in bed, the main control unit controls the start and output of the negative electric field at a fixed time to promote the person's sleep.

[0007] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0008] A control system based on negative electric field sleep aid and abnormal snoring detection intervention, comprising a main control unit and a power exchange unit, the main control unit is connected to a snoring collection unit, a negative electric field generating unit, an intervention unit and a detection unit, the detection unit comprises a pressure detection unit and a capacitance change detection unit, and the power exchange unit is connected to a snoring collection unit and a negative electric field generating unit;

[0009] The main control unit includes a chip U6, and the model of the chip U6 is STM32F030C8T6.

[0010] Further, the snoring collection unit includes a transistor Q8, the base of the transistor Q8 is connected to one end of a capacitor C25 and one end of a resistor R42, the other end of the capacitor C25 is connected to one end of a resistor R34 and the positive electrode of the sound collection interface MIC1, the other end of the resistor R34 is connected to the VCC power supply, and the negative electrode of the sound collection interface MIC1 is grounded, the collector of the transistor Q8 is connected to the other end of the resistor R42, one end of the capacitor C31 and one end of the resistor R33, the other end of the resistor R33 is connected to the VCC power supply, the other end of the capacitor C31 is connected to one end of the resistor R43 and one end of the transistor Q7, the other end of the resistor R43 is connected to the VCC power supply, the collector of the transistor Q7 is connected to one end of the resistor R44, one end of the resistor R45 and one end of the capacitor C24, the other end of the resistor R44 is connected to the VCC power supply, the other end of the capacitor C24 is grounded, and the other end of the resistor R45 is connected to pin 2 of the interface CN1 and pin 14 of the chip U6.

[0011] Furthermore, the intervention unit includes a transistor Q9, a base of the transistor Q9 is connected to one end of a resistor R48, the other end of the resistor R48 is connected to pin 28 of the chip U6, a collector of the transistor Q9 is connected to one end of a diode D8 and one end of a resistor R47, the other end of the diode D8 is connected to a VCC5V power supply, the other end of the resistor R47 is connected to one end of an interface P6, and the other end of the interface P5 is connected to a VCC5V power supply.

[0012] Furthermore, the negative electric field generating unit includes a transistor Q3, the base of the transistor Q3 is connected to one end of a resistor R9, the other end of the resistor R9 is connected to pin 15 of the chip U6, the collector of the transistor Q3 is connected to pin 1 of the MOS tube Q1 and one end of the resistor R4, the other end of the resistor R4 and pin 2 of the MOS tube Q1 are connected to the VCC5V power supply, the pin 3 of the MOS tube Q1 is connected to one end of a diode D2, and is connected to the FDW_VCC interface, and the other end of the diode D2 is grounded.

[0013] Furthermore, the negative electric field generating unit also includes a chip U7, the model of chip U7 is AP3012, pins 6 and 4 of chip U7 are connected to one end of capacitor C17, one end of inductor L2 and one end of fuse F2, the other end of capacitor C17 is grounded, the other end of fuse F2 is connected to the FDW_VCC interface, the other end of inductor L2 is connected to one end of diode D7 and pin 1 of chip U7, the other end of diode D7 is connected to VCC12V power supply, pin 3 of chip U7 is connected to one end of resistor R41 and one end of resistor R45, the other end of resistor R41 is connected to VCC12V power supply, and the other end of resistor R45 is grounded.

[0014] Furthermore, the negative electric field generating unit also includes an op amp U10.1, an op amp U10.2, an op amp U10.3, and an op amp U10.4. The models of the op amps U10.1, U10.2, U10.3, and U10.4 are LM2901. Pin 7 of the op amp U10.1 is connected to one end of a resistor R22, one end of a resistor R18, and pin 11 of the op amp U10.4. The other end of the resistor R22 is connected to one end of a resistor R17 and one end of a resistor R25. The other end of the resistor R17 is connected to a VCC12V power supply. The other end of the resistor R25 is grounded. Pin 6 of the op amp 10.1 is connected to one end of a resistor R26, pin 10 of the op amp U10.4, and a capacitor C10. One end, the other end of capacitor C10 is grounded, pin 1 of op amp U10.1 is connected to the other end of resistor R26, the other end of resistor R18, one end of resistor R27 and one end of resistor R14, the other end of resistor R14 is connected to VCC12V power supply, pin 13 of op amp U10.4 is connected to one end of resistor R19, pin 2 of op amp U10.2 and pin 3 of MOS tube Q6, the other end of resistor R19 is connected to VCC12V power supply, pin 1 of MOS tube Q6 is connected to one end of capacitor C8 and one end of inductor L1, the other end of capacitor C8 and pin 2 of MOS tube Q6 are grounded, the other end of inductor L1 is connected to one end of capacitor C13 and connected to VCC12V power supply, and the other end of capacitor C13 is grounded.

[0015] Furthermore, pin 4 of the operational amplifier U10.2 is connected to the other end of the resistor R27 and one end of the capacitor C11, and the other end of the capacitor C11 is grounded. Pin 5 of the operational amplifier U10.2 is connected to one end of the capacitor C12, one end of the resistor R36, one end of the resistor R23 and one end of the resistor R29, and the other end of the resistor R23 is connected to the VCC12V power supply, and the other end of the capacitor C12 and the other end of the resistor R29 are grounded.

[0016] The 14th pin of the operational amplifier U10.3 is connected to the other end of the resistor R36 and one end of the capacitor C15, the other end of the capacitor C15 is connected to one end of the resistor R34, the 8th pin of the operational amplifier U10.3 is connected to the other end of the resistor R34, one end of the resistor R33 and one end of the resistor R39, the other end of the resistor R33 is connected to the VCC12V power supply, the other end of the resistor R39 is grounded, the 9th pin of the operational amplifier U10.3 is connected to one end of the resistor R30, one end of the resistor R37 and one end of the capacitor C16, the capacitor C1 6 is grounded, the other end of the resistor R37 is connected to one end of the resistor R32, the other end of the resistor R32 is connected to the VCC12V power supply, the other end of the resistor R30 is connected to one end of the diode D3 and one end of the capacitor C7, and is connected to the output interface GNDF, the other end of the diode D3 is connected to one end of the diode D4 and the 3rd pin of the piezoelectric ceramic transformer T2, the 1st pin of the piezoelectric ceramic transformer T2 is connected to the 1st pin of the MOS tube Q6, the 2nd pin of the piezoelectric ceramic transformer T2 is grounded, and the other end of the diode D4 is grounded.

[0017] Furthermore, the negative electric field generating unit also includes a chip U2, the model of chip U2 is TLP115A, pin 1 of chip U2 is connected to one end of resistor R7, the other end of resistor R7 is connected to pin 27 of chip U6, pin 5 of chip U2 is connected to one end of capacitor C5, one end of resistor R5 and one end of resistor R8, the other end of capacitor C5 is grounded, the other end of resistor R5 is connected to VCCF5V power supply, the other end of resistor R8 is connected to pin 1 of MOS tube Q2, pin 1 of MOS tube Q2 is connected to VCCF5V power supply, pin 3 of MOS tube Q2 is connected to one end of resistor R12 and one end of resistor R10, the other end of resistor R12 is grounded, the other end of resistor R10 is connected to the base of transistor Q4, the collector of transistor Q4 is connected to one end of resistor R6 and connected to negative electric field output point T1, and the other end of resistor R6 is grounded.

[0018] Furthermore, the pressure detection unit includes a pressure sensor interface P6, pin 2 of the pressure sensor interface P6 is connected to one end of a resistor R55, one end of a resistor R56 and one end of a capacitor C29, the other end of the resistor R55 is connected to a VCC 3.3V power supply, the other end of the resistor R56 is connected to pin 19 of the chip U6, and the other end of the capacitor C29 is grounded.

[0019] Further, the capacitance change detection unit includes a chip U7, the model of the chip U7 is CY8C4014, the 6th and 5th pins of the chip U7 are connected to one end of the resistor L1, one end of the capacitor C33 and one end of the capacitor C34, the other end of the resistor L1 is connected to VCC3.3V, the other end of the capacitor C33 and the other end of the capacitor C34 are grounded, the 4th pin of the chip U7 is connected to one end of the capacitor C23, and the other end of the capacitor C23 is grounded;

[0020] Pin 8 of the chip U7 is connected to the human body sensing sensor TP1 and pin 30 of the chip U6, pin 9 of the chip U7 is connected to the human body sensing sensor TP2 and pin 31 of the chip U6, pin 10 of the chip U7 is connected to the human body sensing sensor TP3 and pin 32 of the chip U6, pin 11 of the chip U7 is connected to the human body sensing sensor TP4 and pin 33 of the chip U6, pin 12 of the chip U7 is connected to the human body sensing sensor TP5 and pin 34 of the chip U6, pin 13 of the chip U7 is connected to the human body sensing sensor TP6 and pin 35 of the chip U6, pin 1 of the chip U7 is connected to the human body sensing sensor TP7 and pin 36 of the chip U6, and pin 2 of the chip U7 is connected to the human body sensing sensor TP8 and pin 37 of the chip U6.

[0021] The present invention adopts the above technical solution, and has the following technical effects compared with the prior art:

[0022] 1. When the pressure sensor detects that someone is lying on the mattress body, the negative electric field generating unit works to make the negative potential line generate negative potential. The negative electric field generating unit adopts piezoelectric ceramic transformer, which is a process of converting electrical energy into mechanical energy and then converting mechanical energy into electrical energy. It has the characteristics of good stability and controllability, so that the negative electric field generating unit can achieve better physical therapy effect.

[0023] 2. By detecting the sound of human snoring, the signal is sent to the 32-bit microcontroller of the main control unit for signal processing to identify breathing abnormalities. When this abnormal signal is detected, the microcontroller signal wakes the person from the snoring state by controlling the motor vibration, so that the person can correct the bad sleeping state; through the capacitance change caused by pressure sensing or human body sensing, it can be judged whether the person has left the bed, and the state of the person in bed can be accurately judged. Based on the judgment of the person in bed, the main control unit will control the start and output of the negative electric field at a fixed time.

[0024] 3. In order to accurately extract human snoring, we use low-noise and high-sensitivity MIC1 to collect. Since the size of human snoring contains various interfering frequency components and its amplitude is small, it cannot be directly sent to the microcontroller for processing. After two-stage amplification output, it passes through the filter to reach the signal level that the microcontroller can process. The microcontroller software performs signal conversion and recognition processing to accurately identify human snoring. Through experiments, the recognition rate reached 98%. By controlling the motor vibration intervention, the person is awakened from the snoring state and corrected to correct the bad sleep state.

[0025] 4. In order to solve the problem of low recognition rate in human snoring detection, the present invention solves the problem from the bottom of signal processing, adopts low-noise and high-sensitivity devices in hardware, and optimizes the signal processing algorithm in the main control unit.

[0026] The signal processing algorithm is optimized on the main control unit. The real-time algorithm is used to optimize and reasonably allocate the computing resources and internal storage units of the single-chip microcomputer chip U6. The minimum mean square adaptive filtering method is used to effectively remove the noise in human snoring. In the time domain, the short-time Fourier transform technology is used to quickly and in advance identify the characteristics of the signal frequency in human snoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.

[0028] Figure 1 It is a structural schematic diagram of the intelligent mattress control in the present invention;

[0029] Figure 2 It is a structural schematic diagram of the smart mattress of the present invention;

[0030] Figure 3 is a circuit diagram of a snoring collection unit in the present invention;

[0031] Figure 4 is a circuit diagram of the intervention unit in the present invention;

[0032] Figure 5-Figure 8 is a circuit diagram of a negative electric field generating unit in the present invention;

[0033] Fig. 9 is a circuit diagram of a power conversion unit in the present invention;

[0034] Fig.10 is a circuit diagram of the main control unit in the present invention;

[0035] Fig.11 is a circuit diagram of a pressure detection unit in the present invention;

[0036] Fig.12 The circuit diagram of the capacitance change detection unit generated by human body induction in the present invention. DETAILED DESCRIPTION

[0037] Examples, such as Figure 1 As shown, a control system based on negative electric field sleep aid and abnormal snoring detection and intervention includes a main control unit and a power exchange unit. The main control unit is connected to a snoring collection unit, a negative electric field generating unit, an intervention unit and a detection unit. The detection unit includes a pressure detection unit and a capacitance change detection unit. The power exchange unit is connected to the snoring collection unit and the negative electric field generating unit.

[0038] like Fig.10 As shown, the main control unit includes a chip U6, and the model of the chip U6 is STM32F030C8T6.

[0039] like Figure 3 As shown, the snoring collection unit includes a transistor Q8, the base of the transistor Q8 is connected to one end of a capacitor C25 and one end of a resistor R42, the other end of the capacitor C25 is connected to one end of a resistor R34 and the positive electrode of the sound collection interface MIC1, the other end of the resistor R34 is connected to the VCC power supply, and the negative electrode of the sound collection interface MIC1 is grounded, the collector of the transistor Q8 is connected to the other end of the resistor R42, one end of the capacitor C31 and one end of the resistor R33, the other end of the resistor R33 is connected to the VCC power supply, the other end of the capacitor C31 is connected to one end of the resistor R43 and one end of the transistor Q7, the other end of the resistor R43 is connected to the VCC power supply, the collector of the transistor Q7 is connected to one end of the resistor R44, one end of the resistor R45 and one end of the capacitor C24, the other end of the resistor R44 is connected to the VCC power supply, the other end of the capacitor C24 is grounded, and the other end of the resistor R45 is connected to pin 2 of the interface CN1 and pin 14 of the chip U6.

[0040] like Figure 4 As shown, the intervention unit includes a transistor Q9, a base of the transistor Q9 is connected to one end of a resistor R48, the other end of the resistor R48 is connected to pin 28 of the chip U6, a collector of the transistor Q9 is connected to one end of a diode D8 and one end of a resistor R47, the other end of the diode D8 is connected to a VCC5V power supply, the other end of the resistor R47 is connected to one end of an interface P6, and the other end of the interface P5 is connected to a VCC5V power supply.

[0041] like Figures 5 to 8 As shown, the negative electric field generating unit includes a transistor Q3, the base of the transistor Q3 is connected to one end of a resistor R9, the other end of the resistor R9 is connected to pin 15 of the chip U6, the collector of the transistor Q3 is connected to pin 1 of the MOS tube Q1 and one end of the resistor R4, the other end of the resistor R4 and pin 2 of the MOS tube Q1 are connected to the VCC5V power supply, the pin 3 of the MOS tube Q1 is connected to one end of a diode D2, and is connected to the FDW_VCC interface, and the other end of the diode D2 is grounded.

[0042] The negative electric field generating unit also includes a chip U7, the model of chip U7 is AP3012, pins 6 and 4 of chip U7 are connected to one end of capacitor C17, one end of inductor L2 and one end of fuse F2, the other end of capacitor C17 is grounded, the other end of fuse F2 is connected to the FDW_VCC interface, the other end of inductor L2 is connected to one end of diode D7 and pin 1 of chip U7, the other end of diode D7 is connected to VCC12V power supply, pin 3 of chip U7 is connected to one end of resistor R41 and one end of resistor R45, the other end of resistor R41 is connected to VCC12V power supply, and the other end of resistor R45 is grounded.

[0043] The negative electric field generating unit also includes an operational amplifier U10.1, an operational amplifier U10.2, an operational amplifier U10.3, and an operational amplifier U10.4. The models of the operational amplifiers U10.1, U10.2, U10.3, and U10.4 are LM2901. Pin 7 of the operational amplifier U10.1 is connected to one end of a resistor R22, one end of a resistor R18, and pin 11 of the operational amplifier U10.4. The other end of the resistor R22 is connected to one end of a resistor R17 and one end of a resistor R25. The other end of the resistor R17 is connected to a VCC12V power supply. The other end of the resistor R25 is grounded. Pin 6 of the operational amplifier 10.1 is connected to one end of a resistor R26, pin 10 of the operational amplifier U10.4, and one end of a capacitor C10. The other end of capacitor C10 is grounded, pin 1 of op amp U10.1 is connected to the other end of resistor R26, the other end of resistor R18, one end of resistor R27 and one end of resistor R14, the other end of resistor R14 is connected to VCC12V power supply, pin 13 of op amp U10.4 is connected to one end of resistor R19, pin 2 of op amp U10.2 and pin 3 of MOS tube Q6, the other end of resistor R19 is connected to VCC12V power supply, pin 1 of MOS tube Q6 is connected to one end of capacitor C8 and one end of inductor L1, the other end of capacitor C8 and pin 2 of MOS tube Q6 are grounded, the other end of inductor L1 is connected to one end of capacitor C13 and connected to VCC12V power supply, and the other end of capacitor C13 is grounded.

[0044] Pin 4 of the operational amplifier U10.2 is connected to the other end of the resistor R27 and one end of the capacitor C11, and the other end of the capacitor C11 is grounded. Pin 5 of the operational amplifier U10.2 is connected to one end of the capacitor C12, one end of the resistor R36, one end of the resistor R23 and one end of the resistor R29, and the other end of the resistor R23 is connected to the VCC12V power supply, and the other end of the capacitor C12 and the other end of the resistor R29 are grounded.

[0045] The 14th pin of the operational amplifier U10.3 is connected to the other end of the resistor R36 and one end of the capacitor C15, the other end of the capacitor C15 is connected to one end of the resistor R34, the 8th pin of the operational amplifier U10.3 is connected to the other end of the resistor R34, one end of the resistor R33 and one end of the resistor R39, the other end of the resistor R33 is connected to the VCC12V power supply, the other end of the resistor R39 is grounded, the 9th pin of the operational amplifier U10.3 is connected to one end of the resistor R30, one end of the resistor R37 and one end of the capacitor C16, the capacitor C1 6 is grounded, the other end of the resistor R37 is connected to one end of the resistor R32, the other end of the resistor R32 is connected to the VCC12V power supply, the other end of the resistor R30 is connected to one end of the diode D3 and one end of the capacitor C7, and is connected to the output interface GNDF, the other end of the diode D3 is connected to one end of the diode D4 and the 3rd pin of the piezoelectric ceramic transformer T2, the 1st pin of the piezoelectric ceramic transformer T2 is connected to the 1st pin of the MOS tube Q6, the 2nd pin of the piezoelectric ceramic transformer T2 is grounded, and the other end of the diode D4 is grounded.

[0046] The negative electric field generating unit also includes a chip U2, the model of chip U2 is TLP115A, pin 1 of chip U2 is connected to one end of resistor R7, the other end of resistor R7 is connected to pin 27 of chip U6, pin 5 of chip U2 is connected to one end of capacitor C5, one end of resistor R5 and one end of resistor R8, the other end of capacitor C5 is grounded, the other end of resistor R5 is connected to VCCF5V power supply, the other end of resistor R8 is connected to pin 1 of MOS tube Q2, pin 1 of MOS tube Q2 is connected to VCCF5V power supply, pin 3 of MOS tube Q2 is connected to one end of resistor R12 and one end of resistor R10, the other end of resistor R12 is grounded, the other end of resistor R10 is connected to the base of transistor Q4, the collector of transistor Q4 is connected to one end of resistor R6 and connected to negative electric field output point T1, and the other end of resistor R6 is grounded.

[0047] U10.1 and its peripheral circuits form an oscillator to generate a square wave. U10.4 and U10.1 are connected together to generate square waves of the same frequency. U10.2 shifts the phase of the square wave generated by U10.1 and then superimposes it with the square wave generated by U10.4 to generate a pulse wave of the same frequency. U10.3 forms a comparator to control the closing and opening of the pulse signal through the feedback of the output voltage, so that the output voltage is constant and the negative electric field function is stable.

[0048] like Fig. 9 As shown, the power conversion unit includes a chip U1, pin 3 of the chip U1 is connected to one end of a capacitor C2 and one end of a capacitor C1, and is connected to a VCC5V power supply, the other end of the capacitor C2 and the other end of the capacitor C1 are grounded, pins 2 and 4 of the chip U1 are connected to one end of a capacitor C3 and one end of a capacitor C4, and are connected to a VCC3.3V power supply, the other end of the capacitor C3 and the other end of the capacitor C4 are grounded.

[0049] like Fig.11 As shown, the pressure detection unit includes a pressure sensor interface P6, pin 2 of the pressure sensor interface P6 is connected to one end of a resistor R55, one end of a resistor R56 and one end of a capacitor C29, the other end of the resistor R55 is connected to a VCC 3.3V power supply, the other end of the resistor R56 is connected to pin 19 of the chip U6, and the other end of the capacitor C29 is grounded.

[0050] like Fig.12 As shown, the capacitance change detection unit includes a chip U7, the model of the chip U7 is CY8C4014, the 6th and 5th pins of the chip U7 are connected to one end of the resistor L1, one end of the capacitor C33 and one end of the capacitor C34, the other end of the resistor L1 is connected to VCC3.3V, the other end of the capacitor C33 and the other end of the capacitor C34 are grounded, the 4th pin of the chip U7 is connected to one end of the capacitor C23, and the other end of the capacitor C23 is grounded.

[0051] Pin 8 of the chip U7 is connected to the human body sensing sensor TP1 and pin 30 of the chip U6, pin 9 of the chip U7 is connected to the human body sensing sensor TP2 and pin 31 of the chip U6, pin 10 of the chip U7 is connected to the human body sensing sensor TP3 and pin 32 of the chip U6, pin 11 of the chip U7 is connected to the human body sensing sensor TP4 and pin 33 of the chip U6, pin 12 of the chip U7 is connected to the human body sensing sensor TP5 and pin 34 of the chip U6, pin 13 of the chip U7 is connected to the human body sensing sensor TP6 and pin 35 of the chip U6, pin 1 of the chip U7 is connected to the human body sensing sensor TP7 and pin 36 of the chip U6, and pin 2 of the chip U7 is connected to the human body sensing sensor TP8 and pin 37 of the chip U6.

[0052] like Figure 2 As shown, the pressure detection unit 3 and the capacitance change detection unit 4 are arranged in the middle part of the mattress, the intervention unit 6 and the snoring collection unit 2 are arranged on the upper part of the mattress, the negative electric field output unit 5 is arranged on the entire part of the mattress, the main control box 1 and the intervention unit 6 are fixed to the mattress by rivets, the pressure sensor and the human body sensor TP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8, the negative electric field output unit 5 is connected to the main control box 1 by a wire, and the wire is sewn on the mattress through the truss, and the snoring collection unit 2 is connected to the main control box 1 by a signal line and placed flat next to the mattress. The mattress is composed of 2 cm air fiber and 2 mm needle-punched cotton cloth.

[0053] The snoring sound of a person is collected by MIC1. Due to its small amplitude, it cannot be directly sent to the microcontroller for processing. It is processed and output through the first-level amplifying transistor Q8 and capacitor C25, R34, R42, R33 and the second-level amplifying transistor Q7, R43, R44, C31. After passing through the filter composed of R45 and C24, it reaches the signal level that the microcontroller can process, and is output by CN1 to the OUT end of the main control unit.

[0054] The main control unit outputs a high-level MOTO signal, the switch tube Q9 and the circuit of R48 are turned on, and a +5V current loop is formed through R47, P5 and GND to drive the vibration motor to intervene.

[0055] The main control unit outputs the FDWON signal through the isolation circuit of transistor Q3, R9, R4, and sends it to the drive circuit of CMOS tube Q1, D2 to output the FDW-VCC power supply to Figure 4 .

[0056] FDW-VCC power supply outputs VCC12V to the boost circuit composed of U7, L2, D7, F2, R41, R45, C18, etc. Figure 5 .

[0057] The core adopts piezoelectric ceramic transformer. The boost principle is the process of converting electrical energy into mechanical energy and then converting mechanical energy into electrical energy. The circuit consists of an oscillation circuit, a drive circuit, a feedback circuit, a voltage doubler and a voltage regulator circuit, etc. U10. and U10.4, U10.2R23R29, R17, R25, R22, C10, R26, R18, R14, R27, C11, C12, R19 and their peripheral circuits constitute an oscillation circuit, U10.3 and R33, R32, R37, C16, R39, R34, C15 and their peripheral circuits constitute a feedback circuit, Q6 and L1, C8 constitute a drive circuit, OUT's 1, 2, 3 and D3, D4, R30, C7 and their peripheral circuits constitute a voltage doubler and a voltage regulator circuit output GNDF to Figure 6 Location.

[0058] The main control unit outputs FMOUT to control the optocoupler circuit composed of R7, U2, R5, and C5 for isolation. The CMOS tubes of Q2, R8, and R12 form a driving function. The triodes of Q4, R10, and R6 form a current amplification circuit, which outputs the negative electric field of the GNDF signal to a negative potential FDWOUT with a certain current.

[0059] 5V-3.3V power supply circuit, this circuit inputs 5V and outputs 3.3V, where U4 is the AS1117-3.3 voltage regulator chip, capacitors C1 and C2 connect 5V and ground for input filtering. Capacitors C3 and C4 connect 3.3V output and ground for output filtering.

[0060] The input VCC5V passes through the voltage conversion circuit of U1, C1, C2, C3, C4, and can stably output VCC3.3V to power the main control unit and other units.

[0061] The main control part uses STM32F030K6T6, which is a 32-pin processor that can provide up to 32 I / O ports, with an operating voltage of 2.4V~3.6V. It can select an external high-precision crystal oscillator / clock source, an internal RC oscillator, a built-in 8-channel 10-bit precision ADC, and a universal asynchronous serial port, which fully meets the requirements of this design. Pins 1, 9, 24, and 48 are power supply pins connected to the 3.3V power supply terminal. Pins 8, 23, and 47 are ground terminals. Pin 7 is the MCU reset terminal, connected to resistor R42 and capacitor C20. Pin 44 is the BOOT0 pin, connected to the ground through resistor R43. Pin 14 samples the input snoring signal, and the microcontroller program processes and identifies breathing abnormalities. Pin 15 outputs the FDWON signal through the isolation circuit composed of transistors Q3, R9, and R4, and sends it to the drive circuit of CMOS tubes Q1 and D2 to output the FDW-VCC power supply. Pin 19 is the output signal detected by the pressure sensor P6, which is sent to the main control unit microcontroller through the voltage divider filter circuit composed of R55, C29, and R56 for sampling and processing, to identify whether there is a heavy object on the bed. Pin 27 is the output FMOUT, which is isolated through the optocoupler circuit composed of R7, U2, R5, and C5. The CMOS tubes of Q2, R8, and R12 form a driving effect, and the transistors Q4, R10, and R6 form a current amplification circuit, and finally output a negative electric field FDWOUT with a certain current. Pin 28 is the MOTO signal, which is at a high level. The circuit of Q9 and R48 is turned on, and a +5V current loop is formed through R47, P5, and GND to drive the vibration motor. Pin 30 is used for signal sampling of input signal TP1; pin 31 is used for signal sampling of input signal TP2; pin 32 is used for signal sampling of input signal TP3; pin 33 is used for signal sampling of input signal TP4; pin 34 is used for signal sampling of input signal TP5; pin 35 is used for signal sampling of input signal TP6; pin 36 is used for signal sampling of input signal TP7; pin 37 is used for signal sampling of input signal TP8.

[0062] The MCU program accurately identifies and processes these 8 signals, and the output signal detected by pin 19 is the pressure sensor P6, which is output to the main control unit MCU through the voltage divider filter circuit composed of R55, C29, and R56, and is sampled and processed to identify whether there is any heavy object on the bed, so as to determine whether there is a living person on the bed.

[0063] The pressure sensor P6 detects the output signal and outputs it to the LC-AD pin of the main control unit through the voltage divider filter circuit composed of R55, C29, and R56. The main control unit microcontroller samples and processes it to identify whether there is a heavy object on the bed.

[0064] The capacitance signal formed by the contact between the eight points TP1, TP2, TP3, TP4, TP5, TP6, TP7, and TP8 arranged on the bed and the human body, U7, C21, C23, C33, C34, and L1 constitute the pre-processing circuit, which has the functions of anti-interference, filtering, and amplification. The signal is then sent to the main control unit for processing and used together with the pressure to determine whether a person is in bed.

[0065] In order to accurately extract human snoring, we use low-noise and high-sensitivity MIC1 to collect. Because the size of human snoring contains various interfering frequency components and its amplitude is small, it cannot be directly sent to the microcontroller for processing. It is processed and output through the first-level amplifying transistor Q8 and capacitor C25, R34, R42, R33 and the second-level amplifying transistor Q7, R43, R44, C31. After passing through the filter composed of R45 and C24, it reaches the signal level that the microcontroller can handle, and is output by CN1 to the OUT end of the main control unit. The microcontroller software performs signal conversion and recognition processing to accurately identify human snoring. Through our experiments, the recognition rate reached 98%. By controlling the motor vibration intervention, people are awakened from the snoring state and corrected to correct the bad sleep state.

[0066] The description of the present invention is given for the purpose of illustration and description, and is not intended to be exhaustive or to limit the invention to the disclosed form. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for particular uses.

Claims

1. A control system based on negative electric field sleep aid and abnormal snoring detection intervention, characterized in that: It includes a main control unit and a power exchange unit, the main control unit is connected to a snoring collection unit, a negative electric field generating unit, an intervention unit and a detection unit, the detection unit includes a pressure detection unit and a capacitance change detection unit, and the power exchange unit is connected to the snoring collection unit and the negative electric field generating unit; The main control unit includes a chip U6, the chip model U6 is STM32F030C8T6; The negative electric field generating unit includes a transistor Q3, the base of the transistor Q3 is connected to one end of a resistor R9, the other end of the resistor R9 is connected to pin 15 of the chip U6, the collector of the transistor Q3 is connected to the G pole of the MOS tube Q1 and one end of the resistor R4, the other end of the resistor R4 and the S pole of the MOS tube Q1 are connected to the VCC5V power supply, the D pole of the MOS tube Q1 is connected to the cathode of the diode D2, and is connected to the FDW_VCC interface, and the anode of the diode D2 is grounded; The negative electric field generating unit also includes a chip U7, the model of the chip U7 is AP3012, the 6th and 4th pins of the chip U7 are connected to one end of a capacitor C17, one end of an inductor L2 and one end of a fuse F2, the other end of the capacitor C17 is grounded, the other end of the fuse F2 is connected to the FDW_VCC interface, the other end of the inductor L2 is connected to the positive electrode of a diode D7 and the 1st pin of the chip U7, the negative electrode of the diode D7 is connected to the VCC12V power supply, the 3rd pin of the chip U7 is connected to one end of a resistor R41 and one end of a resistor R45, the other end of the resistor R41 is connected to the VCC12V power supply, and the other end of the resistor R45 is grounded; The negative electric field generating unit also includes an operational amplifier U10.1, an operational amplifier U10.2, an operational amplifier U10.3, and an operational amplifier U10.

4. The models of the operational amplifiers U10.1, U10.2, U10.3, and U10.4 are LM2901. Pin 7 of the operational amplifier U10.1 is connected to one end of a resistor R22, one end of a resistor R18, and pin 11 of the operational amplifier U10.

4. The other end of the resistor R22 is connected to one end of a resistor R17 and one end of a resistor R25. The other end of the resistor R17 is connected to a VCC12V power supply. The other end of the resistor R25 is grounded. Pin 6 of the operational amplifier 10.1 is connected to one end of a resistor R26, pin 10 of the operational amplifier U10.4, and one end of a capacitor C10. The other end of capacitor C10 is grounded, pin 1 of operational amplifier U10.1 is connected to the other end of resistor R26, the other end of resistor R18, one end of resistor R27 and one end of resistor R14, the other end of resistor R14 is connected to VCC12V power supply, pin 13 of operational amplifier U10.4 is connected to one end of resistor R19, pin 2 of operational amplifier U10.2 and G pole of MOS tube Q6, the other end of resistor R19 is connected to VCC12V power supply, D pole of MOS tube Q6 is connected to one end of capacitor C8 and one end of inductor L1, the other end of capacitor C8 and S pole of MOS tube Q6 are grounded, the other end of inductor L1 is connected to one end of capacitor C13 and connected to VCC12V power supply, the other end of capacitor C13 is grounded; Pin 4 of the operational amplifier U10.2 is connected to the other end of the resistor R27 and one end of the capacitor C11, the other end of the capacitor C11 is grounded, and pin 5 of the operational amplifier U10.2 is connected to one end of the capacitor C12, one end of the resistor R36, one end of the resistor R23 and one end of the resistor R29, the other end of the resistor R23 is connected to the VCC12V power supply, and the other end of the capacitor C12 and the other end of the resistor R29 are grounded; The 14th pin of the operational amplifier U10.3 is connected to the other end of the resistor R36 and one end of the capacitor C15, the other end of the capacitor C15 is connected to one end of the resistor R34, the 8th pin of the operational amplifier U10.3 is connected to the other end of the resistor R34, one end of the resistor R33 and one end of the resistor R39, the other end of the resistor R33 is connected to the VCC12V power supply, the other end of the resistor R39 is grounded, the 9th pin of the operational amplifier U10.3 is connected to one end of the resistor R30, one end of the resistor R37 and one end of the capacitor C16, the capacitor C The other end of 16 is grounded, the other end of resistor R37 is connected to one end of resistor R32, the other end of resistor R32 is connected to VCC12V power supply, the other end of resistor R30 is connected to the positive electrode of diode D3, one end of capacitor C7, and connected to the output interface GNDF, the cathode of diode D3 is connected to the positive electrode of diode D4 and the 3rd pin of piezoelectric ceramic transformer T2, the 1st pin of piezoelectric ceramic transformer T2 is connected to the D pole of MOS tube Q6, the 2nd pin of piezoelectric ceramic transformer T2 is grounded, and the cathode of diode D4 is grounded; The negative electric field generating unit also includes a chip U2. The model of chip U2 is TLP115A. Pin 1 of chip U2 is connected to one end of resistor R7, and the other end of resistor R7 is connected to pin 27 of chip U6. Pin 5 of chip U2 is connected to one end of capacitor C5, one end of resistor R5 and one end of resistor R8. The other end of capacitor C5 and pin 4 of chip U2 are connected to GNDF. The other end of resistor R5 is connected to a VCCF5V power supply. The other end of resistor R8 is connected to a G pole of MOS tube Q2, and an S pole of MOS tube Q2 is connected to a VCCF5V power supply. The D pole of MOS tube Q2 is connected to one end of resistor R12 and one end of resistor R10, and the other end of resistor R12 is connected to GNDF. The other end of resistor R10 is connected to the base of transistor Q4, and the collector of transistor Q4 is connected to one end of resistor R6 and connected to a negative electric field output point T1. The emitter of transistor Q4 is connected to GNDF, and the other end of resistor R6 is grounded.

2. A control system based on negative electric field sleep aid and abnormal snoring detection intervention as claimed in claim 1, characterized in that: The snoring collection unit includes a transistor Q8, a base of the transistor Q8 is connected to one end of a capacitor C25 and one end of a resistor R42, the other end of the capacitor C25 is connected to one end of a resistor R34 and the positive electrode of the sound collection interface MIC1, the other end of the resistor R34 is connected to the VCC power supply, and the negative electrode of the sound collection interface MIC1 is grounded, a collector of the transistor Q8 is connected to the other end of the resistor R42, one end of the capacitor C31 and one end of the resistor R33, the other end of the resistor R33 is connected to the VCC power supply, the other end of the capacitor C31 is connected to one end of the resistor R43 and one end of the transistor Q7, the other end of the resistor R43 is connected to the VCC power supply, the collector of the transistor Q7 is connected to one end of the resistor R44, one end of the resistor R45 and one end of the capacitor C24, the other end of the resistor R44 is connected to the VCC power supply, the other end of the capacitor C24 is grounded, and the other end of the resistor R45 is connected to pin 2 of the interface CN1 and pin 14 of the chip U6.

3. A control system based on negative electric field sleep aid and abnormal snoring detection intervention as claimed in claim 1, characterized in that: The intervention unit includes a transistor Q9, a base of the transistor Q9 is connected to one end of a resistor R48, the other end of the resistor R48 is connected to pin 28 of the chip U6, a collector of the transistor Q9 is connected to the positive electrode of a diode D8 and one end of a resistor R47, the negative electrode of the diode D8 is connected to a VCC5V power supply, the other end of the resistor R47 is connected to one end of an interface P5, and the other end of the interface P5 is connected to the VCC5V power supply.

4. A control system based on negative electric field sleep aid and abnormal snoring detection intervention as claimed in claim 1, characterized in that: The pressure detection unit includes a pressure sensor interface P6, and pin 2 of the pressure sensor interface P6 is connected to one end of a resistor R55, one end of a resistor R56 and one end of a capacitor C29. The other end of the resistor R55 is connected to a VCC 3.3V power supply, the other end of the resistor R56 is connected to pin 19 of the chip U6, and the other end of the capacitor C29 is grounded.

5. A control system based on negative electric field sleep aid and abnormal snoring detection intervention as claimed in claim 1, characterized in that: The capacitance change detection unit includes a chip U7, the model of the chip U7 is CY8C4014, the 6th and 5th pins of the chip U7 are connected to one end of a resistor L1, one end of a capacitor C33 and one end of a capacitor C34, the other end of the resistor L1 is connected to VCC3.3V, the other end of the capacitor C33 and the other end of the capacitor C34 are grounded, the 4th pin of the chip U7 is connected to one end of a capacitor C23, and the other end of the capacitor C23 is grounded; Pin 8 of the chip U7 is connected to the human body sensing sensor TP1 and pin 30 of the chip U6, pin 9 of the chip U7 is connected to the human body sensing sensor TP2 and pin 31 of the chip U6, pin 10 of the chip U7 is connected to the human body sensing sensor TP3 and pin 32 of the chip U6, pin 11 of the chip U7 is connected to the human body sensing sensor TP4 and pin 33 of the chip U6, pin 12 of the chip U7 is connected to the human body sensing sensor TP5 and pin 34 of the chip U6, pin 13 of the chip U7 is connected to the human body sensing sensor TP6 and pin 35 of the chip U6, pin 1 of the chip U7 is connected to the human body sensing sensor TP7 and pin 36 of the chip U6, and pin 2 of the chip U7 is connected to the human body sensing sensor TP8 and pin 37 of the chip U6.

Citation Information

Patent Citations

  • Pet comb

    CN110786259A

  • Air quality adjusting system with negative ion function

    CN114459110A

  • Atomization driving circuit based on DDS technology

    CN115800681A

  • Electrical stimulation touch circuit

    CN116956803A

  • Snore detection and intelligent snore stopping device and control system

    CN117481633A