Imaging device, control method for imaging device, and program

The imaging device manages power supply to accessories through controlled modes, addressing the issue of system failures during power shortages by restricting and restarting power based on specific conditions, thereby enhancing user convenience.

JP2024168685APending Publication Date: 2024-12-05CANON KK

Patent Information

Application Number
JP2023085561
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

Existing imaging devices do not provide conditions and timing for restarting power supply to accessories, leading to potential system failures due to power shortages, which affects user convenience.

Method used

An imaging device with a control mechanism that includes a first mode with normal power consumption and a second mode with reduced power consumption, where power supply to accessories is restricted until specific conditions are met, allowing for controlled power management and prevention of system failures.

Benefits of technology

Enhances user convenience by preventing system failures due to power shortages while optimizing power usage in imaging devices with attached accessories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024168685000001_ABST
    Figure 2024168685000001_ABST
Patent Text Reader

Abstract

To provide an imaging device capable of improving user convenience while preventing system down due to a power shortage.SOLUTION: An imaging device (100) capable of mounting an accessory (200) has control means (101, 102) for controlling the accessory by communicating with the accessory. The imaging device has a first mode and a second mode consuming less power than the first mode. The control means restricts power supply to the accessory when the imaging device gets set to the second mode in a first state in which the accessory operates on power supplied from the imaging device, and lifts the restriction on the power supply to the accessory when it is determined that a specific condition is satisfied.SELECTED DRAWING: Figure 13(b)
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an imaging device, an accessory, a control method for an imaging device, a control method for an accessory, and a program. [Background technology]

[0002] In recent years, the power consumption of imaging devices has been on the rise. Patent Document 1 discloses a method for stopping the power supply to an accessory when the imaging device is unable to supply power to the accessory due to insufficient power supply capacity of the imaging device. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2022-188367 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, Patent Document 1 does not disclose the conditions and timing for restarting the power supply to the accessory when the imaging device stops the power supply to the accessory, and therefore it is not possible to improve user convenience while preventing a system shutdown due to a power shortage.

[0005] SUMMARY OF THE PRESENT EMBODIMENTS In view of the above, an object of the present invention is to provide an imaging device that can improve user convenience while preventing a system shutdown due to a power shortage. [Means for solving the problem]

[0006] An imaging device as one aspect of the present invention is an imaging device capable of attaching an accessory, and has a control means for controlling the accessory by communicating with the accessory, the imaging device having a first mode and a second mode that consumes less power than the first mode, and when the imaging device is set to the second mode in a first state in which the accessory operates using power supplied from the imaging device, the control means restricts the supply of power to the accessory, and when it is determined that certain conditions are satisfied, lifts the restriction on the supply of power to the accessory.

[0007] Other objects and features of the present invention will be described in the following embodiments. Effect of the Invention

[0008] According to the present invention, it is possible to provide an imaging device that can improve user convenience while preventing a system shutdown due to a power shortage. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a configuration diagram of a camera system according to a first embodiment. [Figure 2(a)] 4 is a schematic diagram of a communication waveform of an SPI protocol A in the first embodiment. FIG. [Figure 2(b)] 4 is a schematic diagram of a communication waveform of the SPI protocol B in the first embodiment. FIG. [Figure 2(c)] 5 is a flowchart showing the operation of a camera control circuit B in accordance with an SPI protocol A in the first embodiment. [Figure 2(d)] 5 is a flowchart showing the operation of the accessory control circuit in the SPI protocol A in the first embodiment. [Figure 2(e)] 6 is a flowchart showing the operation of a camera control circuit B in the SPI protocol B in the first embodiment. [Figure 2(f)] 6 is a flowchart showing the operation of the accessory control circuit in SPI protocol B in the first embodiment. [Diagram 3]FIG. 4 is an explanatory diagram of SPI communication contents in the first embodiment. [Figure 4] FIG. 4 is an explanatory diagram of accessory information in the first embodiment. [Diagram 5] FIG. 4 is a sequence diagram showing the operations of the camera and the accessory in the first embodiment. [Figure 6] FIG. 4 is an explanatory diagram of accessory type information in the first embodiment. [Figure 7] FIG. 4 is an explanatory diagram of a cause number and a cause content of a communication request in the first embodiment. [Figure 8] FIG. 4 is an explanatory diagram of communication data interval information of SPI communication in the first embodiment. [Figure 9] 5 is a flowchart showing the operation of a camera control circuit A in the first embodiment. [Figure 10] 5 is a flowchart showing the operation of a camera control circuit B in the first embodiment. [Figure 11] 5 is a flowchart showing the operation of the accessory control circuit in the first embodiment. [Figure 12] 13 is an example of a power saving mode setting screen of the camera in the second embodiment. [Figure 13(a)] 10 is a flowchart showing the operation of a camera in the second embodiment. [Figure 13(b)] 10 is a flowchart showing the operation of a camera in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

[0011] (First embodiment) First, a camera system (imaging system) 10 in a first embodiment of the present invention will be described with reference to Fig. 1. Fig. 1 is a configuration diagram of the camera system 10. The camera system 10 is configured to include a camera (imaging device) 100 as an electronic device, and an accessory 200 that is detachably attached to the camera 100. The camera 100 and the accessory 200 are electrically connected by one-to-one contact between a plurality of contacts (terminals) TC01-TC21 of a camera connection section 141 of the camera 100 and a plurality of contacts TA01-TA21 of an accessory connection section 211 of the accessory 200.

[0012] The camera 100 is supplied with power from a battery (power source) 111. The battery 111 is detachable from the camera 100. A camera control circuit A (first control means) 101 and a camera control circuit B (second control means) 102 as control means of the camera 100 are circuits that control the entire camera 100, and are configured by a microcomputer with a built-in CPU and the like. The camera control circuit A101 monitors switches for operating the camera (not shown). The camera control circuit A101 operates even when the camera 100 is in a standby state (low power consumption mode), and controls the system power supply and the like in response to user operations. The camera control circuit B102 is responsible for controlling the image sensor 122, the display circuit (display means) 127, and the like, and stops operating when the camera 100 is in a standby state (low power consumption mode).

[0013] The system power supply circuit 112 is a circuit that generates power to be supplied to each circuit of the camera 100, and is composed of a DC-DC converter circuit, an LDO (Low Drop Out), a charge pump circuit, etc. A voltage of 1.8V generated by the system power supply circuit 112 is constantly supplied from the battery 111 to the camera control circuit A101 as a camera microcomputer power supply VMCU_C. In addition, several types of voltages generated by the system power supply circuit 112 are also supplied to the camera control circuit B102 at any timing as a camera microcomputer power supply VMCU2_C. The camera control circuit A101 controls the system power supply circuit 112 to perform on / off control of the power supply to each circuit of the camera 100.

[0014] The optical lens (lens device) 121 is detachable from the camera 100. Light from a subject incident through the optical lens 121 is imaged on an image sensor (image pickup element) 122 such as a CMOS sensor or a CCD sensor. The optical lens 121 and the camera 100 may be integrated. The subject image imaged on the image sensor 122 is encoded into a digital image pickup signal. The image processing circuit 123 performs image processing such as noise reduction processing and white balance processing on the digital image pickup signal to generate image data, and converts the image data into an image file in JPEG format or the like to record it in the recording memory 126. The image processing circuit 123 also generates VRAM image data from the image data to be displayed on the display circuit 127. The image processing circuit 123 may also be configured to convert into other voltages.

[0015] The memory control circuit 124 controls the transmission and reception of image data generated by the image processing circuit 123 and other data. The volatile memory 125 is a memory capable of high-speed reading and writing, such as a DDR3 SDRAM, and is used as a workspace for image processing performed by the image processing circuit 123. The recording memory 126 is a readable and writable recording medium, such as an SD card or a CFexpress card, which is detachable from the camera 100 via a connecting part (not shown). The display circuit 127 is a display disposed on the rear surface of the camera 100, and is composed of an LCD panel, an organic EL display panel, or the like. The backlight circuit 128 adjusts the brightness of the display circuit 127 by changing the amount of light of the backlight of the display circuit 127.

