1. Field of the Invention
The present invention relates to an electronic device having a camera function in addition to its original functions.
2. Description of the Background Art
The size and cost reductions of image processing circuits and image sensors such as CCDs are promoting the production of electronic devices that are equipped with camera functions in addition to their original functions. For example, such electronic devices include mobile phone devices equipped with cameras and personal digital assistants (PDAs) equipped with cameras.
However, the camera function is a function that is not originally intended for the mobile phone devices and personal digital assistants. Accordingly, in general, camera modules for realizing the camera function are produced not in the factories that manufacture the electronic devices but in other factories, and the electronic device manufacturers acquire the produced camera modules and assemble the electronic devices. That is, since the camera modules include parts like lenses and image sensors for realizing the photographing function, it is natural that these parts should be adjusted and assembled in factories specialized in these techniques so that mobile phone factories, for example, can concentrate on works for enhancing the quality of mobile phones' original functions.
Thus, in the manufacture of electronic devices having an additional camera function, the main modules for realizing original functions of the electronic devices and the camera modules for realizing the additional camera function are produced as separate parts as independently as possible, and are assembled together in the final stage.
Now, the size of mobile phone devices and personal digital assistants is decreasing. This requires higher degrees of integration of parts in the main modules and camera modules in order to add the camera function while promoting the size reduction of the electronic devices.
The camera module 5 includes a lens 51 for leading images of subjects, an image sensor 52 for converting into an image signal the subjects' images led through the lens 51, an EPROM 53 for storing adjustment data for the camera module 5, and an A/D converter circuit 54 for digital-converting the image signal outputted from the image sensor 52.
The main module 6 includes an image processing unit 61 for applying image processing to the image signal provided from the camera module 5, an SDRAM 62 used as a work area for the execution of a program for controlling the image processing unit 61, a main processing unit 63 for executing original functions of the electronic device, and a flash memory 64 for storing the program for controlling the image processing unit 61.
Thus, the electronic device with a camera shown in
In order to solve this problem, an electronic device with a camera may be configured as shown in
The flash memory 57 stores a program for controlling the image processing unit 55. Also, the flash memory 57 stores adjustment data for the camera module 5A. In this configuration, because the programs that must be changed according to a change of the camera module 5 are stored in the flash memory 57, the parts related to the camera function can all be separated from the main module 6A, which is advantageous in that a change of the camera module 5A does not affect the main module 6A.
However, as mentioned above, because of the downsizing of the electronic device to which the camera function is added, the configuration shown in
Also, in the configuration shown in
Thus, JPEG image data generated in the image processing unit 55, for example, is transferred to the main module 6A through the YUV interface. At this time, if an interrupt for the electronic device's original operation occurs in the main module 6A, the data reception may fail because the rate of data transfer through the YUV interface is low. For example, when the electronic device is a mobile phone device and a telephone call is received in the main module 6A during the transfer of JPEG image data, some data may be properly recieved.
Also, providing the image processing unit in the camera module involves CPU processing and other hardware processing on the camera module side. Accordingly, the camera module produces more switching noise than that shown in
Japanese Patent Application Laid-Open No. 2004-312433 discloses an image processing system having a camera section and a main body separated from each other. However, in this system, the IC for executing the image processing is provided in the camera section, so that, as in the structure shown in
Concerning electronic devices that are increasingly downsized and that are equipped with a camera function, an object of the present invention is to provide a technique for constructing such electronic devices without requiring additional manufacturing process and increased costs for the parts, and without deteriorating image quality.
According to the present invention, an electronic device includes: a camera module; and a main module including a component for realizing an original function of the electronic device, where the camera module includes: a lens that leads an image of a subject; an image sensor that converts into an image signal the image of the subject led through the lens; and a nonvolatile memory, and the main module includes: an image processing unit that applies image processing to the image signal provided from the camera module; and a volatile memory, and wherein the image processing unit is controlled according to a program that is adapted for the camera module, and the program is stored in the nonvolatile memory; an interface is provided between the camera module and the main module in order to transfer the program; and the program is transferred from the camera module to the main module through the interface and then executed with the volatile memory used as a work area.
The present invention relates also to a main module that is incorporated in an electronic device equipped with a camera function and that includes a component for realizing an original function of the electronic device.
According to the present invention, the main module includes an image processing unit, and a program for controlling the image processing unit is stored in the camera module. Therefore, when the camera module is modified or changed, it is not necessary to modify the main module, which makes it possible to use the main module as a common module. Also, since the image processing unit is not disposed in the camera module, the influence of increased noise of the image sensor is alleviated.
These and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
Preferred embodiments of the present invention will now be described referring to the drawings. The preferred embodiments will describe examples in which the inventive electronic device equipped with a camera is applied to a mobile camera phone device 4.
As shown in
Referring to
While this preferred embodiment uses a flash memory (flash ROM) having a serial interface in order to store the image processing program 40 etc., any rewritable nonvolatile memory may be used. For example, other EEPROM or EPROM may be used. Also, a flash memory having a parallel interface may be used.
The main module 2 includes an image processing unit 21 that applies image processing to the image signal provided from the camera module 1, an SDRAM 22 that is used as a work area for the execution of the image processing program 40 for controlling the image processing unit 21, and a main processing unit 23 that controls the entirety of the mobile camera phone device 4. While an SDRAM is used as the program executing area, other volatile memory may be used.
The image processing unit 21 is configured as an LSI having a CPU for executing the image processing program 40 and hardware circuitry for performing various image processings. The hardware circuitry for performing various image processings includes a color space converter circuit, a pixel interpolation circuit, a shading correction circuit, and the like. The main processing unit 23 is configured as an LSI having a CPU for controlling the entirety of the mobile camera phone device 4 and hardware circuitry for performing various processings.
The image processing unit 21, the main processing unit 23, and the SDRAM 22 are mounted on the main board 20 and connected through signal lines. As shown in the diagram, the image processing unit 21 and the main processing unit 23 are connected through a YUV interface and a host interface.
The main module 2 further includes various other parts. For example, the main module 2 includes parts for performing the original function of the mobile camera phone device 4, i.e., telephoning function, and parts for processing the communication. The main module 2 is connected to various parts including operating buttons, a microphone, speaker, LCD, etc. Thus, the main module 2 includes various kinds of parts that realize original functions as a mobile phone device.
Operations of the mobile camera phone device 4 thus structured will be described. When the mobile camera phone device 4 is performing its original function as a mobile phone device, e.g., when the mobile camera phone device 4 is processing a call, no power is supplied to the camera module 1, the image processing unit 21, and the SDRAM 22. Then, when the user operates the mobile camera phone device 4 to turn on the camera function, power is supplied to the camera module 1, the image processing unit 21, and the SDRAM 22.
When power is thus supplied to the parts related to the camera function, a download circuit 211 included in the image processing unit 21 starts downloading of the image processing program 40. The image processing program 40 is a program that controls the image processing unit 21 and is adapted for the camera module 1. That is, it is necessary to prepare the image processing program 40 in correspondence with the structure of the camera module 1 or the model of the image sensor 12. In this preferred embodiment, the image processing program 40 is stored in the flash memory 13 that is provided in the camera module 1.
As shown in
Then, the CPU in the image processing unit 21 executes the image processing program 40 while using the SDRAM 22 as a work area. In this way, the image signal outputted from the camera module 1 is transferred to the image processing unit 21 through the signal line 31, and the image processing unit 21 performs various image processings.
The flash memory 13 further stores the adjustment data 41 peculiar to the camera module 1. The adjustment data 41 is data that is peculiar to various parts of the camera module 1. For example, the adjustment data 41 includes defect pixel data about the image sensor 12, characteristic data about output level caused by variations among individual optical system components such as IIR filters and sensors, R, G, B output level variation characteristic data obtained when a reference light source is used, optical shading characteristic data about the lens, and the like.
When the camera function is turned on, the download circuit 211 downloads the adjustment data 41 through the signal line 32 and stores the adjustment data 41 in the SDRAM 22. Then, the image processing unit 21 performs image processing according to the adjustment data 41 or by using the adjustment data 41 as parameters. For example, defect pixel correction processing is performed on the basis of the defect pixel data. Also, shading correction processing is performed on the basis of the optical shading characteristic data. Thus, the image processing program 40, adapted for the camera module 1, is executed while considering information peculiar to the camera module 1.
The mobile camera phone device 4 according to this preferred embodiment is configured as described so far, and offers the effects shown below. Firstly, the image processing program 40 adapted for the camera module 1 is stored within the camera module 1. Accordingly, even when the structure of the camera module 1 is changed and the contents of the image processing program 40 must be changed accordingly, the change requires only changing the camera module 1. That is, it is not necessary to change the main module 2 when the structure of the camera module 1 is changed. This allows the main module 2 to be used as a common module, regardless of the model of the camera module 1. The use of the main module 2 as a common module reduces the risk of overstocking when the main module 2 is mass-produced, which will allow reduction of costs. The first effect solves the problem of the structure according to the background art described referring to
Secondly, the number of parts of the camera module 1 is reduced since it does not include the image processing unit. Particularly, the absence of the image processing unit, whose CPU processing causes temperature rise, alleviates the influence of increased noise of the image sensor 12, thus enhancing the quality of the outputted image signal. The second effect solves the problem of the configuration according to the background art described referring to
Also, in this preferred embodiment, the adjustment data 41 for the camera module 1 is stored in the flash memory 13 of the camera module 1. Accordingly, adjustments of parts mounted in the camera module 1 are performed during the manufacturing process of the camera module 1, and the results of adjustments are stored in the camera module 1 itself, so that the manufacturing process can be independently completed just with the camera module 1.
Furthermore, this preferred embodiment has the advantage that, because the image processing unit 21 is provided in the main module 2, data can be transferred through the host interface to and from the main processing unit 23 that controls the entire mobile camera phone device 4. More specifically, mounting the image processing unit 21 and the main processing unit 23 on the same main board 20 allows the units to be readily connected through the host interface.
It is thus possible to transfer data, e.g., JPEG image data generated in the image processing unit 21, to the main processing unit 23 through the host interface. Even when an interrupt like arrival of a phone call occurs in the main processing unit 23 during an operation of the camera function, the data transfer is certainly carried out without loss of data. It is also possible to transfer an image, inputted from the camera module 1, to the main processing unit 23 through the YUV interface and cause the main processing unit 23 to make a display of moving picture on the LCD, in parallel with a JPEG image data transfer through the host interface.
Mounting the image processing unit 21 in the main module 2 produces another effect. In most cases, display control to the LCD of the mobile camera phone device 4 is performed on the main processing unit 23 side, and the main processing unit 23 has a display controller for the LCD. Accordingly, in the mobile camera phone device 4 according to this preferred embodiment, a display controller is added also to the image processing unit 21. Then, a selector is connected to the two display controllers so that one of the signals is outputted to the LCD. That is, this configuration is made possible by the provision of the image processing unit 21 and the main processing unit 23 on the same board 20. When the selector is connected to the display controller provided for the image processing unit 21, images transferred from the camera module 1 can be displayed directly on the LCD without being controlled by the main processing unit 23. This configuration makes it possible to make a live view display on the LCD without applying loads on the main processing unit 23.
While the preferred embodiments of the present invention have described a mobile phone device equipped with a camera as an example, the present invention offers the corresponding effects also when applied to other electronic devices having a camera function in addition to their original functions, such as personal digital assistants equipped with cameras. The effects are more significant especially with electronic devices whose downsizing is in growing demand.
While the invention has been described in detail, the foregoing description is in all aspects illustrative and not restrictive. It is understood that numerous other modifications and variations can be devised without departing from the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2005-053099 | Feb 2005 | JP | national |