WO2024075505A1 - 電子機器 - Google Patents

電子機器 Download PDF

Info

Publication number
WO2024075505A1
WO2024075505A1 PCT/JP2023/033866 JP2023033866W WO2024075505A1 WO 2024075505 A1 WO2024075505 A1 WO 2024075505A1 JP 2023033866 W JP2023033866 W JP 2023033866W WO 2024075505 A1 WO2024075505 A1 WO 2024075505A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
unit
terminal
specific
terminals
Prior art date
Application number
PCT/JP2023/033866
Other languages
English (en)
French (fr)
Inventor
草太 波多野
Original Assignee
ソニーグループ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ソニーグループ株式会社 filed Critical ソニーグループ株式会社
Publication of WO2024075505A1 publication Critical patent/WO2024075505A1/ja

Links

Images

Definitions

  • This technology relates to an electronic device equipped with a connection section for communicatively connecting an external device, and to an electronic device serving as the external device.
  • USB Universal Serial Bus
  • USB Type-C Alternate Mode, Audio Accessory Mode, and Debug Accessory Mode as standards for expanding functionality.
  • the electronic device that serves as the USB host device must perform detection processing of the external device as the accessory device to be connected and terminal control processing, which is processing to control the connection destination of the terminal within the device, in accordance with the USB standard.
  • the detection processing of the external device in this case is performed as a process to detect the connection of the external device and the device type by signal communication with the external device via a specific terminal called a CC (Communication Channel) terminal.
  • the terminal control processing is performed as a process to control a switching unit (switcher) configured to be able to switch the connection destination within the device of some terminals other than the above CC terminal. Specifically, it is a process to control the switching unit so that some of the above terminals are connected to the connection destination according to the detected device type.
  • the following two configurations can be adopted to realize the above-mentioned detection process and terminal control process.
  • One is a configuration that combines a dedicated component called a "CC IC (Integrated Circuit)" that performs the above-mentioned detection process with a microcomputer that performs terminal control process, and the other is a configuration that uses a microcomputer called a PDC (Power Delivery Controller) that performs both the above-mentioned detection process and terminal control process.
  • CC IC Integrated Circuit
  • PDC Power Delivery Controller
  • Method A A device that operates as a USB device, such as a mouse device connected to a PC (personal computer).
  • Method B A device that is implemented using the USB Type-C function extension standard, such as the alternate mode described above.Method B offers greater freedom in implementing functions than method A.
  • Method B Similar to method A, where signals are exchanged between the accessory device and host device using USB communication; Method B2) Where signals are exchanged between the accessory device and host device using CC communication; Method B3) Where signals are exchanged between the accessory device and host device by uniquely assigning electrical signals to terminals, without using standard-defined communication means such as USB or CC; Method B4) Where signals are exchanged between the accessory device and host device by combining USB communication, CC communication and uniquely defined electrical signal assignments.
  • Patent Document 1 can be cited as an example of related prior art.
  • the above method B2 is implemented to improve the response speed to operation input from an accessory device that complies with the USB standard (alternate mode). Specifically, after negotiation using the CC terminal in the USB Type-C (operation defined by the USB standard), part of the electrical signal connection of the USB Type-C terminal is switched to a connection for the function of transmitting operations of the accessory device. By allocating a dedicated signal line to signals that require responsiveness, the response speed to operation input from the accessory device is improved.
  • electronic devices may transition to a power-saving state when an accessory device is connected.
  • an accessory device may connect to a power-saving state.
  • many current accessory devices for digital cameras use dedicated terminals rather than USB terminals, and it is possible to return an electronic device from a power-saving state to a non-power-saving state by inputting an operation into the accessory device. Accessory specifications that make such return operations impossible could confuse users.
  • the switching control unit In order to meet the demands listed above, it is necessary to be able to detect the status of accessory devices even when the electronic device is in a power-saving state. To achieve this, in conventional electronic devices, it was necessary to maintain the switching control unit in an operating state rather than putting it into a hibernating state. As described above, the switching control unit has a microcomputer and consumes relatively large amounts of power, so it is difficult to improve the power saving effect of the electronic device if the switching control unit is left operating.
  • This technology was developed in consideration of the above issues, and aims to achieve both reduced power consumption by electronic devices and improved usability of external devices by making it possible to detect the status of accessory devices (specific external devices) even when the microcontroller in the switching control unit is in a hibernation state.
  • An electronic device of a first aspect of the present technology includes a connection unit having a plurality of terminals for electrically connecting an external device, a switching unit capable of switching a connection destination within the device of some of the plurality of terminals, a switching control unit configured to detect a device type of the external device by signal communication with the external device through a specified terminal other than the some of the terminals in the connection unit and control the switching unit so that the some of the terminals are connected to a connection destination according to the detected device type, a current conducting unit configured to connect as a connection destination of the specific terminal and to conduct electricity to the resistive element via the specific terminal and the specific connected terminal when the external device is a specific external device having a resistive element connected to a specific terminal among the some of the terminals in the connection unit, and an electronic circuit unit configured to detect a state of the specific external device based on a potential detection result of the specific terminal.
  • the electronic circuit unit can detect the state of the specific external device. In other words, even if a user operation is performed on the specific external device or the specific external device is removed in the power-saving state, it is possible to detect them.
  • an electronic device of a second aspect of the present technology is an electronic device electrically connected to a first electronic device via the connection part, the electronic device comprising: a connection part having a plurality of terminals for electrically connecting an external device; a switching part capable of switching a connection destination within the device of some of the plurality of terminals; and a switching control part configured to detect a device type of the external device by signal communication with the external device via a specified terminal other than the some of the terminals in the connection part, and to control the switching part so that the some of the terminals are connected to a connection destination according to the detected device type.
  • the electronic device comprises a specific connected terminal connected to a specific terminal among the some of the terminals in the connection part, and a resistive element connected to the specific connected terminal, and when electrically connected to the first electronic device via the connection part, electricity is passed from the first electronic device to the resistive element via the specific terminal and the specific connected terminal.
  • FIG. 1 is a block diagram illustrating a configuration example of an electronic device system according to a first embodiment of the present technology.
  • FIG. 2 is a diagram showing signal assignment for each terminal in the initial state (standard state).
  • 11 is an explanatory diagram of connection destination assignment by a switching unit to some terminals in an initial state (standard state).
  • FIG. 11 is a diagram illustrating an example of the assignment of connection destinations of some terminals by a switching unit when a connected external device is a specific external device;
  • FIG. 11 is a diagram showing an example of a configuration for detecting the state of a specific external device in a power saving state;
  • 11 is a flowchart illustrating an example of a processing procedure executed by a terminal control and communication unit in the first embodiment.
  • FIG. 5 is a flowchart illustrating an example of a processing procedure executed by an electronic circuit unit in the first embodiment.
  • 5 is a flowchart illustrating an example of a processing procedure executed by a system control unit in the first embodiment.
  • FIG. 11 is a block diagram illustrating an example of the configuration of an electronic device system according to a second embodiment.
  • 13 is a diagram showing a specific example of a wiring pattern in an operation unit included in a specific external device and a wiring pattern for a pull-up circuit in an electronic device in the second embodiment.
  • FIG. FIG. 13 is an explanatory diagram of an electronic device system as a modified example of the second embodiment.
  • FIG. 13 is an explanatory diagram of an electronic device system as another modified example of the second embodiment.
  • FIG. 13 is a block diagram illustrating a configuration example of an electronic device system as a modified example.
  • FIG. 13 is an explanatory diagram of an example in which a USB terminal portion is connected facing down.
  • 13 is an explanatory diagram of another example in which the USB terminal portion is connected facing down.
  • FIG. 1 is a block diagram for explaining an example of the configuration of an electronic device system including an electronic device 1 according to a first embodiment and an electronic device 5 as an external accessory device attached (connected) to the electronic device 1.
  • the electronic device 1 is configured as an imaging device equipped with an imaging unit 11 that obtains an image of a subject.
  • the electronic device 1 is equipped with a USB (Universal Serial Bus) connection unit 10 as a connection unit for electrically connecting the electronic device 5 as an external accessory device.
  • USB Universal Serial Bus
  • the electronic device 1 is configured to be able to perform data communication with the external device according to the USB Type-C standard, and a receptacle-shaped connector of the USB Type-C standard is used as the USB connection unit 10.
  • the USB connection unit 10 has a terminal arrangement corresponding to the USB Type-C standard.
  • electronic device 5 which functions as an external accessory device of electronic device 1, is assumed to be an accessory device having a shutter button.
  • electronic device 5 in this example functions as a remote release device, is connected to electronic device 1 via USB connection unit 10, and has the function of transmitting an operation signal corresponding to the operation of the shutter button to electronic device 1.
  • the electronic device 1 includes, in addition to the above-mentioned imaging unit 11 and USB connection unit 10, an image signal processing unit 12, a memory unit 13, a display unit 14, a system control unit 15, a bus 16, an operation unit 17, a switching unit 18, a terminal control/communication unit 19, a battery 20, a power supply control unit 21, and an accessory device compatible processing unit 22.
  • the imaging unit 11 , the image signal processing unit 12 , the memory unit 13 , the display unit 14 , and the system control unit 15 are capable of performing data communication with each other via a bus 16 .
  • the imaging unit 11 is configured with an imaging optical system in which various optical elements for imaging, such as a focus lens, are arranged, and an image sensor, such as a CCD (Charge Coupled Device) sensor or a CMOS (Complementary Metal Oxide Semiconductor) sensor, that receives light incident through the imaging optical system, captures an image of a subject, and generates and outputs a captured image signal (captured image data) in the form of a digital signal.
  • an imaging optical system in which various optical elements for imaging, such as a focus lens, are arranged, and an image sensor, such as a CCD (Charge Coupled Device) sensor or a CMOS (Complementary Metal Oxide Semiconductor) sensor, that receives light incident through the imaging optical system, captures an image of a subject, and generates and outputs a captured image signal (captured image data) in the form of a digital signal.
  • CCD Charge Coupled Device
  • CMOS Complementary Metal Oxide Semiconductor
  • the image signal processing unit 12 performs predetermined image signal processing on the captured image data obtained by the imaging unit 11.
  • the system control unit 15 performs exposure control and focus adjustment control of the imaging optical system based on the image signal processing results by the image signal processing unit 12. This allows TTL (through-the-lens) type AF (autofocus) processing and AE (autoexposure) processing to be performed.
  • the image signal processing unit 12 also performs TTL type AWB (auto white balance) processing and the like on the captured image data generated by the imaging unit 11.
  • the memory unit 13 represents a non-volatile storage device that can be used by the system control unit 15 and the image signal processing unit 12 connected via the bus 16.
  • the memory unit 13 can be used as a memory for recording image data captured by the imaging unit 11.
  • the display unit 14 is composed of a panel-type display device such as a liquid crystal panel or an organic EL panel, and is capable of displaying images. Based on instructions from the system control unit 15, the display unit 14 displays the captured image data obtained by the imaging unit 11, GUI images constituting a GUI (Graphical User Interface), and the like.
  • GUI Graphic User Interface
  • the system control unit 15 is configured with a microcomputer having, for example, a CPU (Central Processing Unit), ROM (Read Only Memory), RAM (Random Access Memory), etc., and the CPU reads out programs stored in a specific storage device such as the ROM or memory unit 13 into the RAM and executes them, thereby performing overall control of the electronic device 1.
  • a CPU Central Processing Unit
  • ROM Read Only Memory
  • RAM Random Access Memory
  • the system control unit 15 has a USB communication unit 151.
  • the USB communication unit 151 performs data communication with an external device connected via the USB connection unit 10 in accordance with the USB standard (including the USB 3.1 standard, the USB Type-C standard, etc.).
  • the system control unit 15 performs a process of switching the power consumption mode of the electronic device 1 between a power saving mode and a non-power saving mode.
  • the power saving mode (power saving state) referred to here is a mode that is generally recognized by the user as an "OFF" state, and is a mode in which all parts of the electronic device 1 except for some blocks related to power control are put into a stopped state (sleep state).
  • blocks that consume relatively large amounts of power such as the system control unit 15 and the terminal control and communication unit 19 described below, are included in the blocks that are put into sleep mode.
  • the non-power saving mode is a mode in which at least the system control unit 15 and the terminal control and communication unit 19 are released from the sleep state (i.e., put into an activated state).
  • the system control unit 15 performs a process of transitioning the electronic device 1 to a power saving mode in response to the establishment of a predetermined condition, such as an operation of turning off the power switch of the electronic device 1 body, or a predetermined period of time has elapsed without operation of the electronic device 1 with the power switch in the ON state, etc.
  • the system control unit 15 also performs a process of transitioning the electronic device 1 to a non-power saving mode in response to the establishment of a predetermined condition, such as an operation of turning on the power switch, etc.
  • the operation unit 17 has various buttons, switches, dials, and other operators that allow the user to input operations to the electronic device 1, and outputs an operation signal based on the user's operation to the system control unit 15.
  • the operation unit 17 has a shutter button 17a as one of the operators.
  • the shutter button 17a is configured to be capable of being pressed halfway and fully.
  • the operation unit 17 outputs a first shutter switch signal S1, which is an image capture preparation instruction signal, to the system control unit 15.
  • the system control unit 15 starts AF processing and AE processing based on this first shutter switch signal S1. It also causes the image signal processing unit 12 to start AWB processing, etc.
  • the operation unit 17 outputs a second shutter switch signal S2, which is an image capture instruction signal, to the system control unit 15. Based on the second shutter switch signal S2, the system control unit 15 starts an image capture process for causing the image capture unit 11 to generate captured image data.
  • the captured image data generated by the image capture unit 11 is processed by the image signal processing unit 12 and then written (recorded) in, for example, the memory unit 13.
  • the battery 20 is, for example, a secondary battery such as a NiCd battery, a NiMH battery, or a Li battery.
  • the power supply control unit 21 has a detection circuit for the battery 20, a DC-DC converter, etc., and performs processes such as judging whether the battery 20 is connected to the electronic device 1 and detecting the remaining charge of the battery 20.
  • the power supply control unit 21 supplies power from the battery 20 to each component of the electronic device 1.
  • an external device connected via the USB connection unit 10 is a device capable of supplying power to the electronic device 1
  • the power supply control unit 21 can supply power supplied from the external device to each component of the electronic device 1.
  • the power supply control unit 21 can also charge the battery 20 as a secondary battery.
  • the USB connection unit 10 is configured as a receptacle-shaped connector that conforms to the USB Type-C standard, and has multiple terminals A1 to A12 and terminals B1 to B12.
  • the USB Type-C standard in the signal allocation state shown in FIG. 2, data communication can be performed with an external device conforming to the USB Type-C standard.
  • the USB Type-C standard requires that even when no external device is connected to the USB connection unit 10 of the electronic device 1, the signal assignments of the terminals A1 to A12 and terminals B1 to B12 of the USB connection unit 10 be in the standard assignment state as shown in FIG. 2.
  • electronic device 1 waits for an external device to be connected with the signal allocation state of terminals A1 to A12 and terminals B1 to B12 set to the standard state shown in Figure 2.
  • the switching unit 18 is configured as a switcher (multiplexer) capable of switching the connection destinations within the device of some of the multiple terminals in the USB connection unit 10.
  • the "some terminals" are terminals A6 (D+), A7 (D-), B6 (D+), B7 (D-), A2 (TX1+), A3 (TX1-), B2 (TX2+), B3 (TX2-), A11 (RX2+), A10 (RX2-), B11 (RX1+), and B10 (RX1-), and therefore the connection destination assignment (signal assignment) within the device of these terminals can be changed.
  • terminals A1 (GND), A12 (GND), B1 (GND), B12 (GND), A4 (VBUS), A9 (VBUS), B4 (VBUS), and B9 (VBUS) are fixedly connected to the power supply control unit 21 as power supply-related terminals.
  • terminals A5 and B5 are the above-mentioned CC (Communication Channel) terminals, and are used as terminals for signals for connection of an external device and processing for detecting the device type of the connected external device, and as terminals for supplying power to the external device.
  • CC1, CC2 may function as "communication, power supply to external device” or as "power supply to external device, communication”.
  • these terminals A5 and B5 are fixedly connected to the terminal control and communication unit 19.
  • the terminal control and communication unit 19 detects the device type of the external device by signal communication with the external device via a predetermined terminal other than the above-mentioned "some terminals" in the USB connection unit 10 (i.e., terminals A5 and B5 as CC terminals in this example), and stores information indicating the result in memory 25a provided in the logic circuit unit 25 in the accessory device processing unit 22. Based on the information stored in the memory 25a, the logic circuit unit 25 controls the switching unit 18 so that the "some terminals" are connected to a connection destination according to the detected device type.
  • the terminal control and communication unit 19 and the logic circuit unit 25 together function as the above-mentioned "switching control unit.”
  • a specific configuration example of the switching control unit can be a combination of a dedicated part called a "CC IC (Integrated Circuit)" that performs the above-mentioned device type detection process and a microcomputer that performs terminal control processing as a control process of the switching unit 18 according to the device type, or a configuration as a microcomputer called a PDC (Power Delivery Controller) that performs both the above-mentioned detection process and terminal control process.
  • CC IC Integrated Circuit
  • a configuration including an external circuit such as an accessory device corresponding processing unit 22 can be adopted to complement the functions of the microcomputer or to achieve added value such as reducing power consumption.
  • the terminal control and communication unit 19 is configured as a microcomputer as the latter PDC (however, it has the function of terminal control processing of the switching unit 18 but does not execute it), and an example is shown in which the accessory device corresponding processing unit 22 is provided as an external circuit for power saving.
  • the terminal control and communication unit 19 can output information indicating the device type of the external device detected in the above detection process to the system control unit 15 as necessary. Note that the terminal control and communication unit 19 can also be configured to be able to control the terminal connection state by the switching unit 18 based on instructions from the system control unit 15.
  • FIG. 3 is an explanatory diagram of signal allocation (connection destination allocation) by the switching unit 18 for some terminals (A6, A7, B6, B7, A2, A3, B2, B3, A11, A10, B11, B10). Specifically, FIG. 3 illustrates an example of the connection destination assignment of some terminals by the switching unit 18 corresponding to the signal assignment in the above-mentioned initial state (standard state).
  • the accessory device compatible processing unit 22 is a part configured to be able to detect the status of the electronic device 5 when the external device electrically connected via the USB connection unit 10 is a specific external device (hereinafter, sometimes referred to as the "target device” or “target device”) as the electronic device 5, even when the electronic device 1 is in a power saving mode and the terminal control/communication unit 19 is in a suspended state.
  • the accessory device processing unit 22 includes a pull-up circuit 23, a potential monitoring unit 24, and a logic circuit unit 25, the details of which will be described later.
  • the electronic device 5 includes a USB connection unit 50 , a device type definition unit 51 , and an operation unit 52 .
  • the USB connection unit 50 is a plug-shaped connector conforming to the USB Type-C standard, and has at least terminals A5 and B5 as CC terminals, as well as terminals A8 (SBU1) and B8 (SBU2). These terminals A5, B5, A8, and B8 are arranged so as to be electrically connected to the terminals A5, B5, A8, and B8 on the electronic device 1 side when the plug is inserted (when attached to the electronic device 1 side).
  • the device type definition unit 51 is a portion for defining the device type of the electronic device 5, and in this example is made up of a resistor (resistance element) or the like. This resistance element is connected to terminals A5 and B5 of the USB connection unit 50. In this example, terminals A4 and A5 of the electronic device 5 are connected to GND via a resistance element with a resistance value of 0 (i.e., short-circuited to GND). In this example, when an external device is connected via the USB connection unit 10, the terminal control and communication unit 19 in the electronic device 1 passes a detection current for detecting the type of device to the external device via terminals A5 and B5.
  • a potential corresponding to the resistance value of the resistive element in the device type determination unit 51 appears as, for example, an inter-terminal potential between terminals A5 and B5 on the side of the electronic device 1. Based on the detection result of this potential, the terminal control and communication unit 19 can detect the device type of the connected external device.
  • the operation unit 52 has operators such as buttons provided on the electronic device 5, and is configured to be able to output operation signals corresponding to user operations to the electronic device 1 side via terminals A8 and B8.
  • the electronic device 5 in this embodiment is configured as a remote release device, and the operation unit 52 is provided with a shutter button 52a.
  • the shutter button 52a can be pressed halfway or fully, like the shutter button 17a.
  • the operation unit 52 is configured to output a signal corresponding to the first shutter switch signal S1 when the shutter button 52a is pressed halfway, and a signal corresponding to the second shutter switch signal S2 when the shutter button 52a is pressed fully, to the electronic device 1 via terminals A8 and B8.
  • the operation unit 52 is also provided with a power saving return button 52b for performing an operation to return the electronic device 1 from the power saving mode to a non-power saving mode, in addition to the above-mentioned shutter button 52a.
  • the operation unit 52 is configured to be able to output a return instruction signal for returning the electronic device 1 to the non-power saving mode to the electronic device 1 side via terminals A8 and B8.
  • the assignment of connection destinations of some of the terminals by the switching unit 18 is controlled as shown in Figure 4. Specifically, in this case, the switching unit 18 is controlled so that the connection destination of the terminals A8 and B8 among the partial terminals is the pull-up circuit 23 in the accessory device compatible processing unit 22. In this case, the terminals among the partial terminals other than the terminals A8 and B8 are not connected to any connection destination.
  • the electronic device 1 of the present embodiment has a function of switching the electronic device 1 from a non-power saving mode to a power saving mode, but in this case, there may be a case where the electronic device 1 transitions to the power saving mode with an accessory device connected. As described above, in such a case, there is a demand to return the electronic device 1 from the power saving mode to the non-power saving mode by inputting an operation to the accessory device.
  • the switching control unit In order to meet the demands listed above, it is necessary to be able to detect the status of accessory devices even when the electronic device is in a power-saving state. To achieve this, in conventional electronic devices, it was necessary to keep the terminal control and communication unit 19 (switching control unit) in an operating state rather than putting it into a hibernating state. As described above, the switching control unit has a microcomputer and consumes relatively large amounts of power, so it is difficult to improve the power saving effect of the electronic device if the microcomputer of the switching control unit is left operating.
  • This embodiment has been made in consideration of the above circumstances, and aims to achieve both reduced power consumption of the electronic device 5 and improved usability of the external device by making it possible to detect the state of the accessory device (electronic device 5) even when the microcomputer of the switching control unit is in a suspended state.
  • the state of the electronic device 5 can be detected by detecting the operation state of the operation unit 52 in the electronic device 5, and by detecting the state related to the insertion and removal of the electronic device 5, i.e., whether the electronic device 5 has been removed from the electronic device 1.
  • FIG. 5 shows an example of a connection form of each component of the pull-up circuit 23 and the potential monitoring section 24 in the accessory device processing section 22 of the electronic device 1, and the operation section 52 of the electronic device 5.
  • the operation unit 52 includes a resistor Rr and a variable resistor circuit 52x.
  • the resistor Rr is inserted between the terminals A8 and B8 of the USB connection unit 50.
  • the terminals A8 and B8 of the USB connection unit 50 are connected to the pull-up circuit 23 via the terminals A8 and B8 of the USB connection unit 10 of the electronic device 1 and the switching unit 18.
  • the terminal A8 of the USB connection unit 50 is connected to the positive terminal of the pull-up circuit 23 as shown in the figure, and the terminal B8 of the USB connection unit 50 is connected to the negative terminal of the pull-up circuit 23.
  • the pull-up circuit 23 receives power from the power source even when the electronic device 1 is in the power saving mode, and energizes the resistor Rr based on the power supplied from the power source. As a result, a potential corresponding to the resistance value of the resistor Rr is generated between the terminals A8 and B8 of the USB connection unit 10.
  • the potential monitoring unit 24 is configured as, for example, an ADC (Analog to Digital Converter) that detects the potential generated between the terminal A8 and the terminal B8 in this manner.
  • the variable resistance circuit 52x is configured to change a combined resistance value with the resistor Rr in conjunction with a user operation.
  • the variable resistance circuit 52x is configured by connecting a series circuit of a switch SW1 and a resistor R1, a series circuit of a switch SW2 and a resistor R2, and a series circuit of a switch SW3 and a resistor R3 in parallel to the resistor Rr.
  • the switch SW1 is a switch that is turned OFF when the pressing amount of the shutter button 52a in the operation unit 52 is less than the pressing amount corresponding to a half-press operation, and turned ON when the pressing amount is equal to or greater than the pressing amount corresponding to a half-press operation.
  • the switch SW2 is a switch that is turned OFF when the pressing amount of the shutter button 52a is less than the pressing amount corresponding to a full press operation, and turned ON when the pressing amount is equal to or greater than the pressing amount corresponding to a full press operation.
  • the switch SW3 is a switch that is turned OFF when the power saving return button B52b in the operation unit 52 is not operated, and turned ON when it is operated.
  • a signal indicating the potential detection result by the potential monitoring unit 24 (digital sampling value of the potential: hereinafter referred to as the "potential detection result signal") is supplied to a specified signal input port of the system control unit 15 and also to the logic circuit unit 25 in the accessory device processing unit 22.
  • the system control unit 15 performs processing according to a user operation on the operation unit 52 of the electronic device 5 based on a potential detection result signal from the potential monitoring unit 24 . Specifically, the system control unit 15 performs processing according to the first shutter switch signal S1 and the second shutter switch signal S2 described above in accordance with the value of the potential detection result signal in the non-power saving mode. Specifically, the system control unit 15 performs processing according to the first shutter switch signal S1 described above in accordance with the value of the potential detection result signal becoming a value corresponding to half-pressing the shutter button 52a in the non-power saving mode. Also, the system control unit 15 performs processing according to the second shutter switch signal S2 described above in accordance with the value of the potential detection result signal becoming a value corresponding to full-pressing the shutter button 52a in the non-power saving mode.
  • the system control unit 15 performs processing to transition to the non-power saving mode in response to detecting that the value of the potential detection result signal is a value that satisfies a predetermined condition (i.e., the detected potentials of terminals A8 and B8 satisfy the predetermined potential condition). Specifically, in the power saving mode, the system control unit 15 performs processing to transition to the non-power saving mode in response to detecting that the value of the potential detection result signal is a value that corresponds to the operation of the power saving return button 52b.
  • a predetermined condition i.e., the detected potentials of terminals A8 and B8 satisfy the predetermined potential condition
  • the electronic device 5 acting as a specific accessory device can return from a power-saving state to a non-power-saving state in response to a user operation, realizing the same specifications as conventional accessory devices, and achieving both reduced power consumption by the electronic device 5 and improved usability of the external device.
  • the logic circuit unit 25 detects the removal of the electronic device 5 based on the potential detection result signal from the potential monitoring unit 24. This removal detection can be performed based on the difference between the potential (potential when resistor Rr acts) that occurs between terminals A8 and B8 when the electronic device 5 is connected and the potential (potential when resistor Rr does not act) that occurs between terminals A8 and B8 when the electronic device 5 is removed.
  • the logic circuit unit 25 detects the removal of the electronic device 5 based on the potential detection result signal when the electronic device 1 is in the power saving mode, and in response to the removal detection, controls the switching unit 18 so that the connection state of "some terminals" by the switching unit 18 becomes the non-attached connection state specified by the standard as the connection state when the external device is not attached. Specifically, it controls the switching unit 18 so that the connection state of some terminals by the switching unit 18 becomes the initial state (standard state) connection state shown in Figure 3 above, which is specified by the standard as the connection state when the external device is not attached.
  • the switching unit 18 controls the connection state of some of the terminals to the non-attached connection state defined by the standard, i.e., a connection state in which power can be supplied from the USB charging adapter. Therefore, when the user wants to disconnect the electronic device 5 while the electronic device 1 is in a power-saving state and then connect the USB charging adapter to charge the electronic device 1, the user does not need to operate the electronic device 1 to return it to a non-power-saving state. In other words, it is possible to smoothly charge the electronic device 1 using the USB charging adapter after disconnecting the electronic device 5 while the electronic device 1 is in a power-saving state.
  • the accessory device processing unit 22 includes a memory 25a that can be accessed by the terminal control and communication unit 19.
  • the memory 25a is a memory provided in the logic circuit unit 25, but the memory 25a can also be provided outside the logic circuit unit 25.
  • the terminal control/communication unit 19 performs a process of storing identification information of the detected device type in memory 25a in response to detecting the device type of an external device attached to the electronic device 1 through the detection process described above. Then, the logic circuit unit 25 controls the terminal connection state of the switching unit 18 based on the identification information stored in the memory 25a. Specifically, when the terminal control and communication unit 19 performs a detection process and stores new identification information in the memory 25a, the logic circuit unit 25 in this example controls the terminal connection state of the switching unit 18 to a connection state corresponding to the device type indicated by the identification information stored in the memory 25a.
  • the logic circuit unit 25 controls the terminal connection state of the switching unit 18 to a connection state corresponding to the electronic device 5 (see FIG. 4) based on the identification information.
  • the terminal control and communication unit 19, which becomes inactive in the power saving state does not control the switching unit 18, and the logic circuit unit 25 (which does not become inactive in the power saving state) controls the switching unit 18 according to the identification information stored in the memory 25a by the terminal control and communication unit 19, when the power saving state is transitioned to while the electronic device 5 is connected and then the non-power saving state is restored, it is possible to maintain the terminal connection state in the switching unit 18 in the terminal connection state (FIG. 4) corresponding to the device type of the electronic device 5. Therefore, when the power saving state is restored from the power saving state to the non-power saving state while the electronic device 5 is connected, the operation input signal from the electronic device 5 can be input quickly, and the usability of the external device can be improved.
  • FIG. 6 shows an example of a processing procedure executed by the terminal control and communication unit 19
  • Fig. 7 shows an example of a processing procedure executed by the logic circuit unit 25
  • Fig. 8 shows an example of a processing procedure executed by the system control unit 15.
  • the terminal control and communication unit 19 starts the process shown in FIG. 6 in response to starting up from a hibernation state.
  • step S101 terminal control and communication unit 19 waits until it detects that an external device has been attached, that is, that an external device has been electrically connected via USB connection unit 10.
  • the terminal control and communication unit 19 proceeds to step S102 and performs a process of detecting the type of the attached device based on the result of signal communication with the external device via the terminals A5 and B5 serving as the CC terminals described above.
  • step S103 the terminal control and communication unit 19 performs a process of storing the identification information of the detected device type in the memory 25a, and then ends the series of processes shown in FIG. 6.
  • FIG. 7A shows a process for implementing control of the switching unit 18 according to the device type.
  • the logic circuit unit 25 executes a process of waiting until the stored information in the memory 25a changes.
  • the terminal control and communication unit 19 executes a process of detecting the attached external device and waits until the identification information of the external device is newly stored in the memory 25a (see S103).
  • step S202 controls the switching unit 18 so that the connection state corresponds to the identification information stored in memory 25a, and ends the series of processes shown in FIG. 7A.
  • FIG. 7B shows a process related to removal detection.
  • step S210 the logic circuit unit 25 performs a process of waiting until the identification information of the target device (electronic device 5) is stored in the memory 25a. If it is determined that the identification information of the target device is stored in the memory 25a, the logic circuit unit 25 proceeds to step S211 and waits until a change in potential at the time of removal is detected.
  • removal of the electronic device 5 can be detected based on the value of the potential detection result signal by the potential monitoring unit 24.
  • step S211 If it is determined in step S211 that a change in potential at the time of removal has been detected, the logic circuit unit 25 proceeds to step S212 and performs processing to control the switching unit 18 so that the connection state corresponds to the non-insertion state.
  • the switching unit 18 is controlled so that the connection assignment for "some terminals" in the switching unit 18 corresponds to the non-insertion state according to the USB standard as shown in Figure 3 above.
  • the logic circuit unit 25 completes the series of processes shown in FIG. 7B after executing the process of step S212.
  • FIG. 8A shows the process in the non-power saving mode
  • FIG. 8B shows the process in the power saving mode
  • the system control unit 15 determines the input signal type of the target input port in step S301. Specifically, it determines whether the input signal value of the input port (target input port) to which the potential detection result signal from the potential monitoring unit 24 is input is a value corresponding to a half-press operation (S1) of the shutter button 52a or a value corresponding to a full-press operation (S2) of the shutter button 52a.
  • S1 half-press operation
  • S2 full-press operation
  • the system control unit 15 performs processing according to the first shutter switch signal S1 described above as S1 processing of step S302, and then ends the series of processing shown in Figure 8A.
  • the system control unit 15 performs processing according to the second shutter switch signal S2 described above as the S2 processing of step S303, and then ends the series of processing shown in Figure 8A.
  • the system control unit 15 waits in step S310 in FIG. 8B until a return signal is input to the target input port, that is, until a potential detection result signal having a value corresponding to the operation of the power saving return button 52b is input, and if a return signal is input, in step S311, a transition process to non-power saving mode is performed, and the series of processes shown in FIG. 8B is terminated.
  • FIG. 9 is a block diagram for explaining an example of the configuration of an electronic device system according to the second embodiment.
  • parts that are similar to parts that have already been described will be given the same reference numerals and description thereof will be omitted.
  • the electronic device system of the second embodiment is provided with electronic device 1A instead of electronic device 1, and electronic device 5A instead of electronic device 5.
  • the electronic device 5A serving as the accessory device is provided with an operation unit 52A instead of the operation unit 52, the device type definition unit 51 is omitted, and an operation unit 53, a signal generator 54, a terminal control and communication unit 55, a system control unit 56, and a power supply circuit 57 are provided.
  • the electronic device 1A is provided with a system control unit 15A instead of the system control unit 15, and with an accessory device corresponding processing unit 22A instead of the accessory device corresponding processing unit 22.
  • System control unit 15A differs from system control unit 15 in that it includes an ADC 152 and a signal input port 153 .
  • imaging unit 11, image signal processing unit 12, memory unit 13, display unit 14, bus 16, operation unit 17, and battery 20 are not shown in FIG. 9 for electronic device 1A, but electronic device 1A of the second embodiment also has these units in the same way as electronic device 1.
  • electronic device 1A has the same configuration as electronic device 1, as an imaging device. This also applies to electronic device 1B shown in FIG. 11 below.
  • operation unit 52A has a shutter button 52a and a power saving return button 52b, just like operation unit 52, but the internal wiring is different from that of operation unit 52 because the connection to pull-up circuit 23 is made with a single line that goes only through terminal A8.
  • an accessory device compatible processing unit 22A is provided on the electronic device 1A side instead of the accessory device compatible processing unit 22.
  • the accessory device compatible processing unit 22A has a different wiring configuration to the pull-up circuit 23 compared to the accessory device compatible processing unit 22.
  • FIG. 10 shows a specific example of a wiring pattern in the operation unit 52A and a wiring pattern for the pull-up circuit 23 in the electronic device 1A.
  • the positive terminal of the pull-up circuit 23 is connected to the terminal A8 of the USB connection unit 10 in the same manner as in the first embodiment, but as shown in the figure, in the operation unit 52A, a resistor Rr is inserted between the terminal A8 and the earth.
  • the earths of the electronic device 1A and the electronic device 5A are connected via the GND pins of the USB connection units 10 and 50.
  • the potential monitoring unit 24 detects the potential of the terminal A8.
  • an operation unit 53 in the electronic device 5A has operators other than the shutter button 52a and the power saving return button 52b in the operation unit 52A, and generates an operation signal in response to the operation of the operators.
  • Examples of the operators that the operation unit 53 has include a button, a dial, a switch, a touch sensor, etc.
  • an operation signal from the operation unit 53 is transmitted to the electronic device 1A via terminals B6 and B7, which belong to "some terminals" among terminals A1 to A12 and terminals B1 to B12.
  • terminals B6 and B7 in the USB connection unit 10 are connected to a first input port (IN1) and a second input port (IN2) of an ADC 152 in the system control unit 15A, and the operation signal from the operation unit 53 is digitally sampled by the ADC 152 and used for processing in the system control unit 15A.
  • the terminal control and communication unit 55 in the electronic device 5A is a device having a terminal control processing function similar to the terminal control and communication unit 19, and is constituted by, for example, a PDC.
  • the detection process of the device type of the electronic device 5A by the terminal control and communication unit 19 is performed based on the result of signal communication between the terminal control and communication unit 19 and the terminal control and communication unit 55 via terminals A5 and B5 as CC terminals.
  • the system control unit 56 like the system control unit 15, is configured with a microcomputer and performs overall control of the electronic device 5A.
  • data communication between the system control unit 56 and the system control unit 15A included in the electronic device 1A can be performed as USB data communication via terminal A6 (D+) and terminal A7 (D-).
  • terminals A6 and A7 of the USB connection unit 10 are connected to the "D+" port and the "D-" port of the USB communication unit 151 of the system control unit 15A.
  • the signal generator 54 generates a predetermined signal other than the operation signal.
  • Specific examples of the signal generator 54 include a GNSS (Global Navigation Satellite System) sensor that generates a detection signal for the current position, a direction sensor that generates a direction signal that indicates the direction, and a signal generator that generates a signal to synchronize the exposure timing of each frame of a video.
  • GNSS Global Navigation Satellite System
  • the electronic device 5A may take the form of a device that is inserted into a USB cable that connects an imaging device different from the electronic device 1A to the electronic device 1A via USB.
  • the signal generated by the signal generator 54 is input to the electronic device 1A via terminal B8.
  • terminal B8 is connected to a signal input port in the system control unit 15A.
  • the electronic device 5A is provided with a power supply circuit 57 for supplying power to the operation unit 53, the signal generator 54, the terminal control and communication unit 55, and the system control unit 56.
  • power is supplied to this power supply circuit 57 from the power supply control unit 21 of the electronic device 1A via some or all of the terminals A1, A12, B1, B12, A4, A9, B4, and B9, which are power-related terminals other than the "some terminals".
  • the terminal control and communication unit 19, logic circuit unit 25, and system control unit 15A in the electronic device 1A execute the processes shown in Figures 6, 7, and 8, respectively, as in the first embodiment. In other words, this allows the electronic device 1A of the second embodiment to achieve the same effects as the electronic device 1 described in the first embodiment.
  • connection state of "some terminals" by switching unit 18 is such that, as shown in the figure, terminal A8 is connected to pull-up circuit 23, terminal B8 is connected to signal input port 153, terminals B6 and B7 are connected to the first input port (IN1) and second input port (IN2) of ADC 152, and terminals A6 and A7 are connected to the "D+" port and the "D-" port of USB communication unit 151.
  • the signal generated by the signal generator 54 possessed by the electronic device 5A is input via non-specific terminals (terminals A8, B8) among the “some terminals” excluding terminal A8 (specific terminal).
  • terminal A8, B8 non-specific terminals
  • an operation signal from the operation unit 53 in the electronic device 5A is input to the system control unit 15A of the electronic device 1A via terminals B6 and B7.
  • the operation signal from the operation unit 53 can also be input to the system control unit 15A via the system control unit 56 of the electronic device 5A ⁇ terminal control and communication unit 55 ⁇ terminal A5 ⁇ terminal control and communication unit 19, for example, as shown in FIG. 11, or can be input to the system control unit 15A via the system control unit 56 ⁇ terminal A6, as shown in FIG. 12.
  • the embodiment is not limited to the specific example described above, and various modified configurations may be adopted.
  • an example was given of an accessory device that inputs signals such as operation signals to the electronic device 1 (or 1A) as an imaging device, as exemplified by the electronic devices 5 and 5A.
  • the accessory device in the embodiment may also be an accessory device serving as a flash emission device, such as the electronic device 5B exemplified in FIG. 13.
  • electronic device 5B differs from electronic device 5A in that it omits operation unit 52A, signal generator 54, and operation unit 53 and instead includes a flash control unit 58 and a flash emission tube 59.
  • resistor Rr is inserted between terminal A8 and ground as shown in the figure.
  • the flash control unit 58 controls the light emission drive of the flash light emitting tube 59.
  • the power supply circuit 57 supplies power not only to the terminal control and communication unit 55 and the system control unit 56 but also to the flash control unit 58.
  • the electronic device 1B differs from the electronic device 1 in that a system control unit 15B is provided instead of the system control unit 15, and an accessory device corresponding processing unit 22B is provided instead of the accessory device corresponding processing unit 22.
  • the system control unit 15B has a light emission timing generation unit 154 together with a USB communication unit 151.
  • the light emission timing generation unit 154 generates a light emission timing signal that indicates the timing of emitting the flash.
  • the light emission timing signal generated by the light emission timing generation unit 154 is input to the flash control unit 58 via terminal B6.
  • the accessory device processing unit 22B differs in that it has a potential monitoring unit 24B instead of the potential monitoring unit 24.
  • the pull-up circuit 23 passes current through the resistor Rr via the terminal A8, and the potential monitoring unit 24B detects the potential of the terminal A8.
  • the potential monitoring unit 24B is used to detect the removal of the electronic device 5B. Also, since there is no need to supply a signal in response to the operation on the electronic device 5B to the system control unit 15B, the potential monitoring unit 24B does not have an output line for the detection signal to the system control unit 15B as shown in the figure.
  • the terminal control and communication unit 19 and the logic circuit unit 25 execute the processes shown in Fig. 6 and Fig. 7, respectively, as in the first embodiment.
  • this allows the electronic device 1B as a modified example to achieve the same effects as those achieved by the electronic device 1 of the first embodiment executing the processes shown in Fig. 6 and Fig. 7.
  • the connection state of "some of the terminals" by switching unit 18 is such that, as shown in the figure, terminal A8 is connected to pull-up circuit 23, terminals A6 and A7 are connected to the "D+" port and the "D-" port in USB communication unit 151, and terminal B6 is connected to light emission timing generation unit 154.
  • the electronic device to which the accessory device is connected is configured as an imaging device, but the electronic device may take the form of a device other than an imaging device, such as an audio device, a smartphone, a tablet terminal, or a portable information processing device such as a notebook PC (personal computer).
  • the electronic device to which the accessory device is connected is not limited to a battery-powered electronic device, but may also be an externally powered electronic device (an electronic device powered by power supplied from an external power source).
  • the operation buttons of the electronic device serving as the accessory device may be operation buttons for performing operations other than the shutter operation.
  • Fig. 14 shows a case where the USB terminal part of the electronic device 5 is connected to the electronic device 1 facing down
  • Fig. 15 shows a case where the USB terminal part of the electronic device 5A is connected to the electronic device 1A facing down.
  • the example of Fig. 14 is an example where the internal equivalent and circuit does not change even if the terminal part is connected upside down.
  • the example of Fig. 15 is an example where some terminals are internally equivalent and the circuit does not change when the terminal part is connected upside down, but some other terminals are not equivalent to the case of the front-facing connection.
  • the connection destination of the relevant terminal is controlled by the control of the switching unit 18 so that it is equivalent to the case of the front-facing connection.
  • the electronic device of the first aspect as an embodiment (1, 1A, 1B) includes a connection unit (USB connection unit 10) having a plurality of terminals for electrically connecting an external device, a switching unit (18) capable of switching the connection destination within the device of some of the plurality of terminals, and a switching control unit (terminal control unit) configured to detect the device type of the external device by signal communication with the external device via a predetermined terminal (terminals A5, B5: CC terminal) other than the some of the terminals in the connection unit and to control the switching unit so that the some of the terminals are connected to the connection destination according to the detected device type.
  • a connection unit USB connection unit 10
  • switching unit capable of switching the connection destination within the device of some of the plurality of terminals
  • a switching control unit terminal control unit
  • the connection portion includes a control/communication portion 19) and, when the external device is a specific external device (electronic devices 5, 5A, 5B) having a resistive element connected to a specific connected terminal that is connected to a specific terminal (terminals B8 and A8, or terminal A8) among some terminals in the connection portion, a current-carrying portion (pull-up circuit 23) that is connected as a connection destination of the specific terminal and applies current to the resistive element (resistor Rr) via the specific terminal and the specific connected terminal, and an electronic circuit portion (potential monitoring portions 24, 24B and a logic circuit portion 25) that detects the state of the specific external device based on the potential detection result of the specific terminal.
  • a specific external device electronic devices 5, 5A, 5B
  • a specific terminal terminal
  • a current-carrying portion pulse-up circuit 23
  • resistive element resistive element
  • the electronic circuit unit can detect the state of the specific external device. In other words, even if a user operation is performed on the specific external device or the specific external device is removed in the power-saving state, it is possible to detect them. Therefore, it is possible to achieve both a reduction in power consumption of the electronic device and an improvement in the usability of the external device.
  • accessory devices require a dedicated connection terminal to connect to an electronic device, but in this embodiment, the accessory device can be connected using an existing terminal such as a USB terminal, making it possible to omit the dedicated terminal, thereby enabling the electronic device to be made smaller and lighter, and improving the freedom of component layout, etc.
  • the specific external device is provided with a variable resistance circuit (52x) that changes the combined resistance value with the resistance element in response to user operation, and is equipped with a system control unit (15, 15A) that accepts the potential detection result of the specific terminal as operation input information from the specific external device.
  • a system control unit 15, 15A
  • This enables the system control unit to perform processing to transition from a power-saving state to a non-power-saving state in response to user operations on a specific external device, and after transitioning to the non-power-saving state, to perform processing in response to a specific operational instruction operation, such as a release instruction operation.
  • the system control unit performs processing to transition to a non-power saving state in response to detecting that the potential of a specific terminal satisfies a predetermined potential condition in a power saving state (see Figure 8B).
  • This allows the device to return from a power-saving state to a non-power-saving state in response to user operation on a specific external device, thereby achieving specifications similar to those of conventional accessory devices and achieving both reduced power consumption of the electronic device and improved usability of the external device.
  • the logic circuit unit is provided with a readable memory unit (memory 25a), and when the detected device type is the device type of a specific external device, the switching control unit stores identification information indicating the device type of the specific external device in the memory unit, and the logic circuit unit controls the switching unit so that the connection state of some terminals by the switching unit becomes a connection state corresponding to the specific external device in response to the identification information indicating the device type of the specific external device being stored in the memory unit (see Figure 7).
  • a readable memory unit memory 25a
  • the switching control unit stores identification information indicating the device type of the specific external device in the memory unit
  • the logic circuit unit controls the switching unit so that the connection state of some terminals by the switching unit becomes a connection state corresponding to the specific external device in response to the identification information indicating the device type of the specific external device being stored in the memory unit (see Figure 7).
  • the electronic circuit unit detects the removal of a specific external device based on the potential detection result of the specific terminal in a power saving state, and in response to the detection of the removal, controls the switching unit so that the connection state of some terminals by the switching unit becomes the non-attached connection state specified by the standard as the connection state when the external device is not attached (see Figure 7).
  • the switching unit controls the connection state of some terminals to the non-attached connection state defined by the standard, i.e., a connection state in which power can be supplied from the charging adapter.
  • the electronic device is a battery-powered electronic device.
  • it is an electronic device that is configured to be operable using a battery as a power source. This makes it possible to extend the usable time of battery-powered electronic devices by reducing power consumption, while improving the usability of external devices.
  • the electronic device is an imaging device including an imaging section (11) for obtaining an image of a subject. This makes it possible to achieve both a reduction in power consumption of the electronic device as an imaging device and improved usability of the external device.
  • the specific external device is an accessory device having a shutter button. This makes it possible to improve the ease of use of accessory devices such as remote release accessories and battery grips that allow shutter button operation.
  • the specific external device is a flash emission device. This makes it possible to improve the usability of the accessory device as a flash light emitting device.
  • a signal generated by a signal generator (24) included in the specific external device is input via a non-specific terminal excluding the specific terminal among some of the terminals.
  • signal generators include a GNSS sensor that generates a detection signal for the current position, a direction sensor that generates a direction signal indicating the direction, or a signal generator that generates a signal to synchronize the exposure timing of each frame of a video.
  • connection section has a terminal arrangement that complies with the USB Type-C standard. This makes it possible to realize electronic devices that can connect to specific external devices via a USB terminal, eliminating the need to provide dedicated terminals to realize functions using specific external devices, making it possible to make electronic devices smaller and lighter, and improving the freedom of component layout.
  • An electronic device of a second aspect as an embodiment is an electronic device electrically connected to a first electronic device via the connection part, the electronic device comprising: a connection part having a plurality of terminals for electrically connecting an external device; a switching part capable of switching the connection destination within the device of some of the plurality of terminals; and a switching control part configured to detect the type of the external device by signal communication with the external device via a specified terminal other than the some of the terminals in the connection part, and to control the switching part so that the some of the terminals are connected to a connection destination according to the detected type of device.
  • the electronic device comprises a specific connected terminal connected to a specific terminal among the some of the terminals in the connection part, and a resistive element connected to the specific connected terminal, and when electrically connected to the first electronic device via the connection part, electricity is passed from the first electronic device to the resistive element via the specific terminal and the specific connected terminal.
  • the present technology can also be configured as follows. (1) a connection portion having a plurality of terminals for electrically connecting an external device; A switching unit capable of switching connection destinations of some of the plurality of terminals within the device; a switching control unit configured to detect a device type of the external device by signal communication with the external device via a predetermined terminal other than the part of the terminals of the connection unit, and to control the switching unit so that the part of the terminals is connected to a connection destination corresponding to the detected device type; when the external device is a specific external device having a resistive element connected to a specific connected terminal that is connected to a specific terminal among the some of the terminals in the connection portion, a current-carrying portion that is connected as a connection destination of the specific terminal and that applies current to the resistive element via the specific terminal and the specific connected terminal; an electronic circuit section that detects a state of the specific external device based on a result of detecting the potential of the specific terminal.
  • the specific external device is provided with a variable resistance circuit that changes a combined resistance value with the resistance element in response to a user operation;
  • the electronic device according to (1) further comprising a system control unit that receives a potential detection result of the specific terminal as operation input information from the specific external device.
  • the system control unit performs processing for transitioning to a non-power saving state in response to detecting that the potential of the specific terminal satisfies a predetermined potential condition in a power saving state.
  • the logic circuit unit includes a readable memory unit, when the detected device type is the device type of the specific external device, the switching control unit stores, in the memory unit, identification information indicating the device type of the specific external device;
  • the logic circuit unit includes: The electronic device described in any of (1) to (3) above, wherein the switching unit controls the connection state of the some of the terminals by the switching unit to a connection state corresponding to the specific external device in accordance with the identification information indicating the device type of the specific external device stored in the memory unit.
  • the electronic device according to (7), wherein the specific external device is an accessory device having a shutter button.
  • the electronic device according to (7), wherein the specific external device is a flash device.
  • the connection unit has a terminal arrangement conforming to the USB Type-C standard.
  • an electronic device electrically connected to a first electronic device via the connection unit comprising: a connection unit having a plurality of terminals for electrically connecting an external device; a switching unit capable of switching a connection destination within the device of some of the plurality of terminals; and a switching control unit configured to detect a device type of the external device by signal communication with the external device via a predetermined terminal other than the some of the terminals in the connection unit, and to control the switching unit so that the some of the terminals are connected to a connection destination according to the detected device type; a specific connected terminal that is connected to a specific terminal among the part of terminals in the connection portion; a resistive element connected to the specific connected terminal, When the electronic device is electrically connected to the first electronic device via the connection portion, a current is applied to the resistance element from the first electronic device via the specific terminal and the specific connected terminal.
  • USB connection unit 11 Imaging unit 15, 15A, 15B System control unit 151 USB communication unit 152 ADC Reference Signs List 153 Signal input port 154 Light emission timing generation unit 18 Switching unit 19 Terminal control and communication unit 20 Battery 21 Power supply control unit 22, 22A, 22B Accessory device support processing unit 23 Pull-up circuit 24, 24B Potential monitoring unit 25 Logic circuit unit 25a Memory 50 USB connection unit 51 Device type determination unit 52, 52A Operation unit 52a Shutter button 52b Power saving return button 52x Variable resistance circuit Rr, R1, R2, R3 Resistors SW1, SW2, SW3 Switch 53 Operation unit 54 Signal generator 55 Terminal control and communication unit 56 System control unit 57 Power supply circuit 58 Flash control unit 59 Flash light emission tube

