Dynamic Target Detection Method, Device, Electronic Device and Storage Medium

Through the dual detection module system and environmental adaptive adjustment, the accuracy problem of dynamic target detection equipment under drastic ambient temperature changes is solved, and higher detection accuracy and accuracy are achieved.

CN119960075BActive Publication Date: 2025-07-22X-SENSE INNOVATIONS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510440152.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-09
Publication Date
2025-07-22
Estimated Expiration
2045-04-09

AI Technical Summary

Technical Problem

The existing dynamic target detection equipment has low detection accuracy due to drastic changes in ambient temperature, resulting in problems of false alarms and missed alarms.

Method used

The dual detection module system is used to detect temperature changes in different areas, and the controller determines the interrupt sequence of the detection signal and the ambient temperature changes, eliminates false triggers, adjusts the magnification of the op amp circuit to match the ambient temperature, and determines whether to make an alarm based on the movement type of the dynamic target.

Benefits of technology

It improves the accuracy of the detection equipment, reduces misjudgment, reduces equipment energy consumption and user interference, and improves detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119960075B_ABST
    Figure CN119960075B_ABST
Patent Text Reader

Abstract

The present invention discloses a dynamic target detection method, device, electronic device and storage medium. The method includes: receiving a first detection signal, where the first detection signal is generated by a first detection module when a temperature change occurs in a first area and / or a second area; obtaining a second detection signal within a first preset time, where the second detection signal is generated by a second detection module when a temperature change occurs in the first area and / or the second area; if the second detection signal is successfully obtained and the first detection signal has not been interrupted before the second detection signal is successfully obtained, then determining whether a dynamic target is detected based on the first detection signal and the second detection signal. By implementing the method in the present invention, the problem of low detection accuracy caused by the susceptibility of detection devices to drastic changes in ambient temperature is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical detection, and in particular, to a method, device, electronic device and storage medium for detecting dynamic targets. Background Art

[0002] In existing dynamic target detection technologies, such as lane detectors, they are usually implemented based on pyroelectric (Pyroelectric Infrared Sensor, PIR) sensors. A pyroelectric sensor is an electronic component that can detect the heat of a human body or an object. It senses the presence of a human body or an object by detecting infrared rays in the surrounding environment.

[0003] Based on the working principle of pyroelectric sensors, in many practical applications of pyroelectric sensors, due to changes in the ambient temperature, problems such as sensitivity changes, false alarms, and missed detections may occur. Therefore, as long as there is a sudden change in the external ambient temperature (such as sudden rainfall, cold and hot air currents passing by, cloudy to sunny, etc.), the pyroelectric sensor may be activated, resulting in the problem that the detection device is affected by the sudden change in the ambient temperature, and further leading to low detection accuracy. Summary of the Invention

[0004] In view of the above problems, embodiments of the present application provide a method, device, electronic device and storage medium for detecting dynamic targets. Adopting the solution of the present application is beneficial to solving the problem of low detection accuracy caused by the influence of sudden changes in the ambient temperature on the detection device.

[0005] In a first aspect, an embodiment of the present application provides a method for detecting dynamic targets, which is applied to a controller of a detection device. The detection device further includes a first detection module and a second detection module. The first detection module is used to generate a detection signal when a temperature change occurs in the first area and / or the second area, and the second detection module is used to generate a detection signal when a temperature change occurs in the second area and / or the third area. The method includes: receiving a first detection signal, where the first detection signal is generated by the first detection module when a temperature change occurs in the first area and / or the second area; obtaining a second detection signal within a first preset time, where the second detection signal is generated by the second detection module when a temperature change occurs in the first area and / or the second area; if the second detection signal is successfully obtained and the first detection signal has not been interrupted before the second detection signal is successfully obtained, then determine whether a dynamic target is detected according to the first detection signal and the second detection signal.

[0006] It can be seen that in the embodiment of the present application, the detection device is configured with two detection modules to respectively detect whether there is a temperature change in different areas. The controller can determine whether the detection signals generated by the two detection modules are caused by a sudden change in the ambient temperature based on the detection signals generated by the two detection modules, thereby improving the accuracy of the detection device and solving the problem of low detection accuracy of the detection device affected by a sudden change in the ambient temperature.

[0007] Combined with the first aspect, in a possible embodiment, determining whether a dynamic target is detected based on the first detection signal and the second detection signal includes: if the second detection signal is interrupted before the first detection signal is interrupted, it is determined that no dynamic target is detected; if the second detection signal is not interrupted before the first detection signal is interrupted, it is determined that a dynamic target is detected.

[0008] It can be seen that in the embodiment of the present application, through the interruption order of the first detection signal and the second detection signal, it is possible to exclude the situation where the interruption order of the first detection signal and the second detection signal does not conform to the possible movement trajectory of the dynamic target, reducing the misjudgment of the detection device, thereby improving the detection accuracy of the detection device.

[0009] Combined with the first aspect, in a possible embodiment, if the second detection signal is not interrupted before the first detection signal is interrupted, the method further includes: if the second detection signal and the first detection signal are interrupted simultaneously, it is determined that the movement type of the dynamic target is non-straight movement; if the first detection signal is interrupted first and the second detection signal is interrupted later, it is determined that the movement type of the dynamic target is straight movement; determining whether to issue an alarm for the dynamic target according to the movement type of the dynamic target.

[0010] It can be seen that in the embodiment of the present application, by judging the movement type of the dynamic target, it is possible to determine whether the dynamic target is moving straight or non-straight, reducing false alarms for moving targets such as temporary residence and passing by, thereby reducing device power consumption and user interference.

[0011] Combined with the first aspect, in a possible embodiment, the detection module includes a sensor, a first-stage operational amplifier circuit, and a second-stage operational amplifier circuit. The first-stage operational amplifier circuit and the second-stage operational amplifier circuit are used to amplify the original signal obtained by the sensor based on the amplification factor to obtain a detection signal. The detection device further includes a temperature sensing module for measuring the ambient temperature. The method further includes: obtaining the ambient temperature measured and generated by the temperature sensing module; calculating the target temperature difference between the ambient temperature and the target temperature, where the target temperature is the temperature corresponding to the dynamic target; determining the target amplification factor according to the target temperature difference, and the target amplification factor is negatively correlated with the target temperature difference; adjusting the amplification factor to the target amplification factor.

[0012] It can be seen that in the embodiments of the present application, by adjusting the amplification factor of the operational amplifier circuit in the detection module according to the ambient temperature, the amplification factor of the operational amplifier circuit is matched with the ambient temperature, improving the detection accuracy of the detection device.

[0013] Combined with the first aspect, in a possible embodiment, the detection device further includes a first analog switch chip and a second analog switch chip. Adjusting the amplification factor to a target amplification factor includes: controlling the first analog switch chip to adjust the amplification factor of the secondary operational amplifier circuit of the first detection module so as to adjust the amplification factor of the first detection module to the target amplification factor; controlling the second analog switch chip to adjust the amplification factor of the secondary operational amplifier circuit of the second detection module so as to adjust the amplification factor of the second detection module to the target amplification factor.

[0014] It can be seen that in the embodiments of the present application, by separately adjusting the amplification factors of the secondary operational amplifier circuits in the first detection module and the second detection module through the first analog switch chip and the second analog switch chip, the amplification factor of the operational amplifier circuit is matched with the ambient temperature, and at the same time, the noise processing of the primary operational amplifier circuit is not affected, improving the accuracy rate of the detection signal.

[0015] Combined with the first aspect, in a possible embodiment, before determining whether a dynamic target is detected according to the first detection signal and the second detection signal, the method further includes: obtaining a plurality of ambient temperatures generated by the temperature sensing module before the second preset time; judging whether the measured environment has a sudden temperature change according to the plurality of ambient temperatures generated by the temperature sensing module before the second preset time; determining that the measured environment has not had a sudden temperature change.

