A balancing instrument system based on STM32

By designing a balancer system based on STM32, using pressure sensors and AD conversion modules to collect and process data, calculate and display the center of gravity position, the problems of poor intelligence of existing equipment and inaccurate coordinate analysis are solved, and accurate evaluation and effective training of balance capabilities are achieved.

CN111714092BActive Publication Date: 2025-04-18JIANGSU INST OF SPORTS SCI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010645091.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-07
Publication Date
2025-04-18
Estimated Expiration
2040-07-07

AI Technical Summary

Technical Problem

The existing balance sense rehabilitation equipment is poorly intelligent, the pressure center coordinate analysis is inaccurate, and it is impossible to effectively train and evaluate the lower limb balance ability of the elderly and patients with balanced dysfunction.

Method used

A balancer system based on STM32 is designed. Pressure signals are collected through multiple pressure sensors. The AD conversion module converts analog signals into digital signals. The STM32F407RBT6 processor performs data processing and analysis, calculates the position of the center of gravity, and connects it to the upper computer through the serial port to perform visual human-computer interaction.

Benefits of technology

Accurate calculation and visual display of the center of gravity position are realized, which can effectively judge whether the subject's balance function is normal, improve the hospital's examination efficiency, and is suitable for the balance sense test of patients and athletes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111714092B_ABST
    Figure CN111714092B_ABST
Patent Text Reader

Abstract

The present invention discloses a balance instrument system based on STM32, and relates to the technical field of sports rehabilitation equipment. The present invention includes a control subsystem and a human-computer interaction subsystem; the control subsystem includes an MCU circuit, a power supply module, a pressure sensor module, an AD conversion module, and a DC motor drive module; the MUC circuit is connected to a host computer through an RS485 serial port; the human-computer interaction subsystem includes a host computer and a display screen, a pressure data acquisition module, and a factory parameter module. The present invention collects pressure signals through multiple pressure sensors, the AD conversion module communicates with the MCU through an SPI interface and transmits digital signals, the terminal processor STM32F407RBT6 processes and analyzes data, calculates the position of the center of gravity, and is connected to the host computer through a serial port to perform visualized human-computer interaction operations, thereby solving the problems of poor intelligence and inaccurate pressure center coordinate analysis of existing balance rehabilitation equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of sports rehabilitation equipment, and in particular relates to a balance instrument system based on STM32. Background Art

[0002] Among the many physiological indicators of the human body, maintaining body balance is a basic motor skill and an important physiological indicator of the human body. The physiological mechanism for maintaining the balance and stability of the human body is very complicated and has not yet been elucidated in the scientific field. It is generally believed in the medical community that the brain will coordinate the three aspects of the human body, vestibular and visual, and maintain the static and dynamic balance of the body through the motor control of the nervous and motor systems. The key to the human body maintaining balance lies mainly in the perception and adjustment of the state and position of the body by the vestibular, visual, nervous and proprioceptive systems. The position of the human body's center of gravity projected onto the horizontal plane will change accordingly when the body posture changes. By studying the changes in the center of gravity projection point, the relevant characteristics of the human body's balance ability can be observed.

[0003] For the elderly and those with balance disorders, such as stroke patients, Parkinson's disease patients, cerebral thrombosis patients, etc., their balance ability is greatly reduced, and balance ability tests are needed to prevent falls, etc. Therefore, some methods and research on human balance ability assessment have gradually increased.

[0004] Accurately evaluating the balance ability of the human body is also of practical significance in sports: it helps coaches judge the ability of athletes to maintain their own stability, and selects athletes through balance ability level tests (excellent, good, medium, poor). At the same time, athletes can be evaluated multiple times, and the effectiveness of the training plan can be verified by comparing the evaluation results.

[0005] The existing equipment cannot objectively measure the effective training intensity and time accumulation of the elderly and patients with balance dysfunction caused by external injuries during the lower limb balance training. In addition, the existing lower limb balance training equipment has a complex structure and poor intelligence. Therefore, this application document uses STM32 to design a balance instrument system, which can effectively solve the above problems. Summary of the invention

[0006] The object of the present invention is to provide a balance instrument system based on STM32, wherein pressure signals are collected by multiple pressure sensors, an AD conversion module communicates with an MCU through an SPI interface and transmits digital signals, a terminal processor STM32F407RBT6 processes and analyzes data, calculates the position of the center of gravity, and is connected to a host computer through a serial port to perform visualized human-computer interaction operations, thereby solving the problems of poor intelligence and inaccurate pressure center coordinate analysis of existing balance rehabilitation equipment.

