CN116758684B - Light wake-up system and method - Google Patents
Light wake-up system and method Download PDFInfo
- Publication number
- CN116758684B CN116758684B CN202310710404.9A CN202310710404A CN116758684B CN 116758684 B CN116758684 B CN 116758684B CN 202310710404 A CN202310710404 A CN 202310710404A CN 116758684 B CN116758684 B CN 116758684B
- Authority
- CN
- China
- Prior art keywords
- wake
- service
- light
- smart chip
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B3/00—Audible signalling systems; Audible personal calling systems
- G08B3/10—Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/24—Reminder alarms, e.g. anti-loss alarms
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Electric Clocks (AREA)
Abstract
本发明公开了一种光叫醒系统及方法,通过获取被叫醒的服务对象熟睡状态下的录音,并设置叫醒时间,然后读取互联网的时间,再按照所读取的时间与设置的叫醒时间进行比对,当两个时间一致时,开启叫醒服务,在开启叫醒服务的同时,检测并获取被叫醒的服务对象周围的声音,将获取的声音和录音通过互相关运算得到互相关系数u,当u大于0.5时,表示被叫醒的服务对象没有被叫醒,重复叫醒服务,当u小于0.5时,表示被叫醒服务对象被叫醒,则停止叫醒服务。光叫醒系统包括显示模块、WiFi模块、按键阵列模块、智能芯片、电容麦克风、DAC芯片和发光二极管阵列模块。本发明提供的光叫醒系统和方法可以有效地解决在叫醒被服务对象的同时其他人会被打扰的问题。
The present invention discloses a light awakening system and method, which obtains a recording of a service object being awakened in a deep sleep state, sets a wake-up time, then reads the time on the Internet, and then compares the read time with the set wake-up time. When the two times are consistent, the wake-up service is turned on. While the wake-up service is turned on, the sound around the service object being awakened is detected and obtained, and the obtained sound and the recording are cross-correlated to obtain a correlation coefficient u. When u is greater than 0.5, it indicates that the service object being awakened is not awakened, and the wake-up service is repeated. When u is less than 0.5, it indicates that the service object being awakened is awakened, and the wake-up service is stopped. The light awakening system includes a display module, a WiFi module, a button array module, a smart chip, a capacitor microphone, a DAC chip, and a light-emitting diode array module. The light awakening system and method provided by the present invention can effectively solve the problem that other people will be disturbed while waking up the service object.
Description
技术领域Technical Field
本发明属于信号处理技术领域,具体涉及一种光叫醒系统及方法。The invention belongs to the technical field of signal processing, and in particular relates to a light wake-up system and method.
背景技术Background technique
传统的叫醒设备,如闹钟,在震动叫醒装置在应用过程中可能会对周围,包括隔壁、楼上、楼下的人造成干扰。如果将闹钟的声音设置太小可能起不到叫醒作用,声音设置过大,则在很多场合,包括凌晨叫醒和正在会议中时,会给其他人造成严重的声音干扰,震动叫醒装置也存在相同的问题。Traditional wake-up devices, such as alarm clocks, may cause disturbances to people around them, including those next door, upstairs, and downstairs. If the alarm clock volume is set too low, it may not wake people up. If the volume is set too high, it will cause serious sound disturbance to others in many occasions, including waking up in the early morning and in meetings. The same problem exists in the vibration wake-up device.
发明内容Summary of the invention
为了解决现有技术中的问题,本发明提供了一种光叫醒方法,获取被叫醒的服务对象熟睡状态下的录音,并设置叫醒时间,然后读取互联网的时间,再按照互联网所读取的时间与设置的叫醒时间进行比对,当两个时间一致时,开启叫醒服务,在开启叫醒服务的同时,检测并获取被叫醒的服务对象周围的声音,将获取的声音和录音通过互相关运算得到互相关系数u,当u大于0.5时,表示被叫醒的服务对象没有被叫醒,此时重复叫醒服务,当u小于0.5时,表示被叫醒服务对象被叫醒了,则停止叫醒服务。In order to solve the problems in the prior art, the present invention provides an optical wake-up method, which obtains a recording of a service object being awakened in a deep sleep state, sets a wake-up time, then reads the time on the Internet, and compares the time read from the Internet with the set wake-up time. When the two times are consistent, the wake-up service is turned on. While the wake-up service is turned on, the sound around the service object being awakened is detected and obtained, and the obtained sound and the recording are subjected to a cross-correlation operation to obtain a mutual correlation coefficient u. When u is greater than 0.5, it indicates that the service object being awakened is not awakened, and the wake-up service is repeated. When u is less than 0.5, it indicates that the service object being awakened is awakened, and the wake-up service is stopped.
进一步地,所述获取被叫醒的服务对象熟睡状态下的录音可以人工进行设置,设录音总时长为T分钟,并将录音后的录音时段分为N小段,每一小段的时长相等,第i段的录音用fi(t)表示,t表示录音时长,单位为秒,i=1,2,3...N,计算整个录音时段的平均值用f(t)表示:/> Furthermore, the recording of the awakened service object in a deep sleeping state can be manually set. Assume that the total recording time is T minutes, and the recording period after the recording is divided into N small segments, each of which has the same length. The recording of the i-th segment is represented by fi (t). t represents the recording duration in seconds, i = 1, 2, 3...N, and the average value of the entire recording period is expressed as f(t):/>
进一步地,所述检测并获取被叫醒的服务对象周围的声音,检测时长为表示为x(t),并计算x(t)和f(t)的互相关系数u,Furthermore, the detection and acquisition of the sounds around the awakened service object is performed for a period of Denote it as x(t), and calculate the mutual correlation coefficient u between x(t) and f(t),
其中,N为被分成的录音时段的个数,Cov表示协方差运算,D表示方差运算。Wherein, N is the number of recording time periods, Cov represents the covariance operation, and D represents the variance operation.
本发明还提供了一种光叫醒系统,基于光叫醒方法的系统包括显示模块、WiFi模块、按键阵列模块、智能芯片、电容麦克风、DAC芯片和发光二极管阵列模块,所述智能芯片通过所述WiFi模块连接到互联网,用来读取互联网的实时时间,所述智能芯片与用户手机无线连接,所述用户手机通过WiFi模块对所述智能芯片发送定时叫醒时间和叫醒方式的指令,所述显示模块与所述智能芯片连接,所述叫醒时间会显示在所述显示模块上,通过按压按键将按键所代表的指令传输给所述智能芯片,所述智能芯片根据所述按键指令来执行指令信息的输入和输出的操作,所述电容麦克风连接到所述智能芯片的ADC端口,所述DAC芯片将所述智能芯片输出的数字信号转化为模拟信号,DAC芯片的输出端依次与所述压控电阻、发光二极管阵列模块、NMOS管以及接地端连接,所述NMOS管的导通和关闭由所述智能芯片来控制。The present invention also provides a light wake-up system. The system based on the light wake-up method includes a display module, a WiFi module, a key array module, a smart chip, a capacitor microphone, a DAC chip and a light emitting diode array module. The smart chip is connected to the Internet through the WiFi module to read the real-time time of the Internet. The smart chip is wirelessly connected to a user's mobile phone. The user's mobile phone sends instructions for a scheduled wake-up time and a wake-up method to the smart chip through the WiFi module. The display module is connected to the smart chip, and the wake-up time is displayed on the display module. The instruction represented by the key is transmitted to the smart chip by pressing a key. The smart chip performs input and output operations of instruction information according to the key instruction. The capacitor microphone is connected to the ADC port of the smart chip. The DAC chip converts the digital signal output by the smart chip into an analog signal. The output end of the DAC chip is sequentially connected to the voltage-controlled resistor, the light emitting diode array module, the NMOS tube and the ground end, and the conduction and closing of the NMOS tube are controlled by the smart chip.
进一步地,所述DAC芯片的输出电压的大小可以控制压控电阻的大小,从而控制流经所述发光二极管阵列模块中的电流大小,所述发光二极管阵列模块中的发光二极管的亮度会随着电流的变化而变化。Furthermore, the output voltage of the DAC chip can control the size of the voltage-controlled resistor, thereby controlling the current flowing through the LED array module. The brightness of the LEDs in the LED array module will change with the change of the current.
进一步地,由所述智能芯片控制发光二极管的亮度由最小变化到最大,并在最大亮度时持续亮3秒,然后熄灭0.5秒,重复此操作,当停止叫醒服务时,所述智能芯片控制所述发光二极管的亮度降低到最大亮度的1/3并保持。Furthermore, the smart chip controls the brightness of the light-emitting diode to change from minimum to maximum, and stays on for 3 seconds at maximum brightness, then turns off for 0.5 seconds, and repeats this operation. When the wake-up service is stopped, the smart chip controls the brightness of the light-emitting diode to decrease to 1/3 of the maximum brightness and maintains it.
进一步地,所述按键阵列模块上的16个按键按照四行四列排列,包含数字按键和命令按键,所述数字按键包括:0、1、2、3、4、5、6、7、8、9这九种按键,所述命令按键包括:确认、删除、定时、实时时间校准、复位和待机功能这六种按键。Furthermore, the 16 keys on the key array module are arranged in four rows and four columns, including numeric keys and command keys. The numeric keys include nine types of keys: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The command keys include six types of keys: confirm, delete, timing, real-time time calibration, reset, and standby function.
进一步地,按压所述定时按键可以设置叫醒服务时间,所述叫醒服务时间可以设置不同的叫醒时间,按压一次所述待机按键可以使所述智能芯片属于待机状态,再按压一次所述待机按键则可以使所述智能芯片处于开机状态。Furthermore, pressing the timing button can set the wake-up service time, and the wake-up service time can set different wake-up times. Pressing the standby button once can put the smart chip into standby mode, and pressing the standby button again can put the smart chip into power-on mode.
进一步地,所述智能芯片输出给所述DAC芯片的数字信号模拟量为12bit。Furthermore, the analog value of the digital signal output by the smart chip to the DAC chip is 12 bits.
进一步地,所述电容麦克风可以检测收听被叫醒服务对象的声音并录音,在开启叫醒服务前,所述电容麦克风检测被叫醒的服务对象熟睡状态下的声音并录音,将录音信号输入到所述智能芯片中进行存储,在开启叫醒服务时,所述电容麦克风检测被叫醒的服务对象周围的声音并收听,将收听的声音信号输入到所述智能芯片中。Furthermore, the condenser microphone can detect and listen to the voice of the service object to be awakened and record it. Before starting the wake-up service, the condenser microphone detects and records the voice of the service object to be awakened in a deep sleeping state, and inputs the recorded signal into the smart chip for storage. When starting the wake-up service, the condenser microphone detects and listens to the sounds around the service object to be awakened, and inputs the listened sound signal into the smart chip.
与现有技术相比,本发明采用了光进行叫醒的方式,不会对除了被叫醒服务对象的其他人产生影响,本发明所提供的光叫醒系统结构简单,方便操作,而本发明所提供的采用光叫醒的方法有效地解决了在叫醒被叫醒服务对象的同时不会对其他人产生影响的问题。Compared with the prior art, the present invention adopts a light-based waking-up method, which will not affect other people except the service object being awakened. The light-based waking-up system provided by the present invention has a simple structure and is easy to operate. The light-based waking-up method provided by the present invention effectively solves the problem of waking up the service object without affecting other people.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本发明的一种光叫醒系统的结构示意图。FIG. 1 is a schematic structural diagram of a light awakening system of the present invention.
具体实施方式Detailed ways
下面结合说明书附图和具体的实施例对本发明作进一步地解释说明,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The present invention is further explained below in conjunction with the drawings and specific embodiments of the specification. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
结合附图1所示的本发明提供了一种光叫醒系统,所述系统包括显示模块、WiFi模块、按键阵列模块、智能芯片、电容麦克风、DAC芯片、发光二极管阵列模块、压控电阻、直流电源VCC、NMOS管M3以及接地端。所述所述智能芯片的输出端分别与所述显示模块、DAC芯片以及NMOS管M3连接,所述智能芯片的输入端分别与所述WiFi模块、按键阵列模块以及电容麦克风连接,所述DAC芯片的输出端与所述压控电阻连接,所述压控电阻的一端与直流电源VCC连接,另一端与发光二极管阵列模块连接,所述NMOS管M3的一端与发光二极管阵列模块连接,另一端与接地端连接。由直流电源VCC提供的电流依次流经压控电阻、发光二极管阵列模块和NMOS管M3后达到接地端。The present invention, in combination with the accompanying drawing 1, provides a light wake-up system, the system includes a display module, a WiFi module, a key array module, a smart chip, a capacitor microphone, a DAC chip, a light emitting diode array module, a voltage-controlled resistor, a DC power supply VCC, an NMOS tube M3 and a ground terminal. The output end of the smart chip is respectively connected to the display module, the DAC chip and the NMOS tube M3, the input end of the smart chip is respectively connected to the WiFi module, the key array module and the capacitor microphone, the output end of the DAC chip is connected to the voltage-controlled resistor, one end of the voltage-controlled resistor is connected to the DC power supply VCC, and the other end is connected to the light emitting diode array module, one end of the NMOS tube M3 is connected to the light emitting diode array module, and the other end is connected to the ground terminal. The current provided by the DC power supply VCC flows through the voltage-controlled resistor, the light emitting diode array module and the NMOS tube M3 in sequence and then reaches the ground terminal.
所述智能芯片通过所述WiFi模块连接到Internet网络,用来读取Internet网络的实时时间,所述智能芯片与用户手机无线连接,所述用户手机通过WiFi模块对所述智能芯片发送定时叫醒时间和叫醒方式的指令,所述显示模块与所述智能芯片连接,所述叫醒时间和叫醒方式会显示在所述显示模块上,所述按键阵列模块上可以包含有16个不同的按键但不仅限于16个按键,通过按压按键将按键所代表的指令传输给所述智能芯片,所述智能芯片根据所述按键指令来执行指令信息的输入和输出的操作,所述电容麦克风连接到所述智能芯片的ADC端口,所述DAC芯片将所述智能芯片输出的数字信号转化为模拟信号,所述DAC芯片通过压控电阻与所述电源和发光二极管阵列模块连接,所述发光二极管阵列模块与接地端之间还连接有NMOS管,所述NMOS管的导通和关闭由所述智能芯片来控制。The smart chip is connected to the Internet network through the WiFi module to read the real-time time of the Internet network. The smart chip is wirelessly connected to the user's mobile phone. The user's mobile phone sends instructions for the scheduled wake-up time and wake-up method to the smart chip through the WiFi module. The display module is connected to the smart chip, and the wake-up time and wake-up method will be displayed on the display module. The key array module can include 16 different keys but is not limited to 16 keys. The instructions represented by the keys are transmitted to the smart chip by pressing the keys. The smart chip performs the input and output operations of the instruction information according to the key instructions. The capacitive microphone is connected to the ADC port of the smart chip. The DAC chip converts the digital signal output by the smart chip into an analog signal. The DAC chip is connected to the power supply and the light-emitting diode array module through a voltage-controlled resistor. An NMOS tube is also connected between the light-emitting diode array module and the ground terminal. The conduction and closing of the NMOS tube are controlled by the smart chip.
根据本发明的实施例,所述DAC芯片的输出电压的大小可以控制压控电阻的大小,从而控制流经所述发光二极管阵列模块中的电流大小。According to an embodiment of the present invention, the magnitude of the output voltage of the DAC chip can control the magnitude of the voltage-controlled resistor, thereby controlling the magnitude of the current flowing through the light-emitting diode array module.
根据本发明的实施例,附图1中的WiFi模块型号为ESP8266。According to an embodiment of the present invention, the WiFi module model in FIG1 is ESP8266.
根据本发明的实施例,所述发光二极管阵列模块中的发光二极管的亮度会随着电流的变化而变化。According to an embodiment of the present invention, the brightness of the light emitting diodes in the light emitting diode array module varies with the change of the current.
根据本发明的实施例,以按键阵列模块上设置16个按键为例来说明,所述按键阵列模块上的16个按键按照四行四列排列,包含数字按键和命令按键,所述数字按键包括:0、1、2、3、4、5、6、7、8、9这九种按键,所述命令按键包括:确认、删除、定时、实时时间校准、复位和待机功能这六种按键。According to an embodiment of the present invention, taking the example of 16 keys being arranged on a key array module, the 16 keys on the key array module are arranged in four rows and four columns, and include numeric keys and command keys. The numeric keys include nine types of keys: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9, and the command keys include six types of keys: confirm, delete, timing, real-time time calibration, reset, and standby function.
其中,按压数字按键可以用来完成数字输入并直接显示在所述显示模块上,即所述显示模块上会相应地显示设置好的叫醒服务时间。按压所述确认按键用来对输入的数字进行确认,而按压所述删除按键用来对输入的数字进行删除。确认按键按压一次还表示将显示模块上显示的信息进行执行操作。删除按键按压一次表示删除输入数字时光标前的一个数字。按压所述定时按键可以设置叫醒服务时间,所述叫醒服务时间可以设置三个不同的叫醒时间,时间格式为yyyy:mm:hh格式。所述复位按键按压一次可以使智能芯片复位。按压一次所述待机按键可以使所述智能芯片属于待机状态,再按压一次所述待机按键则可以使所述智能芯片处于开机状态。同时按压待机和定时按键则执行翻页功能,并依次显示不同的定时时间信息。同时按压待机和实时时间校准按键则会显示Internet网络的实时时间。Among them, pressing the number button can be used to complete the number input and directly display it on the display module, that is, the set wake-up service time will be displayed on the display module accordingly. Pressing the confirmation button is used to confirm the input number, and pressing the delete button is used to delete the input number. Pressing the confirmation button once also means that the information displayed on the display module is executed. Pressing the delete button once means deleting a number before the cursor when the number is input. Pressing the timing button can set the wake-up service time, and the wake-up service time can set three different wake-up times, and the time format is yyyy:mm:hh format. Pressing the reset button once can reset the smart chip. Pressing the standby button once can put the smart chip in standby mode, and pressing the standby button again can put the smart chip in power-on mode. Pressing the standby and timing buttons at the same time will execute the page turning function and display different timing time information in sequence. Pressing the standby and real-time time calibration buttons at the same time will display the real-time time of the Internet network.
根据本发明的实施例,所述智能芯片输出给所述DAC芯片的数字信号模拟量为12bit。当所述DAC芯片输出电压为0时,所述发光二极管的亮度最小。According to an embodiment of the present invention, the analog quantity of the digital signal output by the smart chip to the DAC chip is 12 bits. When the output voltage of the DAC chip is 0, the brightness of the light emitting diode is minimum.
根据本发明的实施例,直流电源VCC通过压控电阻给发光二极管阵列中的发光二极管供电。所述DAC芯片输出电压的大小可以控制压控电阻的大小,从而控制发光二极管的电流大小,发光二极管的电流变化时亮度会随之改变。所述智能芯片通过DAC芯片和压控电阻来控制发光二极管的亮度。亮度可以逐渐变化,也可以突然变化。According to an embodiment of the present invention, a DC power supply VCC supplies power to the light-emitting diodes in the light-emitting diode array through a voltage-controlled resistor. The magnitude of the output voltage of the DAC chip can control the magnitude of the voltage-controlled resistor, thereby controlling the magnitude of the current of the light-emitting diode, and the brightness will change when the current of the light-emitting diode changes. The smart chip controls the brightness of the light-emitting diode through the DAC chip and the voltage-controlled resistor. The brightness can change gradually or suddenly.
根据本发明的实施例,M3为增强型NMOS管,所述智能芯片能控制M3的导通和断开。当M3导通时为发光二极管接地,否则发光二极管和地断开,不可能发光。即:所述智能芯片通过M3控制发光二极管的处于亮的状态还是不亮的状态。According to an embodiment of the present invention, M3 is an enhanced NMOS transistor, and the smart chip can control the on and off of M3. When M3 is on, the light-emitting diode is grounded, otherwise the light-emitting diode is disconnected from the ground and cannot emit light. That is, the smart chip controls the light-emitting diode to be in a bright state or a dark state through M3.
根据本发明的实施例,所述智能芯片可以是FPGA、DSP或ARM芯片,也可以是其他嵌入式芯片。According to an embodiment of the present invention, the smart chip may be a FPGA, a DSP or an ARM chip, or may be other embedded chips.
根据本发明的实施例,所述电容麦克风可以收听光叫醒系统周围的声音,即收听被叫醒服务对象周围的声音,并将声音信号输入到所述智能芯片上。According to the embodiment of the present invention, the capacitive microphone can listen to the sounds around the light wake-up system, that is, listen to the sounds around the service object to be woken up, and input the sound signal to the smart chip.
根据本发明的实施例,本发明的采用光叫醒的方法步骤包括:According to an embodiment of the present invention, the method steps of using light to wake up the user include:
1.智能芯片通过ESP8266连接到Internet网络,读取实时Internet网络时间并显示在显示模块上;1. The smart chip is connected to the Internet network through ESP8266, reads the real-time Internet network time and displays it on the display module;
2.通过按键模块设置在所述显示模块上显示的实时时间和叫醒时间;2. Setting the real time and wake-up time displayed on the display module through the key module;
3.通过电容麦克风检测被叫醒的服务对象熟睡时的声音并录音,录音功能可以人工设置,也可以设置一个时间段,例如从凌晨1点至2点进录音。设录音总时长为T分钟,并将录音后的录音时段分为N小段,每一小段的时长相等,用fi(t)表示,t表示录音时长,单位为秒,i=1,2,3...N,3. Use a condenser microphone to detect the sound of the service object being awakened while sleeping and record it. The recording function can be set manually or in a time period, such as from 1 am to 2 am. Suppose the total recording time is T minutes, and the recording time period is divided into N small segments, each of which is of equal length, represented by fi (t). t represents the recording duration in seconds, i = 1, 2, 3...N,
并将f(t)作为熟睡时的声音存储到所述智能芯片中。And f(t) is stored in the smart chip as the sound of deep sleep.
4.在设置好的叫醒时间,开启叫醒服务,首先由所述智能芯片控制发光二极管的亮度由最小变化到最大,并在最大亮度时持续亮3秒,然后熄灭0.5秒,重复此操作,所述智能芯片通过电容麦克风检测被叫醒的服务对象周围的声音,当接收到“停止”声音时,自动将二极管的亮度降低到最大亮度的1/3并保持来提供照明。4. At the set wake-up time, start the wake-up service. First, the smart chip controls the brightness of the light-emitting diode from minimum to maximum, and keeps it on for 3 seconds at maximum brightness, then turns it off for 0.5 seconds, and repeats this operation. The smart chip detects the sounds around the service object being awakened through a condenser microphone. When a "stop" sound is received, the brightness of the diode is automatically reduced to 1/3 of the maximum brightness and maintained to provide lighting.
紧接着,所述电容麦克风检测被叫醒的服务对象周围的声音,检测时长为表示为x(t),采用互相关运算,Next, the condenser microphone detects the sounds around the awakened service object for a detection period of Expressed as x(t), using cross-correlation operation,
计算x(t)和f(t)的互相关系数u,Calculate the mutual correlation coefficient u between x(t) and f(t),
其中,N为被分成的录音时段的个数,Cov表示协方差运算,D表示方差运算。Wherein, N is the number of recording time periods, Cov represents the covariance operation, and D represents the variance operation.
当互相关系数u大于0.5时表示被叫醒服务对象没有被叫醒,此时重复叫醒步骤,当互相关系数u小于0.5时表示被叫醒服务对象被叫醒了,则停止叫醒。When the mutual correlation coefficient u is greater than 0.5, it means that the awakened service object is not awakened, and the awakening step is repeated. When the mutual correlation coefficient u is less than 0.5, it means that the awakened service object is awakened, and the awakening step is stopped.
根据本发明的实施例,使用本发明光叫醒系统的被服务对象可以通过电容麦克风对光叫醒系统发出“停止”或者“关闭”的声音指令,当电容麦克风检测到被服务对象发出的“停止”的声音指令时,即代表不再进行叫醒服务,则通过电容麦克风将“停止”叫醒的信号传输到智能芯片上,由智能芯片通过控制DAC芯片来自动将二极管的亮度降低到最大亮度的1/3并保持;当电容麦克风检测到被服务对象发出的“关闭”的声音指令时,则关闭叫醒服务,使系统处于待机状态,则通过电容麦克风将“关闭”的声音信号传输到智能芯片上,由智能芯片通过控制NMOS管M3处于断开状态。According to an embodiment of the present invention, the service recipient of the light wake-up system of the present invention can send a voice command of "stop" or "turn off" to the light wake-up system through a condenser microphone. When the condenser microphone detects the voice command of "stop" sent by the service recipient, it means that the wake-up service will no longer be provided. The "stop" wake-up signal is transmitted to the smart chip through the condenser microphone, and the smart chip automatically reduces the brightness of the diode to 1/3 of the maximum brightness and maintains it by controlling the DAC chip; when the condenser microphone detects the voice command of "turn off" sent by the service recipient, the wake-up service is turned off and the system is put in a standby state. The "turn off" voice signal is transmitted to the smart chip through the condenser microphone, and the smart chip controls the NMOS tube M3 to be in a disconnected state.
根据本发明的实施例,本发明中的叫醒系统在叫醒的过程中所发出的光是比较刺眼的光亮,而在停止叫醒服务时,所发出的光亮度在叫醒过程中所发出光的亮度的1/3,此时的亮光比较柔和,可以为叫醒服务对象提供照明但却不刺眼。According to an embodiment of the present invention, the light emitted by the wake-up system of the present invention during the wake-up process is a relatively dazzling light, and when the wake-up service is stopped, the brightness of the light emitted is 1/3 of the brightness of the light emitted during the wake-up process. The light at this time is relatively soft and can provide lighting for the wake-up service object without being dazzling.
根据本发明的实施例,采用本发明所提供的光叫醒系统进行叫醒服务时,可事先在本发明的光叫醒系统上通过按键模块设置好叫醒时间,设置好的叫醒时间会显示在显示模块上,然后将光叫醒系统放置于被叫醒服务对象的正前方或者被服务对象容易看到的地方。当到达设置好的叫醒时间时,光叫醒系统中的智能芯片会控制NMOS管M3处于导通状态并且智能芯片通过将叫醒信号传输给DAC芯片后,DAC芯片将控制压控电阻使压控电阻的的阻值调到0,使发光二极管模块中的发光二极管发亮,持续3秒后,DAC芯片将控制压控电阻使压控电阻的的阻值逐渐升高到最大值,只有极小的电流通过发光二极管,则发光二极管处于熄灭状态并持续0.5秒,如此重复几次调控操作,直到被服务对象被叫醒后,接收到被服务对象发出的“停止”指令后,所述智能芯片控制所述发光二极管的亮度降低到最大亮度的1/3并保持。当接收到被服务对象发出的“关闭”指令或者被服务对象直接按下待机按键,此时,智能芯片会直接控制NMOS管M3处于断开状态,所述发光二极管没有电流通过,处于熄灭状态,即光叫醒系统将不再发亮,处于熄灭状态。According to an embodiment of the present invention, when the light wake-up system provided by the present invention is used for wake-up service, the wake-up time can be set in advance on the light wake-up system of the present invention through the key module, and the set wake-up time will be displayed on the display module, and then the light wake-up system is placed in front of the service object being woken up or in a place where the service object can easily see it. When the set wake-up time is reached, the smart chip in the light wake-up system will control the NMOS tube M3 to be in a conductive state, and the smart chip will transmit the wake-up signal to the DAC chip, and the DAC chip will control the voltage-controlled resistor to adjust the resistance value of the voltage-controlled resistor to 0, so that the light-emitting diode in the light-emitting diode module will light up, and after 3 seconds, the DAC chip will control the voltage-controlled resistor to gradually increase the resistance value of the voltage-controlled resistor to the maximum value, and only a very small current will pass through the light-emitting diode, and the light-emitting diode will be in an off state and last for 0.5 seconds. Repeat the control operation several times until the service object is woken up, and after receiving the "stop" command issued by the service object, the smart chip controls the brightness of the light-emitting diode to be reduced to 1/3 of the maximum brightness and maintain it. When receiving the "off" command from the service object or the service object directly presses the standby button, the smart chip will directly control the NMOS tube M3 to be in the off state, and the light emitting diode will not pass current and will be in the off state, that is, the light wake-up system will no longer light up and will be in the off state.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310710404.9A CN116758684B (en) | 2023-06-15 | 2023-06-15 | Light wake-up system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310710404.9A CN116758684B (en) | 2023-06-15 | 2023-06-15 | Light wake-up system and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116758684A CN116758684A (en) | 2023-09-15 |
| CN116758684B true CN116758684B (en) | 2024-06-21 |
Family
ID=87947246
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310710404.9A Active CN116758684B (en) | 2023-06-15 | 2023-06-15 | Light wake-up system and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116758684B (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107102534A (en) * | 2017-05-11 | 2017-08-29 | 深圳如果技术有限公司 | One kind wakes method, device and alarm clock |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN2112168U (en) * | 1992-01-27 | 1992-08-05 | 汪戈峤 | Vibration sleeper's alarm |
| CN101790000B (en) * | 2010-02-20 | 2014-08-13 | 华为终端有限公司 | A kind of ambient sound reminding method and mobile terminal |
| CN103048918A (en) * | 2012-12-28 | 2013-04-17 | 福建友通实业有限公司 | Split wrist strap vibration wake-up alarm clock |
| CN103942921A (en) * | 2013-01-21 | 2014-07-23 | 深圳市启明和丰照明科技有限公司 | Earthquake early-warning system and earthquake early-warning method of LED lamp |
| CN104035370B (en) * | 2014-06-09 | 2017-03-01 | 曹亮明 | Sleep monitor system and monitoring method |
| CN104622432B (en) * | 2015-02-06 | 2017-06-06 | 华南理工大学 | Based on bass than sleep sound of snoring monitoring method and system |
| CN106151935A (en) * | 2015-04-22 | 2016-11-23 | 颜世睿 | A kind of Rouser based on infrared heat sensor array |
| CN108241957B (en) * | 2016-12-26 | 2023-05-16 | 中兴通讯股份有限公司 | Intelligent reminding method, first wearable device and intelligent reminding system |
| KR102071865B1 (en) * | 2017-11-30 | 2020-01-31 | 주식회사 인텔로이드 | Device and method for recognizing wake-up word using server recognition result |
| CN115998252A (en) * | 2022-12-13 | 2023-04-25 | 贵州省人民医院 | A method for monitoring sleep apnea |
-
2023
- 2023-06-15 CN CN202310710404.9A patent/CN116758684B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107102534A (en) * | 2017-05-11 | 2017-08-29 | 深圳如果技术有限公司 | One kind wakes method, device and alarm clock |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116758684A (en) | 2023-09-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102163073B (en) | Terminal power consumption optimization processing method and device | |
| CN205227013U (en) | Intelligence light awakens desk lamp up | |
| CN102520610B (en) | Intelligent light alarm | |
| CN103925548A (en) | Acoustic-control energy-saving table lamp | |
| CN201766756U (en) | A multifunctional lighting controller | |
| CN202522863U (en) | Intelligent lighting alarm | |
| CN116758684B (en) | Light wake-up system and method | |
| CN106422020A (en) | System and method for intelligently awakening users in sleep | |
| CN205108668U (en) | Intelligent awakening device | |
| CN101691943B (en) | Remote control device and method for realizing control by sleep parameters customized by user over operation of air conditioner | |
| CN203868914U (en) | Voice-control energy-saving table lamp device | |
| CN113920621A (en) | NFC-based Internet of things access control and setting method thereof | |
| CN108403087A (en) | A kind of sleep monitor and superintend and direct guard system | |
| CN101018302A (en) | A method for realizing the low power consumption standby | |
| CN115001090B (en) | Circuit for controlling remote communication power supply by singlechip, control method and vehicle | |
| CN201293917Y (en) | Multifunctional alarm clock | |
| CN105068436A (en) | Household sound box and illumination control system and control method thereof | |
| CN105263234B (en) | Get up naturally lamp control system and method based on Adaboost algorithm | |
| CN205334073U (en) | Multi functional remote alarm clock | |
| CN103648025A (en) | Television apparatus with reminding function and control method thereof | |
| CN208766472U (en) | A kind of alarm clock for assisting getting up | |
| CN206975420U (en) | A kind of smooth wake-up alarm | |
| CN210038458U (en) | Light-sensing alarm clock | |
| CN217335965U (en) | A smart music light string | |
| CN210870858U (en) | A timed wake up massage pillow |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |