Abstract: The construction of a multi-physiological parameter system data processing platform with NiosⅡ soft-core processor as the core, embedding 32-bit Nios II soft-core system in FPGA to control signal acquisition, processing, storage and display functions. NiosⅡ system design is based on NiosⅡ soft core, integrating all interface circuits on the same FPGA, with simple structure, easy to modify and high cost performance.
As medical instruments and equipment develop towards intelligence, miniaturization, serialization, digitization, and multi-functions, the logic control devices in medical equipment have also evolved from medium- and small-scale integrated chips to field programmable gate arrays (FPGAs). The use of FPGA devices can greatly shorten the development cycle of medical equipment and reduce development costs. At the same time, it is also very convenient to modify the design online. Therefore, FPGA is widely used in medical equipment [1].
This paper mainly builds a data processing platform for a multi-physiological parameter measurement system, embedding a 32-bit Nios II soft-core processor in the FPGA to control the transmission, storage and display of data. The main tasks are to customize the hardware system of this data processing platform and write corresponding programs to control the acquisition, storage and display of data.
Using Nios II processor as the core for design, all interface circuits can be integrated on the same FPGA, which has a simple structure. At the same time, by taking advantage of the online configuration of Nios II soft core, the internal structure of FPGA can be changed through software programming to quickly and conveniently expand and upgrade system performance, greatly shortening the system development cycle and improving cost performance.
Overall Design of Multi-Physiological Parameters Measurement System
A complete physiological parameter detection system structure can be divided into three parts: front-end detection circuit, interface part, and data processing platform, which respectively complete the physiological signal acquisition, transmission and signal processing functions. The system hierarchy is shown in Figure 1.
The front-end detection circuit mainly completes the acquisition and quantification of signals. By connecting different sensors, different physiological signals can be collected, including common physiological signals such as ECG signals, pulse signals, and body temperature. After some amplification, filtering, and analog-to-digital conversion, the collected physiological signals are sent to the data processing module through the serial port for processing to obtain the required physiological parameters, and finally displayed or wirelessly transmitted. This article mainly completes the construction of a data processing platform based on FPGA technology.
Design of Data Processing Platform Based on FPGA Technology
This design builds a data processing platform with Nios II soft-core processor as the core. First, it controls the serial port to receive data and stores it in the corresponding storage space. After relevant data processing, it displays the corresponding waveform and parameters by controlling the display peripherals. NiosⅡ is a RISC general-purpose embedded processor soft core based on Harvard structure. It can be combined with user logic and programmed into Altera's FPGA. The processor has a 32-bit instruction set, a 32-bit data channel and configurable instructions and data buffers [2-3]. [page]
Hardware platform construction
In this design, the Nios II soft-core processor is used as the control core, and the basic data processing platform is formed by connecting serial ports, storage devices, and display peripherals. Therefore, the hardware platform shown in Figure 2 is built.
The hardware platform is mainly implemented on the Altera DE2 development board of Terasic. The main components of the system include the NiosⅡ core, on-chip memory, timer, VGA controller, LCD controller, etc., which are all integrated on an Altera Cyclone II FPGA chip. SoPC Builder is used to configure and generate the system on chip. SoPC Builder automatically generates the HDL file of each module, and also automatically generates some necessary arbitration logic to coordinate the work of various components in the system [4].
Customization of NiosⅡ soft core system
Based on the hardware platform constructed in Figure 2, SoPC Builder is used to customize the 32-bit Nios II CPU and the parameterized Avalon interface bus. Then, the required component cores in the platform are appropriately added to meet the functional requirements of the Nios II system, generating the basic customization shown in Figure 3.
Software Design
The software part mainly controls the reception, storage and display of data. In the custom IP core module, some data processing algorithms can be designed, such as digital filtering algorithms, calculation of certain physiological parameter values, including blood pressure values, heart rate, etc. [page]
Design of data receiving module
This design uses the serial port to receive data. The UART serial port module used in Nios II development is a SoPC Builder component, which is included in the Nios II development kit. The development kit also predefines some UART data structures and commonly used UART functions, which makes it easy to program the UART.
First, the parameters of UART need to be set in SoPC Builder, including baud rate, data frame format for transmission, etc. When the hardware design of the system is completed under SOPC Builder, a hardware abstraction layer (HAL) file will be automatically generated as the interface between software and hardware, and the relevant data structure of the UART module will be declared in the excalibur.h header file. The software accesses the hardware through the abstract address mapping interface of the peripheral. This design uses serial port interrupt to receive data, and its process is shown in Figure 4.
Design of data display module
In the Nios II system, VGA is a peripheral IP core. The most important part of the design is the generation of VGA timing, which is the key to normal output display and is included in the VGA controller. The VGA controller is generated using the interface to user logic in SoPC Builder. First, a timing output and RGB signal output module is defined using the hardware description language. The dot clock 25.175MHz is generated by the clock provided by the development board through the phase-locked loop. The phase-locked loop is added to the system through the MegWizard tool. This module implements the dot clock, composite synchronization control signal, composite blanking control signal, horizontal synchronization and field synchronization signals required for VGA output; it also completes the reading of output display commands and color values from the register. The dot clock, composite synchronization control signal, composite blanking control signal and RGB digital signal are input to ADV7123, and the horizontal synchronization, field synchronization and RGB analog signal converted and output by ADV7123 are input to the VGA display. In addition, the hardware description language is used to implement the reading and writing of the register so that the VGA controller port complies with the Avalon interface specification.
The timing control of the VGA module and the output program of the RGB signal are written in HDL language, and the timing simulation results are shown in Figure 5.
Design of data storage module
The development board used in this design provides rich storage resources, including 8MB of SDRAM, 512KB of SRAM, 4MB of Flash, and an SD card interface. The general GPIO interface can also easily connect to external expansion storage chips.
This paper mainly designs a data processing platform with Nios II soft-core processor as the core. In future designs, data processing algorithms can be further studied, including digital filtering of signals, numerical calculation of parameters, etc.
The data processing platform based on the extremely flexible Nios II processor can be quickly configured and upgraded according to the needs of different hospitals, communities and families by selecting different front-end data acquisition modules and corresponding data processing algorithms. At the same time, it can be connected to the network to achieve remote medical care and information sharing. The use of field programmable gate arrays in the design of modern medical instruments will significantly shorten the development cycle, reduce design risks, reduce costs, improve product reliability and flexibility, and achieve modularization and miniaturization.
References
[1] Xianglin. Application of field programmable gate array in biomedical engineering. Chinese Journal of Clinical Rehabilitation, 2006; 10(25).
[2] Altera.NiosII processor reference handbook.http://www.altera.com, 2005, 5.
[3] Altera.NiosII software developer's handbook.http://www.altera.com, 2005, 5.
[4] Altera.DE2 development and Education board user manual.http://www.altera.com, 2006, 7.
Previous article:Research on digital system testing based on boundary scan technology
Next article:Expert Tips: How to Unleash the Unlimited Potential of FPGA Design
Recommended ReadingLatest update time:2024-11-16 17:48
- Popular Resources
- Popular amplifiers
- Analysis and Implementation of MAC Protocol for Wireless Sensor Networks (by Yang Zhijun, Xie Xianjie, and Ding Hongwei)
- MATLAB and FPGA implementation of wireless communication
- Intelligent computing systems (Chen Yunji, Li Ling, Li Wei, Guo Qi, Du Zidong)
- Summary of non-synthesizable statements in FPGA
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- 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
- Selling some development boards, both new and used.
- FAQ Bluetooth transmission questions and answers
- How to enable TI 15.4-Stack to support 470M frequency band
- What is millimeter wave?
- Free Download | Maxim Reference Design Download for Industrial Applications
- Analysis of common causes of copper shedding in PCB factories
- 【micropython】Bluetooth BLE routine
- Suggestions on power consumption test of GD32L233C-START evaluation board
- RISC-V ESP32-C3 will become the new ESP8266
- Matters needing attention in the production of high-frequency microwave boards