Wireless endoscopy system solution using ARM and CPLD

Publisher:JoyfulLifeLatest update time:2013-01-24 Source: 21IC Keywords:ARM Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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.

1.jpg

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]

2.jpg

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.

Keywords:ARM Reference address:Wireless endoscopy system solution using ARM and CPLD

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

ARM Cortex-M core interrupt/exception system, interrupt priority/nesting details
question When I was using the STM32F3 chip recently, I encountered such a problem: if the frequency of external interrupts is fast enough, and the previous interrupt has not been processed, how to handle the new interrupt? During debugging, I found that there are interrupts with suspended, activated, disabled and othe
[Microcontroller]
ARM Cortex-M core interrupt/exception system, interrupt priority/nesting details
Software and hardware design of service robot vision system based on CPLD
  With the development of computer science and automatic control technology, more and more different types of intelligent robots are appearing in factories and life. As an important subsystem of intelligent robot system, robot vision system is also receiving more and more attention. It involves fields such as image pr
[Microcontroller]
Software and hardware design of service robot vision system based on CPLD
ARM-Linux s3c2440 UART Analysis (Part 2)
This article is original from itspy. Please indicate the original source when copying/reprinting: http://blog.csdn.net/yyplc/article/details/7196290. Thank you! Software (linux-2.6.30.4): The serial port driver of the Linux system is different from the general character device. It adopts a hierarchical architecture
[Microcontroller]
ARM-Linux s3c2440 UART Analysis (Part 2)
Application of ARM9 hardware coprocessor on WinCE embedded motherboard
With the vigorous development of microelectronics and embedded technology, the embedded industrial computer platform based on high-performance ARM processors has overcome the shortcomings of traditional industrial computers such as large size, high failure rate and difficulty in adapting to the harsh environment of in
[Microcontroller]
Application of ARM9 hardware coprocessor on WinCE embedded motherboard
A brief summary of ARM7 (LPC2xxx) chips
7 working modes: fiq/irq/abt/und/sys/usr/svc. Switched by "MSR cpsr_c,#0xdx". Enters svc mode at power-on. The difference between svc and usr is that svc can switch to any other mode freely through "MSR cpsr_c,#0xdx", but usr cannot. Each mode has its own stack. After the program starts, you need to enter each mode
[Microcontroller]
Design of digital timing control circuit based on CPLD technology
1. Introduction As a new type of tracking and positioning device, the six-degree-of-freedom electromagnetic sensitive positioning system can determine the six parameters of the target in real time. It has been widely used in airborne fire control systems (helmet sights), precision medical equipment, and single-
[Industrial Control]
Design of digital timing control circuit based on CPLD technology
ARM development environment KEIL and IAR set the stack space size
During the ARM development process, everyone will encounter the situation where the stack is not enough or the stack is too large. Here I will introduce how to modify the stack size through the two development environments of IAR and KEIL. Tools/Raw Materials AND KEIL 1、 AGAIN Open the project file and select
[Microcontroller]
ARM development environment KEIL and IAR set the stack space size
Learn ARM development (1)
Before doing anything, you must have a goal in mind. Things without a goal cannot be done well or accomplished. My goal is to learn ARM development, of course, in-depth learning. The goals are as follows: 1. Learn the ARM development environment. 2. Learn ARM instructions. 3. Learn ARM assembly.
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号