[0016] Combined with the first aspect, in a possible embodiment, if it is determined that the measured environment has a sudden temperature change, the method further includes: calculating the generation interval between the first detection signal and the second detection signal; if the generation interval between the first detection signal and the second detection signal is less than the third preset time, then determining that no dynamic target is detected, where the third preset time is less than the first preset time; if the generation interval between the first detection signal and the second detection signal is greater than or equal to the third preset time, then calculating the moving speed of the dynamic target according to the generation interval between the first detection signal and the second detection signal; if the moving speed of the dynamic target is less than the preset speed, then determining that a dynamic target is detected; if the moving speed of the dynamic target is greater than or equal to the preset speed, then determining that no dynamic target is detected.

[0017] It can be seen that in the embodiments of the present application, different verification methods are used to verify whether the first detection signal and the second detection signal are caused by a sudden temperature change according to whether the measured environment has a sudden temperature change, thereby improving the detection accuracy rate of the detection device.

[0018] Second aspect, an embodiment of the present application provides a dynamic target detection device. The dynamic target detection device is used to execute a dynamic target detection method. The dynamic target detection device belongs to detection equipment. The detection equipment further includes a first detection module and a second detection module. The first detection module is used to generate a detection signal when a temperature change occurs in the first area and / or the second area. The second detection module is used to generate a detection signal when a temperature change occurs in the second area and / or the third area.

[0019] The device includes: a receiving unit, configured to receive a first detection signal, where the first detection signal is generated by the first detection module when a temperature change occurs in the first area and / or the second area.

[0020] An obtaining unit, configured to obtain a second detection signal within a first preset time, where the second detection signal is generated by the second detection module when a temperature change occurs in the first area and / or the second area.

[0021] A judging unit, configured to, if the second detection signal is successfully obtained and the first detection signal has not been interrupted before the second detection signal is successfully obtained, judge whether a dynamic target is detected according to the first detection signal and the second detection signal.

[0022] Third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and are configured to be executed by the processor. One or more instructions are suitable for being loaded and executed by the processor to perform part or all of the methods in the first aspect and / or the second aspect.

[0023] Fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program for electronic data exchange. Wherein, the computer program enables a computer to execute part or all of the methods in the first aspect and / or the second aspect.

[0024] Fifth aspect, the present application provides a computer program product. When a computer reads and executes the computer program product, it enables the computer to execute part or all of the methods in the first aspect and / or the second aspect.

[0025] It can be understood that the beneficial effects of the embodiments in the second aspect to the fifth aspect can refer to the beneficial effects in the method of the first aspect, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0027] Figure 1 Schematic diagram of an application scenario of a dynamic target detection method provided by an embodiment of the present application;

[0028] Figure 2 Schematic flowchart of a dynamic target detection method provided by an embodiment of the present application;

[0029] Figure 3 Schematic diagram of the movement trajectory of a dynamic target provided by an embodiment of the present application;

[0030] Figure 4 Schematic diagram of the movement trajectory of another dynamic target provided by an embodiment of the present application;

[0031] Figure 5 Schematic flowchart of another dynamic target detection method provided by an embodiment of the present application;

[0032] Figure 6 Schematic diagram of the internal structure of a detection device provided by an embodiment of the present application;

[0033] Figure 7 Schematic flowchart of yet another dynamic target detection method provided by an embodiment of the present application;

[0034] Figure 8 Schematic diagram of the structure of a dynamic target detection device provided by an embodiment of the present application;

[0035] Figure 9 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application.

[0036] Explanation of the reference numerals in the drawings: Application scenario 100; Detection device 101; User terminal 102; Controller 1011; First detection module 1012; Second detection module 1013; Temperature sensing module 1014; First analog switch chip 601; Second analog switch chip 602; First sensor 603; First operational amplifier circuit 604; Second operational amplifier circuit 605; Second sensor 606; Third operational amplifier circuit 607; Fourth operational amplifier circuit 608; Dynamic target detection device 800; Receiving unit 801; Obtaining unit 802; Judgment unit 803; Electronic device 900; Memory 901; Processor 902; Communication interface 903; Bus 904. Detailed implementation manners

[0037] In order to enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0038] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned accompanying drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.

[0039] Referring to "embodiment" herein means that a specific feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of this application. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.

[0040] The embodiments of this application will be described below in conjunction with the accompanying drawings.

[0041] Embodiment 1: Please refer to Figure 1 , Figure 1 which is a schematic diagram of an application scenario of a dynamic target detection method provided by an embodiment of this application. The application scenario 100 includes a detection device 101 and a user terminal 102. The detection device 101 further includes a controller 1011, a first detection module 1012, and a second detection module 1013. The controller 1011 is specifically a central processing unit, a microcontroller, etc. The user terminal 102 is specifically a smart phone, a computer, a wearable smart device, a vehicle-mounted terminal, etc. The detection device 101 is connected to the user terminal 102, so that the detection device 101 can alarm the user of the user terminal 102 when detecting a dynamic target. The dynamic target here includes at least one of a target person and a target vehicle.

[0042] The detection device 101 further includes a first detection module 1012 and a second detection module 1013. The first detection module 1012 is configured to generate a detection signal when a temperature change occurs in the first area and / or the second area, and the second detection module 1013 is configured to generate a detection signal when a temperature change occurs in the second area and / or the third area. It can be seen that the second area here is the overlapping area of the detection areas of the first detection module 1012 and the second detection module 1013.

[0043] It should be noted that when the first detection module 1012 and the second detection module 1013 generate detection signals, the detection signals may be generated due to the appearance of dynamic targets in the corresponding areas, or may be generated due to false triggering of the first detection module 1012 and the second detection module 1013 caused by sudden environmental temperature changes.

[0044] In the embodiment of the present application, the controller 1011 receives a first detection signal, and the first detection signal is generated by the first detection module 1012 when a temperature change occurs in the first area and / or the second area.

[0045] When the controller 1011 receives the first detection signal, it indicates that a dynamic target may appear in the first area and / or the second area.

[0046] Therefore, after the controller 1011 receives the first detection signal, it acquires a second detection signal within a first preset time. The second detection signal is generated by the second detection module 1013 when a temperature change occurs in the first area and / or the second area.

[0047] According to the distribution of the first area, the second area, and the third area shown in the figure, it can be seen that if a dynamic target causes the first detection module 1012 to generate the first detection signal, then after the dynamic target enters the first area, it will surely pass through the second area and then go to other areas. Therefore, within the preset time (specifically, it can be 10s, 15s, etc.), the dynamic target will enter the second area, causing the second detection module 1013 to generate the second detection signal. At the same time, since the second area is also within the detection range of the first detection module 1012, the first detection signal will not be interrupted.

[0048] If the acquisition of the second detection signal is successful and the first detection signal is not interrupted before the acquisition of the second detection signal is successful, it can be seen that the generation order and duration of the first detection signal and the second detection signal match the situation where a real dynamic target passes through the first area and the second area.

[0049] Therefore, the controller 1011 determines whether a dynamic target is detected based on the first detection signal and the second detection signal.

[0050] Specifically, it can be determined based on information such as the duration and end order of the first detection signal and the second detection signal.

[0051] Exemplarily, according to the possible moving speeds of the dynamic target in the first area, the second area, and the third area, the time during which the dynamic target may continuously move within the detection range of each detection module is determined, and this time is then determined as the theoretical durations of the first detection signal and the second detection signal (such as 3s, 4s, 5s, etc.). If the durations of the first detection signal and the second detection signal are greater than the preset duration, the controller 1011 determines that a dynamic target has been detected; if the duration of one or both of the first detection signal and the second detection signal is less than or equal to the preset duration, the controller 1011 determines that the first detection signal and the second detection signal are caused by a drastic change in the ambient temperature.

