A fan operation control method and a fan
By monitoring the position and temperature changes of athletes using thermal imaging cameras, predicting their future position and temperature, and adjusting fan parameters to create a suitable spatial airflow field, the problem of fans being unable to rationally distribute airflow is solved, achieving personalized cooling effects for athletes.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN WELMAG INTELLIGENT TECH CO LTD
- Filing Date
- 2025-12-02
- Publication Date
- 2026-07-07
Smart Images

Figure CN121296501B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computers, and in particular to a fan operation control method and a fan. Background Technology
[0002] Multiple fans are often installed in gymnasiums to cool down athletes and other users.
[0003] Athletes in gymnasiums are often in motion, resulting in their non-fixed positions. Furthermore, the amount of heat generated varies depending on their weight, speed, and distance of movement. Existing gymnasium fans typically operate at fixed speeds, making it difficult for them to coordinate and distribute airflow appropriately according to the different positions and heat generation of athletes, resulting in poor overall cooling effect for all athletes. Summary of the Invention
[0004] Therefore, it is necessary to provide a fan operation control method and a fan to address the above-mentioned problems.
[0005] This invention is implemented as follows: a fan operation control method is provided, applied to a main fan, the method comprising:
[0006] S1: When athletes begin exercising in the gymnasium, start each fan and control each fan to operate according to the set parameters;
[0007] S2: Monitor the athletes in the gymnasium for a set duration using a thermal imaging camera;
[0008] S3: Retrieve the monitored thermal imaging video and determine the historical movement trajectory and body temperature changes of each athlete based on the thermal imaging video;
[0009] S4: For each athlete, predict the athlete's position in the next time period based on the corresponding historical movement trajectory;
[0010] S5: Based on the relationship between the corresponding changes in body temperature and the historical movement trajectory, predict the body temperature of each athlete in the next period of time, and determine the appropriate spatial airflow field according to the location and body temperature of each athlete in the next period of time.
[0011] S6: Determine the target parameters for each fan based on the determined spatial airflow field;
[0012] S7: Send the target parameters to the corresponding fans so that each fan can operate according to the target parameters in the next time period, so that the space of the stadium will generate the determined spatial airflow field.
[0013] S8: Repeat steps S3 to S7 until all athletes have left the stadium, then turn off all fans.
[0014] In one embodiment, the present invention provides a fan for performing a fan operation control method, including:
[0015] The startup module is used to start each fan when athletes begin exercising in the gymnasium and control each fan to operate according to the set parameters.
[0016] The monitoring module is used to monitor each athlete in the gymnasium for a set duration using a thermal imaging camera.
[0017] The first processing module is used to retrieve the monitored thermal imaging video and determine the historical movement trajectory and body temperature changes of each athlete based on the thermal imaging video.
[0018] The second processing module is used to predict the position of each athlete in the next time period based on the corresponding historical movement trajectory.
[0019] The third processing module is used to predict the body temperature of each athlete in the next period of time based on the relationship between the corresponding body temperature changes and the historical movement trajectory, so as to determine the appropriate spatial airflow field according to the position and body temperature of each athlete in the next period of time.
[0020] The fourth processing module is used to determine the target parameters of each fan based on the determined spatial airflow field;
[0021] The sending module is used to send the target parameters to the corresponding fans, so that each fan will operate according to the target parameters in the next time period, thereby generating the determined spatial airflow field in the gymnasium space.
[0022] The loop module is used to repeatedly execute steps S3 to S7 until all athletes leave the stadium and then turn off all the fans.
[0023] This invention provides a fan operation control method and a fan, wherein the method includes: when athletes begin exercising in a gymnasium, activating each fan and controlling each fan to operate according to set parameters; monitoring each athlete in the gymnasium for a first set time period using a thermal imaging camera; retrieving the monitored thermal imaging video and determining the historical movement trajectory and body temperature changes of each athlete based on the thermal imaging video; for each athlete, estimating the athlete's position in the next time period based on the corresponding historical movement trajectory; estimating the athlete's body temperature in the next time period based on the relationship between the corresponding body temperature changes and the historical movement trajectory, so as to determine an appropriate spatial airflow field based on the athlete's position and body temperature in the next time period; and determining the target of each fan based on the determined spatial airflow field. The parameters are sent to the corresponding fans, so that each fan operates according to the corresponding target parameters in the next time period, thereby generating a determined spatial airflow field in the gymnasium. The above steps are repeated until all athletes leave the gymnasium, at which point all fans are turned off. In this application, the main fan can accurately predict the location and body temperature of multiple athletes in the gymnasium, thereby determining the distribution of airflow intensity requirements for each location in the gymnasium in the future time period, obtaining the spatial airflow field, and determining the appropriate target parameters accordingly. After the target parameters are allocated to each fan, each fan operates according to the target parameters, which can achieve targeted air supply to different athletes according to their specific location and heat generation, so that each athlete can achieve sufficient cooling and ensure the overall cooling effect. Attached Figure Description
[0024] Figure 1 A flowchart of a fan operation control method provided in one embodiment;
[0025] Figure 2 This is an application environment diagram of a fan operation control method provided in one embodiment;
[0026] Figure 3 This is a schematic diagram illustrating the estimated position of a person moving in the next time period in a fan operation control method provided in one embodiment.
[0027] Figure 4 A module flowchart of a fan provided in one embodiment;
[0028] Figure 5 This is a block diagram of the internal structure of a fan in one embodiment. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0030] It is understood that the terms "first," "second," etc., used in this invention may be used to describe various elements herein, but unless specifically stated otherwise, these elements are not limited by these terms. These terms are used only to distinguish one element from another. For example, without departing from the scope of this invention, a first script may be referred to as a second script, and similarly, a second script may be referred to as a first script.
[0031] like Figure 1 As shown, in one embodiment, a fan operation control method is proposed, applied to a main fan, the method comprising:
[0032] S1: When athletes begin exercising in the gymnasium, start each fan and control each fan to operate according to the set parameters;
[0033] S2: Monitor the athletes in the gymnasium for a set duration using a thermal imaging camera;
[0034] S3: Retrieve the monitored thermal imaging video and determine the historical movement trajectory and body temperature changes of each athlete based on the thermal imaging video;
[0035] S4: For each athlete, predict the athlete's position in the next time period based on the corresponding historical movement trajectory;
[0036] S5: Based on the relationship between the corresponding changes in body temperature and the historical movement trajectory, predict the body temperature of each athlete in the next period of time, and determine the appropriate spatial airflow field according to the location and body temperature of each athlete in the next period of time.
[0037] S6: Determine the target parameters for each fan based on the determined spatial airflow field;
[0038] S7: Send the target parameters to the corresponding fans so that each fan can operate according to the target parameters in the next time period, so that the space of the stadium will generate the determined spatial airflow field.
[0039] S8: Repeat steps S3 to S7 until all athletes have left the stadium, then turn off all fans.
[0040] In this embodiment, as Figure 2 As shown, the gymnasium is equipped with several fans (the fans can be intelligent air conditioning fans or other fans that can sensitively adjust their operating parameters). The staff selects one fan as the main fan, and the main fan communicates with the other fans. This method is executed in the main fan. Furthermore, the gymnasium is equipped with a thermal imaging camera. The main fan communicates with the thermal imaging camera, thereby enabling the monitoring of the movement trajectory and body temperature changes of each athlete in the gymnasium.
[0041] In this embodiment, the operating parameters of the fan include airflow speed, horizontal angle, and vertical angle; the set parameters are fixed parameters preset by the staff; the first set duration can be 5 minutes. Within the first set duration, since the exerciser has just started exercising, the body temperature usually does not rise significantly, so the set parameters can still be maintained to operate each fan; when there are 2 seconds (or 3 seconds, consistent with the preset time interval) left in the first set duration, the target parameters for the next period can be determined; the length of the next period can be 6 seconds or other shorter durations; since the next period is short, considering the continuity of exercise and body temperature changes, the position and body temperature of the exerciser in the next period can be accurately predicted based on the generated temperature data and trajectory data;
[0042] In this embodiment, due to the different body temperatures of athletes in different positions during the next time period, the required airflow intensity for heat dissipation is also different for each athlete. That is, the required airflow intensity at each position in the gymnasium is also different. Thus, the distribution of the required airflow intensity (reflected as spatial airflow velocity) at each position in the next time period can be determined, i.e., the spatial airflow field. The determined target parameters enable the airflow generated by each fan to couple and form the determined spatial airflow field. The number of target parameters is consistent with the number of fans and corresponds one-to-one with each fan. After determining each target parameter, the main fan assigns each target parameter to the corresponding fan (including assigning one of its own target parameters to itself). After receiving the corresponding target parameters, each fan adjusts its operating parameters according to the target parameters to form the determined spatial airflow field.
[0043] In this application, the main fan can accurately predict the location and body temperature of multiple athletes in the stadium, thereby determining the distribution of airflow intensity requirements at various locations in the stadium in the future, obtaining the spatial airflow field, determining the appropriate target parameters, and distributing the target parameters to each fan so that each fan operates according to the target parameters. This enables targeted air supply to different athletes based on their specific location and heat generation, ensuring that each athlete can achieve sufficient cooling and guaranteeing the overall cooling effect.
[0044] As a preferred embodiment, the thermal imaging video includes a spatial rectangular coordinate system, and determining the historical movement trajectory and body temperature changes of each athlete based on the thermal imaging video includes:
[0045] For each athlete, a trajectory curve is generated from the thermal imaging video. The most recent trajectory curve segment with a second predetermined duration is extracted from the trajectory curve, and the trajectory curve segment is described by the following set of equations:
[0046]
[0047] in, Let x be the x-coordinate of the k-th athlete at time t. Let y be the y-coordinate of the k-th athlete at time t. Let be the z-axis coordinate of the k-th person at time t; for The coefficient of the quadratic term, for The coefficient of the first term, for The constant term; for The coefficient of the quadratic term, for The coefficient of the first term, for The constant term; For the current moment, Set the duration for the second time; Let be the height constant term for the k-th athlete;
[0048] Establish a time-body temperature coordinate system for each athlete, where the horizontal axis of the time-body temperature coordinate system is time and the vertical axis is body temperature;
[0049] Mark the temperature coordinates of the athlete at each time point on the body temperature coordinate system, and connect the temperature coordinates with a smooth curve to obtain the athlete's body temperature change curve.
[0050] Based on the corresponding historical movement trajectory, the predicted location of the athlete in the next time period includes:
[0051] Retrieve the athlete's historical movement trajectory ;
[0052] Differentiating the x and y coordinates of the historical trajectory yields the estimated trajectory. ;
[0053] For any moment in the next period ,Will Substituting the estimated trajectory, we obtain The estimated position of the athlete at that time ,in, This indicates the duration of the next time period.
[0054] In this embodiment, the trajectory curve is the curve showing the change in the spatial position of the athlete from the start of monitoring to the current moment. Each point on the curve is also marked with the time of data collection at that point. The athlete's historical trajectory is the trajectory curve segment described by the equation set. , The equation set is a set of fitting equations generated by the main fan based on the coordinates of each point on the trajectory curve segment; since the person moving rarely moves in the z-axis direction, therefore A constant can be chosen. , The standard value is 1.5m to cover the height of most people; the second set duration can be 12-18 seconds (the length of 2-3 next time intervals); for example... Figure 3 As shown, since the movement in the most recent time period is most closely related to the movement in the next time period and has the strongest continuity, the movement trajectory within the second most recent set time period is taken to predict the position. The position equation can be differentiated to obtain the future movement tendency of the athlete. Substituting the future time into it can predict the position of the athlete in the next time period.
[0055] In this embodiment, from the start of monitoring, the thermal imaging camera begins to record the body temperature of each athlete at every moment, thereby obtaining the body temperature change curve of the athlete.
[0056] As a preferred embodiment, the body temperature of each athlete in the next time period is predicted based on the relationship between corresponding body temperature changes and historical movement trajectories. The method for determining a suitable spatial airflow field based on the athlete's location and body temperature in the next time period includes:
[0057] S51: For each athlete, determine the effect of spatial airflow on the athlete's body temperature;
[0058] S52: After removing the influence of spatial airflow changes on the athlete's body temperature, determine the relationship between the athlete's movement speed and the increase in body temperature.
[0059] S53: Determine the movement speed of the athlete at each moment in the next time period based on the athlete's position at each moment in the next time period;
[0060] S54: Select the first moment of the next time period as the target moment;
[0061] S55: Determine the athlete's body temperature at the target time based on the relationship between the athlete's current body temperature, movement speed and body temperature increase, and movement speed at the target time.
[0062] S56: Determine the appropriate spatial airflow field for the target time based on the body temperature of each athlete;
[0063] S57: Select the next moment of the next time period as the target moment. For each athlete, determine the athlete's body temperature at the target moment based on the athlete's body temperature and movement speed at the previous moment, the movement speed at the target moment, and the spatial airflow field at the previous moment. Execute steps S56 to S57 until the spatial airflow field at each moment of the next time period is determined.
[0064] In this embodiment, for each moment, the moving speed at that moment is characterized by the average speed from the previous moment to that moment, that is, by dividing the moving path length from the previous moment to that moment by the time difference (the time difference between any two adjacent moments is set to 2 seconds or 3 seconds); in this embodiment, the spatial airflow field of the next time period is determined, that is, the spatial airflow field of each moment in the next time period is determined.
[0065] As a preferred embodiment, determining the effect of spatial airflow on the body temperature of the athlete includes:
[0066] For each monitored moment, the athlete's speed at that moment is calculated using the following formula:
[0067]
[0068] in, The speed of the athlete at that moment. Let be the length of the interval between the position of the athlete at this moment and the position of the athlete at the previous moment on the corresponding historical movement trajectory. The interval between two adjacent moments;
[0069] Construct a coordinate system for the influence of airflow on the horizontal axis, with the horizontal axis representing the velocity of airflow in space and the vertical axis representing the body temperature.
[0070] The movement speed that appears most frequently is selected as the target speed;
[0071] For each target speed, determine the athlete's body temperature at the corresponding time and the airflow velocity at the athlete's location at the corresponding time to obtain the coordinate point corresponding to the target speed, where the horizontal axis of the coordinate point is the airflow velocity and the vertical axis is the body temperature;
[0072] The coordinate points corresponding to each target velocity are marked on the coordinate system of space airflow influence, and the space airflow influence curve is obtained by fitting each coordinate point.
[0073] In this embodiment, by taking multiple sets of body temperature-space airflow velocity data under the same speed (i.e. target speed), the influence of changes in space airflow velocity on the body temperature of the athlete is determined by controlling variables, which is reflected as a space airflow influence curve.
[0074] As a preferred embodiment, removing the influence of changes in spatial airflow on the body temperature of the athlete includes:
[0075] Retrieve the body temperature change curve of the athlete;
[0076] For each moment in the curve, determine the change in the spatial airflow velocity at the location of the person at that moment compared to the location of the person at the previous moment.
[0077] The change in body temperature corresponding to the change in airflow velocity is determined on the spatial airflow influence curve of the athlete, and then the body temperature change is subtracted from the body temperature at that moment on the body temperature change curve.
[0078] After adjusting the body temperature at each time point, a body temperature adjustment curve is obtained;
[0079] Determining the relationship between the athlete's movement speed and the increase in body temperature includes:
[0080] For each moment when the athlete moves along the historical trajectory, calculate the acceleration of the velocity at that moment compared to the velocity at the previous moment;
[0081] The difference in body temperature between the current moment and the previous moment is determined based on the body temperature adjustment curve, thus obtaining a coordinate point with acceleration on the horizontal axis and body temperature difference on the vertical axis.
[0082] Generate an acceleration-body temperature difference coordinate system, mark each obtained coordinate point on the acceleration-body temperature difference coordinate system, and connect each coordinate point with a smooth curve to obtain the acceleration-body temperature difference curve.
[0083] In this embodiment, the relationship between movement speed and body temperature increase is the relationship between the athlete's acceleration and body temperature difference. The acceleration at any given moment can be obtained by dividing the difference between the speed at that moment and the speed at the previous moment by the time difference. The change in body temperature is mainly determined by the rate of change of the athlete's movement speed, that is, it is mainly affected by the movement acceleration. After excluding the influence of airflow cooling, this embodiment can obtain the change in body temperature caused by the athlete's own heat generation and dissipation, which is represented by the body temperature adjustment curve. Based on this, the relationship between the athlete's acceleration and body temperature difference can be derived.
[0084] As a preferred embodiment, determining the athlete's body temperature at the target time based on the athlete's current body temperature, the relationship between movement speed and body temperature increase, and movement speed to the target time includes:
[0085] For each athlete, calculate the acceleration at the target time compared to the current time;
[0086] The body temperature difference is determined based on the acceleration and the corresponding acceleration-body temperature difference curve.
[0087] Add the determined body temperature difference to the athlete's current acceleration to obtain the athlete's body temperature at the target time;
[0088] Furthermore, in step S57, determining the athlete's body temperature at the target time based on the athlete's body temperature and movement speed at the previous moment, the movement speed at the target time, and the spatial airflow field at the previous moment includes:
[0089] The acceleration of the target movement speed compared to the previous movement speed is determined to determine the body temperature difference;
[0090] The body temperature at the target time is obtained by adding the determined body temperature difference to the body temperature at the previous moment, and then removing the influence of the spatial airflow field at the previous moment.
[0091] In this embodiment, since the position and body temperature of each athlete at the previous moment have been determined, the spatial airflow field at that moment can be determined. This spatial airflow field will affect the body temperature of the athletes at the next moment. Therefore, this effect needs to be removed when calculating the body temperature of the athletes at the next moment. The removal method is the same as in the previous embodiment and will not be repeated here.
[0092] As a preferred embodiment, determining the appropriate spatial airflow field based on the location and body temperature of each athlete in the next time period includes:
[0093] For each moment in the next time period, determine the required spatial airflow velocity for each person in the corresponding position to obtain the spatial airflow field at that moment.
[0094] Determining the required spatial airflow velocity for each athlete at their designated position includes:
[0095] The athlete's body temperature at that moment is retrieved, and the required airflow velocity to adjust the body temperature to the preset body temperature threshold is determined based on the corresponding airflow influence curve.
[0096] In this embodiment, the body temperature threshold can be 37.5 degrees Celsius. For example, the spatial airflow influence curve of the athlete is retrieved first to determine the temperature difference between the current body temperature and the body temperature threshold. The spatial airflow influence curve determines the spatial airflow velocity difference corresponding to the temperature difference. Based on the spatial airflow velocity at the previous moment and the spatial airflow velocity difference, the spatial airflow velocity required to adjust the body temperature to the preset body temperature threshold at this moment can be calculated.
[0097] In a preferred embodiment, the fan parameters include airflow velocity, horizontal angle, and vertical angle; for any position P, the spatial airflow vector generated by the fan at that position is expressed as:
[0098]
[0099] in, Let be the spatial airflow vector generated by the i-th fan at position P. Let be the airflow speed of the i-th fan. Let be the wind speed attenuation index of the i-th fan at position P. Let be the unit vector representing the airflow direction of the i-th fan; where Represented as:
[0100]
[0101] in, Let be the horizontal angle of the i-th fan. Let be the elevation angle of the i-th fan;
[0102] The combined spatial airflow vector generated by each fan at position P is expressed as follows:
[0103]
[0104] in, For the comprehensive space airflow vector, The modulus is the airflow velocity at point P; The number of fans;
[0105] The target parameters for each fan are determined based on the defined spatial airflow field, including:
[0106] Determine all possible fan parameter combinations, where each fan parameter combination includes the fan parameters for each fan, and the fan parameters in any two fan parameter combinations are not exactly the same.
[0107] The spatial airflow velocity at the position of each person is calculated based on each fan parameter combination to determine whether the fan parameter combination can generate the determined spatial airflow field.
[0108] When determining the fan parameter combination that can generate the given spatial airflow field, each fan parameter in the fan parameter combination is determined as the target parameter.
[0109] In this embodiment, the wind speed attenuation index is calculated using the following formula:
[0110]
[0111] in, The attenuation coefficient is set to 0.01. Let be the straight-line distance between the i-th fan and position P;
[0112] In this embodiment, the fan parameters have a set adjustable range based on the fan's performance, such as horizontal angle -60°~120°, elevation angle -30°~30°, and airflow speed 1~5m / s. Each fan parameter consists of several fan parameters, and each fan parameter includes three sub-parameters: airflow speed, horizontal angle, and elevation angle. All three sub-parameters of each fan parameter are within their respective adjustable ranges. Furthermore, for any two fan parameters, if any one of their sub-parameters is different, the two fan parameters are considered to be different.
[0113] In this embodiment, a fan parameter combination can generate a determined spatial airflow field, that is, the fan parameter combination can make the spatial airflow speed at the position of each person in motion reach the spatial airflow speed required to adjust their body temperature to a preset body temperature threshold; furthermore, if multiple feasible fan parameter combinations are determined, the one with the smallest parameter change compared to the fan parameter combination at the previous moment is selected as the target group, and the fan parameters of the target group are determined as the target parameters.
[0114] In this embodiment, a target parameter can be determined for each fan at each moment of the next time period. That is, several target parameters are determined for each fan (the number is the same as the number of moments in the next time period). After all the target parameters are determined, all the target parameters of each fan are sent to the fan so that it can make the corresponding parameter adjustments before the corresponding moment.
[0115] like Figure 4 As shown, another embodiment of this application provides a fan for performing a fan operation control method, including:
[0116] The startup module is used to start each fan when athletes begin exercising in the gymnasium and control each fan to operate according to the set parameters.
[0117] The monitoring module is used to monitor each athlete in the gymnasium for a set duration using a thermal imaging camera.
[0118] The first processing module is used to retrieve the monitored thermal imaging video and determine the historical movement trajectory and body temperature changes of each athlete based on the thermal imaging video.
[0119] The second processing module is used to predict the position of each athlete in the next time period based on the corresponding historical movement trajectory.
[0120] The third processing module is used to predict the body temperature of each athlete in the next period of time based on the relationship between the corresponding body temperature changes and the historical movement trajectory, so as to determine the appropriate spatial airflow field according to the position and body temperature of each athlete in the next period of time.
[0121] The fourth processing module is used to determine the target parameters of each fan based on the determined spatial airflow field;
[0122] The sending module is used to send the target parameters to the corresponding fans, so that each fan will operate according to the target parameters in the next time period, thereby generating the determined spatial airflow field in the gymnasium space.
[0123] The loop module is used to repeatedly execute steps S3 to S7 until all athletes leave the stadium and then turn off all the fans.
[0124] The process by which each module in the fan provides its respective function in this application embodiment can be referred to the foregoing. Figure 1 The description of the illustrated embodiment will not be repeated here.
[0125] Figure 5 A diagram showing the internal structure of a fan in one embodiment is provided. Figure 5 As shown, the fan includes a processor, memory, network interface, input device, and display screen connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and may also store a computer program. When executed by the processor, this computer program enables the processor to implement the fan operation control method provided in this embodiment of the invention. The internal memory may also store a computer program, which, when executed by the processor, enables the processor to execute the fan operation control method provided in this embodiment of the invention. The fan's display screen can be a liquid crystal display screen or an e-ink display screen. The fan's input device can be a touch layer covering the display screen, or buttons, a trackball, or a touchpad mounted on the fan casing, or an external keyboard, touchpad, or mouse, etc.
[0126] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the fan to which the present invention is applied. A specific fan may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0127] In one embodiment, the fan operation control device provided by the present invention can be implemented as a computer program, and the computer program can be implemented as follows: Figure 5 The fan shown is running. The fan's memory can store the various program modules that make up the fan, for example, Figure 4 The diagram shows a startup module, a monitoring module, a first processing module, a second processing module, a third processing module, a fourth processing module, a sending module, and a loop module. The computer program comprised of these modules causes the processor to execute the steps of the fan operation control methods of the various embodiments of the present invention described in this specification.
[0128] For example, Figure 5 The fan shown can be used as follows Figure 4 The fan shown executes step S1 via the start-up module; step S2 via the monitoring module; step S3 via the first processing module; step S4 via the second processing module; step S5 via the third processing module; step S6 via the fourth processing module; step S7 via the sending module; and step S8 via the looping module.
[0129] In one embodiment, a fan is provided, the fan including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, performs the following steps:
[0130] S1: When athletes begin exercising in the gymnasium, start each fan and control each fan to operate according to the set parameters;
[0131] S2: Monitor the athletes in the gymnasium for a set duration using a thermal imaging camera;
[0132] S3: Retrieve the monitored thermal imaging video and determine the historical movement trajectory and body temperature changes of each athlete based on the thermal imaging video;
[0133] S4: For each athlete, predict the athlete's position in the next time period based on the corresponding historical movement trajectory;
[0134] S5: Based on the relationship between the corresponding changes in body temperature and the historical movement trajectory, predict the body temperature of each athlete in the next period of time, and determine the appropriate spatial airflow field according to the location and body temperature of each athlete in the next period of time.
[0135] S6: Determine the target parameters for each fan based on the determined spatial airflow field;
[0136] S7: Send the target parameters to the corresponding fans so that each fan can operate according to the target parameters in the next time period, so that the space of the stadium will generate the determined spatial airflow field.
[0137] S8: Repeat steps S3 to S7 until all athletes have left the stadium, then turn off all fans.
[0138] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, causes the processor to perform the following steps:
[0139] S1: When athletes begin exercising in the gymnasium, start each fan and control each fan to operate according to the set parameters;
[0140] S2: Monitor the athletes in the gymnasium for a set duration using a thermal imaging camera;
[0141] S3: Retrieve the monitored thermal imaging video and determine the historical movement trajectory and body temperature changes of each athlete based on the thermal imaging video;
[0142] S4: For each athlete, predict the athlete's position in the next time period based on the corresponding historical movement trajectory;
[0143] S5: Based on the relationship between the corresponding changes in body temperature and the historical movement trajectory, predict the body temperature of each athlete in the next period of time, and determine the appropriate spatial airflow field according to the location and body temperature of each athlete in the next period of time.
[0144] S6: Determine the target parameters for each fan based on the determined spatial airflow field;
[0145] S7: Send the target parameters to the corresponding fans so that each fan can operate according to the target parameters in the next time period, so that the space of the stadium will generate the determined spatial airflow field.
[0146] S8: Repeat steps S3 to S7 until all athletes have left the stadium, then turn off all fans.
[0147] It should be understood that although the steps in the flowcharts of the various embodiments of the present invention are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the various embodiments may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0148] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0149] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0150] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
Claims
1. A fan operation control method, applied to a main fan, characterized in that, The method includes: S1: When athletes begin exercising in the gymnasium, start each fan and control each fan to operate according to the set parameters; S2: Monitor the athletes in the gymnasium for a set duration using a thermal imaging camera; S3: Retrieve the monitored thermal imaging video and determine the historical movement trajectory and body temperature changes of each athlete based on the thermal imaging video; S4: For each athlete, predict the athlete's position in the next time period based on the corresponding historical movement trajectory; S5: Based on the relationship between the corresponding body temperature changes and the historical movement trajectory, predict the body temperature of each athlete in the next period, so as to determine the appropriate spatial airflow field according to the position and body temperature of each athlete in the next period, including: S51: For each athlete, determine the influence of spatial airflow on the athlete's body temperature. S52: After removing the influence of spatial airflow changes on the athlete's body temperature, determine the relationship between the athlete's movement speed and the increase in body temperature. S53: Determine the movement speed of the athlete at each moment in the next time period based on the athlete's position at each moment in the next time period; S54: Select the first moment of the next time period as the target moment; S55: Determine the athlete's body temperature at the target time based on the relationship between the athlete's current body temperature, movement speed and body temperature increase, and movement speed at the target time. S56: Determine the appropriate spatial airflow field for the target time based on the body temperature of each athlete; S57: Select the next moment of the next time period as the target moment. For each athlete, determine the athlete's body temperature at the target moment based on the athlete's body temperature and movement speed at the previous moment, the movement speed at the target moment, and the spatial airflow field at the previous moment. Execute steps S56 to S57 until the spatial airflow field at each moment in the next time period is determined. Eliminating the effects of changes in airflow on the athlete's body temperature includes: Retrieve the body temperature change curve of the athlete; For each moment in the curve, determine the change in the spatial airflow velocity at the location of the person at that moment compared to the location of the person at the previous moment. The change in body temperature corresponding to the change in airflow velocity is determined on the spatial airflow influence curve of the athlete, and then the body temperature change is subtracted from the body temperature at that moment on the body temperature change curve. After adjusting the body temperature at each time point, a body temperature adjustment curve is obtained; Determining the relationship between the athlete's movement speed and the increase in body temperature includes: For each moment when the athlete moves along the historical trajectory, calculate the acceleration of the velocity at that moment compared to the velocity at the previous moment; The difference in body temperature between the current moment and the previous moment is determined based on the body temperature adjustment curve, thus obtaining a coordinate point with acceleration on the horizontal axis and body temperature difference on the vertical axis. Generate an acceleration-body temperature difference coordinate system, mark each obtained coordinate point on the acceleration-body temperature difference coordinate system, and connect each coordinate point with a smooth curve to obtain the acceleration-body temperature difference curve. S6: Determine the target parameters for each fan based on the determined spatial airflow field; S7: Send the target parameters to the corresponding fans so that each fan can operate according to the target parameters in the next time period, so that the space of the stadium will generate the determined spatial airflow field. S8: Repeat steps S3 to S7 until all athletes have left the stadium, then turn off all fans.
2. The method according to claim 1, characterized in that, Thermal imaging videos include a spatial rectangular coordinate system. Determining the historical movement trajectory and body temperature changes of each individual based on the thermal imaging video includes: For each athlete, generate the athlete's trajectory curve in the thermal imaging video, and extract the trajectory curve segment with the most recent second set time interval from the trajectory curve. Establish a time-body temperature coordinate system for each athlete, where the horizontal axis of the time-body temperature coordinate system is time and the vertical axis is body temperature; Mark the temperature coordinates of the athlete at each time point on the body temperature coordinate system, and connect the temperature coordinates with a smooth curve to obtain the athlete's body temperature change curve.
3. The method according to claim 2, characterized in that, Based on the corresponding historical movement trajectory, the predicted location of the athlete in the next time period includes: Retrieve the athlete's historical movement trajectory ; Differentiating the x and y coordinates of the historical trajectory yields the estimated trajectory. ; For any moment in the next period ,Will Substituting the values into the estimated trajectory, we obtain... The estimated position of the athlete at that time ,in, This indicates the duration of the next time period.
4. The method according to claim 1, characterized in that, Determining the effect of airflow on the body temperature of the athlete includes: For each monitored moment, the athlete's speed at that moment is calculated using the following formula: in, The speed of the athlete at that moment. Let be the length of the interval between the position of the athlete at this moment and the position of the athlete at the previous moment on the corresponding historical movement trajectory. The interval between two adjacent moments; Construct a coordinate system for the influence of airflow on the horizontal axis, with the horizontal axis representing the velocity of airflow in space and the vertical axis representing the body temperature. The movement speed that appears most frequently is selected as the target speed; For each target speed, determine the athlete's body temperature at the corresponding time and the airflow velocity at the athlete's location at the corresponding time to obtain the coordinate point corresponding to the target speed, where the horizontal axis of the coordinate point is the airflow velocity and the vertical axis is the body temperature; The coordinate points corresponding to each target velocity are marked on the coordinate system of space airflow influence, and the space airflow influence curve is obtained by fitting each coordinate point.
5. The method according to claim 1, characterized in that, The athlete's body temperature at the target time is determined based on their current body temperature, the relationship between movement speed and body temperature increase, and movement speed to the target time. For each athlete, calculate the acceleration at the target time compared to the current time; The body temperature difference is determined based on the acceleration and the corresponding acceleration-body temperature difference curve. Add the athlete's current body temperature to the determined body temperature difference to obtain the athlete's body temperature at the target time; Furthermore, in step S57, determining the athlete's body temperature at the target time based on the athlete's body temperature and movement speed at the previous moment, the movement speed at the target time, and the spatial airflow field at the previous moment includes: The acceleration of the target movement speed compared to the previous movement speed is determined to determine the body temperature difference; The body temperature at the target time is obtained by adding the determined body temperature difference to the body temperature at the previous moment, and then removing the influence of the spatial airflow field at the previous moment.
6. The method according to claim 4, characterized in that, The appropriate spatial airflow field is determined based on the location and body temperature of each athlete in the next time period, including: For each moment in the next time period, determine the required spatial airflow velocity for each person in the corresponding position to obtain the spatial airflow field at that moment. Determining the required spatial airflow velocity for each athlete at their designated position includes: The athlete's body temperature at that moment is retrieved, and the required airflow velocity to adjust the body temperature to the preset body temperature threshold is determined based on the corresponding airflow influence curve.
7. The method according to claim 6, characterized in that, The fan parameters include airflow velocity, horizontal angle, and vertical angle; for any position P, the spatial airflow vector generated by the fan at that position is expressed as: in, Let be the spatial airflow vector generated by the i-th fan at position P. Let be the airflow speed of the i-th fan. Let be the wind speed attenuation index of the i-th fan at position P. Let be the unit vector representing the airflow direction of the i-th fan; where Represented as: in, Let be the horizontal angle of the i-th fan. Let be the elevation angle of the i-th fan; The combined spatial airflow vector generated by each fan at position P is expressed as follows: in, For the comprehensive space airflow vector, The modulus is the airflow velocity at point P; The number of fans; The target parameters for each fan are determined based on the defined spatial airflow field, including: Determine all possible fan parameter combinations, where each fan parameter combination includes the fan parameters for each fan, and the fan parameters in any two fan parameter combinations are not exactly the same. The spatial airflow velocity at the position of each person is calculated based on each fan parameter combination to determine whether the fan parameter combination can generate the determined spatial airflow field. When determining the fan parameter combination that can generate the given spatial airflow field, each fan parameter in the fan parameter combination is determined as the target parameter.
8. A fan for implementing the fan operation control method as described in claim 1, characterized in that, The fan is used to execute the fan operation control method of claim 1, including: The startup module is used to start each fan when athletes begin exercising in the gymnasium and control each fan to operate according to the set parameters. The monitoring module is used to monitor each athlete in the gymnasium for a set duration using a thermal imaging camera. The first processing module is used to retrieve the monitored thermal imaging video and determine the historical movement trajectory and body temperature changes of each athlete based on the thermal imaging video. The second processing module is used to predict the position of each athlete in the next time period based on the corresponding historical movement trajectory. The third processing module is used to predict the body temperature of each athlete in the next period of time based on the relationship between the corresponding body temperature changes and the historical movement trajectory, so as to determine the appropriate spatial airflow field according to the position and body temperature of each athlete in the next period of time. The fourth processing module is used to determine the target parameters of each fan based on the determined spatial airflow field; The sending module is used to send the target parameters to the corresponding fans, so that each fan will operate according to the target parameters in the next time period, thereby generating the determined spatial airflow field in the gymnasium space. The loop module is used to repeatedly execute steps S3 to S7 until all athletes leave the stadium and then turn off all the fans.