[0016] The accessory power supply circuit A131 and the accessory power supply circuit B132 as power supply means are voltage conversion circuits that convert the voltage supplied from the system power supply circuit 112 into a predetermined voltage, and generate 3.3V as the accessory power supply VACC in this embodiment. The accessory power supply circuit A131 is a power supply circuit with low self-consumption power, which is composed of an LDO or the like. The accessory power supply circuit B132 is a circuit that is composed of a DC / DC converter circuit or the like, and can pass a larger current than the accessory power supply circuit A131. That is, the power consumption (second power) of the accessory power supply circuit B132 is larger than the power consumption (first power) of the accessory power supply circuit A131. Therefore, when the load current is small, the accessory power supply circuit A131 is more efficient than the accessory power supply circuit B132, and when the load current is large, the accessory power supply circuit B132 is more efficient than the accessory power supply circuit A131. The camera control circuit A101 controls the on / off of the voltage output of the accessory power supply circuit A131 and the accessory power supply circuit B132 according to the operating state of the accessory 200.

[0017] The protection circuit 133 as a protection means is configured with a current fuse element, a polyswitch element, or an electronic fuse circuit combining a resistor, an amplifier, and a switch element. The protection circuit 133 outputs an overcurrent detection signal DET_OVC when the power supply current value supplied to the accessory 200 from the accessory power supply circuit A131 and the accessory power supply circuit B132 exceeds a predetermined value and becomes excessive (abnormal). In this embodiment, the protection circuit 133 is an electronic fuse circuit, and notifies the camera control circuit A101 by the overcurrent detection signal DET_OVC when a current of 1 A or more flows. The overcurrent detection signal DET_OVC indicates an overcurrent by its Hi level. The predetermined value may be configured to be different from 1 A.

[0018] The camera connection unit 141 is a connector for electrically connecting to the accessory 200 via 21 contacts TC01 to TC21 arranged in a row. The contacts TC01 to TC21 are arranged in this order from one end to the other end in the arrangement direction.

[0019] The contact TC01 is connected to the ground (GND) and serves not only as a reference potential contact but also as a contact for controlling the wiring impedance of the differential signals D1N and D1P. The contact TC01 corresponds to a third ground contact. The differential signal D1N connected to the contact TC02 and the differential signal D1P connected to the contact TC03 are differential data communication signals that perform data communication in pairs and are connected to the camera control circuit B102. The contacts TC02, TC03, and the contacts TC07 to TC17, TC19, and TC20 described later are communication contacts.

[0020] Contact TC04 as a first ground contact is connected to GND and serves as a reference potential contact for camera 100 and accessory 200. Contact TC04 is disposed on the outside in the arrangement direction of the contacts relative to TC05, which will be described next. Accessory power VACC generated by accessory power circuits A131 and B132 is connected to contact TC05 as a power contact via protection circuit 133.

[0021] An accessory attachment detection signal / ACC_DET is connected to contact TC06, which serves as an attachment detection contact. The accessory attachment detection signal / ACC_DET is pulled up to the camera microcomputer power supply VMCU_C via a resistive element Rp134 (10 kΩ). The camera control circuit A101 can detect whether the accessory 200 is attached by reading out the signal level of the accessory attachment detection signal / ACC_DET. If the signal level (electric potential) of the accessory attachment detection signal / ACC_DET is a Hi level (predetermined electric potential), the accessory 200 is detected as not being attached, and if it is a Lo level (GND electric potential as described later), the accessory 200 is detected as being attached.

[0022] When the camera 100 is powered on, the signal level (electric potential) of the accessory attachment detection signal / ACC_DET changes from Hi level to Lo level, which serves as a trigger for various communications between the camera 100 and the accessory 200 via the contacts.

[0023] The camera control circuit A101 supplies power to the accessory 200 via TC05, which serves as a power contact, in response to detecting that the accessory 200 is in an attached state.

[0024] SCLK connected to contact TC07, MOSI connected to contact TC08, MISO connected to contact TC09, and CS connected to contact TC10 are signals for performing SPI communication with the camera control circuit B102 as the communication master. In this embodiment, the communication clock frequency of the SPI communication is 1 MHz, the data length is 8 bits (1 byte), the bit order is MSB first, and the communication method is full duplex.

[0025] In this embodiment, the camera 100 and the accessory 200 are compatible with two types of communication protocols (control methods) as SPI (Serial Peripheral Interface) communication methods. The first communication protocol (first control method) is a method in which the camera 100 does not check whether the accessory 200 is in a communication-enabled state (communication availability state of the accessory 200) before outputting SCLK, and is referred to as SPI protocol A in this embodiment. Fig. 2(a) is a schematic diagram of a communication waveform of the SPI protocol A. In Fig. 2(a), the CS signal is Lo active.

[0026] At timing A1, the camera control circuit B102 changes CS to Lo level to request SPI communication from the accessory control circuit (control means) 201. At timing A2, a predetermined time T_CS after timing A1, the camera control circuit B102 starts outputting SCLK and MOSI. Similarly, when the accessory control circuit 201 detects a falling edge change of SCLK, it starts outputting MISO. The camera control circuit B102 stops outputting SCLK at timing A3 when outputting one byte of SCLK is completed. The camera control circuit B102 stops outputting SCLK until a predetermined time T_INTERVAL has elapsed from timing A3, and resumes outputting SCLK at timing A4 when T_INTERVAL has elapsed, and communicates the next one byte.

[0027] 2(c) is a flowchart showing the operation of the camera control circuit B102 in the SPI protocol A. First, in step S101, the camera control circuit B102 stores a numerical value indicating the number of bytes to be communicated in an internal variable N. For example, when communicating 3 bytes, 3 is stored. Next, in step S102, the camera control circuit B102 changes CS to Lo level to request SPI communication. Next, in step S103, the camera control circuit B102 performs a wait process until a predetermined time T_CS has elapsed after changing CS to Lo level. After the predetermined time T_CS has elapsed, the process proceeds to step S104.

[0028] In step S104, the camera control circuit B102 performs SCLK output control to communicate 1 byte of data, and also performs MOSI data output control and MISO data input control. Next, in step S105, the camera control circuit B102 determines whether an internal variable N indicating the number of communication bytes is 0. If the internal variable N is 0, the process proceeds to step S106. On the other hand, if the internal variable N is other than 0, the process proceeds to step S107.

[0029] In step S107, the camera control circuit B102 subtracts 1 from the internal variable N indicating the number of communication bytes and stores the result as a new internal variable N. Then, in step S108, the camera control circuit B102 performs wait processing until a predetermined time T_INTERVAL has elapsed since the communication of 1 byte of data is completed in step S104. After the predetermined time T_INTERVAL has elapsed, the process returns to step S104, and the camera control circuit B102 executes the same process again. In step S106, the camera control circuit B102 changes CS to Hi level and ends the series of SPI communications.

[0030] 2(d) is a flowchart showing the operation of the accessory control circuit 201 in the SPI protocol A. First, in step S201, the accessory control circuit 201 determines whether CS has changed to Lo. If CS has changed to Lo, the process proceeds to step S202. On the other hand, if CS has not changed to Lo, the process returns to step S211.

[0031] In step S202, the accessory control circuit 201 controls the input of MOSI data and the output of MISO data in response to the SCLK signal input, and communicates 1 byte of data. Next, in step S203, the accessory control circuit 201 determines whether CS has changed to Hi. If CS has changed to Hi, the accessory control circuit 201 determines that the SPI communication has ended. On the other hand, if CS has not changed to Hi, the accessory control circuit 201 returns to step S202 to communicate the next 1 byte.

[0032] The second communication protocol (second control method) is a method in which the camera 100 checks whether the accessory 200 is in a communication-enabled state (communication availability state of the accessory 200) before outputting SCLK, and is referred to as SPI protocol B in this embodiment. FIG. 2(b) is a schematic diagram of a communication waveform of the SPI protocol B. At timing B1, the camera control circuit B102 changes CS to Lo level to request SPI communication to the accessory control circuit 201. Together with the communication request, the camera control circuit B102 checks the potential of MISO. When the potential of MISO is at Hi level, the camera control circuit B102 determines that the accessory control circuit 201 is in a communication-enabled state. On the other hand, when the potential of MISO is at Lo level, the camera control circuit B102 determines that the accessory control circuit 201 is in a communication-disabled state.

[0033] On the other hand, when the accessory control circuit 201 detects the falling edge of CS, it controls MISO to Hi level if SPI communication is possible, and controls MISO to Lo level if communication is not possible (B2).

[0034] At timing B3, the camera control circuit B102 confirms that MISO is at Hi level and starts outputting SCLK and MOSI. Similarly, the accessory control circuit 201 starts outputting MISO when it detects a falling edge change of SCLK. When the camera control circuit B102 completes output of one byte of SCLK at timing B4, it stops outputting SCLK.

[0035] After transmitting and receiving one byte of data, the accessory control circuit 201 controls MISO to Hi level if SPI communication is possible, and controls MISO to Lo level if SPI communication is not possible (B5, B6). At timing B7, the camera control circuit B102 checks the potential of MISO, and if it is Hi level, it determines that the accessory control circuit 201 is in a communication possible state, and if it is Lo level, it determines that the accessory control circuit 201 is in a communication not possible state.

