Electronic device, control method, and program

The electronic device authenticates accessory devices and batteries using communication and control units to ensure safe operation by allowing or restricting charging and discharging based on authentication results.

JP7558678B2Active Publication Date: 2024-10-01CANON KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020079376
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-04-28
Publication Date
2024-10-01
Estimated Expiration
2040-04-28

AI Technical Summary

Technical Problem

Existing electronic devices cannot authenticate accessory devices or batteries connected to them, leading to potential malfunctions and safety risks.

Method used

The electronic device includes communication means to authenticate accessory devices and batteries through a first and second authentication unit, controlling charging and discharging based on authentication results.

Benefits of technology

Enables secure authentication of accessory devices and batteries, ensuring safe operation and preventing unauthorized charging or discharging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007558678000001
    Figure 0007558678000001
  • Figure 0007558678000002
    Figure 0007558678000002
  • Figure 0007558678000003
    Figure 0007558678000003
Patent Text Reader

Abstract

To make it possible to authenticate an accessory apparatus and a battery connected to the same.SOLUTION: An electronic apparatus includes: communication means for communicating with an external apparatus or a battery connected to the external apparatus; first authentication means for performing authentication processing for authenticating whether or not the external apparatus is a predetermined external apparatus; second authentication means for performing authentication processing for authenticating whether or not the battery connected to the external apparatus is a predetermined battery; and charging means for charging the battery connected to the external apparatus. When failing to authenticate that the external apparatus is the predetermined external apparatus, the electronic apparatus permits discharge of the battery connected to the external apparatus is permitted regardless of whether or not the battery connected to the external apparatus is the predetermined battery, and restricts charging of the battery connected to the external apparatus.SELECTED DRAWING: Figure 1B
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an electronic device capable of authenticating whether an accessory device is a predetermined accessory device, and a control method and program thereof. [Background technology]

[0002] Patent Document 1 describes an electronic device that performs battery authentication. [Prior art documents] [Patent documents]

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

[0004] However, in Patent Document 1, the electronic device can authenticate the battery connected to the electronic device, but cannot authenticate the accessory device (such as a battery grip) connected to the electronic device, nor can it authenticate the device connected to the accessory device. SUMMARY OF THE PRESENT EMBODIMENTS Accordingly, an object of the present invention is to make it possible to authenticate an accessory device and a battery connected to the accessory device. [Means for solving the problem]

[0005] The electronic device according to the present invention comprises a communication means for communicating with an external device or a battery connected to the external device, a first authentication means for performing an authentication process to authenticate whether or not the external device is a predetermined external device by communicating with the communication means, a second authentication means for performing an authentication process to authenticate whether or not the battery connected to the external device is a predetermined battery by communicating with the communication means, and a charging means for charging the battery connected to the external device. 、If the external device cannot be authenticated as the specified external device, discharging of the battery connected to the external device is permitted but charging of the battery connected to the external device is restricted, regardless of whether the battery connected to the external device is the specified battery or not. and a control means for controlling the . Effect of the Invention

[0006] According to the present invention, it is possible to perform authentication of the accessory device and authentication of the battery connected to the accessory device. [Brief description of the drawings]

[0007] [Figure 1A] 1 is a block diagram for explaining components of an electronic device 100 according to a first embodiment. [Figure 1B] 2 is a block diagram for explaining components of the accessory device 200 in the first embodiment. FIG. [Figure 2A] 1 is an external view of an electronic device 100. FIG. [Figure 2B] 1 is an external view of an electronic device 100. FIG. [Figure 2C] FIG. 2 is an external view of the accessory device 200. [Figure 2D] 1 is a diagram showing an example of a connection between an electronic device 100 and a power supply device 300. FIG. [Figure 2E] 1 is a diagram showing an example of connections between an electronic device 100, an accessory device 200, and a power supply device 300. FIG. [Figure 3A] 1 is a flowchart for explaining a process performed by electronic device 100. [Figure 3B] 1 is a flowchart for explaining a process performed by electronic device 100. [Figure 4] 11 is a diagram showing an example of battery information displayed on a display unit 107c of the electronic device 100. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, an embodiment of the present invention will be described with reference to the drawings, however, the present invention is not limited to the following embodiment.

[0009] [Embodiment 1] The components of an electronic device 100 according to the first embodiment and an accessory device 200 as an external device connected to the electronic device 100 will be described with reference to FIGS. 1A and 1B.

[0010] 1A, components of the electronic device 100 will be described. The electronic device 100 is, for example, an electronic device that can operate as a digital camera. A battery 160 can be connected to the electronic device 100.