Abstract

本技術に係る電子機器は、外部機器を電気的に接続するための複数の端子を有する接続部と、複数の端子のうち一部端子の機器内における接続先を切り替え可能な切替部と、接続部における一部端子以外の所定端子を介した外部機器との信号通信により外部機器の機器種別を検出し、一部端子が、検出した機器種別に応じた接続先に接続されるように切替部を制御することが可能に構成された切替制御部と、外部機器が、接続部における一部端子のうち特定端子と接続される特定被接続端子に抵抗素子が接続された特定外部機器である場合に、特定端子の接続先として接続されて特定端子及び特定被接続端子を介して抵抗素子に通電する通電部と、特定端子の電位検出結果に基づいて特定外部機器の状態検出を行う電子回路部とを備える。

Description

電子機器
 本技術は、外部機器を通信可能に接続するための接続部を備えた電子機器、及び上記外部機器としての電子機器に関するものである。
 デジタルデータの通信規格の一つとしてUSB(Universal Serial Bus)が知られている。USB規格において、USB Type-C規格では、機能拡張のための規格としてオルタネートモード(Alternate Mode)やオーディオアクセサリモード(Audio Accessory Mode)、及びデバッグアクセサリモード(Debug Accessory Mode)が定義されている。
 これらのモードによる機能拡張を実現するために、USBホスト機器となる電子機器では、接続対象となるアクセサリ機器としての外部機器の検出処理や、端子の機器内における接続先を制御する処理である端子制御処理をUSB規格に準拠して行う必要がある。具体的に、この場合における外部機器の検出処理は、CC(Communication Channel)端子と呼ばれる所定端子を介した外部機器との信号通信により外部機器の接続や機器種別を検出する処理として行われる。また、端子制御処理としては、上記のCC端子を除く一部端子の機器内における接続先を切り替え可能に構成された切替部(スイッチャ)を制御する処理として行われる。具体的には、上記の一部端子が、検出した機器種別に応じた接続先に接続されるように切替部を制御する処理である。
 USB Type-C規格に対応した電子機器では、上記のような検出処理や端子制御処理を実現するために、例えば以下の二通りの構成が採られ得る。一つは、上記の検出処理を行う「CC IC(Integrated Circuit)」と呼ばれる専用部品と端子制御処理を行うマイコン(マイクロコンピュータ)とを組み合わせた構成であり、もう一つは、上記の検出処理と端子制御処理の双方を行うPDC(Power Delivery Controller)と呼ばれるマイコンを用いる構成である。
 以下、これら二通りの構成を区別せず、上記の検出処理と端子制御処理を行う構成のことを「切替制御部」と表記する。
 ここで、USBにおけるアクセサリ機器の実装手法としては、以下の手法Aと手法Bの二つが考えられる。
