Abstract: This article focuses on the working principle and internal circuit of the SoC-based digital camera system. Finally, a brief description of its chip and system performance is provided.
Keywords: Embedded system digital camera (DSC) SoC
1 Overview
The biggest feature of digital cameras is signal digitization. It uses an imaging chip CCD to decompose still or moving images into pixels and convert them into electrical signals. These signals are converted into digital signals by the digital signal converter in the digital camera, and then are sent to the internal or external memory through image processing and data compression encoding by the microprocessor, and can also be sent to the LCD/TV display screen.
The digital information in the memory is input into the computer through the interface and then turned into an image. With the help of the image processing software provided by the CPU, processing, editing, etc. are carried out according to people's wishes, and then an ideal image is produced by a color printer. What's more, the digital committee can also be spread around the world through computer networks.
*Images are stored digitally for easy storage, transfer and reuse, eliminating the need for film development and image enlargement.
*You can use a computer to modify, edit and other processing of images, and you can also input them to TV and watch online.
*Can be transmitted over long distances through computer networks, and has the advantages of fast speed, low interference, and high quality.
The digital camera system introduced in this article is composed of a single-chip large-scale integrated circuit LSI. It can transmit full-motion images or continuous images at a rate of 30 frames/s, and has small size, low power consumption, fast transmission speed, and high resolution. specialty.
2 Working principle
The principle of the digital camera system is shown in Figure 1. The system consists of a CCD signal processor, M-JPEG codec, 32-bit RISC-CPU, NTSC encoder, DRAM controller and various peripheral interfaces. It is a typical embedded system.
The signal from the CCD, after color-corrected Y/C separation, is converted into a 10-bit digital signal through the A/D converter and written into the frame buffer in the dynamic memory DRAM as a YUV (4:2:2) image data. These data are sent to the NTSC/PAL encoder for encoding, and finally displayed on the LCD display. When the shutter is released, these data are also sent to the M-JPEG chip, and are stored in the JPEG encoding area in DRAM after 1/10 and 1/20 compression encoding. RISC-CPU converts the compressed data into file format data and then writes it to external memory, such as a microdrive. During playback, the data flow is opposite to the above (photography). The decoded image is displayed on the LCD display.
The system uses three-bus separation technology, which separates the signal bus (228 MB/s), CPU bus (114 MB/s) and peripheral bus (57 MB/s), using a RISC chip (32-bit embedded microprocessor) It can process signals effectively and at high speed to avoid the contradiction between the need to store large-capacity image data and the slow processing speed of peripherals. This bus separation technology can not only solve the problem of communication congestion, but also achieve high-speed and high-resolution image processing, which is an important feature of the system.
3 several important circuits
3.1 CCD signal processing circuit
In order to process the signal of 1360×1042 (1.5M) pixels in real time, the circuit uses pixel primary color progressive scan CCD camera technology. The CCD signal processor is a key circuit in a digital camera (DSC), and its quality will directly affect the performance of the DSC. The circuit consists of a raw data calibration module, a color processing module, a digital amplification module, an RGB-YUV conversion module and an image quality adjustment module, as shown in Figure 2. The original data calibration module consists of digital clamping, pixel calibration white balance, automatic forcing and gamma calibration circuits.
Utilizing 4 line memories, the color processing module can convert raw CCD data into RGB data. In order to reduce the capacity of the line memory, a new scanning technology is used in the signal processing module to divide the image frame into several small blocks and scan each small block respectively.
Compared with ordinary CCD signal processing circuits, this circuit has the following characteristics:
(1) Only 4 line memories are needed to achieve high-quality and high-speed image enlargement processing.
(2) Firmware settings with software functions can fine-tune image quality.
(3) Use the pipeline method to complete CCD real-time signal processing. During real-time processing, only after the data is sent to DRAM, the original data from the CCD is converted into YUV data.
3.2 M-JPEG encoding and decoding circuit
This system uses a new motion JPEG encoding and decoding technology, which can compress, encode and decode VGA (350×10 3 pixels) images at a rate of 88 frames/s under 57MHz clock conditions. This new encoding technology has the following advantages:
(1) Each image is independent and easy to limit and edit;
(2) Compared with MPEG, JPEG requires less circuits and can significantly reduce power consumption and cost.
The M-JPEG encoding and decoding circuit is shown in Figure 3. As seen in Figure 3, the circuit consists of 5 modules. When encoding is performed, the data flows to the left; when decoding is performed, the data flows to the right. If high-speed pipeline processing is performed on modules with 8×8 pixels as units, the new M-JPEG encoding and decoding technology can be used to encode and decode VGA, XGA, and 1.5M images at different rates.
The rates of M-JPEG encoding and decoding are listed in Table 1.
It can be seen from Table 1 that when the operating frequency or clock frequency is 57MHz, when using the new method to encode and decode VGA pixels and 1.5M images, their rates are 88 frames/15 frames/s respectively, which is higher than the past Method is 4 times faster. This not only enables DSC to perform high-speed image capture and real-time processing, but also greatly saves overall encoding time.
Table 1 M-JPEG codec rate
Pixel size | VGA/(frame/s) (350K pixels) | XGA (frame/s) (800K pixels) | 1.5M pixels/(frame/s) |
Past method (fc=24MHz) | 22.5 | 9 | 4 |
New method (fc=57MHz) | 88 | 34 | 15 |
3.3 RISC CPU
RISC CPU is the core circuit of the single-chip digital camera system. It is a 32-bit RISC embedded microprocessor. The circuit contains 4KB of digital memory, 4KB of program memory and multiple accumulators, and can operate at a frequency of 576MHz. In the DSC system, the RISC CPU can handle image editing, real-time camera control, sound recording/playback, image file generation and various software controls.
3.4 Three-bus structure
In order to be able to perform high-speed, high-resolution real-time processing of images, this system uses three-bus separation technology. The first bus is called the signal bus, which has the highest transmission rate (228 MB/s) and is connected to the image processing device. The second bus is called the CPU bus, which is a CPU local bus with a moderate transfer rate (114 MB/s). It can be connected to the signal bus through the CPU bus. Can directly access DRAM. The third bus is called the peripheral bus, which has the lowest transmission rate (57 MB/s) and can be connected to peripheral circuits that work at low speeds.
3.5 Power management
In order to save power, this system uses two power management technologies: one is clock frequency adjustment technology; the other is clock suspension control technology.
The clock suspension control technology is to suspend the clock feed in non-functional functional modules and divide the clock into 27 parts. According to the camera working mode, the function module and firmware are used to change the suspend clock, thereby reducing the power consumption of the entire system.
In addition, the chip uses different power supply technologies, that is, the chip is powered internally by a low power supply voltage (2.5V), while the I/O pins are powered by a 3.3V power supply. This power supply technology can also greatly reduce the power consumption of the power supply.
4 performance
4.1 Performance of a single chip
The single chip of this system is a relatively new large-scale integrated circuit LSI, and its main performance is listed in Table 2.
Table 2 Main performance of the chip
processing technology | 0.25um, 3-layer CMOS gate array | |
Clock frequency/MHz | The maximum value is 57 | |
Chip area | 10.1mm | |
Transistor quantity/piece | 3.35 x 10 6 | |
Supply voltage/V | 2.5 (core)/3.3 (I/O) | |
Power consumption/mW | 700 | |
RISC CPU |
Clock frequency/MHz | 57 |
Memory/KB | 4+4 | |
Encapsulation | FBGA package, 324 pins |
4.2 Performance of single-chip digital cameras
Using a single chip to form a camera is a typical application of SOC (System on Chip). The main performance of the camera is listed in Table 3.
Table 3 Main performance of DSC
CC sensor | 12.7mm(1/2in),1.5 X 10 6 pixel PS-CC |
Image Resolution | 1360 x 1024 pixels |
Compression format | M-JPEG |
recording media | Small fast memory (94MB), microdrive (340MB) |
processing time | 0.8s (encoding), 0.6s (sound or video playback) |
Image capacity (microdrive) | Still: 4800 images, video: 50 |
video clipping | VGA: 15 frames/s X 5, QYGA: 30 frames/s X 5 |
Continuous camera (1.5 pixels) | 20 images (7.5 images/s) |
sound | 8-bit 16KHz |
other | LCD monitor (45.7mm, 110X10 3 pixels) Battery: AAX2 Volume: 110mmX63mmX40mm Mass: 220mg (main components) |
Previous article:DSP-based broadcast-grade digital audio delay
Next article:Design of video recorder remote control system based on Internet/Intranet
- Popular Resources
- Popular amplifiers
- Apple faces class action lawsuit from 40 million UK iCloud users, faces $27.6 billion in claims
- Apple and Samsung reportedly failed to develop ultra-thin high-density batteries, iPhone 17 Air and Galaxy S25 Slim phones became thicker
- Micron will appear at the 2024 CIIE, continue to deepen its presence in the Chinese market and lead sustainable development
- Qorvo: Innovative technologies lead the next generation of mobile industry
- BOE exclusively supplies Nubia and Red Magic flagship new products with a new generation of under-screen display technology, leading the industry into the era of true full-screen
- OPPO and Hong Kong Polytechnic University renew cooperation to upgrade innovation research center and expand new boundaries of AI imaging
- Gurman: Vision Pro will upgrade the chip, Apple is also considering launching glasses connected to the iPhone
- OnePlus 13 officially released: the first flagship of the new decade is "Super Pro in every aspect"
- Goodix Technology helps iQOO 13 create a new flagship experience for e-sports performance
- 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
- ir2110 drives MOS tube. Help
- Counting the number of people around you using ESP32
- Download: Qorvo Internet of Things For Dummies 2nd Edition
- Learn how to use an oscilloscope as a recorder
- [Xingkong Board Python Programming Learning Main Control Board] 2: Burning System Image
- NB module problem
- [EETalk] Outlook for the development of consumer electronics interfaces - Will USB dominate the world?
- What is the difference between embedded and microcontroller?
- Compilation issues
- The Painful Experience of DSP Connecting to Emulator