[0011] The USB (Universal Serial Bus) connector 101 is a receptacle-shaped USB connector. In the first embodiment, the USB connector 101 is, for example, a USB Type-C connector.

[0012] The power switch 103 is a switch for turning on or off the power supply from VBUS, and is a switch for controlling the power supply from VBUS to the components of the electronic device 100. By turning the power switch 103 off, a low power consumption state that satisfies the power consumption regulation defined by the USB standard can be realized. In addition, by turning the power switch 103 off when an overvoltage is applied, the power switch 103 is controlled so that the overvoltage is not applied to a downstream circuit. In the first embodiment, as an example, the PD communication unit 102 described later controls the power switch 103.

[0013] The PD communication unit 102 is connected to a communication terminal of the USB connector 101, and can execute data communication based on the USB PD (Power Delivery) standard with an IC built into an external USB adapter and a USB cable. In the first embodiment, the PD communication unit 102 is connected to a CC terminal of the USB connector 101, as an example. The PD communication unit 102 also determines whether the connected USB adapter and USB cable are compatible with the USB PD standard. The PD communication unit 102 performs negotiation communication based on a communication protocol of the USB PD standard, and requests the external USB adapter to supply desired power. Here, the USB adapter has been described as an example, but the power supply device may be a mobile battery, a PC (personal computer), a tablet, or the like.

[0014] The charging control unit 104 can charge the battery 160 using USB power supplied from the USB connector 101. The charging control unit 104 can also supply the USB power supplied from the USB connector 101 to the power supply unit 105 to operate the electronic device 100. While operating the electronic device 100 using the USB power, the battery 160 can be charged using surplus power. In the electronic device 100, the control unit 150 described later communicates with the charging control unit 104 and performs necessary settings to perform charging control.

[0015] The power supply unit 105 is a power supply unit configured with a DC / DC converter, etc. The power generated by the power supply unit 105 is supplied to each circuit block of the electronic device 100. For the sake of explanation, the power supply unit 105 is shown as one unit in the figure, but may be configured with multiple power supply circuits.

[0016] The display unit 107 is a display unit configured with an LCD (liquid crystal display), an LED (light emitting diode), a dot matrix liquid crystal, etc. The display unit 107 is used to display the status of the electronic device 100, display images, display a menu screen, etc. The operation unit 108 is an operation unit configured with buttons, a touch panel, etc. The operation unit 108 is used for device control of the electronic device 100. The memory 109 is used to store the control program, image data, etc. of the electronic device 100.

[0017] The battery holder 106 is a battery chamber for connecting the battery 160 to the electronic device 100. Through the communication line 111, the control unit 150 can communicate with the microcomputer in the battery 160 and can obtain the remaining battery charge and information necessary for charging control. Information necessary for charging control includes, for example, temperature information within the battery, charging status such as charging completion, overvoltage, and overcurrent, and cell voltage. An accessory device 200, which will be described later, can also be connected to the battery holder 106, and power can be supplied from a battery connected to the accessory device 200.

[0018] The control unit 150 controls each component of the electronic device 100. The control unit 150 has a first authentication unit 151 and a second authentication unit 152. The first authentication unit 151 performs an authentication process to authenticate whether or not the accessory device 200 is a predetermined accessory device (genuine accessory device) by communicating with an authentication unit in the accessory device 200 connected to the electronic device 100. The second authentication unit 152 performs an authentication process to authenticate whether or not the battery 160 is a predetermined battery (genuine battery) by communicating with an authentication unit 161 in the battery 160.

[0019] The connection unit 110 is a connector that fits when the accessory device 200 is connected to the electronic device 100. The control unit 250 and the control unit 150 in the accessory device 200 connected to the connection unit 110 can communicate with each other via a signal line 112.

[0020] Next, components of the accessory device 200 as an external device connected to the electronic device 100 will be described with reference to Fig. 1B. The accessory device 200 is, for example, an electronic device that operates as a battery grip. A battery 260 and a battery 270 can be connected to the accessory device 200.

[0021] The connection unit 201 is a connection unit with the electronic device 100, and has a shape that fits into the battery holder 106. Power from the battery 260 or 270 connected to the accessory device 200 is supplied to the electronic device 100 via the connection unit 201. The connection unit 201 also includes a communication line 211 with the battery 260 or 270 in order to acquire battery information of the battery 260 or 270 connected to the accessory device 200.

