STM32F407-based intelligent walking stick control method and system

By using multimodal sensors and dynamic decision-making algorithms in smart crutches for health risk assessment and fall prediction, and combining cloud-based collaborative verification and secure payment technology, the defects of existing smart crutches in health monitoring, alarm mechanisms, life services and data security are solved, and high-precision health monitoring, multi-level security alarms and convenient life services linkage are achieved.

CN120189323APending Publication Date: 2025-06-24GUILIN UNIV OF ELECTRONIC TECH
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202510347131.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-24
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

The existing smart crutch products have significant defects in terms of single health monitoring dimensions, rigid alarm mechanisms, isolated life service modules, and weak data interaction security, resulting in insufficient accuracy of health risk assessment, high risk of false triggering or missed reporting, insufficient payment security and limited system application value.

Method used

Using the intelligent crutch control method based on STM32F407, the coordinated analysis of multi-modal sensors (such as MPU6050 and MAX30102) is used to collect user movement and health data in real time, combine dynamic decision-making algorithms to achieve fall prediction and health risk assessment, and data communication with the Alibaba Cloud platform through the Air780E communication module, trigger voice reminders and alarms, and realize cloud-based collaborative verification. At the same time, the NFC bus payment module and SM4 national cryptographic encryption algorithm are used to ensure the security of payment operations and optimize the system's energy consumption through dynamic power consumption management.

Benefits of technology

It realizes a predictive response to user health risks and abnormal behaviors, reduces the risk of false alarms and improves response accuracy, ensures the effectiveness of warnings in different scenarios, ensures the reliability of payment operations, and extends the system's battery life through intelligent energy consumption management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120189323A_ABST
    Figure CN120189323A_ABST
Patent Text Reader

Abstract

The invention discloses an STM32F407-based intelligent walking stick system and a control method, which are used for solving the problems of single function, high false alarm rate and insufficient data security of the traditional walking stick. The system integrates a posture detection module, a heart rate and blood oxygen monitoring module and an environment sensing module, constructs a user health risk pre-judgment model through multi-modal data fusion, realizes a three-level adaptive alarm mechanism in combination with a dynamic decision algorithm, and triggers acousto-optic warning, cloud communication and emergency contact linkage according to risk levels. The payment and data transmission reliability is guaranteed by adopting a physically isolated security architecture and a national secret encryption technology; the dynamic power management system optimizes energy consumption distribution according to scene requirements, and the endurance of equipment is remarkably prolonged. According to the system, the monitoring accuracy is improved through a closed-loop protection system (risk identification-adaptive response-energy optimization), bus payment and smart home control are supported, the system has the characteristics of low false alarm rate, high environmental adaptability and low power consumption, and a safe and convenient life auxiliary solution is provided for old users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent health monitoring devices, and particularly to a multifunctional intelligent crutch system integrating health monitoring, emergency alarm, intelligent payment and home linkage. Background Art

[0002] With the accelerating development of the aging society, intelligent crutches, as important tools for the health monitoring and life assistance of the elderly, have increasingly diversified functional requirements. Most of the current intelligent crutch products on the market focus on the realization of single functions, and generally have the following limitations: First, the health monitoring dimension is single. Most products only use a heart rate or acceleration detection module, lacking the collaborative analysis ability of multimodal sensors (such as blood oxygen, attitude angle, motion acceleration), resulting in insufficient accuracy of health risk assessment. For example, when a user faints due to low blood oxygen, traditional crutches cannot distinguish it from ordinary falls, delaying the rescue response. Second, the alarm mechanism is rigid. Existing solutions mostly adopt a single-channel alarm mode of buzzer or short message, which is easily ignored in a noisy environment, and there is no cloud-based collaborative alarm verification mechanism, resulting in risks of false triggering or missed reporting.