[0036] 2(e) is a flowchart showing the operation of the camera control circuit B102 in the SPI protocol B. First, in step S111, the camera control circuit B102 stores a numerical value indicating the number of bytes to be communicated in the internal variable N. For example, when communicating 3 bytes, 3 is stored. Next, in step S112, the camera control circuit B102 changes CS to Lo level to request SPI communication. Next, in step S113, the camera control circuit B102 determines whether MISO has changed to Hi level. If MISO is at Hi level, the process proceeds to step S114. On the other hand, if MISO is not at Hi level, the process returns to step S113.

[0037] In step S114, the camera control circuit B102 performs SCLK output control, MSO data output control, and MISO data input control to communicate 1 byte of data. Next, in step S115, the camera control circuit B102 determines whether an internal variable N indicating the number of communication bytes is 0. If the internal variable N is 0, the process proceeds to step S116. On the other hand, if the internal variable N is other than 0, the process proceeds to step S117.

[0038] In step S117, the camera control circuit B102 subtracts 1 from the internal variable N indicating the number of communication bytes and stores the result as a new internal variable N. Then, in step S118, the camera control circuit B102 determines whether MISO has changed to Hi level. If MISO is at Hi level, the process proceeds to step S114. On the other hand, if MISO is not at Hi level, the process returns to step S118. In step S116, the camera control circuit B102 changes CS to Hi level and ends the series of SPI communications.

[0039] 2(f) is a flowchart showing the operation of the accessory control circuit 201 in the SPI protocol B. First, in step S211, the accessory control circuit 201 determines whether CS has changed to Lo. If CS has changed to Lo, the process proceeds to step S212. On the other hand, if CS has not changed to Lo, the process returns to step S211.

[0040] In step S212, the accessory control circuit 201 determines whether SPI communication is possible. If SPI communication is possible, proceed to step S213. On the other hand, if SPI communication is not possible, proceed to step S214. In step S213, the accessory control circuit 201 controls MISO to Hi level and proceeds to step S215. In step S214, the accessory control circuit 201 controls MISO to Lo level and returns to step S212.

[0041] In step S215, the accessory control circuit 201 controls the input of MOSI data and the output of MISO data in response to the SCLK signal input, and communicates 1 byte of data. Then, in step S216, the accessory control circuit 201 determines whether CS has changed to Hi. If CS has changed to Hi, the accessory control circuit 201 determines that the SPI communication has ended. On the other hand, if CS has not changed to Hi, the accessory control circuit 201 returns to step S212 to communicate the next 1 byte.

[0042] 3 is an explanatory diagram of communication contents when an operation execution command is notified from the camera 100 to the accessory 200 by SPI communication in this embodiment. In the first byte of communication, the camera control circuit B102 transmits information CMD indicating a command number as MOSI data. On the other hand, the accessory control circuit 201 transmits a value of 0xA5 as MISO data indicating a communication possible state. If the accessory control circuit 201 cannot execute the communication process of the first byte, it transmits a value other than 0xA5 as MISO data.

[0043] In communicating the second byte, the camera control circuit B102 transmits the argument MOSI_DATA1 corresponding to the command number CMD. Similarly, for the third byte to the (N-2)th byte and onwards, the camera control circuit B102 transmits the arguments MOSI_DATA2 to MOSI_DATA[N-3] corresponding to the command number CMD.

[0044] On the other hand, in the second byte of communication, the accessory control circuit 201 transmits the command number CMD received in the first byte as MISO data, which allows the camera control circuit B102 to determine that the accessory control circuit 201 has correctly received the MOSI data.

[0045] In communicating the third byte, the accessory control circuit 201 transmits the return value MISO_DATA1 corresponding to the command number CMD as MISO data. Similarly, for the fourth byte to the (N-2)th byte and onwards, the accessory control circuit 201 transmits arguments MISO_DATA2 to MISO_DATA[N-4] corresponding to the command number CMD. Note that the number of arguments and return values ​​is determined in advance for each command number. Also, either the argument or the return value, or both, may be omitted.

[0046] In the communication of the (N-1)th byte, the camera control circuit B102 transmits checksum data CheckSum_C as the MOSI data. CheckSum_C is calculated by the following formula (1).

[0047] CheckSum_C=EXOR(AND(SUM(CMD,MOSI_DATA1,…,MOSI_DATA[N-3]),0xFF),0xFF) ···(1) On the other hand, the accessory control circuit 201 transmits 0x00 as the MISO data.

[0048] In the Nth byte of communication, the camera control circuit B102 transmits 0x00 as the MOSI data. On the other hand, the accessory control circuit 201 transmits checksum data CheckSum_A as the MISO data. CheckSum_A is calculated by the following formula (2) or formula (3).

[0049] In the (N-1)th byte communication, if the value of CheckSum_C received by the camera control circuit B102 matches the value of CheckSum_C calculated by the camera control circuit B102, CheckSum_A is calculated by equation (2).

[0050] CheckSum_A=EXOR(AND(SUM(0xA5,CMD,MIS0_DATA1,…,MOSI_DATA[N-4]),0xFF),0xFF) ···(2) In the communication of the (N-1)th byte, if the value of CheckSum_C received by the camera control circuit B102 does not match the value of CheckSum_C calculated by the camera control circuit B102, CheckSum_A is calculated by equation (3).

[0051] CheckSum_A=AND(SUM(0xA5,CMD,MIS0_DATA1,…,MOSI_DATA[N-4]),0xFF) ···(3) A communication request signal / WAKE for requesting communication from the accessory 200 to the camera control circuit A101 is connected to the contact TC11. The communication request signal / WAKE is pulled up to the camera microcomputer power supply VMCU_C via a resistor. The camera control circuit A101 can receive a communication request from the accessory 200 by detecting the falling edge of the communication request signal / WAKE.

[0052] The SDA connected to the contact TC12 and the SCL connected to the contact TC13 are signals for performing I2C (Inter-Integrated Circuit) communication with the camera control circuit A101 as the communication master. The SDA and SCL are open-drain communication signals pulled up to the camera microcomputer power supply VMCU_C, and the communication frequency is 100 kbps in this embodiment.

[0053] Fig. 4 is an explanatory diagram of accessory information that the accessory 200 has in a non-volatile memory (not shown). As shown in Fig. 4, the accessory information is mapped in a memory space of addresses 0x00 to 0x0F, and the accessory information can be read from the accessory 200 by I2C communication. In the I2C communication of this embodiment, a checksum value for the read data is added as the final data of the communication. The accessory information will be described in detail later.

[0054] The FNC1 signal connected to contact TC14, the FNC2 signal connected to contact TC15, the FNC3 signal connected to contact TC16, and the FNC4 signal connected to contact TC17 are function signals that change the function according to the type of attached accessory 200. For example, if accessory 200 is a microphone device, the signal communicated via TC15 is an audio data signal. If accessory 200 is a lighting device (strobe unit), the signal communicated via TC14 is a signal notifying the timing of light emission.

[0055] The contact TC18 as the second ground contact is also connected to GND, and like the contact TC04, it is a contact that serves as the reference potential of the camera 100 and the accessory 200. The differential signal D2N connected to the contact TC19 and the differential signal D2P connected to the contact TC20 are data communication signals that perform data communication in pairs, and are connected to the camera control circuit B102. For example, USB communication can be performed via TC19 and TC20. The contact TC21 is connected to GND, and serves not only as a reference potential contact, but also as a contact that controls the wiring impedance of the differential signal D2N and the differential signal D2P. TC21 corresponds to the fourth ground contact.

[0056] Accessory 200 has a battery 205 and receives power from battery 205, as well as from camera 100 via camera connection unit 141 and accessory connection unit 211. Accessory control circuit 201, which serves as a control means for accessory 200, is a circuit that controls accessory 200 as a whole, and is a microcomputer with a built-in CPU and the like.

[0057] The accessory power supply circuit 202 is a circuit that generates power to be supplied to each circuit of the accessory 200, and is composed of a DC-DC converter circuit, an LDO, a charge pump circuit, etc. A voltage of 1.8V generated by the accessory power supply circuit 202 is constantly supplied to the accessory control circuit 201 as the accessory microcomputer power supply VMCU_A. Note that the voltage generated by the accessory power supply circuit 202 may be a value different from 1.8V. By controlling the accessory power supply circuit 202, on / off control of the power supply to each circuit of the accessory 200 is performed.