手法A)PC(パーソナルコンピュータ)に接続されるマウスデバイス等のように、USBデバイス動作するもの
 手法B)上記したオルタネートモード等のようにUSB Type-Cの機能拡張の規格を用いて実装するもの
 手法Aよりも手法Bの方が、機能実現の自由度が高まるものとなる。
 また、手法Bについては、さらに、
 手法B1)手法Aと同様にUSB通信でアクセサリ機器とホスト機器との間で信号をやりとりするもの
 手法B2)CC通信を用いてアクセサリ機器とホスト機器との間で信号をやりとりするもの
 手法B3)USBやCCなど規格に定義された通信手段を用いずに、独自に端子に電気信号を割り当ててアクセサリ機器とホスト機器との間で信号をやりとりするもの
 手法B4)USB通信、CC通信と独自定義の電気信号割り当てを併用しアクセサリ機器とホスト機器との間で信号をやりとりするもの
 が想定できる。
 なお、関連する従来技術については下記特許文献1を挙げることができる。下記特許文献1では、上記の手法B2の実装を行い、USB規格(オルタネートモード)に準拠するアクセサリ機器からの操作入力に対する応答速度向上を図っている。具体的には、USB Type-CにおけるCC端子を用いたネゴシエーション(USB規格により規定された動作)の後、USB Type-C端子の電気信号接続の一部を、アクセサリ機器の操作を伝える機能用に接続を切り替える。応答性が必要な信号に専用の信号線を割り当てることで、アクセサリ機器からの操作入力に対する応答速度向上を図るものである。