[0003] Furthermore, existing intelligent crutches have significant defects in the integration of life services and data security. The technical pain points are mainly reflected in two aspects: One is the isolation of the life service module. Existing products often simply superimpose independent functions (such as payment, reminder), without realizing scenario-based linkage through a unified control architecture. For example, it is impossible to automatically turn off the heating function of an intelligent kettle after detecting that the user has taken medicine. The other is the weak security of data interaction. The payment module mostly uses basic encryption algorithms (such as AES-128) and shares the data bus with the main control chip, making it vulnerable to side-channel attacks; at the same time, the health data upload process lacks end-to-end encryption, which does not meet the medical privacy protection specifications. The above defects seriously limit the practical application value of intelligent crutches, and there is an urgent need for a systematic solution integrating high-precision health monitoring, multi-level security alarms and life service linkages. Summary of the Invention

[0004] In view of the existing intelligent crutch control methods and the problems, the present invention is proposed. Therefore, the problem to be solved by the present invention is how to provide an intelligent crutch control method and system based on STM32F407.

[0005] To solve the above technical problems, the present invention provides the following technical solutions.

[0006] In a first aspect, the present invention provides an intelligent cane control method based on STM32F407, which includes: real-time collecting user motion data through an MPU6050 attitude detection module, calculating the attitude angle θ and the acceleration mutation amount Δa, and when θ > 60° and Δa > 3g, determining it as a fall state, triggering the high-frequency flashing of an LED ring warning light and the alarm of a buzzer, sending the fall position coordinates to an emergency contact through an Air780E communication module, periodically collecting health data through a heart rate / oxygen saturation detection module, uploading it to the cloud and triggering a voice reminder when abnormal, starting a medicine-taking reminder according to a preset time, synchronously triggering the buzzer and the voice broadcast module, completing an encrypted bus card swiping operation through an NFC bus payment module, parsing user voice commands and remotely controlling smart home devices through the MQTT protocol.

[0007] As a preferred solution of the intelligent cane control method based on STM32F407 of the present invention, wherein: noise elimination is performed on the original data of the MPU6050 through the Kalman filtering algorithm; the pitch angle θ is calculated based on the accelerometer data, and when θ continuously exceeds the threshold for more than 2 seconds, the fall state is confirmed.

[0008] As a preferred solution of the intelligent cane control method based on STM32F407 of the present invention, wherein: the health data uploading step includes using a MAX30102 sensor to collect PPG signals at a frequency of 100Hz, eliminating motion interference through a FIR filter, calculating the heart rate and blood oxygen saturation, generating a JSON format alarm message when the data is abnormal, and pushing it to the Alibaba Cloud platform through an Air780E module.

[0009] As a preferred solution of the intelligent cane control method based on STM32F407 of the present invention, wherein: the NFC bus payment module is built with an encryption chip and supports subway and bus card swiping payments.

[0010] As a preferred solution of the intelligent cane control method based on STM32F407 of the present invention, wherein: the generation of the smart home control instruction includes: identifying the keyword of the user instruction through an LD3320 voice chip, converting the voice instruction into a standard MQTT protocol message, adding the device ID and the operation instruction field, and establishing a TCP long connection through an Air780E module to upload it to the Alibaba Cloud platform.

[0011] As a preferred solution of the intelligent cane control method based on STM32F407 of the present invention, wherein: the synchronous setting of the medicine-taking reminder includes: configuring the reminder time and medicine information through a mobile phone App, encrypting and transmitting the configuration data to the STM32F407 controller using the HTTP protocol, and when the RTC clock reaches the set time, triggering the buzzer and the voice broadcast in parallel.

[0012] As a preferred solution of the intelligent cane control method based on STM32F407 according to the present invention, wherein: the dynamic power consumption management step includes switching to the low-power mode after 5 minutes of inactivity timeout, turning off non-core modules, and immediately switching to the emergency mode when a fall or health abnormality is detected, and the battery power is fed back to the cloud platform in real time through the voltage monitoring circuit.

