CN116338810A - Induction range calibration method and device, suspended ceiling electrical appliance, equipment and storage medium - Google Patents
Induction range calibration method and device, suspended ceiling electrical appliance, equipment and storage medium Download PDFInfo
- Publication number
- CN116338810A CN116338810A CN202211622494.8A CN202211622494A CN116338810A CN 116338810 A CN116338810 A CN 116338810A CN 202211622494 A CN202211622494 A CN 202211622494A CN 116338810 A CN116338810 A CN 116338810A
- Authority
- CN
- China
- Prior art keywords
- sensing
- vertices
- vertex
- range
- equal
- 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.)
- Pending
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24D—DOMESTIC- OR SPACE-HEATING SYSTEMS, e.g. CENTRAL HEATING SYSTEMS; DOMESTIC HOT-WATER SUPPLY SYSTEMS; ELEMENTS OR COMPONENTS THEREFOR
- F24D13/00—Electric heating systems
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F5/00—Air-conditioning systems or apparatus not covered by F24F1/00 or F24F3/00, e.g. using solar heat or combined with household units such as an oven or water heater
- F24F5/0007—Air-conditioning systems or apparatus not covered by F24F1/00 or F24F3/00, e.g. using solar heat or combined with household units such as an oven or water heater cooling apparatus specially adapted for use in air-conditioning
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/002—Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01V—GEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
- G01V9/00—Prospecting or detecting by methods not provided for in groups G01V1/00 - G01V8/00
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Physics & Mathematics (AREA)
- Thermal Sciences (AREA)
- Sustainable Development (AREA)
- General Life Sciences & Earth Sciences (AREA)
- Geophysics (AREA)
- Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
- Geophysics And Detection Of Objects (AREA)
Abstract
Description
技术领域technical field
本公开涉及智能家居技术领域,尤其涉及一种感应范围标定方法、装置、吊顶电器、设备和存储介质。The present disclosure relates to the technical field of smart home, and in particular to a sensing range calibration method, device, ceiling electric appliance, equipment and storage medium.
背景技术Background technique
随着低碳和全球降低碳排放政策的推出,人体感应系统在公共区域及智能家居产品中的应用越来越广泛,例如应用在卫生间的浴霸、厨房的凉霸等电器中,但在实际应用过程中经常会发生误触发的情况,例如人在卧室走动,却导致卫生间的浴霸人体感应灯亮起;再如人在厨房外活动,却触发了厨房凉霸的自动吹风功能,特别是对于越来越流行的开放式厨房来讲,更容易发生误触发的情况,这样不仅会影响用户体验,也会导致资源浪费。同时,还有一些应用了风随人动技术的电器,可能存在用户在某些区域内不想吹风的情况,但是在其它区域需要风随人动。With the introduction of low-carbon and global carbon emission reduction policies, human body induction systems are more and more widely used in public areas and smart home products, such as in bathroom heaters, kitchen coolers and other electrical appliances, but in practical applications Mis-triggered situations often occur during the process. For example, people are walking in the bedroom, but the human body sensor light of the bathroom heater in the bathroom is turned on; For open kitchens that are more popular, false triggers are more likely to occur, which will not only affect the user experience, but also lead to waste of resources. At the same time, there are some electrical appliances that use the technology of moving with the wind. There may be situations where the user does not want to blow the wind in some areas, but in other areas the wind needs to move with the person.
发明内容Contents of the invention
为了解决上述技术问题,本公开提供了一种提升用户体验感且节约资源的感应范围标定方法、装置、吊顶电器、设备和存储介质。In order to solve the above technical problems, the present disclosure provides a sensing range calibration method, device, ceiling appliance, equipment, and storage medium that improve user experience and save resources.
本公开提供了感应范围标定方法,包括:The present disclosure provides a sensing range calibration method, including:
获取目标物的站定位置,确定所述站定位置为所需标定区域的顶点;Obtain the fixed position of the target object, and determine that the fixed position is the apex of the required calibration area;
获取所述顶点的位置并确定该点在水平面投影的坐标;Obtain the position of the vertex and determine the projected coordinates of the point on the horizontal plane;
当获取顶点数量等于2时,将x=x1、y=y1、x=x2、y=y2围成的矩形作为感应工作范围或感应非工作范围,其中,x1和x2分别为两个顶点的横坐标,y1和y2分别为两个顶点的纵坐标;当获取顶点数量大于或等于3时,将所有顶点依次连接围成的多边形作为感应工作范围或感应非工作范围。When the number of obtained vertices is equal to 2, the rectangle surrounded by x=x1, y=y1, x=x2, y=y2 is used as the sensing working range or the sensing non-working range, where x1 and x2 are the transverse distances of the two vertices respectively. Coordinates, y1 and y2 are the vertical coordinates of two vertices respectively; when the number of obtained vertices is greater than or equal to 3, the polygon formed by connecting all the vertices in turn is used as the sensing working range or the sensing non-working range.
可选的,所述获取所述顶点的位置并确定该点在水平面投影的坐标的步骤具体包括:Optionally, the step of obtaining the position of the vertex and determining the projected coordinates of the point on the horizontal plane specifically includes:
目标物站在感应区域内,确定站定位置为所述所需标定区域的第一个顶点P1;The target object is standing in the sensing area, and the standing position is determined to be the first vertex P 1 of the required calibration area;
获取所述第一个顶点P1的位置并确定该点在水平面投影的坐标(x1,y1);Obtain the position of the first vertex P 1 and determine the projected coordinates (x 1 , y 1 ) of the point on the horizontal plane;
目标物依次在所述感应区域内移动n个位置,确定第n个位置为所述所需标定区域的第n个顶点Pn;The target moves n positions sequentially within the sensing area, and the nth position is determined as the nth vertex P n of the required calibration area;
获取所述第n个顶点Pn的位置并确定该点在水平面投影的坐标(xn,yn);Acquiring the position of the nth vertex P n and determining the projected coordinates (x n , y n ) of the point on the horizontal plane;
n为大于或等于2的整数。n is an integer greater than or equal to 2.
可选的,当获取顶点数量等于2时,两个顶点的横坐标和纵坐标均不相等。Optionally, when the number of acquired vertices is equal to 2, the abscissa and ordinate of the two vertices are not equal.
可选的,当获取顶点数量大于等于3时,至少一个顶点的横坐标与剩余顶点的横坐标不相等,或者至少一个顶点的纵坐标与剩余顶点的纵坐标不相等。Optionally, when the number of acquired vertices is greater than or equal to 3, the abscissa of at least one vertex is not equal to the abscissa of the remaining vertices, or the ordinate of at least one vertex is not equal to the ordinate of the remaining vertices.
可选的,所述获取所述顶点的位置并确定该点在水平面投影的坐标还包括:通过感应装置获取所述顶点的位置,并以所述感应装置在水平面的投影位置为坐标原点。Optionally, the acquiring the position of the vertex and determining the projected coordinates of the point on the horizontal plane further includes: acquiring the position of the vertex through a sensing device, and taking the projected position of the sensing device on the horizontal plane as the coordinate origin.
可选的,还包括标定完成后,获取目标物所在位置,目标物在所述所需标定区域范围内,执行相应功能。Optionally, after the calibration is completed, acquiring the location of the target, and executing the corresponding function if the target is within the required calibration area.
第二方面,本公开实施例提供了一种感应范围标定装置,包括:In a second aspect, an embodiment of the present disclosure provides a sensing range calibration device, including:
第一获取模块,配置为获取目标物位置信息,所述目标物位置信息具体为以站定位置为顶点,确定所述顶点在水平面投影的坐标;The first acquisition module is configured to acquire target position information, and the target position information is specifically to determine the coordinates of the vertex projected on the horizontal plane with the standing position as the apex;
第一标定模块,配置为当获取顶点数量等于2时,将x=x1、y=y1、x=x2、y=y2围成的矩形作为感应工作范围或感应非工作范围,其中,x1和x2分别为两个顶点的横坐标,y1和y2分别为两个顶点的纵坐标;当获取顶点数量大于或等于3时,将所有顶点依次连接围成的多边形作为感应工作范围或感应非工作范围。The first calibration module is configured to use the rectangle surrounded by x=x1, y=y1, x=x2, and y=y2 as the sensing working range or the sensing non-working range when the number of acquired vertices is equal to 2, wherein x1 and x2 They are the abscissas of the two vertices, and y1 and y2 are the ordinates of the two vertices respectively; when the number of obtained vertices is greater than or equal to 3, the polygon formed by connecting all the vertices in turn is used as the sensing working range or the sensing non-working range.
第三方面,本公开实施例提供了一种吊顶电器,包括上述的感应范围标定装置。In a third aspect, an embodiment of the present disclosure provides a ceiling electrical appliance, including the above sensing range calibration device.
第四方面,本公开实施例提供了一种感应设备,包括:In a fourth aspect, an embodiment of the present disclosure provides a sensing device, including:
处理器;processor;
存储器,用于存储可执行指令;memory for storing executable instructions;
其中,所述处理器用于从所述存储器中读取所述可执行命令,并执行所述可执行命令以实现上述任一项所述的感应范围标定方法。Wherein, the processor is configured to read the executable command from the memory, and execute the executable command to implement the sensing range calibration method described in any one of the above.
第五方面,本公开实施例提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,当所述计算机程序被处理器执行时,使得处理器实现上述任一项所述的感应范围标定方法。In the fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, the storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes the sensing described in any one of the above Range Calibration Method.
本公开实施例提供的技术方案与现有技术相比具有如下优点:Compared with the prior art, the technical solutions provided by the embodiments of the present disclosure have the following advantages:
本公开实施例提供的感应范围标定方法,通过确定目标物的站定位置为所需标定区域的顶点,获取顶点的位置并确定该点在水平面投影的坐标,当获取顶点数量等于2时,将两个顶点的横坐标所在的直线和纵坐标所在的直线围成的矩形作为感应工作范围或感应非工作范围,当获取顶点数量大于或等于3时,将所有顶点依次连接围成的多边形作为感应工作范围或感应非工作范围。以此可确定需要标定的范围,防止用户无意间触发感应装置,从而造成资源浪费,同时此方法简单,无需人工测量计算,提升了用户的体验感。The sensing range calibration method provided by the embodiment of the present disclosure obtains the position of the vertex and determines the projected coordinates of the point on the horizontal plane by determining the locating position of the target as the apex of the required calibration area. When the number of acquired vertices is equal to 2, the The rectangle surrounded by the straight line where the abscissa of the two vertices is located and the straight line where the ordinate is located is used as the sensing working range or the sensing non-working range. When the number of obtained vertices is greater than or equal to 3, connect all the vertices in turn to form a polygon as the sensing Working range or sensing non-working range. In this way, the range that needs to be calibrated can be determined, and the user can be prevented from inadvertently triggering the sensing device, thereby causing waste of resources. At the same time, the method is simple and does not require manual measurement and calculation, which improves the user experience.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.
图1为本公开实施例所述的当获取顶点数量等于2时的感应范围标定方法的流程图;FIG. 1 is a flowchart of a sensing range calibration method when the number of acquired vertices is equal to 2 according to an embodiment of the present disclosure;
图2为图1所述的感应范围标定方法的所需标定范围的示意图;Fig. 2 is a schematic diagram of the required calibration range of the sensing range calibration method described in Fig. 1;
图3为本公开实施例所述的当获取顶点数量大于或等于3时的感应范围标定方法的流程图;FIG. 3 is a flow chart of the sensing range calibration method when the number of acquired vertices is greater than or equal to 3 according to an embodiment of the present disclosure;
图4为图3所述的感应范围标定方法的所需标定范围的示意图;Fig. 4 is a schematic diagram of the required calibration range of the sensing range calibration method described in Fig. 3;
图5为图3所述的感应范围标定方法标定失败的示意图;Fig. 5 is a schematic diagram of the calibration failure of the sensing range calibration method described in Fig. 3;
图6为本公开实施例所述的吊顶电器的结构示意图;Fig. 6 is a schematic structural diagram of a ceiling electric appliance according to an embodiment of the present disclosure;
图7为本公开实施例所述的吊顶电器的原理流程图。Fig. 7 is a schematic flowchart of the ceiling electric appliance described in the embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways than described here; obviously, the embodiments in the description are only some of the embodiments of the present disclosure, and Not all examples.
图1为本公开实施例提供的一种感应范围标定方法的流程图。感应范围标定方法可以应用在有人体感应需求的电器上,对感应工作范围或感应非工作范围进行标定,可以由本公开实施例所提供的感应范围标定装置来执行,该感应范围标定装置可以采用软件和/或硬件方式来实现。FIG. 1 is a flow chart of a sensing range calibration method provided by an embodiment of the present disclosure. The sensing range calibration method can be applied to electrical appliances with human body sensing requirements, and the sensing working range or sensing non-working range can be calibrated, which can be performed by the sensing range calibration device provided by the embodiment of the present disclosure. The sensing range calibration device can use software and/or in hardware.
一种感应范围标定方法,包括:获取目标物的站定位置,确定所述站定位置为所需标定区域的顶点;获取所述顶点的位置并确定该点在水平面投影的坐标;当获取顶点数量等于2时,将x=x1、y=y1、x=x2、y=y2围成的矩形作为感应工作范围或感应非工作范围,其中,x1和x2分别为两个顶点的横坐标,y1和y2分别为两个顶点的纵坐标;当获取顶点数量大于或等于3时,将所有顶点依次连接围成的多边形作为感应工作范围或感应非工作范围。A method for calibrating a sensing range, comprising: obtaining a standing position of an object, determining that the standing position is the apex of a desired calibration area; obtaining the position of the apex and determining the projected coordinates of the point on a horizontal plane; when obtaining the apex When the quantity is equal to 2, the rectangle surrounded by x=x1, y=y1, x=x2, y=y2 is used as the sensing working range or sensing non-working range, where x1 and x2 are the abscissas of the two vertices respectively, and y1 and y2 are the ordinates of the two vertices respectively; when the number of obtained vertices is greater than or equal to 3, the polygon formed by connecting all the vertices in turn is used as the sensing working range or the sensing non-working range.
具体的,如图1所示,当获取顶点数量等于2时,感应范围标定方法包括:Specifically, as shown in Figure 1, when the number of obtained vertices is equal to 2, the sensing range calibration method includes:
S110、开始标定模式。S110, start the calibration mode.
S120、人站在所需标定区域的第1个顶点,具体的,人站在感应区域内,确定站定位置为所需标定区域的第一个顶点P1。S120. The person stands at the first vertex of the required calibration area. Specifically, the person stands in the sensing area, and determines that the standing position is the first vertex P 1 of the required calibration area.
S130、遥控器或app确定该顶点,此遥控器或app为控制器。S130. The remote controller or app determines the vertex, and the remote controller or app is a controller.
S140、人体传感器获取该点位置(x1,y1),并将信息传输至处理器,其中,遥控器或app均与处理器通信连接,通过遥控器或app确定第一个顶点,人体传感器获取第一个顶点P1的位置,将第一个顶点P1坐标(x1,y1)传输至处理器中。S140. The human body sensor obtains the position (x 1 , y 1 ) of the point, and transmits the information to the processor, wherein the remote controller or app communicates with the processor, determines the first vertex through the remote controller or app, and the human body sensor Obtain the position of the first vertex P 1 , and transmit the coordinates (x 1 , y 1 ) of the first vertex P 1 to the processor.
S150、人站在所需标定区域的第二个顶点,具体的,人站在感应区域内,选择所需标定区域的对角,将对角位置确定为所需标定区域的第二个顶点P2。S150. The person stands at the second vertex of the required calibration area. Specifically, the person stands in the sensing area, selects the diagonal position of the required calibration area, and determines the diagonal position as the second vertex P of the required calibration area. 2 .
S160、遥控器或app确定该顶点。S160, the remote controller or the app determines the vertex.
S170、人体传感器获取该点位置(x2,y2),并将信息传输至处理器,具体的,人体传感器获取确定的第二个顶点P2的位置,将第二个顶点P2坐标(x2,y2)传输至处理器中。S170. The human body sensor acquires the position (x 2 , y 2 ) of the point, and transmits the information to the processor. Specifically, the human body sensor acquires the determined position of the second vertex P 2 , and the coordinates of the second vertex P 2 ( x 2 , y 2 ) are transmitted to the processor.
S180、确认完成位置标定。S180. Confirm that the position calibration is completed.
S190、处理器将位置坐标处理成平面坐标系x0y上的由直线x=x1、y=y1、x=x2、y=y2围成的矩形,处理器获取各个顶点的坐标位置信息,将第一个顶点P1和第二个顶点P2的横坐标所在的直线以及纵坐标所在的直线围成矩形,确定此矩形作为感应工作范围或感应非工作范围。S190, the processor processes the position coordinates into a rectangle surrounded by straight lines x=x1, y=y1, x=x2, y=y2 on the plane coordinate system x0y, the processor obtains the coordinate position information of each vertex, and converts the first The straight line where the abscissa of the first vertex P1 and the second vertex P2 are located and the straight line where the vertical coordinate is located form a rectangle, and this rectangle is determined as the sensing working range or the sensing non-working range.
在另一些实施例中,如图3所示,当获取顶点数量大于或等于3时,感应范围标定方法包括:In other embodiments, as shown in FIG. 3, when the number of acquired vertices is greater than or equal to 3, the sensing range calibration method includes:
S210、开始标定模式。S210, start the calibration mode.
S220、n=1,即确定人站在所需标定区域的第一个顶点P1。S220, n=1, that is, it is determined that the person is standing on the first vertex P 1 of the desired calibration area.
S230、人站在所需标定区域的第n个顶点,n为大于或等于3的整数。S230. The person stands on the nth vertex of the required calibration area, where n is an integer greater than or equal to 3.
S240、遥控器或app确定该顶点Pn,此遥控器或app为控制器。S240. The remote controller or app determines the vertex P n , and the remote controller or app is a controller.
S250、人体传感器获取该点Pn位置(xn,yn)并将信息传输至处理器,重复步骤S230至步骤S250,直至确定完成所有顶点。S250. The human body sensor obtains the position (x n , y n ) of the point P n and transmits the information to the processor, and repeats steps S230 to S250 until it is determined that all vertices are completed.
S260、确认完成位置坐标。S260. Confirm the completion of the position coordinates.
S270、取平面坐标系x0y上的线段P1P2、P2P3……Pn-1Pn、PnP1,具体的,线段P1P2、P2P3……Pn-1Pn、PnP1即为第一个顶点P1与第二个顶点P2之间的连线、第二个顶点P2与第三个顶点P3之间的连线……第n-1个顶点Pn-1与第n个顶点Pn之间的连线、第n个顶点Pn与第一个顶点P1之间的连线,也就是说,将所有顶点依次连接。S270. Take line segments P 1 P 2 , P 2 P 3 ... P n-1 P n , P n P 1 on the plane coordinate system x0y, specifically, line segments P 1 P 2 , P 2 P 3 ... P n -1 P n , P n P 1 are the connection line between the first vertex P 1 and the second vertex P 2 , the connection line between the second vertex P 2 and the third vertex P 3 ... The connection between the n-1th vertex P n-1 and the n-th vertex P n , the connection between the n-th vertex P n and the first vertex P 1 , that is, all the vertices in turn connect.
S280、判断线段是否能构成多边形区域,具体的,处理器接收到各顶点位置坐标信息,判断所有顶点依次连接是否能围成多边形。S280. Determine whether the line segment can form a polygonal area. Specifically, the processor receives the position coordinate information of each vertex, and determines whether all the vertices can be connected in sequence to form a polygon.
S290、线段能构成多边形区域,取该多边形作为标定感应范围,也就是说,取平面坐标系x0y上的线段P1P2、P2P3……Pn-1Pn、PnP1能够围成多边形,此多边形即为感应工作范围或感应非工作范围。S290, the line segment can form a polygonal area, take the polygon as the calibration sensing range, that is to say, take the line segment P 1 P 2 , P 2 P 3 ... P n-1 P n , P n P 1 on the plane coordinate system x0y A polygon can be enclosed, and this polygon is the sensing working range or the sensing non-working range.
S300、线段不能构成多边形区域,提示标定不成功,重新标定(参考图5所示)。S300 , the line segment cannot form a polygonal area, prompting that the calibration is unsuccessful, and re-calibration (refer to FIG. 5 ).
进一步的,获取顶点的位置并确定该点在水平面投影的坐标的步骤具体包括:目标物站在感应区域内,确定站定位置为所需标定区域的第一个顶点P1;获取第一个顶点P1的位置并确定该点在水平面投影的坐标(x1,y1);目标物依次在感应区域内移动n个位置,确定第n个位置为所需标定区域的第n个顶点Pn;获取第n个顶点Pn的位置并确定该点在水平面投影的坐标(xn,yn);n为大于或等于2的整数。Further, the step of obtaining the position of the vertex and determining the projected coordinates of the point on the horizontal plane specifically includes: the target object stands in the sensing area, and determines that the standing position is the first vertex P 1 of the required calibration area; The position of the vertex P 1 and determine the projected coordinates (x 1 , y 1 ) of the point on the horizontal plane; the target moves n positions in the sensing area in turn, and determine the nth position as the nth vertex P of the required calibration area n ; Obtain the position of the nth vertex P n and determine the projected coordinates (x n , y n ) of the point on the horizontal plane; n is an integer greater than or equal to 2.
具体的,确认目标物站在感应区内,可由app直接监测到,或因感应范围标定装置应用于厨房、浴室等较小空间内时,所处空间即为感应区,可通过遥控器直接确定进入标定模式,确定站定位置为第一个顶点P1,人体传感器获取第一个顶点P1的坐标(x1,y1)并将信息传输至处理器中,目标物依次在感应区域内移动n个位置,确定第二个顶点P2至第n个顶点Pn,人体传感器获取每个顶点在水平面投影的坐标并将信息传输至处理器中,获取的顶点的数量应为大于或等于2的整数。Specifically, confirm that the target object is standing in the sensing area and can be directly monitored by the app, or when the sensing range calibration device is used in a small space such as a kitchen or bathroom, the space it is in is the sensing area, which can be directly determined by the remote control Enter the calibration mode, determine the standing position as the first vertex P 1 , the human body sensor obtains the coordinates (x 1 , y 1 ) of the first vertex P 1 and transmits the information to the processor, and the target is in the sensing area in turn Move n positions, determine the second vertex P 2 to the nth vertex P n , the human body sensor obtains the coordinates of each vertex projected on the horizontal plane and transmits the information to the processor, and the number of obtained vertices should be greater than or equal to Integer of 2.
如图2所示,为保证获取顶点数量等于2时,两个顶点的横坐标所在的直线和纵坐标所在的直线能够围成矩形,两个顶点的横坐标和纵坐标均不相等,也就是说,获取第一个顶点P1的坐标(x1,y1),获取第二个顶点P2的坐标(x2,y2),x1和x2不相等,且y1和y2也不相等,此时才能够得到四条直线围成矩形,此矩形即为感应工作范围或感应非工作范围。As shown in Figure 2, in order to ensure that when the number of acquired vertices is equal to 2, the straight line where the abscissa and ordinate of the two vertices are located can form a rectangle, and the abscissa and ordinate of the two vertices are not equal, that is Say, get the coordinates (x 1 , y 1 ) of the first vertex P 1 , get the coordinates (x 2 , y 2 ) of the second vertex P 2 , where x 1 and x 2 are not equal, and y 1 and y 2 At this time, four straight lines can be obtained to form a rectangle, which is the sensing working range or sensing non-working range.
如图4所示,当获取顶点数量大于等于3时,至少一个顶点的横坐标与剩余顶点的横坐标不相等,或者至少一个顶点的纵坐标与剩余顶点的纵坐标不相等。也就是说,获取n个顶点,当至少其中一个顶点的横坐标与剩余顶点的横坐标不相等,或者至少一个顶点的纵坐标与剩余顶点的纵坐标不相等时,才能够得到至少三条不平行的线段,至少三条不平行的线段顺次连接围成多边形,此多边形即为感应工作范围或感应非工作范围。As shown in FIG. 4 , when the number of acquired vertices is greater than or equal to 3, the abscissa of at least one vertex is not equal to the abscissa of the remaining vertices, or the ordinate of at least one vertex is not equal to the ordinate of the remaining vertices. That is to say, to obtain n vertices, when the abscissa of at least one of the vertices is not equal to the abscissa of the remaining vertices, or the ordinate of at least one vertex is not equal to the ordinate of the remaining vertices, at least three non-parallel lines can be obtained At least three non-parallel line segments are connected in sequence to form a polygon, which is the sensing working range or sensing non-working range.
当然,获取顶点的位置并确定该点在水平面投影的坐标还包括:通过感应装置获取顶点的位置,并以感应装置在水平面的投影位置为坐标原点。以感应装置在水平面的投影位置为坐标原点,从而对获取的顶点的位置坐标进行标定,以确定所需标定区域范围。Of course, obtaining the position of the vertex and determining the projected coordinates of the point on the horizontal plane also includes: obtaining the position of the vertex through a sensing device, and taking the projected position of the sensing device on the horizontal plane as the coordinate origin. Taking the projected position of the sensing device on the horizontal plane as the origin of coordinates, the position coordinates of the obtained vertices are calibrated to determine the range of the required calibration area.
综上所述,感应范围标定方法,还包括标定完成后,获取目标物所在位置,目标物在所述所需标定区域范围内,执行相应功能。具体的,可根据上述方法标定出感应范围,在标定完成后,获取目标物所在位置,若目标物在所需标定区域即在感应范围内,则由处理器控制执行相应的功能,若在所需标定区域即在感应范围外,则不执行相应的功能。To sum up, the sensing range calibration method also includes obtaining the location of the target object after the calibration is completed, and performing the corresponding function when the target object is within the required calibration area. Specifically, the sensing range can be calibrated according to the above method. After the calibration is completed, the location of the target can be obtained. If the target is in the required calibration area, that is, within the sensing range, the corresponding function will be executed under the control of the processor. If the area to be calibrated is outside the sensing range, the corresponding function will not be executed.
进一步的,本公开的一些实施例还提供了一种感应范围标定装置,可用于执行上述实施方式中的任一种感应范围标定方法的步骤。Further, some embodiments of the present disclosure also provide a sensing range calibration device, which can be used to perform the steps of any sensing range calibration method in the above implementation manners.
在一些实施例中,感应范围标定装置包括:第一获取模块,配置为获取目标物位置信息,目标物位置信息具体为以站定位置为顶点,确定顶点在水平面投影的坐标;第一标定模块,配置为当获取顶点数量等于2时,将x=x1、y=y1、x=x2、y=y2围成的矩形作为感应工作范围或感应非工作范围,其中,x1和x2分别为两个顶点的横坐标,y1和y2分别为两个顶点的纵坐标;当获取顶点数量大于或等于3时,将所有顶点依次连接围成的多边形作为感应工作范围或感应非工作范围。In some embodiments, the sensing range calibration device includes: a first acquisition module, configured to acquire the position information of the target object, the target position information is specifically to use the station position as the vertex, and determine the coordinates of the vertex projected on the horizontal plane; the first calibration module , configured to use the rectangle surrounded by x=x1, y=y1, x=x2, y=y2 as the sensing working range or sensing non-working range when the number of obtained vertices is equal to 2, where x1 and x2 are two The abscissa of the vertices, y1 and y2 are the ordinates of the two vertices respectively; when the number of obtained vertices is greater than or equal to 3, the polygon formed by connecting all the vertices in turn is used as the sensing working range or the sensing non-working range.
本公开实施例提供的感应范围标定装置中,能够根据获取的目标物位置信息确定所需标定区域的顶点,并确定顶点在水平面投影的坐标,处理器接收到各顶点的坐标以此进行标定,从而确定感应范围,防止用户无意间触发感应装置,从而造成资源浪费,提升了用户的体验感。In the sensing range calibration device provided by the embodiments of the present disclosure, the vertices of the required calibration area can be determined according to the acquired target object position information, and the coordinates of the vertices projected on the horizontal plane can be determined. The processor receives the coordinates of each vertex to perform calibration. Therefore, the sensing range is determined, and the user is prevented from inadvertently triggering the sensing device, thereby causing waste of resources and improving the user experience.
进一步的,当获取顶点的数量等于2时,第一标定模块配置为将x=x1、y=y1、x=x2、y=y2围成的矩形作为感应工作范围或感应非工作范围,其中,x1和x2分别为两个顶点的横坐标,y1和y2分别为两个顶点的纵坐标。具体的,接收两个顶点的坐标,将两个顶点的横坐标所在的直线和纵坐标所在的直线围合,围成的矩形作为感应工作范围或感应非工作范围。Further, when the number of acquired vertices is equal to 2, the first calibration module is configured to use the rectangle surrounded by x=x1, y=y1, x=x2, and y=y2 as the sensing working range or sensing non-working range, wherein, x1 and x2 are the abscissas of the two vertices respectively, and y1 and y2 are the ordinates of the two vertices respectively. Specifically, the coordinates of the two vertices are received, the straight line where the abscissa coordinates of the two vertices are located and the straight line where the vertical coordinates are located enclose, and the enclosed rectangle is used as a sensing working range or a sensing non-working range.
当当获取顶点数量大于或等于3时,第一标定模块配置为所有顶点依次连接围成的多边形作为感应工作范围或感应非工作范围。具体的,接收所有顶点的坐标,将每两个相邻顶点连接成线段,将所有线段顺次连接即将所有顶点依次连接,围成的多边形作为感应工作范围或感应非工作范围。When the number of acquired vertices is greater than or equal to 3, the first calibration module is configured such that all vertices are sequentially connected to form a polygon as the sensing working range or the sensing non-working range. Specifically, the coordinates of all vertices are received, every two adjacent vertices are connected into a line segment, all the line segments are connected in sequence, that is, all vertices are connected in sequence, and the polygons formed are used as the sensing working range or the sensing non-working range.
在上述实施方式的基础上,本公开实施例还提供了一种吊顶电器。参照图6所示,吊顶电器包括:功能模块401、处理器402、人体传感器403。On the basis of the foregoing implementation manners, an embodiment of the present disclosure further provides a ceiling electrical appliance. Referring to FIG. 6 , the ceiling electrical appliance includes: a
具体的,功能模块401包括导风装置、照明装置、风机、加热器等,用于吊顶电器进行出风、照明、取暖等;人体传感器403用于获取目标物位置信息,并将信息传输至处理器402,处理器402根据目标物位置信息,控制功能模块401的运行。Specifically, the
当然,吊顶电器还包括控制器404,此控制器404包括遥控器、线控器、app等,控制器404与处理器402通信连接,以在处理器402根据目标物位置信息控制功能模块401运行时,进行功能选择。Of course, the ceiling electrical appliance also includes a
参照图7所示,吊顶电器应用人体感应时,具体包括如下步骤:Referring to Figure 7, when the human body induction is applied to the ceiling electrical appliances, the specific steps are as follows:
S41、人感模式开启。S41, the human sense mode is turned on.
S42、实时获取人体位置坐标,具体为人体传感器403获取人体位置信息,并将人体位置信息传输至处理器402。S42 . Acquire the coordinates of the human body position in real time, specifically, the
S43、判断是否已标定感应范围。S43. Determine whether the sensing range has been calibrated.
S44、没有标定感应范围,执行相应功能模块。S44. The sensing range is not calibrated, and the corresponding function module is executed.
S45、已标定感应范围,判断人体位置坐标是否在标定范围内。S45. The sensing range has been calibrated, and it is judged whether the human body position coordinates are within the calibrated range.
S46、人体位置坐标在标定范围内,执行相应功能模块,即处理器402根据人体位置信息控制功能模块401运行。S46. The human body position coordinates are within the calibration range, and the corresponding function modules are executed, that is, the
S47、人体位置坐标在标定范围外,不执行相应功能模块。S47. The human body position coordinates are outside the calibration range, and the corresponding function module is not executed.
在上述实施方式的基础上,本公开实施例还提供了一种感应设备,该感应设备包括:处理器以及用于储存可执行命令的存储器,其中,处理器用于从存储器中读取可执行命令,并执行可执行命令以实现上述任一种感应范围标定方法。On the basis of the above embodiments, an embodiment of the present disclosure also provides a sensing device, the sensing device includes: a processor and a memory for storing executable commands, wherein the processor is used for reading the executable commands from the memory , and execute the executable command to implement any of the sensing range calibration methods above.
在上述实施方式的基础上,本公开实施例还提供了一种计算机可读存储介质,该存储介质存储有计算机程序,当计算机程序被处理器执行时,使得处理器实现上述任一种感应范围标定方法。On the basis of the above-mentioned embodiments, an embodiment of the present disclosure also provides a computer-readable storage medium, the storage medium stores a computer program, and when the computer program is executed by the processor, the processor realizes any of the above-mentioned sensing ranges calibration method.
具体地,上述处理器可以包括中央处理器(CPU),或者特定集成电路(ApplicationSpecific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。Specifically, the foregoing processor may include a central processing unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits in the embodiments of the present application.
存储器可以包括用于信息或指令的大容量存储器。举例来说而非限制,存储器可以包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个及其以上这些的组合。在合适的情况下,存储器可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器可在综合网关设备的内部或外部。在特定实施例中,存储器是非易失性固态存储器。在特定实施例中,存储器包括只读存储器(Read-Only Memory,ROM)。在合适的情况下,该ROM可以是掩模编程的ROM、可编程ROM(Programmable ROM,PROM)、可擦除PROM(Electrical ProgrammableROM,EPROM)、电可擦除PROM(Electrically Erasable Programmable ROM,EEPROM)、电可改写ROM(Electrically Alterable ROM,EAROM)或闪存,或者两个或及其以上这些的组合。Memory may include mass storage for information or instructions. By way of example and not limitation, the memory may include a hard disk drive (Hard Disk Drive, HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a Universal Serial Bus (Universal Serial Bus, USB) drive or two or more combinations of these. Storage may include removable or non-removable (or fixed) media, where appropriate. The storage may be internal or external to the integrated gateway device, where appropriate. In a particular embodiment, the memory is non-volatile solid-state memory. In a particular embodiment, the memory includes Read-Only Memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable ROM, PROM), an erasable PROM (Electrical Programmable ROM, EPROM), an electrically erasable PROM (Electrically Erasable Programmable ROM, EEPROM) , Electrically Alterable ROM (Electrically Alterable ROM, EAROM) or flash memory, or a combination of two or more of these.
处理器通过读取并执行存储器中存储的计算机程序指令,以执行本公开实施例所提供的感应范围标定方法的步骤。The processor executes the steps of the sensing range calibration method provided by the embodiments of the present disclosure by reading and executing the computer program instructions stored in the memory.
在一个示例中,该感应设备还可包括收发器和总线。其中,处理器、存储器和收发器通过总线连接并完成相互间的通信。In one example, the sensing device may also include a transceiver and a bus. Among them, the processor, the memory and the transceiver are connected through the bus and complete the mutual communication.
总线包括硬件、软件或两者。举例来说而非限制,总线可包括加速图形端口(Accelerated Graphics Port,AGP)或其他图形总线、增强工业标准架构(ExtendedIndustry Standard Architecture,EISA)总线、前端总线(Front Side BUS,FSB)、超传输(Hyper Transport,HT)互连、工业标准架构(Industrial Standard Architecture,ISA)总线、无限带宽互连、低引脚数(Low Pin Count,LPC)总线、存储器总线、微信道架构(MicroChannel Architecture,MCA)总线、外围控件互连(Peripheral Component Interconnect,PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(Serial Advanced TechnologyAttachment,SATA)总线、视频电子标准协会局部(Video Electronics StandardsAssociation Local Bus,VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线可包括一个或多个总线。尽管本申请实施例描述出了特定的总线,但本申请考虑任何合适的总线或互连。A bus includes hardware, software, or both. By way of example and not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (Hyper Transport, HT) interconnect, Industry Standard Architecture (Industrial Standard Architecture, ISA) bus, InfiniBand interconnect, Low Pin Count (Low Pin Count, LPC) bus, memory bus, Micro Channel Architecture (MicroChannel Architecture, MCA ) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (Serial Advanced Technology Attachment, SATA) bus, Video Electronics Standards Association Local Bus, VLB) bus or other suitable bus or a combination of two or more of these. A bus may comprise one or more buses, where appropriate. Although the embodiments of this application describe a particular bus, this application contemplates any suitable bus or interconnect.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relative terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these No such actual relationship or order exists between entities or operations. Furthermore, 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 includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific implementation manners of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211622494.8A CN116338810A (en) | 2022-12-16 | 2022-12-16 | Induction range calibration method and device, suspended ceiling electrical appliance, equipment and storage medium |
| PCT/CN2023/122373 WO2024125041A1 (en) | 2022-12-16 | 2023-09-28 | Sensing range calibration method and apparatus, and ceiling electric appliance, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211622494.8A CN116338810A (en) | 2022-12-16 | 2022-12-16 | Induction range calibration method and device, suspended ceiling electrical appliance, equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116338810A true CN116338810A (en) | 2023-06-27 |
Family
ID=86875329
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211622494.8A Pending CN116338810A (en) | 2022-12-16 | 2022-12-16 | Induction range calibration method and device, suspended ceiling electrical appliance, equipment and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN116338810A (en) |
| WO (1) | WO2024125041A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024125041A1 (en) * | 2022-12-16 | 2024-06-20 | 美智光电科技股份有限公司 | Sensing range calibration method and apparatus, and ceiling electric appliance, device and storage medium |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2520713A (en) * | 2013-11-28 | 2015-06-03 | Lauco Trading Ltd | Position determination |
| CN103679774B (en) * | 2014-01-03 | 2016-06-22 | 中南大学 | A kind of polygon farmland operation zone boundary modeling method |
| CN105828292A (en) * | 2016-05-09 | 2016-08-03 | 青岛海信移动通信技术股份有限公司 | Position detecting method and device based on geo-fencing |
| CN111308456B (en) * | 2020-04-08 | 2023-05-23 | 加特兰微电子科技(上海)有限公司 | Target position judgment method, device, millimeter wave radar and storage medium |
| CN114347040B (en) * | 2022-02-18 | 2024-06-11 | 创新奇智(合肥)科技有限公司 | Target object pickup method, device, robot and storage medium |
| CN114489347A (en) * | 2022-04-01 | 2022-05-13 | 深圳市赢向量科技有限公司 | Dynamic sand table and demonstration method and system thereof |
| CN116338810A (en) * | 2022-12-16 | 2023-06-27 | 美智光电科技股份有限公司 | Induction range calibration method and device, suspended ceiling electrical appliance, equipment and storage medium |
-
2022
- 2022-12-16 CN CN202211622494.8A patent/CN116338810A/en active Pending
-
2023
- 2023-09-28 WO PCT/CN2023/122373 patent/WO2024125041A1/en not_active Ceased
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024125041A1 (en) * | 2022-12-16 | 2024-06-20 | 美智光电科技股份有限公司 | Sensing range calibration method and apparatus, and ceiling electric appliance, device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2024125041A1 (en) | 2024-06-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111937051B (en) | Smart home device placement and installation using augmented reality visualization | |
| US20240129156A1 (en) | Method and system for controlling home appliance | |
| CN105830130A (en) | Select the method of the controlled device and the control device | |
| CN110686648A (en) | Method, device and equipment for generating house type graph based on image detection and storage medium | |
| CN106331990A (en) | Bluetooth pairing system, pairing method for Bluetooth devices and intelligent terminal | |
| KR102250947B1 (en) | Method for identifying a location of electronic apparatus and electronic apparatus and operating method of server | |
| JP6715283B2 (en) | Network system and information processing method | |
| JP7179230B1 (en) | Modification of transmit and/or receive characteristics to detect events other than human presence | |
| CN116338810A (en) | Induction range calibration method and device, suspended ceiling electrical appliance, equipment and storage medium | |
| EP3619892B1 (en) | Conditionally providing location-based functions | |
| CN114019807A (en) | Data processing method, apparatus, system, device and readable storage medium | |
| US12248057B2 (en) | Method for providing service related to electronic device by forming zone, and device therefor | |
| CN113873436B (en) | Electronic fence generation method, device and medium | |
| JP7778071B2 (en) | Indication of the likelihood of presence being detected via multiple indications | |
| US11262720B2 (en) | Communication device, communication adaptor, communication system, communication parameter response method, and program | |
| US12288319B2 (en) | Commissioning of indoor positioning system aided by augmented reality | |
| KR102246270B1 (en) | Electronic device and interconnecting method thereof | |
| CN113391264B (en) | Control method, storage medium, controlled device, terminal device, positioning device | |
| JP2016181839A (en) | Display control program, display control system, and display control method | |
| CN120202639A (en) | Electronic device and method for displaying and controlling household appliances | |
| TW202002540A (en) | Lighting apparatus, terminal, lighting system, information terminal, paring method of lighting apparatus and program capable of easily performing paring | |
| JP7523206B2 (en) | Information processing device, device layout display system, device layout display method and program | |
| WO2021058415A1 (en) | Determining light beam properties based on light beam properties of other lighting device | |
| US20250258481A1 (en) | Electronic device for displaying user interface for use and management of device included in house, and operating method thereof | |
| JP7810659B2 (en) | Execution of control commands dependent on presence being detected |
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 |