Disclosure of Invention
In view of the above, the present invention provides a circuit and a method for wirelessly collecting and displaying plantar pressure, so as to solve the deficiencies in the prior art.
The technical scheme of the invention is as follows:
a plantar pressure wireless acquisition display circuit comprises:
the signal acquisition circuits are respectively used for acquiring pressure values of different parts of the soles of the human bodies and converting the acquired pressure values into digital signals;
the single-chip microcomputers are respectively and electrically connected with the output ends of the corresponding signal acquisition circuits and are used for receiving digital signals of pressure values of the soles of the human bodies;
the wireless transmitting modules are respectively and electrically connected with the corresponding single chip microcomputer and are used for transmitting the digital signals sent by the signal acquisition circuit to the single chip microcomputer;
the wireless receiving module is used for receiving the digital signals transmitted by the plurality of wireless transmitting modules;
and the main processor is in signal connection with the wireless receiving module and is used for receiving the digital signals sent by the wireless receiving module, judging and processing the digital signals and transmitting the final gait phase result to the display for displaying.
Preferably, the signal acquisition circuit comprises a pressure sensor F1, a comparator U1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a potentiometer P1, an LED diode D1 and an LED diode D2, one end of the pressure sensor F1 is grounded, the other end is electrically connected with a signal input end of the comparator U1, a signal input end of the comparator U1 is electrically connected with one end of the resistor R1, the other end of the resistor R1 is electrically connected with a power supply, a reference voltage input end of the comparator U1 is electrically connected with a moving end of the potentiometer P1, one end of the potentiometer P1 is grounded, the other end of the potentiometer P2 is electrically connected with the power supply, one end of the resistor R2 is electrically connected with the power supply, the other end is electrically connected with a signal output end of the comparator U1, one end of the LED diode D1 is electrically connected with the power supply, the other end of the LED diode D1 is electrically connected with one end of the resistor R3, the other end of the resistor R3 is, one end of the LED diode D2 is connected with a power supply, the other end of the LED diode D2 is electrically connected with one end of a resistor R4, and the other end of the resistor R4 is grounded.
Preferably, each single chip microcomputer is connected with a function key for resetting, checking and measuring.
Preferably, the comparator is a dual-voltage comparator, the plurality of wireless transmitting modules and the wireless receiving modules are based on wireless Bluetooth transmission, and the main processor is an MCU development board.
The method for collecting the plantar pressure by utilizing the plantar pressure wireless collecting and displaying circuit comprises the following steps:
respectively adjusting the resistance value of each potentiometer P1 and setting the reference voltage of each ADC channel;
the plantar pressure sensor F1 is used for collecting plantar pressure in real time, and the collected plantar pressure is input into a signal input end of a comparator U1;
when the collected sole pressure is greater than the comparative pressure value, the comparator U1 outputs 1, and when the collected sole pressure is less than the comparative pressure value, the comparator U1 outputs 0;
the comparator U1 outputs 0 to the ADC port, the LED diode D1 is turned off, the comparator U1 outputs 1 to the ADC port, and the LED diode D1 is turned on;
initializing an ADC;
turning on a single chip microcomputer;
erasing the sector and beginning to write data to the sector;
the single chip microcomputer forwards the digital signals simultaneously received by the ADC channels through the wireless Bluetooth module;
the main processor receives the digital signals forwarded by the wireless Bluetooth module, performs gait judgment according to the received digital signals, and displays the gait judgment result on a display screen in real time;
storing the digital signal and the human body movement gait judgment result to an EEPROM;
and (5) closing the single chip machine.
The invention collects the data of the pressure of the sole of a person in real time during the walking process, and then the resistance value of a plurality of paths of pressure sensors of the sole of the person is converted into a TTL digital signal value in real time through a voltage comparator and a resistance feedback loop, and finally the resistance value is transmitted to an ADC input port of a singlechip through an analog-digital circuit interface in parallel through a wireless Bluetooth sending and receiving device, and the data is transmitted to an MCU development board through a wireless Bluetooth module, the real-time walking gait information of the stroke patient can be obtained through the real-time analysis of the pressure data of the sole of the person, and the result is displayed on a display screen in real time.
Compared with the prior art, the used plantar pressure measuring system has the advantages that the sensors are fewer and portable, real-time plantar pressure data needed by professionals in analysis can be met, the measured data volume is reduced, pressure is reduced for remote transmission and big data transmission, the cost is low, the carrying and the operation are convenient, the practicability is high, and the popularization value is high.
Detailed Description
The invention provides a plantar pressure wireless acquisition and display circuit and a plantar pressure wireless acquisition and display method, and the invention is explained below by combining the structure schematic diagrams of figures 1 to 4.
The invention provides a wireless plantar pressure acquisition circuit, which comprises:
the signal acquisition circuits are respectively used for acquiring pressure values of different parts of the soles of the human bodies and converting the acquired pressure values into digital signals;
the single-chip microcomputers are respectively and electrically connected with the output ends of the corresponding signal acquisition circuits and are used for receiving digital signals of pressure values of the soles of the human bodies;
the wireless transmitting modules are respectively and electrically connected with the corresponding single chip microcomputer and are used for transmitting the digital signals sent by the signal acquisition circuit to the single chip microcomputer;
the wireless receiving module is used for receiving the digital signals transmitted by the plurality of wireless transmitting modules;
and the main processor is in signal connection with the wireless receiving module and is used for receiving the digital signals sent by the wireless receiving module, judging and processing the digital signals and transmitting the final gait phase result to the display for displaying.
Example 1
Referring to fig. 1, the wireless plantar pressure acquisition circuit provided by the invention comprises three plantar pressure signal acquisition circuits and signal receiving and bluetooth transmitting circuits which are sequentially and correspondingly connected with the three plantar pressure signal acquisition circuits, and the information of all the signal receiving and bluetooth transmitting circuits is collected to the bluetooth receiving and displaying circuit for analysis and then displayed.
The plantar pressure signal acquisition circuits are completely the same in structure and respectively comprise a pressure sensor F1, a comparator U1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a potentiometer P1, an LED diode D1 and an LED diode D2, one end of the pressure sensor F1 is grounded, the other end of the pressure sensor F1 is electrically connected with a signal input end of the comparator U1, a signal input end of a comparator U1 is electrically connected with one end of a resistor R1, the other end of the resistor R1 is electrically connected with a power supply, a reference voltage input end of the comparator U1 is electrically connected with a moving end of the potentiometer P1, one end of the potentiometer P1 is grounded, the other end of the potentiometer P1 is electrically connected with the power supply, one end of the resistor R2 is electrically connected with the power supply, the other end of the comparator U1 is electrically connected with a signal output end, one end of the LED diode D1 is electrically connected with the power supply, the other end of the LED diode D1 is electrically, one end of the LED diode D2 is connected to a power supply, the other end of the LED diode D2 is electrically connected to one end of the resistor R4, and the other end of the resistor R4 is grounded.
Further, the comparator U1 is a dual voltage comparator, model LM 2903.
Referring to fig. 1 and 3, there are 3 sole pressure sensors F1, which are located at the heel, fifth metatarsophalangeal and first metatarsophalangeal of the human foot.
Wherein the pressure sensor F1 is model FSR 402.
The pressure sensor F1 inputs the detected signal in parallel to the input port 3 at the front end of the comparator sequentially through the resistor R1 for voltage division and the filter capacitor, compares the signal with a reference circuit composed of a potentiometer P1, a resistor R2, an LED diode D1 and a resistor R3, and sets a reference comparison voltage by adjusting the potentiometer P1.
One end of a series circuit formed by the LED diode D2 and the resistor R4 is grounded, and the other end of the series circuit is connected with a power supply for indicating whether the power supply is switched on or off.
In the plantar pressure signal acquisition circuit, an independent resistor R2 in a reference circuit plays a role in bearing load, and the output connection signal at a pin 1 of a comparator is received and connected with an AD input port of a singlechip in a Bluetooth transmitting circuit.
The signal receiving circuit and the Bluetooth transmitting circuit have the same structure and comprise a single chip microcomputer, a wireless main Bluetooth module and function operation keys.
The plurality of wireless transmitting modules and the wireless receiving modules are based on wireless Bluetooth transmission.
Furthermore, the singlechip is connected with functional keys for resetting, checking and measuring.
The pin RXD and the TXD of the singlechip module are respectively connected with a port 1 and a port 2 of the wireless main Bluetooth module J1 and used for sending digital signal values received by an AD input port of the singlechip, and keys K1, K2 and K3 connected with the singlechip are respectively used for resetting, checking and measuring.
Referring to fig. 2, the bluetooth receiving and displaying circuit is configured to receive a digital signal value sent by the wireless master bluetooth module J1, and display a real-time result on the TFT liquid crystal color screen after being processed by the ATMEGA1280 development board.
The wireless slave bluetooth receiving modules J4, J5 and J6 are respectively used for receiving digital signal values transmitted by three wireless master bluetooth modules J1, and pins 1 and 2 of the wireless slave bluetooth receiving modules are respectively connected with TXD2, RXD2, TXD3, RXD3, TXD0 and RXD0 of an ATMEGA1280 development board to receive digital signals transmitted by wireless master wireless bluetooth.
The main processor is an MCU development board, and the model of the MCU development board is ATMEGA 1280. After receiving the real-time digital signal, the ATMEGA1280 development board judges and processes the real-time digital signal, and displays the final gait phase result on a TFT liquid crystal color screen in real time, wherein the resolution of the TFT color screen is 320 × 240.
The single-chip microcomputer I1 is connected with a wireless main Bluetooth module J1, the single-chip microcomputer I1 is of an IAP15W4K63S4 model, the wireless main Bluetooth module J1 is of an HC-08 model, the auxiliary Bluetooth modules J4, J5 and J6 are connected with an ATMEGA1280 development board U6, the ATMEGA1280 development board U6 is connected with a TFT liquid crystal screen, and the liquid crystal display screen is used for displaying results.
On the basis of the signals collected by the pressure sensor in fig. 3, the gait discrimination method of the main processor corresponding to the digital signal values received by the serial port 0, the serial port 2 and the serial port 3 is as follows: when the serial port 0 is 1, and the serial ports 2 and 3 are 0, the heel corresponding to human gait is landed; when the serial port 0, the serial port 2 and the serial port 3 are all 1, the feet corresponding to human gait completely touch the ground; when the serial port 0 is 0, and at least 1 serial port 2 and at least 1 serial port 3 are 1, the heel corresponding to the gait of the human body is raised; when the serial port 0, the serial port 2 and the serial port 3 are all 0, the gait discrimination table is shown in the following table 1 corresponding to the state that the foot of human gait is completely lifted off.
TABLE 1 gait discriminant table
Phase position
|
Heel strike
|
Completely touch the ground
|
Heel lift
|
Foot is completely separated from ground
|
Serial port 0
|
1
|
1
|
0
|
0
|
Serial port 2
|
0
|
1
|
0 or 1
|
0
|
Serial port 3
|
0
|
1
|
0 or 1
|
0 |
The working process of the plantar pressure wireless acquisition and display circuit is as follows:
before being input into a comparator LM2903 in parallel, the plantar pressure sensor carries out voltage division through a voltage division resistor, and carries out high-frequency filtering through a capacitor and then inputs the plantar pressure sensor into the front end input of the comparator LM2903, the purpose is to convert the collected real-time plantar pressure value into a voltage value to be compared with a reference circuit formed by a pin 2 of the LM2903, a reference comparison voltage is set through adjusting a potentiometer P1, the resistor R2 plays a role in bearing load, when an LED diode D1 is bright, the output of the pin 1 of the comparator LM2903 is 1, and when the LED diode D1 is not bright, the output of the pin 1 of the comparator 290LM 3 is 0.
The three single-chip microcomputers I1 transmit signals to the serial port 0, the serial port 2 and the serial port 3 of the ATMEGA1280 development board in a wireless mode through the master wireless Bluetooth module J1 according to digital signal values received by the ADC5, the signals are transmitted to the serial port 0, the serial port 2 and the serial port 3 of the ATMEGA1280 development board through the slave wireless Bluetooth modules J4, J5 and J6, the digital signal values of the serial port 0, the serial port 2 and the serial port 3 and the processed human body movement gait are displayed in real time through the TFT screen, and finally results are displayed in.
Based on the same inventive concept, the embodiment of the invention also provides a plantar pressure acquisition method, and referring to fig. 4, the implementation of the plantar pressure acquisition method is completed based on the plantar pressure wireless acquisition display circuit, repeated parts are not repeated, and the plantar pressure acquisition method comprises the following steps:
respectively adjusting the resistance value of each potentiometer P1 and setting the reference voltage of each ADC channel;
the plantar pressure sensor F1 is used for collecting plantar pressure in real time, and the collected plantar pressure is input into a signal input end of a comparator U1;
when the collected sole pressure is greater than the comparative pressure value, the comparator U1 outputs 1, and when the collected sole pressure is less than the comparative pressure value, the comparator U1 outputs 0;
the comparator U1 outputs 0 to the ADC port, the LED diode D1 is turned off, the comparator U1 outputs 1 to the ADC port, and the LED diode D1 is turned on;
initializing an ADC;
turning on a single chip microcomputer;
erasing the sector and beginning to write data to the sector;
the single chip microcomputer forwards the digital signals simultaneously received by the ADC channels through the wireless Bluetooth module;
the main processor receives the digital signals forwarded by the wireless Bluetooth module, performs gait judgment according to the received digital signals, and displays the gait judgment result on a display screen in real time;
storing the digital signal and the human body movement gait judgment result to an EEPROM;
and (5) closing the single chip machine.
According to the wireless acquisition and display circuit and the method for plantar pressure, high-precision data acquisition is realized by adopting the FSR402 convenient pressure measuring sensor, and the intelligent and embedded plantar pressure measurement is realized by the MCU plantar pressure measurement and analysis integrated machine taking the IAP15W4K63S4 development board as the core. The MCU system is ready to use when being started, the FSR402 can convert the sole pressure into a resistance value in real time, the resistance value of the sole pressure of the FSR402 sensor is converted into a TTL digital signal in real time through the LM2903 voltage comparator and the resistance feedback loop, and finally, parallel multi-path output is transmitted to a multi-path ADC input port of IAP15W4K63S4 through a digital signal circuit interface, and a TFT color screen is used for displaying a multi-path real-time sole pressure measurement signal and a gait classification result corresponding to the multi-path real-time sole pressure measurement signal in real time. The IAP15W4K63S4 development board is selected to be internally provided with a 63.5K EEPROM, so that off-chip resources are saved, and the use is more convenient. The insole can replace the sole pressure insole with high cost under the current large trend of intellectualization and portability, thereby having stronger engineering practice significance.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied in the medium, including, but not limited to, disk storage, CD-ROM, optical storage, and the like.
The above disclosure is only for the preferred embodiments of the present invention, but the embodiments of the present invention are not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.