Electronic apparatus, control method therefor and program
The electronic device adjusts calculation formulas based on identified communication standards to maintain accurate battery level displays, addressing inaccuracies caused by multiple standards.
Patent Information
- Application Number
- JP2023096469
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-06-12
- Publication Date
- 2024-12-24
AI Technical Summary
The accuracy and reliability of displaying the remaining battery capacity can vary when multiple revisions or communication standards are used, leading to inaccurate battery level displays.
An electronic device that identifies the communication standard, adjusts the calculation formula based on the standard's reliability, and applies a correction margin to ensure accurate remaining battery capacity display.
Ensures high accuracy in displaying the remaining battery level by adjusting calculations based on the communication standard's reliability, preventing unexpected power loss.
Smart Images

Figure 2024178006000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an electronic device, a control method thereof, and a program. [Background technology]
[0002] The USB (Universal Serial Bus) Type-C standard is known as a standard for connectors of electronic devices. The USB PD (USB Power Delivery) standard is also known as a standard for supplying direct current power between devices using a connector and cable conforming to the USB Type-C standard. Two electronic devices conforming to the USB PD standard can exchange information on, for example, remaining battery capacity. For example, when one electronic device (a digital camera) receives power from another electronic device (a battery such as a mobile battery) via a USB Type-C connector, it can display the time during which it can operate from the power supply and the remaining battery capacity.
[0003] A technology is known that uses a polarization voltage curve that correlates the current and temperature in a battery to accurately determine the remaining charge of a battery to be displayed (Patent Document 1). Also, a technology is known that enables high-speed acquisition of information from a high-speed communication battery based on the voltage of a specified terminal when displaying the remaining charge of a battery on an electronic device (Patent Document 2). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2015-155859 A [Patent Document 2] JP 2007-227150 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, when multiple revisions of the communication standard for acquiring the remaining battery capacity are defined or when multiple communication standards exist, the accuracy and reliability of the acquired remaining battery capacity may differ. Therefore, when the remaining battery capacity is displayed using the acquired remaining battery capacity, there is a problem that the accuracy of the displayed remaining capacity cannot be maintained.
[0006] The present invention has been made in view of the above problems, and an object of the present invention is to realize a technology that can output a highly accurate remaining capacity when an external battery is connected and used. [Means for solving the problem]
[0007] In order to solve this problem, for example, an electronic device of the present invention has the following configuration: That is, the electronic device has a communication means for communicating with a battery, an acquisition means for acquiring information about the remaining capacity of the battery from the battery via the communication means, an identification means for identifying a communication standard for acquiring the information about the remaining capacity of the battery, and an output means for outputting the remaining capacity of the battery obtained based on the information about the remaining capacity of the battery, and the output means acquires the remaining capacity of the battery by adjusting the remaining capacity of the battery in accordance with the identified communication standard. Effect of the Invention
[0008] According to the present invention, when an external battery is connected and used, it is possible to output the remaining capacity with high accuracy. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a block diagram showing an example of the configuration of an imaging device as an example of an electronic device according to an embodiment. [Diagram 2] FIG. 1 is a block diagram showing an example of the configuration of a USB external device 200 as an example of a battery and an example of the configuration related to the supply and receipt of power to an imaging device 100 according to an embodiment. [Diagram 3] FIG. 1 is a block diagram showing an example of the functional configuration of a battery remaining capacity calculation unit 300 according to an embodiment. [Figure 4]A flowchart showing a series of operations in a battery remaining capacity calculation process in an imaging device according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0011] (Embodiment 1) In the following, an example of an electronic device will be described in which an imaging device capable of receiving power from an external device is used. Examples of such imaging devices include digital cameras, digital video cameras, personal computers, tablet terminals, smartphones, industrial cameras, and medical cameras. This embodiment is not limited to imaging devices, and can also be applied to other electronic devices capable of receiving power from an external device. Examples of such electronic devices include game consoles and wearable terminals.
[0012] (Configuration of imaging device) An example of the configuration of an imaging device 100 will be described with reference to Fig. 1. A lens 101 forms an optical image of a subject on an imaging plane of a sensor 102. The sensor 102 includes, for example, an imaging element, and generates image data from the optical image formed on the imaging plane.
[0013] The CPU 103 processes image data generated by the sensor 102 by performing a predetermined image processing and a predetermined encoding processing. The image data processed by the CPU 103 is recorded in a storage medium 105 and displayed on a display unit 107. Furthermore, the CPU 103 controls each component of the imaging device 100 via a connection (such as a bus, for example) not shown, by executing a program stored in the memory 104. Moreover, the CPU 103 can realize the functions of each unit of a remaining battery capacity calculation unit 300, which will be described later, by executing the program.
[0014] The memory 104 includes, for example, a semiconductor memory and can store a program for controlling each component of the imaging device 100. The memory 104 can also store various information and data used by the CPU 103. For example, the memory 104 includes information on the current consumption or power consumption of the imaging device 100, and information on a reference table for a communication standard identification unit 302 (described later) to identify and determine a communication standard. The memory 104 can also store image data for notifying a user of the state of the imaging device 100. The storage medium 105 includes, for example, a memory card, and is a storage medium for saving image data encoded by the CPU 103.
[0015] The operation input unit 106 includes buttons and a user interface for the user to operate the imaging device 100. The display unit 107 includes, for example, a display such as a display panel. The display unit 107 performs, for example, display for confirming an image to be captured, display for confirming playback of the captured image, and displays the operation mode of the imaging device 100 and the remaining battery power.
[0016] The USB unit 108 is compliant with the USB standard, the USB Type-C standard, the USB PD (USB Power Delivery) standard, and the like, and connects to a USB external device 200.
[0017] The USB Type-C standard is a standard for connectors of electronic devices. A connector conforming to the USB Type-C standard can be used not only for data communication between two electronic devices, but also for power supply between two electronic devices. The USB PD standard is a standard for supplying DC power between devices using a USB Type-C connector and cable. Two electronic devices conforming to the USB PD standard have a connector conforming to the USB Type-C standard. The USB Type-C connector has a CC (configuration channel) terminal. The USB PD standard specifies communication (hereinafter referred to as CC communication) related to the connection detection of an external power supply device, arbitration regarding power supply and reception, and the exchange of information regarding the remaining battery capacity, etc., at the CC terminal.
[0018] The power supply circuit 109 includes a power supply circuit that converts a voltage supplied from the battery 110 or the USB unit 108 into a voltage used by each component of the imaging device 100 (such as the lens 101, the sensor 102, and the CPU 103). The battery 110 includes a dedicated battery, such as a lithium ion battery, connected to the imaging device 100, and supplies power for operating the imaging device 100. The USB external device 200 will be described later.
[0019] 2, an example of the configuration of the USB external device 200 and the configuration related to the supply and receipt of power to the imaging device 100 will be described. The imaging device 100 is connected to the USB external device 200 via a USB TYPE-C cable 220. The USB external device 200 may be, for example, a personal computer, an AC adapter, a mobile battery, or the like, capable of supplying power to the imaging device 100.
[0020] The USB unit 108 includes a USB Type-C connector 201, a VBUS power receiving circuit 202, and a CC communication interface 203. The USB Type-C connector 201 (and a USB Type-C connector 211 described later) is a USB Type-C connector connected to a USB TYPE-C cable 220. The USB Type-C connector includes a D+ / D- terminal and a SS+ / SS- terminal of a data communication line, a GND terminal of a ground signal (not shown), a VBUS terminal of a power supply line, and a CC (configuration channel) terminal. The CC terminal is a terminal that complies with the USB Type-C standard and the USB PD standard. The CC terminal is used for power supply negotiation that complies with the USB PD standard and for communicating power supply information of the USB external device 200, particularly information on the remaining capacity of a battery in a mobile battery or the like.
[0021] The VBUS power receiving circuit 202 is a circuit configured with a DC-DC converter that converts the VBUS voltage supplied from the USB external device 200 into a voltage for the system power supply of the imaging device 100. The VBUS power receiving circuit 202 operates as a power supply for the imaging device 100 via the power supply circuit 109. The CC communication interface 203 is connected to the CC communication interface 213 of the USB external device 200 via a CC terminal of the USB Type-C connector 201. The CC communication interface 203 is configured with a so-called dedicated IC for CC communication, etc.
[0022] The USB external device 200 is, for example, a so-called mobile battery having a USB terminal and a battery. The USB external device 200 includes a USB Type-C connector 211, a VBUS power supply circuit 212, a CC communication interface 213, a battery 214, and a CPU 215.
[0023] The VBUS power supply circuit 212 is a circuit configured with a DC-DC converter and the like that generates a VBUS voltage from the electromotive force of a battery 214 of the USB external device 200. The battery 214 includes a built-in lithium ion battery and the like, and supplies power for operating the USB external device 200. The USB Type-C connector 211 and the CC communication interface 213 are equivalent to the above-mentioned USB Type-C connector 201 and the CC communication interface 203, respectively.
[0024] (Configuration of battery remaining capacity calculation unit) Next, a configuration example of the battery remaining capacity calculation unit 300 in the CPU 103 will be described with reference to Fig. 3. As described above, in this embodiment, a connection to the USB external device 200 is made in compliance with the USB Type-C standard and the USB PD standard.
[0025] When displaying the remaining battery capacity of the USB external device 200, the accuracy and reliability of the remaining battery capacity that can be acquired by the imaging device 100 may differ depending on the revision of the communication standard such as the USB PD standard. For this reason, if the imaging device 100 calculates the remaining battery capacity using the same calculation formula, the accuracy of the remaining battery capacity may not be maintained. In other words, when the remaining battery capacity is displayed on the display unit 107, the accuracy of the remaining capacity display cannot be improved, and there is a possibility of an unexpected power reduction operation (such as a sudden power shortage even though the remaining battery capacity was displayed as being sufficient).
[0026] For example, the imaging device 100 acquires the remaining capacity of the USB external device 200 via CC communication and calculates the remaining battery capacity. At present, multiple revisions have been standardized for the USB PD standard, and it is expected that updates and functions will be added in the future. That is, as the revision of the USB PD standard increases, the accuracy and reliability of the remaining battery capacity may differ. For example, there may be cases where the standard handling of the remaining battery capacity is different, whether it is optional or mandatory, due to different revisions of the standard. In addition, there may be cases where the regulations of accuracy, update period, etc. differ. That is, when multiple communication standards are used, if the remaining battery capacity is calculated using the same calculation method for all the acquired remaining capacities, as described above, problems such as the inability to maintain the accuracy of the remaining capacity display may occur. For this reason, in this embodiment, the remaining battery capacity is adjusted according to the communication standard by the processing of the remaining battery capacity calculation unit 300, and a more appropriate remaining battery capacity is calculated (or acquired).
[0027] In the description of this embodiment, the functional units of the remaining battery capacity calculation unit 300 are implemented by the CPU 103. However, the remaining battery capacity calculation unit 300 may be configured by hardware independent of the CPU 103, or may be implemented by hardware independent of the CPU 103 executing a program.
[0028] The remaining battery capacity calculation unit 300 includes a serial communication unit 301, a communication standard identification unit 302, a calculation formula switching unit 303, and a remaining battery capacity calculation unit 304. The serial communication unit 301 can control serial communication such as I2C, and communicates with the CC communication interface 203. For example, the serial communication unit 301 can obtain information about the remaining capacity of the battery 214 of the USB external device 200 via the CC communication interface 203. The information about the remaining capacity of the battery 214 may include various information for estimating the remaining capacity of the battery 214, or may simply include only information about the remaining capacity of the battery 214.
[0029] The communication standard identification unit 302 acquires and identifies the revision of the communication standard of the CC communication interface 203 (i.e., the communication standard for acquiring information on the remaining capacity) via the serial communication unit 301. In addition, the communication standard identification unit 302 can determine the reliability of the battery remaining capacity in the revision of the communication standard according to the revision of the communication standard. Specifically, there is a method of storing a reliability evaluation table of the communication standard in which the revision of the communication standard and a numerical value indicating the reliability are associated with each other in the memory 104 and referring to the table. Note that, in the description of the present embodiment, the case where the revision of the communication standard is acquired and identified is described as an example, but it is also applicable to the case where different revisions of the communication standard exist, as well as the case where different communication standards exist. In the present disclosure, when it is simply stated that the communication standard is identified, it may include the case where different communication standards are identified, as well as the case where different versions or revisions of the communication standard are identified. Note that, when different communication standards exist, a table in which the communication standard and a numerical value indicating the reliability are associated with each other can be referred to instead of or in addition to a table in which the revision and a numerical value indicating the reliability are associated with each other.
[0030] Calculation formula switching unit 303 switches a calculation formula for the remaining battery capacity in remaining battery capacity calculation unit 304, which will be described later, depending on the determination result of communication standard identification unit 302. Remaining battery capacity calculation unit 304 calculates the remaining battery capacity time from the remaining battery capacity obtained from serial communication unit 301 and the calculation formula set by calculation formula switching unit 303. The remaining battery capacity time calculated by remaining battery capacity calculation unit 304 is displayed on display unit 107 via a bus (not shown).
[0031] The remaining battery charge calculation process executed by the battery remaining charge calculation unit 300 calculates how long the imaging device 100 can operate using a power source such as the battery 110 or the battery 214 of the USB external device 200, and outputs the calculation result as the remaining battery charge (displayed on the display unit 107). Here, the remaining battery charge calculation process when power is supplied from the USB external device 200 will be described. The remaining battery charge calculation unit 300 can obtain the remaining battery charge time T [min] by the following formula 1. In the following formula, the remaining capacity C [mAh] obtained from the battery, the current consumption I [mA] of the imaging device 100, the margin capacity M [mAh], and the correction coefficient K are used. T=(CM)×K / I×60...(Formula 1)
[0032] (A series of operations related to the remaining battery capacity calculation process in the imaging device 100) A series of operations of the remaining battery capacity calculation process in the imaging device 100 will be described with reference to Fig. 4. The remaining battery capacity calculation process is realized, for example, by the CPU 103 executing a program stored in the memory 104. This process is started, for example, when the CPU 103 is connected to the USB external device 200 and the system is started.
[0033] In S401, the serial communication unit 301 of the CPU 103 starts communication with an external device via the CC communication interface.
[0034] In S402, the communication standard identification unit 302 of the CPU 103 determines the reliability of the battery remaining amount for the revision of the communication standard of the communication started in S401. If the communication standard identification unit 302 determines that the reliability of the battery remaining amount for the revision of the communication standard is higher than a predetermined value, the process proceeds to S403, otherwise the process proceeds to S404. The determination of the reliability of the battery remaining amount for the revision of the communication standard can refer to, for example, a table of reliability evaluation of the communication standard stored in the memory 104. For example, the reliability evaluation table is configured by associating reliability with the revision of the communication standard.
[0035] The reliability evaluation table may be configured, for example, so that the earlier the revision of the communication standard, the lower the reliability is associated with the revision. Alternatively, the reliability evaluation table may be configured so that revisions earlier than a specific revision are associated with a low first reliability, and revisions after the specific revision are associated with a reliability higher than the first reliability.
[0036] In S403, calculation formula switching unit 303 of CPU 103 sets a margin amount (amount of correction) in the remaining charge calculation formula used by remaining battery charge calculation unit 304 to determine the remaining charge calculation formula. Specifically, calculation formula switching unit 303 sets margin amount M in the calculation formula to a margin amount MS, which is a value smaller than margin amount ML described later.
[0037] In S404, calculation formula switching unit 303 determines the remaining battery calculation formula by setting a margin (correction amount) in the remaining battery calculation formula used by remaining battery power calculation unit 304. Specifically, calculation formula switching unit 303 sets margin M in the calculation formula to a value called margin ML, which is larger than the above-mentioned margin MS.
[0038] At S405, the battery remaining capacity calculation unit 304 of the CPU 103 acquires information on the remaining battery capacity from the USB external device 200 via the serial communication unit 301. At S406, the battery remaining capacity calculation unit 304 calculates the remaining battery time (remaining battery capacity) based on the remaining battery capacity obtained at S405 and the remaining capacity calculation formula set by the calculation formula switching unit 303. In this way, it is possible to calculate the remaining battery capacity obtained by adjusting the remaining battery capacity C in the above-mentioned formula 1 by the margin capacity M according to the revision of the communication standard (the reliability of the revision).
[0039] In the above description of the present embodiment, a case has been described in which the revision of the communication standard for acquiring information on the remaining battery capacity is acquired and identified, the reliability of the remaining battery capacity is determined, and a margin is set (the calculation formula is changed) according to the reliability. However, the present embodiment is also applicable to a case in which the revision of the communication standard for acquiring information on the remaining battery capacity is acquired and identified, and a margin is set (the calculation formula is changed) according to the revision of the communication standard. In this case, the communication standard identification unit 302 can refer to a table that associates the revision of the communication standard with the margin, and set the margin associated with the identified revision of the communication standard.
[0040] For example, if the identified communication standard is a revision of a first communication standard, a first margin (correction amount) is applied to the remaining battery capacity. Also, if the identified communication standard is an earlier revision than the first communication standard, a margin larger than the first margin is applied to the remaining battery capacity. This makes it possible to adjust the remaining battery capacity by applying a larger margin to the earlier revision. In this case, the revision of the first communication standard may be a revision of a communication standard that specifies the transmission of information regarding the remaining battery capacity as mandatory. Also, the revision of the earlier communication standard may be a revision of a communication standard that specifies the transmission of information regarding the remaining battery capacity as optional.
[0041] Alternatively, the remaining battery capacity may be adjusted such that the remaining battery capacity varies more when the identified communication standard is an earlier revision than the first communication standard than when the first communication standard revision is identified, in which case the remaining battery capacity may be adjusted by applying a smaller margin for revisions after the particular revision.
[0042] Even in this way, the remaining battery capacity can be calculated by adjusting the remaining battery capacity C in the above-mentioned formula 1 with the margin M according to the revision of the communication standard.
[0043] In the description of this embodiment, different margin amounts are set depending on the judgment result of S402, and the remaining battery capacity is adjusted for any judgment result. However, in this embodiment, the margin may be set and the remaining capacity adjusted only when a communication standard with low reliability is used. For example, when the identified communication standard is a communication standard earlier than the specific communication standard, the margin is set and the remaining battery capacity is adjusted. On the other hand, when the identified communication standard is a communication standard subsequent to the specific communication standard, the margin may not be set, so that the remaining battery capacity is not adjusted.
[0044] Furthermore, in the above description, an example is given in which a different value is set for the margin in formula 1. However, depending on the result of the determination in S402, it is also possible to use either formula 1 or a different formula having a different calculation content from formula 1. For example, when the identified communication standard is a second revision that is earlier than the specific revision, it is also possible to use a calculation formula that causes a larger change in the remaining capacity of the battery than when the specific revision is identified.
[0045] In S407, when the remaining battery charge calculated by the battery remaining charge calculation unit 304 is output, the CPU 103 causes the display unit 107 to display the remaining battery charge. In S408, the CPU 103 determines whether or not to continue communication. For example, when the CPU 103 receives an instruction to power off the imaging device 100 or detects that the cable has been removed, the CPU 103 stops communication with the USB external device 200 and ends this process. On the other hand, when the CPU 103 determines that communication is to be continued, the process proceeds to S405.
[0046] In this manner, in this embodiment, the CPU 103 sets a different margin in the calculation formula for the remaining battery capacity according to the communication standard (the reliability or the revision thereof) with the connected external device. Therefore, when the reliability of the remaining battery capacity in the identified communication standard is expected to be high, the accuracy of the remaining capacity calculation can be improved without setting an excessive margin. On the other hand, when the reliability of the remaining battery capacity in the identified communication standard is expected to be low, a remaining capacity calculation with a larger margin can be performed. In this case, the remaining battery capacity displayed on the display unit 107 becomes relatively smaller than when the reliability is high. In other words, the CPU 103 can prioritize avoiding a power shutdown that does not match the remaining battery capacity display (such as when the battery runs out even though it appears that there is remaining battery capacity). In this manner, in this embodiment, when an external battery is connected and used, it is possible to output a remaining capacity with high accuracy.
[0047] In the above embodiment, the remaining battery capacity is calculated using the remaining battery capacity and a margin, etc. However, this embodiment includes acquiring the remaining battery capacity by referring to a table that associates the remaining battery capacity with a margin, or a table that associates the remaining battery capacity with a communication standard, etc. Alternatively, instead of calculating the remaining battery capacity, for example, the remaining battery capacity and the communication standard may be transmitted to an external device, and the remaining battery capacity may be acquired from the external device.
[0048] Furthermore, the identification of the revision of the communication standard performed by the communication standard identification unit 302 in S402 can be performed in various ways. For example, the communication standard identification unit 302 may acquire information for identifying the communication standard from the USB external device 200 via the serial communication unit 301. For example, the communication standard identification unit 302 may acquire a unique bit representing the revision of the communication standard from the serial communication unit 301 and make a judgment. Alternatively, the communication standard identification unit 302 may identify the revision of the communication standard from a format for storing information about the remaining battery level received by the serial communication unit 301 or a corresponding command. Furthermore, the communication standard identification unit 302 may judge the reliability based on the release date of the revision of the communication standard.
[0049] Furthermore, the CPU 103 may be able to select whether or not to implement the control from S402 to S404 (that is, whether or not to change the remaining amount calculation formula) in response to an operation input from the operation input unit 106.
[0050] Furthermore, the CPU 103 may perform control so as to change the remaining capacity calculation formula only for the remaining battery capacity calculation of the USB external device 200, and not to change the remaining battery capacity calculation formula for the battery 110. For example, the imaging device 100 can obtain information on the remaining capacity of a dedicated battery via a connection of a dedicated battery used exclusively for that purpose, but unlike the remaining capacity of the USB external device 200, it is not necessary to adjust the remaining capacity of the dedicated battery.
[0051] (Other embodiments) The various functions, processes, or methods described in the above embodiments can be realized by a personal computer, a microcomputer, a CPU (central processing unit), or the like using a program. In one embodiment, a personal computer, a microcomputer, a CPU, or the like is called a "computer X." In another embodiment, a program for controlling the computer X and for realizing the various functions, processes, or methods described in the above embodiments is called a "program Y." The various functions, processes, or methods described in the above embodiments are realized by the computer X executing the program Y. In this case, the program Y is supplied to the computer X via a computer-readable storage medium. The computer-readable storage medium in one embodiment includes at least one of a hard disk device, a magnetic storage device, an optical storage device, an optical magnetic storage device, a memory card, a volatile memory, a non-volatile memory, and the like. The computer-readable storage medium in one embodiment is a non-transitory storage medium.
[0052] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0053] (Disclosure of the present specification) The disclosure of this specification includes the following electronic device, a control method thereof, and a program. (Item 1) A communication means for communicating with the battery; an acquisition means for acquiring information regarding a remaining capacity of the battery from the battery via the communication means; an identification means for identifying a communication standard for acquiring information regarding the remaining capacity of the battery; an output unit for outputting a remaining capacity of the battery obtained based on information on the remaining capacity of the battery; The electronic device according to claim 1, wherein the output means obtains the remaining capacity of the battery by adjusting the remaining capacity of the battery in accordance with the identified communication standard. (Item 2) 2. The electronic device according to item 1, wherein the output means adjusts the remaining capacity of the battery by applying a correction amount according to the identified communication standard to the remaining capacity of the battery. (Item 3) The output means includes: If the identified communication standard is a first communication standard, applying a first correction amount to the remaining capacity of the battery; 3. The electronic device described in item 2, characterized in that if the identified communication standard is a second communication standard that is earlier than the first communication standard, a second correction amount greater than the first correction amount is applied to the remaining capacity of the battery. (Item 4) The electronic device described in item 1 or 2, characterized in that when the identified communication standard is a second communication standard that is earlier than the first communication standard, the output means adjusts the remaining capacity of the battery so that the remaining capacity of the battery fluctuates more greatly than when the first communication standard is identified. (Item 5) The electronic device described in item 1, characterized in that when the identified communication standard is a second communication standard that is earlier than the first communication standard, the output means adjusts the remaining capacity of the battery using a calculation formula that causes the remaining capacity of the battery to fluctuate more greatly than when the first communication standard is identified. (Item 6) The electronic device described in item 1 or 2, characterized in that the output means adjusts the remaining capacity of the battery when the identified communication standard is a second communication standard that is earlier than a first communication standard, and does not adjust the remaining capacity of the battery when the identified communication standard is a communication standard that is later than the first communication standard. (Item 7) 7. The electronic device according to any one of claims 1 to 6, wherein the identification means obtains information for identifying the communication standard from the battery via the communication means. (Item 8) 7. The electronic device of claim 1, wherein the identification means identifies the communication standard based on a format for storing information about the remaining capacity of the battery. (Item 9) The electronic device described in any one of items 3 to 6, characterized in that the first communication standard is a communication standard that specifies the transmission of information regarding the remaining capacity of the battery as mandatory, and the second communication standard is a communication standard that specifies the transmission of information regarding the remaining capacity of the battery as optional. (Item 10) 10. The electronic device of claim 1, wherein identifying the communication standard by the identification means includes identifying a version or revision of the communication standard. (Item 11) the information about the remaining capacity of the battery corresponds to a remaining capacity of the battery; 4. The electronic device according to item 2 or 3, wherein the correction amount is a correction amount for the remaining capacity of the battery. (Item 12) the electronic device is capable of acquiring information regarding a remaining capacity of the dedicated battery via a connection means for connecting a dedicated battery used exclusively for the electronic device; 12. The electronic device of any one of claims 1 to 11, characterized in that the output means adjusts the remaining capacity of the battery according to the identified communication standard, but does not adjust the remaining capacity of the dedicated battery. (Item 13) 13. The electronic device according to any one of claims 1 to 12, wherein the communication means performs CC communication of the USB Type-C standard. (Item 14) A method for controlling an electronic device having a communication means for communicating with a battery, comprising: an acquisition step of acquiring information regarding a remaining capacity of the battery from the battery via the communication means; an identification step of identifying a communication standard for acquiring information about a remaining capacity of the battery; and an output step of outputting a remaining capacity of the battery obtained based on information regarding the remaining capacity of the battery, a remaining capacity of the battery being adjusted in accordance with the identified communication standard, in the output step, to obtain the remaining capacity of the battery. (Item 15) A program for causing a computer to function as each of the means of the electronic device described in any one of items 1 to 13. The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]
[0054] 100...imaging device, 103...CPU, 107...display unit, 200...USB external device, 300...power remaining amount calculation unit, 302...communication standard identification unit, 303...calculation formula switching unit, 304...battery remaining amount calculation unit
Claims
1. A communication means for communicating with the battery; an acquisition means for acquiring information regarding a remaining capacity of the battery from the battery via the communication means; an identification means for identifying a communication standard for acquiring information regarding the remaining capacity of the battery; an output unit for outputting a remaining capacity of the battery obtained based on information on the remaining capacity of the battery; The electronic device according to claim 1, wherein the output means obtains the remaining capacity of the battery by adjusting the remaining capacity of the battery in accordance with the identified communication standard.
2. 2 . The electronic device according to claim 1 , wherein the output unit adjusts the remaining capacity of the battery by applying a correction amount corresponding to the identified communication standard to the remaining capacity of the battery.
3. The output means includes: If the identified communication standard is a first communication standard, applying a first correction amount to the remaining capacity of the battery; 3. The electronic device according to claim 2, wherein if the identified communication standard is a second communication standard that is earlier than the first communication standard, a second correction amount greater than the first correction amount is applied to the remaining capacity of the battery.
4. 2. The electronic device according to claim 1, wherein the output means adjusts the remaining capacity of the battery so that, when the identified communication standard is a second communication standard that is earlier than the first communication standard, the remaining capacity of the battery fluctuates more greatly than when the first communication standard is identified.
5. 2. The electronic device according to claim 1, wherein when the identified communication standard is a second communication standard that is earlier than a first communication standard, the output means adjusts the remaining capacity of the battery using a calculation formula that causes the remaining capacity of the battery to fluctuate more greatly than when the first communication standard is identified.
6. 2. The electronic device according to claim 1, wherein the output means adjusts the remaining capacity of the battery when the identified communication standard is a second communication standard that is earlier than a first communication standard, and does not adjust the remaining capacity of the battery when the identified communication standard is a communication standard that is later than the first communication standard.
7. 2. The electronic device according to claim 1, wherein the identification unit acquires information for identifying the communication standard from the battery via the communication unit.
8. 2. The electronic device according to claim 1, wherein the identification unit identifies the communication standard based on a format in which the information regarding the remaining capacity of the battery is stored.
9. 4. The electronic device according to claim 3, wherein the first communication standard is a communication standard that specifies the transmission of information regarding the remaining capacity of the battery as mandatory, and the second communication standard is a communication standard that specifies the transmission of information regarding the remaining capacity of the battery as optional.
10. 2. The electronic device according to claim 1, wherein identifying the communication standard by the identification means includes identifying a version or revision of the communication standard.
11. the information about the remaining capacity of the battery corresponds to a remaining capacity of the battery; 3. The electronic device according to claim 2, wherein the correction amount is a correction amount for a remaining capacity of the battery.
12. the electronic device is capable of acquiring information regarding a remaining capacity of the dedicated battery via a connection means for connecting a dedicated battery used exclusively for the electronic device; 2. The electronic device according to claim 1, wherein the output means adjusts the remaining capacity of the battery in accordance with the identified communication standard, but does not adjust the remaining capacity of the dedicated battery.
13. 2. The electronic device according to claim 1, wherein the communication means performs CC communication of the USB Type-C standard.
14. A method for controlling an electronic device having a communication means for communicating with a battery, comprising: an acquisition step of acquiring information regarding a remaining capacity of the battery from the battery via the communication means; an identification step of identifying a communication standard for acquiring information about a remaining capacity of the battery; and an output step of outputting a remaining capacity of the battery obtained based on information about the remaining capacity of the battery, a remaining capacity of the battery being adjusted in accordance with the identified communication standard, in the output step, to obtain the remaining capacity of the battery.
15. A program for causing a computer to function as each of the means of the electronic device according to any one of claims 1 to 13.
Citation Information
Patent Citations
JP227150A
JP155859A