[0013] In a second aspect, the present invention provides an intelligent cane control system based on STM32F407, which includes: an STM32F407 controller: used as the core control unit of the system to coordinate and manage each sensor, communication module and actuator; a power supply module: used to provide stable power support for the entire system; an MPU6050 attitude detection module: used to monitor the attitude changes of the user during walking and trigger an alarm when a fall or abnormal situation is detected; an LED ring warning light and a buzzer: used to emit optical signal prompts at night or in dangerous situations, and another function is to give people a safety warning at night; used for sound alarm reminders, including fall reminders, medicine-taking reminders and system abnormality reminders; a heart rate / oxygen saturation detection module: used to detect the physical health status of the user in real time and upload it to the cloud platform through Air780E; a voice broadcast module: used to broadcast weather, time and health status reminder information; a medicine-taking reminder module: used to remind the user to take medicine on time; an NFC bus payment module: used to implement a convenient bus card swiping function; an Air780E communication module: used for SMS alarm, emergency call and positioning functions, and data communication with the Alibaba Cloud platform; an Alibaba Cloud platform connection module: used to upload data to the cloud and realize the linkage control with the smart home system.

[0014] In a third aspect, the present invention provides a computer device, including a memory and a processor, wherein: when the processor executes the computer program, the steps of the intelligent cane control method based on STM32F407 are implemented.

[0015] In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, wherein: when the computer program is executed by the processor, the steps of the intelligent cane control method based on STM32F407 are implemented.

[0016] The present invention realizes a predictive response to users' health risks and abnormal behaviors through multi-modal sensor collaborative analysis and dynamic decision-making algorithms, upgrades the traditional passive alarm mechanism to an active intervention system, constructs a fall prediction model by fusing MPU6050 attitude data and MAX30102 blood oxygen indexes, making the false alarm rate less than 2% and the response time shortened to 3 seconds, reducing the risk of misoperation by 30% compared with the traditional single acceleration detection scheme. At the same time, the alarm strategy is intelligently adjusted based on the environmental state, automatically activating a 200-lumen high-brightness LED ring light for warning at night, and synchronously enhancing the buzzer volume to 90 dB in a noisy environment to ensure effective information delivery. Combining a physically isolated NFC payment architecture and SM4 national cryptographic encryption algorithm to achieve 0.5-second contactless bus payment and prevent key leakage, with the payment security improved by 80% compared with the traditional scheme. Further, dynamic power management is used to optimize energy consumption in real time, switching to a 0.1W sleep mode during low-risk periods, and giving priority to ensuring power supply to the core module in emergency states, extending the system battery life to more than 72 hours, a 40% improvement compared with similar products, forming a closed-loop protection system from health warning, environmental adaptability to security service linkage. Brief Description of the Drawings

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for description in the embodiments. Obviously, the following described drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0018] Figure 1 It is a structural diagram of an intelligent cane control method and system based on STM32F407. Detailed Embodiments

[0019] In order to make the above objects, features, and advantages of the present invention more understandable, the following will give a detailed description of the specific embodiments of the present invention in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present invention.

[0020] Many specific details are set forth in the following description to facilitate a full understanding of the present invention. However, the present invention may be practiced in other ways different from those described herein. Those skilled in the art can make similar extensions without departing from the spirit of the present invention. Therefore, the present invention is not limited by the specific embodiments disclosed below.

[0021] Secondly, the "one embodiment" or "embodiment" referred to herein means a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The appearances of "in one embodiment" in different places in this specification do not all refer to the same embodiment, nor are they separate or alternative embodiments that are mutually exclusive of other embodiments.

[0022] Referring to Figure 1 , which is the first embodiment of the present invention. This embodiment provides an intelligent cane control method based on STM32F407, including: Real-time collect user motion data through the MPU6050 attitude detection module, and calculate the attitude angle θ and the acceleration mutation amount Δa; When θ > 60° and Δa > 3g, it is determined to be in a fall state, triggering the high-frequency flashing of the LED ring warning light and the buzzer alarm; Send the fall position coordinates to the emergency contact through the Air780E communication module; Periodically collect health data through the heart rate / oxygen saturation detection module, and upload it to the cloud and trigger a voice reminder when it is abnormal; Start the medicine reminder according to the preset time, and synchronously trigger the buzzer and the voice broadcast module; Complete the encrypted bus card swiping operation through the NFC bus payment module; Parse the user voice command and remotely control the smart home device through the MQTT protocol.

[0023] Specifically, the Kalman filter algorithm is used to eliminate noise from the original data of the MPU6050; the pitch angle θ is calculated based on the accelerometer data, and when θ continuously exceeds the threshold for more than 2 seconds, the fall state is confirmed.