[0058] The charging circuit 204 is a circuit for charging the battery 205 using power supplied from the camera 100. When the accessory control circuit 201 determines that sufficient power is being supplied from the camera 100 to perform a charging operation, it controls the charging circuit 204 to charge the battery 205. Note that, although the present embodiment describes a case in which the battery 205 is attached to the accessory 200, the accessory 200 may operate only with power supplied from the camera 100 without the battery 205 being attached. In this case, the charging circuit 204 is not necessary.

[0059] The differential communication circuit 207 is a circuit for performing differential communication with the camera 100, and can transmit and receive data to and from the camera 100. The external communication IF circuit 208 is an IF circuit for performing data communication with an external device (not shown), and is an Ethernet communication IF, a wireless LAN communication IF, a public network communication IF, or the like.

[0060] The accessory control circuit 201 controls the differential communication circuit 207 and the external communication IF circuit 208 to transmit data received from the camera 100 to an external device and transmit data received from the external device to the camera 100. The functional circuit 206 is a circuit having different functions depending on the type of the accessory 200. For example, if the accessory 200 is a strobe device, the functional circuit 206 is a light emission circuit, a charging circuit, etc. If the accessory 200 is a microphone device, the functional circuit 206 is an audio codec circuit, a microphone circuit, etc.

[0061] The external connection terminal 209 is a connector terminal for connecting to an external device, and is a USB TYPE-C connector in this embodiment. The connection detection circuit 210 is a circuit for detecting that an external device is connected to the external connection terminal 209, and the accessory control circuit 201 can detect the connection of an external device to the external connection terminal 209 by receiving an output signal from the connection detection circuit 210.

[0062] The power switch 203 is a switch for turning on and off the operation of the accessory 200, and the accessory control circuit 201 can detect the on position or off position by reading the signal level of the terminal to which the power switch 203 is connected.

[0063] The operation switch 212 is a switch for operating the accessory 200, and is composed of a button, a cross key, a slide switch, a dial switch, etc. When the operation switch 212 is operated, the accessory control circuit 201 can detect the operation and executes a predetermined process according to the operation.

[0064] The accessory connection unit 211 is a connector for electrically connecting to the camera 100 via 21 contacts TA01 to TA21 arranged in a row. The contacts TA01 to TA21 are arranged in this order from one end to the other end in the arrangement direction.

[0065] The contact TA01 is connected to GND and serves not only as a reference potential contact but also as a contact to control the wiring impedance of the differential signals D1N and D1P. The contact TA01 corresponds to the third ground contact.

[0066] A differential signal D1N connected to the contact TA02 and a differential signal D1P connected to the contact TA03 are data communication signals that perform data communication in a pair and are connected to a differential communication circuit 207. The contacts TA02 and TA03, and contacts TA07 to TA17, TA19, and TA20 described below are communication contacts.

[0067] The contact TA04 as the first ground contact is connected to GND and serves as a contact of the reference potential between the camera 100 and the accessory 200. The contact TA04 is disposed on the outside of the contact TA05 described later in the arrangement direction of the contacts. The accessory power supply circuit 202 and the charging circuit 204 are connected to TA05 as the power supply contact, and the accessory power supply VACC supplied from the camera 100 is connected to the contact TA05. The contact TA06 as the attachment detection contact is directly connected to GND. When the accessory 200 is attached to the camera 100, the contact TA06 sets the accessory attachment detection signal / ACC_DET described above to the GND level (ground potential) as the Lo level, thereby causing the camera 100 to detect the attachment of the accessory 200. The SCLK connected to the contact TA07, the MOSI connected to the contact TA08, the MISO connected to the contact TA09, and the CS connected to the contact TA10 are signals for the accessory control circuit 201 to become a communication slave and perform SPI communication.

[0068] A communication request signal / WAKE is connected to contact TA11, for requesting communication from accessory control circuit 201 to camera 100. When accessory control circuit 201 determines that communication with camera 100 is necessary, it issues a communication request to camera 100 by outputting communication request signal / WAKE at Lo.

[0069] The SDA connected to the contact TA12 and the SCL connected to the contact TA13 are signals for the accessory control circuit 201 to function as a communication slave and perform I2C communication.

[0070] The FNC1 signal connected to the contact TA14, the FNC2 signal connected to the contact TA15, the FNC3 signal connected to the contact TA16, and the FNC4 signal connected to the contact TA17 are signals whose functions are variable according to the type of accessory 200. For example, if the accessory 200 is a microphone device, the signal is an audio data signal, and if the accessory 200 is a strobe unit, the signal is a signal that notifies of the timing of light emission.

[0071] The contact TA18 as a second ground contact is also connected to GND, and like the contact TA04, serves as a contact of the reference potential between the camera 100 and the accessory 200. The differential signal D2N connected to the contact TA19 and the differential signal D2P connected to the contact TA20 are data communication signals that are paired together to perform data communication, and are connected to the external connection terminal 209. The contact TA21 is connected to GND, and serves not only as a contact of the reference potential, but also as a terminal that controls the wiring impedance of the differential signals D2N and D2P. The contact TA21 corresponds to the fourth ground contact.

[0072] 5 is a sequence diagram showing the operations (processing) of the camera 100 and the accessory 200 when the accessory 200 is attached to the camera 100. Details of the respective processes of the camera 100 and the accessory 200 will be described later.

[0073] When the accessory 200 is attached to the camera 100, the accessory attachment detection signal / ACC_DET becomes GND level, and the camera control circuit A101 determines that the accessory is attached. When it is determined that the accessory is attached, the camera control circuit A101 sets the power supply control signal CNT_VACC1 to Hi level to turn on the output of the accessory power supply circuit A131. The accessory power supply circuit A131 outputs the accessory power supply VACC in response to the power supply control signal CNT_VACC1 becoming Hi.

[0074] In the accessory 200, when the accessory power supply circuit 202 receives power from the VACC, it generates a power supply VMCU_A for the accessory control circuit 201, and the accessory control circuit 201 starts up. After starting up, the accessory control circuit 201 initializes each block in the accessory 200. Thereafter, when the accessory becomes capable of communicating with the camera 100, the / WAKE terminal is set to Lo level.

[0075] In the camera 100, the camera control circuit A101 detects that the / WAKE terminal has become Lo level, and detects that the accessory 200 is in a communication-enabled state. The camera control circuit A101 requests accessory information through I2C communication.

[0076] In the accessory 200, the accessory control circuit 201 transmits accessory information in response to an accessory information request from the camera 100. After transmitting the accessory information, the accessory control circuit 201 sets the communication request signal / WAKE to a HI level.

[0077] In the camera 100, the camera control circuit A101 judges the received accessory information and judges whether the attached accessory can be controlled. It also turns on the accessory power circuit B132. When the camera control circuit A101 completes various settings of the camera 100, it notifies the camera control circuit B102 of the accessory information. Based on the accessory type information, the camera control circuit B102 notifies the accessory 200 of a control command via SPI communication and controls a function signal. The accessory control circuit 201 responds to the control command via SPI communication from the camera 100 and performs control according to the function signal.

[0078] The accessory information shown in Fig. 4 will be described below. The D7-D0 data at address 0x00 is information indicating the accessory type. Fig. 6 is an explanatory diagram of accessory type information as accessory information. For example, 0x81 indicates a strobe device, 0x82 an interface conversion adapter device, 0x83 a microphone device, and 0x84 a multi-accessory connection adapter device for attaching multiple accessory devices to the camera 100.

[0079] Here, the adapter device is an intermediate accessory that is attached between the camera 100 and an accessory such as a strobe device or a microphone device. The interface conversion adapter device is an adapter device that converts the interface to make the camera 100 and the accessory compatible when the interface of the camera 100 and the interface of the accessory are different. The multi-accessory connection adapter device is an adapter device to which multiple accessories can be attached.

[0080] The D7-D0 data at address 0x01 is information indicating the model number of the accessory 200. This information, together with the accessory type information described above, makes it possible to indicate the accessory model in one place. The D7-D0 data at address 0x02 is information indicating the firmware version of the accessory 200.