[0022] The connection unit 210 is a connection unit for connecting to the electronic device 100, and has a shape that fits with the connection unit 110 of the electronic device 100. The connection unit 210 includes a communication line 212 between the control unit 150 and the control unit 250.

[0023] The power switch 202 is disposed between the connection unit 201 and the battery holder 205, and is a power switch for supplying power from the battery 260 connected to the battery holder 205 to the electronic device 100. The power switch 202 is also turned on or off when receiving power from the USB connector 101 of the electronic device 100 to charge the battery 260 connected to the accessory device 200. The control for turning the power switch 202 on or off is performed by the control unit 250 based on control from the control unit 150 of the electronic device 100 via the communication lines 112 and 212.

[0024] The power switch 203 is disposed between the connection unit 201 and the battery holder 206, and is a power switch for supplying power from a battery 270 connected to the battery holder 206 to the electronic device 100. The power switch 203 is also turned on or off when receiving power from the USB connector 101 of the electronic device 100 to charge the battery 270 connected to the accessory device 200. The control for turning the power switch 203 on or off is performed by the control unit 250 based on control from the control unit 150 of the electronic device 100 via the communication lines 112 and 212.

[0025] The switching circuit 204 is a circuit for switching the communication line between the control unit 150 of the electronic device 100 and the target battery. The switching circuit 204 is disposed between the connection unit 201 and the battery holder 205 and battery holder 206. The switching circuit 204 is controlled by the control unit 250 based on the control from the control unit 150 of the electronic device 100 via the communication lines 112 and 212.

[0026] When the control unit 150 of the electronic device 100 wishes to communicate with a microcomputer in a battery 260 connected to the accessory device 200, it controls the switching circuit 204 to connect the communication line 211 and the communication line 211(a). The second authentication unit 152 of the control unit 150 communicates with an authentication unit 261 in the battery 260, thereby authenticating whether or not the battery 260 is a specified battery (a genuine battery).

[0027] Furthermore, when the control unit 150 of the electronic device 100 wishes to communicate with a microcomputer in a battery 270 connected to the accessory device 200, it controls the switching circuit 204 to connect the communication line 211 and the communication line 211(b). The second authentication unit 152 of the control unit 150 communicates with an authentication unit 271 in the battery 270, thereby authenticating whether or not the battery 270 is a specified battery (a genuine battery).

[0028] The first authentication unit 151 of the control unit 150 of the electronic device 100 can authenticate whether the accessory device 200 is a specified accessory device (a genuine accessory device) by communicating with the authentication unit 207 via the control unit 250 of the accessory device 200.

[0029] The memory 208 is used to store a control program for the accessory device 200. The display unit 209 is composed of an LED or the like, and is used to indicate the charging status of the batteries (260, 270) connected to the accessory device 200.

[0030] 2A and 2B are external views of the electronic device 100. In the first embodiment, the USB connector 101 is a USB Type-C connector. The display unit 107a is a display unit of the electronic device 100 and is composed of a dot matrix liquid crystal or the like. For example, information on the shooting mode, shooting conditions, remaining battery power, charging state of the battery, and the like are displayed by the display unit 107a. The display unit 107b is a display unit of the electronic device 100 and is composed of an LED or the like. For example, the charging state of the connected battery is displayed by the display unit 107b. As an example, a green LED is lit to indicate that charging is in progress, a green LED is blinking to indicate a charging error, and an LED is turned off to indicate that charging is complete. The display unit 107c is a display unit of the electronic device 100 and is composed of an LCD or the like. For example, a live view image or a captured image generated by the electronic device 100, menu information, charging state of a battery connected to the electronic device 100 or the accessory device 200, and the like are displayed by the display unit 107c.

[0031] A battery is connected to the battery holder 106. The battery holder 106 is shaped to fit the accessory device 200 as described below. The operation unit 108 is an operation unit of the electronic device 100 and is composed of a dial, buttons, etc. The operation unit 108 is used to control the electronic device 100. For example, the user controls the electronic device 100 by operating the operation unit 108 while looking at a message screen for the user displayed on the display unit 107c.

[0032] FIG. 2C is an external view of the accessory device 200. As shown in FIG.

[0033] The connection unit 201 is a connection unit with the electronic device 100, and has a shape that fits into the battery holder 106 of the electronic device 100. For example, power from a battery connected to the accessory device 200 is supplied to the electronic device 100 via the connection unit 201. In addition, a communication line for communicating with the connected battery is also connected via the connection unit 201.

