Infrared pyroelectric human body detection device, range adjustment method and networking control method

Through the infrared pyroelectric human body detection device combined with electromagnetic adjustment and displacement sensor, automatic adjustment of detection range and accurate detection of static human body are realized, solving the problem of inability to detect static state and automatic adjustment in the existing technology, and realizing intelligence Regional human body sensing detection expands application scenarios.

CN118501973BActive Publication Date: 2024-11-22JIANGSU STATE GRID AUTOMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410970473.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-22
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

The existing infrared pyroelectric human body detectors cannot automatically adjust the detection range, cannot detect human bodies in a static state, and cannot be linked with other detectors to achieve intelligent area human body sensing detection, and the application scenarios are limited.

Method used

An infrared pyroelectric human body detection device was designed to automatically adjust the detection range through electromagnetic adjustment technology, combine it with displacement sensor to realize accurate detection of the static human body, and wireless communication to realize network linkage of detectors, dynamically adjust the detection area to ensure accurate detection reliable.

Benefits of technology

It realizes automatic adjustment of the detection range and accurate detection of the stationary human body, meets more usage scenario needs, and avoids blind spots through networking linkage to ensure accurate and reliable detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118501973B_ABST
    Figure CN118501973B_ABST
Patent Text Reader

Abstract

The invention discloses an infrared pyroelectric human body detection device, a range adjustment method and a networking control method, which comprises a mounting seat, a mounting cylinder fixed on the mounting seat, a central fixed rod fixed in the mounting cylinder, a hollow slide rod movably sleeved on the central fixed rod, a pyroelectric sensor installed at the free end of the hollow slide rod, a permanent magnet ring installed at the bottom end of the hollow slide rod, an electromagnet coil fixed on the mounting seat and opposite to the permanent magnet ring, a spring located between the hollow slide rod and the electromagnet coil and holding the hollow slide rod axially outward, a control circuit board fixed on the mounting seat and electrically connected to the electromagnet coil and the pyroelectric sensor, an induction sheet fixed on the bottom end of the hollow slide rod, and a displacement sensor fixed on the mounting seat and sensing the axial distance of the induction sheet. The invention can automatically adjust the detection range, realize dynamic adjustment of static human body detection and regional human body detection, and realize intelligent regional human body induction detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of infrared detection devices, and in particular relates to an infrared pyroelectric human body detection device capable of realizing signal transmission and a control method. Background Art

[0002] Pyroelectric sensors, also known as human infrared sensors, are widely used in infrared fields such as anti-theft alarms, visitor notifications, and contactless switches. With the rapid development of smart home devices, human body detectors made of pyroelectric sensors have become an indispensable component of smart home devices. However, infrared pyroelectric sensors are passive detection sensors that can only detect moving human bodies, not stationary human bodies, and cannot re-identify human bodies in fixed positions. In addition, the detection range of the sensor is fixed after installation and is difficult to adjust.

[0003] Patent CN202903337U in the prior art discloses a static human body detector based on an electromagnet, which uses an electromagnet controller to control a shielding piece at the detection end of the sensor, and by alternately shielding the sensor back and forth, the static state simulates the effect of human movement, so that the human body detector of the utility model can not only detect a moving human body, but also a static human body. Patent CN203414175U discloses a swinging infrared probe device, which also uses a driving device to drive the infrared probe to swing, simulating human movement, thereby realizing the detection of moving and static human bodies.

[0004] Although the above two existing technologies can realize the detection of stationary human bodies, they cannot realize automatic adjustment of the detection range, nor can they cooperate with other detectors to realize intelligent regional human body sensing detection, and their application scenarios are limited.

[0005] Therefore, it is necessary to provide a new infrared pyroelectric human body detection device and control method to solve the above technical problems. Summary of the invention

[0006] One of the main purposes of the present invention is to provide an infrared pyroelectric human body detection device, which can automatically adjust the detection range, realize dynamic adjustment of static human body detection and regional human body detection, and realize intelligent regional human body sensing detection. One of the main purposes of the present invention is to provide an infrared pyroelectric human body detection device, which can automatically adjust the detection range, realize dynamic adjustment of static human body detection and regional human body detection, and realize intelligent regional human body sensing detection.

[0007] The present invention achieves the above-mentioned purpose through the following technical scheme: an infrared pyroelectric human body detection device, which includes a mounting seat, a mounting cylinder fixed on the mounting seat, a central fixed rod fixed at one end on the mounting seat and extending into the mounting cylinder at the other end, a hollow sliding rod movably sleeved on the central fixed rod and extending out of the mounting cylinder at one end, a pyroelectric sensor mounted on the free end of the hollow sliding rod, a permanent magnet ring mounted on one end of the hollow sliding rod located in the mounting cylinder, an electromagnet coil fixed on the mounting seat and opposite to the permanent magnet ring, a spring located between the hollow sliding rod and the electromagnet coil and holding the hollow sliding rod axially outward, a control circuit board fixed on the mounting seat and electrically connected to the electromagnet coil and the pyroelectric sensor, an induction sheet fixed on one end of the hollow sliding rod located in the mounting cylinder, and a displacement sensor fixed on the mounting seat and sensing the axial distance of the induction sheet.