[0081] The D7-D6 data of the address 0x03 is information indicating whether or not the camera 100 requests the accessory power supply VACC to the accessory 200 when the camera 100 has turned off a power switch (not shown). When this information is 0, it indicates that no power supply is required, when this information is 1, it indicates that a power supply is required by the accessory power supply circuit A131, and when this information is 2, it indicates that a power supply is required by the accessory power supply circuit B132. The D5-D4 data of the address 0x03 is information indicating whether or not the camera 100 requests the accessory power supply VACC to the accessory 200 when in a power saving mode. When this information is 0, it indicates that no power supply is required, when this information is 1, it indicates that a power supply is required by the accessory power supply circuit A131, and when this information is 2, it indicates that a power supply is required by the accessory power supply circuit B132. The D3-D2 data of the address 0x03 is information indicating whether or not the accessory 200 is equipped with a battery 205. When this information is 0, it indicates that the accessory 200 is not equipped with a battery, and when this information is 1, it indicates that the accessory 200 is equipped with a battery. The D1-D0 data at address 0x03 is information indicating whether accessory 200 has a function for charging battery 205. When this information is 0, it indicates that it does not have the function, and when this information is 1, it indicates that it has the function.

[0082] The D7-0 data at address 0x04 is information indicating the power required by the accessory power supply VACC to the accessory 200, which is supplied from the camera 100. This information is multiplied by 10 to indicate the current value. For example, this information is 10 to indicate 100 mA, and this information is 100 to indicate 1 A.

[0083] As a method for reducing the amount of information, this information may be associated with an arbitrary current value. For example, this information may indicate a request for 100 mA when it is 0, a request for 300 mA when it is 1, a request for 450 mA when it is 3, and a request for 600 mA when it is 4.

[0084] The D7 data of the address 0x05 is information indicating whether the accessory 200 is in a firmware update mode (information indicating the operation mode of the accessory 200). When this information is 0, it indicates that the accessory is not in a firmware update mode, and when this information is 1, it indicates that the accessory is in a firmware update mode. The D6 data of the address 0x05 is information indicating whether the accessory 200 has a firmware update function. When this information is 0, it indicates that the accessory does not have the function, and when this information is 1, it indicates that the accessory has the function. The D5-D4 data of the address 0x05 is information indicating whether the accessory 200 permits operation when an intermediate connection accessory is attached. When this information is 0, it indicates that the operation is not permitted, and when this information is 1, it indicates that the operation is permitted. The D3-D2 data of the address 0x05 is information indicating whether the accessory 200 needs to check the attachment state of the intermediate connection accessory when the camera 100 starts up. When this information is 0, it indicates that confirmation is not necessary, and when this information is 1, it indicates that confirmation is necessary. The D1-D0 data of the address 0x05 is information indicating whether the accessory 200 supports command notification by I2C communication. If this information is 0, it indicates that command notification is not supported, and if it is 1, it indicates that command notification is supported.

[0085] The D5-D4 data at address 0x06 is information indicating a communication method capable of notifying the camera 100 of the cause of a communication request after the accessory 200 notifies the camera 100 of a communication request signal / WAKE. When this information is 0, it indicates that I2C communication is supported, when it is 1, it indicates that SPI communication is supported, and when it is 2, it indicates that both I2C communication and SPI communication are supported. The D3-D0 data at address 0x06 is information indicating whether the accessory 200 has functions by the FNC1 signal, the FNC2 signal, the FNC3 signal, and the FNC4 signal. The D0 data corresponds to the FNC1 signal, the D1 data corresponds to the FNC2 signal, the D2 data corresponds to the FNC3 signal, and the D3 data corresponds to the FNC4 signal, and when each value is 0, it indicates that the function is not provided, and when each value is 1, it indicates that the function is provided.

[0086] The D7 data at address 0x0A is information indicating whether or not to request the camera 100 to start up when the accessory 200 notifies the camera 100 of the communication request signal / WAKE. When this information is 0, it indicates that startup is requested, and when it is 1, it indicates that startup is not requested. The D6-D0 data at address 0x0A is information indicating the cause of the communication request signal / WAKE notified to the camera 100 by the accessory 200. FIG. 7 is an explanatory diagram of the cause number and cause content of the communication request, and shows an example of the cause of the communication request signal / WAKE. In this example, an example is shown in which the accessory 200 is a microphone device. For example, the cause number 0x00 is a number indicating that the menu call switch of the operation switch 212 has been pressed. Also, the cause number 0x01 is a number indicating that the accessory 200 has completed output control of the audio signal. Also, the cause number 0x02 is a number indicating that the accessory 200 has completed muting of the audio signal. In this way, information regarding the cause of the communication request signal / WAKE can be notified to the camera 100.

[0087] The D1 data at address 0x0C is information indicating the SPI communication protocol supported by the accessory 200, and when this information is 0, it indicates that the accessory supports SPI protocol A, and when this information is 1, it indicates that the accessory supports SPI protocol B. The D0 data at address 0x0C is information indicating the control logic of the CS signal of the SPI communication supported by the accessory 200, and when this information is 0, it indicates that the CS signal is Lo active logic, and when this information is 1, it indicates that the CS signal is Hi active logic. The D7-D0 data at address 0x0D is information indicating the time required as a communication byte interval when the accessory 200 communicates using SPI protocol A and when the D7 data at address 0x05 is 0, that is, when the accessory 200 is not in the firmware update mode state. The D7-D0 data at address 0x0E is information indicating the time required as a communication byte interval when the accessory 200 communicates using SPI protocol A and when the D7 data at address 0x05 is 1, that is, when the accessory 200 is in the firmware update mode state.

[0088] Figures 8(a) and (b) are explanatory diagrams of communication data interval information for SPI communication, showing the relationship between address 0x0D data and address 0x0E data information and the time between communication bytes (communication interval). Figure 8(a) shows the relationship with the time between communication bytes for 0x0D data, and Figure 8(b) shows the relationship with the time between communication bytes for 0x0E data. The D7-D0 data at address 0x0F is information indicating a checksum.

[0089] FIG. 9 is a flowchart showing the operation of the camera control circuit A, and shows the processing of the camera control circuit A101 from when the accessory 200 is attached to the camera 100 until the function of the accessory 200 is enabled.

[0090] First, in step S401, the camera control circuit A101 monitors the signal level of the accessory attachment detection signal / ACC_DET and detects (determines) whether the accessory 200 is attached. If the signal level is Hi, the camera control circuit A101 determines that the accessory 200 is not attached, and returns to step S401 to perform the detection operation again. On the other hand, if the signal level is Lo, the camera control circuit A101 determines that the accessory 200 is attached, and proceeds to step S402.

[0091] In step S402, the camera control circuit A101 controls the power supply control signal CNT_VACC1 to Hi level in order to turn on the output of the accessory power supply circuit A131, and proceeds to step S403. When the power supply control signal CNT_VACC1 becomes Hi, the accessory power supply circuit A131 outputs the accessory power supply VACC.

[0092] In step S403, the camera control circuit A101 monitors the signal level of the overcurrent detection signal DET_OVC and determines whether an overcurrent is flowing. If the signal level is Lo, the camera control circuit A101 determines that an overcurrent is not flowing and proceeds to step S404. On the other hand, if the signal level is Hi, the camera control circuit A101 determines that an overcurrent is flowing and proceeds to step S405 to perform error processing.

[0093] In step S404, the camera control circuit A101 monitors the signal level of a communication request signal / WAKE, which is a notification signal from the accessory 200, and determines whether initialization of the accessory 200 is complete. If the signal level is Lo, the camera control circuit A101 determines that initialization is complete, and proceeds to step S406. On the other hand, if the signal level is Hi, the camera control circuit A101 determines that initialization is not complete, and returns to step S404 to perform the detection operation (determination) again.

[0094] In step S406, the camera control circuit A101 performs I2C communication with the accessory 200, reads 15 bytes of accessory information, and proceeds to step S407. In step S407, the camera control circuit A101 determines whether the attached accessory 200 is an accessory compatible with the camera 100 (a compatible accessory) based on the accessory information read in step S406. If it is determined that the attached accessory 200 is a compatible accessory, the process proceeds to step S408. On the other hand, if it is determined that the attached accessory 200 is an incompatible accessory, the process proceeds to step S409 and performs error processing.

[0095] In step S408, the camera control circuit A101 controls the power supply control signal CNT_VACC2 to Hi level in order to turn on the output of the accessory power supply circuit B132, and proceeds to step S410. When the power supply control signal CNT_VACC2 becomes Hi, the accessory power supply circuit B132 outputs the accessory power supply VACC. In this embodiment, when both the power supply control signal CNT_VACC1 and the power supply control signal CNT_VACC2 are controlled to Hi level, the output from the accessory power supply circuit B132 is output to the accessory power supply VACC. In step S410, the camera control circuit A101 notifies the camera control circuit B102 of the accessory information read out in step S406, and completes the startup flow associated with the attachment of the accessory 200.