[0024] Specifically, the health data upload step includes using the MAX30102 sensor to collect the PPG signal at a frequency of 100Hz, eliminating motion interference through the FIR filter, calculating the heart rate and blood oxygen saturation, generating a JSON format alarm message when the data is abnormal, and pushing it to the Alibaba Cloud platform through the Air780E module.

[0025] Specifically, the NFC bus payment module is built with an encryption chip and supports subway and bus card swiping payments.

[0026] Specifically, the generation of the smart home control instruction includes: identifying the user instruction keyword through the LD3320 voice chip, converting the voice instruction into a standard MQTT protocol message, adding the device ID and operation instruction fields, and establishing a TCP long connection through the Air780E module to upload it to the Alibaba Cloud platform.

[0027] Specifically, the synchronous setting of the medicine-taking reminder includes: configuring the reminder time and medicine information through the mobile phone App, encrypting and transmitting the configuration data to the STM32F407 controller using the HTTP protocol, and triggering the buzzer and voice broadcast in parallel when the RTC clock reaches the set time.

[0028] Specifically, the dynamic power management steps include switching to the low-power mode after 5 minutes of inactivity timeout, turning off non-core modules, immediately switching to the emergency mode when a fall or health anomaly is detected, and real-time feedback of the battery power to the cloud platform through the voltage monitoring circuit.

[0029] Furthermore, this embodiment also provides an intelligent cane control system based on STM32F407, including: STM32F407 controller: used as the core control unit of the system to coordinate and manage various sensors, communication modules, and actuators; power supply module: used to provide stable power support for the entire system; MPU6050 attitude detection module: used to monitor the attitude changes of the user during walking and trigger an alarm when a fall or abnormal situation is detected; LED ring warning light and buzzer: used to emit optical signal prompts at night or in dangerous situations, and another function is to give people a safety warning at night; used for sound alarm reminders, including fall reminders, medicine-taking reminders, and system anomaly reminders; heart rate / oxygen saturation detection module: used to detect the user's physical health status in real time and upload it to the cloud platform through Air780E; voice broadcast module: used to broadcast weather, time, and health status reminder information; medicine-taking reminder module: used to remind the user to take medicine on time; NFC bus payment module: used to achieve convenient bus card swiping function; Air780E communication module: used for SMS alarm, emergency call, and positioning functions, and data communication with the Alibaba Cloud platform; Alibaba Cloud platform connection module: used to upload data to the cloud and realize linkage control with the smart home system.

[0030] This embodiment also provides a computer device applicable to the situation of the intelligent cane control method based on STM32F407, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement all or part of the steps of the method described in the above-mentioned embodiment of the present invention.

[0031] This embodiment also provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, it executes the method in any optional implementation manner of the above embodiment. Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM for short), electrically erasable programmable read-only memory (EEPROM for short), erasable programmable read-only memory (EPROM for short), programmable read-only memory (PROM for short), read-only memory (ROM for short), magnetic memory, flash memory, magnetic disk or optical disc.

[0032] The storage medium proposed in this embodiment and the data storage method proposed in the above embodiment belong to the same inventive concept. The technical details not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0033] As can be seen from the above, through the multi-modal sensor fusion analysis and dynamic decision-making mechanism, the present invention realizes the early prediction of user health risks and abnormal states, upgrades the traditional passive alarm to an active protection system, significantly reduces the false alarm risk and improves the response accuracy, automatically optimizes the sound and light alarm mode in combination with the environmental perception ability to ensure the warning effectiveness in different scenarios, uses a secure isolation architecture and encryption technology to ensure the reliability of payment operations, and at the same time dynamically allocates system resources through intelligent energy consumption management, greatly extending the battery life while maintaining the efficient operation of the core functions, forming a closed-loop protection network from risk identification, adaptive response to energy optimization, and comprehensively improving the intelligent level of safety guardianship and life assistance.

[0034] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and they should all be covered by the scope of the claims of the present invention.

Claims