[0008] Furthermore, the mounting seat is installed upside down at a high place with the opening facing downward, and the pyroelectric sensor extends downward out of the mounting cylinder; a limiter is provided in the mounting cylinder to ensure that the hollow sliding rod can slide axially smoothly and will not deflect; the interior of the central fixing rod is configured as a hollow structure, and the leads of the pyroelectric sensor pass through the interior of the central fixing rod and are electrically connected to the control circuit board.

[0009] Furthermore, the pyroelectric sensor is provided with a Fresnel lens.

[0010] Furthermore, the control circuit board is provided with a control system, and the control system includes a power supply module, an electromagnetic attraction control module, a processor module, a human body detection module and a control output module;

[0011] The processor module is configured with a microprocessor and peripheral circuits, a human-computer interaction module and a wireless radio frequency module which are in signal communication with the microprocessor and the peripheral circuits, parameter setting is achieved through the human-computer interaction module, and wireless data interaction is performed with other detection devices through the wireless radio frequency module;

[0012] The electromagnetic attraction control module is configured with a PWM chopping control circuit electrically connected to the microprocessor and the peripheral circuit and a controllable circuit source circuit electrically connected to the PWM chopping control circuit, the controllable circuit source circuit is electrically connected to the electromagnet coil, the PWM signal output by the microprocessor and the peripheral circuit outputs a variable DAI voltage through the PWM chopping control circuit, and the DAI voltage controls the corresponding current I, thereby controlling the current flowing through the electromagnet coil;

[0013] The human body detection module is configured with a pyroelectric sensor processing circuit electrically connected to the microprocessor and the peripheral circuit, and the displacement sensor is electrically connected to the microprocessor and the peripheral circuit. The pyroelectric sensor processing circuit is electrically connected to the pyroelectric sensor. When the pyroelectric sensor detects a human body, the pyroelectric sensor processing circuit outputs a human body detection signal HU to the microprocessor and the peripheral circuit; after the displacement sensor detects the protruding distance of the hollow sliding rod, it outputs a voltage Vs to the microprocessor and the peripheral circuit.

[0014] Another object of the present invention is to provide a detection range adjustment method for an infrared pyroelectric human body detection device, which is implemented based on the above-mentioned infrared pyroelectric human body detection device, and includes controlling the magnitude of the current I input into the electromagnet coil, and using the displacement sensor to collect the detection distance of the pyroelectric sensor and feedback the collected voltage Vs, obtaining a relationship curve between the current I and the collected voltage Vs, and obtaining an electromagnetic adjustment curve, and accurately controlling the detection distance of the pyroelectric sensor according to the electromagnetic adjustment curve, thereby realizing accurate adjustment of the detection range of the pyroelectric sensor.

[0015] Furthermore, the step of obtaining the electromagnetic regulation curve includes:

[0016] S11. In the initial state, the pyroelectric sensor is in a low position. At this time, the current I input into the electromagnet coil is zero, and the voltage collected by the displacement sensor is Vs min ;

[0017] S12, control the current in the input electromagnet coil to increase by the increment value dl, and record the voltage value dV collected by the displacement sensor every time the current value increases by dl i , we get a set of current and voltage points {(i*dl, Vs min +dV i )}, i=0,1,……,n, where n*dl=I max , Vs min +dV n =Vs max ; Connect all points in the point set to form the electromagnetic regulation curve.

[0018] Furthermore, the formation logic of the electromagnetic regulation curve includes:

[0019] S21, initialize the curve list data, set the initial current value I0 to 0, i=0;

[0020] S22, read Vs value and assign it to Vs min , set the current step length dl;

[0021] S23, determine whether Vs is equal to Vs max If not, then execute step S24; if so, record the current I max Vs max To the electromagnetic regulation curve list [I max , Vs max ], the logic ends;

[0022] S24, control output current I i+1 =I i +dl, control electromagnetic suction;

[0023] S25, read the current I after the delay setting time i+1 The voltage value Vs collected by the displacement sensor under control i+1 ;

[0024] S26, record current I i+1 and V i+1 To the electromagnetic regulation curve list [I i+1 , Vs i+1 ]middle;

[0025] S27, Judgement Vs i+1 Is it equal to Vs max If not, then i++ and return to step S24. If so, then end the logic.

[0026] Another object of the present invention is to provide a network detection control method for an infrared pyroelectric human body detection device, which is implemented based on the above-mentioned infrared pyroelectric human body detection device and includes the following steps:

[0027] S31, constructing a human body detection network system: which includes a plurality of infrared pyroelectric human body detection devices A i , i=0,1,...,N, N is the number of detection devices in the human body detection network system; in two adjacent detection devices, when the pyroelectric sensors in the two detection devices are at the lowest end in the longitudinal direction, the detection areas are continuous but do not overlap each other, ensuring that the entire area is covered and detected; when the pyroelectric sensors in the two detection devices are at the highest end in the longitudinal direction, the detection areas have partial overlap;