[0096] FIG. 10 is a flowchart showing the operation of the camera control circuit B, and shows the processing of the camera control circuit B102 from when the accessory 200 is attached to the camera 100 until the functions of the accessory 200 are enabled.

[0097] First, in step S501, the camera control circuit B102 judges whether accessory information has been notified from the camera control circuit A101. If accessory information has not been notified, the process returns to step S501 and performs detection operation (judgment) again. If accessory information has been notified, the process proceeds to step S502.

[0098] In step S502, the camera control circuit B102 sets the function signals FNC1 to FNC4 based on the accessory information notified from the camera control circuit A101. For example, when it is notified that the accessory 200 is a microphone device, it sets FNC1 to function as the audio data clock signal BCLK, FNC2 to function as the audio data channel signal LRCLK, and FNC3 to function as the audio data signal SDATA. As another example, when it is notified that the accessory 200 is a strobe device, it sets FNC4 to function as the strobe light emission synchronization signal XOUT. Note that the camera control circuit B102 also performs predetermined settings on the function signals that do not require control for the accessory 200 so as not to interfere with the operations of the camera 100 and the accessory 200.

[0099] Next, in step S503, the camera control circuit B102 sets the control logic of the SPI communication CS signal based on the accessory information notified from the camera control circuit A101. Next, in step S504, the camera control circuit B102 detects (determines) whether a predetermined event has occurred for the accessory 200. If no event has occurred, the process returns to step S504, and the camera control circuit B102 performs the detection operation (determination) again. On the other hand, if an event has occurred, the process proceeds to step S505.

[0100] In step S505, the camera control circuit B102 determines whether the event detected in step S504 is an event that requires SPI communication with the accessory 200. If the detected event is an event that requires SPI communication, the process proceeds to step S506. On the other hand, if the detected event is not an event that requires SPI communication, the process proceeds to step S507.

[0101] In step S507, the camera control circuit B102 determines whether the event detected in step S507 is an event that requires control using a function signal with the accessory 200. If the detected event is an event that requires control using a function signal, the process proceeds to step S508. On the other hand, if the detected event is not an event that requires control using a function signal, the process proceeds to step S509.

[0102] In step S506, the camera control circuit B102 performs SPI communication with the accessory 200. For example, if the accessory 200 is a microphone device, the SPI communication performed in step S506 may include instruction communication for turning the microphone on or off, instruction communication for switching the sound collection directivity of the microphone, instruction communication for switching the equalizer function of the microphone, etc. If the accessory 200 is a strobe device, it may include communication for reading out setting information of the strobe, communication for notifying the setting information of the strobe, etc. When the predetermined SPI communication is completed in step S506, the process returns to step S504, and the camera control circuit B102 performs an event detection operation again.

[0103] In step S508, the camera control circuit B102 performs control on the accessory 200 using the function signal. For example, if the accessory 200 is a microphone device, the camera control circuit B102 starts outputting the audio data clock signal BCLK of FNC1 and the audio data channel signal LRCLK of FNC2, and also takes in the audio data signal SDATA of FNC3. This enables the camera 100 to acquire audio data from the accessory 200. In addition, if the accessory 200 is a strobe device, the camera control circuit B102 controls the strobe light emission synchronization signal XOUT of FNC4 at a predetermined timing. This makes it possible to notify the strobe of a light emission instruction. When the control using the predetermined function signal is completed in step S508, the camera control circuit B102 returns to step S504 and performs the event detection operation again.

[0104] In step S509, the camera control circuit B102 performs a predetermined in-camera control in response to the event detected in step S504. For example, in-camera control executed in step S509 includes control of starting and ending recording of audio data in the recording memory 126 and equalizer processing control for audio data when the accessory 200 is a microphone device. In addition, in case the accessory 200 is a strobe device, it includes photometry control for accumulating and acquiring light emitted by the strobe in the imaging sensor 122 and calculation control of the light emission amount indication value of the strobe. When the predetermined in-camera control is completed in step S509, the process returns to step S504, and the camera control circuit B102 performs an event detection operation again.

[0105] As described above, the camera 100 can control the attached accessory 200 according to the flows in FIGS.

[0106] FIG. 11 is a flowchart showing the operation of the accessory control circuit 201, and shows the processing of the accessory control circuit 201 from when the accessory 200 is attached to the camera 100 until the functions of the accessory 200 start operating.

[0107] First, in step S601, the accessory control circuit 201 waits for the accessory power supply VACC to be turned on from the camera 100. If the accessory 200 does not have a battery 205, power is supplied to the accessory control circuit 201, and the accessory control circuit 201 itself starts operating, so that it can detect that the accessory power supply VACC has been turned on. If the accessory 200 has a battery 205, it can also detect that the accessory power supply VACC has been turned on by configuring the accessory control circuit 201 to monitor the voltage value of the accessory power supply VACC, in addition to the above. If the accessory power supply VACC has been turned on, the process proceeds to step S602.

[0108] In step S602, the accessory control circuit 201 performs a predetermined initial setting. For example, this may include setting the operating frequency of the microcomputer, setting the input / output control port of the microcomputer, initializing the timer function of the microcomputer, and initializing the interrupt function of the microcomputer. When the initial setting in step S602 is completed, the process proceeds to step S603. In step S603, the accessory control circuit 201 controls the communication request signal / WAKE to Lo output, and notifies the camera 100 that the initial setting is completed.

[0109] Next, in step S604, the accessory control circuit 201 responds to the I2C communication from the camera 100 and transmits 15 bytes of accessory information. The accessory information includes the various pieces of information shown in FIG. 4 described above. When the communication in step S604 is completed, the process proceeds to step S605. In step S605, the accessory control circuit 201 controls the communication request signal / WAKE to a Hi output. When the initial communication is completed, the accessory control circuit 201 proceeds to step S606. In step S606, the accessory control circuit 201 detects (determines) whether a predetermined event has occurred. If no event has occurred, the process returns to step S606, and the accessory control circuit 201 performs the detection operation (determination) again. On the other hand, if an event has occurred, the process proceeds to step S607.

[0110] In step S607, the accessory control circuit 201 determines whether the event detected in step S606 is an event that requires SPI communication with the camera 100. If the detected event is an event that requires SPI communication, the process proceeds to step S608. If the detected event is not an event that requires SPI communication, the process proceeds to step S609.

[0111] In step S609, the accessory control circuit 201 determines whether the event detected in step S606 is an event that requires I2C communication with the camera 100. If the detected event is an event that requires I2C communication, the process proceeds to step S610. On the other hand, if the detected event is not an event that requires I2C communication, the process proceeds to step S611.

[0112] In step S611, the accessory control circuit 201 determines whether the event detected in step S606 is an event that requires control using a function signal. If the detected event is an event that requires control using a function signal, the process proceeds to step S612. On the other hand, if the detected event is not an event that requires control using a function signal, the process proceeds to step S613.

[0113] In step S613, the accessory control circuit 201 determines whether the event detected in step S606 is an event that requires notification to the camera 100 by a communication request signal / WAKE. If the detected event is an event that requires notification to the camera 100 by a communication request signal / WAKE, the process proceeds to step S614. On the other hand, if the detected event is not an event that requires notification to the camera 100 by a communication request signal / WAKE, the process proceeds to step S615.

[0114] In step S608, the accessory control circuit 201 performs SPI communication with the camera 100. If the communication request signal / WAKE is in a Lo output state during SPI communication, the communication request signal / WAKE is set to Hi output control after SPI communication. For example, if the accessory 200 is a microphone device, the camera 100 may perform command communication to turn on the microphone operation, command communication to turn off the microphone operation, command communication to switch the microphone's sound collection directivity, command communication to switch the microphone's equalizer function, and the like. If the accessory 200 is a strobe device, the command communication may include communication to read out strobe setting information, communication to notify the strobe of setting information, and the like. When the predetermined SPI communication is completed in step S608, the process returns to step S606, and the accessory control circuit 201 performs an event detection operation again.

[0115] In step S610, the accessory control circuit 201 performs I2C communication with the camera 100. If the communication request signal / WAKE is in a Lo output state when the SPI communication is performed, the communication request signal / WAKE is set to Hi output control after the SPI communication. The I2C communication performed in step S610 may be, for example, communication to read out the cause of the communication request in response to a communication request signal / WAKE signal notification sent from the accessory control circuit 201 to the camera 100. When the predetermined I2C communication is completed in step S610, the process returns to step S606, and the accessory control circuit 201 performs an event detection operation again.