特開2020-178245号公報
 ここで、電子機器として、特にデジタルカメラ等の電池駆動の電子機器では、アクセサリ機器が接続された状態で省電状態に移行するというケースがあり得るが、このとき、アクセサリ機器に対する操作入力により、電子機器を省電状態から非省電状態に復帰させたいとの要望がある。例えば、デジタルカメラに対するアクセサリ機器として、USB端子ではなく専用の端子を用いる現状の多くのアクセサリ機器では、アクセサリ機器に対する操作入力により省電状態の電子機器を非省電状態に復帰させることが可能とされており、このような復帰操作を不能とするアクセサリ仕様はユーザを混乱させる虞がある。
 また、電子機器の省電状態下でアクセサリ機器が抜去された場合に、端子の機器内での接続先割り当てをUSB規格における標準の割り当てに戻して、その後にUSB充電アダプタが接続された際に、充電が可能となるようにしたいとの要望もある。
 上記に挙げた要望に応えるためには、電子機器が省電状態であっても、アクセサリ機器の状態検出を行うことができるようにすることが要請されるが、このために、従来の電子機器では、切替制御部を休止状態とせずに、動作状態で維持させる必要があった。
 上述のように、切替制御部はマイコンを有するものであって、消費電力が比較的大きいものとなる。このため、切替制御部を動作させたままでは電子機器の省電力効果を高めることが困難である。
 すなわち、従来の電子機器では、上記した各種の要望に応えるべく電子機器が省電状態であってもアクセサリ機器の状態検出を行うことができるようにすることと、電子機器の省電状態において切替制御部を休止状態とさせて消費電力削減を図ることとの両立を図ることが困難とされている。
 本技術は上記課題に鑑み為されたものであり、切替制御部のマイコンを休止状態としてもアクセサリ機器(特定外部機器)の状態検出を行うことを可能として、電子機器の消費電力削減と外部機器の使い勝手向上との両立を図ることを目的とする。
 本技術に係る第一態様の電子機器は、外部機器を電気的に接続するための複数の端子を有する接続部と、前記複数の端子のうち一部端子の機器内における接続先を切り替え可能な切替部と、前記接続部における前記一部端子以外の所定端子を介した前記外部機器との信号通信により前記外部機器の機器種別を検出し、前記一部端子が、検出した機器種別に応じた接続先に接続されるように前記切替部を制御することが可能に構成された切替制御部と、前記外部機器が、前記接続部における前記一部端子のうち特定端子と接続される特定被接続端子に抵抗素子が接続された特定外部機器である場合に、前記特定端子の接続先として接続されて前記特定端子及び前記特定被接続端子を介して前記抵抗素子に通電する通電部と、前記特定端子の電位検出結果に基づいて前記特定外部機器の状態検出を行う電子回路部と、を備えたものである。
 上記構成によれば、通電部が特定端子の接続先として接続された以降は、電子機器が省電状態とされて切替制御部のマイコンが休止状態とされても、電子回路部により特定外部機器の状態検出を行うことが可能となる。すなわち、省電状態下において特定外部機器に対するユーザ操作が行われたり特定外部機器が抜去されたりしても、それらの検出を行うことが可能となる。
 また、本技術に係る第二態様の電子機器は、外部機器を電気的に接続するための複数の端子を有する接続部と、前記複数の端子のうち一部端子の機器内における接続先を切り替え可能な切替部と、前記接続部における前記一部端子以外の所定端子を介した前記外部機器との信号通信により前記外部機器の機器種別を検出し、前記一部端子が、検出した機器種別に応じた接続先に接続されるように前記切替部を制御することが可能に構成された切替制御部と、を備えた第一電子機器と前記接続部を介して電気的に接続される電子機器であって、前記接続部における前記一部端子のうち特定端子と接続される特定被接続端子と、前記特定被接続端子に接続された抵抗素子と、を備え、前記第一電子機器と前記接続部を介して電気的に接続された場合に、前記第一電子機器から前記特定端子及び前記特定被接続端子を介して前記抵抗素子に通電されるものである。
 このような第二態様の電子機器により、第一電子機器(上記した第一態様の電子機器はこの第一電子機器に該当する)は、省電状態とされて切替制御部のマイコンが休止状態とされても、特定外部機器の状態検出を行うことが可能となる。すなわち、第一電子機器は、省電状態下において第二態様の電子機器に対するユーザ操作が行われたり第二態様の電子機器が抜去されたりしても、それらの検出を行うことが可能となる。