[0034] The connection unit 210 is a connection unit with the electronic device 100, and has a shape that fits into the connection unit 110 of the electronic device 100. For example, the control unit (microcomputer) 150 in the electronic device 100 and the control unit (microcomputer) 250 in the accessory device 200 communicate with each other via the connection unit 210. Note that the connection unit 210 is not an essential component, and the communication line for communication between the microcomputers may be included in the connection unit 201.

[0035] The battery 260 and the battery 270 are batteries connected to the accessory device 200. Although a configuration in which two batteries, the battery 260 and the battery 270, are connected will be described, the battery may be one, or a configuration having two or more batteries may be used.

[0036] The display unit 209a and the display unit 209b are display units of the accessory device 200, and are composed of LEDs, etc. The charging state of the battery 260 is indicated by the display unit 209b, and the charging state of the battery 270 is indicated by the display unit 209a. As an example, a green LED lights up to indicate that charging is in progress, a green LED flashes to indicate a charging error, and an LED goes out to indicate that charging is complete.

[0037] 2D is a diagram showing an example of a connection between the electronic device 100 and the power supply device 300. The power supply device 300 is, for example, a power supply device that can operate as a USB adapter.

[0038] The electronic device 100 can connect a battery 160 to the battery holder 106. The battery 160 is a rechargeable battery such as a lithium ion battery. The electronic device 100 also has a USB connector 101, and by connecting a power supply device 300, it is possible to supply power to the electronic device 100 and charge the battery 160 using surplus power from the power supply.

[0039] The power supply device 300 has an AC plug 301 and a plug-shaped USB connector 302. The AC plug 301 is connected to a commercial power source 303, and power from the commercial power source 303 is converted to DC power in the power supply device 300 and supplied from the USB connector 302. The electronic device 100 can know the supply voltage and supply current of the power supply device 300 from the voltage level of a communication line (not shown) or data communication.

[0040] FIG. 2E is a diagram showing an example of connections between the electronic device 100, the accessory device 200, and the power supply device 300. As shown in FIG.

[0041] An accessory device 200 can be connected to the battery holder 106 of the electronic device 100 instead of a battery, and the electronic device 100 can receive power from batteries 260, 270 connected inside the accessory device 200. When the electronic device 100 and the accessory device 200 are connected to each other, the batteries 260, 270 can be charged by connecting a power supply device 300 to the USB connector 101 of the electronic device 100.

[0042] Next, with reference to FIG. 3A and FIG. 3B, accessory authentication and battery authentication that are performed in a state where the electronic device 100 and the accessory device 200 are connected will be described.

[0043] Step S300 is a step in which the control unit 150 of the electronic device 100 performs accessory authentication. In step S300, the first authentication unit 151 of the control unit 150 performs data matching with the authentication unit 207 connected to the control unit 250 to perform accessory authentication. If the accessory authentication is OK, the accessory device 200 can be controlled by the control unit 150 of the electronic device 100.

[0044] In step S301, the control unit 150 determines whether the result of the accessory authentication performed in step S300 is OK or not. If the control unit 150 determines that the accessory authentication is OK, the process proceeds to step S306, and if the control unit 150 determines that the accessory authentication is NG, the process proceeds to step S302.

[0045] Step S302 is a step in which the control unit 150 displays a confirmation screen for the user on the display unit 107c of the electronic device 100. If the accessory authentication is NG, it is possible that dirt has adhered to the contacts of the accessory device 200, causing a malfunction that prevents communication between microcomputers. Therefore, it is necessary to prompt the user to confirm the possibility that the accessory device 200 is malfunctioning. Here, as an example, a message is displayed stating, "Battery grip communication error. XXX does not guarantee the operation or safety of the battery. You will no longer be able to charge the battery. Do you want to continue using it?" to prompt the user to confirm. The user inputs "NO" or "YES" by using the dial or button of the operation unit 108 of the electronic device 100. Next, the process proceeds to step S303.

[0046] Step S303 is a branching step depending on the user input in step S302. If the control unit 150 determines that "YES" has been selected, the process proceeds to step S304, and if the control unit 150 determines that "NO" has been selected, the process proceeds to step S305.