[0028] S32, when a human body enters detection device A i When the detection area SL is the vertebral area, the detection device A i Adjust the electromagnetic force to make the hollow slide rod slide to the highest point in the longitudinal direction, and the detection area becomes SH. At the same time, the detection device A i Notify the adjacent detection device A via wireless communication i+1 , detection device A i+1 Electromagnetic adjustment is also performed to make the hollow slide rod slide to the highest point in the longitudinal direction, and the detection device A i+1The detection range of the detection device A is adjusted from SL to SH; when a human body enters i+1 When the detection area of ​​the detection device A i+1 Adjustment has been completed, the detection area is SH, and the detection device A i+1 Notify detection device A i+2 Adjust the detection range from SL to SH; when a person enters the detection device A i+3 When the detection device A i Knowing that there is no one in this area and the adjacent areas, the detection range is automatically adjusted to the SL area.

[0029] Furthermore, when a human body stays in the detection area of ​​one of the detection devices, after a delay T1, if no entry signal is received from an adjacent detection device, the detection device periodically reciprocates between the detection range SH and the detection range SL for T2 to detect whether the human body remains stationary for a long time. If a pulse signal is detected, the reciprocating motion continues; if no pulse information is received after a cycle T2 of reciprocating motion, it is considered that the human body has left, and the detection device stops at the SL position.

[0030] Furthermore, it includes human body detection and electromagnetic regulation, and the formation logic of the human body detection and electromagnetic regulation includes:

[0031] S41, determining whether the detection device has received a human body detection mark from an adjacent detection device, if not, executing step S42, if yes, executing step S45;

[0032] S42, determining whether the detection flag of the detection device is 1, if not, executing step S43, if yes, executing step S47;

[0033] S43, judging whether the pyroelectric flag HU is 1, if so, executing step S44, if not, ending the logic;

[0034] S44, sending the human body detection flag of the detection device to the adjacent detection device through wireless communication, and setting the human body flag in the area to 1;

[0035] S45. Determine whether Vs is equal to Vs max , if not, execute step S46, if yes, end the logic;

[0036] S46, control the electromagnetic force according to the electromagnetic adjustment curve list, and adjust Vs to Vs max ;

[0037] S47, delay T1, determine whether the pyroelectric flag HU is 1, if so, execute step S48, if not, end the logic;

[0038] S48, setting a period T2, and adjusting the electromagnetic force according to T2 and the electromagnetic adjustment curve, so that the pyroelectric sensor reciprocates;

[0039] S49, determine whether Vs is equal to Vs max Vs min , if yes, then execute step S410, if no, then end the logic;

[0040] S410, determine whether the pyroelectric flag HU is 1, if not, clear the human flag in this area and adjust the detection device to Vs min Position, end the logic, if so, end the logic directly.

[0041] Compared with the prior art, the infrared pyroelectric human body detection device and control method of the present invention has the following beneficial effects: the detection range can be automatically adjusted, and the moving human body and the human body that has not moved for a long time can be detected. At the same time, the dynamic adjustment of the area of ​​regional human body detection can be realized, and intelligent regional human body sensing detection can be realized. Specifically:

[0042] (1) The detection distance of the pyroelectric sensor can be adjusted by electromagnetic adjustment, simulating human body movement and achieving accurate detection of a human body that remains stationary for a long time;

[0043] (2) By controlling the input current of the electromagnet coil, the magnetic attraction is controlled to adjust the detection distance of the pyroelectric sensor. The detection distance of the pyroelectric sensor is monitored in real time by combining with the displacement sensor. At the same time, the input current is recorded to obtain the point set of the input circuit and the detection distance of the displacement sensor, forming an electromagnetic adjustment curve. According to the electromagnetic adjustment curve, the corresponding current can be accurately input to achieve accurate control of the detection distance of the pyroelectric sensor, thereby achieving accurate control of the detection range and meeting the needs of more usage scenarios.

[0044] (3) Through wireless communication and control methods, adjacent detection networks and overall linkage adjustment can be achieved to avoid blind spots in adjacent detection areas and ensure accurate and reliable detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 Schematic diagram of the structure of a human body detection device in an embodiment of the present invention;

[0046] Figure 2 A system block diagram of a control system in an embodiment of the present invention;

[0047] Figure 3 A schematic diagram of adjusting the detection range of a human body detection device in an embodiment of the present invention;

[0048] Figure 4 Schematic diagram of the electromagnetic adjustment curve of the human body detection device in the embodiment of the present invention;

[0049] Figure 5 This is a schematic diagram of the adjacent network detection range of the human body detection device in an embodiment of the present invention;

[0050] Figure 6 This is a schematic diagram of human body detection that does not move for a long time in an embodiment of the present invention;

[0051] Figure 7 A logical schematic diagram of forming an electromagnetic regulation curve in an embodiment of the present invention;

[0052] Figure 8 A schematic diagram of the formation logic of human body detection and electromagnetic regulation in an embodiment of the present invention;