本技術に係る第一実施形態としての電子機器システムの構成例を説明するためのブロック図である。 初期状態(標準状態)における端子ごとの信号割り当てを示した図である。 初期状態(標準状態)における一部端子についての切替部による接続先割り当ての説明図である。 接続された外部機器が特定外部機器であった場合における切替部による一部端子の接続先割り当てを例示した図である。 省電状態下における特定外部機器の状態検出のための構成例を示した図である。 第一実施形態における端子制御・通信部が実行する処理手順例を示したフローチャートである。 第一実施形態における電子回路部が実行する処理手順例を示したフローチャートである。 第一実施形態におけるシステム制御部が実行する処理手順例を示したフローチャートである。 第二実施形態としての電子機器システムの構成例を説明するためのブロック図である。 第二実施形態における特定外部機器が備える操作部における配線態様と電子機器におけるプルアップ回路に対する配線態様の具体例を示した図である。 第二実施形態に係る変形例としての電子機器システムの説明図である。 第二実施形態に係る別の変形例としての電子機器システムの説明図である。 変形例としての電子機器システムの構成例を説明するためのブロック図である。 USB端子部が裏向き接続された場合の例の説明図である。 USB端子部が裏向き接続された場合の他の例の説明図である。
 以下、本技術に係る実施形態を次の順序で説明する。
<1.第一実施形態>
[1-1.システム構成例]
[1-2.第一実施形態としてのアクセサリ機器対応処理]
[1-3.処理手順]
<2.第二実施形態>
<3.変形例>
<4.実施形態のまとめ>
<5.本技術>
<1.第一実施形態>
[1-1.システム構成例]
 図1は、第一実施形態としての電子機器1と、電子機器1に装着(接続)される外部アクセサリ機器としての電子機器5とで成る電子機器システムの構成例を説明するためのブロック図である。
 本実施形態の電子機器システムにおいて、電子機器1は、被写体の撮像画像を得る撮像部11を備えた撮像装置として構成されている。この場合、電子機器1は、外部アクセサリ機器としての電子機器5を電気的に接続するための接続部として、USB(Universal Serial Bus)接続部10を備えている。本例において、電子機器1は、外部機器との間でUSB Type-C規格に従ったデータ通信を行うことが可能に構成されており、USB接続部10としては、USB  Type-C規格のレセプタクル形状のコネクタが用いられる。すなわち、USB接続部10は、USB Type-C規格に対応した端子配列を有する。
 本例において、電子機器1の外部アクセサリ機器として機能する電子機器5は、シャッタボタンを有するアクセサリ機器を想定している。具体的に、本例における電子機器5は、リモートレリーズ機器として機能するものであり、USB接続部10を介して電子機器1と接続されて、シャッタボタン操作に応じた操作信号を電子機器1側に伝達する機能を有する。
 図示のように電子機器1は、上記した撮像部11及びUSB接続部10と共に、画像信号処理部12、メモリ部13、表示部14、システム制御部15、バス16、操作部17、切替部18、端子制御・通信部19、電池20、電源制御部21、及びアクセサリ機器対応処理部22を備えている。
 撮像部11、画像信号処理部12、メモリ部13、表示部14、及びシステム制御部15は、バス16を介して相互にデータ通信を行うことが可能とされる。
 撮像部11は、フォーカスレンズ等の撮像のための各種光学素子が配列された撮像光学系と、撮像光学系を介して入射する光を受光する、例えばCCD(Charge Coupled Device)センサやCMOS(Complementary Metal Oxide Semiconductor)センサ等によるイメージセンサとを有して構成され、被写体を撮像し、デジタル信号による撮像画像信号(撮像画像データ)を生成して出力する。
 画像信号処理部12は、撮像部11により得られた撮像画像データに対して、所定の画像信号処理を行う。システム制御部15は、画像信号処理部12による画像信号処理結果に基づき、露光制御と撮像光学系の焦点調節制御とを行う。これにより、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理が行われる。また、画像信号処理部12は、撮像部11により生成された撮像画像データに対して、TTL方式のAWB(オートホワイトバランス)処理等も行う。
 メモリ部13は、バス16を介して接続されたシステム制御部15や画像信号処理部12が利用可能な不揮発性の記憶デバイスを表したものである。特に、メモリ部13は、撮像部11による撮像画像データの記録用メモリとして用いることができる。
 表示部14は、例えば液晶パネルや有機ELパネル等のパネル型表示装置で構成され、画像表示が可能とされる。表示部14は、システム制御部15の指示に基づき、撮像部11により得られた撮像画像データやGUI(Graphical User Interface)を構成するGUI画像等の表示を行う。
 システム制御部15は、例えばCPU(Central Processing Unit)やROM(Read Only Memory)、RAM(Random Access Memory)等を有するマイクロコンピュータを備えて構成され、CPUがROMやメモリ部13等の所定の記憶装置に記憶されたプログラムをRAMに読み出して実行することにより電子機器1の全体制御を行う。
 システム制御部15は、USB通信部151を有している。USB通信部151は、USB接続部10を介して接続された外部機器との間でUSB規格(USB3.1規格、USB  Type-C規格などを含む)に準拠したデータ通信を行う。
 本実施形態においてシステム制御部15は、電子機器1の電力消費モードとして、省電モードと非省電モードとの切り替え処理を行う。
 ここで言う省電モード(省電状態)とは、一般にユーザからは「OFF」状態として認識されるモードであり、電子機器1における電源制御関連の一部のブロックを除く各部を動作停止状態(休止状態)に移行させるモードである。省電モードでは、システム制御部15や後述する端子制御・通信部19といった比較的消費電力が大きいブロックが休止対象に含まれる。非省電モードは、少なくともこれらシステム制御部15や端子制御・通信部19の休止状態を解除する(つまり起動状態とする)モードである。
 システム制御部15は、例えば電子機器1本体の電源スイッチをOFFとする操作や、該電源スイッチがONの状態で電子機器1が無操作の状態が所定時間経過する等、予め定められた条件の成立に応じて、電子機器1を省電モードに移行させる処理を行う。また、システム制御部15は、例えば電源スイッチをONとする操作等、予め定められた条件の成立に応じて電子機器1を非省電モードに移行させる処理を行う。
 操作部17は、ユーザが電子機器1に対する操作入力を行うための各種のボタン、スイッチ、ダイヤル等の操作子を有し、ユーザ操作に基づく操作信号をシステム制御部15に出力する。操作部17は、操作子の一つとしてシャッタボタン17aを有する。本例におけるシャッタボタン17aは、半押し操作と全押し操作とを行うことが可能に構成されている。シャッタボタン17aが半押し状態とされた場合、操作部17は撮像準備指示信号である第一シャッタスイッチ信号S1をシステム制御部15に出力する。システム制御部15は、この第一シャッタスイッチ信号S1に基づき、AF処理、AE処理を開始する。また、画像信号処理部12にAWB処理等を開始させる。
 また、シャッタボタン17aが全押し状態とされた場合、操作部17は撮像指示信号である第二シャッタスイッチ信号S2をシステム制御部15に出力する。システム制御部15は、第二シャッタスイッチ信号S2に基づき、撮像部11に撮像画像データを生成させる撮像処理を開始する。撮像部11で生成された撮像画像データは、画像信号処理部12で処理された後、例えばメモリ部13に書き込まれる(記録される)。
 電池20は、例えばNiCd電池やNiMH電池、Li電池等の二次電池とされる。
 電源制御部21は、電池20の検出回路、DC-DCコンバータなどを有し、電子機器1に電池20が接続されているか否かの判定や、電池20の残量の検出処理等を行う。電源制御部21は、電池20からの電力を電子機器1の各構成要素に供給する。また、電源制御部21は、USB接続部10を介して接続される外部装置が電子機器1に対する給電が可能な機器とされる場合に、該外部機器から供給される電力を電子機器1の各構成要素に供給することができる。また、二次電池としての電池20の充電を行うこともできる。
 USB接続部10は、前述のようにUSB  Type-C規格のレセプタクル形状のコネクタとして構成されており、複数の端子A1~A12及び端子B1~B12を有する。
 ここで、図2は、初期状態(標準状態)における端子A1~A12、端子B1~B12の端子ごとの信号割り当てを示している。この割り当ては、端子ごとに、電子機器1内での接続先の割り当てを表したものであると換言できる。
 公知のようにUSB  Type-C規格では、この図2に示す信号割り当て状態において、USB  Type-C規格に準拠した外部機器との間でのデータ通信を行うことが可能とされる。
 このとき、USB  Type-Cでは、規格上、電子機器1のUSB接続部10に外部機器が接続されていない状態でも、USB接続部10の端子A1~A12、端子B1~B12の信号割り当てを図2に示すような標準状態としての割り当て状態とすることが要請される。
 電子機器1は、起動後の初期状態において、端子A1~A12、端子B1~B12の信号割り当て状態を図2に示す標準状態として、外部機器の接続を待つ。
 図1において、切替部18は、USB接続部10における複数の端子のうち一部端子の機器内における接続先を切り替え可能なスイッチャ(マルチプレクサ)として構成されている。この場合、上記の「一部端子」は、端子A6(D+),A7(D-),B6(D+),B7(D-),A2(TX1+),A3(TX1-),B2(TX2+),B3(TX2-),A11(RX2+),A10(RX2-),B11(RX1+),B10(RX1-)とされ、従ってこれらの端子は、機器内の接続先の割り当て(信号割り当て)が変化し得るものである。
 一方で、図示のように端子A1(GND),A12(GND),B1(GND),B12(GND),A4(VBUS),A9(VBUS),B4(VBUS),B9(VBUS)は、電源関連の端子として、電源制御部21に固定的に接続されている。
 また、端子A5(CC1),B5(CC2)は、前述したCC(Communication Channel)端子であり、外部機器の接続や接続された外部機器の機器種別を検出する処理のための信号用の端子、及び外部機器への電源供給用の端子として用いられる。対向機器との接続向きに応じて、「CC1、CC2」がそれぞれ「通信、外部機器への電源供給」として機能する場合と、「外部機器への電源供給、通信」として機能する場合とがあり得るものである。
 図示のようにこれら端子A5,B5は、端子制御・通信部19に固定的に接続されている。
 端子制御・通信部19は、USB接続部10における上記の「一部端子」以外の所定端子(つまり本例ではCC端子としての端子A5,B5)を介した外部機器との信号通信により外部機器の機器種別を検出し、その結果を示す情報を、アクセサリ機器対応処理部22における論理回路部25が備えるメモリ25aに記憶させる。論理回路部25は、メモリ25aに格納されている情報に基づき、「一部端子」が、検出した機器種別に応じた接続先に接続されるように切替部18を制御する。本例では、これら端子制御・通信部19と論理回路部25は併せて、前述した「切替制御部」として機能する。
 ここで、一般に切替制御部(端子制御・通信部19)の具体的な構成例としては、上記の機器種別の検出処理を行う「CC IC(Integrated Circuit)」と呼ばれる専用部品と、機器種別に応じた切替部18の制御処理としての端子制御処理を行うマイコン(マイクロコンピュータ)とを組み合わせた構成や、上記の検出処理と端子制御処理の双方を行うPDC(Power Delivery Controller)と呼ばれるマイコンとしての構成の何れかを採り得る。何れの構成を前提とする場合も、マイコンの担う機能を補完したり、消費電力の低減等の付加価値を達成したりするために、アクセサリ機器対応処理部22のような外部回路を備える構成を採り得る。本例では、端子制御・通信部19は、後者のPDCとしてのマイコンで構成されている(ただし、切替部18の端子制御処理の機能を有するが、実行はしない)ものとし、省電のための外部回路としてアクセサリ機器対応処理部22が備えられている場合を例示する。
 端子制御・通信部19は、上記の検出処理で検出した外部機器の機器種別を示す情報を必要に応じてシステム制御部15に出力することができる。なお端子制御・通信部19については、システム制御部15からの指示に基づき切替部18による端子接続状態を制御することが可能に構成することも考えられる。
 図3は、一部端子(A6,A7,B6,B7,A2,A3,B2,B3,A11,A10,B11,B10)についての切替部18による信号割り当て(接続先割り当て)の説明図である。
 具体的に図3は、前述した初期状態(標準状態)としての信号割り当てに対応した切替部18による一部端子の接続先割り当てを例示している。
 図1において、アクセサリ機器対応処理部22は、USB接続部10を介して電気的に接続された外部機器が、電子機器5としての特定の外部機器(以下、「対象の機器」又は「対象機器」と表記することもある)である場合に、電子機器1が省電モード下であって端子制御・通信部19が休止状態とされていても、電子機器5の状態検出を行うことができるように構成された部分となる。
 図示のようにアクセサリ機器対応処理部22は、プルアップ回路23、電位監視部24、及び論理回路部25を備えるが、これらの詳細については後に改めて説明する。
 図1において、電子機器5は、USB接続部50、機器種別規定部51、及び操作部52を備えている。
 USB接続部50は、USB  Type-C規格のプラグ形状のコネクタであり、少なくともCC端子としての端子A5,B5と共に、端子A8(SBU1),B8(SBU2)を有する。これら端子A5,B5,A8,B8は、プラグが差し込まれた状態(電子機器1側に装着された状態)で、電子機器1側の端子A5,B5,A8,B8に対して電気的に接続されるように配置されている。
 機器種別規定部51は、電子機器5の機器種別を規定するための部分であり、本例では抵抗(抵抗素子)等により成る。この抵抗素子は、USB接続部50における端子A5及びB5と接続されている。本例では、電子機器5の端子A4、A5は抵抗値0の抵抗素子を介してGNDに接続されている(つまりGNDに対して短絡されている)。
 本例において、電子機器1における端子制御・通信部19は、USB接続部10を介して外部機器が接続された場合に、該外部機器に対し、端子A5,B5を介して機器種別検出用の検出電流を流す。
 この検出電流が流されることで、機器種別規定部51における抵抗素子の抵抗値に応じた電位が例えば電子機器1側の端子A5,B5間の端子間電位として表れる。端子制御・通信部19は、この電位の検出結果に基づき、接続された外部機器の機器種別を検出することができる。
 操作部52は、電子機器5に設けられたボタン等としての操作子を有すると共に、ユーザ操作に応じた操作信号を端子A8及びB8を介して電子機器1側に出力することが可能に構成されている。
 前述のように本例における電子機器5はリモートレリーズ機器として構成されたものであり、操作部52にはシャッタボタン52aが設けられている。
 このシャッタボタン52aとしても、先のシャッタボタン17aと同様に半押し操作と全押し操作とを行うことが可能に構成されている。操作部52は、シャッタボタン52aが半押し状態とされた場合には前述した第一シャッタスイッチ信号S1に相当する信号を、またシャッタボタン52aが全押し操作された場合には前述した第二シャッタスイッチ信号S2に相当する信号をそれぞれ端子A8及びB8を介して電子機器1側に出力することが可能に構成されている。
 また、操作部52には、上記のシャッタボタン52aと共に、省電モード中の電子機器1を非省電モードに復帰させる操作を行うための省電復帰ボタン52bが設けられている。操作部52は、省電復帰ボタン52bが操作された場合は、電子機器1を非省電モードに復帰させるための復帰指示信号を端子A8及びB8を介して電子機器1側に出力することが可能に構成されている。
 なお、操作部52の具体的な構成例については後に改めて説明する。
 ここで、本実施形態の電子機器1においては、上述した検出処理の結果、接続された外部機器が電子機器5としての対象機器であった場合には、切替部18による一部端子の接続先割り当てが、図4に示すように制御される。
 具体的にこの場合は、一部端子のうち端子A8,B8の接続先を、アクセサリ機器対応処理部22におけるプルアップ回路23とするように切替部18を制御する。なおこの場合、一部端子におけるこれら端子A8,B8以外の端子については、何れの接続先にも接続しないようにされる。