[0047] In step S304, the control unit 150 controls the operation mode of the electronic device 100 to permit discharging of the batteries 260, 270 connected to the accessory device 200, but restrict charging of the batteries. Even if the accessory authentication is NG, if the user permits the use of the batteries 260, 270 connected to the accessory device 200 with the user's consent, the electronic device 100 permits discharging of the batteries 260, 270. However, even with the user's consent, the electronic device 100 prohibits charging of the batteries 260, 270 connected to the accessory device 200. The control unit 150 turns on the power switch 202 or the power switch 203 of the accessory device 200 via the control unit 250, thereby supplying power from the target battery to the electronic device 100. On the other hand, the control unit 150 controls the charging control unit 104 to prohibit charging of the batteries 260, 270 connected to the accessory device 200. If accessory authentication is NG, the switching circuit 204 in the accessory device 200 that switches the communication line for communicating with the batteries 260, 270 may not operate correctly, and it cannot be guaranteed that communication with the battery is with the desired battery. Therefore, if accessory authentication is NG, as an example, in the first embodiment, battery authentication, which will be described later, is not performed. When the settings for discharging and charging are completed in step S304, the process shown in the flowchart ends.

[0048] In step S305, the control unit 150 controls the operation mode of the electronic device 100 to limit both discharging and charging of the batteries 260, 270 connected to the accessory device 200. The control unit 150 turns off the power switches 202 and 203 of the accessory device 200 via the control unit 250, thereby prohibiting power supply from the target battery to the electronic device 100. In addition, the control unit 150 controls the charging control unit 104 to prohibit charging of the batteries 260, 270 connected to the accessory device 200. When the setting of discharging and charging is completed in step S305, the process shown in the flowchart ends.

[0049] In step S306, the control unit 150 controls the switching circuit 204 via the control unit 250 to switch the battery communication path to the left side (the battery 270 side). Next, the process proceeds to step S307.

[0050] Step S307 is a step in which the control unit 150 performs battery authentication on the left battery (battery 270) in the accessory device 200. In step S307, the second authentication unit 152 of the control unit 150 performs battery authentication on the left battery (battery 270) by performing data matching with the authentication unit 271 in the battery 270 connected to the accessory device 200. The second authentication unit 152 of the control unit 150 is an authentication unit for battery authentication, and is separate from the first authentication unit 151 for accessory authentication. Next, the process proceeds to step S308.

[0051] In step S308, control unit 150 determines whether the result of the battery authentication performed in step S307 is OK or not. If control unit 150 determines that the battery authentication is OK, the process proceeds to step S317, and if control unit 150 determines that the battery authentication is NG, the process proceeds to step S309.

[0052] Step S309 is a step in which the control unit 150 displays a confirmation screen for the user on the display unit 107c of the electronic device 100. If the battery authentication for the battery 270 is NG, it is possible that the battery 270 has a malfunction that prevents communication between the microcomputer and the battery 270 due to dust adhering to the contacts of the battery 270. Therefore, it is necessary to prompt the user to check the possibility that the battery 270 is malfunctioning. Here, as an example, a message is displayed stating "Battery communication error. Does your battery have the XXX logo on the left?" to prompt the user to check. The user inputs "NO" or "YES" by using the dial or button of the operation unit 108 of the electronic device 100. Next, the process proceeds to step S310.

[0053] Step S310 is a branching step depending on the user input in step S309. If the control unit 150 determines that "NO" has been selected, the process proceeds to step S311, and if the control unit 150 determines that "YES" has been selected, the process proceeds to step S312.

[0054] Step S311 is a step in which the control unit 150 displays a confirmation screen for the user on the display unit 107c of the electronic device 100. If the battery authentication for the battery 270 is NG, the battery 270 may be a battery other than the specified battery. Even if the battery 270 is a battery other than the specified battery, if the user uses the batteries 260, 270 connected to the accessory device 200 with the user's consent, the electronic device 100 allows the batteries 260, 270 to be discharged. On the other hand, if the battery is a battery other than the specified battery, there is a possibility that it cannot be safely charged, so the electronic device 100 does not charge the batteries 260, 270 connected to the accessory device 200. Here, as an example, "XXX does not guarantee the operation and safety of this battery. Do you want to continue using it?" is displayed to prompt the user for confirmation. The user inputs "NO" or "YES" by using the dial or button of the operation unit 108 of the electronic device 100. Next, the process proceeds to step S313.

[0055] Step S313 is a branching step depending on the user input in step S311. If the control unit 150 determines that "YES" has been selected, the process proceeds to step S315, and if the control unit 150 determines that "NO" has been selected, the process proceeds to step S316.