[0007] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:

[0008] The present invention is a balancing instrument system based on STM32, comprising a control subsystem and a human-computer interaction subsystem;

[0009] The control subsystem includes an MCU circuit, a power supply module, a pressure sensor module, an AD conversion module, and a DC motor drive module; the pressure sensor module is connected to the AD7795 module; the pressure sensor module is used to transmit the read pressure value to the AD7795 module; the AD7795 module is used to convert the pressure value from an analog signal to a digital signal; the AD7795 module is connected to the MCU circuit through an SPI interface; the MUC circuit is connected to the DC motor drive module; the output end of the DC motor drive module is connected to a motor; the output end of the power supply module is connected to the MUC circuit;

[0010] The MUC circuit is connected to the host computer via an RS485 serial port;

[0011] The human-machine interaction subsystem includes a host computer and a display screen, a pressure data acquisition module, and a factory parameter module; the host computer is connected to the display screen via an HDMI interface; the host computer is used for visual interaction between humans and machines, selection of platform height, and display of the movement trajectory of the human body's center of gravity; the host computer includes a host computer main interface, a pressure data acquisition interface, and a factory parameter interface.

[0012] Preferably, the MCU circuit uses STM32F407RBT6 as the main control chip.

[0013] Preferably, the power supply module adopts a TPS5430 chip; the TPS5430 chip integrates a low-impedance high-side N-channel MOSFET; and the TPS5430 chip integrates a voltage error amplifier.

[0014] Preferably, the pressure sensor module adopts a 4-pin design, wherein pins 1 and 4 are connected to an analog reference voltage and an analog ground respectively, and pins 2 and 3 are analog signal inputs.

[0015] Preferably, the AD conversion module adopts an AD7795 chip; the AD7795 chip has a built-in low-noise 24-bit / 16-bit 6-channel differential input ADC; the AD7795 chip also integrates an on-chip low-noise instrument amplifier; the AD7795 chip communicates with the MCU circuit through the SPI interface and transmits the converted digital signal to the MCU circuit.

[0016] Preferably, the DC motor drive module adopts the MC33931 chip.

[0017] Preferably, the pressure data acquisition module can be set to two modes, single acquisition and continuous acquisition, through the host computer. When the continuous acquisition mode is selected, data acquisition can be ended at any time by clicking the stop acquisition button.

[0018] The present invention has the following beneficial effects:

[0019] The present invention collects pressure signals through 12 pressure sensors, the AD conversion module communicates with the MCU through the SPI interface and transmits digital signals, the terminal processor STM32F407RBT6 processes and analyzes the data, calculates the position of the center of gravity, and connects to the host computer through the serial port to perform visual human-computer interaction operations, accurately and clearly calculates the position of the center of gravity, and then determines whether the balance function of the subject is normal, and screens out patients with balance disorders, which can greatly improve the inspection efficiency of the hospital. The device and method of the present invention are not only suitable for the rehabilitation of the patient's lower limbs, but also can be used for the balance test of athletes, and have good flexibility.

[0020] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for describing the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 The present invention is a schematic diagram of the structure of a balancing instrument system based on STM32;

[0023] Figure 2 Design a circuit diagram for the MCU module of the balancing instrument system of the present invention;

[0024] Figure 3 This is a circuit diagram of a power module of a balancing instrument system of the present invention;

[0025] Figure 4 This is a circuit diagram of a pressure sensor interface module of a balancing instrument system of the present invention;

[0026] Figure 5 This is a circuit diagram of an analog-to-digital conversion module of a balancing instrument system of the present invention;

[0027] Figure 6 This is a circuit diagram of a power module of a balancing instrument system of the present invention;

[0028] Figure 7 This is the software process of the human-computer interaction system of the present invention. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] See also Figure 1 As shown, the present invention is a balancing instrument system based on STM32, including a control subsystem and a human-computer interaction subsystem;