[0053] The numbers in the figure represent:

[0054] 100-Infrared pyroelectric human body detection device;

[0055] 1-mounting seat; 2-mounting cylinder; 3-center fixing rod; 4-hollow sliding rod; 5-pyroelectric sensor; 6-permanent magnet ring; 7-electromagnet coil; 8-spring; 9-control circuit board; 10-sensing sheet; 11-displacement sensor; 12-limiting piece. DETAILED DESCRIPTION

[0056] Embodiment 1:

[0057] Please refer to Figure 1-Figure 2 The present embodiment is an infrared pyroelectric human body detection device 100, which includes a mounting base 1, a mounting cylinder 2 fixed on the mounting base 1, a central fixed rod 3 with one end fixed on the mounting base 1 and the other end extending into the mounting cylinder 2, a hollow slide rod 4 movably sleeved on the central fixed rod 3 and with one end extending out of the mounting cylinder 2, a pyroelectric sensor 5 mounted on the free end of the hollow slide rod 4, a permanent magnet ring 6 mounted on one end of the hollow slide rod 4 located in the mounting cylinder 2, an electromagnet coil 7 fixed on the mounting base 1 and opposite to the permanent magnet ring 6, a spring 8 located between the hollow slide rod 4 and the electromagnet coil 7 and holding the hollow slide rod 4 axially outward, a control circuit board 9 fixed on the mounting base 1 and electrically connected to the electromagnet coil 7 and the pyroelectric sensor 5, a sensing sheet 10 fixed on one end of the hollow slide rod 4 located in the mounting cylinder 2, and a displacement sensor 11 fixed on the mounting base 1 and sensing the axial distance of the sensing sheet 10.

[0058] The mounting base 1 can be mounted upside down at a high place as a mounting base for the mounting cylinder 2 and the control circuit board 9. The mounting cylinder 2 is opened downward, and the pyroelectric sensor 5 extends downward out of the mounting cylinder 2 for human body detection.

[0059] The installation cylinder 2 is provided with a limiter 12 to ensure that the hollow slide bar 4 can slide smoothly in the axial direction without deflection. The limiter 12 is a ring-shaped ball screw ring, and multiple groups are arranged along the axial direction of the hollow slide bar 4. The limiter 12 can also be a guide rail arranged on the inner wall of the installation cylinder 2 and extending axially, and cooperates with the guide groove arranged on the outer periphery of the hollow slide bar 4 to achieve axial sliding guide limitation. The installation cylinder 2 is mainly used to protect the components installed inside it.

[0060] One end of the central fixing rod 3 is fixed on the mounting seat 1, and the other end is inserted into the through hole in the center of the hollow slide rod 4. The central fixing rod 3 is used for the installation of the spring 8 on the one hand, and provides a central guide limit and installation support for the axial sliding of the hollow slide rod 4 on the other hand. At the same time, the interior of the central fixing rod 3 is set as a hollow structure, and the lead wire of the pyroelectric sensor 5 passes through the interior of the central fixing rod 3 and is electrically connected to the control circuit board 9.

[0061] The hollow slide bar 4 is used to install the pyroelectric sensor 5 and the permanent magnet ring 6. The pyroelectric sensor 5 is provided with a Fresnel lens and is mainly responsible for infrared sensing detection of the human body.

[0062] The permanent magnet ring 6 is embedded and fixed at the bottom end of the hollow slide bar 4. It is made of strong permanent magnet material and forms a controllable magnetic attraction with the electromagnet coil 7. The control circuit board 9 can control the magnetic attraction by controlling the size of the circuit flowing through the electromagnet coil, thereby controlling the hollow slide bar 4 to overcome the elastic force of the spring 8 and slide axially. The spring 8 always keeps the hollow slide bar 4 axially pressed outward. When the suction force of the electromagnet coil 7 is zero, the spring 8 extends to the longest length, and the pyroelectric sensor 5 extends to the maximum axial length.

[0063] The displacement sensor 11 can measure the extension length of the hollow slide rod 4 by sensing the sensing sheet 10 , and monitor the extension position of the pyroelectric sensor 5 in real time.

[0064] The control circuit board 9 is provided with a control system, which includes (a) a power module, (b) an electromagnetic attraction control module, (c) a processor module, (d) a human body detection module, and (e) a control output module. The power module mainly converts the mains electricity into the power supply voltage required by the device.

[0065] The processor module is configured with a microprocessor and peripheral circuits, a human-computer interaction module and a wireless radio frequency module that are in signal communication with the microprocessor and peripheral circuits. Parameter setting is achieved through the human-computer interaction module, and wireless data interaction is performed with other detection devices through the wireless radio frequency module.

[0066] The electromagnetic attraction control module is configured with a PWM chopping control circuit electrically connected to the microprocessor and the peripheral circuit and a controllable circuit source circuit electrically connected to the PWM chopping control circuit. The controllable circuit source circuit is electrically connected to the electromagnet coil 7. The PWM signal output by the microprocessor and the peripheral circuit outputs a variable DAI voltage through the PWM chopping control circuit. The DAI voltage is used to control the corresponding current I, thereby controlling the current flowing through the electromagnet coil 7.

