







技术领域technical field
本发明涉及照明装置技术领域,尤其涉及一种触摸控制方法及灯具。The invention relates to the technical field of lighting devices, in particular to a touch control method and a lamp.
背景技术Background technique
台灯作为一种照明设备,是居家生活学习工作不可或缺的一款产品,主要放置在书房、卧室、工作室等写字桌、电脑桌、工作台等桌面,能提供照明让人们阅读,休闲和学习和工作。As a kind of lighting equipment, desk lamp is an indispensable product for home life, study and work. It is mainly placed on desks, computer desks, workbenches and other desktops in study rooms, bedrooms, and studios. It can provide lighting for people to read, relax and study and work.
随着科技的发展,台灯已由传统的单一开关灯控制到多功能光色及亮度的控制,控制方式由传统的拨动开关,旋转按钮到物理轻触按键,再到如今普及的虚拟触控。但是,随着台灯功能的增多,对应按键也随之增多,如何最大化地减少按键的数量,让产品更加美观简洁成为亟待解决的技术问题。With the development of science and technology, desk lamps have been controlled from the traditional single switch light to the control of multi-functional light color and brightness. control. However, as the functions of the desk lamp increase, the corresponding buttons also increase. How to minimize the number of buttons and make the product more beautiful and concise has become a technical problem to be solved urgently.
有鉴于此,确有必要提供一种触摸控制方法及灯具,以解决上述问题。In view of this, it is necessary to provide a touch control method and a lamp to solve the above problems.
发明内容Contents of the invention
本发明的目的在于提供一种应用于灯具的触摸控制方法,该触摸控制方法通过触摸区域的面积以识别单指和多指,从而通过一个触控区域可实现多种控制功能。The object of the present invention is to provide a touch control method applied to lamps, which can identify single finger and multiple fingers by the area of the touch area, so that multiple control functions can be realized through one touch area.
为实现上述目的,本发明提供了一种触摸控制方法,应用于灯具,所述灯具包括触控芯片和触摸传感器,所述触摸传感器与所述触控芯片信号连接,所述触摸控制方法包括:In order to achieve the above object, the present invention provides a touch control method, which is applied to a lamp. The lamp includes a touch chip and a touch sensor, and the touch sensor is signal-connected to the touch chip. The touch control method includes:
所述触控芯片根据感应到的所述触摸传感器的信号变化量确定触摸区域;The touch chip determines the touch area according to the sensed signal variation of the touch sensor;
根据所述触摸区域的面积,判定所述触摸区域的触摸方式为单指触摸还是多指触摸;According to the area of the touch area, determine whether the touch mode of the touch area is single-finger touch or multi-finger touch;
当判定所述触摸方式为单指触摸时,控制所述灯具执行单指控制指令;When it is determined that the touch mode is a single-finger touch, control the lamp to execute a single-finger control instruction;
当判定所述触摸方式为多指触摸时,控制所述灯具执行多指控制指令。When it is determined that the touch method is a multi-finger touch, the lamp is controlled to execute a multi-finger control instruction.
作为本发明的进一步改进,所述灯具包括至少3个触摸传感器,所述根据所述触摸区域的面积,判定所述触摸区域的触摸方式为单指触摸还是多指触摸,包括:As a further improvement of the present invention, the lamp includes at least three touch sensors, and according to the area of the touch area, it is determined whether the touch mode of the touch area is single-finger touch or multi-finger touch, including:
多个触摸传感器间隔排列,所述触摸区域的面积与具有信号变化量的触摸传感器的数量呈正比;A plurality of touch sensors are arranged at intervals, and the area of the touch area is proportional to the number of touch sensors with signal variation;
触控芯片根据检测到具有信号变化量的触摸传感器的数量,判定所述触摸区域的触摸方式为单指触摸还是多指触摸。The touch control chip determines whether the touch mode of the touch area is single-finger touch or multi-finger touch according to the number of touch sensors with detected signal changes.
作为本发明的进一步改进,所述触控芯片根据检测到具有信号变化量的触摸传感器的数量,判定所述触摸区域的触摸方式为单指触摸还是多指触摸,包括:As a further improvement of the present invention, the touch control chip determines whether the touch mode of the touch area is a single-finger touch or a multi-finger touch according to the number of touch sensors with signal changes detected, including:
当所述触控芯片检测到具有信号变化量的触摸传感器的数量小于第一阈值时,判定所述触摸方式为单指触摸;When the touch chip detects that the number of touch sensors with a signal variation is less than a first threshold, it is determined that the touch method is a single-finger touch;
当所述触控芯片检测到具有信号变化量的触摸传感器的数量大于等于第一阈值时,判定所述触摸方式为多指触摸。When the touch control chip detects that the number of touch sensors with signal changes is greater than or equal to a first threshold, it is determined that the touch manner is multi-finger touch.
作为本发明的进一步改进,至少3个触摸传感器等间距排列,每个所述触摸传感器代表一个档位,所述触控芯片检测所述信号变化量终止时所处的触摸传感器的位置,并控制所述灯具执行当前滑动方向下与滑动趋势相匹配的所述触摸传感器的档位信息。As a further improvement of the present invention, at least three touch sensors are arranged at equal intervals, each of the touch sensors represents a gear, and the touch chip detects the position of the touch sensor when the signal variation ends, and controls The lamp implements the gear position information of the touch sensor that matches the sliding trend in the current sliding direction.
作为本发明的进一步改进,所述单指控制指令和所述多指控制指令均包括多个档位,所述多个档位与所述触摸传感器被触摸的时间匹配设置,所述触控芯片根据触摸传感器被触摸时间的长短控制所述灯具执行所述单指控制指令/所述多指控制指令中与该触摸时间相匹配的档位。As a further improvement of the present invention, both the single-finger control command and the multi-finger control command include a plurality of gear positions, and the multiple gear positions are set to match the time when the touch sensor is touched, and the touch control chip According to the length of time the touch sensor is touched, the lamp is controlled to execute the gear in the single-finger control instruction/multi-finger control instruction that matches the touch time.
作为本发明的进一步改进,所述单指控制指令和所述多指控制指令均包括多个档位,所述多个档位与所述触摸传感器被触摸的压力匹配设置,所述触控芯片根据触摸传感器被触摸压力的大小控制所述灯具执行所述单指控制指令/所述多指控制指令中与该触摸压力相匹配的档位。As a further improvement of the present invention, both the single-finger control command and the multi-finger control command include a plurality of gears, and the multiple gears are set in accordance with the pressure of the touch sensor being touched, and the touch chip According to the magnitude of the touch pressure on the touch sensor, the lamp is controlled to execute the gear that matches the touch pressure in the single-finger control instruction/multi-finger control instruction.
作为本发明的进一步改进,所述触摸控制方法还包括:判断所述信号变化量是否大于预设的第二阈值,当所述触摸传感器的信号变化量大于所述第二阈值时,所述触控芯片根据感应到的触摸传感器的信号变化量确定触摸区域。As a further improvement of the present invention, the touch control method further includes: judging whether the signal variation is greater than a preset second threshold, and when the signal variation of the touch sensor is greater than the second threshold, the touch sensor The control chip determines the touch area according to the sensed signal variation of the touch sensor.
作为本发明的进一步改进,所述单指控制指令和所述多指控制指令中的一个为亮度调节指令,另外一个为色温调节指令。As a further improvement of the present invention, one of the single-finger control instruction and the multi-finger control instruction is a brightness adjustment instruction, and the other is a color temperature adjustment instruction.
作为本发明的进一步改进,所述单指控制指令包括第一控制指令和第二控制指令,所述多指控制指令包括第三控制指令和第四控制指令;其中,As a further improvement of the present invention, the single-finger control instruction includes a first control instruction and a second control instruction, and the multi-finger control instruction includes a third control instruction and a fourth control instruction; wherein,
所述第一控制指令和所述第二控制指令中的一个为开灯指令,另外一个为关灯指令,所述第三控制指令和所述第四控制指令中的一个为亮度调节指令,另外一个为色温调节指令;或者,One of the first control instruction and the second control instruction is a light-on instruction, the other is a light-off instruction, one of the third control instruction and the fourth control instruction is a brightness adjustment instruction, and the other One is a color temperature adjustment command; or,
所述第一控制指令和所述第二控制指令中的一个为亮度调节指令,另外一个为色温调节指令,所述第三控制指令和所述第四控制指令中的一个为开灯指令,另外一个为关灯指令;或者,One of the first control instruction and the second control instruction is a brightness adjustment instruction, the other is a color temperature adjustment instruction, one of the third control instruction and the fourth control instruction is a light-on instruction, and the other One is the command to turn off the lights; or,
所述第一控制指令和所述第三控制指令中的一个为开灯指令,另外一个为关灯指令,所述第二控制指令和所述第四控制指令中的一个为亮度调节指令,另外一个为色温调节指令。One of the first control instruction and the third control instruction is a light-on instruction, the other is a light-off instruction, one of the second control instruction and the fourth control instruction is a brightness adjustment instruction, and the other One is the color temperature adjustment command.
本发明的另一目的在于提供一种具有上述触摸控制方法的灯具。Another object of the present invention is to provide a lamp with the above touch control method.
为实现上述目的,本发明提供了一种灯具,包括:照明组件以及触摸组件,所述触摸组件与所述照明组件电性连接,所述触摸组件包括:To achieve the above object, the present invention provides a lamp, comprising: a lighting assembly and a touch assembly, the touch assembly is electrically connected to the lighting assembly, and the touch assembly includes:
触摸传感器,用于感应信号变化量;The touch sensor is used to sense the signal variation;
触控芯片,配置为执行上述的触摸控制方法。The touch control chip is configured to execute the above touch control method.
本发明的有益效果是:与现有技术相比,本发明的触摸控制方法通过感应到的触摸传感器的信号变化量确定触摸区域,并根据触摸区域的面积,判定所述触摸区域的触摸方式为单指触摸还是多指触摸;从而控制灯具执行单指控制指令或多指控制指令。本发明通过一个触摸区域的单指或多指滑动可以控制灯具执行不同的控制命令,减少灯具上的按键设置,使得灯具更加简约整洁。The beneficial effects of the present invention are: compared with the prior art, the touch control method of the present invention determines the touch area through the sensed signal variation of the touch sensor, and determines the touch mode of the touch area according to the area of the touch area. Single-finger touch or multi-finger touch; so as to control the lamps to execute single-finger control commands or multi-finger control commands. The present invention can control the lamp to execute different control commands by sliding a single finger or multiple fingers in a touch area, reducing the setting of keys on the lamp and making the lamp more simple and tidy.
附图说明Description of drawings
图1是本发明一优选实施例的灯具的立体图。Fig. 1 is a perspective view of a lamp in a preferred embodiment of the present invention.
图2是本发明另一优选实施例的灯具的立体图。Fig. 2 is a perspective view of a lamp in another preferred embodiment of the present invention.
图3是本发明的触摸控制方法的流程示意图。FIG. 3 is a schematic flowchart of the touch control method of the present invention.
图4是本发明的触摸控制方法中单指触摸和多指触摸的判断流程示意图。FIG. 4 is a schematic diagram of a judgment flow for single-finger touch and multi-finger touch in the touch control method of the present invention.
图5是本发明一优选实施例的触摸控制方法的判断流程示意图。Fig. 5 is a schematic diagram of a judgment flow of a touch control method according to a preferred embodiment of the present invention.
图6是本发明的等效手指触摸的示意图。FIG. 6 is a schematic diagram of an equivalent finger touch of the present invention.
图7是本发明的单指触摸时的触摸传感器的信号变化量的示意图。FIG. 7 is a schematic diagram of the signal variation of the touch sensor when a single finger touches the present invention.
图8是本发明的多指触摸时的触摸传感器的信号变化量的示意图。FIG. 8 is a schematic diagram of the signal variation of the touch sensor during multi-finger touch according to the present invention.
附图说明:Description of drawings:
100-灯具;100 - lamps;
10-灯座,11-触摸板,111-滑条区域;10-light socket, 11-touch panel, 111-slider area;
20-触摸传感器。20 - Touch sensor.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
在此,需要说明的是,为了避免因不必要的细节而模糊了本发明,在附图中仅仅示出了与本发明的方案密切相关的结构和/或处理步骤,而省略了与本发明关系不大的其他细节。Here, it should be noted that, in order to avoid obscuring the present invention due to unnecessary details, only the structures and/or processing steps closely related to the solution of the present invention are shown in the drawings, and the steps related to the present invention are omitted. Other details that don't really matter.
另外,还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。Additionally, it should be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, but also Other elements not expressly listed, or inherent to the process, method, article, or apparatus are also included.
请参阅图1-2所示,为本发明提供的一种灯具100,该灯具100应用如图3-6所示的触摸控制方法,以通过触摸组件上的一个触摸区域就可以实现对灯具100的照明组件(未图示)的多功能调节,以简化灯具100上的按键的设置,进而使得灯具100更加简约整洁。在本实施例中,该灯具100为台灯,包括灯头(未图示)和灯座10,灯头内设有照明组件,灯座10上设有触摸板11,触摸板11上设有触摸区域,灯座10内对应触摸板11的位置设有触摸组件,触摸组件与照明组件电性连接,通过灯座10上的触摸组件控制灯头上的照明组件的开关以及对照明组件进行亮度调节和色温调节。在其他实施例中,灯具100也可以是吸顶灯等其他灯具100。Please refer to Fig. 1-2, which is a
进一步地,触摸组件包括电性连接的触控芯片(未图示)及至少3个触摸传感器20,至少3个触摸传感器20间隔排列,配置为感应物体接触时的信号变化量。触控芯片根据感应到的触摸传感器20的信号变化量确定触摸区域,并且当触摸区域的面积不同时,对应的控制指令不同。优选地,触摸区域的面积与具有信号变化量的触摸传感器20的数量呈正比。也就是说,具有信号变化量的触摸传感器20的数量越多,触摸区域的面积越大,对应的等效手指的数量越多,此时,触控芯片可以根据不同的触摸区域的面积而识别不同的控制指令,从而实现对台灯的多功能控制。Further, the touch component includes an electrically connected touch chip (not shown) and at least three
进一步地,触摸区域包括至少两种触摸面积,每种触摸面积下对应的控制指令不同,当具有信号变化量的触摸传感器20的数量小于3时,触摸区域的面积较小,为第一触摸面积,此时,第一触摸面积下对应的控制指令为单指控制指令;当具有信号变化量的触摸传感器20的数量大于等于3时,触摸区域的面积较大,为第二触摸面积,此时,第二触摸面积下对应的控制指令为多指控制指令。也就说,通过触控芯片识别到的具有信号变化量的触摸传感器20的数量以判断触摸区域并得到触摸区域的面积,从而得知此时的触摸区域是处于第一触摸面积还是第二触摸面积,从而根据不同的触摸面积去识别相应的控制指令。Further, the touch area includes at least two types of touch areas, and the corresponding control instructions are different under each touch area. When the number of
请参阅图1所示,在本发明一实施例中,触摸板11上设有滑条区域111,触摸传感器20等间距设置在滑条区域111的下方,优选地,相邻触摸传感器20之间的距离为10~20mm。如此,便可以有效地区分覆盖在触摸传感器20上的等效手指的数量,使得等效手指的数量与具有信号变化量的触摸传感器20的数量呈相关关系,从而可以有效地判断触摸指令是单指控制指令还是多指控制指令。Please refer to FIG. 1, in one embodiment of the present invention, a
通过滑条区域111区域111下方的触摸传感器20,以调节照明组件的亮度和色温。也就是说,在本实施例中,单指控制指令和多指控制指令均为单一控制指令。即,单指控制指令和多指控制指令中的一个为亮度调节指令,另外一个为色温调节指令,从而通过一个滑条区域111可以调节台灯的亮度和色温,减少台灯上按键的设置,简化台灯的结构,使得台灯的外观更加简洁美观。The brightness and color temperature of the lighting assembly can be adjusted through the
进一步地,滑条区域111下方的触摸传感器20为电容传感器,每个触摸传感器20包括一个档位,且沿着滑条区域111的延伸方向,档位依次增加或减小。触控芯片检测信号变化量终止时所处的触摸传感器20的位置,并控制灯具100执行当前滑动方向下与滑动趋势相匹配的触摸传感器20的档位信息。Further, the
在本发明一可选实施例中,单指控制指令为亮度调节指令,而多指控制指令为色温调节指令。滑条区域111从左至右档位依次增大。当滑条区域111上的等效手指为2个时,此时,触控芯片识别到具有信号变化量的触摸传感器20的数量最得多为2个,此时,触控芯片判断台灯的控制指令为单指控制指令,2个手指一起向右滑动以调大台灯的亮度。当2个手指停止滑动时,2个手指对应2个触摸传感器20,而由于每个触摸传感器20对应的档位不同,此时,2个手指就对应了2个档位(例如,2个手指分别对应的触摸传感器20的档位是7档和8档,且7档和8档从左至右排列),此时,触摸芯片控制台灯执行右边手指所对应的触摸传感器20的档位信息,即,触控芯片控制台灯将亮度调节至8档。同样地,当需要向左滑动以减小亮度时,此时,触摸芯片控制台灯执行左边手指所对应的触摸传感器20的档位信息,即,触控芯片控制台灯将亮度调节至7档。也就是说,虽然2个手指对应的2个档位相同,当2个手指的滑动方向不同时,触控芯片执行的触摸传感器20的档位信息不同。In an optional embodiment of the present invention, the single-finger control command is a brightness adjustment command, and the multi-finger control command is a color temperature adjustment command. The
需要知道的是,多指控制指令中对色温的调节与上述实施例中单指控制指令中对亮度的调节相似,均是触控芯片检测信号变化量终止时所处的触摸传感器20的位置,从而将色温调节至对应的档位。本发明在此不予赘述。也就是说,在本实施例中,所述触摸区域包括至少两种触摸面积,每种触摸面积下相同档位所对应的的控制信号不同。即,第一触摸面积下相同档位所对应的的控制信号是亮度信号,第二触摸面积下相同档位所对应的的控制信号是色温信号。What needs to be known is that the adjustment of the color temperature in the multi-finger control command is similar to the adjustment of the brightness in the single-finger control command in the above-mentioned embodiment, both are the positions of the
进一步地,触摸板11上还设有开关区域12,开关区域12与滑条区域111相邻设置。通过开关区域12以打开或关闭灯具100。Further, the
请参阅图2所示,在本发明另一实施例中,灯座10朝向灯头的一侧全部为触摸板11,在触摸板11的外侧设有绝缘保护膜,以防止用户触电,提高用户的安全性。至少3个触摸传感器20等间距地设置在触摸板11的下方。优选地,相邻触摸传感器20之间的距离为10~20mm。如此,便可以有效地区分覆盖在触摸传感器20上的等效手指的数量,使得等效手指的数量与具有信号变化量的触摸传感器20的数量呈相关关系,从而可以有效地判断触摸指令是单指控制指令还是多指控制指令。Please refer to Fig. 2, in another embodiment of the present invention, the side of the
进一步地,触摸板11上设有开关区域、亮度调节区域和色温调节区域,开关区域、亮度调节区域和色温调节区域集成在一个触摸区域处,且与具有信号变化量的触摸传感器20的数量及档位相关。也就是说,在本实施例中,单指控制指令和多指控制指令均包括多个控制指令。单指控制指令包括第一控制指令和第二控制指令,多指控制指令包括第三控制指令和第四控制指令;其中,第一控制指令和第二控制指令中的一个为开灯指令,另外一个为关灯指令,第三控制指令和第四控制指令中的一个为亮度调节指令,另外一个为色温调节指令;或者,第一控制指令和第二控制指令中的一个为亮度调节指令,另外一个为色温调节指令,第三控制指令和第四控制指令中的一个为开灯指令,另外一个为关灯指令;或者,第一控制指令和第三控制指令中的一个为开灯指令,另外一个为关灯指令,第二控制指令和第四控制指令中的一个为亮度调节指令,另外一个为色温调节指令。Further, the
在本发明一可选实施例中,触摸传感器20为时间传感器,触摸传感器20包括多个档位,多个档位与触摸传感器20被触摸的时间匹配设置。也就是说,单指控制指令和多指控制指令均包括多个档位,多个档位与触摸传感器20被触摸的时间匹配设置,触控芯片根据触摸传感器20被触摸时间的长短控制灯具100执行单指控制指令/多指控制指令中与该触摸时间相匹配的档位。In an optional embodiment of the present invention, the
具体地,当滑条区域111上的等效手指为2个时,此时,触控芯片识别到具有信号变化量的触摸传感器20的数量最得多为2个,此时,触控芯片判断台灯的控制指令为单指控制指令,由于每个触摸传感器20被触摸的时间相同,此时不同的触摸传感器20对应的档位相同。即,触摸传感器20的档位只与该触摸传感器20被触摸的时间相关联。此时,若单指控制指令包括开灯指令和亮度调节指令,当触摸传感器20被触摸的时间小于第一时间阈值(例如,2S),触控芯片判断单指控制指令为开灯指令,并控制台灯打开照明组件。当触摸传感器20被触摸的时间大于等于第一时间阈值而小于第二时间阈值(例如,10S),则触控芯片判断单指控制指令为亮度调节指令,并且在该时间范围内,台灯的亮度与被触摸的时间呈正比。即,触摸的时间越长,则亮度调节越大。而当触摸传感器20被触摸的时间大于第二时间阈值后,此时,触控芯片仍然判断单指控制指令为亮度调节指令,只是此时,台灯的亮度与被触摸的时间呈反比,即,随着触摸的时间的延长,则亮度调节越来越小。当亮度调节至最小后,随着触摸时间的延长,亮度再次被调亮,依次循环。也就是说,当触摸传感器20被触摸的时间小于第一时间阈值时,单指控制指令为开灯指令,而当触摸传感器20被触摸的时间大于等于第一时间阈值时,单指控制指令为亮度调节指令,而亮度的调节与被触摸的时间相关。即先随着时间的延长而调大,然后随着时间的延长而调小,再随着时间的延长继续调大,如此循环。优选地,台灯的亮度调节方式为无极调亮,通过控制输出PWM,以调整至对应亮度。Specifically, when there are two equivalent fingers on the
需要知道的是,当滑条区域111上的等效手指为3个时,此时,触控芯片识别到具有信号变化量的触摸传感器20的数量为3个,此时,触控芯片判断台灯的控制指令为多指控制指令。并且多指控制指令中触摸传感器20的档位也只与该触摸传感器20被触摸的时间相关联。此时,若多指控制指令包括关灯指令和色温调节指令,当触摸传感器20被触摸的时间小于第三时间阈值(例如,20S),则触控芯片判断多指控制指令为色温调节指令,并且在该时间范围内,台灯的色温随着触摸时间的延长先增大后减小,依次循环。触控芯片判断单指控制指令为开灯指令,并控制台灯打开照明组件。当触摸传感器20被触摸的时间大于等于第三时间阈值,则,则触控芯片判断多指控制指令为关灯指令,并控制关闭台灯的照明组件。优选地,台灯的色温调节方式为无极调节,通过控制输出PWM,以调整至对应色温。What needs to be known is that when there are three equivalent fingers on the
在本发明其他实施例中,单指控制指令和多指控制指令也可以为其他的控制指令,其中,单指控制指令和多指控制指令的具体指令与触摸传感器20被触摸的时间相关,并且,亮度和色温的档位也与触摸传感器20被触摸的时间相关,本发明在此不予赘述。In other embodiments of the present invention, the single-finger control instruction and the multi-finger control instruction may also be other control instructions, wherein the specific instructions of the single-finger control instruction and the multi-finger control instruction are related to the time when the
在本发明另一可选实施例中,触摸传感器20为压力传感器,触摸传感器20包括多个档位,多个档位与触摸传感器20被触摸的压力匹配设置。此时,单指控制指令和多指控制指令均包括多个档位,多个档位与触摸传感器20被触摸的压力匹配设置,触控芯片根据触摸传感器20被触摸压力的大小控制灯具100执行单指控制指令/多指控制指令中与该触摸压力相匹配的档位。也就是说,单指控制指令和多指控制指令的具体指令与触摸传感器20被触摸的压力相关,并且,亮度和色温的档位也与触摸传感器20被触摸的压力间相关,具体地可参考上述触摸传感器20为时间传感器的控制方法,本发明在此不予赘述。In another optional embodiment of the present invention, the
进一步地,当触摸传感器20为时间传感器或压力传感器时,触摸传感器20的数量可以仅设置3个,当具有信号变化量的触摸传感器20的数量小于3个时,触控芯片判断控制指令是单指控制指令,当具有信号变化量的触摸传感器20的数量为3个时,触控芯片判断控制指令是多指控制指令。如此设置,以减少触摸传感器20的数量,节省成本。通过较少的触摸传感器20的数量就将开关区域、亮度调节区域和色温调节区域集成在一个触摸区域处,集成度高,且外观美观大方。Further, when the
请查阅图3至图6所示,本发明提供了一种触摸控制方法,应用于上述的灯具100。灯具100包括触控芯片和触摸传感器20,触摸传感器20与触控芯片信号连接,其中,触摸传感器20用于感应信号变化量,触控芯片配置为执行该触摸控制方法。触摸控制方法包括:Please refer to FIG. 3 to FIG. 6 , the present invention provides a touch control method, which is applied to the above-mentioned
S1:触控芯片根据感应到的触摸传感器20的信号变化量确定触摸区域;S1: the touch chip determines the touch area according to the sensed signal variation of the
S2:根据触摸区域的面积,判定触摸区域的触摸方式为单指触摸还是多指触摸;S2: According to the area of the touch area, determine whether the touch mode of the touch area is single-finger touch or multi-finger touch;
S31:当判定触摸方式为单指触摸时,控制灯具100执行单指控制指令;S31: When it is determined that the touch mode is a single-finger touch, control the
S32:当判定触摸方式为多指触摸时,控制灯具100执行多指控制指令。S32: When it is determined that the touch method is multi-finger touch, control the
通过触摸区域的面积判定是单指还是多指,从而通过一个触摸区域的单指或多指滑动可以控制灯具100执行不同的控制命令,减少灯具100上的按键设置,使得灯具100更加简约整洁。It is judged by the area of the touch area whether it is single finger or multi-finger, so that the
进一步地,灯具100包括至少3个触摸传感器20,步骤S2根据触摸区域的面积,判定触摸区域的触摸方式为单指触摸还是多指触摸,包括:Further, the
S21:多个触摸传感器20间隔排列,触摸区域的面积与具有信号变化量的触摸传感器20的数量呈正比;进一步地,相邻触摸传感器20之间的距离为10~20mm。S21: A plurality of
S22:触控芯片根据检测到具有信号变化量的触摸传感器20的数量,判定触摸区域的触摸方式为单指触摸还是多指触摸。S22: The touch chip determines whether the touch mode of the touch area is a single-finger touch or a multi-finger touch according to the number of
进一步地,步骤S22中触控芯片根据检测到具有信号变化量的触摸传感器20的数量,判定触摸区域的触摸方式为单指触摸还是多指触摸,包括:Further, in step S22, the touch chip determines whether the touch mode of the touch area is single-finger touch or multi-finger touch according to the number of
S221:当触控芯片检测到具有信号变化量的触摸传感器20的数量小于第一阈值时,判定触摸方式为单指触摸;S221: When the touch chip detects that the number of
S222:当触控芯片检测到具有信号变化量的触摸传感器20的数量大于等于第一阈值时,判定触摸方式为多指触摸。S222: When the touch chip detects that the number of
优选地,第一阈值为3个。由于相邻触摸传感器20之间的距离为10~20mm,因此,单指最多只能按到两个触摸传感器20,多指至少可以按到三个及以上的触摸传感器20。当触控芯片检测到具有信号变化量的触摸传感器20的数量小于3个时,触控芯片判定触摸方式为单指触摸,并控制台灯执行单指控制指令。当触控芯片检测到具有信号变化量的触摸传感器20的数量大于3个时,触控芯片判定触摸方式为多指触摸,并控制台灯执行多指控制指令。Preferably, the first threshold is 3. Since the distance between
在本发明一实施例中(如图2的实施例),单指控制指令和多指控制指令中的一个为亮度调节指令,另外一个为色温调节指令。即,单指控制指令和多指控制指令均为单一控制指令。在该实施例中,至少3个触摸传感器20等间距排列,优选地,相邻触摸传感器20之间的距离为10~20mm,每个触摸传感器20代表一个档位,触控芯片检测信号变化量终止时所处的触摸传感器20的位置,并控制灯具100执行当前滑动方向下与滑动趋势相匹配的触摸传感器20的档位信息。例如,向右滑动,则执行右边手指对应的触摸传感器20的档位,向左滑动,则执行左边手指对应的触摸传感器20的档位。如此设置,可以扩大灯具100的档位的调节范围。In an embodiment of the present invention (such as the embodiment shown in FIG. 2 ), one of the single-finger control command and the multi-finger control command is a brightness adjustment command, and the other is a color temperature adjustment command. That is, both the single-finger control instruction and the multi-finger control instruction are single control instructions. In this embodiment, at least three
在本发明另一实施例中(如图3的实施例),单指控制指令和多指控制指令均包括多个控制指令,其中,单指控制指令包括第一控制指令和第二控制指令,多指控制指令包括第三控制指令和第四控制指令;其中,第一控制指令和第二控制指令中的一个为开灯指令,另外一个为关灯指令,第三控制指令和第四控制指令中的一个为亮度调节指令,另外一个为色温调节指令;或者,第一控制指令和第二控制指令中的一个为亮度调节指令,另外一个为色温调节指令,第三控制指令和第四控制指令中的一个为开灯指令,另外一个为关灯指令;或者,第一控制指令和第三控制指令中的一个为开灯指令,另外一个为关灯指令,第二控制指令和第四控制指令中的一个为亮度调节指令,另外一个为色温调节指令。In another embodiment of the present invention (such as the embodiment shown in FIG. 3 ), both the single-finger control instruction and the multi-finger control instruction include multiple control instructions, wherein the single-finger control instruction includes a first control instruction and a second control instruction, The multi-finger control command includes a third control command and a fourth control command; wherein, one of the first control command and the second control command is a light-on command, and the other is a light-off command, and the third control command and the fourth control command are One of them is a brightness adjustment instruction, and the other is a color temperature adjustment instruction; or, one of the first control instruction and the second control instruction is a brightness adjustment instruction, and the other is a color temperature adjustment instruction, and the third control instruction and the fourth control instruction are One of them is a light-on command, and the other is a light-off command; or, one of the first control command and the third control command is a light-on command, and the other is a light-off command, and the second control command and the fourth control command are One of them is a brightness adjustment instruction, and the other is a color temperature adjustment instruction.
进一步地,至少3个触摸传感器20为时间传感器,单指控制指令和多指控制指令均包括多个档位,多个档位与触摸传感器20被触摸的时间匹配设置,触控芯片根据触摸传感器20被触摸时间的长短控制灯具100执行单指控制指令/多指控制指令中与该触摸时间相匹配的档位。Further, at least three
进一步地,至少3个触摸传感器20为压力传感器,单指控制指令和多指控制指令均包括多个档位,多个档位与触摸传感器20被触摸的压力匹配设置,触控芯片根据触摸传感器20被触摸压力的大小控制灯具100执行单指控制指令/多指控制指令中与该触摸压力相匹配的档位。Further, at least three
通过识别具有信号变化量的触摸传感器20的数量,即根据触摸面积,判定触摸方式为单指触摸和多指触摸,并将单指控制指令和多指控制指令设为多个,以减少触摸传感器20的数量,节省成本。通过较少的触摸传感器20的数量就将开关区域、亮度调节区域和色温调节区域集成在一个触摸区域处,集成度高,且外观美观大方。By identifying the number of
进一步地,触摸控制方法还包括:判断信号变化量是否大于预设的第二阈值,当触摸传感器20的信号变化量大于第二阈值时,触控芯片根据感应到的触摸传感器20的信号变化量确定触摸区域。优选地,第二阈值为200,当触摸传感器20上的信号变化量小于200时,则判定为误触摸,不进行下一步的判断和控制。只有当触摸传感器20上的信号变化量大于200时,才根据信号变化量大于200的触摸传感器20数量判定触摸区域,即判定是单指触摸方式还是多指触摸方式,从而控制执行相应的控制指令。Further, the touch control method further includes: judging whether the signal variation is greater than a preset second threshold, and when the signal variation of the
综上所述,本发明的触摸控制方法,应用于灯具100,通过感应到的触摸传感器20的信号变化量确定触摸区域,并根据触摸区域的面积,判定触摸区域的触摸方式为单指触摸还是多指触摸;从而控制灯具100执行单指控制指令或多指控制指令。本发明通过一个触摸区域的单指或多指滑动可以控制灯具100执行不同的控制命令,减少灯具100上的按键设置,使得灯具100更加简约整洁。To sum up, the touch control method of the present invention is applied to the
以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced, and Without departing from the spirit and scope of the technical solution of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211589192.5ACN116146948A (en) | 2022-12-12 | 2022-12-12 | Touch control method and lamp |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211589192.5ACN116146948A (en) | 2022-12-12 | 2022-12-12 | Touch control method and lamp |
| Publication Number | Publication Date |
|---|---|
| CN116146948Atrue CN116146948A (en) | 2023-05-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211589192.5APendingCN116146948A (en) | 2022-12-12 | 2022-12-12 | Touch control method and lamp |
| Country | Link |
|---|---|
| CN (1) | CN116146948A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20100045260A (en)* | 2008-10-23 | 2010-05-03 | 주식회사 에스엘전자 | Switching device using multi-point contacting touch sensor and method for controlling thereof |
| KR20100076921A (en)* | 2010-05-12 | 2010-07-06 | (주)코아리버 | An apparatus and an method for detecting multiple touches on touch screen |
| CN101833396A (en)* | 2010-04-26 | 2010-09-15 | 苏州佳世达电通有限公司 | System and method for carrying out multi-point touch through single-point touch panel |
| US20110050592A1 (en)* | 2009-09-02 | 2011-03-03 | Kim John T | Touch-Screen User Interface |
| CN102819350A (en)* | 2012-08-02 | 2012-12-12 | 东莞宇龙通信科技有限公司 | Terminal and terminal control method |
| CN103164067A (en)* | 2011-12-19 | 2013-06-19 | 联想(北京)有限公司 | Method for judging touch input and electronic device |
| CN108713350A (en)* | 2016-01-08 | 2018-10-26 | 奥斯兰姆施尔凡尼亚公司 | Technology for carrying out the control based on gesture to Color-tunable illumination |
| CN109521908A (en)* | 2018-11-28 | 2019-03-26 | 广州朗国电子科技有限公司 | Intelligent whiteboard Dan Zhiyu refers to the switching method of touch mode more |
| CN114063813A (en)* | 2020-08-05 | 2022-02-18 | 三星显示有限公司 | Touch sensing device, display device and method of driving touch sensing device |
| CN218883910U (en)* | 2022-12-12 | 2023-04-18 | 苏州欧普照明有限公司 | Lamp fixture |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20100045260A (en)* | 2008-10-23 | 2010-05-03 | 주식회사 에스엘전자 | Switching device using multi-point contacting touch sensor and method for controlling thereof |
| US20110050592A1 (en)* | 2009-09-02 | 2011-03-03 | Kim John T | Touch-Screen User Interface |
| CN101833396A (en)* | 2010-04-26 | 2010-09-15 | 苏州佳世达电通有限公司 | System and method for carrying out multi-point touch through single-point touch panel |
| KR20100076921A (en)* | 2010-05-12 | 2010-07-06 | (주)코아리버 | An apparatus and an method for detecting multiple touches on touch screen |
| CN103164067A (en)* | 2011-12-19 | 2013-06-19 | 联想(北京)有限公司 | Method for judging touch input and electronic device |
| CN102819350A (en)* | 2012-08-02 | 2012-12-12 | 东莞宇龙通信科技有限公司 | Terminal and terminal control method |
| CN108713350A (en)* | 2016-01-08 | 2018-10-26 | 奥斯兰姆施尔凡尼亚公司 | Technology for carrying out the control based on gesture to Color-tunable illumination |
| CN109521908A (en)* | 2018-11-28 | 2019-03-26 | 广州朗国电子科技有限公司 | Intelligent whiteboard Dan Zhiyu refers to the switching method of touch mode more |
| CN114063813A (en)* | 2020-08-05 | 2022-02-18 | 三星显示有限公司 | Touch sensing device, display device and method of driving touch sensing device |
| CN218883910U (en)* | 2022-12-12 | 2023-04-18 | 苏州欧普照明有限公司 | Lamp fixture |
| Publication | Publication Date | Title |
|---|---|---|
| CN108713350B (en) | Technology for gesture-based control of color-tunable lighting | |
| CN110268371B (en) | Household equipment controller with touch control groove | |
| US9806712B2 (en) | Systems and methods for gesture-based lighting control | |
| JP5600673B2 (en) | User interface device for controlling consumer load and light system using such user interface device | |
| CN218883910U (en) | Lamp fixture | |
| WO2012015601A1 (en) | Display brightness control temporal response | |
| CN107613094A (en) | Method for operating mobile terminal by one hand and mobile terminal | |
| EP3222117B1 (en) | Lighting control apparatus and method | |
| US20140239844A1 (en) | Intelligent lighting apparatus | |
| TW201426505A (en) | Display control system and method | |
| CN114567952A (en) | Method for realizing automatic dimming of lighting equipment and related product | |
| TW201804303A (en) | Electronic device and touch panel | |
| CN101526870B (en) | Sliding input device and method thereof | |
| CN105278862B (en) | A method, device and mobile terminal for preventing misoperation using light sensing detection | |
| CN104584693B (en) | Wall switch | |
| CN112087845A (en) | A method and system for supplementary light based on detection light source | |
| CN116146948A (en) | Touch control method and lamp | |
| CN105045079A (en) | Intelligent watch control method and intelligent watch | |
| JP2012069421A (en) | Light control device, light control method, and light control program | |
| JP6060275B2 (en) | Dimming control device | |
| CN214627446U (en) | Gesture control lighting device and terminal equipment | |
| CN105025629A (en) | Smart watch control method and smart watch | |
| CN202708707U (en) | Induction touch type light control device | |
| KR101625604B1 (en) | Dimming control apparatus and method thereof | |
| KR101262599B1 (en) | Apparatus for controlling mood lamp using touch slide switch |
| 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 |