[0031] The control subsystem includes MCU circuit, power supply module, pressure sensor module, AD conversion module, and DC motor drive module; the pressure sensor module is connected to the AD7795 module; the pressure sensor module is used to transmit the read pressure value to the AD7795 module; the AD7795 module is used to convert the pressure value from an analog signal to a digital signal; the AD7795 module is connected to the MCU circuit through the SPI interface; the MUC circuit is connected to the DC motor drive module; the output end of the DC motor drive module is connected to a motor; the output end of the power supply module is connected to the MUC circuit; the DC motor drive module is used to control the lifting of the balance table; the balance table is placed on a horizontal plane, and the human body stands on the balance instrument. The pressure value of the human body on the pressure sensor at the bottom of the balance instrument is transmitted to the computer through the control circuit, and then the coordinates of the pressure center on the balance instrument plane are calculated through the principle of mechanics, and finally the trajectory image of the pressure center coordinates is drawn. By analyzing the changes in the trajectory, the balance ability can be judged.

[0032] The MUC circuit is connected to the host computer via the RS485 serial port;

[0033] The human-machine interaction subsystem includes a host computer and a display screen, a pressure data acquisition module, and a factory parameter module; the host computer is connected to the display screen via an HDMI interface; the host computer is used for visual interaction between humans and machines, selection of platform height, and display of the movement trajectory of the human body's center of gravity; the host computer includes a host computer main interface, a pressure data acquisition interface, and a factory parameter interface.

[0034] See also Figure 2As shown in the figure, the MCU circuit uses STM32F407RBT6 as the main control chip, because all data processing and transmission are concentrated in the terminal module, and the entire lower-level hardware is integrated. In order to achieve functions and high efficiency, the system uses STM32F407 to build the entire lower-level circuit. STM32F103 is a highly integrated development board with a 32-bit microcontroller and 72MHz power consumption, with Cortex-M3 as the core, and each module function. The motor drive, serial port function realization and data packet push are all realized by Cortex-M3 pin operation.

[0035] See also Figure 3 As shown in the figure, the power supply module uses the TPS5430 chip; the TPS5430 chip integrates a low-impedance high-side N-channel MOSFET; the TPS5430 chip integrates a voltage error amplifier; this TPS5430 integrates a low-impedance high-side N-channel MOSFET. A high-performance voltage error amplifier is also integrated inside, which has strict voltage regulation accuracy under transient conditions and an undervoltage lockout function to prevent starting when the input voltage reaches 5.5V; the built-in slow start circuit limits the inrush current, and the voltage feed-forward circuit improves the transient response.

[0036] See also Figure 4 As shown, the pressure sensor module adopts a 4-pin design, where pins 1 and 4 are connected to the analog reference voltage and analog ground respectively, and pins 2 and 3 are analog signal inputs.

[0037] See also Figure 5 As shown, the AD conversion module uses the AD7795 chip; the AD7795 chip has a built-in low-noise 24-bit / 16-bit 6-channel differential input ADC; the AD7795 chip also integrates an on-chip low-noise instrument amplifier, which can directly input small signals to the ADC; the AD7795 chip communicates with the MCU circuit through the SPI interface and transmits the converted digital signal to the MCU circuit.

[0038] See also Figure 6As shown, the DC motor drive module uses the MC33931 chip, and the DC motor drive uses 3.3V. 33931 is a monolithic H-bridge power integrated circuit in a rugged thermally enhanced package. It is mainly designed for automotive electronic throttle control, but is also suitable for any low-voltage DC servo motor in all current and voltage limit control application specific connections listed here. The 33931H bridge is capable of controlling inductive loads with currents up to 5.0 peak. The RMS current capability is subject to the degree of heat sink provided to the device package. The internal peak current limit (regulation) is activated above 6.5±1.5A for load currents. The output load can be pulse width modulated with a frequency of up to 11 kHz. The load current feedback function provides a proportional (0.24% of the load current) current output suitable for monitoring by a microcontroller A / D input. The undervoltage status flag output reports, overcurrent and overtemperature faults.

[0039] The pressure data acquisition module can be set in two modes: single acquisition and continuous acquisition through the host computer. When the continuous acquisition mode is selected, data acquisition can be ended at any time by clicking the stop acquisition button.

[0040] A specific application of this embodiment is:

[0041] The balance table is placed still on a horizontal plane, and the human body stands still on the balance instrument. The pressure value of the human body on the pressure sensor at the bottom of the balance instrument is transmitted to the computer through the control circuit, and then the coordinates of the pressure center on the plane of the balance instrument are calculated through the principle of mechanics, and finally the trajectory image of the pressure center coordinates is drawn; by analyzing the changes in the trajectory, the quality of the balance ability can be judged. Since the human body cannot remain absolutely still, any slight shaking will be reflected in the image.