[0056] Step S312 is a step in which the control unit 150 displays a confirmation screen for the user on the display unit 107c of the electronic device 100. If the battery authentication for the battery 270 is NG, the battery 270 may be a battery other than the specified battery, but since the user has selected that the battery 270 has a logo indicating that it is a specified battery, the battery being used is likely to be a counterfeit. Therefore, in consideration of the safety of the electronic device 100, it is necessary to urge the user to refrain from using the battery. Here, as an example, a warning message is displayed to the user saying, "This may be a counterfeit product. Please contact the customer service center. Power supply will be stopped for safety reasons." Next, the process proceeds to step S314.

[0057] Step S314 is a step for waiting for input from the user after displaying a warning to the user in step S312. If control unit 150 determines that "OK" has been input, the process proceeds to step S316, and if control unit 150 determines that "OK" has not been input, the process loops to step S314.

[0058] In step S315, the control unit 150 controls the operation mode of the electronic device 100 to permit discharging of the batteries 260, 270 connected to the accessory device 200, but restrict charging of the batteries. Even if the battery authentication for the battery 270 is NG, if the user permits the use of the batteries 260, 270 connected to the accessory device 200 with the user's consent, the electronic device 100 permits discharging of the batteries 260, 270. However, even with the user's consent, the electronic device 100 prohibits charging of the batteries 260, 270 connected to the accessory device 200. The control unit 150 turns on the power switch 202 or the power switch 203 of the accessory device 200 via the control unit 250, thereby supplying power from the target battery to the electronic device 100. On the other hand, the control unit 150 controls the charging control unit 104 to prohibit charging of the batteries 260, 270 connected to the accessory device 200. Next, the process proceeds to step S317.

[0059] In step S316, the control unit 150 controls the operation mode of the electronic device 100 to limit both discharging and charging of the batteries 260, 270 connected to the accessory device 200. The control unit 150 turns off the power switches 202 and 203 of the accessory device 200 via the control unit 250, thereby prohibiting power supply from the target battery to the electronic device 100. In addition, the control unit 150 controls the charging control unit 104 to prohibit charging of the batteries 260, 270 connected to the accessory device 200. When the setting of discharging and charging is completed in step S316, the process shown in the flowchart ends.

[0060] In step S317, the control unit 150 controls the switching circuit 204 via the control unit 250 to switch the battery communication path to the right side (the battery 260 side). Next, the process proceeds to step S318.

[0061] Step S318 is a step in which the control unit 150 performs battery authentication on the right-side battery (battery 260) in the accessory device 200. In step S318, the second authentication unit 152 of the control unit 150 performs battery authentication on the right-side battery (battery 260) by performing data matching with the authentication unit 261 in the battery 260 connected to the accessory device 200. Next, the process proceeds to step S319.

[0062] In step S319, control unit 150 determines whether the result of the battery authentication performed in step S318 is OK. If control unit 150 determines in step S319 that the battery authentication is OK, the process proceeds to step S326, and if control unit 150 determines that the battery authentication is NG, the process proceeds to step S320.

[0063] Step S320 is a step in which the control unit 150 displays a confirmation screen for the user on the display unit 107c of the electronic device 100. If the battery authentication for the battery 260 is NG, it is possible that the battery 260 has a malfunction that prevents communication between the microcomputer and the battery 260 due to dirt adhering to the contacts of the battery 260. Therefore, it is necessary to prompt the user to check, considering the possibility that the battery 260 is malfunctioning. Here, as an example, a message is displayed stating "Battery communication error. Is there a XXX logo on your battery on the right?" to prompt the user to check. The user inputs "NO" or "YES" by using the dial or button of the operation unit 108 of the electronic device 100. Next, the process proceeds to step S321.

[0064] Step S321 is a step that branches depending on the user input in step S320. If the control unit 150 determines that "NO" has been selected, the process proceeds to step S322, and if the control unit 150 determines that "YES" has been selected, the process proceeds to step S323.

[0065] Step S322 is the same as step S311, and therefore the explanation thereof will be omitted. Next, the process proceeds to step S324.

[0066] Step S324 is a step where the process branches depending on the user input in step S322. If the control unit 150 determines that "YES" has been selected, the process proceeds to step S327, and if the control unit 150 determines that "NO" has been selected, the process proceeds to step S328.

[0067] Step S323 performs the same process as step S312, and therefore the explanation will be omitted. Next, the process proceeds to step S325.

[0068] Step S325 is a step for waiting for input from the user after displaying a warning to the user in step S323. If control unit 150 determines that "OK" has been input, the process proceeds to step S328, and if control unit 150 determines that "OK" has not been input, the process loops to step S325.