[0067] The human body detection module is equipped with a pyroelectric sensor processing circuit electrically connected to the microprocessor and the peripheral circuit, and the displacement sensor 11 is electrically connected to the microprocessor and the peripheral circuit. The pyroelectric sensor processing circuit is electrically connected to the pyroelectric sensor 5. When the pyroelectric sensor 5 detects a human body, the pyroelectric sensor processing circuit outputs a human body detection signal HU to the microprocessor and the peripheral circuit. After the displacement sensor 11 detects the protruding distance of the hollow slide bar 4, it outputs a voltage Vs to the microprocessor and the peripheral circuit.

[0068] The control output module is configured with relay A and relay B which are electrically connected to the microprocessor and the peripheral circuit, and outputs the human body detection signal by controlling whether the two relays are turned on.

[0069] The detection range of the infrared pyroelectric human body detection device 100 of this embodiment is as follows: Figure 3 As shown, when the electromagnet coil 7 does not generate magnetic attraction to the permanent magnet ring 6, the pyroelectric sensor 5 is in the low position H0, and the vertebral detection range SL is the range detected by the human body detection device; when the electromagnet coil 7 generates magnetic attraction to the permanent magnet ring 6 and compresses the spring 8 to the maximum extent, the pyroelectric sensor 5 is in the high position H1, and the vertebral detection range SH is the range detected by the human body detection device when the magnetic attraction is the maximum and the spring is compressed to the maximum position. The maximum distance that the pyroelectric sensor 5 moves longitudinally from the low position to the high position is DL, and the angle θ is the detection angle of the pyroelectric sensor 5. The detection angle θ remains unchanged during longitudinal movement.

[0070] The infrared pyroelectric human body detection device 100 of this embodiment adopts a Fresnel lens, and utilizes the special optical principle of the lens to generate an alternating "blind spot" and "high sensitivity zone" in front of the detection device to improve its detection reception sensitivity. When someone walks in front of the lens, the infrared rays emitted by the human body will continuously and alternately enter the "high sensitivity zone" from the "blind spot", so that the received infrared signal is input in the form of intermittent pulses, thereby enhancing its energy amplitude. However, when the human body enters the detection area and does not move for a long time, the variable pulse no longer exists. The common processing method is to confirm whether the signal disappears after a long delay after the pulse is triggered. Since the length of the delay time is difficult to determine, if the delay is too short, the human body is still in the detection area, but it is considered that the human body signal is not in the area; if the delay is too long, the human body has left the detection area and it is still considered that the human body is in the detection area, resulting in low detection accuracy. This embodiment can solve the above problems very well, and its principle is as follows Figure 6 As shown. When the detection device detects that a human body has entered the SL detection area, the detection device will move to the SH detection range. After the human body is still, the movement of the detection device probe is equivalent to the movement of the human body. At this time, even if the human body is still, the detection device will receive the change pulse and detect that the human body is in the detection area.

[0071] When a human body moves within the vertebral detection range SL, the pyroelectric sensor 5 can detect a signal. If the human body is stationary, the pyroelectric sensor 5 can detect the stationary human body signal when it moves back and forth between the low position H0 and the first height. The first height is any height that is higher than the low position H0 and lower than or equal to the high position H1.

[0072] When a person moves within the vertebral detection range SH, the pyroelectric sensor 5 can move to the high position H1 to detect a signal. If the human body is stationary, the pyroelectric sensor 5 can move back and forth between the high position H1 and the second height to detect the stationary human body signal. The second height is any height that is higher than the lowest height that can just detect a human body and lower than or equal to the high position H1 range.

[0073] Please refer to Figure 3-Figure 4 The present embodiment also provides a detection range adjustment method for an infrared pyroelectric human body detection device, which includes controlling the magnitude of the current I input into the electromagnet coil 7, and using the displacement sensor 11 to collect the detection distance of the pyroelectric sensor 5 and feed back the collected voltage Vs, obtaining a relationship curve between the current I and the collected voltage Vs, and obtaining an electromagnetic adjustment curve, and accurately controlling the detection distance of the pyroelectric sensor 5 according to the electromagnetic adjustment curve, thereby achieving accurate adjustment of the detection range of the pyroelectric sensor 5.

[0074] The specific steps of obtaining the electromagnetic regulation curve include:

[0075] S11, in the initial state, the pyroelectric sensor 5 is in the low position H0, at which time the current I input into the electromagnet coil 7 is zero, and the voltage collected by the displacement sensor 11 is Vs min ;

[0076] S12, control the current in the input electromagnet coil 7 to increase by the increment value d1, and record the voltage value collected by the displacement sensor 11 every time the current value increases by d1, and obtain a set of several current and voltage points {(i*d1, Vs min +dV i )}, i=0,1,……,n, where n*dl=I max , Vs min +dV n =Vs max ; Connect all points in the point set to form the electromagnetic regulation curve.