1. A smart crutch control method based on STM32F407, characterized in that: The following steps are involved: The MPU6050 posture detection module collects user motion data in real time and calculates the posture angle θ and acceleration mutation Δa; When θ>60° and Δa>3g, it is judged as a fall state, triggering the LED ring warning light to flash at high frequency and the buzzer to alarm; Send the coordinates of the fall location to emergency contacts via the Air780E communication module; The heart rate / blood oxygen detection module periodically collects health data, uploads it to the cloud and triggers voice reminders when abnormalities occur; Start the medicine reminder according to the preset time, and trigger the buzzer and voice broadcast module synchronously; Complete the encrypted bus card swiping operation through the NFC bus payment module; Parse user voice commands and remotely control smart home devices via the MQTT protocol.

2. The intelligent crutch control method based on STM32F407 according to claim 1, characterized in that, The calculation of the attitude angle θ includes: eliminating noise from the original data of MPU6050 by using a Kalman filter algorithm; calculating the pitch angle θ based on the accelerometer data, and confirming the fall state when θ exceeds the threshold value for more than 2 seconds.

3. The intelligent crutch control method based on STM32F407 according to claim 1, characterized in that: The steps of uploading health data include: using the MAX30102 sensor to collect PPG signals at a frequency of 100Hz, eliminating motion interference through the FIR filter, calculating the heart rate and blood oxygen saturation, generating a JSON format alarm message when the data is abnormal, and pushing it to the Alibaba Cloud platform through the Air780E module.

4. The intelligent crutch control method based on STM32F407 according to claim 1, characterized in that: The NFC public transportation payment module has a built-in encryption chip and supports subway and bus card payments.

5. The intelligent crutch control method based on STM32F407 according to claim 1, characterized in that: The generation of the smart home control command includes: identifying user command keywords through the LD3320 voice chip, converting the voice command into a standard MQTT protocol message, adding the device ID and operation command fields, and establishing a TCP long connection through the Air780E module and uploading it to the Alibaba Cloud platform.

6. The intelligent crutch control method based on STM32F407 according to claim 1, characterized in that: The synchronous setting of the medicine reminder includes: configuring the reminder time and medicine information through the mobile phone App, encrypting and transmitting the configuration data to the STM32F407 controller using the HTTP protocol, and triggering the buzzer and voice broadcast in parallel when the RTC clock reaches the set time.

7. The intelligent crutch control method based on STM32F407 according to claim 1 is characterized in that: It also includes dynamic power consumption management steps: switching to low-power mode after 5 minutes of no operation, shutting down non-core modules, and immediately switching to emergency mode when a fall or health abnormality is detected, and real-time feedback of battery power to the cloud platform through the voltage monitoring circuit.

8. An intelligent crutch control system based on STM32F407 controller, based on an intelligent crutch control method based on STM32F407 according to any one of claims 1 to 7, characterized in that: include, STM32F407 controller: used as the core control unit of the system to coordinate and manage various sensors, communication modules and actuators; Power supply module: used to provide stable power support for the entire system; MPU6050 posture detection module: used to monitor the posture changes of users when walking, and trigger an alarm when a fall or abnormal situation is detected; LED ring warning light and buzzer: used to send out light signal prompts at night or in dangerous situations. Another function is to give people a safety warning at night; used for sound alarm reminders, including fall reminders, medicine reminders and system abnormality reminders; Heart rate / blood oxygen detection module: used to detect the user's physical health status in real time and upload it to the cloud platform through Air780E; Voice broadcast module: used to broadcast weather, time and health status reminder information; Medication reminder module: regularly remind users to take medicine on time; NFC bus payment module: used to realize convenient bus card swiping function; Air780E communication module: used for SMS alarm, emergency phone calls and positioning functions, and data communication with Alibaba Cloud platform; Alibaba Cloud platform connection module: used to upload data to the cloud and realize linkage control with the smart home system.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the smart crutch control method based on STM32F407 described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the intelligent crutch control method based on STM32F407 described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Voice wake-up control method and device based on multi-device cooperation, equipment and medium

    CN120431927A

  • Voice wake-up control method, device, equipment and medium based on multi-device collaboration

    CN120431927B

  • Intelligent walking stick early warning method and system based on multi-parameter physiological monitoring

    CN120938373A

  • Intelligent old-age care service terminal and use method

    CN121284503A