[0052] In addition, it should be noted that in the embodiments of the present application, the detection module that first generates the detection signal is described as the first detection module 1012. If in Figure 1 the application scenario 100 shown, the second detection signal of the second detection module 1013 is generated before the first detection signal, then at this time, the controller 1011 needs to obtain the first detection signal after receiving the second detection signal, and on the premise of successfully obtaining the first detection signal within the first preset time, determine whether a dynamic target has been detected according to the first detection signal and the second detection signal. For the relevant judgment process and other specific details, please refer to the relevant descriptions in this article and will not be elaborated here.

[0053] It can be seen that in the embodiments of the present application, the detection device is configured with two detection modules to respectively detect whether there are temperature changes in different areas, and the controller can determine whether the detection signals generated by the detection modules are caused by a drastic change in the ambient temperature according to the detection signals generated by the two detection modules, thereby improving the accuracy of the detection device and solving the problem of low detection accuracy of the detection device affected by the drastic change in the ambient temperature.

[0054] Figure 2 It is a schematic flowchart of a dynamic target detection method provided by an embodiment of the present application. As Figure 2 shown, it includes steps S201 - S203.

[0055] S201: The controller receives the first detection signal, and the first detection signal is generated by the first detection module when detecting temperature changes in the first area and / or the second area.

[0056] Specifically, the controller continuously receives the detection signal of the first detection module, and obtains the second detection signal when receiving the first detection signal.

[0057] S202: The controller obtains a second detection signal within a first preset time. The second detection signal is generated by the second detection module when a temperature change occurs in the first area and / or the second area.

[0058] Specifically, the second detection signal is obtained within a preset time after the generation of the first detection signal (for example, 10s can be configured based on the areas of the first area, the second area, and the third area).

[0059] S203: If the second detection signal is successfully obtained and the first detection signal has not been interrupted before the successful acquisition of the second detection signal, the controller determines whether a dynamic target is detected based on the first detection signal and the second detection signal.

[0060] Specifically, if the second detection signal is successfully obtained and the first detection signal has not been interrupted before the successful acquisition of the second detection signal, the controller determines that the first detection signal and the second detection signal here are basically valid, and temporarily excludes that the first detection signal and the second detection signal are caused by a sudden temperature change. At this time, it is further determined whether a dynamic target is detected based on the first detection signal and the second detection signal.

[0061] Optionally, determining whether a dynamic target is detected based on the first detection signal and the second detection signal includes: if the second detection signal is interrupted before the first detection signal is interrupted, it is determined that no dynamic target is detected; if the second detection signal is not interrupted before the first detection signal is interrupted, it is determined that a dynamic target is detected.

[0062] Specifically, in the embodiments of the present application, it is mainly determined whether a dynamic target is detected based on whether the second detection signal and the first detection signal are interrupted simultaneously.

[0063] Please refer to Figure 3 , Figure 3 which is a schematic diagram of the movement trajectory of a dynamic target provided by the embodiments of the present application. It can be seen that after the dynamic target enters the second area, if the dynamic target continues to move along the illustrated movement trajectory, then if the dynamic target needs to enter the third area or even enter Figure 3 the user-set restricted area shown, the second detection signal will not be interrupted before the first detection signal terminates.

[0064] Therefore, if the second detection signal is interrupted before the first detection signal is interrupted, it is determined that no dynamic target is detected. Here, the interruption specifically refers to the level of the detection signal changing from high level (effective trigger state) to low level (untriggered state) and lasting for more than a preset duration (for example, 200ms).

[0065] In addition, if the dynamic target turns back to the first area, in this case, the second detection signal will also be interrupted before the first detection signal is interrupted, but in this situation, the dynamic target will not enterFigure 3 the user-set restricted area shown in [figure reference], so there is no need for subsequent steps such as alarming for dynamic targets. Therefore, it can also be determined that no dynamic target is detected (or it is determined that the dynamic target will not enter the restricted area, and the final processing result of the detection device is the same).

[0066] If the second detection signal does not interrupt before the first detection signal interrupts, it indicates that the interruption order of the first detection signal and the second detection signal conforms to the movement trajectory of the dynamic target passing through the first area, the second area, and the third area in sequence. At this time, it is determined that the first detection signal and the second detection signal are not mis-triggered due to a sudden drop in temperature, so it is determined that a dynamic target is detected.

[0067] It can be seen that in the embodiment of the present application, through the interruption order of the first detection signal and the second detection signal, it is possible to exclude the situation where the interruption order of the first detection signal and the second detection signal does not conform to the possible movement trajectory of the dynamic target, reduce the misjudgment of the detection device, and thus improve the detection accuracy of the detection device.

[0068] Optionally, if the second detection signal does not interrupt before the first detection signal interrupts, the method further includes: if the second detection signal and the first detection signal interrupt simultaneously, it is determined that the movement type of the dynamic target is non-straight movement; if the first detection signal interrupts first and the second detection signal interrupts later, it is determined that the movement type of the dynamic target is straight movement; and it is determined whether to alarm for the dynamic target according to the movement type of the dynamic target.

[0069] Specifically, please refer to Figure 4 , Figure 4 which is another schematic diagram of the movement trajectory of the dynamic target provided by the embodiment of the present application. It can be seen that relative to the scenario shown in [[figure reference]], in the scenario shown in [[figure reference]], the dynamic target in the second area may have two movement directions, including the first direction and the second direction. Figure 3 in [[figure reference]] Figure 4 shown, the dynamic target in the second area may have two movement directions, including the first direction and the second direction.

[0070] If the movement direction of the dynamic target is the first direction, the situation where the second detection signal and the first detection signal interrupt simultaneously will occur. At this time, it is determined that the movement type of the dynamic target is non-straight movement.

[0071] If the movement direction of the dynamic target is the second direction, the first detection signal interrupts first and the second detection signal interrupts later, then it is determined that the movement type of the dynamic target is straight movement.

[0072] Furthermore, it is determined whether to alarm for the dynamic target according to the movement type of the dynamic target.

[0073] Exemplarily, according to the scenario shown in [[figure reference]], it can be seen that if the movement type of the dynamic target is straight movement, the dynamic target is very likely to enter, for example, Figure 4 shown in [[figure reference]]Figure 4 For the restricted area described above, an alarm is then issued for dynamic targets at this time.

[0074] If the movement type of the dynamic target is non-straight movement, the dynamic target will not enter the restricted area as Figure 4 described above, and an alarm is not issued for the dynamic target at this time.

[0075] The above judgment conditions are only examples. In actual application scenarios, it is also necessary to determine the movement type that requires an alarm according to the specific position of the entered area.

[0076] It can be seen that in the embodiment of the present application, by judging the movement type of the dynamic target, it is possible to determine whether the dynamic target is moving straight or non-straight, reducing false alarms for moving targets such as temporary stays and passers-by, thereby reducing equipment energy consumption and user interference.

[0077] Embodiment 2: In Embodiment 1, a detection method for determining whether a detection device detects a dynamic target based on a first detection signal and a second detection signal is described. Based on this, on the premise of considering the influence of environmental temperature on the detection device, the embodiment of the present application also provides a more detailed dynamic target detection method.

[0078] In the embodiment of the present application, the detection module includes a sensor, a first-stage operational amplifier circuit, and a second-stage operational amplifier circuit. The first-stage operational amplifier circuit and the second-stage operational amplifier circuit are used to amplify the original signal obtained by the sensor based on the amplification factor to obtain a detection signal. The detection device also includes a temperature sensing module, and the temperature sensing module is used to measure the environmental temperature.

