Gait, as one of the biometric features, has important research significance in identity recognition and motion analysis. Many scholars at home and abroad have invested in this hot research. Gait research needs to be based on a large amount of reliable original gait data. Currently, the public gait database is based on gait images. However, images captured in dynamic environments are easily affected by various factors such as lighting changes and the shadow of moving targets, which brings great difficulties to the extraction of gait features. Ailisto H. et al. proposed a new method to obtain gait data using an accelerometer, which avoids the adverse effects of various factors in dynamic environments on capturing images, reduces the difficulty of data processing, and thus opens up a new way to obtain gait data. However, this method uses a laptop equipped with a DAQl200 data acquisition card to collect data, which is not only costly, but also inconvenient for the test subject to carry.
In recent years, with the development of sensor technology and the continuous improvement of manufacturing technology, MEMS (Micro-Electro-Mechanical-System) accelerometers with the advantages of small size, high precision, and low power consumption have entered the application field, making gait research based on motion sensors more convenient. The gait acceleration signal wireless acquisition device introduced in this article is designed using the main components such as MEMS three-axis accelerometer LIS3LV02DQ, wireless transceiver chip nRF2401, and 8-bit microcontroller μPD78F0547.
1 Hardware circuit design
The gait acceleration signal wireless acquisition device is mainly composed of two parts: data acquisition and wireless transmission module, wireless receiving and data transmission module. The main interface circuits include the CSIA0 serial interface circuit between the microcontroller and the accelerometer, the CSIll serial interface circuit between the microcontroller and the wireless transceiver chip, and the UART to USB bridge circuit. Its principle is shown in Figure 1 and Figure 2. The data acquisition and wireless transmission module fixed on the back of the human waist acquires and wirelessly transmits the three-dimensional acceleration data of the human body during movement; the wireless receiving and transmission module on the computer side transmits the received data to the computer through the USB serial interface as the data source for subsequent data processing.
2 Control software design
The data acquisition and wireless transmission program flow is shown in Figure 3. The initialization includes the initialization of the microcontroller's I/O port, serial interface initialization, interrupt initialization, and initialization configuration of the accelerometer and wireless transceiver chip. After the initialization is completed, wait for the key command. The first key press enters the data collection state, and the second key press stops the data collection. The key is controlled by the person being tested.
[page]
The main program code for the accelerometer is as follows:
Note:
① When CSIA0 works in 1-byte communication, if only receiving operation is performed, communication can only be started by writing virtual data to the serial I/O shift register SIOA0. After the communication is completed, an interrupt request signal (INTACSI) is generated. At this time, reading SIOA0 is the desired value.
② After each set of acceleration values is collected, the statement:
write_comm (WRITE_STATUS_REG, Ox00) must be executed. By clearing the status register STATUS_REG, the Data-Ready signal output by the accelerometer can be cleared, thereby generating a new set of acceleration values.
The wireless receiving and data transmission program flow is shown in Figure 4. After completing the initialization, it enters the loop listening state. When receiving data, the wireless transceiver chip nRF2401 sends a data ready signal to the MCU. After reading the data, the MCU communicates with the computer through serial communication and saves the data in the form of a file to the computer.
3 Experiments
The wireless transmitting and receiving antennas in this design use the circular wires on the PCB board, which have weak transmission capabilities. Therefore, the experiment was completed under the condition that the transmitting and receiving ends were within the visual range and there were no obstacles blocking them. The test subject fixed the data acquisition and wireless transmission modules of the device on the back of the waist, and made the positive directions of the three axes of the accelerometer point to the side, vertical and forward directions of the human body as required. The experimental results show that when the accelerometer works at any sampling rate within its sampling frequency range, the device can meet the requirements of collection and transmission. Figure 5 is a time-acceleration diagram received and saved in the computer when the accelerometer works at 160Hz and the test person walks on flat ground.
Conclusion
The wireless gait data acquisition device designed in this paper has made an effective attempt to further complete the portable acquisition device by completing the acquisition and storage of gait acceleration data in a specific environment. Through further improvement and perfection, it will become an effective tool for establishing the original gait acceleration database, tracking and detecting, and recording the movement status of people.
Previous article:DSP Control System in Data Acquisition System
Next article:Application of filter MAX274 in power parameter measurement
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Seizing the Opportunities in the Chinese Application Market: NI's Challenges and Answers
- Tektronix Launches Breakthrough Power Measurement Tools to Accelerate Innovation as Global Electrification Accelerates
- Not all oscilloscopes are created equal: Why ADCs and low noise floor matter
- Enable TekHSI high-speed interface function to accelerate the remote transmission of waveform data
- How to measure the quality of soft start thyristor
- How to use a multimeter to judge whether a soft starter is good or bad
- What are the advantages and disadvantages of non-contact temperature sensors?
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Can the digital tube screen be driven by the same driving method as the segment code LCD screen?
- Creative digital electronic clock using ESP8266
- Hardware Engineer (Shanghai)
- Three Clouds
- MSP430FR5969 Development Data
- Working principle, circuit analysis and industry status of RF chips
- Highly integrated analog front-end signal conditioning circuit diagram
- [TI star product limited time purchase] + familiar with participating in the event, the old man bought another CC2640R2
- Applications of Embedded AI
- Large capacitors filter low frequencies, and small capacitors filter high frequencies?