[0077] Every time the current value increases by dl, the electromagnetic force generated by the electromagnet coil 7 will increase accordingly, and the voltage collected by the displacement sensor 11 will also increase by dV. Due to the various influences of the spring, electromagnetic force and friction, the voltage increase dV is nonlinear, so the increase in dV is not the same for each increase in current value dl. Figure 4 In, Vs min It corresponds to the voltage collected by the displacement sensor 11 at the position of the pyroelectric sensor 5 (vertebral detection range SL) when no current is applied; Vs max It corresponds to the voltage collected by the displacement sensor 11 when the spring 8 is compressed to the maximum position (vertebral detection range SH) when the electromagnetic force is maximum. max When the current value is recorded, I max The electromagnetic adjustment curve is formed by recording the Vs value corresponding to each dl increase point. When the pyroelectric sensor 5 needs to be moved to the set position, since the position of the pyroelectric sensor 5 and the collected voltage of the displacement sensor 11 are in a one-to-one correspondence, it is only necessary to look up the table from the electromagnetic adjustment curve to obtain the current dl point corresponding to the collected voltage value of the pyroelectric sensor 5 when it is in the set position, and then the hollow slide rod 4 can be controlled to slide directly into place.

[0078] Please refer to Figure 7 , Figure 7 The formation logic of the electromagnetic regulation curve is shown, which includes:

[0079] S21, initialize the curve list data, set the initial current value I0 to 0, i=0;

[0080] S22, read Vs value and assign it to Vs min , set the current step length dl;

[0081] S23, determine whether Vs is equal to Vs max If not, then execute step S24; if so, record the current I max Vs max To the electromagnetic regulation curve list [I max , Vs max ], the logic ends;

[0082] S24, control output current I i+1 =I i +dl, control electromagnetic suction;

[0083] S25, read the current I after the delay setting time (50ms) i+1 The voltage value Vs collected by the displacement sensor under control i+1 ;

[0084] S26, record current I i+1 and V i+1 To the electromagnetic regulation curve list [I i+1 , Vs i+1 ]middle;

[0085] S27, Judgement Vs i+1 Is it equal to Vs max If not, then i++ and return to step S24. If so, then end the logic.

[0086] Please refer to Figure 5-Figure 8 The infrared pyroelectric human body detection device 100 of this embodiment can also communicate data with adjacent human body detection devices through wireless networking, thereby realizing the automatic adjustment of the detection mode of the area. Therefore, this embodiment also provides a network detection control method based on the infrared pyroelectric human body detection device, which includes the following steps:

[0087] S31, construct a human body detection network system, which includes a plurality of infrared pyroelectric human body detection devices A i (referred to as "detection device"), i=0,1,...,N, N is the number of detection devices in the human body detection network system; in two adjacent detection devices, when the pyroelectric sensors 5 in the two detection devices are both at the lowest end in the longitudinal direction, the detection areas are continuous but do not overlap each other, ensuring that the entire area is covered and detected; when the pyroelectric sensors 5 in the two detection devices are both at the highest end in the longitudinal direction, the detection areas have a partial overlap;

[0088] S32, when a human body enters detection device A i When the detection area SL is the vertebral area, the detection device A i Adjust the electromagnetic force to make the hollow slide bar 4 slide to the highest point in the longitudinal direction, and the detection area becomes SH. At the same time, the detection device A iNotify the adjacent detection device A via wireless communication i+1 , detection device A i+1 Electromagnetic adjustment is also performed to make the hollow slide rod 4 slide to the highest point in the longitudinal direction, and the detection device A i+1 The detection range is adjusted from SL to SH, which prevents the human body from entering A. i , A i+1 The edge parts of the two detection areas cannot be identified; when a human body enters the detection device A i+1 When the detection area of ​​the detection device A i+1 The area has been adjusted to SH, and the detection device A i+1 Notify detection device A i+2 Adjust the detection range from SL to SH; when a person enters the detection device A i+3 When the detection device A i Knowing that there is no one in this area and the adjacent areas, the detection range is automatically adjusted to the SL area to save energy.

[0089] The following uses four detection devices A, B, C, and D to illustrate the adjacent networking control strategy, as shown in Tables 1 to 3.

[0090] Table 1 Human body entering detection zone A

[0091]

[0092] Table 2 Human body entering detection zone B

[0093]

[0094] Table 3 Human body entering detection zone C

[0095]

[0096] When a human body stays in the detection area of ​​one of the detection devices, after a delay of T1, if no entry signal is received from the adjacent detection device, the detection device will periodically (cycle time T2) reciprocate between the detection range SH and the detection range SL to detect whether the human body is still for a long time. If a pulse signal is detected, it will continue to reciprocate; if no pulse information is received after a cycle T2 of reciprocation, it is considered that the human body has left and the detection device stops at the SL position.

[0097] Please refer to Figure 8 , Figure 8 The formation logic of human body detection and electromagnetic regulation is demonstrated, which includes:

[0098] S41, determining whether the detection device has received a human body detection mark from an adjacent detection device, if not, executing step S42, if yes, executing step S45;