[0079] The sensor is specifically a pyroelectric sensor. The sensor obtains a corresponding infrared signal (i.e., the first detection signal and the second detection signal described above) by detecting infrared radiation in the surrounding environment; the infrared signal is first amplified by the first-stage operational amplifier circuit, and at the same time, noise processing is also required for the first infrared signal; the infrared signal processed by the first operational amplifier circuit is secondarily amplified by the second operational amplifier circuit to amplify the infrared signal to the amplification factor (i.e., the preset amplification factor, such as 50 times, 100 times, etc.), and finally the infrared signal amplified to the amplification factor is input into the controller through an analog-to-digital conversion circuit or an analog-to-digital conversion interface.

[0080] Please refer to Figure 5 , Figure 5 , which is a schematic flowchart of another dynamic target detection method provided in the embodiment of the present application, including steps S501 - S507.

[0081] S501: The controller obtains the environmental temperature measured and generated by the temperature sensing module.

[0082] Specifically, the temperature sensing module here measures the temperature at preset time intervals (such as 30s, 1min, etc.) to generate the ambient temperature here. As a result, the controller obtains the ambient temperature measured and generated by the temperature sensing module here.

[0083] S502: The controller calculates the target temperature difference between the ambient temperature and the target temperature, where the target temperature is the temperature corresponding to the dynamic target.

[0084] Specifically, the controller calculates the target temperature difference between the ambient temperature and the target temperature, where the target temperature here is the temperature corresponding to the dynamic target.

[0085] Further, if the dynamic target is specifically the target temperature of the target person here, it corresponds to the surface temperature of the person. The specific selectable range of the target temperature is 30 - 37°C, etc.

[0086] If the dynamic target is specifically the target temperature of the target vehicle here, it corresponds to the surface temperature of the vehicle. The specific selectable range of the target temperature is 25 - 50°C, etc. The specific values of the above target temperatures can also be determined according to the current season information. For example, the temperature in summer is 30°C, and the temperature in winter is 25°C.

[0087] Exemplarily, if the current ambient temperature is 20°, and the target temperature of the dynamic target is 35°C, the target temperature difference between the ambient temperature and the target temperature is 35°C - 20°C = 15°C.

[0088] S503: The controller determines the target magnification according to the target temperature difference, and the target magnification is negatively correlated with the target temperature difference.

[0089] Specifically, in the embodiment of the present application, the detection module includes a sensor, a first-stage operational amplifier circuit, and a second-stage operational amplifier circuit. The sensor here is specifically a pyroelectric sensor. The detection principle of the sensor is to detect the infrared radiation in the environment of the target area (the target area of the first detection module specifically refers to the first area and the second area). When the dynamic target enters the target area, it will cause a change in infrared radiation and thus output an infrared signal.

[0090] Therefore, for the sensor, the smaller the difference between the temperature of the dynamic target and the ambient temperature, the smaller the change amplitude of the infrared radiation caused by the dynamic target entering the target area; the larger the difference between the temperature of the dynamic target and the ambient temperature, the larger the change amplitude of the infrared radiation caused by the dynamic target entering the target area.

[0091] Therefore, the controller determines the target magnification according to the target temperature difference, and the target magnification is negatively correlated with the target temperature difference.

[0092] S504: The controller adjusts the magnification to the target magnification.

[0093] Specifically, the controller adjusts at least one operational amplifier circuit in the first detection module and the second detection module, including the primary operational amplifier circuit and the secondary operational amplifier circuit, to adjust the amplification factor to the target amplification factor.

[0094] It can be seen that in the embodiment of the present application, by adjusting the amplification factor of the operational amplifier circuit in the detection module according to the ambient temperature, the amplification factor of the operational amplifier circuit is matched with the ambient temperature, improving the detection accuracy of the detection device.

[0095] S505: The controller receives the first detection signal, which is generated by the first detection module when a temperature change occurs in the first area and / or the second area.

[0096] Optionally, the detection device further includes a first analog switch chip and a second analog switch chip. Adjusting the amplification factor to the target amplification factor includes: controlling the first analog switch chip to adjust the amplification factor of the secondary operational amplifier circuit of the first detection module to adjust the amplification factor of the first detection module to the target amplification factor; controlling the second analog switch chip to adjust the amplification factor of the secondary operational amplifier circuit of the second detection module to adjust the amplification factor of the second detection module to the target amplification factor.

[0097] Specifically, in the embodiment of the present application, the controller controls the first analog switch chip to adjust the secondary operational amplifier circuit in the first detection module, and controls the second analog switch chip to adjust the secondary operational amplifier circuit in the second detection module, so as to adjust the amplification factors of the first detection module and the second detection module to the target amplification factors.

[0098] The analog switch chip (including the first analog switch chip and the second analog switch chip) is an electronic component used to control the on / off of analog signals. By controlling the signal at its input terminal, the analog switch can achieve signal switching, distribution, or mixing. In this embodiment, the analog switch chip is used to switch the parameters of the secondary operational amplifier circuit to achieve the switching of the amplification factor of the secondary operational amplifier circuit.

[0099] Exemplarily, please refer to Figure 6 , Figure 6 FIG. 22 is a schematic diagram of the internal structure of a detection device provided by an embodiment of the present application. The detection device 101 includes a controller 1011, a temperature sensing module 1014, a first analog switch chip 601, a second analog switch chip 602, a first sensor 603, a first operational amplifier circuit 604, a second operational amplifier circuit 605, a second sensor 606, a third operational amplifier circuit 607, and a fourth operational amplifier circuit 608.

[0100] Among them, the first sensor 603, the first operational amplifier circuit 604, and the second operational amplifier circuit 605 belong to the first detection module 1012; the second sensor 606, the third operational amplifier circuit 607, and the fourth operational amplifier circuit 608 belong to the second detection module 1013.

[0101] First, for the first detection module 1012, the first sensor 603 therein is a pyroelectric sensor. When temperature changes occur in the first area and the second area, the first sensor 603 generates an original signal (i.e., the infrared signal mentioned above).

[0102] The original signal generated by the first sensor 603 first passes through the first operational amplifier circuit 604 (i.e., the first-stage operational amplifier circuit of the first detection module 1012). After being processed by the first operational amplifier circuit 604, the original signal then passes through the second operational amplifier circuit 605 (i.e., the second-stage operational amplifier circuit of the first detection module 1012) for processing to obtain the first detection signal. Finally, the first detection signal is input into the controller 1011 through an analog-to-digital conversion circuit or an analog-to-digital conversion interface.

[0103] For the second detection module 1013, the second sensor 606 therein is a pyroelectric sensor. When temperature changes occur in the first area and the second area, the second sensor 606 generates an original signal (i.e., the infrared signal mentioned above).

[0104] The original signal generated by the second sensor 606 first passes through the third operational amplifier circuit 607 (i.e., the first-stage operational amplifier circuit of the second detection module 1013). After being processed by the third operational amplifier circuit 607, it then passes through the fourth operational amplifier circuit 608 (i.e., the second-stage operational amplifier circuit of the second detection module 1013) for processing to obtain the second detection signal. Finally, the second detection signal is input into the controller 1011 through an analog-to-digital conversion circuit or an analog-to-digital conversion interface.

[0105] The temperature sensing module 1014 acquires the temperature in the environment and generates the ambient temperature. The controller 1011 acquires the ambient temperature here and calculates the target magnification based on the ambient temperature. For a detailed description of calculating the target magnification based on the ambient temperature, please refer to the relevant content mentioned above, which will not be elaborated here.

