[go: up one dir, main page]

CN111722546A - Sensor control method, control device and cooking equipment - Google Patents

Sensor control method, control device and cooking equipment Download PDF

Info

Publication number
CN111722546A
CN111722546A CN202010614806.5A CN202010614806A CN111722546A CN 111722546 A CN111722546 A CN 111722546A CN 202010614806 A CN202010614806 A CN 202010614806A CN 111722546 A CN111722546 A CN 111722546A
Authority
CN
China
Prior art keywords
sensor
value
sampling value
background noise
sampling
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.)
Granted
Application number
CN202010614806.5A
Other languages
Chinese (zh)
Other versions
CN111722546B (en
Inventor
王灏
朱洁乐
吴俊文
陈立鹏
凌晓春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, Guangdong Midea Kitchen Appliances Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202010614806.5A priority Critical patent/CN111722546B/en
Publication of CN111722546A publication Critical patent/CN111722546A/en
Application granted granted Critical
Publication of CN111722546B publication Critical patent/CN111722546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J27/00Cooking-vessels
    • A47J27/04Cooking-vessels for cooking food in steam; Devices for extracting fruit juice by means of steam ; Vacuum cooking vessels
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J36/00Parts, details or accessories of cooking-vessels
    • A47J36/32Time-controlled igniting mechanisms or alarm devices
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J37/00Baking; Roasting; Grilling; Frying
    • A47J37/06Roasters; Grills; Sandwich grills
    • A47J37/0623Small-size cooking ovens, i.e. defining an at least partially closed cooking cavity
    • A47J37/0629Small-size cooking ovens, i.e. defining an at least partially closed cooking cavity with electric heating elements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B6/00Heating by electric, magnetic or electromagnetic fields
    • H05B6/64Heating using microwaves
    • H05B6/6447Method of operation or details of the microwave heating apparatus related to the use of detectors or sensors
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J27/00Cooking-vessels
    • A47J27/04Cooking-vessels for cooking food in steam; Devices for extracting fruit juice by means of steam ; Vacuum cooking vessels
    • A47J2027/043Cooking-vessels for cooking food in steam; Devices for extracting fruit juice by means of steam ; Vacuum cooking vessels for cooking food in steam

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Food Science & Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geophysics (AREA)
  • Automation & Control Theory (AREA)
  • Electromagnetism (AREA)
  • Electric Ovens (AREA)

Abstract

本发明提供了一种传感器的控制方法、控制装置和烹饪设备,传感器的控制方法,包括:响应校准背景噪声值的选择指令,获取传感器的第一采样值;根据传感器的第一采样值确定采样值波动区间;周期性获取传感器的第二采样值;根据传感器的第二采样值处于采样值波动区间的持续时长与设定时长的比较结果调整背景噪声值。通过监测传感器当前场景下的采样值,进而确定在当前场景下采样值的波动情况,以便根据采样值的波动情况来确定是否调整背景噪声值,由于背景噪声值的调整过程完全依赖传感器在当前场景下的采样值,因此,减少了环境噪声对传感器的感应距离所产生的干扰,进而确保了感应距离的一致性。

Figure 202010614806

The invention provides a sensor control method, a control device and a cooking device, and the sensor control method includes: in response to a selection instruction for calibrating a background noise value, acquiring a first sampling value of the sensor; determining the sampling value according to the first sampling value of the sensor value fluctuation interval; periodically obtain the second sampling value of the sensor; adjust the background noise value according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration. By monitoring the sampling value of the sensor in the current scene, the fluctuation of the sampling value in the current scene is determined, so as to determine whether to adjust the background noise value according to the fluctuation of the sampling value, because the adjustment process of the background noise value completely depends on the sensor in the current scene. Therefore, the interference of environmental noise on the sensing distance of the sensor is reduced, thereby ensuring the consistency of the sensing distance.

Figure 202010614806

Description

传感器的控制方法、控制装置和烹饪设备Sensor control method, control device and cooking equipment

技术领域technical field

本发明涉及厨房器具技术领域,具体而言,涉及一种传感器的控制方法、控制装置和烹饪设备。The present invention relates to the technical field of kitchen appliances, and in particular, to a sensor control method, a control device and a cooking device.

背景技术Background technique

相关技术方案中,红外接近感应传感器向外发出红外光线,该光线在遇到障碍物后会发生反射,红外接近感应传感器接收反射的红外光线,将红外光线的光强转化为对应的数值,以便将该数值与设定阈值进行比较,进而触发相应的功能。In the related technical scheme, the infrared proximity sensor emits infrared light, which will be reflected after encountering an obstacle, and the infrared proximity sensor receives the reflected infrared light and converts the light intensity of the infrared light into a corresponding value, so that the This value is compared with a set threshold, which triggers the corresponding function.

本领域的技术人员发现,红外接近感应传感器在使用过程中,对外界干扰比较敏感,其中,外界干扰包括但不局限于环境光、还可以是红外传感器所在环境的结构,以厨房电器为例,外界干扰包括厨房结构、布局等因素也会造成干扰,比如厨房的大小各异,位于应用红外接近传感器的厨房电器对面的家具或墙面等障碍物会影响红外接近感应传感器的使用,致使感应距离一致性较差,无法满足现阶段的使用需求。Those skilled in the art have found that the infrared proximity sensor is sensitive to external interference during use, wherein the external interference includes but is not limited to ambient light, and can also be the structure of the environment where the infrared sensor is located. Taking kitchen appliances as an example, External interference, including kitchen structure, layout and other factors will also cause interference. For example, the size of the kitchen is different, and obstacles such as furniture or walls located opposite the kitchen appliances where the infrared proximity sensor is applied will affect the use of the infrared proximity sensor, resulting in the sensing distance. The consistency is poor and cannot meet the current usage needs.

发明内容SUMMARY OF THE INVENTION

本发明旨在至少解决现有技术或相关技术中存在的技术问题之一。The present invention aims to solve at least one of the technical problems existing in the prior art or related technologies.

为此,本发明的第一个方面在于,提供了一种传感器的控制方法。To this end, a first aspect of the present invention is to provide a sensor control method.

本发明的第二个方面在于,提供了一种传感器的控制装置。A second aspect of the present invention is to provide a sensor control device.

本发明的第三个方面在于,提供了烹饪设备。A third aspect of the present invention is that a cooking apparatus is provided.

有鉴于此,根据本发明的第一个方面,本发明提供了一种传感器的控制方法,包括:响应校准背景噪声值的选择指令,获取传感器的第一采样值;根据传感器的第一采样值确定采样值波动区间;周期性获取传感器的第二采样值;根据传感器的第二采样值处于采样值波动区间的持续时长与设定时长的比较结果调整背景噪声值。In view of this, according to a first aspect of the present invention, the present invention provides a method for controlling a sensor, comprising: in response to a selection instruction for calibrating a background noise value, acquiring a first sampling value of the sensor; according to the first sampling value of the sensor The sampling value fluctuation interval is determined; the second sampling value of the sensor is periodically obtained; the background noise value is adjusted according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration.

在本发明的技术方案中,提出了一种传感器的控制方法,通过监测传感器当前场景下的采样值,进而确定在当前场景下采样值的波动情况,以便根据采样值的波动情况来确定是否调整背景噪声值,由于背景噪声值的调整过程完全依赖传感器在当前场景下的采样值。因此,减少了环境噪声对传感器的感应距离所产生的干扰,进而确保了感应距离的一致性。In the technical solution of the present invention, a sensor control method is proposed, by monitoring the sampling value of the sensor in the current scene, and then determining the fluctuation of the sampling value in the current scene, so as to determine whether to adjust according to the fluctuation of the sampling value The background noise value, because the adjustment process of the background noise value completely depends on the sampling value of the sensor in the current scene. Therefore, the interference of environmental noise on the sensing distance of the sensor is reduced, thereby ensuring the consistency of the sensing distance.

具体地,通过限定设定时长这一参数,减少了突发性的干扰对背景噪声值设定的干扰,提高了背景噪声值的可靠性。Specifically, by limiting the parameter of the set duration, the interference of sudden interference on the setting of the background noise value is reduced, and the reliability of the background noise value is improved.

另外,根据本发明提供的上述技术方案中的传感器的控制方法,还可以具有如下附加技术特征:In addition, according to the control method of the sensor in the above-mentioned technical solution provided by the present invention, it may also have the following additional technical features:

在上述技术方案中,根据传感器的第二采样值处于采样值波动区间的持续时长与设定时长的比较结果调整背景噪声值的步骤,具体包括:确定持续时长大于或等于设定时长,将第一采样值作为更新后的背景噪声值;确定持续时长小于设定时长,保持背景噪声值。In the above technical solution, the step of adjusting the background noise value according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration specifically includes: determining that the duration is greater than or equal to the set duration, A sampling value is used as the updated background noise value; it is determined that the duration is less than the set duration, and the background noise value is maintained.

在该技术方案中,由于当前环境中可能存在不稳定的干扰源,而该干扰源会影响背景噪声值的调整,通过限定当检测到传感器的第二采样值处于采样值波动区间的持续时长大于或等于设定时长,将第一采样值作为更新后的背景噪声值,以减少突发性的信号干扰对背景噪声值设定的影响,通过上述技术方案,提高了背景噪声值的可靠性。In this technical solution, since there may be an unstable interference source in the current environment, and the interference source will affect the adjustment of the background noise value, by limiting the duration when the second sampling value of the sensor is detected to be in the sampling value fluctuation interval greater than or equal to the set duration, the first sampling value is used as the updated background noise value to reduce the impact of sudden signal interference on the setting of the background noise value, and the reliability of the background noise value is improved through the above technical solutions.

在上述任一技术方案中,在根据传感器的第一采样值确定采样值波动区间的步骤之前,还包括:预先构建第一采样值和采样值波动区间的对照关系;根据传感器的第一采样值确定采样值波动区间的步骤,具体包括:根据对照关系确定第一采样值对应的采样值波动区间。In any of the above technical solutions, before the step of determining the fluctuation interval of the sampling value according to the first sampling value of the sensor, the method further includes: pre-establishing a comparison relationship between the first sampling value and the fluctuation interval of the sampling value; The step of determining the fluctuation interval of the sampling value specifically includes: determining the fluctuation interval of the sampling value corresponding to the first sampling value according to the comparison relationship.

在该技术方案中,通过预先构建第一采样值和采样值波动区间的对照关系,以便在获取到传感器的第一采样值后,可以根据该对照关系直接获取得到第一采样值所对应的采样值波动区间,在此过程中,采样值波动区间获取过程简单,便于实现。In this technical solution, a comparison relationship between the first sampling value and the fluctuation interval of the sampling value is constructed in advance, so that after the first sampling value of the sensor is obtained, the sampling corresponding to the first sampling value can be directly obtained according to the comparison relationship. Value fluctuation interval, in this process, the acquisition process of the sampling value fluctuation interval is simple and easy to implement.

在上述任一技术方案中,根据传感器的第二采样值处于采样值波动区间的持续时长与设定时长的比较结果调整背景噪声值的步骤之后,还包括:获取传感器的第三采样值;确定传感器的第三采样值与背景噪声值的差值大于或等于触发阈值,输出动作信号;确定传感器的第三采样值与背景噪声值的差值小于触发阈值,停止输出动作信号。In any of the above technical solutions, after the step of adjusting the background noise value according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration, the method further includes: acquiring the third sampling value of the sensor; determining When the difference between the third sampling value of the sensor and the background noise value is greater than or equal to the trigger threshold, an action signal is output; it is determined that the difference between the third sampling value of the sensor and the background noise value is less than the trigger threshold, and the action signal is stopped.

在该技术方案中,在传感器的背景噪声值设定结束后,可以根据传感器的第二采样值处于采样值波动区间的持续时长与设定时长的比较结果调整确定的背景噪声值来进行动作触发,具体地,通过获取传感器的第三采样值,以便将第三采样值与背景噪声值进行比较,进而确定是否输出动作信号。其中,与传感器相连接的设备根据动作信号执行对应的功能,在此过程中,由于背景噪声值是根据传感器所处的当前环境确定的,因此,在将第三采样值与背景噪声值的差值与触发阈值进行比较来确定是否输出动作信号的时候,可以确保传感器在触发的过程中不会受到环境干扰,进而确保了感应距离一致性,进而满足现阶段用户的使用需求。In this technical solution, after the setting of the background noise value of the sensor is completed, the action trigger can be performed by adjusting the determined background noise value according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration. Specifically, by acquiring the third sampling value of the sensor, so as to compare the third sampling value with the background noise value, and then determine whether to output the action signal. Among them, the device connected to the sensor performs the corresponding function according to the action signal. In this process, since the background noise value is determined according to the current environment where the sensor is located, the difference between the third sampling value and the background noise value is calculated. When comparing the value with the trigger threshold to determine whether to output an action signal, it can ensure that the sensor will not be disturbed by the environment during the triggering process, thereby ensuring the consistency of the sensing distance, and thus meeting the needs of users at this stage.

在上述任一技术方案中,在获取传感器的第三采样值的步骤之前,还包括:响应触发阈值的设定指令,接收触发距离的设定值;根据触发距离的设定值确定触发阈值。In any of the above technical solutions, before the step of acquiring the third sampling value of the sensor, the method further includes: receiving a setting value of the triggering distance in response to the setting instruction of the triggering threshold; and determining the triggering threshold according to the setting value of the triggering distance.

在该技术方案中,通常情况下,传感器的感应距离会在出厂之前,或用于驱动传感器动作的程序编写过程时,会进行固化写入,因此,传感器的感应距离无法进行调整,通过在获取传感器的第三采样值的步骤之前,响应触发阈值的设定指令,接收触发距离的设定值;根据触发距离的设定值确定触发阈值,将传感器的感应距离的确定权限开放给用户,以便用户可以根据实际场景需求进行设定,进而满足传感器在实际应用场景的使用需求。In this technical solution, under normal circumstances, the sensing distance of the sensor will be solidified before leaving the factory or during the programming process for driving the action of the sensor. Therefore, the sensing distance of the sensor cannot be adjusted. Before the step of the third sampling value of the sensor, in response to the setting instruction of the triggering threshold, the setting value of the triggering distance is received; the triggering threshold is determined according to the setting value of the triggering distance, and the determination authority of the sensing distance of the sensor is opened to the user, so that Users can set according to the actual scene requirements, and then meet the use requirements of the sensor in the actual application scene.

在上述任一技术方案中,在响应校准背景噪声值的选择指令,获取传感器的第一采样值的步骤之前,还包括:接收接近感应功能的启动指令,输出校准背景噪声值的第一标识信息和默认背景噪声值的第二标识信息;基于接收到针对第一标识信息的输入指令,确定接收到校准背景噪声值的选择指令。In any of the above technical solutions, before the step of acquiring the first sampling value of the sensor in response to the selection instruction for calibrating the background noise value, the method further includes: receiving an activation instruction of the proximity sensing function, and outputting first identification information for calibrating the background noise value and second identification information of the default background noise value; based on receiving an input instruction for the first identification information, it is determined that a selection instruction for calibrating the background noise value is received.

在该技术方案中,校准背景噪声值的第一标识信息可以是在接收到接近感应功能的启动指令时进行显示,如输出校准背景噪声值的第一标识信息和默认背景噪声值的第二标识信息,基于接收到针对第一标识信息的输入指令,确定接收到校准背景噪声值的选择指令,以便对背景噪声值进行设定。可以理解的是,将校准背景噪声值的控制逻辑集成于现有控制逻辑中,其中,现有控制逻辑包括如接近感应功能的是否启用的操作界面中,进而开发人员无需单独开发一个用于校准背景噪声值的操作系统,进而降低了传感器的开发成本,同时,由于校准背景噪声值与接近感应功能是否开启的操作界面集成在一起,减少了用户使用过程中,在不同的操作界面之间的切换次数,简化了传感器的控制流程。In this technical solution, the first identification information for calibrating the background noise value may be displayed when an activation instruction of the proximity sensing function is received, such as outputting the first identification information for the calibration background noise value and the second identification for the default background noise value information, and based on receiving an input instruction for the first identification information, it is determined that a selection instruction for calibrating the background noise value is received, so as to set the background noise value. It can be understood that the control logic for calibrating the background noise value is integrated into the existing control logic, wherein the existing control logic includes the operation interface such as whether the proximity sensing function is enabled, so that the developer does not need to develop a separate one for calibration. The operating system of the background noise value reduces the development cost of the sensor. At the same time, since the calibration of the background noise value is integrated with the operation interface of whether the proximity sensing function is turned on, it reduces the user's use of the process between different operation interfaces. Switching times simplifies the control process of the sensor.

根据本发明的第二个方面,本发明提供了一种传感器的控制装置,包括:存储器,存储器上存储有计算机程序;控制器,控制器执行计算机程序实现如上述任一项的传感器的控制方法的步骤。According to a second aspect of the present invention, the present invention provides a control device for a sensor, comprising: a memory on which a computer program is stored; a controller, where the controller executes the computer program to implement the control method for any one of the above-mentioned sensors A step of.

在本发明的技术方案中,提出了一种传感器的控制装置,具体地,传感器的控制装置包括控制器和存储器,其中,控制器执行计算机程序实现如上述任一项的传感器的控制方法的步骤,因此,传感器的控制装置具有上述任一项的传感器的控制方法的全部有益技术效果,在此,不再赘述。In the technical solution of the present invention, a sensor control device is proposed. Specifically, the sensor control device includes a controller and a memory, wherein the controller executes a computer program to implement the steps of any of the above-mentioned sensor control methods. Therefore, the control device of the sensor has all the beneficial technical effects of the control method of any one of the above-mentioned sensors, which will not be repeated here.

根据本发明的第三个方面,本发明提供了一种烹饪设备,包括:传感器,以及如上述技术方案中的传感器的控制装置,其中,传感器的控制装置与传感器相连接。According to a third aspect of the present invention, the present invention provides a cooking device, comprising: a sensor, and a control device for the sensor as in the above technical solution, wherein the control device for the sensor is connected with the sensor.

在该技术方案中,提出了一种烹饪设备,其中,烹饪设备包括传感器,以及如上述技术方案中的传感器的控制装置,传感器的控制装置与传感器相连接,由于烹饪设备具有上述传感器的控制装置,因此,烹饪设备具有上述传感器的控制装置的全部有益技术效果,在此,不再赘述。In this technical solution, a cooking device is proposed, wherein the cooking device includes a sensor, and a control device for the sensor as in the above technical solution, the control device for the sensor is connected with the sensor, because the cooking device has the control device for the sensor above Therefore, the cooking device has all the beneficial technical effects of the control device of the above-mentioned sensor, which will not be repeated here.

在上述技术方案中,传感器设置在烹饪设备的按键或烹饪设备的面板上。In the above technical solution, the sensor is arranged on the button of the cooking device or the panel of the cooking device.

在上述任一技术方案中,传感器包括红外传感器。In any of the above technical solutions, the sensor includes an infrared sensor.

在上述任一技术方案中,烹饪设备还包括:功能装置,功能装置与传感器的控制装置相连接,功能装置被配置为确定接收到动作信息,由第一状态切换至第二状态。In any of the above technical solutions, the cooking apparatus further includes: a functional device, the functional device is connected to the control device of the sensor, and the functional device is configured to determine that the action information is received, and switch from the first state to the second state.

在该技术方案中,通过设置的传感器可以实现功能装置的状态切换,具体地,在接收到动作信息时,功能装置由第一状态切换至第二状态,其中,功能装置可以是显示装置,第一状态和第二状态可以是显示装置的背光亮度情况,如第一状态下的显示装置的亮度值小于第二状态下的亮度值,进而起到显示装置的唤醒。In this technical solution, the state switching of the functional device can be realized by the provided sensor. Specifically, when the action information is received, the functional device is switched from the first state to the second state, wherein the functional device can be a display device, and the first state can be changed. The first state and the second state may be the brightness of the backlight of the display device. For example, the brightness value of the display device in the first state is smaller than the brightness value in the second state, which in turn wakes up the display device.

功能装置还可以是照明装置,在第一状态下,照明装置不工作,在第二状态下,照明装置工作。The functional device may also be a lighting device, and in the first state, the lighting device does not work, and in the second state, the lighting device works.

其中,功能装置还可以是用于输出显示烹饪设备的当前运行参数的设备,如在第一状态下,功能装置不显示烹饪设备的当前运行参数,在第二状态下,功能装置显示烹饪设备的当前运行参数。The functional device may also be a device for outputting and displaying the current operating parameters of the cooking device. For example, in the first state, the functional device does not display the current operating parameters of the cooking device, and in the second state, the functional device displays the current operating parameters of the cooking device. Current running parameters.

在上述技术方案中,烹饪设备包括:微波炉、烤箱、蒸箱、微蒸烤箱、蒸烤箱、微烤箱中的任意一种。In the above technical solution, the cooking equipment includes: any one of a microwave oven, an oven, a steamer, a micro-steam oven, a steamer, and a micro-oven.

在本发明的描述中,需要说明的是,本发明所提及的“烹饪设备”可包含任何可应用本发明技术方案的能够对食物进行烹饪处理的烹饪设备,包括但不限于微波炉、烤箱、蒸箱、微蒸烤箱、蒸烤箱和微烤箱。In the description of the present invention, it should be noted that the "cooking device" mentioned in the present invention may include any cooking device capable of cooking food to which the technical solution of the present invention can be applied, including but not limited to microwave ovens, ovens, Steam ovens, micro ovens, steam ovens and micro ovens.

本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be set forth, in part, from the following description, and in part will be apparent from the following description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:

图1示出了根据本发明一个实施例的传感器的控制方法的一个流程示意图;FIG. 1 shows a schematic flowchart of a control method for a sensor according to an embodiment of the present invention;

图2示出了根据本发明一个实施例的传感器的控制方法的一个流程示意图;FIG. 2 shows a schematic flowchart of a method for controlling a sensor according to an embodiment of the present invention;

图3示出了根据本发明一个实施例的传感器的控制方法的一个流程示意图;3 shows a schematic flowchart of a method for controlling a sensor according to an embodiment of the present invention;

图4示出了根据本发明一个实施例的传感器的控制方法的一个流程示意图;FIG. 4 shows a schematic flowchart of a method for controlling a sensor according to an embodiment of the present invention;

图5示出了在没有干扰情况下,红外发送装置发送的红外光线在遇到用户后反射至红外接收装置的光路示意图;FIG. 5 shows a schematic diagram of the optical path of the infrared light transmitted by the infrared transmitting device and reflected to the infrared receiving device after encountering the user under the condition of no interference;

图6示出了在存在干扰情况下,红外发送装置发送的红外光线在遇到用户后反射至红外接收装置的光路示意图;Figure 6 shows a schematic diagram of the optical path of the infrared light sent by the infrared transmitting device reflected to the infrared receiving device after encountering the user in the presence of interference;

图7示出了根据本发明一个实施例的背景噪声值随着干扰增加或减小的变化示意图;FIG. 7 is a schematic diagram showing the change of the background noise value as the interference increases or decreases according to an embodiment of the present invention;

图8示出了根据本发明一个实施例的传感器的控制方法的一个流程示意图;FIG. 8 shows a schematic flowchart of a method for controlling a sensor according to an embodiment of the present invention;

图9示出了根据本发明一个实施例的传感器的控制装置的示意框图;FIG. 9 shows a schematic block diagram of a control device of a sensor according to an embodiment of the present invention;

图10示出了根据本发明一个实施例的烹饪设备的示意框图;Fig. 10 shows a schematic block diagram of a cooking apparatus according to an embodiment of the present invention;

图11示出了根据本发明一个实施例的烹饪设备设定过程的流程示意图。FIG. 11 shows a schematic flowchart of a setting process of a cooking device according to an embodiment of the present invention.

具体实施方式Detailed ways

为了能够更清楚地理解本发明的上述方面、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to understand the above aspects, features and advantages of the present invention more clearly, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments may be combined with each other in the case of no conflict.

在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。Many specific details are set forth in the following description to facilitate a full understanding of the present invention. However, the present invention can also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. Example limitations.

实施例一Example 1

在本发明的一个实施例中,如图1所示,本发明提供了一种传感器的控制方法,包括:In an embodiment of the present invention, as shown in FIG. 1 , the present invention provides a method for controlling a sensor, including:

步骤102,响应校准背景噪声值的选择指令,获取传感器的第一采样值;Step 102, acquiring the first sampling value of the sensor in response to the selection instruction for calibrating the background noise value;

步骤104,根据传感器的第一采样值确定采样值波动区间;Step 104, determining the sampling value fluctuation interval according to the first sampling value of the sensor;

步骤106,周期性获取传感器的第二采样值;Step 106, periodically acquiring the second sampling value of the sensor;

步骤108,根据传感器的第二采样值处于采样值波动区间的持续时长与设定时长的比较结果调整背景噪声值。Step 108: Adjust the background noise value according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration.

在本发明的实施例中,提出了一种传感器的控制方法,通过监测传感器当前场景下的采样值,进而确定在当前场景下采样值的波动情况,以便根据采样值的波动情况来确定是否调整背景噪声值,由于背景噪声值的调整过程完全依赖传感器在当前场景下的采样值。因此,减少了环境噪声对传感器的感应距离所产生的干扰,进而确保了感应距离的一致性。In an embodiment of the present invention, a method for controlling a sensor is proposed. By monitoring the sampling value of the sensor in the current scene, the fluctuation of the sampling value in the current scene is determined, so as to determine whether to adjust the sampling value according to the fluctuation of the sampling value. The background noise value, because the adjustment process of the background noise value completely depends on the sampling value of the sensor in the current scene. Therefore, the interference of environmental noise on the sensing distance of the sensor is reduced, thereby ensuring the consistency of the sensing distance.

具体地,通过限定设定时长这一参数,减少了突发性的干扰对背景噪声值设定的干扰,提高了背景噪声值的可靠性。Specifically, by limiting the parameter of the set duration, the interference of sudden interference on the setting of the background noise value is reduced, and the reliability of the background noise value is improved.

在其中一个实施例中,传感器可以是光传感器,如红外传感器,其中,采样值对应着光强;传感器可以是声音传感器,如应用在船只上的声纳系统,其中,采样值对应着声音强度。In one embodiment, the sensor may be a light sensor, such as an infrared sensor, wherein the sampled value corresponds to the light intensity; the sensor may be a sound sensor, such as a sonar system applied on a ship, wherein the sampled value corresponds to the sound intensity .

在本发明的一个实施例中,如图2所示,传感器的控制方法,包括:In an embodiment of the present invention, as shown in FIG. 2 , the control method of the sensor includes:

步骤202,响应校准背景噪声值的选择指令,获取传感器的第一采样值;Step 202, acquiring the first sampling value of the sensor in response to the selection instruction for calibrating the background noise value;

步骤204,根据传感器的第一采样值确定采样值波动区间;Step 204, determining the sampling value fluctuation interval according to the first sampling value of the sensor;

步骤206,周期性获取传感器的第二采样值;Step 206, periodically acquiring the second sampling value of the sensor;

步骤208,确定持续时长大于或等于设定时长,将第一采样值作为更新后的背景噪声值;确定持续时长小于设定时长,保持背景噪声值。Step 208 , determine that the duration is greater than or equal to the set duration, and use the first sampling value as the updated background noise value; determine that the duration is less than the set duration, and maintain the background noise value.

在该实施例中,由于当前环境中可能存在不稳定的干扰源,而该干扰源会影响背景噪声值的调整,通过限定当检测到传感器的第二采样值处于采样值波动区间的持续时长大于或等于设定时长,将第一采样值作为更新后的背景噪声值,以减少突发性的信号干扰对背景噪声值设定的影响,通过上述实施例,提高了背景噪声值的可靠性。In this embodiment, since there may be an unstable interference source in the current environment, and the interference source may affect the adjustment of the background noise value, by limiting the duration when the second sampling value of the sensor is detected to be in the sampling value fluctuation interval greater than or equal to the set duration, the first sampling value is used as the updated background noise value to reduce the impact of sudden signal interference on the setting of the background noise value. The above embodiments improve the reliability of the background noise value.

在其中一个实施例中,传感器可以是光传感器,如红外传感器,其中,采样值对应着光强;传感器可以是声音传感器,如应用在船只上的声纳系统,其中,采样值对应着声音强度。In one embodiment, the sensor may be a light sensor, such as an infrared sensor, wherein the sampled value corresponds to the light intensity; the sensor may be a sound sensor, such as a sonar system applied on a ship, wherein the sampled value corresponds to the sound intensity .

实施例二Embodiment 2

在本发明的一个实施例中,如图3所示,本发明提供了一种传感器的控制方法,包括:In an embodiment of the present invention, as shown in FIG. 3 , the present invention provides a method for controlling a sensor, including:

步骤302,预先构建第一采样值和采样值波动区间的对照关系;Step 302, pre-constructing the comparison relationship between the first sampling value and the fluctuation interval of the sampling value;

步骤304,响应校准背景噪声值的选择指令,获取传感器的第一采样值;Step 304, acquiring the first sampling value of the sensor in response to the selection instruction for calibrating the background noise value;

步骤306,根据对照关系确定第一采样值对应的采样值波动区间;Step 306, determining the sampling value fluctuation interval corresponding to the first sampling value according to the comparison relationship;

步骤308,周期性获取传感器的第二采样值;Step 308, periodically acquiring the second sampling value of the sensor;

步骤310,根据传感器的第二采样值处于采样值波动区间的持续时长与设定时长的比较结果调整背景噪声值。Step 310: Adjust the background noise value according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration.

在该实施例中,通过预先构建第一采样值和采样值波动区间的对照关系,以便在获取到传感器的第一采样值后,可以根据该对照关系直接获取得到第一采样值所对应的采样值波动区间,在此过程中,采样值波动区间获取过程简单,便于实现。In this embodiment, a comparison relationship between the first sampling value and the fluctuation interval of the sampling value is constructed in advance, so that after the first sampling value of the sensor is obtained, the sampling corresponding to the first sampling value can be directly obtained according to the comparison relationship. Value fluctuation interval, in this process, the acquisition process of the sampling value fluctuation interval is simple and easy to implement.

在其中一个实施例中,传感器可以是光传感器,如红外传感器,其中,采样值对应着光强;传感器可以是声音传感器,如应用在船只上的声纳系统,其中,采样值对应着声音强度。In one embodiment, the sensor may be a light sensor, such as an infrared sensor, wherein the sampled value corresponds to the light intensity; the sensor may be a sound sensor, such as a sonar system applied on a ship, wherein the sampled value corresponds to the sound intensity .

在本发明的一个实施例中,如图4所示,本发明提供了一种传感器的控制方法,包括:In an embodiment of the present invention, as shown in FIG. 4 , the present invention provides a method for controlling a sensor, including:

步骤402,响应校准背景噪声值的选择指令,获取传感器的第一采样值;Step 402, in response to the selection instruction for calibrating the background noise value, obtain the first sampling value of the sensor;

步骤404,根据传感器的第一采样值确定采样值波动区间;Step 404, determining the sampling value fluctuation interval according to the first sampling value of the sensor;

步骤406,周期性获取传感器的第二采样值;Step 406, periodically acquiring the second sampling value of the sensor;

步骤408,根据传感器的第二采样值处于采样值波动区间的持续时长与设定时长的比较结果调整背景噪声值;Step 408: Adjust the background noise value according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration;

步骤410,获取传感器的第三采样值;Step 410, acquiring the third sampling value of the sensor;

步骤412,确定传感器的第三采样值与背景噪声值的差值大于或等于触发阈值,输出动作信号;确定传感器的第三采样值与背景噪声值的差值小于触发阈值,停止输出动作信号。Step 412 , determine that the difference between the third sampling value of the sensor and the background noise value is greater than or equal to the trigger threshold, and output an action signal; determine that the difference between the third sampling value of the sensor and the background noise value is less than the trigger threshold, and stop outputting the action signal.

在该实施例中,在传感器的背景噪声值设定结束后,可以根据传感器的第二采样值处于采样值波动区间的持续时长与设定时长的比较结果调整确定的背景噪声值来进行动作触发,具体地,通过获取传感器的第三采样值,以便将第三采样值与背景噪声值进行比较,进而确定是否输出动作信号。其中,与传感器相连接的设备根据动作信号执行对应的功能,在此过程中,由于背景噪声值是根据传感器所处的当前环境确定的,因此,在将第三采样值与背景噪声值的差值与触发阈值进行比较来确定是否输出动作信号的时候,可以确保传感器在触发的过程中不会受到环境干扰,进而确保了感应距离一致性,进而满足现阶段用户的使用需求。In this embodiment, after the setting of the background noise value of the sensor is completed, the action trigger can be performed by adjusting the determined background noise value according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration Specifically, by acquiring the third sampling value of the sensor, so as to compare the third sampling value with the background noise value, and then determine whether to output the action signal. Among them, the device connected to the sensor performs the corresponding function according to the action signal. In this process, since the background noise value is determined according to the current environment where the sensor is located, the difference between the third sampling value and the background noise value is calculated. When comparing the value with the trigger threshold to determine whether to output an action signal, it can ensure that the sensor will not be disturbed by the environment during the triggering process, thereby ensuring the consistency of the sensing distance, and thus meeting the needs of users at this stage.

在其中一个实施例中,传感器可以是光传感器,如红外传感器,其中,采样值对应着光强;传感器可以是声音传感器,如应用在船只上的声纳系统,其中,采样值对应着声音强度。In one embodiment, the sensor may be a light sensor, such as an infrared sensor, wherein the sampled value corresponds to the light intensity; the sensor may be a sound sensor, such as a sonar system applied on a ship, wherein the sampled value corresponds to the sound intensity .

在本发明的一个实施中,传感器以红外传感器为例,其中,红外传感器包括红外发送装置和红外接收装置,具体地,如图5、图6和图7所示,其中,图5示出了在没有干扰情况下,红外发送装置发送的红外光线在遇到用户后反射至红外接收装置的光路示意图,图6示出了在存在干扰情况下,红外发送装置发送的红外光线在遇到用户后反射至红外接收装置的光路示意图,基于图5和图6的内容可知,由于存在环境因素的干扰,红外接收装置只需要接收一小部分红外发送装置发出的光线即可实现触发,即进行动作,而上述情况会造成传感器的感应距离会变短。In an implementation of the present invention, the sensor is an infrared sensor, where the infrared sensor includes an infrared sending device and an infrared receiving device, specifically, as shown in FIG. 5 , FIG. 6 and FIG. 7 , wherein FIG. 5 shows In the case of no interference, a schematic diagram of the optical path of the infrared light sent by the infrared sending device reflected to the infrared receiving device after encountering the user. The schematic diagram of the light path reflected to the infrared receiving device, based on the contents of Figure 5 and Figure 6, it can be seen that due to the interference of environmental factors, the infrared receiving device only needs to receive a small part of the light emitted by the infrared transmitting device to achieve triggering, that is, to perform an action, The above situation will cause the sensing distance of the sensor to be shortened.

采用本申请的实施例后,红外传感器的背景噪声值S会根据环境干扰动态变换,具体地,背景噪声值S随着干扰的增加会不断升高,随着干扰降低的过程不断降低,而触发阈值不会因为背景噪声值S的变化而变化,因此,确保传感器在使用的过程中,感应距离不会因为存在环境因素的干扰而出现不一致。After adopting the embodiment of the present application, the background noise value S of the infrared sensor will be dynamically transformed according to the environmental disturbance. The threshold value will not change due to the change of the background noise value S. Therefore, it is ensured that the sensing distance will not be inconsistent due to the interference of environmental factors during the use of the sensor.

其中,通过限定根据传感器的第二采样值处于采样值波动区间的持续时长与设定时长ΔS的比较结果调整背景噪声值。Wherein, the background noise value is adjusted according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration ΔS.

在其中一个实施例中,传感器的第一采样值、第二采样值和第三采样值可以是根据接收到的光强信号或由光强信号所转化的与该光强信号相对应的数字信号。In one of the embodiments, the first sampling value, the second sampling value and the third sampling value of the sensor may be based on the received light intensity signal or a digital signal corresponding to the light intensity signal converted from the light intensity signal .

实施例三Embodiment 3

在本发明的一个实施例中,如图8所示,本发明提供了一种传感器的控制方法,包括:In an embodiment of the present invention, as shown in FIG. 8 , the present invention provides a method for controlling a sensor, including:

步骤802,响应校准背景噪声值的选择指令,获取传感器的第一采样值;Step 802, acquiring the first sampling value of the sensor in response to the selection instruction for calibrating the background noise value;

步骤804,根据传感器的第一采样值确定采样值波动区间;Step 804, determining the sampling value fluctuation interval according to the first sampling value of the sensor;

步骤806,周期性获取传感器的第二采样值;Step 806, periodically acquiring the second sampling value of the sensor;

步骤808,根据传感器的第二采样值处于采样值波动区间的持续时长与设定时长的比较结果调整背景噪声值;Step 808, adjusting the background noise value according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration;

步骤810,响应触发阈值的设定指令,接收触发距离的设定值;Step 810, in response to the setting instruction of the trigger threshold, receive the setting value of the trigger distance;

步骤812,根据触发距离的设定值确定触发阈值;Step 812, determining the trigger threshold according to the set value of the trigger distance;

步骤814,获取传感器的第三采样值;Step 814, acquiring the third sampling value of the sensor;

步骤816,确定传感器的第三采样值与背景噪声值的差值大于或等于触发阈值,输出动作信号;确定传感器的第三采样值与背景噪声值的差值小于触发阈值,停止输出动作信号。Step 816, determine that the difference between the third sampling value of the sensor and the background noise value is greater than or equal to the trigger threshold, and output an action signal; determine that the difference between the third sampling value of the sensor and the background noise value is less than the trigger threshold, and stop outputting the action signal.

在该实施例中,通常情况下,传感器的感应距离会在出厂之前,或用于驱动传感器动作的程序编写过程时,会进行固化写入,因此,传感器的感应距离无法进行调整,通过在获取传感器的第三采样值的步骤之前,响应触发阈值的设定指令,接收触发距离的设定值;根据触发距离的设定值确定触发阈值,将传感器的感应距离的确定权限开放给用户,以便用户可以根据实际场景需求进行设定,进而满足传感器在实际应用场景的使用需求。In this embodiment, usually, the sensing distance of the sensor will be solidified before leaving the factory, or during the programming process for driving the action of the sensor. Therefore, the sensing distance of the sensor cannot be adjusted. Before the step of the third sampling value of the sensor, in response to the setting instruction of the triggering threshold, the setting value of the triggering distance is received; the triggering threshold is determined according to the setting value of the triggering distance, and the determination authority of the sensing distance of the sensor is opened to the user, so that Users can set according to the actual scene requirements, and then meet the use requirements of the sensor in the actual application scene.

在其中一个实施例中,传感器可以是光传感器,如红外传感器,其中,采样值对应着光强;传感器可以是声音传感器,如应用在船只上的声纳系统,其中,采样值对应着声音强度。In one embodiment, the sensor may be a light sensor, such as an infrared sensor, wherein the sampled value corresponds to the light intensity; the sensor may be a sound sensor, such as a sonar system applied on a ship, wherein the sampled value corresponds to the sound intensity .

在上述任一实施例中,在响应校准背景噪声值的选择指令,获取传感器的第一采样值的步骤之前,还包括:接收接近感应功能的启动指令,输出校准背景噪声值的第一标识信息和默认背景噪声值的第二标识信息;基于接收到针对第一标识信息的输入指令,确定接收到校准背景噪声值的选择指令。In any of the above embodiments, before the step of acquiring the first sampling value of the sensor in response to the selection instruction for calibrating the background noise value, the method further includes: receiving a start instruction of the proximity sensing function, and outputting first identification information for calibrating the background noise value and second identification information of the default background noise value; based on receiving an input instruction for the first identification information, it is determined that a selection instruction for calibrating the background noise value is received.

在该实施例中,校准背景噪声值的第一标识信息可以是在接收到接近感应功能的启动指令时进行显示,如输出校准背景噪声值的第一标识信息和默认背景噪声值的第二标识信息,基于接收到针对第一标识信息的输入指令,确定接收到校准背景噪声值的选择指令,以便对背景噪声值进行设定。可以理解的是,将校准背景噪声值的控制逻辑集成于现有控制逻辑中,其中,现有控制逻辑包括如接近感应功能的是否启用的操作界面中,进而开发人员无需单独开发一个用于校准背景噪声值的操作系统,进而降低了传感器的开发成本,同时,由于校准背景噪声值与接近感应功能是否开启的操作界面集成在一起,减少了用户使用过程中,在不同的操作界面之间的切换次数,简化了传感器的控制流程。In this embodiment, the first identification information for calibrating the background noise value may be displayed when an activation instruction of the proximity sensing function is received, such as outputting the first identification information for the calibration background noise value and the second identification for the default background noise value information, and based on receiving an input instruction for the first identification information, it is determined that a selection instruction for calibrating the background noise value is received, so as to set the background noise value. It can be understood that the control logic for calibrating the background noise value is integrated into the existing control logic, wherein the existing control logic includes the operation interface such as whether the proximity sensing function is enabled, so that the developer does not need to develop a separate one for calibration. The operating system of the background noise value reduces the development cost of the sensor. At the same time, since the calibration of the background noise value is integrated with the operation interface of whether the proximity sensing function is turned on, it reduces the user's use of the process between different operation interfaces. Switching times simplifies the control process of the sensor.

在上述任一实施例中,环境因素的干扰可以是墙体,也可以是固定设置的设备,基于传感器设置在厨房为例,环境因素的干扰可以是其他烹饪设备(如炉灶),也可以是用电设备(如电烤箱)。In any of the above embodiments, the interference of environmental factors may be a wall or a fixed device. Based on the sensor set in the kitchen as an example, the interference of environmental factors may be other cooking devices (such as stoves), or Electrical equipment (such as an electric oven).

在上述任一实施例中,设定时长可以由用户进行设定,也可以是在设备出厂时进行设定,也可以是经验值,如选取10秒。In any of the above embodiments, the set duration may be set by the user, or may be set when the device leaves the factory, or may be an empirical value, such as 10 seconds.

实施例四Embodiment 4

在本发明的一个实施例中,如图9所示,提出了一种传感器的控制装置900,包括:存储器902,存储器902上存储有计算机程序;控制器904,控制器904执行计算机程序实现如上述任一项的传感器的控制方法的步骤。In an embodiment of the present invention, as shown in FIG. 9, a sensor control device 900 is proposed, which includes: a memory 902, where a computer program is stored; a controller 904, which executes the computer program to achieve the following: The steps of the control method of any one of the above-mentioned sensors.

在本发明的实施例中,提出了一种传感器的控制装置900,具体地,传感器的控制装置900包括控制器904和存储器902,其中,控制器904执行计算机程序实现如上述任一项的传感器的控制方法的步骤,因此,传感器的控制装置900具有上述任一项的传感器的控制方法的全部有益技术效果,在此,不再赘述。In an embodiment of the present invention, a sensor control device 900 is proposed. Specifically, the sensor control device 900 includes a controller 904 and a memory 902, wherein the controller 904 executes a computer program to implement any of the above sensors Therefore, the sensor control device 900 has all the beneficial technical effects of any one of the above-mentioned control methods for the sensor, which will not be repeated here.

实施例五Embodiment 5

在本发明的一个实施例中,如图10所示,提供了一种烹饪设备1000,包括:传感器1002,以及如上述实施例中的传感器的控制装置900,其中,传感器的控制装置900与传感器1002相连接。In one embodiment of the present invention, as shown in FIG. 10 , a cooking apparatus 1000 is provided, comprising: a sensor 1002, and a control device 900 for the sensor as in the above embodiment, wherein the control device 900 for the sensor and the sensor 1002 is connected.

在该实施例中,提出了一种烹饪设备1000,其中,烹饪设备1000包括传感器1002,以及如上述实施例中的传感器的控制装置900,传感器的控制装置900与传感器1002相连接,由于烹饪设备1000具有上述传感器的控制装置900,因此,烹饪设备1000具有上述传感器的控制装置900的全部有益技术效果,在此,不再赘述。In this embodiment, a cooking device 1000 is proposed, wherein the cooking device 1000 comprises a sensor 1002, and a sensor control device 900 as in the above-mentioned embodiment, the sensor control device 900 is connected with the sensor 1002, since the cooking device 1000 has the control device 900 of the above sensor, therefore, the cooking apparatus 1000 has all the beneficial technical effects of the control device 900 of the above sensor, which will not be repeated here.

在其中一个实施例中,传感器1002设置在烹饪设备1000的按键上。In one of the embodiments, the sensor 1002 is provided on a key of the cooking device 1000 .

在其中一个实施例中,传感器1002设置在烹饪设备1000的面板上。In one of the embodiments, the sensor 1002 is provided on the panel of the cooking apparatus 1000 .

在上述任一实施例中,传感器1002包括红外传感器。In any of the above-described embodiments, the sensor 1002 comprises an infrared sensor.

在上述任一实施例中,烹饪设备1000还包括:功能装置1004,功能装置1004与传感器的控制装置相连接,功能装置1004被配置为确定接收到动作信息,由第一状态切换至第二状态。In any of the above embodiments, the cooking apparatus 1000 further includes: a functional device 1004, the functional device 1004 is connected to the control device of the sensor, and the functional device 1004 is configured to determine that the action information is received, and switch from the first state to the second state .

在该实施例中,通过设置的传感器1002可以实现功能装置1004的状态切换,具体地,在接收到动作信息时,功能装置1004由第一状态切换至第二状态,其中,功能装置1004可以是显示装置,第一状态和第二状态可以是显示装置的背光亮度情况,如第一状态下的显示装置的亮度值小于第二状态下的亮度值,进而起到显示装置的唤醒。In this embodiment, the state switching of the functional device 1004 can be realized through the set sensor 1002. Specifically, when the action information is received, the functional device 1004 is switched from the first state to the second state, wherein the functional device 1004 can be a In the display device, the first state and the second state may be the brightness of the backlight of the display device. For example, the brightness value of the display device in the first state is smaller than the brightness value in the second state, which in turn wakes up the display device.

功能装置1004还可以是照明装置,在第一状态下,照明装置不工作,在第二状态下,照明装置工作。The functional device 1004 may also be a lighting device. In the first state, the lighting device does not work, and in the second state, the lighting device works.

其中,功能装置1004还可以是用于输出显示烹饪设备1000的当前运行参数的设备,如在第一状态下,功能装置1004不显示烹饪设备1000的当前运行参数,在第二状态下,功能装置1004显示烹饪设备1000的当前运行参数。The functional device 1004 may also be a device for outputting and displaying the current operating parameters of the cooking device 1000. For example, in the first state, the functional device 1004 does not display the current operating parameters of the cooking device 1000. In the second state, the functional device 1004 does not display the current operating parameters of the cooking device 1000. 1004 displays the current operating parameters of the cooking apparatus 1000.

其中,烹饪设备1000包括:微波炉、烤箱、蒸箱、微蒸烤箱、蒸烤箱、微烤箱中的任意一种。The cooking device 1000 includes any one of a microwave oven, an oven, a steamer, a micro-steam oven, a steamer, and a micro-oven.

在其中一个实施例中,对烹饪设备1000中的设定过程如图11所示,具体地,用户可自主选择“接近感应功能”的开启或关闭,选择开启“接近感应功能”后,会有“默认”和“校准”的选项,选择“默认”则执行软件默认的感应距离,选择“校准”后则会执行10s的自适应过程。In one of the embodiments, the setting process of the cooking device 1000 is shown in FIG. 11 . Specifically, the user can independently choose to enable or disable the “proximity sensing function”. After selecting to enable the “proximity sensing function”, there will be "Default" and "Calibration" options, select "Default" to execute the software's default sensing distance, and select "Calibration" to execute the 10s adaptive process.

在本发明的描述中,需要说明的是,本发明所提及的“烹饪设备1000”可包含任何可应用本发明实施例的能够对食物进行烹饪处理的烹饪设备1000,包括但不限于微波炉、烤箱、蒸箱、微蒸烤箱、蒸烤箱和微烤箱。In the description of the present invention, it should be noted that the "cooking device 1000" mentioned in the present invention may include any cooking device 1000 capable of cooking food to which embodiments of the present invention are applicable, including but not limited to microwave ovens, Oven, steamer, micro-steamer, steamer and micro-oven.

在本发明的描述中,术语“多个”则指两个或两个以上,除非另有明确的限定,术语“上”、“下”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制;术语“连接”、“安装”、“固定”等均应做广义理解,例如,“连接”可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, the term "plurality" refers to two or more than two, unless otherwise expressly defined, the orientation or positional relationship indicated by the terms "upper", "lower" etc. is based on the drawings. The orientation or positional relationship is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention; The terms "connected", "installed", "fixed", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected, or through the middle media are indirectly connected. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

在本发明的描述中,术语“一个实施例”、“一些实施例”、“具体实施例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或特点包含于本发明的至少一个实施例或示例中。在本发明中,对上述术语的示意性表述不一定指的是相同的实施例或实例。而且,描述的具体特征、结构、材料或特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of the present invention, the terms "one embodiment," "some embodiments," "a specific embodiment," and the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in the present invention. at least one embodiment or example of . In the present invention, schematic representations of the above terms do not necessarily refer to the same embodiment or instance. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (11)

1. A method of controlling a sensor, comprising:
responding to a selection instruction of a calibration background noise value, and acquiring a first sampling value of the sensor;
determining a sampling value fluctuation interval according to a first sampling value of the sensor;
periodically acquiring a second sampling value of the sensor;
and adjusting the background noise value according to the comparison result of the duration of the second sampling value of the sensor in the sampling value fluctuation interval and the set duration.
2. The method according to claim 1, wherein the step of adjusting the background noise value according to the comparison result between the duration of the fluctuation interval of the sampling value and the set duration of the second sampling value of the sensor specifically comprises:
determining that the duration is greater than or equal to the set duration, and taking the first sampling value as the updated background noise value;
and determining that the duration is less than the set duration, and keeping the background noise value.
3. The method of claim 1, further comprising, prior to the step of determining a sample value fluctuation interval based on the first sample value of the sensor:
a contrast relation between a first sampling value and a sampling value fluctuation interval is constructed in advance;
the step of determining a sampling value fluctuation interval according to the first sampling value of the sensor specifically includes:
and determining the sampling value fluctuation interval corresponding to the first sampling value according to the comparison relation.
4. The method as claimed in any one of claims 1 to 3, wherein the step of adjusting the background noise value according to the comparison result of the duration of the sampling value fluctuation interval and the set duration of the second sampling value of the sensor, further comprises:
acquiring a third sampling value of the sensor;
determining that the difference value between a third sampling value of the sensor and the background noise value is greater than or equal to a trigger threshold value, and outputting an action signal;
and determining that the difference value between the third sampling value of the sensor and the background noise value is smaller than a trigger threshold value, and stopping outputting the action signal.
5. The method of claim 4, further comprising, prior to the step of obtaining a third sample value of the sensor:
responding to a setting instruction of the trigger threshold, and receiving a set value of the trigger distance;
and determining the trigger threshold according to the set value of the trigger distance.
6. The method of controlling a sensor according to any one of claims 1 to 3, further comprising, before the step of obtaining a first sample value of the sensor in response to a selection command of a calibration background noise value:
receiving a starting instruction of a proximity sensing function, and outputting first identification information of a calibration background noise value and second identification information of a default background noise value;
determining that a selection instruction of the calibration background noise value is received based on receiving an input instruction for the first identification information.
7. A control device for a sensor, comprising:
a memory having a computer program stored thereon;
a controller executing the computer program to implement the steps of the control method of the sensor according to any one of claims 1 to 6.
8. A cooking apparatus, characterized by comprising:
a sensor;
the control device of a sensor according to claim 7, wherein the control device of a sensor is connected to the sensor.
9. The cooking apparatus of claim 8, wherein the sensor is disposed on a key of the cooking apparatus or a panel of the cooking apparatus.
10. Cooking apparatus according to claim 8,
the sensor comprises an infrared sensor;
the cooking apparatus further includes: a function device connected with the control device of the sensor, the function device configured to determine that motion information is received, and switch from a first state to a second state.
11. The cooking apparatus according to any one of claims 8 to 10, wherein the cooking apparatus comprises: any one of a microwave oven, an oven, a steam box, a micro-steaming oven, a steaming oven and a micro-oven.
CN202010614806.5A 2020-06-30 2020-06-30 Sensor control method, control device and cooking equipment Active CN111722546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010614806.5A CN111722546B (en) 2020-06-30 2020-06-30 Sensor control method, control device and cooking equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010614806.5A CN111722546B (en) 2020-06-30 2020-06-30 Sensor control method, control device and cooking equipment

Publications (2)

Publication Number Publication Date
CN111722546A true CN111722546A (en) 2020-09-29
CN111722546B CN111722546B (en) 2022-12-06

Family

ID=72570434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010614806.5A Active CN111722546B (en) 2020-06-30 2020-06-30 Sensor control method, control device and cooking equipment

Country Status (1)

Country Link
CN (1) CN111722546B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005214946A (en) * 2004-02-02 2005-08-11 Matsushita Electric Works Ltd Human body detector
CN102440063A (en) * 2008-12-29 2012-05-02 摩托罗拉移动公司 Portable electronic device having self-calibrating proximity sensors
CN103335587A (en) * 2013-07-02 2013-10-02 潍柴动力股份有限公司 Online checking method and device for position sensor
US20160069767A1 (en) * 2013-06-06 2016-03-10 Panasonic Intellectual Property Management Co., Lt Physical quantity sensor adjustment method, and physical quantity sensor
CN106331320A (en) * 2016-08-15 2017-01-11 广东欧珀移动通信有限公司 Method and device for controlling screen state
CN106662463A (en) * 2016-11-02 2017-05-10 深圳市汇顶科技股份有限公司 Method for detecting noise of sensor background and device
CN107764406A (en) * 2017-10-26 2018-03-06 珠海市魅族科技有限公司 The management method and electronic equipment of a kind of infrared detection
CN108267728A (en) * 2018-01-23 2018-07-10 北京小米移动软件有限公司 Calibration method, device, equipment and the storage medium of range sensor
CN108595213A (en) * 2018-04-11 2018-09-28 广州视源电子科技股份有限公司 Method and device for adjusting threshold value of distance sensor and electronic equipment
CN108887978A (en) * 2018-07-20 2018-11-27 合肥锐云智能科技有限公司 A kind of sitting posture detection system
CN109191803A (en) * 2018-07-20 2019-01-11 合肥锐云智能科技有限公司 A kind of sitting posture detecting method and system
CN111105587A (en) * 2019-12-31 2020-05-05 广州思瑞智能科技有限公司 Intelligent flame detection method and device, detector and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005214946A (en) * 2004-02-02 2005-08-11 Matsushita Electric Works Ltd Human body detector
CN102440063A (en) * 2008-12-29 2012-05-02 摩托罗拉移动公司 Portable electronic device having self-calibrating proximity sensors
US20160069767A1 (en) * 2013-06-06 2016-03-10 Panasonic Intellectual Property Management Co., Lt Physical quantity sensor adjustment method, and physical quantity sensor
CN103335587A (en) * 2013-07-02 2013-10-02 潍柴动力股份有限公司 Online checking method and device for position sensor
CN106331320A (en) * 2016-08-15 2017-01-11 广东欧珀移动通信有限公司 Method and device for controlling screen state
WO2018081945A1 (en) * 2016-11-02 2018-05-11 深圳市汇顶科技股份有限公司 Method for detecting background noise of sensor, and device thereof
CN106662463A (en) * 2016-11-02 2017-05-10 深圳市汇顶科技股份有限公司 Method for detecting noise of sensor background and device
CN107764406A (en) * 2017-10-26 2018-03-06 珠海市魅族科技有限公司 The management method and electronic equipment of a kind of infrared detection
CN108267728A (en) * 2018-01-23 2018-07-10 北京小米移动软件有限公司 Calibration method, device, equipment and the storage medium of range sensor
CN108595213A (en) * 2018-04-11 2018-09-28 广州视源电子科技股份有限公司 Method and device for adjusting threshold value of distance sensor and electronic equipment
CN108887978A (en) * 2018-07-20 2018-11-27 合肥锐云智能科技有限公司 A kind of sitting posture detection system
CN109191803A (en) * 2018-07-20 2019-01-11 合肥锐云智能科技有限公司 A kind of sitting posture detecting method and system
CN111105587A (en) * 2019-12-31 2020-05-05 广州思瑞智能科技有限公司 Intelligent flame detection method and device, detector and storage medium

Also Published As

Publication number Publication date
CN111722546B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
CN107490152B (en) Control method of air conditioner, air conditioner and storage medium
CN204740492U (en) A kind of intelligent socket and household appliance control system
JP5739002B2 (en) Communication device and communication system
US20090128714A1 (en) Electronic device, remote control device, and remote control system
US11507217B2 (en) Touch-based control device
KR20070074075A (en) Apparatus and method for controlling control of home-network system
US20140131551A1 (en) Proximity sensor and operating method thereof
CN108594894A (en) control method and cooking appliance
CN113220189B (en) Intelligent household equipment, display control method and storage medium
CN105137774A (en) Intelligent household appliance control method, device and mobile terminal
US20160033945A1 (en) Household appliance and control method therefor, and household appliance system
CN112506401B (en) Intelligent household appliance control method, terminal, device and storage medium based on Internet of things
US20040134900A1 (en) Microwave oven and control unit thereof
CN111722546A (en) Sensor control method, control device and cooking equipment
WO2020024711A1 (en) Sliding control method and device for sliding component, electronic device and storage medium
CN112631498B (en) Method for controlling household appliance and household appliance
WO2021204117A1 (en) Household appliance control method, household appliance, and computer-readable storage medium
CN114097213B (en) Method for controlling motion sensor, portable control device and motion detection system
KR20120071843A (en) Power concent apparatus for interlocking power status of electronic device and control method thereof
CN113957658B (en) Control method of washing machine and washing machine
CN105783410B (en) The control method and refrigerator of refrigerator
JP2006302009A (en) User interface device, home appliance / residential equipment, and user interface presentation method
KR102643518B1 (en) Intelligent apparatus for controlling air conditioner
JP2024033665A (en) Output device and output method
WO2018123443A1 (en) Power supply control device, power supply control system, and power supply control program

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