[0099] S42, determining whether the detection flag of the detection device is 1 (i.e., whether a human body signal is detected), if not, executing step S43, if yes, executing step S47;

[0100] S43, judging whether the pyroelectric flag HU is 1, if so, executing step S44, if not, ending the logic;

[0101] S44, sending the human body detection flag of the detection device to the adjacent detection device through wireless communication, and setting the human body flag in the area to 1;

[0102] S45. Determine whether Vs is equal to Vs max , if not, execute step S46, if yes, end the logic;

[0103] S46, control the electromagnetic force according to the electromagnetic adjustment curve list, and adjust Vs to Vs max ;

[0104] S47, delay T1, determine whether the pyroelectric flag HU is 1, if so, execute step S48, if not, end the logic;

[0105] S48, setting a period T2, and adjusting the electromagnetic force according to T2 and the electromagnetic adjustment curve, so that the pyroelectric sensor 5 reciprocates;

[0106] S49, determine whether Vs is equal to Vs max Vs min , if yes, then execute step S410, if no, then end the logic;

[0107] S410, determine whether the pyroelectric flag HU is 1, if not, clear the human flag in this area and adjust the detection device to Vs min Position, that is, the pyroelectric sensor 5 is located at the lowest end in the longitudinal direction, and the logic is ended. If so, the logic is ended directly.

[0108] For those skilled in the art, several modifications and improvements can be made without departing from the inventive concept of the present invention, all of which fall within the protection scope of the present invention.

Claims

1. An infrared pyroelectric human body detection device, characterized in that: The invention comprises a mounting seat, a mounting cylinder fixed on the mounting seat, a central fixing rod with one end fixed on the mounting seat and the other end extending into the mounting cylinder, a hollow sliding rod movably sleeved on the central fixing rod and with one end extending out of the mounting cylinder, a pyroelectric sensor mounted on the free end of the hollow sliding rod, a permanent magnet ring mounted on one end of the hollow sliding rod located in the mounting cylinder, an electromagnet coil fixed on the mounting seat and opposite to the permanent magnet ring, a spring located between the hollow sliding rod and the electromagnet coil and holding the hollow sliding rod axially outward, a control circuit board fixed on the mounting seat and electrically connected to the electromagnet coil and the pyroelectric sensor, a sensing sheet fixed on one end of the hollow sliding rod located in the mounting cylinder, and a displacement sensor fixed on the mounting seat and sensing the axial distance of the sensing sheet; the mounting seat is mounted upside down at a high place with the opening facing downward, and the pyroelectric sensor extends downward out of the mounting cylinder; The installation cylinder is provided with a stopper to ensure that the hollow slide rod can slide smoothly in the axial direction without deflection; the interior of the central fixing rod is provided with a hollow structure, and the lead wire of the pyroelectric sensor passes through the interior of the central fixing rod and is electrically connected to the control circuit board; The control circuit board is provided with a control system, and the control system includes a power supply module, an electromagnetic attraction control module, a processor module, a human body detection module and a control output module; The processor module is configured with a microprocessor and peripheral circuits, a human-computer interaction module and a wireless radio frequency module which are in signal communication with the microprocessor and the peripheral circuits, parameter setting is achieved through the human-computer interaction module, and wireless data interaction is performed with other detection devices through the wireless radio frequency module; The electromagnetic attraction control module is configured with a PWM chopping control circuit electrically connected to the microprocessor and the peripheral circuit and a controllable circuit source circuit electrically connected to the PWM chopping control circuit, the controllable circuit source circuit is electrically connected to the electromagnet coil, the PWM signal output by the microprocessor and the peripheral circuit outputs a variable DAI voltage through the PWM chopping control circuit, and the DAI voltage controls the corresponding current I, thereby controlling the current flowing through the electromagnet coil; The human body detection module is configured with a pyroelectric sensor processing circuit electrically connected to the microprocessor and the peripheral circuit, and the displacement sensor is electrically connected to the microprocessor and the peripheral circuit. The pyroelectric sensor processing circuit is electrically connected to the pyroelectric sensor. When the pyroelectric sensor detects a human body, the pyroelectric sensor processing circuit outputs a human body detection signal HU to the microprocessor and the peripheral circuit; after the displacement sensor detects the protruding distance of the hollow sliding rod, it outputs a voltage Vs to the microprocessor and the peripheral circuit.

2. The infrared pyroelectric human body detection device according to claim 1, characterized in that: The pyroelectric sensor is provided with a Fresnel lens.

3. A method for adjusting the detection range of the infrared pyroelectric human body detection device according to claim 1, characterized in that: By controlling the magnitude of the current I input into the electromagnet coil and the collected voltage Vs obtained by the displacement sensor collecting the detection distance of the pyroelectric sensor, a relationship curve between the current I and the collected voltage Vs is obtained, and an electromagnetic adjustment curve is obtained. The detection distance of the pyroelectric sensor is precisely controlled according to the electromagnetic adjustment curve, thereby achieving precise adjustment of the detection range of the pyroelectric sensor.