[0106] After calculating the target magnification, the controller 1011 then calculates the adjustment magnification of the two second-stage operational amplifier circuits (i.e., the second operational amplifier circuit 605 and the fourth operational amplifier circuit 608) based on the magnification of the current two groups of first-stage and second-stage operational amplifier circuits. And adjusts the magnification of the two second-stage operational amplifier circuits to the adjustment magnification to adjust the magnification of the detection module to the target magnification.

[0107] Here, the first operational amplifier circuit 604 and the second operational amplifier circuit 605 are taken as examples for illustration. If the target magnification is 200 times, the magnification of the current first operational amplifier circuit 604 is 5 times, and the magnification of the second operational amplifier circuit 605 is 20 times. The magnification of the current first detection module 1012 is 5×20 = 100 times. To adjust the magnification of the final first detection module 1012 to 200 times, the magnification of the second operational amplifier circuit 605 needs to be adjusted to 40 times. Therefore, the adjustment magnification of the second operational amplifier circuit 605 is 40 times.

[0108] After determining the adjustment magnification of the second operational amplifier circuit 605, the controller 1011 controls the first analog switch chip 601 to adjust the magnification of the second operational amplifier circuit 605 to 40 times.

[0109] For the detailed description of the controller 1011 controlling the second analog switch chip 602 to adjust the magnification of the fourth operational amplifier circuit 608 to the target magnification, please refer to the description of the controller 1011 controlling the first analog switch chip 601 to adjust the magnification of the second operational amplifier circuit 605 to the target magnification.

[0110] Furthermore, if the detection device here is configured with multiple temperature sensing modules 1014, the controller 1011 can also calculate different target magnifications according to the ambient temperatures obtained by the multiple temperature sensing modules 1014 for the ambient temperatures where the first detection module 1012 and the second detection module 1013 are located, and respectively adjust the second operational amplifier circuit 605 and the fourth operational amplifier circuit 608 to the corresponding different target magnifications through the first analog switch chip 601 and the second analog switch chip 602.

[0111] It can be seen that in the embodiment of the present application, by respectively adjusting the magnification of the secondary operational amplifier circuits in the first detection module and the second detection module through the first analog switch chip and the second analog switch chip, the magnification of the operational amplifier circuit is matched with the ambient temperature, and at the same time, the noise processing of the primary operational amplifier circuit is not affected, improving the accuracy of the detection signal.

[0112] S506: The controller obtains the second detection signal within the first preset time. The second detection signal is generated when the second detection module detects a temperature change in the first area and / or the second area.

[0113] S507: If the second detection signal is successfully obtained and the first detection signal has not been interrupted before the second detection signal is successfully obtained, the controller determines whether a dynamic target is detected according to the first detection signal and the second detection signal.

[0114] For the detailed description of steps S505 - S507, please refer to the relevant descriptions of steps S201 - S203, which will not be elaborated here.

[0115] Embodiment 3: In Embodiment 1, a detection method for determining whether a detection device has detected a dynamic target based on a first detection signal and a second detection signal is described. Based on this, on the premise of considering the influence of environmental temperature on the first detection module and the second detection module, the embodiments of the present application also provide another more detailed dynamic target detection method. Please refer to Figure 7 , Figure 7 which is a schematic flowchart of yet another dynamic target detection method provided by the embodiments of the present application, including steps S701 - S705.

[0116] S701: The controller receives a first detection signal, which is generated by the first detection module when detecting a temperature change in the first area and / or the second area.

[0117] S702: The controller obtains a second detection signal within a first preset time, which is generated by the second detection module when detecting a temperature change in the first area and / or the second area.

[0118] For the detailed description of steps S701 and S702, please refer to the relevant descriptions of steps S201 and S202, which will not be elaborated here.

[0119] S703: The controller obtains multiple ambient temperatures generated by the temperature sensing module before a second preset time.

[0120] Specifically, in the embodiments of the present application, after the controller receives the first detection signal, in addition to obtaining the second detection signal within the first preset time, it is also necessary to obtain multiple ambient temperatures generated by the temperature sensing module before the second preset time to determine whether a sudden temperature change has occurred within the preset time.

[0121] The second preset time here is specifically 30s, 1min, 2min, etc. Within the second preset time, the temperature sensing module continuously collects ambient temperature data at a fixed sampling frequency (for example, once per second), and records the ambient temperatures collected within the second preset time (such as 10 seconds) and saves them.

[0122] The controller needs to determine whether there is a situation where the numerical difference between two or more consecutive ambient temperatures is too large among the multiple ambient temperatures generated before the second preset time, so as to determine whether a sudden temperature change has occurred.

[0123] It should be noted that the execution order of steps S702 and S703 can be simultaneous or sequential. Here, the example is that S702 is executed first and then S703.

[0124] S704: The controller determines whether a sudden temperature change has occurred in the measured environment based on the multiple ambient temperatures generated by the temperature sensing module before the second preset time.

[0125] Specifically, the controller calculates the difference between the initial and final temperatures of the ambient temperature for each time window among multiple ambient temperatures according to a preset time window (such as 15s, 20s, etc.). When the difference between the initial and final temperatures is greater than a preset threshold (such as 5°C, etc.), it is determined that a sudden temperature change has occurred in the measured environment.

[0126] S705: If the second detection signal is successfully acquired and the first detection signal has not been interrupted before the successful acquisition of the second detection signal, it is determined that no sudden temperature change has occurred in the measured environment. Then the controller determines whether a dynamic target is detected based on the first detection signal and the second detection signal.

[0127] Specifically, on the premise that the second detection signal is successfully acquired and the first detection signal has not been interrupted before the successful acquisition of the second detection signal, it is determined that no sudden temperature change has occurred in the measured environment. Then the controller determines whether a dynamic target is detected based on the first detection signal and the second detection signal.

[0128] Optionally, if it is determined that a sudden temperature change has occurred in the measured environment, the method further includes: calculating the generation interval between the first detection signal and the second detection signal; if the generation interval between the first detection signal and the second detection signal is less than a third preset time, it is determined that no dynamic target is detected, and the third preset time is less than the first preset time; if the generation interval between the first detection signal and the second detection signal is greater than or equal to the third preset time, the moving speed of the dynamic target is calculated based on the generation interval between the first detection signal and the second detection signal; if the moving speed of the dynamic target is less than the preset speed, it is determined that a dynamic target is detected; if the moving speed of the dynamic target is greater than or equal to the preset speed, it is determined that no dynamic target is detected.

[0129] Specifically, based on the above relevant description of the triggering principle of the pyroelectric sensor, on the premise that a sudden temperature change has occurred in the measured environment, both the first detection signal and the second detection signal here may be caused by the sudden temperature change. Therefore, in the embodiments of the present application, on the premise that the second detection signal is successfully acquired and the first detection signal has not been interrupted before the successful acquisition of the second detection signal, it is also necessary to verify the generation interval between the first detection signal and the second detection signal according to the generation interval between the first detection signal and the second detection signal.

[0130] First, the controller determines whether the generation interval between the first detection signal and the second detection signal is less than a third preset time. Here, the third preset time is related to the distance between the first area and the second area. The closer the first area and the second area are, the shorter the third preset time is, and the farther the first area and the second area are, the longer the third preset time is.

[0131] If the reason for the generation of the first detection signal and the second detection signal is that a dynamic target enters the first area and the second area successively, then if the generation interval between the first detection signal and the second detection signal is actually the time taken for the dynamic target to enter the first area and then enter the second area, and if this time is too fast and exceeds the normal movement speed of the dynamic target, on the premise that it is determined that the temperature in the measured environment has changed suddenly, it is then determined that the first detection signal and the second detection signal are generated due to the sudden temperature change in the measured environment, rather than due to the dynamic target.

[0132] If the generation interval between the first detection signal and the second detection signal is greater than or equal to the third preset time, it is necessary to calculate the movement speed of the dynamic target according to the generation interval between the first detection signal and the second detection signal.