[1-2.第一実施形態としてのアクセサリ機器対応処理]
 本実施形態の電子機器1は、電子機器1を非省電モードから省電モードに切り替える機能を有するが、この場合には、アクセサリ機器が接続された状態で省電モードに移行するというケースがあり得る。前述のように、このようなケースでは、アクセサリ機器に対する操作入力により、電子機器1を省電モードから非省電モードに復帰させたいとの要望がある。例えば、デジタルカメラに対するアクセサリ機器として、USB端子ではなく専用の端子を用いる現状の多くのアクセサリ機器では、アクセサリ機器に対する操作入力により省電状態の電子機器を非省電状態に復帰させることが可能とされており、このような復帰操作を不能とするアクセサリ仕様はユーザを混乱させる虞がある。
 また、電子機器1が省電モード中にアクセサリ機器が抜去された場合に、切替部18による端子の接続先割り当てをUSB規格における標準の割り当てに戻して、その後にUSB充電アダプタが接続された際に、充電が可能となるようにしたいとの要望もある。
 上記に挙げた要望に応えるためには、電子機器が省電状態であっても、アクセサリ機器の状態検出を行うことができるようにすることが要請されるが、このために、従来の電子機器では、端子制御・通信部19(切替制御部)を休止状態とせずに、動作状態で維持させる必要があった。
 上述のように、切替制御部はマイコンを有するものであって、消費電力が比較的大きいものとなる。このため、切替制御部のマイコンを動作させたままでは電子機器の省電力効果を高めることが困難である。
 本実施形態は上記事情に鑑み為されたものであり、切替制御部のマイコンを休止状態としてもアクセサリ機器(電子機器5)の状態検出を行うことを可能として、電子機器5の消費電力削減と外部機器の使い勝手向上との両立を図るものである。
 本実施形態では、電子機器1の省電状態下における電子機器5の状態検出として、電子機器5における操作部52の操作状態の検出と、電子機器5が電子機器1から抜去されたか否かという、電子機器5の挿抜に係る状態検出の双方を行うことを可能とする。
 そのための構成例を図5に示す。
 具体的に図5では、電子機器1のアクセサリ機器対応処理部22におけるプルアップ回路23、電位監視部24、及び電子機器5の操作部52における各構成要素の接続形態の例を示している。
 図示のように操作部52は、抵抗Rrと可変抵抗回路52xとを備えている。
 抵抗Rrは、USB接続部50の端子A8と端子B8との間に挿入されている。ここで、先の説明から理解されるように、USB接続部50の端子A8、端子B8は、電子機器1のUSB接続部10における端子A8、端子B8、及び切替部18を介して、プルアップ回路23に接続される。具体的に、USB接続部50の端子A8は、図示のようにプルアップ回路23の正極側端子に接続され、USB接続部50の端子B8はプルアップ回路23の負極側端子に接続される。
 プルアップ回路23は、電子機器1が省電モード下であっても電源からの電力供給が行われ、該電源からの供給電力に基づき、抵抗Rrに通電する。これにより、USB接続部10における端子A8と端子B8との間には、抵抗Rrの抵抗値に応じた電位が生じる。
 電位監視部24は、このように端子A8と端子B8との間に生じる電位を検出する、例えばADC(Analog to Digital Converter)として構成されている。
 電子機器5側において、可変抵抗回路52xは、ユーザ操作に連動して抵抗Rrとの合成抵抗値を変化させるように構成されている。具体的に、可変抵抗回路52xは、スイッチSW1と抵抗R1との直列接続回路、スイッチSW2と抵抗R2との直列接続回路、及びスイッチSW3と抵抗R3との直列接続回路が抵抗Rrに並列接続されて構成されている。ここで、スイッチSW1は、操作部52におけるシャッタボタン52aの押し込み量が半押し操作に対応した押し込み量未満の場合にOFF、半押し操作に対応した押し込み量以上の場合にONとされるスイッチである。また、スイッチSW2は、シャッタボタン52aの押し込み量が全押し操作に対応した押し込み量未満の場合にOFF、全押し操作に対応した押し込み量以上の場合にONとされるスイッチである。さらに、スイッチSW3は、操作部52における省電復帰ボタンB52bが無操作の場合にOFF、操作された場合にONされるスイッチである。
 このような構成により、可変抵抗回路52xは、シャッタボタン52aの半押し操作時、全押し操作時、省電復帰ボタン52bの操作時でそれぞれ抵抗Rrとの合成抵抗値を変化させることができる。
 そして、これにより、電位監視部24が、端子A8、B8間の電位として、これらシャッタボタン52aの半押し操作時、全押し操作時、省電復帰ボタン52bの操作時と、さらにシャッタボタン52a及び省電復帰ボタン52bの双方が無操作時のそれぞれにおいて異なる電位を検出することができるようにされている。
 図4に示すように、電位監視部24による電位検出結果を示す信号(電位のデジタルサンプリング値:以下「電位検出結果信号」と表記)は、システム制御部15の所定の信号入力ポートに供給されると共に、アクセサリ機器対応処理部22における論理回路部25に供給される。
 システム制御部15は、電位監視部24よる電位検出結果信号に基づき、電子機器5の操作部52に対するユーザ操作に応じた処理を行う。
 具体的に、システム制御部15は、非省電モード時における電位検出結果信号の値に応じて、前述した第一シャッタスイッチ信号S1、第二シャッタスイッチ信号S2に応じた処理を行う。具体的に、システム制御部15は非省電モード時において、電位検出結果信号の値が、シャッタボタン52aの半押し操作時に対応した値となったことに応じて、前述した第一シャッタスイッチ信号S1に応じた処理を行う。また、システム制御部15は非省電モード時において、電位検出結果信号の値がシャッタボタン52aの全押し操作時に対応した値となったことに応じて、前述した第二シャッタスイッチ信号S2に応じた処理を行う。
 また、システム制御部15は、省電モード時においては、電位検出結果信号の値が所定条件を満たす値である(つまり端子A8、B8の検出電位が所定の電位条件を満たす)ことを検出したことに応じて、非省電モードに移行する処理を行う。具体的に、システム制御部15は省電モード時において、電位検出結果信号の値が、省電復帰ボタン52bの操作時に対応した値となったことに応じて、非省電モードに移行する処理を行う。
 これにより、特定アクセサリ機器としての電子機器5に対するユーザ操作に応じて省電状態から非省電状態への復帰を行うことができ、従来アクセサリ機器と同様の仕様を実現して、電子機器5の消費電力削減と外部機器の使い勝手向上との両立を図ることができる。
 アクセサリ機器対応処理部22において、論理回路部25は、電位監視部24からの電位検出結果信号に基づいて、電子機器5の抜去検出を行う。この抜去検出は、電子機器5の接続時に端子A8,B8間に生じる電位(抵抗Rrが作用した際の電位)と、電子機器5が抜去された状態で端子A8,B8間に生じる電位(抵抗Rrが非作用の場合の電位)との差に基づいて行うことができる。
 ここで、論理回路部25は、電子機器1が省電モード下において電位検出結果信号に基づき電子機器5の抜去検出を行うと共に、当該抜去検出に応じて、切替部18による「一部端子」の接続状態が、外部機器の非装着時の接続状態として規格上規定された非装着時接続状態となるように切替部18を制御する。具体的には、切替部18による一部端子の接続状態が、外部機器の非装着時の接続状態として規格上規定された、先の図3に示した初期状態(標準状態)での接続状態となるように切替部18を制御するものである。
 これにより、省電状態下において電子機器5が抜去された場合には、切替部18による一部端子の接続状態が規格上定められた非装着時接続状態、すなわち、USB充電アダプタからの給電が可能な接続状態となるように切替部18が制御される。
 従って、ユーザが電子機器1の省電状態下において電子機器5を抜去した上で、USB充電アダプタを接続して電子機器1の充電を行いたいとした場合において、非省電状態に復帰させるための電子機器1に対する操作をユーザに行わせる必要がなくなる。すなわち、省電状態下での電子機器5の抜去後におけるUSB充電アダプタを用いた電子機器1の充電がスムーズに行われるように図ることができる。
 ここで、本実施形態において、アクセサリ機器対応処理部22は、端子制御・通信部19がアクセス可能なメモリ25aを備えている。図4に示すように本例では、メモリ25aは論理回路部25に設けられたメモリとされるが、メモリ25aは論理回路部25外部に設けることもできる。
 先に説明したように、端子制御・通信部19は、前述した検出処理により、電子機器1に装着された外部機器の機器種別を検出したことに応じて、検出した機器種別の識別情報をメモリ25aに記憶させる処理を行う。
 そして、論理回路部25は、メモリ25aに記憶された識別情報に基づき、切替部18における端子接続状態を制御する。具体的に、本例における論理回路部25は、端子制御・通信部19が検出処理を行ってメモリ25aに新たに識別情報を記憶させた場合に、切替部18における端子接続状態を、メモリ25aに記憶されている識別情報が示す機器種別に対応する接続状態に制御する。例えば、特定外部機器(対象機器)としての電子機器5が接続されて、メモリ25aに電子機器5の識別情報が記憶された場合、論理回路部25は、該識別情報に基づき、切替部18における端子接続状態が電子機器5に対応する接続状態(図4参照)となるように制御する。
 ここで、上記のような構成、すなわち、省電状態において休止状態となってしまう端子制御・通信部19が切替部18の制御を行わず、且つ端子制御・通信部19がメモリ25aに格納した識別情報に従って論理回路部25(省電状態において休止状態とならない)が切替部18の制御を行う構成によると、電子機器5が接続されたまま省電状態に移行後、非省電状態に復帰された場合において、切替部18における端子接続状態を電子機器5の機器種別に応じた端子接続状態(図4)で維持させることが可能となる。従って、電子機器5が接続されたまま省電状態から非省電状態に復帰された場合に、電子機器5からの操作入力信号の信号入力を速やかに行うことができ、外部機器の使い勝手向上を図ることができる。
[1-3.処理手順]
 図6から図8のフローチャートを参照し、上記により説明した第一実施形態としてのアクセサリ機器対応処理を実現するための処理手順例について説明する。
 図6は、端子制御・通信部19が実行する処理手順例を示し、図7は論理回路部25が実行する処理手順例を示している。また、図8はシステム制御部15が実行する処理手順例を示すものである。
 端子制御・通信部19は、休止状態からの起動に応じて図6に示す処理を開始する。
 図6において、端子制御・通信部19はステップS101で、外部機器の装着、すなわちUSB接続部10を介して外部機器が電気的に接続されたことを検出するまで待機する。
 そして、外部機器の装着を検出した場合、端子制御・通信部19はステップS102に進み、装着された機器の種別を検出する処理を行う。これは、前述したCC端子としての端子A5及びB5を介した外部機器との信号通信の結果に基づき行われる処理である。
 ステップS102に続くステップS103で端子制御・通信部19は、検出した機器種別の識別情報をメモリ25aに記憶させる処理を行い、図6に示す一連の処理を終える。
 図7の論理回路部25の処理について説明する。
 図7Aは、機器種別に応じた切替部18の制御を実現するための処理である。
 図7Aにおいて、論理回路部25はステップS201で、メモリ25aの記憶情報が変化するまで待機する処理を実行する。これは、端子制御・通信部19が装着された外部機器についての検出処理を行って該外部機器の識別情報を新たにメモリ25aに記憶させた状態(S103参照)となるまで待機する処理と換言できる。
 メモリ25aの記憶情報が変化したと判定した場合、論理回路部25はステップS202に進み、メモリ25aに記憶されている識別情報に対応した接続状態となるように切替部18を制御し、図7Aに示す一連の処理を終える。
 図7Bは、抜去検出に関連した処理である。
 図7Bにおいて、論理回路部25はステップS210で、メモリ25aに対象機器(電子機器5)の識別情報が記憶された状態となるまで待機する処理を行う。そして、メモリ25aに対象機器の識別情報が記憶されていると判定した場合、論理回路部25はステップS211に進み、抜去時の電位変化を検出するまで待機する。先の説明から理解されるように電子機器5の抜去検出は、電位監視部24による電位検出結果信号の値に基づき行うことができる。
 ステップS211で抜去時の電位変化を検出したと判定した場合、論理回路部25はステップS212に進み、非装着時に対応した接続状態となるように切替部18を制御する処理を行う。すなわち、切替部18における「一部端子」についての接続先割り当てが、先の図3で示したようなUSB規格上の非装着時に対応した接続先割り当てとなるように、切替部18を制御する。
 論理回路部25はステップS212の処理を実行したことに応じて図7Bに示す一連の処理を終える。
 図8のシステム制御部15の処理を説明する。
 図8Aは非省電モード時における処理、図8Bは省電モード時における処理である。
 図8Aにおいて、システム制御部15は非省電モード時には、ステップS301で対象入力ポートの入力信号種別を判定する。具体的には、電位監視部24からの電位検出結果信号が入力される入力ポート(対象入力ポート)の入力信号値が、シャッタボタン52aの半押し操作(S1)に対応した値、シャッタボタン52aの全押し操作(S2)に対応した値の何れであるかを判定する。
 対象入力ポートの入力信号値がシャッタボタン52aの半押し操作(S1)に対応した値であった場合、システム制御部15はステップS302のS1処理として、前述した第一シャッタスイッチ信号S1に応じた処理を行い、図8Aに示す一連の処理を終える。
 一方、対象入力ポートの入力信号値がシャッタボタン52aの全押し操作(S2)に対応した値であった場合、システム制御部15はステップS303のS2処理として、前述した第二シャッタスイッチ信号S2に応じた処理を行い、図8Aに示す一連の処理を終える。
 また、システム制御部15は省電モード時においては、図8BにおけるステップS310で、対象入力ポートに復帰信号入力がある、すなわち省電復帰ボタン52bの操作時に対応した値の電位検出結果信号の入力があるまで待機し、復帰信号入力があった場合は、ステップS311で非省電モードへの移行処理を行い、図8Bに示す一連の処理を終える。