[0069] In step S326, the control unit 150 permits discharging and charging of the batteries 260, 270 connected to the accessory device 200 as the operation mode of the electronic device 100. The control unit 150 turns on the power switch 202 or the power switch 203 via the control unit 250, thereby supplying power from the target battery to the electronic device 100. The control unit 150 also controls the charging control unit 104 to permit charging of the batteries 260, 270 connected to the accessory device 200. When a specific accessory device or a specific battery is used, this step is entered, and the operation permits both discharging and charging of the batteries 260, 270 connected to the accessory device 200. When the setting of discharging and charging is completed in step S326, the process shown in the flowchart ends.

[0070] In step S327, the control unit 150 controls the operation mode of the electronic device 100 to permit discharging of the batteries 260, 270 connected to the accessory device 200 but restrict charging of the batteries. The control unit 150 turns on the power switch 202 or 203 of the accessory device 200 via the control unit 250, thereby supplying power from the target battery to the electronic device 100. On the other hand, the control unit 150 controls the charging control unit 104 to prohibit charging of the batteries 260, 270 connected to the accessory device 200. When the setting of discharging and charging is completed in step S327, the process shown in the flowchart ends.

[0071] In step S328, the control unit 150 controls the operation mode of the electronic device 100 to limit both discharging and charging of the batteries 260, 270 connected to the accessory device 200. The control unit 150 turns off the power switches 202 and 203 of the accessory device 200 via the control unit 250, thereby prohibiting power supply from the target battery to the electronic device 100. In addition, the control unit 150 controls the charging control unit 104 to prohibit charging of the batteries 260, 270 connected to the accessory device 200. When the setting of discharging and charging is completed in step S328, the process shown in the flowchart ends.

[0072] According to the flowcharts shown in Figures 3A and 3B, accessory authentication in step S300 is performed prior to battery authentication in steps S307 and S318. In this manner, if accessory authentication is unsuccessful, battery authentication is not performed, allowing the device to be controlled correctly. Note that, in the first embodiment, an example has been described in which battery authentication is not performed if accessory authentication is unsuccessful, but battery authentication may be performed and the result not used.

[0073] 4(a), 4(b), 4(c), and 4(d) are diagrams showing examples of battery information displayed on the display unit 107c of the electronic device 100. FIG.

[0074] 4(a) is an example of a menu screen when two authenticated batteries (right side: 260, left side: 270) are connected to the accessory device 200. The remaining capacity of the left and right batteries and information about each battery (number of images taken and degree of deterioration) are displayed.

[0075] Fig. 4(b) is an example of a menu screen when one authenticated battery (right side: 260) is connected to the accessory device 200. This display state is displayed when no battery is connected to the left side, or when a specified battery is connected but the battery cannot communicate due to dirt adhering to the battery terminals. This display state is also displayed when a non-authenticated battery or a battery with no remaining battery power is connected to the left side.

[0076] Fig. 4(c) is an example of a menu screen when one authenticated battery (left side: 270) is connected to the accessory device 200. This display state is displayed when no battery is connected to the right side, or when a specified battery is connected but the battery cannot communicate due to dirt adhering to the battery terminals. This display state is also displayed when a non-authenticated battery or a battery with no remaining battery power is connected to the right side.

[0077] Fig. 4(d) is an example of a menu screen when battery communication is not possible due to, for example, dirt adhering to the terminals of a battery connected to the accessory device 200. If accessory authentication is not successful, the display in Fig. 4(d) is performed in the first embodiment. In addition, this display state is also obtained when the batteries connected to the left and right are unauthenticated batteries or batteries with no remaining battery power.

[0078] As shown in Figures 4(a), 4(b), 4(c) and 4(d), if it is not possible to authenticate whether the accessory device 200 is a specified accessory device, information is displayed indicating that battery communication is not possible even if a specified battery is inserted. This is because there is a possibility that the battery communication switching circuit 204 and the like cannot be properly controlled. By checking this display screen, the user can check whether there is any dirt on the connection terminals of the accessory device 200, and can properly use the device.

[0079] In the first embodiment, an example has been described in which the accessory device 200 connected to the electronic device 100 operates as a battery grip. However, the accessory device 200 connected to the electronic device 100 is not limited to a battery grip. The accessory device 200 may be any type of accessory device as long as it is an accessory device to which a battery is connected and capable of supplying power to the electronic device 100 from the battery.