[0133] At this time, the controller needs to obtain the generation interval between the first detection signal and the second detection signal, as well as the path distance between the first area and the second area.

[0134] It should be noted that the path distance here is not the straight-line distance from the first area to the second area, but the distance that the dynamic target needs to walk or drive to pass normally from the first area to the second area.

[0135] After determining the path distance and the generation interval between the first detection signal and the second detection signal, the movement speed of the dynamic target between the first area and the second area can be calculated.

[0136] After determining the movement speed of the dynamic target, it is necessary to determine whether the movement speed of the dynamic target meets the preset speed. The speed here is determined based on the dynamic target. If the dynamic target is a target pedestrian, the corresponding movement speed is 3 - 10 km / h; if the dynamic target here is a target vehicle, the corresponding movement speed is 10 - 30 km / h.

[0137] If the movement speed of the dynamic target is less than the preset speed, it is determined that a dynamic target is detected, that is, the movement speed of the dynamic target meets the normal movement speed, so the controller determines that a dynamic target is detected.

[0138] If the movement speed of the dynamic target is greater than or equal to the preset speed, that is, the movement speed of the dynamic target does not meet the normal movement speed, so it is determined that no dynamic target is detected, and the first detection signal and the second detection signal are more likely to be caused by a sudden temperature change.

[0139] It can be seen that in the embodiment of the present application, different verification methods are adopted according to whether the temperature in the measured environment has changed suddenly to verify whether the first detection signal and the second detection signal are caused by a sudden temperature change, thereby improving the detection accuracy of the detection device.

[0140] Optionally, if the second detection signal fails to be obtained within the first preset time, the method further includes: obtaining a plurality of ambient temperatures generated by the temperature sensing module before the second preset time; determining whether a sudden temperature change occurs in the environment to be measured according to the plurality of ambient temperatures; if no sudden temperature change occurs in the environment to be measured, determining that a dynamic target is detected, and the movement type of the dynamic target is movement and stay; if a sudden temperature change occurs in the environment to be measured, determining that no dynamic target is detected.

[0141] Specifically, in the embodiment of the present application, when the controller fails to obtain the second detection signal within the first preset time, that is to say, within the first preset time, the controller only receives the first detection signal. At this time, the controller needs to determine whether a sudden temperature change occurs in the environment to be measured and determine whether a dynamic target is detected according to the judgment result.

[0142] If a sudden temperature change occurs in the environment to be measured, it is determined that no dynamic target is detected, and the first detection signal is more likely to be caused by the sudden temperature change.

[0143] If no sudden temperature change occurs in the environment to be measured, it is determined that a dynamic target is detected, and the movement type of the dynamic target is movement and stay. Here, the movement and stay specifically means that the dynamic target enters the first area but does not enter the second area and the third area. Therefore, the controller needs to judge whether to give an alarm based on the next action of the moving target, which specifically includes the following steps.

[0144] Step 1: If the first detection signal is received again within the fourth preset duration after the interruption of the first detection signal, obtain the second detection signal within the first preset time after the first detection signal is received again.

[0145] Step 2: If the second detection signal is successfully obtained within the first preset time and the first detection signal is not interrupted before the second detection signal is successfully obtained, give an alarm for the dynamic target.

[0146] Specifically, after the dynamic target enters the first area and stays, if the dynamic target resumes movement and moves towards the second area and the third area at this time, it will cause the signal characteristics that the first detection signal is received again within the fourth preset duration after the interruption of the first detection signal, the second detection signal is obtained within the first preset time after the first detection signal is received again, and the first detection signal is not interrupted before the second detection signal is successfully obtained.

[0147] Therefore, it is judged at this time that the dynamic target will enter the restricted area again, and an alarm is given for the dynamic target at this time.

[0148] Further, if the acquisition of the second detection signal fails within the first preset time, no alarm is triggered. Only when the first detection signal appears again, the controller determines that the dynamic target has left the first area after staying in the first area for a period of time and has not entered the second area and the third area. Therefore, in this case, the detection device will not trigger an alarm.

[0149] By implementing the method in the above application embodiments, it can be seen that by using the dual detection modules to cooperate in detecting different areas, it is possible to distinguish between sudden environmental temperature changes and real dynamic targets, improving the detection accuracy. Further, based on the order of signal interruption, the sudden temperature change and real dynamic targets are judged, excluding false triggers that do not conform to the movement trajectory of the dynamic target, thereby reducing the misjudgment of the detection device. The controller judges the movement type (direct / non-direct) of the dynamic target, reducing false alarms for temporarily staying targets, and reducing device power consumption and user interference. The controller adaptively adjusts the operational amplifier magnification according to the ambient temperature, enabling the detection module to match the ambient temperature change and improving the detection accuracy. The analog switch chip independently adjusts the secondary operational amplifier magnification: improving the accuracy of the detection signal and not affecting the noise processing of the primary operational amplifier circuit. Different verification methods are used to identify sudden temperature change interference, further improving the detection accuracy.

[0150] Based on the description of the above configuration method embodiments, the present application also provides a dynamic target detection device 800. The dynamic target detection device 800 can be a computer program (including program code) running in Figure 1 the controller 1011 shown in Figure 2 、 Figure 5 and Figure 7 and is used to execute the methods shown in Figure 8 、 Figure 8 Please refer to Figure 8 、 Figure 8 which is a schematic structural diagram of a dynamic target detection device provided by an embodiment of the present application. The dynamic target detection device 800 includes:

[0151] A receiving unit 801, configured to receive a first detection signal, where the first detection signal is generated by the first detection module when detecting a temperature change in the first area and / or the second area.

[0152] An acquisition unit 802, configured to acquire a second detection signal within a first preset time, where the second detection signal is generated by the second detection module when detecting a temperature change in the first area and / or the second area.

[0153] A judgment unit 803, configured to, if the acquisition of the second detection signal is successful and the first detection signal has not been interrupted before the acquisition of the second detection signal is successful, judge whether a dynamic target is detected according to the first detection signal and the second detection signal.

[0154] In a possible embodiment, in terms of determining whether a dynamic target is detected based on the first detection signal and the second detection signal, the determination unit 803 is further specifically configured to: if the second detection signal is interrupted before the first detection signal is interrupted, determine that no dynamic target is detected; if the second detection signal is not interrupted before the first detection signal is interrupted, determine that a dynamic target is detected.

[0155] In a possible embodiment, if the second detection signal is not interrupted before the first detection signal is interrupted, the determination unit 803 is further specifically configured to: if the second detection signal and the first detection signal are interrupted simultaneously, determine that the movement type of the dynamic target is non-straight movement; if the first detection signal is interrupted first and the second detection signal is interrupted later, determine that the movement type of the dynamic target is straight movement; determine whether to issue an alarm for the dynamic target according to the movement type of the dynamic target.

[0156] In a possible embodiment, the detection module includes a sensor, a first-stage operational amplifier circuit, and a second-stage operational amplifier circuit. The first-stage operational amplifier circuit and the second-stage operational amplifier circuit are used to amplify the original signal obtained by the sensor based on the amplification factor to obtain the detection signal. The detection device further includes a temperature sensing module for measuring the ambient temperature. The acquisition unit 802 is further specifically configured to: acquire the ambient temperature measured and generated by the temperature sensing module; calculate the target temperature difference between the ambient temperature and the target temperature, where the target temperature is the temperature corresponding to the dynamic target; determine the target amplification factor according to the target temperature difference, and the target amplification factor is negatively correlated with the target temperature difference; adjust the amplification factor to the target amplification factor.