[0042] See also Figure 7 As shown in the figure, after power-on, the lower computer initializes all related peripherals. When the RTC clock reaches 1s, the control LED light starts flashing, indicating that the peripheral initialization is complete and the upper computer software starts. The user selects a mode on the upper computer's display screen and adjusts the height of the balance platform. The upper computer sends the height information to the MCU through the serial port, triggering the MCU serial port interrupt, and then adjusts the motor rotation according to the user's setting height. After the height adjustment is completed, it stays on the human-computer interaction interface. After the user selects start, the image of the balance platform will be displayed on the display screen, and the center of gravity of the person will be calculated. The coordinates of the center of gravity will be updated in real time as the center of gravity of the person moves. The trajectory of the center of gravity movement can be seen on the image.

[0043] It is worth noting that in the above system embodiment, the various units included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0044] In addition, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiments can be completed by instructing related hardware through a program, and the corresponding program can be stored in a computer-readable storage medium.

[0045] The preferred embodiments of the present invention disclosed above are only used to help illustrate the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A balancing instrument system based on STM32, including a control subsystem and a human-computer interaction subsystem, characterized in that: The control subsystem includes an MCU circuit, a power supply module, a pressure sensor module, an AD conversion module, and a DC motor drive module. The AD conversion module is an AD7795 module using an AD7795 chip; the pressure sensor module is connected to the AD7795 module; the pressure sensor module is used to transmit the read pressure value to the AD7795 module; the AD7795 module is used to convert the pressure value from an analog signal to a digital signal; the AD7795 module is connected to the MCU circuit through an SPI interface; the MCU circuit is connected to the DC motor drive module; the output end of the DC motor drive module is connected to a motor; the output end of the power supply module is connected to the MCU circuit; The MCU circuit is connected to the host computer via the RS485 serial port; The human-machine interaction subsystem includes a host computer and a display screen, a pressure data acquisition module, and a factory parameter module; the host computer is connected to the display screen via an HDMI interface; the host computer is used for visual interaction between humans and machines, selection of platform height, and display of the movement trajectory of the human body's center of gravity; the host computer includes a host computer main interface, a pressure data acquisition interface, and a factory parameter interface; After power-on, the lower computer initializes all related peripherals. When the RTC clock reaches 1s, the control LED light starts to flash, indicating that the peripheral initialization is completed and the upper computer software is started; the user selects a mode on the upper computer's display screen and adjusts the height of the balance platform. The upper computer sends the height information to the MCU through the serial port, triggering the MCU serial port interrupt, and then adjusts the motor rotation according to the user's setting height; after the height adjustment is completed, it stays on the human-computer interaction interface; after the user selects start, the image of the balance platform will be displayed on the display screen, and the center of gravity of the person will be calculated, and the coordinates of the center of gravity will be updated in real time as the center of gravity of the person moves, and the trajectory of the center of gravity movement can be seen on the image.

2. A balancing instrument system based on STM32 according to claim 1, characterized in that: The MCU circuit uses STM32F407RBT6 as the main control chip.

3. A balancing instrument system based on STM32 according to claim 1, characterized in that: The power supply module adopts a TPS5430 chip; the TPS5430 chip integrates a low-impedance high-side N-channel MOSFET; and the TPS5430 chip integrates a voltage error amplifier.

4. A balancing instrument system based on STM32 according to claim 1, characterized in that: The pressure sensor module adopts a 4-pin design, wherein pins 1 and 4 are connected to an analog reference voltage and an analog ground respectively, and pins 2 and 3 are analog signal inputs.

5. A balancing instrument system based on STM32 according to claim 1, characterized in that: The AD7795 chip has a built-in low-noise 24-bit / 16-bit 6-channel differential input ADC; the AD7795 chip also integrates an on-chip low-noise instrument amplifier; the AD7795 chip communicates with the MCU circuit via the SPI interface and transmits the converted digital signal to the MCU circuit.

6. A balancing instrument system based on STM32 according to claim 1, characterized in that: The DC motor drive module adopts the MC33931 chip.

7. The STM32-based balancing instrument system according to claim 1, characterized in that: The pressure data acquisition module can be set to two modes, single acquisition and continuous acquisition, through the host computer. When the continuous acquisition mode is selected, data acquisition can be ended at any time by clicking the stop acquisition button.

Citation Information

Patent Citations

  • Portable multifunctional human-body balance index analyzer

    CN102204816A

  • Balancer system based on STM32

    CN213075613U