4. The detection range adjustment method of the infrared pyroelectric human body detection device according to claim 3, characterized in that: The step of obtaining the electromagnetic regulation curve comprises: S11. In the initial state, the pyroelectric sensor is in a low position. At this time, the current I input into the electromagnet coil is zero, and the voltage collected by the displacement sensor is Vs min ; S12, control the current in the input electromagnet coil to increase by the increment value dl, and record the voltage value dV collected by the displacement sensor every time the current value increases by dl i , we get a set of current and voltage points {(i*dl, Vs min +dV i )}, i=0,1,……,n, where n*dl=I max , Vs min +dV n =Vs max ; Connect all points in the point set to form the electromagnetic regulation curve.

5. The detection range adjustment method of the infrared pyroelectric human body detection device according to claim 3, characterized in that: The formation logic of the electromagnetic regulation curve includes: S21, initialize the curve list data, set the initial current value I0 to 0, i=0; S22, read Vs value and assign it to Vs min , set the current step length dl; S23, determine whether Vs is equal to Vs max If not, then execute step S24; if so, record the current I max Vs max To the electromagnetic regulation curve list [I max , Vs max ], the logic ends; S24, control output current I i+1 =I i +dl, control electromagnetic suction; S25, read the current I after the delay setting time i+1 The voltage value Vs collected by the displacement sensor under control i+1 ; S26, record current I i+1 and V i+1 To the electromagnetic regulation curve list [I i+1 , Vs i+1 ]middle; S27, Judgement Vs i+1 Is it equal to Vs max If not, then i++ and return to step S24. If so, then end the logic.

6. A network detection control method based on the infrared pyroelectric human body detection device according to claim 1, characterized in that: The following steps are involved: S31, constructing a human body detection network system: which includes a plurality of infrared pyroelectric human body detection devices A i , i = 0, 1, ..., N, N is the number of detection devices in the human body detection network system; in two adjacent detection devices, when the pyroelectric sensors in the two detection devices are at the lowest end in the longitudinal direction, the detection areas are continuous but do not overlap each other, ensuring that the entire area is covered and detected; when the pyroelectric sensors in the two detection devices are at the highest end in the longitudinal direction, the detection areas have partial overlap; S32, when a human body enters detection device A i When the detection area SL is the vertebral area, the detection device A i Adjust the electromagnetic force to make the hollow slide rod slide to the highest point in the longitudinal direction, and the detection area becomes SH. At the same time, the detection device A i Notify the adjacent detection device A via wireless communication i+1 , detection device A i+1 Electromagnetic adjustment is also performed to make the hollow slide rod slide to the highest point in the longitudinal direction, and the detection device A i+1 The detection range of the detection device A is adjusted from SL to SH; when a human body enters i+1 When the detection area of ​​the detection device A i+1 Adjustment has been completed, the detection area is SH, and the detection device A i+1 Notify detection device A i+2 Adjust the detection range from SL to SH; When a human body enters detection device A i+3 When the detection device A i Knowing that there is no one in this area and the adjacent areas, the detection range is automatically adjusted to the SL area.

7. The network detection control method of the infrared pyroelectric human body detection device as claimed in claim 6, characterized in that: When a human body stays in the detection area of ​​one of the detection devices, after a delay T1, if no entry signal is received from the adjacent detection device, the detection device periodically reciprocates between the detection range SH and the detection range SL for T2 to detect whether the human body remains still for a long time. If a pulse signal is detected, the reciprocating motion continues; if no pulse information is received after a cycle T2 of reciprocating motion, it is considered that the human body has left and the detection device stops at the SL position.

8. The network detection control method of the infrared pyroelectric human body detection device according to claim 6, characterized in that: It includes human body detection and electromagnetic regulation, and the formation logic of the human body detection and electromagnetic regulation includes: S41, determining whether the detection device has received a human body detection mark from an adjacent detection device, if not, executing step S42, if yes, executing step S45; S42, determining whether the detection flag of the detection device is 1, if not, executing step S43, if yes, executing step S47; S43, judging whether the pyroelectric flag HU is 1, if so, executing step S44, if not, ending the logic; S44, sending the human body detection flag of the detection device to the adjacent detection device through wireless communication, and setting the human body flag in the area to 1; S45. Determine whether Vs is equal to Vs max , if not, execute step S46, if yes, end the logic; S46, control the electromagnetic force according to the electromagnetic adjustment curve list, and adjust Vs to Vs max ; S47, delay T1, determine whether the pyroelectric flag HU is 1, if so, execute step S48, if not, end the logic; S48, setting a period T2, and adjusting the electromagnetic force according to T2 and the electromagnetic adjustment curve, so that the pyroelectric sensor reciprocates; S49, determine whether Vs is equal to Vs max Vs min , if yes, then execute step S410, if no, then end the logic; S410, determine whether the pyroelectric flag HU is 1, if not, clear the human flag in this area and adjust the detection device to Vs min Position, end the logic, if so, end the logic directly.