[0157] In a possible embodiment, in the case that the detection device further includes a first analog switch chip and a second analog switch chip and adjusts the amplification factor to the target amplification factor, the determination unit 803 is further specifically configured to: control the first analog switch chip to adjust the amplification factor of the second-stage operational amplifier circuit of the first detection module to adjust the amplification factor of the first detection module to the target amplification factor; control the second analog switch chip to adjust the amplification factor of the second-stage operational amplifier circuit of the second detection module to adjust the amplification factor of the second detection module to the target amplification factor.

[0158] In a possible embodiment, before determining whether a dynamic target is detected based on the first detection signal and the second detection signal, the acquisition unit 802 is further specifically configured to: acquire multiple ambient temperatures generated by the temperature sensing module before a second preset time; determine whether the measured environment has a sudden temperature change according to the multiple ambient temperatures generated by the temperature sensing module before the second preset time; determine that the measured environment has not had a sudden temperature change.

[0159] In a possible embodiment, if it is determined that the temperature of the measured environment suddenly changes, the determination unit 803 is further specifically configured to: calculate the generation interval between the first detection signal and the second detection signal; if the generation interval between the first detection signal and the second detection signal is less than a third preset time, it is determined that no dynamic target is detected, and the third preset time is less than the first preset time; if the generation interval between the first detection signal and the second detection signal is greater than or equal to the third preset time, calculate the moving speed of the dynamic target according to the generation interval between the first detection signal and the second detection signal; if the moving speed of the dynamic target is less than the preset speed, it is determined that a dynamic target is detected; if the moving speed of the dynamic target is greater than or equal to the preset speed, it is determined that no dynamic target is detected.

[0160] Based on the descriptions of the above method embodiments and apparatus embodiments, please refer to Figure 9 , Figure 9 which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Figure 9 The illustrated electronic device 900 (the electronic device 900 may specifically be a computer device, Figure 1 the illustrated controller 1011) includes a memory 901, a processor 902, a communication interface 903, and a bus 904. Among them, the memory 901, the processor 902, and the communication interface 903 are communicatively connected to each other through the bus 904.

[0161] The memory 901 may be a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).

[0162] The memory 901 may store a program. When the program code stored in the memory 901 is executed by the processor 902, the processor 902 and the communication interface 903 are used to execute the respective steps of the dynamic target detection method of the embodiments of the present application.

[0163] The processor 902 may adopt a general-purpose central processing unit (CPU), a microcontroller, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU), or one or more integrated circuits, and is used to execute relevant programs to implement the functions required by the units in the electronic device 900 of the embodiments of the present application, or execute the dynamic target detection method of the method embodiments of the present application.

[0164] The processor 902 can also be an integrated circuit chip with the ability to process signals. In the implementation process, each step of the dynamic target detection method of the present application can be completed by the integrated logic circuit of the hardware in the processor 902 or the instructions in the form of software. The above-mentioned processor 902 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microcontroller or the processor can also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by the combination of the hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, etc. This storage medium is located in the memory 901, and the processor 902 reads the information in the memory 901 and combines its hardware to complete the functions required to be executed by the units included in the electronic device 900 in the embodiments of the present application, or executes the dynamic target detection method in the method embodiments of the present application.

[0165] The communication interface 903 uses a transceiver device such as, but not limited to, a transceiver to implement the communication between the electronic device 900 and other devices or communication networks. For example, data can be obtained through the communication interface 903.

[0166] The bus 904 can include a path for transmitting information between various components of the electronic device 900 (for example, the memory 901, the processor 902, the communication interface 903).

[0167] It should be noted that although Figure 9 the shown electronic device 900 only shows the memory 901, the processor 902, and the communication interface 903, in the specific implementation process, those skilled in the art should understand that the electronic device 900 also includes other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the electronic device 900 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the electronic device 900 may also only include the devices necessary for implementing the embodiments of the present application, and do not necessarily include Figure 9 all the devices shown in

[0168] An embodiment of the present application also provides a chip, which includes a processor and a data interface. The processor reads instructions stored on a memory through the data interface to implement the dynamic target detection method described above.

[0169] Optionally, as an implementation, the chip may further include a memory, in which instructions are stored. The processor is configured to execute the instructions stored on the memory. When the instructions are executed, the processor is configured to execute the dynamic target detection method described above.

[0170] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When it runs on a computer or a processor, it causes the computer or the processor to execute one or more steps in any of the above methods.

[0171] An embodiment of the present application also provides a computer program product containing instructions. When the computer program product runs on a computer or a processor, it causes the computer or the processor to execute one or more steps in any of the above methods.

[0172] Those skilled in the art can understand that the functions described in connection with the various illustrative logical blocks, modules, and algorithm steps disclosed herein can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions described in the various illustrative logical blocks, modules, and steps can be stored or transmitted as one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. The computer-readable medium can include a computer-readable storage medium, which corresponds to a tangible medium, such as a data storage medium, or a communication medium that includes any medium that facilitates the transfer of a computer program from one place to another (e.g., based on a communication protocol). In this way, the computer-readable medium generally corresponds to (1) a non-transitory tangible computer-readable storage medium, or (2) a communication medium, such as a signal or a carrier wave. The data storage medium can be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the technologies described in the present application. The computer program product can include a computer-readable medium.

[0173] By way of example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory, or any other medium that can be used to store the desired program code in the form of instructions or data structures and that is accessible by a computer. Also, any connection is properly termed a computer-readable medium. For example, if instructions are transmitted using coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. However, it should be understood that the computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transient media, but rather are directed to non-transitory tangible storage media. As used herein, disk and optical disks include compact disk (CD), laser disk, optical disk, digital versatile disk (DVD), and Blu-ray disk, where disks typically reproduce data magnetically, while optical disks utilize lasers to optically reproduce data. Combinations of the above should also be included within the scope of computer-readable media.

[0174] The instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microcontrollers, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Thus, the term "processor" as used herein may refer to any of the foregoing structures or any other structure suitable for implementing the techniques described herein. Additionally, in some aspects, the functions described for the various illustrative logical blocks, modules, and steps may be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated in a combined codec. Moreover, the techniques may be fully implemented in one or more circuits or logic elements.

[0175] The techniques of the present application may be implemented in a variety of devices or apparatuses, including wireless handsets, integrated circuits (ICs), or a group of ICs (e.g., a chipset). Various components, modules, or units are described in this application to emphasize functional aspects of the devices for performing the disclosed techniques, but need not be implemented by different hardware units. In fact, as described above, the various units may be combined in a coding hardware unit with suitable software and / or firmware, or provided by interoperating hardware units including one or more processors as described above.

[0176] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the specific descriptions of the corresponding steps in the foregoing method embodiments, and will not be elaborated herein.

[0177] It should be understood that in the description of this application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship. For example, A / B can represent A or B; where A and B can be singular or plural. Also, in the description of this application, unless otherwise specified, "a plurality of" means two or more than two. "At least one (item)" or its similar expression refers to any combination of these items, including any combination of single item (s) or plural items (s). For example, at least one (item) of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c can be single or multiple. Additionally, for the convenience of clearly describing the technical solutions of the embodiments of this application, in the embodiments of this application, terms such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and roles. Those skilled in the art can understand that the terms "first" and "second" do not limit the quantity and execution order, and the terms "first" and "second" do not necessarily mean different. At the same time, in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, using words such as "exemplary" or "for example" aims to present relevant concepts in a specific way for easy understanding.

[0178] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the division of the unit is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The couplings, direct couplings, or communication connections shown or discussed with each other can be through some interfaces, and the indirect couplings or communication connections of devices or units can be in electrical, mechanical, or other forms.

[0179] The unit described as a separated component may or may not be physically separated, and the component shown as a unit may or may not be a physical unit, that is, it can be located in one place, or can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0180] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a read-only memory (ROM), a random access memory (RAM), a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape, a magnetic disk, or an optical medium, such as a digital versatile disc (DVD), or a semiconductor medium, such as a solid state disk (SSD), etc.