[0116] In step S612, the accessory control circuit 201 controls the camera 100 using the function signals. For example, if the accessory 200 is a microphone device, it receives and controls the audio data clock signal BCLK of FNC1 and the audio data channel signal LRCLK of FNC2 output from the camera 100, and outputs and controls the audio data signal SDATA of FNC3 in synchronization with these signals. Also, if the accessory 200 is a strobe device, it receives and controls the strobe emission synchronization signal XOUT of FNC4 to control strobe emission. When the control using the function signals is completed in step S612, the process returns to step S606, and the accessory control circuit 201 performs an event detection operation again.

[0117] In step S614, the accessory control circuit 201 stores a communication request cause number for the camera 100 corresponding to the event that occurred in step S606 in a volatile memory (not shown) of the accessory 200, and controls the communication request signal / WAKE to be output at Lo. As described with reference to Fig. 7, a unique number is assigned to each communication request cause number for each cause. When the control of the Lo output of the communication request signal / WAKE is completed in step S614, the process returns to step S606, and the accessory control circuit 201 performs the event detection operation again.

[0118] In step S615, the accessory control circuit 201 performs control within the accessory in response to the event that occurred in step S606. Examples of the control within the accessory that is performed in step S615 include control to detect the remaining battery charge when the accessory 200 is configured to have a battery 205, and control to detect the operation switch 212. When the control within the accessory is completed in step S615, the process returns to step S606, and the accessory control circuit 201 performs an event detection operation again.

[0119] As described above, the accessory 200 can perform its functions after being attached to the camera 100 by following the flow of FIG.

[0120] Second embodiment Next, a second embodiment of the present invention will be described. First, the power saving mode of the camera 100 of this embodiment will be described with reference to Fig. 12. Fig. 12 is an example of a setting screen for turning on / off the power saving mode displayed on the camera 100. The power saving mode is a second mode that consumes less power than the first mode (normal mode). In other words, the first mode is a mode in which the power consumption of the camera 100 is not limited, and the second mode is a mode in which the power consumption is limited.

[0121] In this embodiment, the power saving mode is a function that limits functions of the camera 100 that consume a lot of power, thereby lowering the minimum voltage of the battery 111 and increasing the operating time of the camera 100 on the battery 111. Functions that consume a lot of power include, but are not limited to, RAW recording, 8K recording, LCD / VF brightness, an external communication function, and accessories powered by the camera, as shown in FIG.

[0122] In this embodiment, a method for setting the power saving mode on / off on the screen (switching between normal mode and power saving mode) has been described, but the power saving mode may be set on / off depending on the type of battery 111. For example, when the power supply capacity of battery 111 is low, the power saving mode can be set on, and when the power supply capacity of battery 111 is equal to or higher than a certain level, the power saving mode can be set off.

[0123] Next, with reference to Fig. 13(a), accessory control in the power saving mode of the camera 100 will be described. Fig. 13(a) is a flowchart showing the operation of the camera 100, and shows a method of controlling the camera 100 when the accessory 200 is attached in the power saving mode.

[0124] First, in step S701, the camera 100 (camera control circuit A or camera control circuit B as a control means) determines whether or not the accessory 200 is attached. If it is determined that the accessory 200 is attached to the camera 100, the process proceeds to step S702. On the other hand, if it is determined that the accessory 200 is not attached to the camera 100, this flow ends.

[0125] In step S702, the camera 100 makes an information acquisition request to the accessory 200 and acquires information from the accessory 200. Next, in step S703, the camera 100 determines whether the attached accessory 200 is a compatible accessory. If it is determined that the accessory 200 is a compatible accessory, the process proceeds to step S704. On the other hand, if it is determined that the accessory 200 is not a compatible accessory, the process proceeds to step S714.

[0126] In step S704, the camera 100 determines whether or not the state of the camera 100 is the power saving mode (whether or not the camera 100 is set to the power saving mode). If it is determined that the camera 100 is set to the power saving mode, the process proceeds to step S705. On the other hand, if it is determined that the camera 100 is not set to the power saving mode, the process proceeds to step S706. Note that in this embodiment, the normal mode and the power saving mode can be switched by a user operation.

[0127] In step S705, the camera 100 sets the threshold value of the current value that can be supplied from the camera 100 to the accessory 200 to 0 (mA). After the setting is completed, the process proceeds to step S707. In step S706, the camera 100 sets the threshold value of the current value that can be supplied from the camera 100 to the accessory 200 to 450 (mA). After the setting is completed, the process proceeds to step S707.

[0128] In step S707, the camera 100 acquires (receives) information on the accessory 200 shown in FIG. 4 from the accessory 200 to determine whether the accessory 200 is operable. Subsequently, in step S708, the camera 100 determines whether the accessory 200 is operable based on the information on the accessory 200 acquired in step S707. For example, when the accessory 200 is in a state where it operates by self-power (second state), the camera 100 determines that the accessory 200 is operable, and proceeds to step S709. On the other hand, when the accessory 200 is in a state where it operates by bus power (first state), the camera 100 compares the threshold value set in step S705 or step S706 with the required power of D7-0 of address 0x04 in FIG. 4 acquired in step S707. If it is determined that the power can be supplied based on the comparison result, the camera 100 proceeds to step S709. On the other hand, if it is determined that the power cannot be supplied, the camera 100 proceeds to step S710. In this manner, camera 100 can determine whether it is in the first state or the second state, depending on the information received from accessory 200.

[0129] Here, the self-powered state (second state) refers to a state in which power for the accessory 200 is supplied through a battery attached to the accessory 200 or a dedicated AC adapter (a state in which the accessory 200 operates without using power supplied from the camera 100). On the other hand, the bus-powered state (first state) refers to a state in which power is supplied from the camera 100.

[0130] In this embodiment, the comparison of the required power is described as an example of determining whether the power can be supplied, but the determination may be made only based on information indicating whether the accessory 200 is self-powered or bus-powered. The determination of self-powered or bus-powered may be made based on D3-2 at address 0x03 in Fig. 4, or based on accessory switch information received from the accessory 200.

[0131] In step S709, the camera 100 performs control for using the accessory 200, and this flow ends. In step S710, the camera 100 determines whether the reason why the accessory 200 cannot be used is that the camera 100 is in a power saving mode and the accessory 200 cannot be powered by bus power. If it is determined that the reason is the above, the process proceeds to step S711. On the other hand, if it is determined that the reason is not the above, the process proceeds to step S712.

[0132] In step S711, the camera 100 sets a recoverable error as a cause for stopping the power supply to the accessory 200. When the recoverable error is set, the camera 100 can resume the power supply to the accessory 200 if it determines that a specific condition is satisfied. After the setting of the recoverable error is completed, the process proceeds to step S713. The specific condition will be described later with reference to FIG. 13(b).

[0133] In step S712, the camera 100 sets an unrecoverable error as a cause for stopping the power supply to the accessory 200. When an unrecoverable error is set, power is not supplied to the accessory 200 even if a specific condition is met. After the unrecoverable error is set, the process proceeds to step S713. In step S713, the camera 100 stops the power supply to the accessory 200. After the process of stopping the power supply to the accessory 200 is completed, this flow ends.

[0134] In step S714, the camera 100 sets an unrecoverable error as a cause for stopping the power supply to the accessory 200. Then, in step S715, the camera 100 stops the power supply to the accessory 200. After the process of stopping the power supply to the accessory 200 is completed, this flow ends.

[0135] Next, accessory control when the camera 100 transitions from the power saving mode to the normal mode will be described with reference to Fig. 13(b). Fig. 13(b) is a flowchart showing the operation of the camera 100 when the camera 100 transitions from the power saving mode to the normal mode.

[0136] First, in step S801, the camera 100 determines whether or not the accessory 200 is attached. If it is determined that the accessory 200 is attached, the process proceeds to step S802. On the other hand, if it is determined that the accessory 200 is not attached, the process ends.

[0137] In step S802, the camera 100 determines whether the accessory 200 is in a state where the power supply has been stopped by the process of step S713 or step S715 in Fig. 13(a) (whether the power supply is OFF due to an error). If it is determined that the power supply has been stopped due to the above process, the process proceeds to step S803. On the other hand, if it is determined that the power supply has not been stopped due to the above process, the process ends.

[0138] In step S803, the camera 100 determines whether the cause of the stop of the power supply to the accessory 200 is a recoverable error set in step S711 of Fig. 13(a). If it is determined that the cause is a recoverable error, the process proceeds to step S804. On the other hand, if it is determined that the cause is not a recoverable error, the process ends.

[0139] In this way, if the camera 100 has stopped supplying power to the accessory 200 in a state other than when the camera 100 is set to the second mode, the camera 100 will not resume supplying power to the accessory 200 even if it determines that a specific condition is satisfied.

