This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2009-167086, filed Jul. 15, 2009; the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to a head-separated camera device in which an imaging unit and a control unit for controlling the imaging unit are separate from each other.
As is known well, a head-separated camera device is configured such that an imaging unit including a solid-state imaging element, and a control unit, which supplies the solid-state imaging element of the imaging unit with a drive control signal and obtains a video signal by performing a signal processing on an output of the solid-state imaging element, are constituted as separate members. The imaging unit and the control unit are connected through a camera cable which bundles plural signal lines.
In general, head-separated camera devices are developed for the purpose of, for example, inspecting narrow areas where people cannot enter in. Therefore, imaging unit thereof are demanded to be downsized as much as possible. Further, a cable which is used to connect the imaging unit and the control unit to each other is demanded to be long.
If an analog sensor such as a charge coupled device (CCD) sensor is used for the imaging unit, a synchronization signal is output from the imaging unit when the control unit transmits a synchronization signal to the imaging unit. Therefore, the control unit can detect presence or absence of the imaging unit.
If a digital sensor such as a complementary metal-oxide semiconductor (CMOS) sensor is used for the imaging unit, no synchronization signal is output to the imaging unit merely by causing the control unit to transmit a synchronization signal to the imaging unit. In this case, a synchronization signal is output to the control unit only after a control line is connected to the imaging unit by, for example, a microcomputer. In such a head-separated camera device, the control unit transmits a register setting to the imaging unit after the imaging unit detects that the imaging unit is connected to the control unit.
Jpn. Pat. Appln. KOKAI Publication No. 2001-346076 discloses a technique of determining whether a camera head and a CCU are connected to each other or not, based on a signal from the camera head, in a video device in which the camera head and the CCU are connected to each other through a cable.
A general architecture that implements the various feature of the embodiments will now be described with reference to the drawings. The drawings and the associated descriptions are provided to illustrate the embodiments and not to limit the scope of the invention.
Various embodiments will be described hereinafter with reference to the accompanying drawings. In general, according to one embodiment of the invention, a head-separated camera device has an imaging unit, a control unit configured to control the imaging unit, and a connection unit configured to connect the imaging unit with the control unit, wherein the imaging unit comprises a sensor configured to capture an image, and a transmitter configured to transmit a video signal, a synchronization signal, and a clock signal, for recovering or reproducing the image captured by the sensor, and the control unit comprises a receiver configured to receive the video signal, synchronization signal, and clock signal, a video processor configured to perform a video processing with use of the video signal, synchronization signal, and clock signal, a timing signal generator configured to output a drive synchronization signal and a drive clock signal to the sensor, a detector configured to detect that the imaging unit is connected to the control unit if a preset value preset in the imaging unit is read via a control line, and a setting module configured to set a register setting in the sensor if the detector detects connection of the imaging unit.
According to an embodiment,
The imaging unit 10 comprises a sensor 101, a parallel/serial converter 102, a low voltage differential signaling (LVDS) receiver 103, and a memory 104. The control unit 20 comprises a micro processing unit (MPU) 201, a first clock oscilator 202, a second clock oscilator 203, a switching module 204, a timing generator (TG: timing signal generator) 205, a LVDS transmitter 206, an equalizer 207, a serial/parallel converter 208, a video signal processor 209, a video output module 210, and a switching module 211. The MPU 201 receives operation information externally supplied from a user, and controls the imaging unit 10 and respective units constituting the control unit 20 so as to reflect the operation information. Broken lines in
Operation of respective units will now be described along signal flow. At first, the first clock oscilator 202 oscillates a clock signal having a predetermined pulse characteristic. The second clock oscilator 203 oscillates a clock signal having a different pulse characteristic from that of the pulse characteristic of the first clock oscillator 202. Under control of the MPU 201, the switching module 204 supplies the TG 205 with a first clock signal (CLK1), by switching a clock signal oscillated by the first clock oscilator 202 and a clock signal oscillated by the second clock oscilator 203 from each other, as the CLK1.
The TG 205 generates a drive control timing for the sensor 101 on the basis of the CLK1. The TG 205 generates a horizontal synchronization signal (HS), a vertical synchronization signal (VS), and a second clock signal (CLK2) for driving the sensor 101. Although the TG 205 is provided in the control unit 20 in view of downsizing of the imaging unit 10, the TG 205 may be provided in the imaging unit 10.
Under control of the MPU 201, the LVDS transmitter 206 supplies the LVDS receiver 102 of the imaging unit 10 with the HS, VS, and CLK2 through a control signal cable 301. Although the LVDS transmitter 206 and LVDS receiver 102 are used to transfer the HS, VS, and CLK2 at a high speed, any other interface may be used instead.
Under control of the MPU 201, the LVDS receiver 102 supplies the sensor 101 with the HS, VS, and CLK2. The sensor 101 includes, for example, a digital sensor such as a CMOS sensor. Based on the HS, VS, and CLK2, the sensor 101 converts an optical image formed on a light receiving surface of the sensor 101 into a corresponding video signal (image signal) (VIDEO), a horizontal video synchronization signal (HD), and a third clock signal (CLK3), and supplies the signals. The VIDEO, HD, and VD are sensor output signals.
Under control of the MPU 201, the parallel/serial converter 103 mixes and converts the VIDEO, HD, VD, and CLK3 into superimposed serial data. The parallel/serial converter 103 simultaneously transmits the CLK3 and the sensor output signals, with the sensor output signals embedded in the CLK3. The parallel/serial converter 103 supplies the equalizer 207 of the control unit 20 with the serial data through the data signal cable 302. The parallel/serial converter 103 also functions as a transmission module. Under control of the MPU 201, the equalizer 207 amplifies the serial data. In this embodiment, a serializer as the parallel/serial conversion unit 103, a deserializer as the serial/parallel conversion unit 208, and the equalizer 207 in a front side of the deserializer are provided. However, the equalizer 207 may be unused. Communication between the imaging unit 10 and the control unit 20 may be performed through either a serial control line or a parallel control line. Any of differential transfer, parallel/serial communication, and optical transfer may be employed for transfer between the imaging unit 10 and the control unit 20.
The serial/parallel converter 208 separates the serial data amplified by the equalizer 207 into parallel data consisting of VIDEO, HD, VD, and CLK3. The serial/parallel converter 208 also functions as a receiving module. The serial/parallel converter 208 supplies the video signal processing unit 209 with the VIDEO, HD, and VD. The serial/parallel converter 208 supplies the switching module 211 with the CLK3. Under control of the MPU 201, the switching module 211 supplies the video signal processor 209 with the CLK1 or CLK3, switching adequately the CLK1 and the CLK3 from each other. In this embodiment, the signal supplied to the video signal processor 209 is referred to as CLK.
The video signal processor 209 performs a preset predetermined signal processing on the VIDEO, HD, VD, and CLK. The video signal processor 209 supplies the video output module 210 with the VIDEO, HD, VD, and CLK subjected to the signal processing. The video output module 210 converts the VIDEO, HD, VD, and CLK into a video signal according to a predetermined standard, and outputs an image to an unillustrated monitor.
Described next will be detection of connection of the imaging unit 10 according to the first embodiment.
Predetermined setting values have been written in the memory 104.
If the imaging unit 10 is connected to the control unit 20, the MPU 201 reads data of 1010 from the memory 104, as represented in
Next, another example of the first embodiment will be described.
If a period of the level H continues longer than that of the level L in data flowing through the CTRL line in a state that the imaging unit 10 is connected to the control unit 20, power consumption is smaller when the CTRL line is pulled up than when the CTRL line is pulled down.
Otherwise, if a period of the level L continues longer than that of the level H in data flowing through the CTRL line in a state that the imaging unit 10 is connected to the control unit 20, power consumption is smaller when the CTRL line is pulled down than when the CTRL line is pulled up.
Described next will be detection of connection of the imaging unit 10 according to the second embodiment. A head-separated camera device according to the second embodiment has the same configuration as in
If the imaging unit 10 is connected to the control unit 20, the MPU 201 reads data of 1010 from a sensor 101. When the MPU 201 reads the data of 1010 which is an expected value, the MPU 201 then detects that the imaging unit 10 is connected to the control unit 20.
Described next will be detection of disconnection of the imaging unit 10 according to the third embodiment. A head-separated camera device according to the third embodiment has the same configuration as in
The MPU 201 continually detects the HD, VD, and CLK which are output from the serial/parallel converter 208. While the HD, VD, and CLK are detected to be present, the MPU 201 detects that connection between the imaging unit 10 and the control unit 20 is maintained. The MPU 201 may detect any one of the HD, VD, and CLK. If the MPU 201 detects neither the HD, VD, nor CLK, the MPU 201 detects that the imaging unit 10 and the control unit 20 are disconnected from each other, or that abnormality such as a mulfunction has occurred. According to the third embodiment, disconnection or abnormality of the imaging unit 10 can be easily detected without adding any special configuration.
The third embodiment can be applied to detection of connection of the imaging unit 10. At first, the TG 205 supplies the HS, VS, and CLK to the imaging unit 10. Next, the MPU 201 transmits a register setting to the sensor 101 by the CTRL line. Thereafter, if the MPU 201 detects the HD, VD, or CLK. If the MPU 201 can detect neither the HD, VD, nor CLK, the MPU 201 detects that the imaging unit 10 is not connected to the control unit 20. According to the third embodiment, presence or absence of connection of the imaging unit 10 can be easily detected without adding any special configuration.
Described next will be detection of connection of the imaging unit 10 according to the fourth embodiment. A head-separated camera device according to the third embodiment has the same configuration as in
If the PLL is locked, the serial/parallel converter 208 can properly synchronize the VIDEO, HD, VD, and CLK, and can therefore properly recover signals. The serial/parallel converter 208 transmits, to the MPU 201, information indicating that the PLL is locked. While the PLL is detected to be locked, the MPU 201 detects that connection between the imaging unit 10 and the control unit 20 is maintained. If the PLL is not detected to be locked, the MPU 201 detects that the imaging unit 10 and the control unit 20 are disconnected from each other or that abnormality such as a mulfunction occurs in the imaging unit 10. According to the fourth embodiment, disconnection or abnormality of the imaging unit 10 can be easily detected.
The fourth embodiment can be used for detection of connection of the imaging unit 10. At first, the TG 205 supplies the imaging unit 10 with the HS, VS, and CLK. Next, the MPU 201 transmits a register setting to the sensor 101 by the CTRL line. Thereafter, if the PLL is detected to be locked, by the serial/parallel converter 208, the MPU 201 detects that the imaging unit 10 is connected to the control unit 20. If the PLL is not detected to be locked, by the serial/parallel converter 208, the MPU 201 detects that the imaging unit 10 is not connected to the control unit 20. According to the fourth embodiment, presence or absence of connection of the imaging unit 10 can be easily detected without adding any special configuration. In this case, the MPU 201 has detected a locked PLL of the serial/parallel converter 208. However, this is not a limited case. A PLL circuit may be provided in a video signal processor 209, and the MPU 201 may detect a locked PLL.
Next, control of an equalizer 207 will be described as an application example of the fourth embodiment.
If the PLL is not stable (block 101, NO) or if synchronization of the VD is not stable (block 102, NO), the MPU 201 determines whether an amplication level of the equalizer 207 is maximum or not (block 104). If the amplication level of the equalizer 207 is maximum (block 104, YES), the MPU 201 detects that the imaging unit 10 and the control unit 20 have been disconnected from each other (block 103). That is, the MPU 201 has not yet detected the imaging unit 10. If the amplication level of the equalizer 207 is not maximum (block 104, NO), the MPU 201 raises the amplication level of the equalizer 207 and returns to the block 101.
Even when the serial/parallel converter 208 generates an error due to attenuation of serial data supplied from the imaging unit 10, the MPU 201 can detect the error and easily adjust the amplication level of the equalizer 207. Therefore, a video is not interrupted halfway. Accordingly, even if a data signal cable 302 is long or is less reliable, the head-separated camera device can stably transfer serial data.
Described next will be detection of connection of the imaging unit 10 according to the fifth embodiment. A head-separated camera device according to the fifth embodiment has the same configuration as in
For example, by means of gray codes as follows, the MPU 201 detects whether or not the transmission order data is transmitted in correct order as represented in
If the MPU 201 detects that transmission order data 010 has been transmitted next to transmission order data 001, the MPU 201 detects that third data has been transmitted next to first data. Therefore, if the transmission order data varies by one bit, the MPU 201 detects that the imaging unit 10 and the control unit 20 are detected to be disconnected from each other or that abnormality such as a mulfunction has occurred in the imaging unit 10.
The MPU 201 transmits, to the serial/parallel converter 208, information indicating whether or not transmission order data is transmitted in a proper order. If the imaging unit 10 and the control unit 20 are detected to be disconnected from each other, the serial/parallel converter 208 continues transmitting the same transmission order data to the MPU 201. According to the fifth embodiment, disconnection or abnormality of the imaging unit 10 can be easily detected without adding any special configuration.
Described next will be detection of connection of the imaging unit 10 according to the sixth embodiment. A head-separated camera device according to the sixth embodiment has the same configuration as in
As in
As represented in
Further, the serial/parallel converter 208 supplies the MPU 201 with a detection signal as the separated direct current component. If the MPU 201 detects a direct current component (1 V), the MPU 201 detects that connection between the imaging unit 10 and the control unit 20 is maintained. If the MPU 201 does not detect the direct current component (but detects 0 V), the MPU 201 detects that the imaging unit 10 and the control unit 20 are disconnected from each other or that abnormality such as a mulfunction occurs in the imaging unit 10. According to the sixth embodiment, disconnection or abnormality of the imaging unit 10 can be easily detected without adding any special configuration.
Further, the control unit 20 can efficiently detect connection and disconnection of the imaging unit 10 by combining the first to sixth embodiments in a complex manner.
At first, the MPU 201 determines a state of the imaging unit 10 (block 201). As states of the imaging unit 10, there are a presence state in which the imaging unit 10 is connected to the control unit 20 and an absence state in which the imaging unit 10 is disconnected from the control unit 20. If the imaging unit 10 is in the presence state (block 201, YES), the MPU 201 outputs the HD, VD, or CLK which is output from the serial/parallel converter 208 (block 202). If the MPU 201 detects the HD, VD, or CLK (block 202, YES), the MPU 201 detects connection between the imaging unit 10 and the control unit 20 to be properly maintained, and terminates detection of the imaging unit 10.
If the MPU 201 cannot detect one of the HD, VD, and CLK (block 202, NO), the MPU 201 counts up a state of “the imaging unit 10 not-detected” (n=n+1) by one (block 203). The MPU 201 detects the disconnected state of the imaging unit 10, depending on a count value n. The MPU 201 determines whether or not n is 5 or more (block 204). If n is not 5 or more (block 204, NO), the MPU 201 terminates detection of the imaging unit 10.
If n is 5 or more (block 204, YES), the MPU 201 detects that the imaging unit 10 and the control unit 20 are disconnected from each other. The MPU 201 changes the state of the imaging unit 10 from the presence state and sets the absence state (block 205). The MPU 201 sets a count value m for detecting the presence state of the image to 0. The MPU 201 displays, for example, information indicating the imaging unit 10 in the presence state (information indicating that the imaging unit 10 enters into a state of being disconnected from the control unit 20, e.g., the data signal cable 302 is detached), on a monitor (block 206). Further, the MPU 201 terminates detection of the imaging unit 10.
If the imaging unit 10 is in the absence state (block 201, NO), the MPU 201 reads a setting value from the memory 104 or the register of the sensor unit 101 (block 207). The MPU 201 determines whether the read value is an expected value (1010 in this case) or not (block 208). If the read value is not 1010 (block 208, NO), the MPU 201 leaves the imaging unit 10 in the absence state and terminates detection of the imaging unit 10. The MPU 201 may display, for example, information indicating that the imaging unit 10 is still in the absence state, on the monitor.
If the read value is 1010 (block 208, YES), the MPU 201 counts up a state of “imaging unit 10 detected” (n=m+1) by one (block 209). The MPU 201 determines whether or not m is 10 or more (block 210). If m is not 10 or more (block 210, NO), the MPU 201 terminates detection of the imaging unit 10. If m is 10 or more (block 210, YES), the MPU 201 changes the state of the imaging unit 10 form the absence state and sets the presence state (block 211). The MPU 201 sets the count value n to 0. For example, the MPU 201 may display, on the monitor, information indicating that the imaging unit 10 has been changed from the absence state to the presence state. Next, the MPU 201 performs a setting of the register of the sensor 101 (block 212). Further, the MPU 201 terminates detection of the imaging unit 10.
As has been described previously, the MPU 201 sets a change of the state of the imaging unit 10 from the presence state to the absence state when the state of “imaging unit 10 not detected” is counted up plural times. This also applies to the state of “imaging unit 10 detected” in a change of the state of the imaging unit 10 from the absence state to the presence state. Therefore, chattering caused by connection/disconnection of the data signal cable 302 can be prevented. Lower limit values for use in the blocks 204 and 210 can be changed arbitrarily.
According to the first to sixth embodiments, states of the head-separated camera device during an activated period, such as a failure in control of the imaging unit 10, disconnection between the imaging unit 10 and the control unit 20, and cut-off of the data signal cable 302, can be detected in addition to an initial state depending on whether the imaging unit 10 is connected to the control unit 20 or not. If a trouble occurs in any part of the head-separated camera device, the user can know accurately a state of the imaging unit 10. Even if connection between the imaging unit 10 and the control unit 20 breaks down, the user can output an image on the monitor by simply connecting the imaging unit 10 to the control unit 20 without turning off the power supply of the head-separated camera device. Further, after turning on the power supply of the head-separated camera device, the control unit 20 and the imaging unit 10 can be connected to each other by the data signal cable 301.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel methods and systems described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the spirit of the inventions. The various modules of the systems described herein can be implemented as software applications, hardware and/or software modules, or components on one or more computers, such as servers. While the various modules are illustrated separately, they may share some or all of the same underlying logic or code. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2009-167086 | Jul 2009 | JP | national |