[0181] As described above, the above is only the specific implementation manner of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application should be subject to the protection scope of the claims.

[0182] The device embodiments described above are merely illustrative. The units and modules described as separate components may or may not be physically separated. Additionally, some or all of the units and modules can be selected according to actual needs to achieve the objectives of the solutions of this embodiment. A person of ordinary skill in the art can understand and implement it without creative effort.

[0183] The above description is only the specific implementation manner of the present application. It should be noted that for those of ordinary skill in the art in the technical field of the present application, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.

Claims

1. A dynamic target detection method, characterized in that, A controller applied to a detection device, the detection device further comprising a first detection module and a second detection module, the first detection module being configured to generate a detection signal when a temperature change occurs in a first area and / or a second area, the second detection module being configured to generate a detection signal when a temperature change occurs in the second area and / or a third area, the detection device further comprising a temperature sensing module configured to measure the ambient temperature, the method comprising: Receiving a first detection signal, the first detection signal being generated by the first detection module when a temperature change occurs in a first area and / or a second area; Obtaining a second detection signal within a first preset time, the second detection signal being generated by the second detection module when a temperature change occurs in a first area and / or a second area; If the second detection signal is successfully obtained and the first detection signal has not been interrupted before the second detection signal is successfully obtained, then obtaining a plurality of ambient temperatures generated by the temperature sensing module before a second preset time; judging whether the measured environment has a sudden temperature change according to the plurality of ambient temperatures generated by the temperature sensing module before the second preset time; determining that the measured environment has not had a sudden temperature change and judging whether the dynamic target is detected according to the first detection signal and the second detection signal; If it is determined that the measured environment has a sudden temperature change, then calculating the generation interval between the first detection signal and the second detection signal; if the generation interval between the first detection signal and the second detection signal is less than a third preset time, then determining that the dynamic target is not detected, the third preset time being less than the first preset time, the closer the distance between the first area and the second area, the shorter the third preset time, and the farther the distance between the first area and the second area, the longer the third preset time; if the generation interval between the first detection signal and the second detection signal is greater than or equal to the third preset time, then calculating the moving speed of the dynamic target according to the generation interval between the first detection signal and the second detection signal; if the moving speed of the dynamic target is less than a preset speed, then determining that the dynamic target is detected; if the moving speed of the dynamic target is greater than or equal to the preset speed, then determining that the dynamic target is not detected; if the dynamic target is a target pedestrian, then the preset speed is 3 - 10 km / h; if the dynamic target is a target vehicle, the preset speed is 10 - 30 km / h.

2. The method according to claim 1, wherein The judging whether the dynamic target is detected according to the first detection signal and the second detection signal includes: If the second detection signal is interrupted before the first detection signal is interrupted, then determining that the dynamic target is not detected; If the second detection signal is not interrupted before the first detection signal is interrupted, then determining that the dynamic target is detected.

3. The method according to claim 2, wherein If the second detection signal is not interrupted before the first detection signal is interrupted, the method further comprises: If the second detection signal and the first detection signal are interrupted simultaneously, then determining that the moving type of the dynamic target is non - straight - line movement; If the first detection signal is interrupted first and the second detection signal is interrupted later, it is determined that the movement type of the dynamic target is a straight movement; Determine whether to issue an alarm for the dynamic target according to the movement type of the dynamic target.

4. The method according to any one of claims 1 to 3, characterized in that Both the first detection module and the second detection module include a sensor, a first-stage operational amplifier circuit, and a second-stage operational amplifier circuit. The first-stage operational amplifier circuit and the second-stage operational amplifier circuit are used to amplify the original signal obtained by the sensor based on the amplification factor to obtain a detection signal. The method further includes: Obtain the ambient temperature measured and generated by the temperature sensing module; Calculate the target temperature difference between the ambient temperature and the target temperature, where the target temperature is the temperature corresponding to the dynamic target; Determine the target amplification factor according to the target temperature difference, and the target amplification factor is negatively correlated with the target temperature difference; Adjust the amplification factor to the target amplification factor.

5. The method according to claim 4, characterized in that, The detection device further includes a first analog switch chip and a second analog switch chip. The adjusting the amplification factor to the target amplification factor includes: Controlling the first analog switch chip to adjust the amplification factor of the second-stage operational amplifier circuit of the first detection module to adjust the amplification factor of the first detection module to the target amplification factor; Controlling the second analog switch chip to adjust the amplification factor of the second-stage operational amplifier circuit of the second detection module to adjust the amplification factor of the second detection module to the target amplification factor.

6. The method according to claim 4, characterized in that, The method further includes: If the second detection signal fails to be obtained within the first preset time, obtain multiple ambient temperatures generated by the temperature sensing module before the second preset time; judge whether the measured environment has a sudden temperature change according to the multiple ambient temperatures; If the measured environment has a sudden temperature change, it is determined that the dynamic target has not been detected; If the measured environment has not had a sudden temperature change and the first detection signal is received again within the fourth preset duration after the first detection signal is interrupted, obtain the second detection signal within the first preset time after the first detection signal is received again; if the second detection signal is successfully obtained within the first preset time after the first detection signal is received again and the first detection signal has not been interrupted before the second detection signal is successfully obtained, an alarm is issued for the dynamic target.

7. A dynamic target detection device, characterized in that, The dynamic target detection device is used to execute the dynamic target detection method. The dynamic target detection device belongs to the detection device. The detection device further includes a first detection module and a second detection module. The first detection module is used to generate a detection signal when a temperature change occurs in the first area and / or the second area. The second detection module is used to generate a detection signal when a temperature change occurs in the second area and / or the third area. The detection device further includes a temperature sensing module for measuring the ambient temperature. The device includes: A receiving unit, configured to receive a first detection signal, where the first detection signal is generated by the first detection module when a temperature change occurs in the first area and / or the second area; An acquisition unit, configured to acquire a second detection signal within a first preset time, where the second detection signal is generated by the second detection module when a temperature change occurs in the first area and / or the second area; A determination unit, configured to, if the acquisition of the second detection signal is successful and the first detection signal has not been interrupted before the acquisition of the second detection signal is successful, acquire a plurality of ambient temperatures generated by the temperature sensing module before a second preset time; determine whether a sudden temperature change has occurred in the measured environment according to the plurality of ambient temperatures generated by the temperature sensing module before the second preset time; determine whether the dynamic target is detected according to the first detection signal and the second detection signal when it is determined that no sudden temperature change has occurred in the measured environment; The determination unit is configured to, if it is determined that a sudden temperature change has occurred in the measured environment, calculate the generation interval between the first detection signal and the second detection signal; if the generation interval between the first detection signal and the second detection signal is less than a third preset time, determine that the dynamic target has not been detected, where the third preset time is less than the first preset time, and the closer the distance between the first area and the second area, the shorter the third preset time, and the farther the distance between the first area and the second area, the longer the third preset time; if the generation interval between the first detection signal and the second detection signal is greater than or equal to the third preset time, calculate the moving speed of the dynamic target according to the generation interval between the first detection signal and the second detection signal; if the moving speed of the dynamic target is less than a preset speed, determine that the dynamic target has been detected; if the moving speed of the dynamic target is greater than or equal to the preset speed, determine that the dynamic target has not been detected; if the dynamic target is a target pedestrian, the preset speed is 3-10 km / h; if the dynamic target is a target vehicle, the preset speed is 10-30 km / h.

8. An electronic device, characterized in that, It includes a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and are configured to be executed by the processor. The programs include instructions for performing the steps in the method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to execute the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Monitoring device, control method thereof and computer readable storage medium

    CN119785557A