[0080] [Embodiment 2] The various functions, processes, or methods described in the first embodiment can also be realized by a personal computer, a microcomputer, a CPU (Central Processing Unit), or a microprocessor executing a program. Hereinafter, in the second embodiment, the personal computer, the microcomputer, the CPU (Central Processing Unit), or the microprocessor is referred to as "computer X." In the second embodiment, a program for controlling computer X and for realizing the various functions, processes, or methods described in the first embodiment is referred to as "program Y."

[0081] Various functions, processes, or methods described in the first embodiment are realized by computer X executing program Y. In this case, program Y is supplied to computer X via a computer-readable storage medium. The computer-readable storage medium in the second embodiment includes at least one of a hard disk device, a magnetic storage device, an optical storage device, a magneto-optical storage device, a memory card, a volatile memory, a non-volatile memory, and the like. The computer-readable storage medium in the second embodiment is a non-transitory storage medium. [Explanation of symbols]

[0082] 100 Electronic equipment 200 Accessory devices (external devices)

Claims

1. A communication means for communicating with an external device or a battery connected to the external device; a first authentication means for performing an authentication process for authenticating whether the external device is a predetermined external device by performing communication by the communication means; a second authentication means for performing an authentication process for authenticating whether or not the battery connected to the external device is a predetermined battery by communicating with the communication means; a charging means for charging a battery connected to the external device; and a control means for performing control so as to permit discharging of a battery connected to the external device but restrict charging of the battery connected to the external device, if the external device cannot be authenticated as being the specified external device, regardless of whether the battery connected to the external device is the specified battery.

2. The control means When the external device cannot be authenticated as the predetermined external device, control is performed to display a first display including information indicating that communication with the external device is not possible and information for inquiring a user as to whether or not to continue use of the external device; When an input indicating that use should be continued is received in response to the first display, discharging of the battery connected to the external device is permitted, but charging of the battery connected to the external device is restricted; 2 . The electronic device according to claim 1 , wherein when an input is made in response to the first display indicating that the external device will not be used, discharging of a battery connected to the external device is prohibited.

3. The electronic device described in Claim 1 or 2, characterized in that the control means performs control to display information indicating that communication is not possible via the communication means if the external device cannot be authenticated as the specified external device.

4. The control means when it is possible to authenticate that the external device is the specified external device and it is not possible to authenticate that the battery connected to the external device is the specified battery, control is performed to display a second display including information indicating that communication with the battery connected to the external device is not possible and information for inquiring of a user as to whether or not to continue use; When an input indicating that use should be continued is received in response to the second display, discharging of the battery connected to the external device is permitted, but charging of the battery connected to the external device is restricted; 4. The electronic device according to claim 1, wherein when an input is made in response to the second display indicating that use will not be continued, discharging of a battery connected to the external device is prohibited.

5. The control means 5. The electronic device according to claim 1, wherein if the external device can be authenticated as the specified external device and if the battery connected to the external device can be authenticated as the specified battery, discharging and charging of the battery connected to the external device is permitted.

6. The electronic device operates as a digital camera, The external device acts as a battery grip; 6. The electronic device according to claim 1, wherein power is supplied to the electronic device from a battery connected to the external device.

7. A method for controlling an electronic device having a communication means for communicating with an external device or a battery connected to the external device, and a charging means for charging a battery connected to the external device, comprising: a first authentication step of performing an authentication process for authenticating whether the external device is a predetermined external device by performing communication by the communication means; a second authentication step of performing an authentication process for authenticating whether or not the battery connected to the external device is a predetermined battery by communicating with the communication means; and if the external device cannot be authenticated as the specified external device, performing a control process to permit discharging of the battery connected to the external device but restrict charging of the battery connected to the external device, regardless of whether the battery connected to the external device is the specified battery.

8. A computer of an electronic device having a communication means for communicating with an external device or a battery connected to the external device, and a charging means for charging a battery connected to the external device, a first authentication step of performing an authentication process for authenticating whether the external device is a predetermined external device by performing communication by the communication means; a second authentication step of performing an authentication process for authenticating whether or not the battery connected to the external device is a predetermined battery by communicating with the communication means; and a control step of performing control so as to permit discharging of a battery connected to the external device but restrict charging of the battery connected to the external device, if the external device cannot be authenticated as the specified external device, regardless of whether the battery connected to the external device is the specified battery.

Citation Information

Patent Citations

  • Electronic equipment, its control method, and its program

    JP2007282471A

  • Electronic apparatus and control method thereof

    JP2016054615A

  • Electronic apparatus, control method thereof, and program

    JP2017041417A

  • Electronic equipment and method of controlling the same

    JP2017085854A

  • Electronic device, control method, and program

    JP2019030082A