[0140] In step S804, the camera 100 resumes the power supply to the accessory 200. Then, in step S805, the camera 100 performs a connection sequence again with the accessory 200, and transitions the accessory 200 to a usable state. After the connection sequence is completed, this flow ends.

[0141] In the present embodiment, an example has been described in which the accessory 200 is transitioned to a state in which it can be used again when the camera 100 transitions from a power saving mode state to a normal mode state, as a case in which a specific condition for transitioning the accessory 200 to a state in which it can be used again is satisfied. However, the present embodiment is not limited to this. The specific condition may be a condition in which a certain time has elapsed since the accessory 200 transitioned to a stop of power supply (since the start of stopping the power supply), or a user operation for resuming power supply to the accessory 200 has been performed.

[0142] In the present embodiment, the process of stopping the power supply when it is determined that a specific condition is satisfied has been described, but the present invention is not limited to this. A process of limiting the power supply when it is determined that a specific condition is satisfied may be performed. Here, limiting the power supply includes not only stopping the power supply from the camera 100 to the accessory 200, but also supplying a power with lower power consumption than the normal power supplied from the camera 100 to the accessory 200.

[0143] Furthermore, in this embodiment, power supply to the accessory 200 is resumed in step S804 regardless of whether the state of the accessory 200 is the first state or the second state, but whether or not to resume power supply in step S804 may be determined based on the state of the accessory 200. For example, if the accessory 200 is in the second state, power supply to the accessory 200 does not need to be resumed. In such a configuration, assuming that the state of the accessory 200 changes after the camera 100 transitions to the power saving mode, it is sufficient to perform the same process as in step S707 after the camera 100 transitions from the power saving mode to the normal mode, and then proceed to step S804.

[0144] In addition, in the present embodiment, a configuration has been described in which the camera 100 supplies power to the accessory 200, but a configuration may also be adopted in which an intermediate accessory that is attached between the camera 100 and the accessory 200 and that can transition between a power saving mode and a normal mode supplies power to the accessory 200. In such a configuration, the process related to the power supply to the accessory 200 that is performed by the camera 100 in the present embodiment may be performed by the intermediate accessory.

[0145] (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

[0146] According to each embodiment, it is possible to provide an imaging device, a control method for an imaging device, and a program that can improve user convenience while preventing a system shutdown due to a power shortage.

[0147] The disclosure of each embodiment includes the following configurations and methods.

[0148] (Configuration 1) An imaging device to which an accessory can be attached, a control means for controlling the accessory through communication with the accessory; the imaging device has a first mode and a second mode consuming less power than the first mode, The control means When the imaging device is set to the second mode in a first state in which the accessory operates with power supplied from the imaging device, limiting power supply to the accessory; 2. An imaging device comprising: an imaging apparatus that, when it is determined that a specific condition is satisfied, releases the restriction on the power supply to the accessory. (Configuration 2) The control means When the imaging device is set to the second mode in the first state, the power supply to the accessory is stopped; 2. The imaging device according to configuration 1, wherein when it is determined that the specific condition is satisfied, the power supply to the accessory is resumed. (Configuration 3) The imaging device described in configuration 1 or 2, characterized in that the control means determines whether the accessory is in the first state or a second state in which the accessory operates without using the power source supplied from the imaging device. (Configuration 4) 4. The imaging device according to configuration 3, wherein the control means determines whether the imaging device is in the first state or the second state in accordance with information received from the accessory. (Configuration 5) the first mode is a mode in which power consumption of the imaging device is not limited, 5. The imaging device according to any one of configurations 1 to 4, wherein the second mode is a mode in which the power consumption is limited. (Configuration 6) The imaging device according to any one of configurations 1 to 5, wherein the control means does not release the restriction on the power supply to the accessory when it is determined that the specific condition is not satisfied. (Configuration 7) 7. The imaging device according to any one of configurations 1 to 6, wherein the specific condition is a transition of the imaging device from the second mode to the first mode. (Configuration 8) The device further includes an operation detection unit for detecting a user operation, 7. The imaging device according to any one of configurations 1 to 6, wherein the specific condition is a case where the operation detection means detects that the user has performed an operation. (Configuration 9) 7. The imaging device according to any one of configurations 1 to 6, wherein the specific condition is that a certain period of time has elapsed since the start of the restriction on the power supply to the accessory. (Configuration 10) 10. The imaging device according to any one of configurations 1 to 9, wherein the first mode and the second mode can be switched by a user operation. (Configuration 11) 10. The imaging device according to any one of configurations 1 to 9, wherein the first mode and the second mode can be switched depending on the type of power source of the imaging device. (Configuration 12) The imaging device described in any one of configurations 1 to 11, characterized in that the control means does not lift the restriction on the power supply to the accessory even if it determines that the specific condition is satisfied when the accessory restricts the power supply to the accessory in the first state other than when the imaging device is set to the second mode. (Method 1) A method for controlling an imaging device to which an accessory can be attached, comprising the steps of: a communication step of communicating with the accessory; and a control step of controlling the accessory through the communication, the imaging device has a first mode and a second mode consuming less power than the first mode, In the control step, When the imaging device is set to the second mode in a first state in which the accessory operates with power supplied from the imaging device, limiting power supply to the accessory; A method for controlling an imaging device, comprising the steps of: releasing the restriction on the power supply to the accessory when it is determined that a specific condition is satisfied. (Configuration 13) A program for causing a computer to execute the imaging device control method according to Method 1.

[0149] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. [Explanation of symbols]

[0150] 100 Camera (imaging device) 101 Camera control circuit A (control means) 102 Camera control circuit B (control means)

Claims

1. An imaging device to which an accessory can be attached, a control means for controlling the accessory through communication with the accessory; the imaging device has a first mode and a second mode consuming less power than the first mode, The control means When the imaging device is set to the second mode in a first state in which the accessory operates with power supplied from the imaging device, the power supply to the accessory is limited; 2. An imaging device comprising: an imaging apparatus that, when it is determined that a specific condition is satisfied, releases the restriction on the power supply to the accessory.

2. The control means When the imaging device is set to the second mode in the first state, the power supply to the accessory is stopped; 2. The imaging apparatus according to claim 1, wherein when it is determined that the specific condition is satisfied, the power supply to the accessory is resumed.

3. 2 . The imaging device according to claim 1 , wherein the control means determines whether the accessory is in the first state or a second state in which the accessory operates without using the power source supplied from the imaging device.

4. 4. The imaging device according to claim 3, wherein the control means determines whether the imaging device is in the first state or the second state in accordance with information received from the accessory.

5. the first mode is a mode in which power consumption of the imaging device is not limited, 2. The image pickup apparatus according to claim 1, wherein the second mode is a mode in which the power consumption is limited.

6. 2. The imaging device according to claim 1, wherein the control means does not release the restriction on the power supply to the accessory when it is determined that the specific condition is not satisfied.

7. 7. The imaging device according to claim 1, wherein the specific condition is a transition of the imaging device from the second mode to the first mode.

8. 7. The imaging apparatus according to claim 1, wherein the specific condition is a case where a user operation for releasing the restriction on the power supply to the accessory has been performed.

9. 7. The imaging apparatus according to claim 1, wherein the specific condition is that a certain period of time has elapsed since the start of the restriction on the power supply to the accessory.

10. 7. The imaging apparatus according to claim 1, wherein the first mode and the second mode are switchable by a user operation.

11. 7. The imaging device according to claim 1, wherein the first mode and the second mode are switchable in accordance with a type of power source of the imaging device.

12. The imaging device described in any one of claims 1 to 6, characterized in that the control means does not lift the restriction on the power supply to the accessory even if it determines that the specific condition is satisfied when the accessory restricts the power supply to the accessory in the first state other than when the imaging device is set to the second mode.

13. A method for controlling an imaging device to which an accessory can be attached, comprising the steps of: a communication step of communicating with the accessory; and a control step of controlling the accessory through the communication, the imaging device has a first mode and a second mode consuming less power than the first mode, In the control step, When the imaging device is set to the second mode in a first state in which the accessory operates with power supplied from the imaging device, the power supply to the accessory is limited; A method for controlling an imaging device, comprising the steps of: releasing the restriction on the power supply to the accessory when it is determined that a specific condition is satisfied.

14. A program for causing a computer to execute the method for controlling an imaging apparatus according to claim 13.

Citation Information

Patent Citations

  • Imaging device, accessory, imaging device control method, accessory control method, and program

    JP2022188367A

Cited By

  • Electronic apparatus, control method, and program

    JP2025101527A

  • Electronic device, control method, and program

    JP7802051B2