Method, system, electronic device and storage medium for adjusting viewing angle of infrared sensor
By acquiring the temperature set of infrared sensors and adjusting the viewing angle method, the complex problem of adjusting the center point of infrared sensors' viewing angle is solved, and precise control is achieved in various scenarios.
Patent Information
- Application Number
- CN202111043834.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-07
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2041-09-07
AI Technical Summary
The process of adjusting the center point of the viewing angle of the infrared sensor in the prior art is complicated and difficult to operate when adjusting the center of the stove, resulting in inaccurate temperature data and affecting the precise control of the range hood.
By acquiring the temperature set acquired by the infrared sensor, temperature information is generated to determine the second target area, and the viewing angle of the infrared sensor is adjusted within that area so that the highest temperature point is located at the center of the viewing angle.
It realizes more accurately aligning the center point of the infrared sensor's viewing angle at the center of the stove in various scenarios, improving the control accuracy and universality of the range hood.
Smart Images

Figure CN115773820B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of infrared sensors, and in particular to a method, system, electronic equipment and storage medium for adjusting the viewing angle of an infrared sensor. Background Art
[0002] Using infrared sensors to measure temperature is a common method used in the industry. Infrared sensors not only have a fast response time, but also require no direct contact with the target object during the measurement process. They can measure the target's temperature simply by receiving infrared radiation from the target.
[0003] Due to the aforementioned advantages of infrared sensors, they are often used in the coordinated control of stoves and range hoods. Specifically, the infrared sensor is fixed to the range hood and uses the temperature data collected by the infrared sensor on the stove core to determine whether the stove is ignited or cooking is in progress. Based on this determination, the range hood is automatically controlled.
[0004] However, the premise for accurate temperature measurement and precise control of the range hood is that the center or central axis of the effective imaging of the infrared temperature sensor corresponds to the stove core or the stove core connection line. However, due to many uncertain factors such as the different panel sizes of different stoves, the different distances between the two stoves, and the different installation heights of the range hood, the center point of the viewing angle of the infrared sensor fixed on the range hood is often not aligned with the stove core. The temperature data obtained is not the temperature data of the stove core, and the infrared sensor needs to be reinstalled. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to overcome the defects of the prior art in that the processing process is complicated and difficult to operate when adjusting the center point of the infrared sensor's viewing angle to the stove core position, and to provide a sensor viewing angle adjustment method and device.
[0006] The present invention solves the above technical problems through the following technical solutions:
[0007] In a first aspect, a method for adjusting the viewing angle of an infrared sensor is provided, the method comprising:
[0008] Acquire a first temperature set within a first target area collected by the infrared sensor;
[0009] generating first temperature information based on the first temperature set, the first temperature information including position information of a highest temperature point within the first target area;
[0010] determining a second target area according to the first temperature information;
[0011] The viewing angle of the infrared sensor is adjusted within the second target area so that the highest temperature point is located at a center position of a plane projection of the viewing angle of the infrared sensor within the first target area.
[0012] Optionally, the first target area includes a first cooktop eye, and the first cooktop eye has a corresponding switch and a gas channel;
[0013] The method for adjusting the viewing angle of the infrared sensor further includes:
[0014] Obtaining current temperature information of the first cooktop;
[0015] If the current temperature of the first cooktop eye meets the first preset condition, executing the step of acquiring the first temperature set within the first target area collected by the infrared sensor;
[0016] Optionally, obtaining a current switch state of the switch of the first cooktop eye;
[0017] If the current switch state satisfies a second preset condition, executing the step of acquiring a first temperature set within the first target area collected by the infrared sensor;
[0018] Optionally, obtaining current flow information of the gas channel of the first cooktop;
[0019] If the current flow rate of the gas channel meets the third preset condition, the step of acquiring the first temperature set in the first target area collected by the infrared sensor is performed.
[0020] Optionally, the step of acquiring a first temperature set within the first target area collected by the infrared sensor specifically includes:
[0021] Controlling the push rod motor to extend in sequence to drive the infrared sensor to rotate and scan the first target area;
[0022] A plurality of temperature information within the first target area collected by the infrared sensor is recorded to generate the first temperature set.
[0023] Optionally, determining the second target area according to the first temperature information specifically includes:
[0024] The area within the target distance threshold range of the identified highest temperature point is used as the second target area;
[0025] The push rod motor is controlled to extend in sequence to drive the infrared sensor to rotate, so that the center point of the viewing angle of the infrared sensor is located within the second target area.
[0026] Optionally, adjusting the viewing angle of the infrared sensor within the second target area specifically includes:
[0027] The push rod motor is controlled to extend in sequence to drive the infrared sensor to rotate until the highest temperature point is located at the center position of the plane projection of the viewing angle of the infrared sensor in the first target area.
[0028] Optionally, the method for adjusting the viewing angle of the infrared sensor further includes:
[0029] After the viewing angle of the infrared sensor is adjusted, the extension displacement of each push rod motor is recorded, and the first sensor position coordinates corresponding to the first cooktop eye are generated according to the extension displacement.
[0030] Optionally, after the step of generating the first sensor position coordinates corresponding to the first cooktop eye, the method for adjusting the viewing angle of the infrared sensor further includes:
[0031] If the current temperature of the first cooktop eye meets a second preset condition, obtaining current temperature information of the second cooktop eye;
[0032] If the current temperature of the second cooktop eye meets the third preset condition, the step of acquiring the first temperature set in the first target area is performed.
[0033] In a second aspect, a viewing angle adjustment system for an infrared sensor is provided, wherein the viewing angle adjustment of the infrared sensor includes:
[0034] A temperature set acquisition module, configured to acquire a first temperature set within a first target area collected by an infrared sensor;
[0035] a temperature information processing module, configured to generate first temperature information based on the first temperature set, wherein the first temperature information includes position information of a highest temperature point in the first target area;
[0036] The temperature information processing module is further configured to determine a second target area according to the first temperature information;
[0037] The sensor control module is used to control the sensor to adjust the viewing angle in the second target area so that the highest temperature point is located at the center position of the plane projection of the sensor viewing angle in the first target area.
[0038] According to a third aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-described method for adjusting the viewing angle of the infrared sensor when executing the computer program.
[0039] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the viewing angle adjustment method of the infrared sensor as described above is implemented.
[0040] The positive progress effect of the present invention is:
[0041] The angle adjustment method of the infrared sensor provided by the present invention first identifies the position area of the stove eye in a working state based on the temperature sensing information of the stove surface area, and then further positions the center position of the sensor angle of view to the highest temperature point of the stove eye, that is, the center of the stove eye, through a transmission structure within the position area. In this way, the center point of the infrared sensor angle of view can be adjusted to the center position of the stove eye more accurately and effectively in a variety of scenarios, which is more universal. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 The present invention provides a first flow chart of a method for adjusting the viewing angle of an infrared sensor according to an exemplary embodiment of the present invention.
[0043] Figure 2 A schematic diagram of a scene showing an initial viewing angle of an infrared sensor assembly according to an exemplary embodiment of the present invention.
[0044] Figure 3 Schematic diagram of the structure of a viewing angle adjustment device for an infrared sensor according to an exemplary embodiment of the present invention.
[0045] Figure 4 1 is a schematic diagram of sub-steps of step S11 of a method for adjusting the viewing angle of an infrared sensor according to an exemplary embodiment of the present invention.
[0046] Figure 5 1 is a schematic diagram of sub-steps of step S12 of a method for adjusting the viewing angle of an infrared sensor according to an exemplary embodiment of the present invention.
[0047] Figure 6 A schematic diagram of a scene of a plane projection of the viewing angle of an infrared sensor according to an exemplary embodiment of the present invention.
[0048] Figure 7 2 is a schematic diagram of a second flow chart of a method for adjusting the viewing angle of an infrared sensor according to an exemplary embodiment of the present invention.
[0049] Figure 8 Schematic diagram of a module of a viewing angle adjustment system for an infrared sensor according to an exemplary embodiment of the present invention.
[0050] Figure 9 This is a structural diagram of an electronic device for implementing a method for adjusting the viewing angle of an infrared sensor according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0051] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0052] Figure 1 A flow chart of a method for adjusting the viewing angle of an infrared sensor provided as an exemplary embodiment of the present invention. Through the method for adjusting the viewing angle of the sensor, the center point of the viewing angle of the infrared sensor can be more accurately and effectively adjusted to the center position of the stove eye, that is, the stove core position, in a variety of scenarios.
[0053] See also Figure 1 , the viewing angle adjustment method of the infrared sensor includes:
[0054] S11, acquiring a first temperature set within a first target area collected by an infrared sensor;
[0055] S12. Generate first temperature information based on the first temperature set, where the first temperature information includes location information of the highest temperature point within the first target area;
[0056] S13, determining a second target area according to the first temperature information;
[0057] S14. Adjust the viewing angle of the infrared sensor in the second target area so that the highest temperature point is located at the center position of the plane projection of the viewing angle of the infrared sensor in the first target area.
[0058] In this embodiment, if Figure 2 As shown, the initial state of the infrared sensor assembly is to be installed vertically on the central axis of the range hood. However, since the current viewing angle α of the infrared sensor is small and there is no vertical tilt angle, when the infrared sensor is fixed, its field of view is at the edge of the stove and cannot cover the left and right stove eyes or any single-side stove eyes at the same time.
[0059] In order to solve the above problems, the infrared sensor is fixed on the Figure 3 The automatic rotating structure shown in the figure forms an infrared sensor device with adjustable viewing angle. The device specifically comprises three push-rod motors 1, a fixed plate 2, and an infrared sensor 3. The push-rod motors 1 are extended at one end connected to the fixed plate 2. The infrared sensor 3 is fixed to the fixed plate 2 with screws. By sequentially extending the push rods of the push-rod motors 1, the fixed plate 2 is deflected to different angles, thereby achieving 360° rotation of the viewing angle of the infrared sensor 3.
[0060] Since the adjustment process of the infrared sensor for the optimal angle of each stove eye is the same, the left stove eye of a two-burner gas stove is used as an example to specifically illustrate the viewing angle adjustment method of the infrared sensor in this embodiment. It should be understood that the viewing angle adjustment method for multiple stove eyes is the same, so the viewing angle adjustment method of the infrared sensor in this embodiment is also applicable to single-burner gas stoves and multi-burner gas stoves with more than two burners.
[0061] In practice, the left burner is ignited while the right burner remains closed, so that the temperature of the left burner is different from the temperatures of other points in the first target area. Because the highest temperature in a burner is at its center, i.e., the hearth, the point corresponding to this highest temperature is the hearth of the left burner.
[0062] In one embodiment, the first area includes a first cooktop, and the first cooktop has a corresponding switch and a gas channel;
[0063] The viewing angle adjustment method of the infrared sensor also includes:
[0064] Get the current temperature information of the first cooktop;
[0065] If the current temperature of the first cooktop eye meets the first preset condition, the step of acquiring a first temperature set in the first target area collected by the infrared sensor is performed.
[0066] In another embodiment based on the above embodiment, the method for adjusting the viewing angle of the infrared sensor further includes:
[0067] Obtain the current switch status of the first cooktop switch;
[0068] If the current switch state satisfies the second preset condition, the step of acquiring a first temperature set within the first target area collected by the infrared sensor is performed.
[0069] In another embodiment based on the above embodiment, the method for adjusting the viewing angle of the infrared sensor further includes:
[0070] Obtain current flow information of the gas channel of the first burner;
[0071] If the current flow rate of the gas channel satisfies the third preset condition, the step of acquiring a first temperature set in the first target area collected by the infrared sensor is performed.
[0072] In these embodiments, the first cooktop eye is the left cooktop eye. To ensure safety during the infrared sensor's viewing angle adjustment, the left cooktop eye is adjusted to a low flame position after ignition and remains at that position throughout the adjustment process. In other words, the condition for initiating the infrared sensor's viewing angle adjustment can be that the left cooktop eye reaches a stable low flame position. Therefore, by detecting the left cooktop eye's current temperature, on / off status, and gas flow rate, it can be determined whether the left cooktop eye is capable of triggering viewing angle adjustment.
[0073] For example, if the temperature range of the low-fire position of the left stove eye is 40°-60°, the first preset condition can be set to detect that the temperature of the left stove eye is between 40°-60°; in order to improve accuracy, the first preset condition can also include a preset target time length. Specifically, if the temperature of the left stove eye remains in the range of 40°-60° for more than the preset target time length, the viewing angle adjustment is started.
[0074] For example, if the switch of the left stove eye is a knob switch, the second preset condition can be set to detect that the switch knob of the left stove eye is rotated to the target angle range; if the switch of the left stove eye is a button switch, the second preset condition can be set to detect that the low fire gear button of the left stove eye is pressed.
[0075] For another example, a flow detection device is provided at the gas flow channel of the left stove eye, and the third preset condition can be set to start the viewing angle adjustment when it is detected that the flow of the gas channel of the left stove eye reaches the target flow value.
[0076] One or more of the above-mentioned first preset condition, second preset condition and third preset condition can be set as the starting condition for the infrared sensor viewing angle adjustment to improve the efficiency and accuracy of the viewing angle adjustment while reducing energy consumption, thereby extending the service life of the infrared sensor viewing angle adjustment device.
[0077] After determining to start the viewing angle adjustment of the infrared sensor, for step S11, the first target area corresponds to the entire stove surface area, including the stove area below the range hood and the left and right stove eyes on the stove area; the first temperature set is a set of multiple temperature values at different points in the first target area and their corresponding point position information.
[0078] Since the first temperature set is acquired in order to subsequently determine the highest temperature point within the first target area, in this embodiment, the infrared sensor scans the entire first target area and records the temperature values corresponding to different points within the first target area at predetermined intervals. The predetermined intervals can be set according to actual needs.
[0079] In one embodiment, Figure 4 As shown, step S11 specifically includes:
[0080] S111, controlling the push rod motor to sequentially extend and move to drive the infrared sensor to rotate and scan the first target area;
[0081] S112: Recording a plurality of temperature information within the first target area collected by the infrared sensor to generate a first temperature set.
[0082] Specifically, the three push rod motors 1 are first controlled to sequentially extend, thereby shifting the fixed plate 2 toward different angles, thereby causing the infrared sensor 3 fixed to the fixed plate 2 to achieve a first 360° rotation. At this time, the infrared sensor 3 scans and records the temperature values of several points within the first target area S1 below to generate a set, that is, a first temperature set within the first target area S1 is obtained.
[0083] For steps S12 and S13, after generating the first temperature set, the highest temperature value and its corresponding point position T can be obtained. max Because the infrared sensor's viewing angle, projected onto the cooktop, may not completely match the actual size of the stove's eye, alignment between the infrared sensor and the stove's center based on the first target area (the entire stovetop) is prone to errors. Therefore, the viewing angle adjustment range is further narrowed to a second target area near the stove's center, making center alignment easier.
[0084] In one embodiment, Figure 5 As shown, step S12 specifically includes:
[0085] S121, taking the area within the target distance threshold of the identified highest temperature point as the second target area;
[0086] S122 , controlling the push rod motor to extend in sequence to drive the infrared sensor to rotate, so that the center point of the viewing angle of the infrared sensor is located within the second target area.
[0087] Based on the specific model of the stove, the actual radius of the stove eye can be known. In this embodiment, the target distance threshold is set to be equal to the actual radius of the stove eye, that is, the second target area S2 is the actual area range of the left stove eye. Figure 6 As shown, at this time, the plane projection S of the infrared sensor's viewing angle on the first target area S1 1R Included in the second target area S2.
[0088] In one embodiment, step S13 specifically includes:
[0089] The push rod motor is controlled to extend in sequence to drive the infrared sensor to rotate until the highest temperature point is located at the center position of the plane projection of the infrared sensor's viewing angle in the first target area.
[0090] See Figure 6 By fine-tuning the extension length of the three push rod motors, the viewing angle of the infrared sensor is adjusted in the second target area S2 (cooking area) so that the highest temperature point T max The plane projection S of the infrared sensor in the first target area S1 (cooktop area) 1R If the center point of the left stove eye coincides with the center point of the left stove eye, the viewing angle of the infrared sensor has been adjusted to the optimal angle.
[0091] In one embodiment, Figure 7 As shown, the above-mentioned method for adjusting the viewing angle of the infrared sensor further includes:
[0092] S15. After the viewing angle of the infrared sensor is adjusted, the extension displacement of each push rod motor is recorded, and the first sensor position coordinate corresponding to the first cooktop eye is generated according to the extension displacement.
[0093] In the specific implementation process, after the viewing angle of the infrared sensor is adjusted to the optimal angle, the same center alignment operation may need to be performed on the right cooker eye. Therefore, the displacement of each push rod motor when the infrared sensor is at the optimal angle corresponding to the left cooker eye is recorded as L1, L2, and L3 in sequence. The optimal position coordinate of the infrared sensor when it is aligned with the left cooker eye is X l =(L1, L2, L3).
[0094] In one embodiment, after step S15, the method for adjusting the viewing angle of the infrared sensor further includes:
[0095] S16. If the current temperature of the first cooktop eye meets a second preset condition, obtain current temperature information of the second cooktop eye;
[0096] S17: If the current temperature of the second cooking eye meets the third preset condition, execute step S11.
[0097] The second preset condition is that the current temperature of the first cooktop eye is lower than the cooling temperature value. The preset temperature value is used to indicate that the first cooktop eye has reached a completely cooled state and will not affect the temperature sensing step in the next viewing angle adjustment process.
[0098] The above-mentioned third preset condition includes but is not limited to the current temperature of the second stove eye being higher than the starting temperature value, the switch of the second stove eye being kept in the on state, the gas channel flow of the second burner reaching the starting flow value, etc.
[0099] Specifically, after recording the optimal position coordinates for the left cooktop eye, if you need to perform the same viewing angle adjustment on the right cooktop eye, you need to turn off the left cooktop eye, wait for it to completely cool, and then continue adjusting the infrared sensor viewing angle adjustment process for the right cooktop eye. To activate the infrared sensor viewing angle adjustment for the right cooktop eye, you also need to turn on the ignition and adjust it to low heat.
[0100] In this embodiment, the second preset condition includes but is not limited to the temperature of the left cooktop eye being lower than a preset temperature value, which can be set according to actual needs. After the left cooktop eye cools down, the viewing angle adjustment process for the infrared sensor of the right cooktop eye is allowed to start.
[0101] The angle adjustment method of the infrared sensor provided in the above embodiment first identifies the position area of the stove eye in a working state based on the temperature sensing information of the stove surface area, and then further positions the center position of the sensor angle of view to the highest temperature point of the stove eye, that is, the stove core position, through the transmission structure within the position area. In this way, the center point of the infrared sensor angle of view can be adjusted to the stove core position more accurately and effectively in a variety of scenarios, which is more universal.
[0102] Furthermore, range hoods equipped with this infrared sensor's angle adjustment function can adjust the infrared temperature sensor to the optimal angle in real time based on usage, and can be used with any brand of stove to achieve a similar range hood-stove linkage function. Furthermore, the sensor angle adjustment method provided by the present invention is applicable not only to gas stoves but also to a variety of stoves from different brands, greatly enhancing the user's intelligent experience.
[0103] Figure 8 A module schematic diagram of a viewing angle adjustment system for an infrared sensor provided as an exemplary embodiment of the present invention. Through the viewing angle adjustment system of the sensor, the center point of the viewing angle of the infrared sensor can be more accurately and effectively adjusted to the center position of the stove eye in a variety of scenarios.
[0104] See also Figure 8 , the viewing angle adjustment system of the infrared sensor includes:
[0105] A temperature set acquisition module 11 is configured to acquire a first temperature set within a first target area collected by an infrared sensor;
[0106] A temperature information processing module 21 is configured to generate first temperature information based on the first temperature set, where the first temperature information includes first position information of a highest temperature point in a first target area;
[0107] The temperature information processing module 21 is further configured to determine a second target area according to the first temperature information;
[0108] The sensor control module 31 is configured to adjust the viewing angle of the infrared sensor in the second target area so that the highest temperature point is located at the center of the plane projection of the viewing angle of the infrared sensor in the first target area.
[0109] For the temperature set acquisition module 11, the first target area corresponds to the entire stove surface area, including the stove area below the range hood and the left and right stove eyes on the stove area; the first temperature set is a set of multiple temperature values at different points in the first target area and their corresponding point position information.
[0110] Since the first temperature set is acquired in order to subsequently determine the highest temperature point within the first target area, in this embodiment, the sensor control module 31 controls the infrared sensor to scan the entire first target area and record the temperature values corresponding to different points within the first target area at predetermined intervals. The predetermined intervals can be set according to actual needs.
[0111] After generating the first temperature set, the temperature information processing module 21 obtains the highest temperature value and its corresponding point position T from it. max Because the infrared sensor's viewing angle, projected onto the cooktop, may not completely match the actual size of the cooktop eye, centering the infrared sensor and the cooktop eye based on the first target area (the entire cooktop area) can easily lead to errors. Therefore, the sensor control module 31 further narrows the viewing angle adjustment range to within the second target area near the cooktop eye, making centering easier.
[0112] Based on the specific model of the stove, the actual radius of the stove eye can be known, and the sensor control module 31 can set the actual radius value of the stove eye to be less than the above-mentioned target distance threshold, that is, the second target area S2 is the actual area range of the left stove eye. Figure 6 As shown, at this time, the plane projection S of the infrared sensor's viewing angle on the first target area S1 1R The area of the target area S2 is smaller than that of the second target area S2.
[0113] The sensor control module 31 adjusts the viewing angle of the infrared sensor in the second target area S2 (cooking area) by controlling the extension length of the three push rod motors to make the highest temperature point T max The plane projection S of the infrared sensor in the first target area S1 (cooktop area) 1R If the center point of the left stove eye coincides with the center point of the left stove eye, the viewing angle of the infrared sensor for the left stove eye has been adjusted to the optimal angle.
[0114] Figure 9This is a block diagram of an electronic device that implements a method for adjusting the viewing angle of an infrared sensor, provided in accordance with an exemplary embodiment of the present invention. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for adjusting the viewing angle of an infrared sensor, provided in accordance with the exemplary embodiment, is implemented. Figure 9 The electronic device 40 shown is only an example and should not limit the functionality and scope of use of the embodiments of the present invention.
[0115] like Figure 9 As shown, the electronic device 40 may be a general-purpose computing device, such as a server device. Components of the electronic device 40 may include, but are not limited to, the at least one processor 41, the at least one memory 42, and a bus 43 connecting different system components (including the memory 42 and the processor 41).
[0116] The bus 43 includes a data bus, an address bus, and a control bus.
[0117] The memory 42 may include a volatile memory, such as a random access memory (RAM) 421 and / or a cache memory 422 , and may further include a read-only memory (ROM) 423 .
[0118] The memory 42 may also include a program / utility 425 having a set (at least one) of program modules 424, such program modules 424 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0119] The processor 41 executes various functional applications and data processing by running computer programs stored in the memory 42 , such as the viewing angle adjustment method of the infrared sensor provided in the above exemplary embodiment.
[0120] The electronic device 40 can also communicate with one or more external devices 44 (e.g., a keyboard, pointing device, etc.). This communication can occur via an input / output (I / O) interface 45. Furthermore, the model-generating device 40 can also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 46. As shown, the network adapter 46 communicates with other modules of the model-generating device 40 via a bus 43. It should be understood that, although not shown, other hardware and / or software modules can be used in conjunction with the model-generating device 40, including but not limited to microcode, device drivers, redundant processors, external disk drive arrays, RAID (RAID) systems, tape drives, and data backup storage systems.
[0121] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more units / modules described above may be embodied in a single unit / module. Conversely, the features and functions of a single unit / module described above may be further divided and embodied by multiple units / modules.
[0122] An exemplary embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for adjusting the viewing angle of an infrared sensor provided in the above exemplary embodiment is implemented.
[0123] The readable storage medium may include, but is not limited to, a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0124] In a possible implementation manner, the present invention may also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the method for adjusting the viewing angle of the infrared sensor provided in the above exemplary embodiment.
[0125] The program code for executing the present invention may be written in any combination of one or more programming languages, and may be executed entirely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or entirely on the remote device.
[0126] Although specific embodiments of the present invention have been described above, those skilled in the art will appreciate that these are merely illustrative and that the scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, and such changes and modifications are intended to fall within the scope of the present invention.
Claims
1. A method for adjusting the viewing angle of an infrared sensor, characterized in that: The viewing angle adjustment method of the infrared sensor includes: Acquire a first temperature set within a first target area collected by the infrared sensor, where the first target area is the entire cooktop area; generating first temperature information based on the first temperature set, the first temperature information including position information of a highest temperature point within the first target area; determining a second target area according to the first temperature information; adjusting the viewing angle of the infrared sensor within the second target area so that the highest temperature point is located at the center position of the plane projection of the viewing angle of the infrared sensor within the first target area; Determining the second target area according to the first temperature information specifically includes: The area within the target distance threshold range of the identified highest temperature point is used as the second target area; The push rod motor is controlled to extend in sequence to drive the infrared sensor to rotate, so that the center point of the viewing angle of the infrared sensor is located within the second target area.
2. The method for adjusting the viewing angle of an infrared sensor according to claim 1, wherein: The first target area includes a first cooktop eye, and the first cooktop eye has a corresponding switch and a gas channel; The method for adjusting the viewing angle of the infrared sensor further includes: Obtaining current temperature information of the first cooktop; If the current temperature of the first cooktop eye meets the first preset condition, executing the step of acquiring the first temperature set within the first target area collected by the infrared sensor; and / or, obtaining a current switch state of the switch of the first cooktop eye; If the current switch state satisfies a second preset condition, executing the step of acquiring a first temperature set within the first target area collected by the infrared sensor; and / or, obtaining current flow information of the gas channel of the first cooktop; If the current flow rate of the gas channel meets the third preset condition, the step of acquiring the first temperature set in the first target area collected by the infrared sensor is performed.
3. The method for adjusting the viewing angle of an infrared sensor according to claim 1, wherein: The step of obtaining a first temperature set within the first target area collected by the infrared sensor specifically includes: Controlling the push rod motor to extend in sequence to drive the infrared sensor to rotate and scan the first target area; A plurality of temperature information within the first target area collected by the infrared sensor is recorded to generate the first temperature set.
4. The method for adjusting the viewing angle of an infrared sensor according to claim 1, wherein: The adjusting the viewing angle of the infrared sensor within the second target area specifically includes: The push rod motor is controlled to extend in sequence to drive the infrared sensor to rotate until the highest temperature point is located at the center position of the plane projection of the viewing angle of the infrared sensor in the first target area.
5. The method for adjusting the viewing angle of an infrared sensor according to claim 2, wherein: The method for adjusting the viewing angle of the infrared sensor further includes: After the viewing angle of the infrared sensor is adjusted, the extension displacement of each push rod motor is recorded, and the first sensor position coordinates corresponding to the first cooktop eye are generated according to the extension displacement.
6. The method for adjusting the viewing angle of an infrared sensor according to claim 5, wherein: After the step of generating the first sensor position coordinates corresponding to the first cooktop eye, the method for adjusting the viewing angle of the infrared sensor further includes: If the current temperature of the first cooktop eye meets a second preset condition, obtaining current temperature information of the second cooktop eye; If the current temperature of the second cooktop eye meets the third preset condition, the step of acquiring the first temperature set in the first target area is performed.
7. A viewing angle adjustment system for an infrared sensor, characterized in that: The viewing angle adjustment system of the infrared sensor includes: A temperature set acquisition module, configured to acquire a first temperature set within a first target area collected by the infrared sensor, where the first target area is the entire cooktop area; a temperature information processing module, configured to generate first temperature information based on the first temperature set, wherein the first temperature information includes position information of a highest temperature point in the first target area; The temperature information processing module is further configured to determine a second target area based on the first temperature information, specifically, to determine an area within a target distance threshold range of the identified highest temperature point as the second target area, and to control the push rod motor to sequentially extend and rotate the infrared sensor so that a center point of the infrared sensor's viewing angle is within the second target area; The sensor control module is used to control the sensor to adjust the viewing angle in the second target area so that the highest temperature point is located at the center position of the plane projection of the sensor viewing angle in the first target area.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the viewing angle adjustment method of the infrared sensor according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the viewing angle adjustment method of the infrared sensor according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Viewing angle adjusting device of infrared sensor
CN215863551U