The present invention contains subject matter related to Japanese Patent Application JP 2005-050606 filed in the Japanese Patent Office on Feb. 25, 2005, the entire contents of which being incorporated herein by reference.
The present invention relates to communication timing changing method and device which are capable of changing timing of communication, made between a CPU and analog devices, for setting control parameters used to determine operation modes of the analog devices in the analog devices, respectively, over to another one which does not impede any of the operations of the analog devices.
A CPU 1 controls all of or a part of the image pickup device by setting control parameters in the analog devices within the image pickup device, respectively. The image sensor 2 converts optical information into an electrical signal through photoelectric conversion. The image sensor driving circuit 3 generates sensor driving signals containing various kinds of timing signals used to drive the image sensor 2. The sample and hold circuit 4 holds an image signal converted into an electrical signal in the image sensor 2 in the form of an analog value during a given period of a certain cycle. The ADC 5 digitally converts the image signal held in the form of the analog value in the sample and hold circuit 4 during a hold period. A synchronous signal generating circuit 7 is configured in the form of an integrated circuit (IC) 6. The synchronous signal generating circuit 7 generates a synchronous signal used to regulate timing when the CPU 1 makes communication for control parameters with the image sensor 2, the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5.
Next, an operation will be described.
The CPU 1 directly sets control parameters used to determine operation modes of the analog devices such as the image sensor 2, the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5 within the image pickup device through control parameter communication. The CPU 1 receives a synchronous signal from the synchronous signal generating circuit 7 within the IC 6, transmits the control parameters to the analog devices at good timing, respectively, and controls the image sensor 2, the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5, thereby obtaining the image signal.
Now, in the case of the image pickup device, a device needs to be made so as to prevent the noises from being superimposed on the image signal in the analog devices.
As for a method of avoiding this, there is known a method of communicating control parameters during a blanking period of the image sensor 2 as disclosed, for example, in Japanese Patent Laid-Open No. 2003-116044.
The communication timing changing method and device in related art as described above involve the following shortcomings. That is, actually, the image reading technique for the image sensor has developed, and the blanking period which no data on an image is read out has been shortened. In addition, the function of the image pickup device has been diversified, so that the contents to be processed in the CPU have increased and a large number of tasks have been generated. As a result, it has been difficult to make the communication of the control parameters at the convenient timing. From these reasons, there is encountered such a problem that it has become difficult to make the communication of the control parameters with the respective analog devices during the blanking period.
Several avoidance measures have been discussed for this problem. A first avoidance measure is a method of increasing a CPU clock frequency, and is such that CPU task processing is speedily executed, thereby giving the communication a room.
In addition, a second avoidance measure is a method of making the communication during the image signal output period. Thus, the second avoidance measure is such that when no communication can be made during the blanking period, noise measures are devised so that the analog devices or the circuit substrate having the analog devices used in combination with one another is not influenced by the communication noises.
When the avoidance measures as described above are adopted, the former involves such a problem that the CPU consumes much power, and this is not preferable in terms of the actual use. On the other hand, in the case of the latter, the noise measures are not technically easy to devise, and the measures must be taken into consideration in a stage of development of the analog devices, and in a stage of design of the circuit substrate. As a result, there is encountered such a problem that the cost is increased due to an increase in circuit scale, an increase in difficulty of wiring distribution on the circuit substrate, an increase in the number of components or parts such as a capacitor for noise removal, and the like.
The present invention has been made in the light of the circumstances as described above, and it is desirable to provide communication timing changing method and device which are capable of changing timing of communication for setting control parameters used to determine operation modes of analog devices in the analog devices, respectively, over another one which does not impede any of operations of the analog devices without an increase in power consumption and cost of a CPU such as an increase in operating speed of the CPU.
According to an embodiment of the present invention, there is provided a communication timing changing method of changing timing of communication for setting control parameters used to determine operation modes of analog devices from a CPU in the analog devices, respectively, over to another one corresponding to a period which does not impede any of operations of the analog devices, the method including the steps of: generating a synchronous signal synchronized with the period not impeding any of the operations of the analog devices by a synchronous signal generating circuit; transferring the control parameters used to determine the operation modes of the analog devices from the CPU to a register during operation periods of the analog devices except for the period not impeding any of the operations of the analog devices to preserve the control parameters in the register based on the synchronous signal generated by the synchronous signal generating circuit; and managing timing of communication, between the register and the analog devices, for setting the control parameters preserved in the register in the analog devices, respectively, synchronously with the period not impeding any of the operations of the analog devices by an interface encoder based on the synchronous signal generated by the synchronous signal generating circuit.
According to another embodiment of the present invention, there is provided an electronic device for changing timing of communication for setting control parameters used to determine operation modes of analog devices from a CPU in the analog devices, respectively, over to another one corresponding to a period which does not impede any of operations of the analog devices, the electronic device including: a synchronous signal generating circuit for generating a synchronous signal synchronized with the period not impeding any of the operations of the analog devices; a register for transferring the control parameters used to determine the operation modes of the analog devices from the CPU thereto during operation periods of the analog devices except for the period not impeding any of the operations of the analog devices to preserve the control parameters therein based on the synchronous signal generated by the synchronous signal generating circuit; and a communication section for making communication, with the analog devices, for setting the control parameters preserved in the register in the analog devices, respectively, synchronously with the period not impeding any of the operations of the analog devices based on the synchronous signal generated by the synchronous signal generating circuit.
According to the present invention, the communication for setting the control parameters used to determine the operation modes of the analog devices in the analog devices, respectively, is made during the period which does not impede any of the operations of the analog devices when viewed from the analog device side. Hence, a bad influence is prevented from being exerted on any of the operations of the analog devices. In addition, the interface encoder manages the timing of the communication for setting the control parameters in the analog devices, respectively, based on the synchronous signal. Hence, the timing management becomes easy to perform, and the full period which does not impede any of the operations of the analog devices can be effectively used. As a result, there is offered such an effect that it is possible to provide the communication timing changing method and device which are capable of changing the timing of the communication for setting the control parameters used to determine the operation modes of the analog devices in the analog devices, respectively, over to another one corresponding to the period which does not impede any of the operations of the analog devices without an increase in power consumption and cost of the CPU such as an increase in operating speed of the CPU.
The purpose of providing a communication timing changing method which is capable of changing timing of communication for setting control parameters used to determine operation modes of analog devices in the analog devices, respectively, over to another one which does not impede any of operations of the analog devices without increasing power consumption and cost of a CPU is realized by: generating a synchronous signal synchronized with the period not impeding any of the operations of the analog devices by a synchronous signal generating circuit; transferring the control parameters used to determine the operation modes of the analog devices from the CPU to a register during operation periods of the analog devices except for the period not impeding any of the operations of the analog devices to preserve the control parameters in the register based on the synchronous signal generated by the synchronous signal generating circuit; and managing timing of communication, between the register and the analog devices, for setting the control parameters preserved in the register in the analog devices, respectively, synchronously with the period not impeding any of the operations of the analog devices by an interface encoder based on the synchronous signal generated by the synchronous signal generating circuit.
In addition, the purpose of providing an electronic device which is capable of changing timing of communication for setting control parameters used to determine operation modes of analog devices in the analog devices, respectively, over to another one which does not impede any of operations of the analog devices without increasing power consumption and cost of a CPU is realized by: generating a synchronous signal synchronized with the period not impeding any of the operations of the analog devices by a synchronous signal generating circuit; transferring the control parameters used to determine the operation modes of the analog devices from a CPU to a register during operation periods of the analog devices except for the period not impeding any of the operations of the analog devices to preserve the control parameters in the register based on the synchronous signal generated by the synchronous signal generating circuit by the CPU; and making communication, with the analog devices, for setting the control parameters preserved in the register in the analog devices, respectively, synchronously with the period not impeding any of the operations of the analog devices based on the synchronous signal generated by the synchronous signal generating circuit by a communication section.
The image pickup device includes an image sensor 2, an image sensor driving circuit 3, a sample and hold circuit 4, and an analog/digital converter (hereinafter referred to as “an ADC”) 5 as analog devices.
An integrated circuit 16 is interposed between the CPU 1 and the analog devices. The CPU 1 can control all of or a part of the image pickup device by setting control parameters in the analog devices within the image pickup device, respectively.
The image sensor 2 converts optical information into an electrical signal through photoelectric conversion. The image sensor driving circuit 3 generates sensor driving signals containing various kinds of timing signals used to drive the image sensor 2. The sample and hold circuit 4 holds an image signal which is converted into an electrical signal in the image sensor 2 in the form of an analog value for a given period of a certain cycle. The ADC 5 digitally converts the image signal held in the form of the analog value in the sample and hold circuit 4 during a hold period.
The integrated circuit 16 includes a synchronous signal generating circuit 7, an interface decoder 20, a register 21, and interface encoders (a communication section) 22A, 22B and 22C.
Incidentally, the synchronous signal generating circuit 7, the interface decoder 20, the register 21, and the interface encoders 22A, 22B and 22C of the integrated circuit 16 constitute a semiconductor device (electronic device) for realizing the communication timing changing method according to the embodiment 1 of the present invention. The semiconductor device changes timing of communication for setting the control parameters used to determine the operation modes of the analog devices in the analog devices, respectively, over to another one which does not impede any of the operations of the analog devices, i.e., another one corresponding to a blanking period without increasing power consumption and cost of the CPU 1.
In the communication timing changing method according to the embodiment 1 of the present invention, the interface encoders 22A, 22B and 22C are provided so as to correspond to the analog devices such as the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5, respectively. The synchronous signal generating circuit 7 generates a synchronous signal used to regulate timing about the blanking period which no image signal is outputted. Communication for transferring and storing the control parameters set in the analog devices in the register 21 at arbitrary timing except for timing corresponding to the blanking period which no image signal is outputted is made between the CPU 1 and the integrated circuit 16. For this reason, the synchronous signal generated by the synchronous signal generating circuit 7 is supplied to the CPU 1. In addition, during the blanking period which no image signal is outputted, communication for setting the control parameters stored in the register 21 in the analog devices, respectively, is made between the integrated circuit 16 and the analog devices such as the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5. Thus, the synchronous signal generated by the synchronous signal generating circuit 7 is also supplied to the interface encoders 22A, 22B and 22C, respectively.
The synchronous signal generated by the synchronous signal generating circuit 7 is a signal which is synchronized with the blanking period of the image signal. A frequency of an actuating clock signal which is supplied to the interface encoders 22A, 22B and 22C, respectively, is higher than that of an actuating clock signal supplied to the CPU 1. The interface encoders 22A, 22B and 22C make communication for setting the control parameters in the analog devices within the blanking period with the analog devices, respectively.
The interface decoder 20 decodes a control parameter communication signal outputted from the CPU 1 into the control parameters. The register 21 temporarily stores therein the control parameters obtained from the interface decoder 20 through the decoding.
It should be noted that a configuration may be adopted such that the interface decoder 20 and the register 21 are provided so as to correspond to the interface encoders 22A, 22B and 22C, respectively.
The interface encoder 22A performs the timing management based on the synchronous signal received from the synchronous signal generating circuit 7. Also, the interface encoder 22A reads out the control parameter to be set in the image sensor driving circuit 3 from the register 21, communicates with the image sensor driving circuit 3 at good timing during the blanking period while converting the control parameter into the control parameter communication signal, and sets the control parameter in the image sensor driving circuit 3. In addition, the interface encoder 22B performs the timing management based on the synchronous signal received from the synchronous signal generating circuit 7. Also, the interface encoder 22B reads out the control parameter to be set in the sample and hold circuit 4 from the register 21, communicates with the sample and hold circuit 4 at good timing during the blanking period while converting the control parameter into the control parameter communication signal, and sets the control parameter in the sample and hold circuit 4. In addition, the interface encoder 22C performs the timing management based on the synchronous signal received from the synchronous signal generating circuit 7. Also, the interface encoder 22C reads out the control parameter to be set in the ADC 5 from the register 21, communicates with the ADC 5 at good timing during the blanking period while converting the control parameter into the control parameter communication signal, and sets the control parameter in the ADC 5.
That is, in the embodiment 1, the control parameters used to regulate the operation modes of the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5 are set from the interface encoders 22A, 22B and 22C which are provided so as to correspond to the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5, respectively, in parallel for the blanking period.
Next, an operation will be described.
In the communication timing changing method according to the embodiment 1 of the present invention, as shown in
The communication for setting the control parameters in the analog devices such as the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5, respectively, is made during the blanking period in the manner as described above. As a result, the communication signals are prevented from exerting an influence on the image signal within the analog devices to appear in the form of communication noises in the image.
Next, the operation made by utilizing the communication timing changing method of the embodiment 1 will be described with reference to the block diagram of
The CPU 1 sets the control parameter communication signal in the interface decoder 20 within the integrated circuit 16 through the communication at the arbitrary timing except the blanking period of the image signal. The interface decoder 20 decodes the control parameter communication signal to generate the control parameters, and writes the resulting control parameters to the register 21. The interface decoder 20 communicates with the CPU 1 plural times, and repeatedly performs the procedure-described above to write the control parameters to be set in the analog devices such as the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5 to the register 21. After completion of the general communication, the interface encoders 22A, 22B and 22C fetch the control parameters from the register 21, encode the control parameters and convert into the control parameter communication signals, and communicates the control parameter communication signals used to set the control parameters in the analog devices such as the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5, respectively, at the timing agreeing with the timing corresponding to the blanking period based on the synchronous signal generated by the synchronous signal generating circuit 7.
As described above, according to the embodiment 1, the communication for setting the control parameters used to determine the operation modes of the analog devices in the analog devices, respectively, is made during the blanking period when viewed from the analog device side. Hence, the image signal is prevented from getting mixed with the control parameter communication signals as the noises.
In addition, the interface encoders 22A, 22B and 22C manage the timing of the communication for setting the control parameters in the analog devices, respectively, based on the synchronous signal. Hence, the timing at which the control parameters are set is prevented from being changed depending on the situation of execution of the tasks of the CPU 1 as in the related art where the CPU 1 directly communicates with the analog devices in order to set the control parameters in the analog devices, respectively. Consequently, there is offered such an effect that the timing management becomes easy to perform, and thus the full blanking period can be effectively used.
That is, there is offered such an effect that it is possible to provide the communication timing changing method and device which are capable of changing the timing of the communication for setting the control parameters used to determine the operation modes of the analog devices in the analog devices, respectively, over to another one corresponding to the blanking period without an increase in power consumption and cost of the CPU 1 such as an increase in operating speed of the CPU 1.
In this case, it becomes difficult to make the communication within the limited blanking period since an amount of communication of the control parameters increases. However, the speed of the processing operation of the interface encoder 22 is increased, whereby as shown in a timing chart of
The control parameters are set from the interface encoder 22D in the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5 as the analog devices through the high speed serial communication. In the high speed serial communication, IDs are previously allocated to the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5, respectively. Thus, the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5 judge based on ID information added to the control parameter communication signal whether or not the control parameters are sent for them, respectively. The image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5 receive the control parameters only when the control parameters are sent for them, respectively.
According to the embodiment 2, since the number of control parameter communication signals from the integrated circuit 26 can be reduced, there is offered such an effect that the number of wirings on the substrate can be reduced.
In addition, in the embodiment 2 as well, when the CPU 1 makes the setting of the control parameters used to determine the operation states of the analog devices, the control parameters are stored in the register 21, and the communication for setting the control parameters from the register 21 in the analog devices, respectively, is made at the timing (blanking period) which does not impede any of the operations of the analog devices. For this reason, the CPU 1 may store the control parameters in the register 21 at arbitrary timing. As a result, restrictions, for the timing management, imposed on the CPU 1 are relaxed, and thus the programming becomes easy to make.
In addition, in the embodiment 2 as well, when the blanking period is short and the amount of communication is much, the communication processing abilities of the portions in and behind the interface encoder have to be increased. Consequently, there is offered such an effect that it is possible to provide the communication timing changing method and device which are capable of suppressing an increase in power consumption, and of preventing the image signal from getting mixed with the noises along with the communication of the control parameters while suppressing the power consumption and the cost to a necessary minimum as compared with the case where the throughput of the CPU 1 is increased.
According to the embodiment 3, incorporating the CPU 1 in the integrated circuit 36 results in that the CPU 1 can directly write the control parameters to the register 21. Hence, there is offered such an effect that the interface decoder 20 can be removed, and thus the system configuration can be simplified.
In addition, in the embodiment 3 as well, when the CPU 1 makes the setting of the control parameters used to determine the operation states of the analog devices, the control parameters are stored in the register 21, and the communication for setting the control parameters from the register 21 in the analog devices, respectively, is made at the timing (blanking period) which does not impede any of the operations of the analog devices. For this reason, the CPU 1 may store the control parameters in the register 21 at arbitrary timing. As a result, restrictions, for the timing management, imposed on the CPU 1 are relaxed, and thus the programming becomes easy to make.
In addition, in the embodiment 3 as well, when the blanking period is short and the amount of communication is much, the communication processing abilities of the portions in and behind the interface encoder have to be increased. Consequently, there is offered such an effect that it is possible to provide the communication timing changing method and device which are capable of suppressing an increase in power consumption, and of preventing the image signal from getting mixed with the noises along with the communication of the control parameters while suppressing the power consumption and the cost to a necessary minimum as compared with the case where the throughput of the CPU 1 is increased.
Incidentally, in the embodiments 1, 2 and 3 described above, the description has been given with respect to the case where the communication timing changing method is applied to the image pickup device including the image sensor 2, the image sensor driving circuit 3, the sample and hold circuit 4, and the ADC 5 as the analog devices. However, the present invention is not limited to the image pickup device. That is, any other suitable electronic device may be adopted as long as the control parameters used to determine the operation modes of the analog devices used in this electronic device need to be set in the analog devices, and the timing of the communication for setting the control parameters in the analog devices, respectively, can be changed over to another one which does not impede any of the operations of the analog devices without increasing the power consumption and the cost of the CPU.
Number | Date | Country | Kind |
---|---|---|---|
2005-050606 | Feb 2005 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4559645 | Horikawa | Dec 1985 | A |
4604615 | Funahashi | Aug 1986 | A |
5966173 | Inuiya et al. | Oct 1999 | A |
6608651 | Mabuchi et al. | Aug 2003 | B2 |
20040008388 | Tanaka | Jan 2004 | A1 |
20040076119 | Aronson et al. | Apr 2004 | A1 |
20080191995 | Cheon et al. | Aug 2008 | A1 |
Number | Date | Country |
---|---|---|
10-233955 | Sep 1998 | JP |
10-242443 | Sep 1998 | JP |
2003-116044 | Apr 2003 | JP |
Number | Date | Country | |
---|---|---|---|
20060193412 A1 | Aug 2006 | US |