PIR human body detection module and three-axis gyroscope module fused picture switching system and method
By fusing data from the PIR human detection module and the three-axis gyroscope module, the problem of inaccurate screen switching caused by independent modules in the existing technology is solved, and conditional wake-up and low-latency screen switching effects are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- JIAXING LINKESI DEMONSTRATION DEVICES & MATERIALS CO LTD
- Filing Date
- 2025-12-15
- Publication Date
- 2026-05-01
AI Technical Summary
In existing technologies, the PIR human detection module and the three-axis gyroscope module work independently and are not organically integrated, thus failing to achieve conditional wake-up and accurate screen switching.
The PIR human detection module is integrated with the three-axis gyroscope module. Data fusion and judgment are performed through the HDMI video distribution controller. Combining digital flags and angular velocity data, the screen is switched when predetermined conditions are met. A temperature compensation module is used for calibration, and communication is achieved using a multiplexed bus of I²C and UART.
It achieves conditional wake-up and accurate screen switching, reduces accidental touches, has a significant power-saving effect, and the screen switching latency is less than 30ms.
Smart Images

Figure CN121967787A_ABST
Abstract
Description
A screen switching system and method integrating a PIR human detection module and a three-axis gyroscope module Technical Field
[0001] This invention belongs to the field of human-computer interaction, specifically relating to a screen switching system that integrates a PIR human body detection module and a three-axis gyroscope module, and a screen switching method that integrates a PIR human body detection module and a three-axis gyroscope module. Background Technology
[0002] In existing technology, when a user approaches the booth, the sensor module placed on the booth is triggered, which in turn causes the display device to enter the corresponding interface.
[0003] The aforementioned existing technology has at least the following drawbacks: 1. Each module is independent and there is no organic integration or comprehensive judgment on whether the predetermined conditions are met.
[0004] 2. Conditional wake-up is not supported, meaning the screen cannot switch only when someone is present and making a move. Summary of the Invention
[0005] In view of the current situation of the prior art and to overcome the above-mentioned defects, the present invention provides a screen switching system that integrates a PIR human body detection module and a three-axis gyroscope module, and a screen switching method that integrates a PIR human body detection module and a three-axis gyroscope module.
[0006] This invention employs the following technical solution: a screen switching system integrating a PIR human detection module and a three-axis gyroscope module, comprising an HDMI video distribution controller, a PIR human detection module, and a three-axis gyroscope module. The HDMI video distribution controller includes a main control module, an HDMI signal distribution module, and an external communication module. The PIR human detection module is electrically connected to the main control module. The three-axis gyroscope module is also electrically connected to the main control module. The main control module is used to fuse and judge the digital flag output by the PIR human detection module and the angular velocity data output by the three-axis gyroscope module. When both simultaneously meet predetermined conditions, the main control module controls the HDMI signal distribution module to switch screens within a predetermined time.
[0007] As a preferred technical solution to the above technical solutions, the external communication module includes a COM BUS, which is a multiplexed bus of I²C and UART, enabling automatic identification of the current communication mode upon power-up.
[0008] As a preferred technical solution to the above technical solutions, the predetermined conditions include: the digital flag is valid, and the change in angular velocity data Δθ ≥ 15° / s.
[0009] As the preferred technical solution above, the preset time is 30ms.
[0010] As the preferred technical solution among the above technical solutions, the detection range of the PIR human body detection module is a 120° conical area within 1.5 meters.
[0011] As the preferred technical solution among the above technical solutions, the signal input path of the PIR human body detection module adopts a differential wiring and shielding structure.
[0012] As a preferred technical solution to the above technical solutions, the screen switching system integrating the PIR human body detection module and the three-axis gyroscope module also includes a temperature compensation module, which is used to calibrate the three-axis gyroscope module and / or the PIR human body detection module.
[0013] As a preferred technical solution, the temperature compensation module uses calibration coefficients stored in the firmware for calibration.
[0014] This invention adopts the following technical solution: a screen switching method integrating a PIR human detection module and a three-axis gyroscope module, applicable to any of the above technical solutions in a screen switching system integrating a PIR human detection module and a three-axis gyroscope module. The screen switching method integrating a PIR human detection module and a three-axis gyroscope module includes the following steps: Step S1: Receive PIR human detection signals and three-axis gyroscope attitude signals; Step S2: Perform fusion judgment on the PIR human detection signals and three-axis gyroscope attitude signals; Step S3: When the judgment result meets predetermined conditions, generate and output a screen switching command.
[0015] As a preferred technical solution to the above technical solutions, in step S2, the fusion judgment is a logical "AND" judgment, that is, when the PIR human body detection signal is valid and the change in the attitude signal of the three-axis gyroscope exceeds the predetermined condition, it is determined that the switching condition is met.
[0016] The screen switching system and method that integrates a PIR human detection module and a three-axis gyroscope module disclosed in this invention has the advantage that PIR human detection data and three-axis gyroscope data are used as dual-condition fusion data inputs to comprehensively determine whether predetermined conditions are met, and screen switching is completed within a predetermined time when the predetermined conditions are met. Attached Figure Description
[0017] Figure 1 is a schematic diagram of the screen switching method of the PIR human body detection module and the three-axis gyroscope module of this application. Detailed Implementation
[0018] This invention discloses a screen switching system that integrates a PIR human body detection module and a three-axis gyroscope module, and a screen switching method that integrates a PIR human body detection module and a three-axis gyroscope module. The specific implementation of this invention will be further described below with reference to the preferred embodiment (Example 1).
[0019] Example 1.
[0020] Preferably, the screen switching system integrating the PIR human detection module and the three-axis gyroscope module includes an HDMI video distribution controller, a PIR human detection module, and a three-axis gyroscope module, wherein: the HDMI video distribution controller includes a main control module, an HDMI signal distribution module, and an external communication module; the PIR human detection module is electrically connected to the main control module; the three-axis gyroscope module is electrically connected to the main control module; wherein, the main control module is used to fuse and judge the digital flag output by the PIR human detection module and the angular velocity data output by the three-axis gyroscope module, and when both meet the predetermined conditions, it controls the HDMI signal distribution module to switch the screen within a predetermined time.
[0021] The external communication module includes a COM BUS, which is a multiplexed bus for I²C and UART.
[0022] The predetermined conditions include: the digital flag is valid, and the change in angular velocity data Δθ ≥ 15° / s.
[0023] The preferred timing is 30ms.
[0024] The PIR human detection module has a detection range of 120° cone-shaped area within 1.5 meters.
[0025] The signal input path of the PIR human body detection module adopts a differential wiring and shielding structure.
[0026] The screen switching system, which integrates the PIR human detection module and the three-axis gyroscope module, also includes a temperature compensation module, which is used to calibrate the three-axis gyroscope module and / or the PIR human detection module.
[0027] The temperature compensation module uses calibration coefficients stored in the firmware for calibration.
[0028] Preferably, the screen switching method integrating the PIR human detection module and the three-axis gyroscope module is applied to any of the above technical solutions of the screen switching system integrating the PIR human detection module and the three-axis gyroscope module. The screen switching method integrating the PIR human detection module and the three-axis gyroscope module includes the following steps: Step S1: Receive the PIR human detection signal and the three-axis gyroscope attitude signal; Step S2: Perform a fusion judgment on the PIR human detection signal and the three-axis gyroscope attitude signal; Step S3: When the judgment result meets the predetermined conditions, generate and output the screen switching command.
[0029] In step S2, the fusion judgment is a logical "AND" judgment, that is, when the PIR human body detection signal is valid and the change in the three-axis gyroscope attitude signal exceeds the predetermined condition, it is determined that the switching condition is met.
[0030] Example 2.
[0031] Based on Example 1, Example 2 further supplements the following technical solutions.
[0032] Specifically, the overall concept of the screen switching system and method integrating the PIR human detection module and the three-axis gyroscope module is as follows: Using a PIR human detection module, the system detects visitors approaching within 1.5 meters. The data from the PIR human detection module is transmitted to the HDMI video distribution controller, which sends a screen switching command and triggers the LED strip to flash and play a welcome screen, achieving an interactive "lights up as people approach" effect. Simultaneously, when users operate the controllers on the exhibition stand, the three-axis gyroscope module on the controllers generates a posture output, which sends the data to the HDMI video distribution controller via USB, achieving the effect of "picking up the controller to enter the corresponding product introduction video and screen, and putting it down to return to the default video and screen."
[0033] The following describes one application scenario of the screen switching system and method integrating a PIR human detection module and a three-axis gyroscope module: The main control module has a built-in 32-bit ultra-low power MCU, which synchronously manages sensor data via a COM BUS (I²C / UART multiplexed bus). The PIR human detection module is connected via the PIRIN pin, triggered in a 1.5M-120° cone region. The signal is amplified in two stages and compared with a threshold before being output as a digital flag by PIR-OUT. The three-axis gyroscope module samples at 100Hz to detect changes in the spatial posture of the handheld device. Algorithm logic: When the digital flag is valid and the three-axis vector change exceeds the set angular velocity threshold Δθ≥15° / s, the main control module sends a screen switching command to the HDMI signal distribution module via the COM BUS within 30ms, achieving buttonless screen flipping or function switching with dual confirmation of "human appearance + action," avoiding accidental touches. The screen switching system integrating the PIR human detection module and the three-axis gyroscope module also provides firmware packages and a UART upgrade interface.
[0034] Example 3.
[0035] Based on Example 1 or Example 2, Example 3 further supplements the following technical solutions.
[0036] Specifically, the screen switching system and method integrating the PIR human detection module and the three-axis gyroscope module has the following characteristics: It combines the detection and sensing applications of the PIR human detection module and the three-axis gyroscope module, with the main control module coordinating the process; the screen switching system and method integrating the PIR human detection module and the three-axis gyroscope module supports conditional wake-up, switching the screen only when someone is present and moving, resulting in zero false touches and 80% power saving; PIR human detection data and three-axis gyroscope data are fused through an internal algorithm, completing the decision in 30 ms, with no delay in screen flipping; it features a standard COM BUS (I²C / UART) interface, compatible with mainstream displays and SoCs on the market.
[0037] Example 4.
[0038] Based on Example 1, Example 2, or Example 3, Example 4 further supplements the following technical solutions.
[0039] Specifically, the screen switching system and method integrating the PIR human detection module and the three-axis gyroscope module has the following characteristics: Dual-condition fusion algorithm: The digital flag and the vector change of the three-axis gyroscope Δθ≥15° / s are ANDed, and the screen switching is completed within 30 ms; the decision threshold, timing and state machine are written into the MCU ROM; COM BUS multiplexing interface: The same pin automatically identifies I²C or UART upon power-up, without the need for external switching; bus detection logic and level decision circuit; Anti-interference PIRIN path: Differential traces + shielding cover + programmable bandpass filter to suppress Wi-Fi 2.4 GHz harmonics; It has a PCB stack-up structure + shielding cover clip; Temperature compensation calibration: Three-axis zero-point temperature drift ≤0.3 dps, PIR sensitivity drift ≤3%; The calibration coefficient storage format and calling process are written into the firmware CRC area.
[0040] It is worth mentioning that the technical features such as the storage format of the calibration coefficient and the specific form of the calling process involved in this patent application should be regarded as prior art. The specific structure, working principle and possible control methods and spatial arrangement of these technical features can be adopted by conventional choices in the field and should not be regarded as the inventive point of this patent. This patent will not be further elaborated in detail.
[0041] For those skilled in the art, modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this invention should be included within the protection scope of this invention.
Claims
1. A screen switching system integrating a PIR human detection module and a three-axis gyroscope module, characterized in that, The system includes an HDMI video distribution controller, a PIR human body detection module, and a three-axis gyroscope module. The HDMI video distribution controller comprises a main control module, an HDMI signal distribution module, and an external communication module. The PIR human body detection module is electrically connected to the main control module. The three-axis gyroscope module is also electrically connected to the main control module. The main control module fuses and judges the digital flags output by the PIR human body detection module and the angular velocity data output by the three-axis gyroscope module. When both simultaneously meet predetermined conditions, the main control module controls the HDMI signal distribution module to switch the screen within a predetermined time.
2. The screen switching system integrating the PIR human detection module and the three-axis gyroscope module according to claim 1, characterized in that, The external communication module includes a COM BUS, which is a multiplexed bus for I²C and UART.
3. The screen switching system integrating the PIR human detection module and the three-axis gyroscope module according to claim 1, characterized in that, The predefined conditions include: the digital flag is valid, and the change in angular velocity data Δθ ≥ 15° / s.
4. The screen switching system integrating the PIR human detection module and the three-axis gyroscope module according to claim 1, characterized in that, The scheduled time is 30ms.
5. The screen switching system integrating the PIR human detection module and the three-axis gyroscope module according to claim 1, characterized in that, The detection range of the PIR human detection module is a 120° cone-shaped area within 1.5 meters.
6. The screen switching system integrating the PIR human detection module and the three-axis gyroscope module according to claim 1, characterized in that, The signal input path of the PIR human body detection module adopts a differential wiring and shielding structure.
7. The screen switching system integrating the PIR human detection module and the three-axis gyroscope module according to claim 1, characterized in that, The screen switching system, which integrates the PIR human detection module and the three-axis gyroscope module, also includes a temperature compensation module, which is used to calibrate the three-axis gyroscope module and / or the PIR human detection module.
8. The screen switching system integrating the PIR human detection module and the three-axis gyroscope module according to claim 7, characterized in that, The temperature compensation module is calibrated using calibration coefficients stored in the firmware.
9. A method for switching images by integrating a PIR human detection module and a three-axis gyroscope module, characterized in that, A screen switching system integrating a PIR human detection module and a three-axis gyroscope module as described in any one of claims 1 to 8, comprising the following steps: Step S1: Receiving a PIR human detection signal and a three-axis gyroscope attitude signal; Step S2: Performing a fusion judgment on the PIR human detection signal and the three-axis gyroscope attitude signal; Step S3: When the judgment result meets a predetermined condition, generating and outputting a screen switching command.
10. The screen switching method integrating the PIR human detection module and the three-axis gyroscope module according to claim 9, characterized in that, In step S2, the fusion judgment is a logical "AND" judgment, that is, when the PIR human body detection signal is valid and the change in the three-axis gyroscope attitude signal exceeds the predetermined condition, it is determined that the switching condition is met.