<2.第二実施形態>
 図9は、第二実施形態としての電子機器システムの構成例を説明するためのブロック図である。
 なお以下の説明において、既に説明済みとなった部分と同様となる部分については同一符号を付して説明を省略する。
 図示のように第二実施形態としての電子機器システムでは、電子機器1に代えて電子機器1Aが、電子機器5に代えて電子機器5Aが備えられる。
 この場合、アクセサリ機器としての電子機器5Aは、操作部52に代えて操作部52Aが設けられ、機器種別規定部51が省略されると共に、操作部53、信号生成器54、端子制御・通信部55、システム制御部56、及び電源回路57が設けられている。
 また、電子機器1Aは、システム制御部15に代えてシステム制御部15Aが設けられ、アクセサリ機器対応処理部22に代えてアクセサリ機器対応処理部22Aが設けられている。
 システム制御部15Aは、システム制御部15と比較して、ADC152と信号入力ポート153を有する点が異なる。
 なお、図9では電子機器1Aについて、図示の都合から、撮像部11、画像信号処理部12、メモリ部13、表示部14、バス16、操作部17、及び電池20の図示は省略しているが、第二実施形態の電子機器1Aとしてもこれらの各部を電子機器1の場合と同様に備えている。つまり電子機器1Aとしては電子機器1と同様に撮像装置としての構成を採るものである。なお、この点は、後の図11に示す電子機器1Bについても同様である。
 電子機器5Aにおいて、操作部52Aは、操作部52と同様にシャッタボタン52a及び省電復帰ボタン52bを備えるが、プルアップ回路23に対する結線を端子A8のみを介する一本のラインで行うために、内部の配線態様が操作部52の場合とは異なる。
 またこれに関連して、電子機器1A側には、アクセサリ機器対応処理部22に代えてアクセサリ機器対応処理部22Aが設けられる。アクセサリ機器対応処理部22Aは、アクセサリ機器対応処理部22と比較してプルアップ回路23に対する配線態様が異なるものである。
 図10に、操作部52Aにおける配線態様と電子機器1Aにおけるプルアップ回路23に対する配線態様の具体例を示す。
 この場合もプルアップ回路23の正極側端子がUSB接続部10における端子A8と接続される点は第一実施形態の場合と同様となるが、図示のように操作部52Aにおいては、抵抗Rrが端子A8とアースとの間に挿入される。電子機器1Aと電子機器5AのアースはUSB接続部10、50のGNDピンを介して接続されている。この場合、電位監視部24は、端子A8の電位を検出する。
 図9において、電子機器5Aにおける操作部53は、操作部52Aにおけるシャッタボタン52a及び省電復帰ボタン52b以外の操作子を有するものであり、操作子の操作に応じた操作信号を生成する。この操作部53が有する操作子としては、例えばボタン、ダイヤル、スイッチ、タッチセンサ等を挙げることができる。
 本例では、操作部53による操作信号は、端子A1からA12及び端子B1からB12のうち、「一部端子」に属する端子B6及びB7を介して電子機器1A側に伝送する例としている。具体的にこの場合、USB接続部10における端子B6、B7は、システム制御部15Aが有するADC152の第一入力ポート(IN1)、第二入力ポート(IN2)と接続され、操作部53の操作信号はADC152でデジタルサンプリングされてシステム制御部15Aの処理に用いられる。
 電子機器5Aにおける端子制御・通信部55は、端子制御・通信部19と同様に端子制御処理の機能を有するデバイスであり、例えばPDCにより構成される。
 この場合の電子機器システムでは、端子制御・通信部19による電子機器5Aの機器種別の検出処理は、端子制御・通信部19がCC端子としての端子A5、B5を介した端子制御・通信部55との信号通信を行った結果に基づいて行われる。
 システム制御部56は、システム制御部15と同様、マイクロコンピュータを備えて構成され、電子機器5Aの全体制御を行う。
 本例では、このシステム制御部56と、電子機器1Aが備えるシステム制御部15Aとの間のデータ通信を、端子A6(D+)と端子A7(D-)とを介したUSBデータ通信として行うことが可能とされる。具体的に、この場合におけるUSB接続部10の端子A6、A7は、システム制御部15AのUSB通信部151における「D+」のポート、「D-」のポートに接続される。
 信号生成器54は、操作信号以外の所定の信号を生成する。信号生成器54の具体例としては、例えば、現在位置の検出信号を生成するGNSS(Global Navigation Satellite System)センサや、方位を示す方位信号を生成する方位センサ、或いは動画の各フレームの露光タイミングを同期するための信号を生成する信号生成器等を挙げることができる。
 なお、信号生成器54を、動画の各フレームの露光タイミングを同期するための信号を生成する信号生成器とする場合、電子機器5Aの装置形態としては、電子機器1Aとは異なる撮像装置を電子機器1AとUSB接続するためのUSBケーブル中に介装される装置形態を採ることも考えられる。
 本例では、信号生成器54による生成信号を、端子B8を介して電子機器1A側に入力する構成を採る。具体的にこの場合、端子B8はシステム制御部15Aにおける信号入力ポートと接続されるようにする。
 また、電子機器5Aでは、操作部53、信号生成器54、端子制御・通信部55、及びシステム制御部56に給電するための電源回路57が設けられる。本例では、この電源回路57に対する給電が、「一部端子」以外の電源関連端子としての端子A1,A12,B1,B12,A4,A9,B4,B9の一部又は全部を介して電子機器1Aの電源制御部21から行われる。
 電子機器1Aにおける端子制御・通信部19、論理回路部25、システム制御部15Aは、第一実施形態の場合と同様、それぞれ図6、図7、図8に示した処理を実行する。つまりこれにより、第二実施形態の電子機器1Aとしても、第一実施形態で説明した電子機器1が奏する各種効果と同様の効果を奏するものとなる。
 ただしこの場合、電子機器5Aが接続された場合における切替部18による「一部端子」の接続状態としては、図示のように、端子A8がプルアップ回路23に、端子B8が信号入力ポート153に、端子B6、B7がADC152の第一入力ポート(IN1)、第二入力ポート(IN2)に、端子A6、A7がUSB通信部151における「D+」のポート、「D-」のポートにそれぞれ接続されるようにする。
 上記のように第二実施形態の電子機器1Aは、電子機器5Aが有する信号生成器54による生成信号を、「一部端子」のうち端子A8(特定端子)を除く非特定端子(端子A8、B8)を介して入力するものとされる。
 これにより、信号生成器54を有する電子機器5Aが接続された場合に、生成信号が示す情報を撮像画像のメタ情報として記録したり、他の撮像装置間で撮像画像の同期を図ったりする等、利便性の高い撮像システムの実現化を図ることができる。
 なお、上記では第二実施形態について、電子機器5Aにおける操作部53による操作信号を端子B6、B7を介して電子機器1Aのシステム制御部15Aに入力する構成例を示したが、操作部53による操作信号は、例えば図11に示すように、電子機器5Aのシステム制御部56→端子制御・通信部55→端子A5→端子制御・通信部19を経由してシステム制御部15Aに入力することもできるし、或いは図12に示すように、システム制御部56→端子A6を経由してシステム制御部15Aに入力することもできる。
<3.変形例>
 なお、実施形態としては上記により説明した具体例に限定されるものではなく、多様な変形例としての構成を採り得る。
 例えば、上記では、電子機器5、5Aとして例示したように、撮像装置としての電子機器1(又は1A)に操作信号等の信号入力を行うアクセサリ機器を例示したが、実施形態のアクセサリ機器としては、図13で例示する電子機器5Bのような、フラッシュ発光機器としてのアクセサリ機器とすることもできる。
 図13において、電子機器5Bは、電子機器5Aと比較して、操作部52A、信号生成器54、及び操作部53が省略された代わりに、フラッシュ制御部58及びフラッシュ発光管59を備える点が異なる。また、電子機器5Bでは、図示のように端子A8とアースとの間に抵抗Rrが挿入されている。
 フラッシュ制御部58はフラッシュ発光管59の発光駆動制御を行う。この場合、電源回路57は、端子制御・通信部55及びシステム制御部56のみでなく、フラッシュ制御部58に対する電力供給も行う。
 電子機器1Bは、電子機器1と比較して、システム制御部15に代えてシステム制御部15Bが、アクセサリ機器対応処理部22に代えてアクセサリ機器対応処理部22Bが設けられた点が異なる。
 システム制御部15Bは、USB通信部151と共に発光タイミング生成部154を有する。発光タイミング生成部154は、フラッシュの発光タイミングを示す発光タイミング信号を生成する。
 図示のように本例では、発光タイミング生成部154が生成した発光タイミング信号は、端子B6を介してフラッシュ制御部58に入力されるようにしている。
 アクセサリ機器対応処理部22Bは、電位監視部24に代えて電位監視部24Bを有する点が異なる。アクセサリ機器対応処理部22Bでは、プルアップ回路23が、端子A8を介して抵抗Rrに通電し、電位監視部24Bは、端子A8の電位を検出する。この場合、電子機器5Bでは操作部52Aが省略されているため、電子機器5Aの場合のような操作に応じた端子A8の電位変化は生じない。従ってこの場合の電位監視部24Bは、電子機器5Bの抜去検出に用いられる。また、電子機器5Bに対する操作に応じた信号をシステム制御部15Bに供給する必要もないため、図示のように電位監視部24Bには、システム制御部15Bに対する検出信号の出力ラインは設けられない。
 この場合における端子制御・通信部19、論理回路部25は、第一実施形態の場合と同様、それぞれ図6、図7に示した処理を実行する。つまりこれにより、変形例としての電子機器1Bとしても、第一実施形態の電子機器1が図6及び図7に示す処理を実行することで奏する各種効果と同様の効果を奏するものとなる。
 この場合、電子機器5Bが接続された場合における切替部18による「一部端子」の接続状態としては、図示のように、端子A8がプルアップ回路23に、端子A6、A7がUSB通信部151における「D+」のポート、「D-」のポートに、端子B6が発光タイミング生成部154にそれぞれ接続されるようにする。
 ここで、これまでの説明では、アクセサリ装置が接続される電子機器が撮像装置として構成された例を示したが、該電子機器としては、例えばオーディオ機器、スマートフォンやタブレット端末、ノート型PC(パーソナルコンピュータ)等の可搬型の情報処理装置等、撮像装置以外の装置形態を採り得るものである。
 また、アクセサリ装置が接続される電子機器としては、電池駆動の電子機器に限らず、外部電源型の電子機器(外部電源からの供給電力により駆動される電子機器)であることも想定される。
 また、アクセサリ機器としての電子機器が有する操作子としては、シャッタ操作以外の他操作を行うための操作子とされることが考えられる。
 また、これまでの説明では、外部機器のUSB端子が表向き接続される前提で説明を行ったが、本技術は、USB端子が裏向き接続される場合にも適用できるものである。
 一例として、図14は、電子機器1に対して電子機器5のUSB端子部が裏向き接続された場合を、図15は電子機器1Aに対し電子機器5AのUSB端子部が裏向き接続された場合を示している。図14の例は、端子部を裏返して接続しても内部的に等価で回路が変わらない例となる。一方で図15の例は、端子部を裏返して接続した場合に一部端子については内部的に等価で回路が変わらないものとなるが、他の一部の端子は表向き接続の場合と等価にならない。この場合には図示のように、切替部18の制御により、表向き接続の場合と等価となるように該当する端子の接続先を制御する。
<4.実施形態のまとめ>
 上記のように実施形態としての第一態様の電子機器(同1,1A,1B)は、外部機器を電気的に接続するための複数の端子を有する接続部(USB接続部10)と、複数の端子のうち一部端子の機器内における接続先を切り替え可能な切替部(同18)と、接続部における一部端子以外の所定端子(端子A5、B5:CC端子)を介した外部機器との信号通信により外部機器の機器種別を検出し、一部端子が、検出した機器種別に応じた接続先に接続されるように切替部を制御することが可能に構成された切替制御部(端子制御・通信部19)と、外部機器が、接続部における一部端子のうち特定端子(端子B8及び端子A8、又は端子A8)と接続される特定被接続端子に抵抗素子が接続された特定外部機器(電子機器5,5A,5B)である場合に、特定端子の接続先として接続されて特定端子及び特定被接続端子を介して抵抗素子(抵抗Rr)に通電する通電部(プルアップ回路23)と、特定端子の電位検出結果に基づいて特定外部機器の状態検出を行う電子回路部(電位監視部24,24B、及び論理回路部25)と、を備えたものである。
 上記構成によれば、通電部が特定端子の接続先として接続された以降は、電子機器が省電状態とされて切替制御部のマイコンが休止状態とされても、電子回路部により特定外部機器の状態検出を行うことが可能となる。すなわち、省電状態下において特定外部機器に対するユーザ操作が行われたり特定外部機器が抜去されたりしても、それらの検出を行うことが可能となる。
 従って、電子機器の消費電力削減と外部機器の使い勝手向上との両立を図ることができる。
 確認のため述べておくと、従来アクセサリ機器は電子機器との接続のために専用の接続端子を設けることを要するが、本実施形態では、USB端子等の既存端子によりアクセサリ機器を接続できるため専用端子を省略可能となり、電子機器の小型軽量化や、部品レイアウトの自由度向上等を図ることができる。
 また、実施形態としての第一態様の電子機器においては、特定外部機器には、ユーザ操作に連動して抵抗素子との合成抵抗値を変化させる可変抵抗回路(同52x)が設けられ、特定端子の電位検出結果を特定外部機器からの操作入力情報として受け付けるシステム制御部(同15,15A)を備えている。
 これにより、特定外部機器に対するユーザ操作に応じて、システム制御部が省電状態から非省電状態に移行する処理を行ったり、非省電状態への移行後において例えばレリーズ指示操作等の特定の動作指示操作に応じた処理を行ったりすることが可能となる。
 従って、特定外部機器に対するユーザ操作に応じて省電状態から非省電状態への復帰を可能としたり、省電状態からの復帰後も引き続き特定外部機器による動作指示操作を可能としたりするという従来アクセサリ機器と同様の仕様を実現することができ、電子機器の消費電力削減と外部機器の使い勝手向上との両立を図ることができる。
 さらに、実施形態としての第一態様の電子機器においては、システム制御部は、省電状態下において特定端子の電位が所定の電位条件を満たすことを検出したことに応じて非省電状態に移行する処理を行っている(図8B参照)。
 これにより、特定外部機器に対するユーザ操作に応じて省電状態から非省電状態への復帰を行うことができ、従来アクセサリ機器と同様の仕様を実現して、電子機器の消費電力削減と外部機器の使い勝手向上との両立を図ることができる。
 さらにまた、実施形態としての第一態様の電子機器においては、論理回路部が読み出し可能なメモリ部(メモリ25a)を備え、切替制御部は、検出した機器種別が特定外部機器の機器種別であった場合に、メモリ部に対し特定外部機器の機器種別を示す識別情報を記憶させ、論理回路部は、メモリ部に特定外部機器の機器種別を示す識別情報が記憶されていることに応じて、切替部による一部端子の接続状態が、特定外部機器に応じた接続状態となるように切替部を制御している(図7参照)。
 上記構成によれば、特定電子機器が接続されたまま省電状態に移行後、非省電状態に復帰された場合において、切替部における端子接続状態を特定電子機器の機器種別に応じた端子接続状態で維持させることが可能となる。
 従って、特定電子機器が接続されたまま省電状態から非省電状態に復帰された場合に、特定電子機器からの操作入力信号の信号入力を速やかに行うことができ、外部機器の使い勝手向上を図ることができる。
 さらに、実施形態としての第一態様の電子機器においては、電子回路部は、省電状態下において特定端子の電位検出結果に基づき特定外部機器の抜去検出を行うと共に、当該抜去検出に応じて、切替部による一部端子の接続状態が、外部機器の非装着時の接続状態として規格上規定された非装着時接続状態となるように切替部を制御している(図7参照)。
 これにより、省電状態下において特定外部機器が抜去された場合には、切替部による一部端子の接続状態が規格上定められた非装着時接続状態、すなわち、充電アダプタからの給電が可能な接続状態となるように切替部が制御される。
 従って、ユーザが電子機器の省電状態下において特定外部機器を抜去した上で、充電アダプタを接続して電子機器の充電を行いたいとした場合において、非省電状態に復帰させるための電子機器に対する操作をユーザに行わせる必要がなくなる。すなわち、省電状態下での特定外部機器抜去後における充電アダプタを用いた電子機器の充電がスムーズに行われるように図ることができる。
 さらにまた、実施形態としての第一態様の電子機器においては、電池駆動の電子機器とされている。
 すなわち、電池を電源として動作可能に構成された電子機器である。
 これにより、電池駆動の電子機器について、消費電力削減による電子機器の使用可能時間延長化を図りながら、外部機器の使い勝手向上を図ることができる。
 また、実施形態としての第一態様の電子機器においては、被写体の撮像画像を得る撮像部(同11)を備えた撮像装置とされている。
 これにより、撮像装置としての電子機器について、電子機器の消費電力削減と外部機器の使い勝手向上との両立を図ることができる。
 さらに、実施形態としての第一態様の電子機器においては、特定外部機器がシャッタボタンを備えたアクセサリ機器とされている。
 これにより、リモートレリーズ用のアクセサリ機器やバッテリグリップ等のシャッタボタン操作が可能なアクセサリ機器について、使い勝手向上を図ることができる。
 さらにまた、実施形態としての第一態様の電子機器においては、特定外部機器がフラッシュ発光機器とされている。
 これにより、フラッシュ発光機器としてのアクセサリ機器について、使い勝手向上を図ることができる。
 また、実施形態としての第一態様の電子機器においては、特定外部機器が有する信号生成器(同24)による生成信号を、一部端子のうち特定端子を除く非特定端子を介して入力している。
 信号生成器の例としては、例えば現在位置の検出信号を生成するGNSSセンサや、方位を示す方位信号を生成する方位センサ、或いは動画の各フレームの露光タイミングを同期するための信号を生成する信号生成器等を挙げることができる。
 上記構成によれば、このような信号生成器を有する特定外部機器が接続された場合に、生成信号が示す情報を撮像画像のメタ情報として記録したり、他の撮像装置間で撮像画像の同期を図ったりする等、利便性の高い撮像システムの実現化を図ることができる。
 さらに、実施形態としての第一態様の電子機器においては、接続部は、USB Type-C規格に対応した端子配列を有している。
 これにより、特定外部機器をUSB端子を介して接続可能な電子機器を実現することができ、特定外部機器を用いた機能の実現にあたり専用端子を設ける必要をなくすことが可能となり、電子機器の小型軽量化や部品レイアウトの自由度向上を図ることができる。
 実施形態としての第二態様の電子機器は、外部機器を電気的に接続するための複数の端子を有する接続部と、複数の端子のうち一部端子の機器内における接続先を切り替え可能な切替部と、接続部における一部端子以外の所定端子を介した外部機器との信号通信により外部機器の機器種別を検出し、一部端子が、検出した機器種別に応じた接続先に接続されるように切替部を制御することが可能に構成された切替制御部と、を備えた第一電子機器と接続部を介して電気的に接続される電子機器であって、接続部における一部端子のうち特定端子と接続される特定被接続端子と、特定被接続端子に接続された抵抗素子と、を備え、第一電子機器と接続部を介して電気的に接続された場合に、第一電子機器から特定端子及び特定被接続端子を介して抵抗素子に通電されるものである。
 このような第二態様の電子機器により、第一電子機器は、省電状態とされて切替制御部のマイコンが休止状態とされても、特定外部機器の状態検出を行うことが可能となる。すなわち、第一電子機器は、省電状態下において第二態様の電子機器に対するユーザ操作が行われたり第二態様の電子機器が抜去されたりしても、それらの検出を行うことが可能となる。
 従って、第一電子機器としての対象電子機器について、電子機器の消費電力削減と外部機器の使い勝手向上との両立を図ることができる。
 なお、本明細書に記載された効果はあくまでも例示であって限定されるものではなく、また他の効果があってもよい。
