Indoor target tracking method, energy-saving method and system based on radar
Through the indoor target tracking method based on 79GHz millimeter wave radar, the static and dynamic areas in the office building are detected and analyzed, and electrical appliances are turned off after confirming that the person has left. This solves the problem that existing sensors cannot accurately sense and achieves efficient power saving and safety. Assure.
Patent Information
- Application Number
- CN202010826814.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-17
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-08-17
AI Technical Summary
Indoor sensors in existing office buildings cannot accurately sense whether people leave the indoor area, resulting in waste of power and potential fire risks, making it impossible to achieve energy saving efficiently.
An indoor target tracking method based on 79GHz millimeter wave radar is used to detect the preset area, extract the information of the static background area and the dynamic area, analyze the movement trajectory of the tracking target, confirm whether the person leaves the preset area, and turn off the static area when confirming departure Electrical appliances in the background area.
It achieves accurate perception of people leaving, effectively saves electricity, and reduces waste and fire risks caused by long-term operation of electrical appliances.
Smart Images

Figure CN111966099B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to a radar-based indoor target tracking method, energy-saving method and system. Background Art
[0002] At present, high-power electrical appliances such as central air conditioners, electric lights, electrical display screens, and water heaters are essential appliances in office buildings, which greatly facilitate people's lives. However, when people leave the room, they often forget to turn off the lights, air conditioners, office equipment and other appliances, which makes these appliances work for a long time, which not only wastes electricity, but also may cause serious disasters such as fires.
[0003] The sensors currently used to sense people in office buildings include ultrasonic sensors, infrared sensors, and 24GHz millimeter wave radars. Although these sensors can be used to sense whether people have left the room, they cannot achieve accurate perception and thus cannot play a role in efficient energy saving.
[0004] Therefore, accurately sensing whether people have left indoor areas is an urgent problem that needs to be solved. Summary of the invention
[0005] The present invention provides a radar-based indoor target tracking method, an energy-saving method and a system for accurately sensing whether a human target has left a preset area.
[0006] In a first aspect, an embodiment of the present invention provides a radar-based indoor target tracking method, the indoor target tracking method comprising:
[0007] Using radar to detect a preset area and extract first detection information corresponding to an activity area, wherein the activity area is an area after the dynamic area is removed from the static background area, the static background area is an area within the preset area determined in a static scene, and the dynamic area is an area within the preset area determined in a dynamic scene;
[0008] Analyzing the first detection information to form a motion trajectory of the tracking target; and
[0009] Confirm whether there is a human target in the activity area based on the motion trajectory of the tracked target, the preset position, and the second detection information, wherein the second detection information is the detection information corresponding to the static background area extracted when the preset area is detected by the radar.
[0010] In a second aspect, an embodiment of the present invention provides an energy-saving method using an indoor target tracking method, the energy-saving method comprising:
[0011] Using radar to detect a preset area and extract first detection information corresponding to an activity area, wherein the activity area is an area after the dynamic area is removed from the static background area, the static background area is an area within the preset area determined in a static scene, and the dynamic area is an area within the preset area determined in a dynamic scene;
[0012] Analyzing the first detection information to form a motion trajectory of the tracking target; and
[0013] Confirming whether there is a human target in the activity area according to the motion trajectory of the tracking target, the preset position, and second detection information, wherein the second detection information is detection information corresponding to the static background area extracted when the preset area is detected by the radar;
[0014] When it is confirmed that there is no human target in the activity area, the electrical appliances in the static background area are controlled to be turned off.
[0015] In a third aspect, an embodiment of the present invention provides an energy-saving system applying an indoor target tracking method, the energy-saving system comprising a radar, and a main control device electrically connected to the radar, the main control device comprising a processor and a memory, the memory being used to store energy-saving program instructions, the processor being used to execute the energy-saving program instructions to implement an energy-saving method, the energy-saving method comprising:
[0016] Using radar to detect a preset area and extract first detection information corresponding to an activity area, wherein the activity area is an area after the dynamic area is removed from the static background area, the static background area is an area within the preset area determined in a static scene, and the dynamic area is an area within the preset area determined in a dynamic scene;
[0017] Analyzing the first detection information to form a motion trajectory of the tracking target; and
[0018] Confirming whether there is a human target in the activity area according to the motion trajectory of the tracking target, the preset position, and second detection information, wherein the second detection information is detection information corresponding to the static background area extracted when the preset area is detected by the radar;
[0019] When it is confirmed that there is no human target in the activity area, the electrical appliances in the static background area are controlled to be turned off.
[0020] The above-mentioned radar-based indoor target tracking method, energy-saving method and system detect the active area after removing the dynamic area from the static background area, and accurately sense whether the human target has left the preset area based on the motion trajectory, preset position and detection information of the static scene of the tracked target. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without creative work.
[0022] Figure 1 A flowchart of an indoor target tracking method provided by an embodiment of the invention.
[0023] Figure 2 A flowchart for detecting a static scene provided by an embodiment of the invention.
[0024] Figure 3 A flowchart for detecting dynamic scenes provided by an embodiment of the invention.
[0025] Figure 4 A flow chart for forming a tracking target motion trajectory provided by an embodiment of the invention.
[0026] Figure 5 A sub-flow chart for forming a motion trajectory of a tracking target provided in an embodiment of the invention.
[0027] Figure 6 A flow chart for confirming whether there is a human target in an activity area provided by an embodiment of the invention.
[0028] Figure 7 A flow chart for determining that a tracking target is within an activity area provided by an embodiment of the present invention.
[0029] Figure 8 A schematic diagram of an application area of the indoor target tracking method provided by an embodiment of the invention.
[0030] Fig. 9 for Figure 8 Schematic diagram of the preset area of the application area shown.
[0031] Fig.10 for Figure 8 Schematic diagram of the static background area of the application area shown.
[0032] Fig.11 for Figure 8 Schematic diagram of the dynamic area of the application area shown.
[0033] Fig.12 for Figure 8 Schematic diagram of the application area active area shown.
[0034] Fig.13 for Figure 8 A schematic diagram of a human target leaving a room in the application area shown.
[0035] Fig.14 for Figure 8 A schematic diagram of a human target walking into a room and staying still in the application area shown.
[0036] Fig.15 A flow chart of an energy saving method provided by an embodiment of the invention.
[0037] Fig.16 A schematic diagram of the internal structure of an energy-saving system provided in an embodiment of the invention.
[0038] Component number description
[0039] Label name Label name 100 Energy saving system A Preset Area 110 radar B Activity Area 120 Main control equipment C Static background area 121 processor D Dynamic Area 122 Memory E Preset Position 200 table F End point 300 Potted plants G Center Point 400 air conditioner L Movement trajectory 500 Light R Character Goal 600 door
[0040] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. The drawings in the specification illustrate examples of embodiments of the present invention, wherein the same reference numerals represent the same elements. It is understood that the scales shown in the drawings in the specification are not the scales of the actual implementation of the present invention, which are only for the purpose of illustrative explanation and are not drawn according to the original size. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0042] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate. In other words, the described embodiments are implemented according to a sequence other than that illustrated or described herein. In addition, the terms "including" and "having" and any of their variations may also include other content. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to only those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0043] It should be noted that the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0044] Please refer to Figure 1 and Figure 8 , which is a flow chart and application environment diagram of the indoor target tracking method provided by an embodiment of the present invention. The radar-based indoor target tracking method can be applied to, but not limited to, indoor areas such as offices and residences to monitor and track dynamic people or objects. Figure 8 Taking the application scenario shown as an example, when the application area is an office, the radar 110 is installed on the ceiling in the center of the office. In this embodiment, the radar 110 is a 79GHz millimeter wave radar. In some feasible embodiments, the radar 110 can be a 24GHz millimeter wave radar, or a 77GHz millimeter wave radar, which is not limited here. A door 600 connecting the office to the outside world is provided on one side of the office. A table 200, a potted plant 300, an air conditioner 400, and an electric light 500 are provided in the office. Among them, the table 200 is placed on the side of the office away from the door 600, the potted plant 300 is placed between the table 200 and the door 600, the air conditioner 400 is installed on the wall on the side of the office away from the door 600, and the electric light 500 is installed on the ceiling directly above the table 200. The indoor target tracking method specifically includes the following steps.
[0045] Step S102, using radar to detect the preset area and extract the first detection information corresponding to the activity area. Specifically, the method uses the main control device 120 electrically connected to the radar 110 to control the radar 110 to detect the preset area A and extract the first detection information corresponding to the activity area B. The preset area A is the detection area of the radar 110 set in advance. In this embodiment, the preset area A is the area where the radar 110 can detect all the internal areas of the office (such as Fig. 9As shown), that is, the detection area of the radar 110 just covers the indoor area of the office. In some feasible embodiments, when the indoor area is large, the preset area A may be a part of the indoor area, which is not limited here. The active area B is the area after the static background area C removes the dynamic area D. Among them, the static background area C is the area determined in the preset area A under the static scene, and the dynamic area D is the area determined in the preset area A under the dynamic scene. In this embodiment, the static scene is a scene where there is no external environmental factor and / or internal environmental factor that interferes with the objects placed in the indoor area. Among them, the external environmental factors include but are not limited to the wind blowing into the indoor area from the window after the window of the indoor area is opened. The internal environmental factors include but are not limited to the wind formed after the air conditioner or fan in the indoor area is turned on. When the radar 110 detects the preset area A, detection information will be generated, and the detection information includes the coordinate information about the preset area A expressed in the radar coordinate system. The static background area C is the area to be analyzed in the radar coordinate system of the preset area A, and the static background area C is less than or equal to the preset area A. That is, the static background area C is the area inside the office represented in the radar coordinate system (such as Fig.10 As shown). For example, the static scene is a scene when the air conditioner 400 in the office is not turned on or the window is not opened. In the present embodiment, the dynamic scene is a scene in which external environmental factors and / or internal environmental factors interfere with objects placed in the indoor area. For example, the wind blowing into the indoor area from the window and / or the wind formed after the air conditioner or fan in the indoor area is turned on causes the trees, flowers, and light objects such as book pages in the indoor area to swing or turn pages. The dynamic area D is the area in the preset area A represented by the radar coordinate system occupied by the disturbed objects in the dynamic scene. For example, the dynamic scene is a scene in which the air conditioner 400 is turned on and the potted plant 300 in the office sways back and forth under the influence of the air conditioning wind blown by the air conditioner 400. The dynamic area D is the area in the preset area A represented by the radar coordinate system occupied by the potted plant 300 (such as Fig.11 The active area B is the area after the static background area C is removed from the dynamic area D (as shown in Fig.12 The specific determination process of the static background area C and the dynamic area D will be described in detail below. The first detection information includes but is not limited to the motion information of the human target R in the activity area B.
[0046] Step S104, analyzing the first detection information to form a motion trajectory of the tracking target. Specifically, the method uses the main control device 120 to analyze the first detection information, sets the human target R as the tracking target, and forms a motion trajectory L of the tracking target, which is the motion trajectory of the human target R in the activity area B. For example, when there is a human target R in the office walking from the side of the table 200 to the position of the door 600 and leaving the office through the door 600, the motion trajectory of the human target R from the side of the table 200 to the door 600 is the motion trajectory L of the tracking target (such as Fig.13 The specific analysis and formation method of the tracking target motion trajectory L will be described in detail below.
[0047] Step S106, confirm whether there is a human target in the activity area according to the motion trajectory of the tracking target, the preset position, and the second detection information. Specifically, the method uses the main control device 120 to confirm according to the motion trajectory L of the tracking target, the preset position E, and the second detection information. Among them, the preset position E is the position where the indoor area connects to the outdoor. For example, the preset position E is the position of the office door 600. Among them, the second detection information is the detection information corresponding to the static background area C extracted when the preset area A is detected by the radar 110. That is to say, the detection information corresponding to the area to be analyzed in the preset area A in the radar coordinate system is the second detection information. For example, when the preset area A is detected by the radar 110, the second detection information is the detection information corresponding to the area represented by the interior of the office in the radar coordinate system. How to confirm whether there is a human target R in the activity area B according to the motion trajectory L of the tracking target, the preset position E, and the second detection information will be described in detail below.
[0048] Please refer to Figure 6 and Fig.13 , which is a flowchart of confirming whether there is a human target in the activity area and a schematic diagram of the human target leaving the room in the application scenario provided by the embodiment of the present invention. Step S106, confirming whether there is a human target in the activity area according to the motion trajectory, preset position, and second detection information of the tracking target, specifically includes the following steps.
[0049] Step S1062, when the corresponding tracking target on the motion track disappears, the end position of the tracking target is recorded. Specifically, when the radar 110 cannot detect the human target R, that is, the corresponding tracking target on the motion track L disappears, the position where the tracking target disappears, that is, the end position F is recorded.
[0050] Step S1064, determining whether the end position is the preset position. Specifically, when the radar 110 cannot detect the human target R, the human target R may leave the static background area C from the preset position E. Then, when the corresponding tracking target on the motion trajectory L disappears, determining whether the end position F is the preset position E.
[0051] Step S1066: If the end position is the preset position, it is determined that the tracking target is not in the activity area. Specifically, if the end position F is the preset position E, it can be determined that the tracking target leaves the activity area B from the preset position E. For example, the human target R leaves the office through the gate 600, that is, the human target R leaves the static background area C through the preset position E, so the end position F of the tracking target is the preset position E.
[0052] In the above embodiment, a static background area and a dynamic area are set in a preset area, and the active area after the dynamic area is removed from the static background area is used as the main calculation and analysis area, which reduces the calculation amount of the main control device, effectively saves the time period of target tracking, and can quickly obtain the motion trajectory of the tracked target. When the tracked target on the motion trajectory disappears, first determine whether the end position of the tracked target is consistent with the preset position. If the end position is consistent with the preset position, it can be determined that the human target leaves the static background area through the preset position. If the end position is inconsistent with the preset position, the next step of judgment is performed, which can effectively save the time of judgment.
[0053] Please refer to Fig.14 , which is a schematic diagram of a human target walking into a room and staying still in an application scenario provided by an embodiment of the present invention. Step S106, confirming whether there is a human target in the activity area according to the motion trajectory, the preset position, and the second detection information of the tracking target, also includes the following steps.
[0054] Step S1067, if the end position is not the preset position, it is determined that the tracking target is in the activity area. Specifically, when the radar 110 cannot detect the human target R, the human target R may be stationary. For example, when a human target R walks into the office from the gate 600, walks to the side of the table 200, stops and remains stationary, and the end position F is not the preset position E, it is determined that the tracking target is in the activity area B. How to determine that the tracking target is in the activity area B will be described in detail below.
[0055] Please refer to Figure 7 , which is a flow chart of determining that the tracking target is within the activity area provided by an embodiment of the present invention. Step S1067, if the end position is not the preset position, determining that the tracking target is within the activity area, specifically includes the following steps.
[0056] Step S602: Control the radar to enter the verification mode. Specifically, the main control device 120 controls the radar 110 to enter the verification mode, and the radar 110 can extract detection information about the end point position F in the verification mode.
[0057] Step S604, control the radar to detect the preset area in the verification mode, and extract the fourth detection information corresponding to the end position. Specifically, the main control device 120 controls the radar 110 to detect the preset area A in the verification mode, and extracts the fourth detection information about the end position F. The fourth detection information includes but is not limited to the data of the end position F.
[0058] Step S606, compare the second detection information with the fourth detection information. Specifically, the main control device 120 compares the second detection information with the fourth detection information. Since the second detection information is information corresponding to a static scene, in the second detection information, the data in the static background area C are all empty.
[0059] Step S608, determine whether the data at the end position has changed. Specifically, compare the data at the end position F in the second detection information with the data at the end position F in the fourth detection information to see whether they have changed from empty to present.
[0060] Step S610, when the data of the end position changes, it is determined that the tracking target is located in the active area. Specifically, when the data of the end position F changes from empty to present, it is determined that the tracking target is located in the active area B. When the data of the end position F is still empty, it is determined that the tracking target is not in the active area B. For example, in the second detection information, the data next to the table 200 is empty. When the human target R stops next to the table 200, in the fourth detection information, the data next to the table 200 is present. Since the data next to the table 200 changes from empty to present, it is determined that the tracking target is located in the active area B.
[0061] In the above embodiment, when it is determined that the end position of the tracking target is inconsistent with the preset position, by comparing the data of the end position in the second detection information and the data of the end position in the fourth detection information to see whether they have changed, it is further determined whether the tracking target is located in the activity area, thereby achieving the effect of accurately sensing whether the human target has left the static background area. Since only the detection information of the end position is calculated and analyzed, the calculation amount of the main control device is reduced, and it can be quickly determined whether the tracking target is located in the activity area.
[0062] Please refer to Figure 2 and Fig.10, which is a flowchart of detecting a static scene and a schematic diagram of a static background area of an application scene provided by an embodiment of the present invention. Step S102, before using a radar to detect a preset area and extract first detection information corresponding to an active area, the indoor target tracking method further includes the following steps.
[0063] Step S202, control the radar to enter the static initialization mode. Specifically, the main control device 120 controls the radar 110 to enter the static initialization mode.
[0064] Step S204, control the radar to detect the preset area in the static initialization mode to obtain detection range information. Specifically, the main control device 120 controls the radar 110 to detect the preset area A in the static initialization mode, and the obtained detection range information includes but is not limited to the size and shape of the indoor area represented in the radar coordinate system.
[0065] Step S206, determine the static background area according to the detection range information. Specifically, the main control device 120 determines the static background area C according to the size, shape and other information of the indoor area in the detection range information in the radar coordinate system. For example, the static background area C is the area inside the office represented in the radar coordinate system.
[0066] Please refer to Figure 3 and Fig.11 , which is a flow chart of detecting dynamic scenes and a schematic diagram of dynamic areas of application scenes provided by an embodiment of the present invention. Step S102, before using radar to detect a preset area and extract first detection information corresponding to the activity area, the indoor target tracking method further includes the following steps.
[0067] Step S302, controlling the radar to enter a dynamic initialization mode. Specifically, the main control device 120 controls the radar 110 to enter a dynamic initialization mode.
[0068] Step S304, control the radar to detect the preset area in the dynamic initialization mode to obtain third detection information. Specifically, the main control device 120 controls the radar 110 to detect the preset area A in the dynamic initialization mode, and the obtained third detection information includes but is not limited to the position, size, shape and other information of the dynamic object in the preset area A represented by the radar coordinate system. For example, the third detection information includes the shape, size and specific position of the potted plant 300 in the preset area A represented by the radar coordinate system, and the specific position in the office.
[0069] Step S306, determining the dynamic area according to the third detection information. Specifically, the main control device 120 determines the dynamic area D according to the position, size, shape and other information of the dynamic object in the preset area A represented by the radar coordinate system in the third detection information. For example, the dynamic area D is the area occupied by the potted plant 300 in the preset area A represented by the radar coordinate system.
[0070] In the above embodiment, before the radar detects the preset area each time and extracts the detection information about the active area, the radar can be controlled to perform static initialization detection and dynamic initialization detection respectively. Preferably, when the radar is installed indoors, the radar is first controlled to perform static initialization detection and dynamic initialization detection on the indoor area respectively. When it is necessary to detect and track indoor targets, the radar is directly controlled to detect the preset area and extract the detection information about the active area. After the static initialization detection and the dynamic initialization detection are completed, if the size, shape of the indoor area and / or the shape, size, position, and type of the dynamic objects in the indoor area change, the radar is controlled to perform static initialization detection and / or dynamic initialization detection on the preset area again. Thereby, the detection steps of the radar can be reduced, the calculation amount of the main control device is also reduced, and the time period of target tracking is effectively saved.
[0071] Please refer to Figure 4 , which is a flow chart of forming a motion trajectory of a tracking target provided by an embodiment of the present invention. Step S104, analyzing the first detection information to form a motion trajectory of the tracking target, specifically includes the following steps.
[0072] Step S402, the first detection information is processed according to the Doppler effect to form point cloud data. Specifically, the main control device 120 processes the first detection information according to the Doppler effect to form point cloud data about the human target R. The point cloud data includes all point data generated when the human target R moves in the static background area C.
[0073] Step S404: Process the point cloud data according to the target tracking algorithm to obtain the tracking target. Specifically, the main control device 120 processes the point cloud data of the human target R according to the target tracking algorithm to obtain the contour point data of the human target R, that is, the tracking target.
[0074] Step S406, forming a motion trajectory of the tracking target according to the Doppler effect. Specifically, the main control device 120 processes the point cloud data according to the Doppler effect to form a motion trajectory of the human target R, that is, a motion trajectory L of the tracking target. How to form the motion trajectory L of the tracking target will be described in detail below.
[0075] Please refer to Figure 5, which is a sub-flow chart for forming a motion trajectory of a tracking target provided by an embodiment of the present invention. Step S406, forming a motion trajectory of a tracking target according to the Doppler effect, specifically includes the following steps.
[0076] Step S502: Select the center point of the tracking target point cloud data. Specifically, the main control device 120 selects a center point G from the contour point data of the tracking target, and uses the center point G to represent the tracking target.
[0077] Step S504: forming a motion trajectory of the center point according to the Doppler effect. Specifically, the main control device 120 processes the point cloud data according to the Doppler effect to form a motion trajectory of the center point G.
[0078] Step S506: The motion trajectory of the center point is used as the motion trajectory of the tracking target. Specifically, the main control device 120 uses the motion trajectory of the center point G as the motion trajectory L of the tracking target. Fig.13 and Fig.14 shown)
[0079] In the above embodiment, the motion trajectory of the center point of the target point cloud data is used as the motion trajectory of the target, which greatly reduces the calculation amount of the main control device, so as to achieve the effect of quickly detecting and tracking the target.
[0080] Please refer to Fig.15 , which is a flow chart of an energy-saving method provided by an embodiment of the present invention. The energy-saving method using the indoor target tracking method includes the following steps.
[0081] Step S702: Utilize radar to detect a preset area and extract first detection information corresponding to the activity area.
[0082] Step S704: Analyze the first detection information to form a motion trajectory of the tracking target.
[0083] Step S706, confirming whether there is a human target in the activity area according to the motion trajectory of the tracking target, the preset position, and the second detection information.
[0084] Step S708, when it is confirmed that there is no human target in the activity area, the electrical appliances in the static background area are controlled to be turned off. Specifically, when it is determined that the tracking target is not in the activity area B, that is, when there is no human target R in the activity area B, the main control device 120 controls the electrical appliances in the static background area C to be turned off. The main control device 120 is electrically connected to the electrical appliances in the static background area C. For example, when it is determined that the tracking target is not in the activity area B, the main control device 120 controls the air conditioner 400 and the light 500 to be turned off.
[0085] In the above embodiment, the indoor target tracking method is applied to control the electrical appliances in the static background area according to the result of judging whether there is a human target in the activity area, so as to achieve the purpose of energy saving and emission reduction. At the same time, since the energy-saving method adopts all the technical solutions of all the above embodiments, the energy-saving method at least has all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.
[0086] In some feasible embodiments, the electrical appliances in the static background area can also be controlled to turn on or off according to a preset time. For example, the time when the character target arrives at the office, that is, the working hours, can be set as the turning-on time, and the time when the character target leaves the office, that is, the leaving hours, can be set as the turning-off time. The time before the character target arrives at the office can also be set as the turning-on time, and the time after the character target leaves the office can be set as the turning-off time, which is not limited here.
[0087] Please refer to Fig.16 , which is a schematic diagram of the internal structure of the energy-saving system provided by an embodiment of the present invention. The energy-saving system 100 applying the indoor target tracking method includes a radar 110 and a main control device 120 electrically connected to the radar 110. The energy-saving system 100 can be applied to indoor areas such as offices and residences, but is not limited to it. When the energy-saving system 100 is installed in an indoor area, the main control device 120 is electrically connected to the electrical appliances in the indoor area to control the electrical appliances to turn on or off. Among them, the electrical appliances include but are not limited to air conditioners, electric fans, and electric lights. The energy-saving system 100 can be a complete machine, that is, the radar 110 and the main control device 120 are arranged in the same installation shell (not shown); the radar 110 and the main control device 120 can also be separately arranged, which is not limited here. Among them, the main control device 120 includes a processor 121 and a memory 122. The memory 122 is used to store energy-saving program instructions, and the processor 121 is used to execute energy-saving program instructions to implement the above energy-saving method.
[0088] In some embodiments, the processor 121 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, and is used to run energy-saving program instructions stored in the memory 122 .
[0089] The memory 122 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 122 may be an internal storage unit of a computer device, such as a hard disk of a computer device. In other embodiments, the memory 122 may also be a storage device of an external computer device, such as a plug-in hard disk equipped on a computer device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Further, the memory 122 may also include both an internal storage unit of a computer device and an external storage device. The memory 122 may not only be used to store application software and various types of data installed in the computer device, such as a code for implementing a radar-based vehicle identification method, but may also be used to temporarily store data that has been output or is to be output.
[0090] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0091] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, a process or function according to an embodiment of the present invention is generated in whole or in part. The computer device may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0092] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0093] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0095] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0096] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only storage medium (ROM, Read-Only Memory), random access storage medium (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0097] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0098] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A radar-based indoor target tracking method, characterized in that: The indoor target tracking method comprises: Using radar to detect a preset area and extract first detection information corresponding to an activity area, wherein the activity area is an area after the dynamic area is removed from the static background area, the static background area is an area within the preset area determined in a static scene, and the dynamic area is an area within the preset area determined in a dynamic scene; Analyzing the first detection information to form a motion trajectory of the tracking target; and Confirm whether there is a human target in the activity area according to the motion trajectory, preset position, and second detection information of the tracking target to determine whether to turn off the indoor electrical appliances, wherein the second detection information is the detection information corresponding to the static background area extracted when the preset area is detected by the radar; wherein, before the radar is used to detect the activity area in the preset area, the indoor target tracking method also includes: controlling the radar to enter a static initialization mode; controlling the radar to detect the preset area in the static initialization mode to obtain detection range information; determining the static background area according to the detection range information; or Control the radar to enter a dynamic initialization mode; control the radar to detect the preset area in the dynamic initialization mode to obtain third detection information; determine the dynamic area according to the third detection information, wherein the dynamic area is located in the static background area.
2. The radar-based indoor target tracking method according to claim 1, characterized in that: Confirming whether there is a human target in the activity area according to the motion trajectory, the preset position, and the second detection information of the tracking target specifically includes: When the corresponding tracking target on the motion trajectory disappears, recording the end position of the tracking target; Determining whether the end position is the preset position; If the end position is the preset position, it is determined that the tracking target is not within the activity area.
3. The radar-based indoor target tracking method according to claim 2, characterized in that: Confirming whether there is a human target in the activity area according to the motion trajectory, the preset position, and the second detection information of the tracking target specifically includes: If the end position is not the preset position, it is determined that the tracking target is within the activity area.
4. The radar-based indoor target tracking method according to claim 3, characterized in that: Determining that the tracking target is within the activity area specifically includes: Controlling the radar to enter a verification mode; Controlling the radar to detect the preset area in the verification mode, and extracting fourth detection information corresponding to the end point position; Comparing the second detection information with the fourth detection information; Determine whether the data of the end point position changes; When the data of the end point position changes, it is determined that the tracking target is located within the activity area.
5. The radar-based indoor target tracking method according to claim 1, characterized in that: Analyzing the first detection information to form a motion trajectory of the tracking target specifically includes: Processing the first detection information according to the Doppler effect to form point cloud data; Processing the point cloud data according to a target tracking algorithm to obtain the tracking target; The motion trajectory of the tracking target is formed according to the Doppler effect.
6. The radar-based indoor target tracking method according to claim 5, characterized in that: Forming the motion trajectory of the tracking target according to the Doppler effect specifically includes: Selecting the center point of the tracking target point cloud data; forming a motion trajectory of the central point according to the Doppler effect; The motion trajectory of the central point is used as the motion trajectory of the tracking target.
7. An energy-saving method using an indoor target tracking method, characterized in that: The energy saving method comprises: The radar-based indoor target tracking method according to any one of claims 1 to 6; When it is confirmed that there is no human target in the activity area, the electrical appliances in the static background area are controlled to be turned off.
8. An energy-saving system using an indoor target tracking method, characterized in that: The energy-saving system includes a radar and a main control device electrically connected to the radar, the main control device includes a processor and a memory, the memory is used to store energy-saving program instructions, and the processor is used to execute the energy-saving program instructions to implement the energy-saving method as described in claim 7.
