At present, medical wireless endoscope products have been launched. At present, there is no independent manufacturing capability of this product in China, and foreign products are expensive. Therefore, it is of great significance to develop wireless endoscope products with independent intellectual property rights. This paper introduces the system structure of wireless endoscope system, the implementation of image compression standard JPEG-LS on ARM7 platform, and the debugging and optimization methods used in the implementation process.
1. System composition and working principle
1. Composition and structure of endoscopy system
As shown in Figure 1, the wireless endoscope system mainly consists of a host and a slave (wireless endoscope). The slave collects the original image through the camera, compresses it, and transmits the compressed image data to the host wirelessly; the host receives the compressed image through a USB connection to the Bluetooth adapter and forwards it to the management software on the PC, which decompresses the image and displays it.
Figure 1 Endoscopic system structure diagram
2. Composition and structure of wireless endoscope
As shown in Figure 2, the wireless endoscope uses the CPLD chip EPM7256-144 to realize the image acquisition control of the 300,000-pixel CMOS camera OV7660, as well as the switching of the data and address buses. Using Atmel's ARM7 chip AT91R40008, JPEG-LS lossless image compression and Bluetooth wireless data transmission are realized, and temperature and pressure acquisition, controllable light source and system control are realized. The image data exchange between CPLD and ARM7 is realized through the 8-bit data bus, and the handshake control between ARM7 and CPLD is realized through the I/O port line. Due to the large amount of image data, it is calculated to be hundreds of thousands of bytes according to the 640×480 resolution and 8-bit image format, so this system has expanded 2 512KB SRAMs on the external chip in ping-pong mode as data cache. [page]
Figure 2: Wireless endoscope hardware structure diagram
3. System working principle
The endoscopy system can realize continuous image acquisition and control of temperature, humidity, lighting brightness, etc. Image acquisition is the core of the system, and its workflow is as follows:
①By default, the system works in sleep mode.
② The staff sends a command through the PC management software to start collecting images. The software sends the command to the Bluetooth adapter through the USB interface and then to the wireless endoscope.
③After the endoscope receives the image acquisition command, ARM controls the CPLD to start collecting image data.
④CPLD writes the collected image data into a SRAM, switches the ARM bus to the SRAM, and notifies ARM to perform compression; at the same time, CPLD continues to collect the next frame of image into another SRAM, so as to improve the system throughput.
⑤ARM returns the response command through the Bluetooth module and returns the header information of the collected JPEG-LS image.
⑥ The PC management software sends a command to receive the next line of compressed image. ARM compresses the original image of this line and sends the compressed data. If an error occurs, it can be resent. Repeat this step to obtain the entire frame of compressed image.
⑦ PC software decodes and displays the compressed images, and provides other additional functions such as image processing and saving.
⑧Repeat steps ②~⑦ to obtain the next frame of compressed image.
From the above process, it can be seen that JPEG-LS compression and wireless channel transmission determine the image transmission rate of the entire system. Wireless transmission uses Bluetooth technology, and its nominal air rate is 1 Mbps, which is not easy to improve; therefore, the core of the system design is the coding efficiency of JPEG-LS.
Previous article:Design of GPS Data Acquisition System Based on WinCE
Next article:Design of automatic discharging and sorting controller for punch press based on stm32
Recommended ReadingLatest update time:2024-11-16 20:22
- Popular Resources
- Popular amplifiers
- usb_host_device_code
- Multithreaded computing in embedded real-time operating systems - based on ThreadX and ARM
- Learn CPLD and Verilog HDL programming technology from scratch_Let beginners easily learn CPLD system design technology through practical methods
- Single-chip microcomputer C language programming and simulation
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
- EEWORLD University Hall----Live Replay: TI's latest applications of millimeter-wave radar in the automotive and industrial fields
- Network port communication problem
- Problems with synchronous operation of two or more DC brushed motors with dual Hall
- How to use the address filtering function in the Tri-Speed Ethernet IP core
- TI Wireless Products RF Hardware FAQ - 13 new webinar Q/A summaries
- Quectel BC28 NB module cannot read SIM card
- Why does CCS make a thumping sound and then disconnect when it is running?
- TI: mmWave sensors enable intelligence at the edge
- Where can I buy the EP3C25Q240C8N development board? How much is it worth?
- Programming Example: DSP Realizes SVPWM Waveform