<5.本技術>
 なお本技術は以下のような構成も採ることができる。
(1)
 外部機器を電気的に接続するための複数の端子を有する接続部と、
 前記複数の端子のうち一部端子の機器内における接続先を切り替え可能な切替部と、
 前記接続部における前記一部端子以外の所定端子を介した前記外部機器との信号通信により前記外部機器の機器種別を検出し、前記一部端子が、検出した機器種別に応じた接続先に接続されるように前記切替部を制御することが可能に構成された切替制御部と、
 前記外部機器が、前記接続部における前記一部端子のうち特定端子と接続される特定被接続端子に抵抗素子が接続された特定外部機器である場合に、前記特定端子の接続先として接続されて前記特定端子及び前記特定被接続端子を介して前記抵抗素子に通電する通電部と、
 前記特定端子の電位検出結果に基づいて前記特定外部機器の状態検出を行う電子回路部と、を備えた
 電子機器。
(2)
 前記特定外部機器には、ユーザ操作に連動して前記抵抗素子との合成抵抗値を変化させる可変抵抗回路が設けられ、
 前記特定端子の電位検出結果を前記特定外部機器からの操作入力情報として受け付けるシステム制御部を備えた
 前記(1)に記載の電子機器。
(3)
 前記システム制御部は、省電状態下において前記特定端子の電位が所定の電位条件を満たすことを検出したことに応じて非省電状態に移行する処理を行う
 前記(2)に記載の電子機器。
(4)
 前記論理回路部が読み出し可能なメモリ部を備え、
 前記切替制御部は、前記検出した機器種別が前記特定外部機器の機器種別であった場合に、前記メモリ部に対し前記特定外部機器の機器種別を示す識別情報を記憶させ、
 前記論理回路部は、
 前記メモリ部に前記特定外部機器の機器種別を示す識別情報が記憶されていることに応じて、前記切替部による前記一部端子の接続状態が、前記特定外部機器に応じた接続状態となるように前記切替部を制御する
 前記(1)から(3)の何れかに記載の電子機器。
(5)
 前記電子回路部は、省電状態下において前記特定端子の電位検出結果に基づき前記特定外部機器の抜去検出を行うと共に、当該抜去検出に応じて、前記切替部による前記一部端子の接続状態が、前記外部機器の非装着時の接続状態として規格上規定された非装着時接続状態となるように前記切替部を制御する
 前記(1)から(4)の何れかに記載の電子機器。
(6)
 電池駆動の電子機器とされた
 前記(1)から(5)の何れかに記載の電子機器。
(7)
 被写体の撮像画像を得る撮像部を備えた撮像装置とされた
 前記(1)から(6)の何れかに記載の電子機器。
(8)
 前記特定外部機器がシャッタボタンを備えたアクセサリ機器とされた
 前記(7)に記載の電子機器。
(9)
 前記特定外部機器がフラッシュ発光機器とされた
 前記(7)に記載の電子機器。
(10)
 前記特定外部機器が有する信号生成器による生成信号を、前記一部端子のうち前記特定端子を除く非特定端子を介して入力する
 前記(7)から(9)の何れかに記載の電子機器。
(11)
 前記接続部は、USB Type-C規格に対応した端子配列を有する
 前記(1)から(10)の何れかに記載の電子機器。
(12)
 外部機器を電気的に接続するための複数の端子を有する接続部と、前記複数の端子のうち一部端子の機器内における接続先を切り替え可能な切替部と、前記接続部における前記一部端子以外の所定端子を介した前記外部機器との信号通信により前記外部機器の機器種別を検出し、前記一部端子が、検出した機器種別に応じた接続先に接続されるように前記切替部を制御することが可能に構成された切替制御部と、を備えた第一電子機器と前記接続部を介して電気的に接続される電子機器であって、
 前記接続部における前記一部端子のうち特定端子と接続される特定被接続端子と、
 前記特定被接続端子に接続された抵抗素子と、を備え、
 前記第一電子機器と前記接続部を介して電気的に接続された場合に、前記第一電子機器から前記特定端子及び前記特定被接続端子を介して前記抵抗素子に通電される
 電子機器。
1,1A,1B 電子機器(第一の電子機器)
5,5A,5B 電子機器(第二の電子機器)
10 USB接続部
11 撮像部
15,15A,15B システム制御部
151 USB通信部
152 ADC
153 信号入力ポート
154 発光タイミング生成部
18 切替部
19 端子制御・通信部
20 電池
21 電源制御部
22,22A,22B アクセサリ機器対応処理部
23 プルアップ回路
24,24B 電位監視部
25 論理回路部
25a メモリ
50 USB接続部
51 機器種別規定部
52,52A 操作部
52a シャッタボタン
52b 省電復帰ボタン
52x 可変抵抗回路
Rr,R1,R2,R3 抵抗
SW1,SW2,SW3 スイッチ
53 操作部
54 信号生成器
55 端子制御・通信部
56 システム制御部
57 電源回路
58 フラッシュ制御部
59 フラッシュ発光管

Claims (12)

  1.  外部機器を電気的に接続するための複数の端子を有する接続部と、
     前記複数の端子のうち一部端子の機器内における接続先を切り替え可能な切替部と、
     前記接続部における前記一部端子以外の所定端子を介した前記外部機器との信号通信により前記外部機器の機器種別を検出し、前記一部端子が、検出した機器種別に応じた接続先に接続されるように前記切替部を制御することが可能に構成された切替制御部と、
     前記外部機器が、前記接続部における前記一部端子のうち特定端子と接続される特定被接続端子に抵抗素子が接続された特定外部機器である場合に、前記特定端子の接続先として接続されて前記特定端子及び前記特定被接続端子を介して前記抵抗素子に通電する通電部と、
     前記特定端子の電位検出結果に基づいて前記特定外部機器の状態検出を行う電子回路部と、を備えた
     電子機器。
  2.  前記特定外部機器には、ユーザ操作に連動して前記抵抗素子との合成抵抗値を変化させる可変抵抗回路が設けられ、
     前記特定端子の電位検出結果を前記特定外部機器からの操作入力情報として受け付けるシステム制御部を備えた
     請求項1に記載の電子機器。
  3.  前記システム制御部は、省電状態下において前記特定端子の電位が所定の電位条件を満たすことを検出したことに応じて非省電状態に移行する処理を行う
     請求項2に記載の電子機器。
  4.  前記論理回路部が読み出し可能なメモリ部を備え、
     前記切替制御部は、前記検出した機器種別が前記特定外部機器の機器種別であった場合に、前記メモリ部に対し前記特定外部機器の機器種別を示す識別情報を記憶させ、
     前記論理回路部は、
     前記メモリ部に前記特定外部機器の機器種別を示す識別情報が記憶されていることに応じて、前記切替部による前記一部端子の接続状態が、前記特定外部機器に応じた接続状態となるように前記切替部を制御する
     請求項1に記載の電子機器。
  5.  前記電子回路部は、省電状態下において前記特定端子の電位検出結果に基づき前記特定外部機器の抜去検出を行うと共に、当該抜去検出に応じて、前記切替部による前記一部端子の接続状態が、前記外部機器の非装着時の接続状態として規格上規定された非装着時接続状態となるように前記切替部を制御する
     請求項1に記載の電子機器。
  6.  電池駆動の電子機器とされた
     請求項1に記載の電子機器。
  7.  被写体の撮像画像を得る撮像部を備えた撮像装置とされた
     請求項1に記載の電子機器。
  8.  前記特定外部機器がシャッタボタンを備えたアクセサリ機器とされた
     請求項7に記載の電子機器。
  9.  前記特定外部機器がフラッシュ発光機器とされた
     請求項7に記載の電子機器。
  10.  前記特定外部機器が有する信号生成器による生成信号を、前記一部端子のうち前記特定端子を除く非特定端子を介して入力する
     請求項7に記載の電子機器。
  11.  前記接続部は、USB Type-C規格に対応した端子配列を有する
     請求項1に記載の電子機器。
  12.  外部機器を電気的に接続するための複数の端子を有する接続部と、前記複数の端子のうち一部端子の機器内における接続先を切り替え可能な切替部と、前記接続部における前記一部端子以外の所定端子を介した前記外部機器との信号通信により前記外部機器の機器種別を検出し、前記一部端子が、検出した機器種別に応じた接続先に接続されるように前記切替部を制御することが可能に構成された切替制御部と、を備えた第一電子機器と前記接続部を介して電気的に接続される電子機器であって、
     前記接続部における前記一部端子のうち特定端子と接続される特定被接続端子と、
     前記特定被接続端子に接続された抵抗素子と、を備え、
     前記第一電子機器と前記接続部を介して電気的に接続された場合に、前記第一電子機器から前記特定端子及び前記特定被接続端子を介して前記抵抗素子に通電される
     電子機器。
PCT/JP2023/033866 2022-10-06 2023-09-19 電子機器 WO2024075505A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022-161743 2022-10-06
JP2022161743 2022-10-06

Publications (1)

Publication Number Publication Date
WO2024075505A1 true WO2024075505A1 (ja) 2024-04-11

Family

ID=90607921

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/033866 WO2024075505A1 (ja) 2022-10-06 2023-09-19 電子機器

Country Status (1)

Country Link
WO (1) WO2024075505A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170293335A1 (en) * 2016-04-08 2017-10-12 Robert A. Dunstan Adjustable power delivery apparatus for universal serial bus (usb) type-c
JP2019220088A (ja) * 2018-06-22 2019-12-26 キヤノン株式会社 出力装置及びその制御方法、表示装置、表示システム、並びにプログラム
JP2022074531A (ja) * 2020-11-04 2022-05-18 キヤノン株式会社 電子機器および制御方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170293335A1 (en) * 2016-04-08 2017-10-12 Robert A. Dunstan Adjustable power delivery apparatus for universal serial bus (usb) type-c
JP2019220088A (ja) * 2018-06-22 2019-12-26 キヤノン株式会社 出力装置及びその制御方法、表示装置、表示システム、並びにプログラム
JP2022074531A (ja) * 2020-11-04 2022-05-18 キヤノン株式会社 電子機器および制御方法

Similar Documents

Publication Publication Date Title
JP4125328B2 (ja) 電子機器、電子機器による周辺機器の制御方法、プログラム及び記憶媒体
US9047073B2 (en) System method for detecting a type of device wherein a potential level of the device determines if power should be supplied based on the type of the device
US11736790B2 (en) Electronic device and control method
JP6132229B2 (ja) 電子機器
JP5058083B2 (ja) インタフェース装置
JP2012231613A (ja) 画像処理装置
JP2018033244A (ja) 電子機器およびその制御方法
JP2018045607A (ja) 電子機器及び電子機器の制御方法
JP2015007961A (ja) 電子機器及び撮像装置
WO2024075505A1 (ja) 電子機器
JP7247662B2 (ja) 電源を備える電子機器及び電源を備える電子機器が実行する方法
JP2013080392A (ja) 携帯装置のusb充電
US11322970B2 (en) Device with power-off charging capability
JP2017045086A (ja) 電子機器及び制御方法
JP2021026343A (ja) 電子機器
JP2006115656A (ja) 電子機器の電源制御方法
US20230176642A1 (en) Electronic apparatus, method of controlling the same and non-transitory computer-readable storage medium
JP7387420B2 (ja) アクセサリ装置、撮像装置、および制御方法
JP2007251536A (ja) 携帯型電子機器、充電制御方法及びプログラム
JP2006085248A (ja) ホスト機能を有する携帯機器
JP7076994B2 (ja) 電子機器およびその制御方法
JP2019200883A (ja) 電子機器
JP2010262216A (ja) 電源制御回路及び電子機器
JP4407381B2 (ja) 電子機器および電源切り換え方法
WO2019198352A1 (ja) 電子機器及び電子機器の制御方法、プログラム