Electronic apparatus and control method and program
The electronic device addresses the limitation of conventional USB Type-C systems by enabling the selection and switching of power supply devices through multiple USB Type-C connection ports, optimizing power management and user control.
Patent Information
- Application Number
- JP2023209546
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-12-12
- Publication Date
- 2025-06-24
AI Technical Summary
Conventional USB Type-C systems lack the ability to control and select a power supply device from multiple connected power supply devices, limiting power management when multiple power sources are available.
An electronic device with multiple USB Type-C connection ports and communication means to manage power supply from each port, allowing users to switch power reception between connected power supply devices based on user instruction.
Enables seamless selection and switching of power supply devices, optimizing power usage and management when multiple power sources are connected, thereby enhancing user control and device efficiency.
Smart Images

Figure 2025093725000001_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an electronic device capable of receiving power from a plurality of power supply devices.
Background Art
[0002] The USB (Universal Serial Bus) PD (Power Delivery) standard is a standard that enables power supply by connecting a power supply device and a power receiving device with a connector and a cable of the USB Type-C standard. In the USB PD standard, a power supply device (source device) and a power receiving device (sink device) communicate to determine the power that can be supplied or received based on a power rule consisting of a combination of a voltage value and a current value.
[0003] Also, in the USB PD standard, for devices connected by a USB Type-C cable, it is possible to determine which device is the power supply device or the power receiving device (Patent Document 1). Furthermore, in the USB PD standard, extended functions other than USB communication, such as analog audio signal communication and data communication of other standards, can be used.
[0004] Since various functions have been added and extended to the USB PD standard in this way, it is assumed that in the future, a plurality of power supply devices can also be connected to a power receiving device by a USB Type-C cable.
Prior Art Documents
Patent Documents
[0005]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0006] However, conventionally, it has been limited to the control of power reception or supply between devices connected by a single USB Type-C cable, and no control has been performed to select a power supply device from which a power receiving device receives power when a plurality of power supply devices are connected to the power receiving device.
[0007] The present invention has been made in view of the above problems, and an object thereof is to realize a technology capable of selecting a power supply device from which power is received from a plurality of power supply devices connected to a power receiving device.
Means for Solving the Problems
[0008] In order to solve the above problems and achieve the object, an electronic device of the present invention includes a first connection portion to which a power supply device is connected, a second connection portion to which a power supply device is connected, and when a first power supply device is connected to the first connection portion, communication means for communicating with the first power supply device, and when a second power supply device is connected to the second connection portion, communication means for communicating with the second power supply device, power receiving means for receiving power supplied from the first power supply device via the first connection portion and receiving power supplied from the second power supply device via the second connection portion, and while receiving power from the first power supply device connected to the first connection portion and not receiving power from the second power supply device connected to the second connection portion, in response to receiving an instruction from a user to select the second connection portion, control means for stopping power reception from the first power supply device connected to the first connection portion and starting power reception from the second power supply device connected to the second connection portion.
Effects of the Invention
[0009] According to the present invention, it becomes possible to select a power supply device from which power is received from a plurality of power supply devices connected to a power receiving device.
Brief Description of the Drawings
[0010]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Mode for Carrying Out the Invention
[0011] Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the invention according to the claims. Although a plurality of features are described in the embodiments, not all of these plurality of features are essential for the invention, and the plurality of features may be arbitrarily combined. Further, in the accompanying drawings, the same or similar configurations are given the same reference numerals, and duplicate explanations are omitted.
[0012] <System Configuration> With reference to FIG. 1, the system configuration of this embodiment will be described.
[0013] The system of this embodiment includes an electronic device 100 and one or more power supply devices 300 that can be connected to the electronic device 100. One or more power supply devices 300 can be connected to the electronic device 100 by a connection cable 200.
[0014] The electronic device 100 is an imaging device such as a digital camera. The electronic device 100 operates as a power receiving device that can receive power from any of the power supply devices 300 connected to the electronic device 100. The electronic device 100 can operate with the power received from the power supply device 300. The electronic device 100 is not limited to an imaging device, and may be an information processing device such as a personal computer (PC) or a portable multifunctional terminal such as a tablet PC or a smartphone as long as it can receive power from any of the plurality of power supply devices.
[0015] The power supply device 300 is an external device that can supply power to the electronic device 100, and is a power supply device such as a charger (charger) connectable to a commercial power supply, a power supply (AC-DC) adapter, or a mobile battery. Note that the power supply device of this embodiment is not limited to a charger, a power supply adapter, or a mobile battery, and may be an information processing device such as a personal computer (PC) or a portable multifunctional terminal such as a tablet PC or a smartphone that can supply power to the electronic device 100.
[0016] The electronic device 100 includes an imaging unit 102, an operation unit 105, a first connection unit 110, a second connection unit 120, and a battery 111.
[0017] The imaging unit 102 converts an optical image of a subject into an electrical signal to generate image data. The operation unit 105 includes an operation member that receives a user operation. The first connection unit 110 and the second connection unit 120 are connected to a connection unit (to be described later) of one or more power supply devices 300 by a connection cable 200. The first connection unit 110 and the second connection unit 120 are a first connector and a second connector compliant with the USB Type-C standard. The connection cable 200 is a cable compliant with the USB Type-C standard.
[0018] The battery 111 supplies power for the operation of the electronic device 100 when the battery 111 is attached to the electronic device 100. The battery 111 is detachable from the electronic device 100, and the user can easily attach and remove the battery 111 to / from the electronic device 100 by a mounting / discharging mechanism (not shown). The electronic device 100 can operate with the power supplied from the battery 111 or the power supplied from the power supply device 300. Further, the electronic device 100 can also charge the battery 111 with the power supplied from the power supply device 300.
[0019] In the present embodiment, the electronic device 100 operates as a sink device (USB device) conforming to the USB (Universal Serial Bus) PD (Power Delivery) standard. Also, the power supply device 300 operates as a source device (USB host) conforming to the USB PD standard. The electronic device 100 and the power supply device 300 perform power negotiation to determine the supplied power from a combination of a predetermined voltage value and current value based on a power rule. In this way, when the electronic device 100, the power supply device 300, and the connection cable 200 conform to the USB PD 3.1 standard, power transfer of up to 240W is possible.
[0020] Also, the power supply devices 300 are respectively connected to the first connection portion 110 and the second connection portion 120 of the electronic device 100 via the USB cable 200.
[0021] <Configuration of the electronic device 100> Next, with reference to FIG. 2, the configuration and functions of the electronic device 100 in the present embodiment when the electronic device 100 is a digital camera will be described.
[0022] The main control unit 101 is an arithmetic processing unit (CPU) that comprehensively controls the entire electronic device 100. By executing a program stored in a non-volatile memory 103 described later, it realizes communication processing and control processing described later. Note that instead of the main control unit 101 controlling the entire device, a plurality of hardware components may share the processing to control the entire device. Also, the main control unit 101 may be configured as a microcontroller including a processor such as a CPU, memories such as a ROM and a RAM, a controller, and peripheral circuits.
[0023] The imaging unit 102 includes a lens group including a zoom lens and a focus lens, and a shutter having an aperture function. The imaging unit 102 also includes an imaging element composed of a CCD, a CMOS element, etc. that converts a subject image into an electrical signal, and an A / D converter that converts an analog image signal output from the imaging element into a digital signal. The imaging unit 102, under the control of the main control unit 101, converts subject image light formed by the lens included in the imaging unit 102 into an electrical signal by the imaging element, performs noise reduction processing, etc., and outputs image data composed of a digital signal.
[0024] The main control unit 101 performs resizing processing such as pixel interpolation and reduction, and color conversion processing on the image data captured by the imaging unit 102. The main control unit 101 also compresses and encodes the still image data subjected to image processing using JPEG or the like, or encodes the moving image data using a moving image compression method such as MPEG2 or H.264 to create an image file, and records it on the recording medium 107. The main control unit 101 also performs a predetermined arithmetic process using the captured image data, and based on the arithmetic result, the main control unit 101 controls the focus lens, aperture, and shutter of the imaging unit 102 to perform AF (auto focus) processing and AE (auto exposure) processing.
[0025] The non-volatile memory 103 is an electrically erasable and recordable memory, and for example, an EEPROM or the like is used. In the non-volatile memory 103, constants for the operation of the main control unit 101, programs, etc. are recorded. Here, the program refers to the program for executing the control process described later in this embodiment.
[0026] The working memory 104 is used as a working area for expanding constants, variables for the operation of the main control unit 101, programs read from the non-volatile memory 103, etc. Further, the working memory 104 is used as a buffer memory for temporarily holding the image data captured by the imaging unit 102 and as an image display memory for the display unit 106.
[0027] The operation unit 105 is an operation member such as various switches, buttons, dials, etc. that receives various operations from the user, and notifies the main control unit 101 and the sub-control unit 108 of the event information generated when the user operates the operation unit 105. The operation unit 105 includes, for example, a power button for turning on or off the power, a shooting button for instructing the start or end of shooting a still image or a moving image, a playback button for instructing the playback of an image, a mode switching button for changing the operation mode of the camera. Further, the operation unit 105 includes a zoom lever for giving a zoom instruction. Furthermore, the operation unit 105 includes a touch detection unit 106a that is integrally configured with the display unit 106 described later.
[0028] In the still image shooting mode, the main control unit 101 starts AE control and AF control when the shooting button is half-pressed. Also, when the shooting button is fully pressed, the main control unit 101 executes a still image shooting process of recording the image data captured by the imaging unit 102 on the recording medium 107.
[0029] In addition, in the video shooting mode, in response to the shooting button being pressed for the first time, the main control unit 101 performs AE control and AF control on the image data (frames) captured by the imaging unit 102, and continues the video shooting process of recording a video for a predetermined time on the recording medium 107. Then, the main control unit 101 stops the video shooting process in response to the shooting button being pressed again.
[0030] The display unit 106 performs display of a live view image, a captured image, a GUI (Graphical User Interface), etc. The display unit 106 is a display device such as a liquid crystal display or an organic EL display, for example. The display unit 106 may be configured to be integrated with the electronic device 100 or may be an external device connected to the electronic device 100. The electronic device 100 may be connected to the display unit 106 as long as it can control the display of the display unit 106.
[0031] The recording medium 107 records the image files created by the main control unit 101, or the image files already recorded on the recording medium 107 are read by the main control unit 101. The recording medium 107 may be a memory card, a hard disk drive, etc. mounted on the electronic device 100, or may be a flash memory or a hard disk drive built into the electronic device 100. The electronic device 100 only needs to be able to access at least the recording medium 107.
[0032] The sub-control unit 108 is configured as a microcontroller including a processor such as a CPU, memories such as a ROM and a RAM, a controller, and peripheral circuits, and controls a part of the electronic device 100. The sub-control unit 108 realizes the control process described later by executing the program stored in the ROM. The sub-control unit 108 can operate with lower power than the main control unit 101 and is connected so as to be able to transmit and receive data with the main control unit 101.
[0033] The power charging / supplying control unit 109 supplies the power received from the power supply device 300 via the first connection unit 110 or the second connection unit 120 to each component of the electronic device 100. Also, the power charging / supplying control unit 109 can charge the battery 111 with the power received from the first connection unit 110 or the second connection unit 120. Further, the power charging / supplying control unit 109 supplies the power from the battery 111 to each component of the electronic device 100.
[0034] The first connection unit 110 and the second connection unit 120 are interfaces for connecting to the power supply device 300 and function as power reception ports to which power is supplied from the power supply device 300. In the present embodiment, they are connectors compliant with the USB Type-C standard. The electronic device 100 can communicate with the power supply device 300 via the first connection unit 110 or the second connection unit 120 and exchange data. Also, the electronic device 100 can receive power supply from the power supply device 300 via the first connection unit 110 or the second connection unit 120. In the present embodiment, since the electronic device 100 operates as a USB device, the first connection unit 110 and the second connection unit 120 include an interface connector and a USB device controller for performing USB communication with the power supply device 300. The main control unit 101 controls the first connection unit 110 and the second connection unit 120 to perform data communication and power exchange based on the USB PD standard with the power supply device 300.
[0035] The battery 111 supplies the power for operating the electronic device 100. The battery 111 is configured to be removable from the electronic device 100 and can receive power for charging via the power charging / supplying control unit 109 from the first connection unit 110 or the second connection unit 120. The battery 111 has an authentication unit that performs battery authentication processing, and the authentication unit of the battery 111 performs battery authentication processing with the main control unit 101 or the sub-control unit 108 of the electronic device 100.
[0036] The power control unit 112 controls the supply and cut-off of power from the battery 111 or the charging / power supply control unit 109 to each component of the electronic device 100 according to the state of the electronic device 100. The power control unit 112 is controlled by the main control unit 101 or the sub-control unit 108.
[0037] The communication switching unit 113 is a bus switch for switching the connection destination of the signal line for data communication between the main control unit 101 and the power supply device 300 to the first connection unit 110 or the second connection unit 120.
[0038] <Configuration of the power supply device 300> Next, with reference to FIG. 3, the configuration and functions of the power supply device 300 of the present embodiment when it is a charger will be described.
[0039] The charger control unit 301 includes a microcontroller including a processor such as a CPU, a memory such as a ROM and a RAM, a controller, and peripheral circuits. The charger control unit 301 controls each component of the power supply device 300 by executing a program stored in the memory. Instead of the charger control unit 301 controlling the entire device, a plurality of hardware may share the processing to control the entire device.
[0040] The connection unit 302 is an interface for connecting to a power receiving device such as the electronic device 100, and functions as a power supply port for supplying power from the electronic device 100. In the present embodiment, it is a connector compliant with the USB Type-C standard.
[0041] The information acquisition unit 303 is a USB PD controller that communicates with the electronic device 100 in accordance with the USB PD standard via the CC terminal of the first connection unit 110 or the second connection unit 120. When the power supply device 300 is connected to the electronic device 100 via the first connection unit 110 or the second connection unit 120, the information acquisition unit 303 notifies the power supply capacity of the power supply device 300 based on the voltage of the CC terminal of the first connection unit 110. Furthermore, the information acquisition unit 303 communicates with the electronic device 100 via the CC terminal and performs power negotiation to determine the supply power (a combination of voltage value and current value) requested from the power supply device 300.
[0042] The external connection unit 304 is an adapter connected to a commercial power supply or the like.
[0043] The power control unit 305 converts the power input from the external connection unit 304 into power that can be supplied to the electronic device 100. For example, when the external connection unit 304 inputs power from a commercial power supply (100V / 50Hz AC power supply) and supplies it to the electronic device 100 (9V / 3A), the power control unit 305 converts the AC power input from the external connection unit 304 into DC power. The charger control unit 301 changes the DC power converted by the power control unit 305 into a voltage and current corresponding to the required power determined by the power negotiation by the information acquisition unit 303, and makes it outputtable from the power control unit 305. Also, the charger control unit 301 can change the power outputtable from the power control unit 305 according to the request received from the power receiving device by the information acquisition unit 303.
[0044] The output control unit 306 controls the supply / shutdown to the power receiving device via the VBUS terminal of the power output from the power control unit 305 based on the timing of the start or stop of power supply requested from the power receiving device by the information acquisition unit 303.
[0045] Also, when the power supply device 300 is a mobile battery, the battery can be charged with the power input from the external connection unit 304 or the connection unit 302, and the power of the battery can be supplied to the electronic device 100 via the connection unit 302.
[0046] Next, with reference to FIG. 4, the configuration and functions of the charging / power supply control unit 109 of the electronic device 100 according to the present embodiment will be described.
[0047] The information acquisition unit 1101 is a USB PD controller that communicates with the power supply device 300 via the CC terminal of the first connection unit 110 in accordance with the USB PD standard. When the power supply device 300 is connected via the first connection unit 110, the information acquisition unit 1101 detects the power (power supply capacity) that the power supply device 300 can supply based on the voltage of the CC terminal of the first connection unit 110. Furthermore, the information acquisition unit 1101 performs power negotiation for determining the supply power (combination of voltage value and current value) required for the power supply device 300 by communicating with the power supply device 300 via the CC terminal. In the power negotiation, the information acquisition unit 1101 receives power supply capacity information indicating the voltage and current that the power supply device 300 can supply from the power supply device 300. Then, the information acquisition unit 1101 sends the received power supply capacity information to the sub-control unit 108. The sub-control unit 108 determines the voltage required for the power supply device 300 based on the information described in the power supply capacity information and sends it to the information acquisition unit 1101. The information acquisition unit 1101 transmits information indicating the determined voltage to the power supply device 300. The power supply device 300 sends the voltage requested by the information acquisition unit 1101 to the power reception control unit 1102 via the VBUS terminal.
[0048] The power reception control unit 1102 can receive power from the power supply device 300 connected to the first connection unit 110 via the VBUS terminal of the first connection unit 110. The power reception control unit 1102 controls whether to supply power to the power supply control unit 1001 according to the information acquired by the information acquisition unit 1101 and the control of the sub-control unit 108.
[0049] The voltage monitoring unit 1103 monitors the VBUS voltage input from the first connection unit 110 and notifies the sub-control unit 108 of the VBUS voltage. For example, when the power supply capacity of the power supply device 300 is 9V / 3A, the voltage monitoring unit 1103 monitors whether the power supply device 300 is outputting a voltage (such as 15V) that is higher than expected. Alternatively, it monitors whether the voltage is not much lower than 9V due to a short circuit in the electronic device 100 due to an abnormal state. If necessary, the sub-control unit 108 instructs the power reception control unit 1102 to stop the power output and requests the power supply device 300 to stop the power output from the information acquisition unit 1101.
[0050] The temperature monitoring unit 1104 monitors the temperature near the first connection unit 110 and notifies the sub-control unit 108. For example, the temperature monitoring unit 1104 monitors whether the first connection unit 110 is generating heat due to an abnormal state of the electronic device 100 and whether the temperature is not above a level that can protect the user. If necessary, the sub-control unit 108 instructs the power reception control unit 1102 to stop the power output and requests the power supply device 300 to stop the power output from the information acquisition unit 1101.
[0051] The information acquisition unit 1201, the power reception control unit 1202, the voltage monitoring unit 1203, and the temperature monitoring unit 1204 perform data communication and power transfer via the second connection unit 120 in the same manner as the information acquisition unit 1101, the power reception control unit 1102, the voltage monitoring unit 1103, and the temperature monitoring unit 1104.
[0052] The power supply control unit 1001 converts the VBUS voltage supplied from at least one of the power reception control units 1102 and 1202 into a voltage that can be input to the power supply control unit 112 and the charging control unit 1002 described later. In this embodiment, the power supply control unit 1001 steps down the VBUS voltage of, for example, 5V or 9V to a voltage appropriate for charging the battery. In this embodiment, the battery 111 is composed of one cell, and constant current charging (CC) or constant voltage charging (CV) is performed so that the full charge voltage is 4.2V. If the battery 111 is composed of two or more cells, or depending on the input voltage, the power supply control unit 1001 may be configured to step up or step down. Also, when no battery is attached, the power supply control unit 1001 may convert the VBUS voltage supplied from the power reception control unit 1102 to the most efficient voltage (for example, 3.7V) by the power supply control unit 112. Further, the power supply control unit 1001 can control the supplied current according to the instruction of the sub-control unit 108 based on the power supply capacity of the power supply device 300 acquired by the information acquisition unit 1101 and the information acquisition unit 1201. For example, when the power supply capacity of the power supply device 300 connected to the first connection unit 110 is 9V / 3A, the power supply control unit 1001 steps down the VBUS voltage so that it becomes 4.2V, which is the rated voltage of the battery 111, and controls so that a current of 3.0A or more does not flow from the VBUS terminal.
[0053] The charging control unit 1002 receives the power input from the VBUS terminal of the first connection unit 110 from the power supply control unit 1001. The charging control unit 1002 uses the power input from the VBUS terminal of the first connection unit 110 to charge the battery 111 connected to the battery connection unit 1003 described later. The charging control unit 1002 realizes constant current charging (CC) or constant voltage charging (CV) while controlling the current so as not to affect the battery 111.
[0054] The battery connection unit 1003 can be connected to the battery 111. The battery connection unit 1003 is configured such that a power supply terminal, a GND terminal, a connection terminal to the battery authentication circuit, and a thermistor terminal built in the battery are connected.
[0055] <Control Process> Next, with reference to FIGS. 5 to 11, the control process when the power supply device 300 is connected to the electronic device 100 of the present embodiment will be described.
[0056] The process of FIG. 5 illustrates the control process when the power supply device 300 is connected to the first connection portion 110 of the electronic device 100.
[0057] Note that the process of FIG. 5 is realized by the main control unit 101 of the electronic device 100 loading the program stored in the non-volatile memory 103 into the working memory 104 and executing it to control each component of the electronic device 100. The same applies to FIGS. 8 and 11 described later. Further, the process of FIG. 5 is executed in a state where the electronic device 100 is activated by the power of the battery 111 as described later in FIG. 11.
[0058] Hereinafter, the first connection portion 110 will be described by rephrasing it as the power reception port 1 and the connection portion 12 as the power reception port 2.
[0059] In step S101, the main control unit 101 waits until it detects that the power supply device 300 is connected to the power reception port 1. When it detects that the power supply device 300 is connected, the process proceeds to step S102. The main control unit 101 detects that the power supply device 300 is connected to the power reception port 1 based on the VBUS voltage detected by the voltage monitoring unit 1103 or the voltage level of the CC terminal detected by the information acquisition unit 1101. Further, when the information acquisition unit 1101 detects that the power supply capacity of the power supply device 300 connected to the power reception port 1 has changed, the process may proceed to step S102.
[0060] In step S102, the main control unit 101 acquires the power supply capacity of the power supply device 300 connected to the power reception port 1 by the information acquisition unit 1101. In this case, the main control unit 101 may acquire information other than the power supply capacity from the power supply device 300 connected to the power reception port 1 by communication via the CC terminal or data communication via the D+ / D- terminals.
[0061] In step S103, the main control unit 101 determines whether the power supply capacity of the power supply device 300 connected to the power reception port 1 is sufficient. Here, the main control unit 101 determines, based on the information acquired in step S102, whether the power supply device 300 connected to the power reception port 1 has the ability to supply power equal to or greater than a predetermined power. If the main control unit 101 determines that the power supply device 300 connected to the power reception port 1 has the ability to supply power equal to or greater than a predetermined power, the process proceeds to step S104. If the main control unit 101 determines that the power supply device 300 connected to the power reception port 1 does not have the ability to supply power equal to or greater than a predetermined power, the process proceeds to step S109.
[0062] In step S109, the main control unit 101 stops power reception via the power reception port 1. The main control unit 101 stops the input of the VBUS voltage by the power reception control unit 1102 so that power is not supplied from the power reception control unit 1102 to the power supply control unit 1001. Alternatively, the main control unit 101 may control to request the power supply device 300 to reduce the supplied power, for example, request 0 A of VBUS current, through communication via the CC terminal by the information acquisition unit 1101.
[0063] In step S104, the main control unit 101 enables power reception via the power reception port 1. The main control unit 101 stops the input of the VBUS voltage by the power reception control unit 1102 so that power is not supplied from the power reception control unit 1102 to the power supply control unit 1001. Further, the main control unit 101 requests the necessary power from the power supply device 300 via the CC terminal by the information acquisition unit 1101.
[0064] In step S105, the main control unit 101 determines whether power is being received via a power reception port 2 different from the power reception port 1. If the main control unit 101 determines that power is being received via the power reception port 2, the process proceeds to step S108. If the main control unit 101 determines that power is not being received via the power reception port 2, the process proceeds to step S106.
[0065] In step S106, the main control unit 101 starts the input of the VBUS voltage by the power reception control unit 1102 and starts power reception by the power reception port 1. At this time, the power supply device 300 supplies the power requested from the power supply device 300 in step S104.
[0066] The main control unit 101 displays icons indicating each power reception port on the display unit 106. Specifically, the first icon indicating the first power reception port and the second icon indicating the second power reception port are displayed on the display unit 106. Then, when the control unit 101 is receiving power from the power supply device connected to the power reception port, it displays the icon in the first display form. Also, when the control unit 101 is not receiving power from the power supply device connected to the power reception port but power reception is possible, it displays the icon in the second display form. Further, when the control unit 101 cannot receive power from the power reception port (power reception is impossible), it displays the icon in the third display form. Therefore, in step S107, as the determination result in step S105, the main control unit 101 displays an icon in the first display form, which indicates that power reception is in progress by the power reception port 1 as illustrated in FIG. 6(a), on the display unit 106.
[0067] In step S108, as the determination result in step S105, the main control unit 101 displays an icon on the display unit 106, which indicates that power reception is not being performed from the power reception port 1 but power reception is possible (power reception is waiting), as illustrated in FIG. 6(b).
[0068] In step S110, as the determination result in step S103, the main control unit 101 displays an icon on the display unit 106, which indicates that power reception by the power reception port 1 is impossible, as illustrated in FIG. 6(c).
[0069] In addition, if the connection between the power supply device 300 and the power reception port 1 is disconnected after the connection of the power supply device 300 is detected in step S101 of FIG. 5, the process returns to step S101 to detect the connection of the power supply device 300.
[0070] The above is the process when the power supply device 300 is connected to the power reception port 1. Similarly, when the power supply device 300 is connected to the power reception port 2, the power reception control by the power reception control unit 1202 and the icon display in FIGS. 6(d) to 6(f) indicating the power reception state by the power reception port 2 are performed.
[0071] FIG. 7 illustrates a state in which an icon indicating the power reception state in FIG. 6 is displayed on the display unit 106 of the electronic device 100. In the example of FIG. 7, the power supply device 300 is connected to the power reception port 1 and the power reception port 2, and the icon 701 in FIG. 6(a) indicating that power is being received by the power reception port 1 and the icon 702 in FIG. 6(e) indicating that the power reception port 2 is in the power reception standby state are displayed. Note that the icon indicating the power reception state may not always be displayed. For example, the icon may be hidden when a certain period of time has elapsed in a state where there is no operation. Alternatively, as in the screens of FIGS. 10(a) to 10(c) described later, in step S107 of FIG. 5, the power reception port 1 is in the power reception state, in step S108, the power reception port 1 is in the power reception standby state, and in step S109, the power reception port 1 may display that power reception is not possible.
[0072] Next, with reference to FIG. 8, the power reception port change process of the electronic device 100 according to the present embodiment will be described.
[0073] The process of FIG. 8 illustrates a control process when a user operation for instructing a change to power reception by the power reception port 2 is received in a state where the power supply device 300 is connected to the power reception port 1 and the power reception port 2, power is being received by the power reception port 1, and power reception by the power reception port 2 is not being performed.
[0074] In step S201, the main control unit 101 waits until it detects that the power supply device 300 is connected to the power reception port 1 and the power reception port 2. When it detects that the power supply device 300 is connected to the power reception port 1 and the power reception port 2, the process proceeds to step S202.
[0075] In step S202, the main control unit 101 waits until an instruction from the user to select a power reception port by the operation unit 105 is detected. When an operation by the user to select a power reception port is detected, the process proceeds to step S203. Operations for selecting a power reception port include, for example, a method of touching an icon shown in FIG. 6(b) or FIG. 6(e) indicating power reception standby on the screen of FIG. 7 or an area around the icon for a predetermined time or more. Alternatively, there is a method of selecting a selection frame of a power reception port capable of power reception on the screen of FIG. 10 by operating the operation unit 105 or selecting it by a touch operation.
[0076] FIGS. 10(a) to 10(c) illustrate a power reception port selection screen displayed on the display unit 106 of the electronic device 100 when the power supply device 300 is connected to the power reception port 1 and the power reception port 2. The user can instruct a change to the selected power reception port by selecting a selection frame of a power reception port capable of power reception on the screen of FIG. 10(a) or FIG. 10(c).
[0077] In step S203, the main control unit 101 determines whether power reception by the power reception port selected by the power reception port selection operation in step S202 is possible. If the main control unit 101 determines that power reception by the power reception port selected in step S202 is possible, the process proceeds to step S204. If the main control unit 101 determines that power reception by the power reception port selected in step S202 is not possible, the process proceeds to step S211.
[0078] For example, when FIGS. 6(b) or 6(e) indicating power reception standby are displayed on the screen of FIG. 7, if the touch detection unit 106a detects that the icon or an area around the icon has been touched for a predetermined time or more, it is determined that power reception by the selected power reception port is possible. Alternatively, on the screen of FIG. 10(a) or FIG. 10(c), when a selection frame of a power reception port capable of power reception is selected, it is determined that power reception by the selected power reception port is possible.
[0079] Also, for example, when FIGS. 6(c) or 6(f) indicating power reception impossibility are displayed on the screen of FIG. 7, if the touch detection unit 106a detects that the icon or the peripheral area of the icon has been touched for a predetermined time or longer, it is determined that power reception by the selected power reception port is impossible. Alternatively, in the screen of FIG. 10(b), when the selection frame of the power reception port with power reception impossibility is selected, it is determined that power reception by the selected power reception port is impossible.
[0080] In step S211, the main control unit 101 notifies the user that the change to the power reception port selected in step S202 cannot be made, and ends the process. In step S211, for example, the screen of FIG. 10(e) is displayed on the display unit 106. In the example of FIG. 10(e), since the selected power reception port cannot supply sufficient power to the electronic device 100, by notifying that the change cannot be made, the user can recognize that the change to the selected power reception port cannot be made.
[0081] In step S204, the main control unit 101 compares the power that the power supply device 300 during power reception can supply with the power that the power supply device 300 connected to the power reception port selected in step S202 can supply. Then, it is determined whether the power supplied from the power supply device 300 decreases after changing the power reception port compared to before changing the power reception port. If the main control unit 101 determines that the power that the power supply device 300 connected to the power reception port selected in step S202 can supply is greater than or equal to the power that the power supply device 300 during power reception can supply, the process proceeds to step S205. If the main control unit 101 determines that the power that the power supply device 300 connected to the power reception port selected in step S202 can supply is lower than the power that the power supply device 300 during power reception can supply, the process proceeds to step S209.
[0082] In step S209, when the main control unit 101 changes to the selected power reception port, it notifies the user that the power supplied to the electronic device 100 will decrease. Then, the main control unit 101 displays on the display unit 106 a screen for allowing the user to select whether to execute the change of the power reception port. Here, for example, the screen in FIG. 10(d) is displayed. In the example of FIG. 10(d), it is notified that if the selected power reception port is changed, the power supplied to the electronic device 100 will decrease, the power supplied from the battery 111 will increase, and the remaining amount of the battery 111 may decrease rapidly. By doing so, the user can reconsider whether to change to the selected power reception port.
[0083] In step S210, the main control unit 101 determines whether an instruction to change the power reception port is received when the operation unit 105 is operated by the user. If the main control unit 101 determines that an instruction to change the power reception port is received, the process proceeds to step S205. If the main control unit 101 determines that an instruction not to execute the change of the power reception port is received when the operation unit 105 is operated by the user, the process ends. For example, when the user operates "Yes" on the screen in FIG. 10(d), the main control unit 101 determines that an instruction to change the power reception port is received, and when the user operates "No", the main control unit 101 determines that an instruction not to execute the change of the power reception port is received.
[0084] From steps S205 to S207, the main control unit 101 executes the process of changing the power reception port.
[0085] In step S205, the main control unit 101 stops the power reception by the power reception port that is receiving power. The main control unit 101 stops the input of the VBUS voltage by the power reception control unit 1102 so that power is not supplied from the power reception control unit 1102 to the power supply control unit 1001. In this case, since the power supply to all the power reception ports is temporarily stopped, the electronic device 100 operates with the power of the battery 111.
[0086] In step S206, the main control unit 101 requests the necessary power from the power supply device 300 connected to the changed power reception port 2 via the CC terminal by the information acquisition unit 1201. Also, the main control unit 101 changes the setting of the voltage limit value and current limit value of the power supply control unit 1001 by the sub-control unit 108. In this case, as described above, the information acquisition unit 1101 performs power negotiation processing with the power supply device 300 connected to the power reception port 2, and the sub-control unit 108 determines the voltage to be requested from the power supply device 300. Then, the information acquisition unit 1101 requests the determined voltage from the power supply device 300 connected to the power reception port 2.
[0087] In step S207, the main control unit 101 starts receiving the VBUS voltage by the power reception control unit 1202 and starts receiving power from the power supply device 300 connected to the changed power reception port 2.
[0088] In step S208, the main control unit 101 displays an icon corresponding to the power reception states of the power reception port 1 and the power reception port 2 on the display unit 106. For example, the main control unit 101 switches the icons 701 and 702 displayed on the screen of FIG. 7 from the icon indicating that the power reception port 1 is receiving power and the icon indicating that the power reception port 2 is in the power reception standby state shown in FIG. 9(a) to the icon indicating that the power reception port 1 is in the power reception standby state and the icon indicating that the power reception port 2 is receiving power shown in FIG. 9(b). Alternatively, the main control unit 101 switches the screen of FIG. 10(a) displayed on the display unit 106 to the screen of FIG. 10(c).
[0089] During the process of FIG. 8, if the connection of the power supply device 300 to the power reception port 1 or the power reception port 2 is disconnected, the process returns to step S201 to detect the connection of the power supply device 300.
[0090] As described above, when the processes from step S205 to S207 are executed, since the power supply to all power reception ports is temporarily stopped, the electronic device 100 needs to operate using the power of the battery 111. Therefore, when executing the process of FIG. 8, it is necessary that there is remaining power in the battery 111 for operating the electronic device 100, for example, the power for starting the electronic device 100 from the sleep state.
[0091] FIG. 11 is a flowchart illustrating control processing according to the remaining battery level of the battery 111 by the electronic device 100 of the present embodiment. Note that the process of FIG. 11 is executed by the main control unit 101 of the electronic device 100 in the sleep state. The process of FIG. 8 is executed when the electronic device 100 is in an activated state in the process of FIG. 11.
[0092] In step S301, the main control unit 101 waits until an activation event occurs, such as when the operation unit 105 is operated. When an activation event occurs, the process proceeds to step S302.
[0093] In step S302, the main control unit 101 determines whether there is remaining power in the battery 111 for operating the electronic device 100, for example, the power for starting the electronic device 100 from the sleep state. If the main control unit 101 determines that there is remaining power in the battery 111 for operating the electronic device 100, the process proceeds to step S303. If the main control unit 101 determines that there is no remaining power in the battery 111 for operating the electronic device 100, the process proceeds to step S308. The determination method is, for example, that when the voltage of the battery 111 is equal to or higher than a predetermined threshold value, it can be determined that there is remaining power in the battery 111 for starting the electronic device 100 from the sleep state. Alternatively, when the battery 111 is provided with a fuel gauge, the remaining amount information of the fuel gauge is acquired from the battery 111, and when the remaining amount of the battery 111 is equal to or higher than a predetermined threshold value, it can be determined that there is remaining power in the battery 111 for starting the electronic device 100 from the sleep state.
[0094] In step S308, the main control unit 101 notifies the user by displaying on the display unit 106 for a certain period of time that the electronic device cannot be started because the remaining amount of the battery 111 is insufficient or that the battery 111 needs to be charged to start, and then ends the process. Note that the process of step S308 may not be executed.
[0095] In step S303, the main control unit 101 performs a startup process of the electronic device 100. The main control unit 101 supplies the power of the battery 111 to each component of the electronic device 100 through the charge / power supply control unit 109, and the electronic device 100 becomes operable in each operation mode.
[0096] The processes of steps S304 and S305 are executed periodically.
[0097] In step S304, the main control unit 101 determines whether an end event has occurred, such as when the operation unit 105 is operated. If the end event has occurred, the process proceeds to step S307. If the end event has not occurred, the process proceeds to step S305.
[0098] In step S305, the main control unit 101 determines whether there is enough power remaining in the battery 111 to operate the electronic device 100. If the main control unit 101 determines that there is enough power remaining in the battery 111 to operate the electronic device 100, the process returns to step S304. If the main control unit 101 determines that there is not enough power remaining in the battery 111 to operate the electronic device 100, the process proceeds to step S306. The method for determining the remaining battery level is the same as in step S302.
[0099] In step S306, the main control unit 101 notifies the user by displaying on the display unit 106 for a certain period of time that the startup is ended because the remaining amount of the battery 111 is insufficient or that the battery 111 needs to be charged to start, and then ends the process. Note that the process of step S306 may not be executed.
[0100] In step S307, the main control unit 101 performs the termination process of the electronic device 100 and ends the process.
[0101] Before executing step S307, in step S306, the user may be notified by the display unit 106 or the like that the battery 111 has no remaining battery power. The main control unit 101 stops the power supply to each component of the electronic device 100 by the charging / power supply control unit 109 and shifts to the sleep state.
[0102] By the above-described process, during the startup of the electronic device 100, it is possible to always maintain a state in which there is power for operating the electronic device 100 in the battery 111.
[0103] Note that the electronic device 100 of the present embodiment is also assumed to be in a state where the remaining amount of the battery 111 is insufficient or the battery 111 is not attached, but the electronic device 100 is receiving power necessary for operation from the power supply device 300 connected to the power reception port. In this case, the power reception from the power reception port is always continued, and the order of the processes of steps S205 and S207 in FIG. 8 may be reversed so that the power reception port can be changed even if the remaining amount of the battery 111 is insufficient. When the order of the processes of steps S205 and S207 is reversed, measures such as mounting a reverse current prevention function on the power reception control unit 1102 and the power reception control unit 1202 may be required.
[0104] In the above-described embodiment, an example in which the electronic device 100 has two power reception ports, the first connection unit 110 and the second connection unit 120, has been described, but the electronic device 100 may be provided with three or more power reception ports. In this case, while power is being received from one of the plurality of power reception ports and not received from the other power reception ports, the power reception port that is not receiving power is selected by the user. Then, in response to the user's selection instruction, the power reception from the power reception port that is receiving power is stopped, and the power reception from the selected power reception port is started.
[0105] According to the present embodiment, during power reception from a power supply device connected to any one of a plurality of power reception ports, in response to receiving an operation instruction from a user to change the power reception port, it is possible to change to power reception from a power supply device connected to another power reception port.
[0106] [Other Embodiments] The present invention can also be realized by supplying a program that realizes one or more functions of the above-described embodiment to a system or device via a network or a storage medium, and having one or more processors in a computer of the system or device read and execute the program. Further, it can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
[0107] The invention is not limited to the above-described embodiment, and various changes and modifications can be made without departing from the spirit and scope of the invention. Therefore, the claims are attached to disclose the scope of the invention.
[0108] The disclosure of this specification includes the following electronic devices, control methods, and programs. [Configuration 1] A first connection part to which a power supply device is connected, A second connection part to which a power supply device is connected, Communication means for communicating with the first power supply device when the first power supply device is connected to the first connection part, and communicating with the second power supply device when the second power supply device is connected to the second connection part; Power reception means for receiving power supplied from the first power supply device via the first connection part and receiving power supplied from the second power supply device via the second connection part; While receiving power from the first power supply device connected to the first connection portion and not receiving power from the second power supply device connected to the second connection portion, in response to receiving an instruction from the user to select the second connection portion, control means is provided to stop receiving power from the first power supply device connected to the first connection portion and start receiving power from the second power supply device connected to the second connection portion. An electronic device characterized by having the above. [Configuration 2] When the power that can be supplied by the second power supply device connected to the second connection portion is less than a predetermined power, the control means does not stop receiving power from the first power supply device according to the instruction, and does not start receiving power from the second power supply device. The electronic device according to Configuration 1, characterized in that control is performed so as to [Configuration 3] When the power that can be supplied by the second power supply device connected to the second connection portion is less than the predetermined power, the control means notifies the user that it is impossible to change to receiving power from the second connection portion. The electronic device according to Configuration 2, characterized by [Configuration 4] When the power that can be supplied by the second power supply device connected to the second connection portion is less than the power that can be supplied by the first power supply device connected to the first connection portion, the control means issues a notification for inquiring the user whether to change to the second connection portion according to the instruction, and in response to receiving an instruction to change from the user, stops receiving power from the first power supply device connected to the first connection portion, and starts receiving power from the second power supply device connected to the second connection portion. The electronic device according to Configuration 1, characterized in that control is performed so as to [Configuration 5] It has display means The control means displays a first icon indicating the first connection part and a second icon indicating the second connection part on the display means, and displays the first icon and the second icon in any one of a first display form indicating that power is being received from a power supply device connected to the first connection part or the second connection part, a second display form indicating that power is not being received from the power supply device connected to the first connection part or the second connection part but power reception is possible, and a third display form indicating that power reception via the first connection part or the second connection part is not possible, on the display means. The electronic device according to any one of Claims 1 to 4, characterized in that control is performed so as to display. [Configuration 6] It has detection means for detecting a touch operation on the first icon or the second icon. The control means determines that the instruction has been received when the detection means detects a touch operation on the second icon displayed in the second display form. The electronic device according to Configuration 5, characterized in that. [Configuration 7] The control means determines whether power can be received from the first power supply device based on the power that the first power supply device connected to the first connection part can supply, and when power cannot be received from the first power supply device, displays the first icon in the third display form, determines whether power can be received from the second power supply device based on the power that the second power supply device connected to the second connection part can supply, and when power cannot be received from the second power supply device, controls to display the second icon in the third display form. The electronic device according to Configuration 5, characterized in that. [Configuration 8] The control means determines whether power can be received from the first power supply device based on the power that the first power supply device connected to the first connection portion can supply, and when power can be received from the first power supply device but power is not being received from the first power supply device, the first icon is displayed in the second display form. The control means determines whether power can be received from the second power supply device based on the power that the second power supply device connected to the second connection portion can supply, and when power can be received from the second power supply device but power is not being received from the second power supply device, the second icon is displayed in the second display form. The electronic device according to configuration 5, characterized in that control is performed as described above. [Configuration 9] The control means determines the power required from the first power supply device according to communication with the first power supply device by the communication means, requests power from the first power supply device via the communication means, determines the power required from the second power supply device according to communication with the second power supply device by the communication means, and requests power from the second power supply device via the communication means. The electronic device according to any one of configurations 1 to 8, characterized in that it is as described above. [Configuration 10] An electronic device having a mounting portion on which a battery can be mounted and being operable by power from the battery. The electronic device according to any one of configurations 1 to 9, characterized in that it is as described above. [Configuration 11] The electronic device according to configuration 10, characterized in that it has a charging means for charging the battery with the power received by the power receiving means. [Configuration 12] The first connection portion and the second connection portion are each interfaces conforming to the USB Type-C standard. The electronic device is a device conforming to the USB (Universal Serial Bus) PD (Power Delivery) standard. The electronic device according to any one of configurations 1 to 11, characterized in that it is as described above. [Configuration 13] A control method for an electronic device, The electronic device is a first connection portion to which a power supply device is connected, A second connection part to which a power supply device is connected, communication means for communicating with the first power supply device when the first power supply device is connected to the first connection part and communicating with the second power supply device when the second power supply device is connected to the second connection part; power receiving means for receiving power supplied from the first power supply device via the first connection part and receiving power supplied from the second power supply device via the second connection part, and having; The control method is as follows. When receiving power from the first power supply device connected to the first connection part and not receiving power from the second power supply device connected to the second connection part, in response to receiving an instruction from the user to select the second connection part, stopping the power reception from the first power supply device connected to the first connection part and starting the power reception from the second power supply device connected to the second connection part, and a control method characterized by having a step of performing control. [Configuration 14] A program for causing a computer to function as the electronic device according to any one of Configurations 1 to 12.
Explanation of Reference Numerals
[0109] 100... Electronic device, 101... Main control unit, 109... Charge / power supply control unit, 110... First connection part, 120... Second connection part, 1101, 1201... Information acquisition unit, 1102, 1202... Power reception control unit, 300... Power supply device
Claims
1. a first connection part to which a power supply device is connected; a second connection part to which a power supply device is connected; communication means for communicating with the first power supply device when the first power supply device is connected to the first connection part, and for communicating with the second power supply device when the second power supply device is connected to the second connection part; power receiving means for receiving power supplied from the first power supply device via the first connection part and for receiving power supplied from the second power supply device via the second connection part; control means for stopping power reception from the first power supply device connected to the first connection part and starting power reception from the second power supply device connected to the second connection part in response to receiving an instruction from a user to select the second connection part while power is being received from the first power supply device connected to the first connection part and power is not being received from the second power supply device connected to the second connection part. An electronic device characterized by comprising these components.
2. The control means according to claim 1, wherein when the power that the second power supply device connected to the second connection part can supply is smaller than a predetermined power, the control means does not stop power reception from the first power supply device according to the instruction and controls so as not to start power reception from the second power supply device.
3. The electronic device according to claim 2, wherein the control means notifies the user that power reception from the second connection part cannot be changed when the power that the second power supply device connected to the second connection part can supply is smaller than the predetermined power.
4. When the power that the second power supply device connected to the second connection part can supply is smaller than the power that the first power supply device connected to the first connection part can supply, the control means sends a notification to inquire of the user whether to change to the second connection part according to the instruction, and in response to receiving an instruction to change from the user, stops power reception from the first power supply device connected to the first connection part and starts power reception from the second power supply device connected to the second connection part. The electronic device according to claim 1, characterized by performing control in this way.
5. having display means The control means displays a first icon indicating the first connection portion and a second icon indicating the second connection portion on the display means, and the first icon and the second icon are respectively in a first display form indicating that power is being received from a power supply device connected to the first connection portion or the second connection portion, a second display form indicating that power is not being received from the power supply device connected to the first connection portion or the second connection portion but power reception is possible, and a third display form indicating that power reception via the first connection portion or the second connection portion is not possible, and controls to display on the display means in any of the display forms. The electronic device according to claim 1, characterized in that
6. It has detection means for detecting a touch operation on the first icon or the second icon, When the control means detects a touch operation on the second icon displayed in the second display form by the detection means, it determines that the instruction has been received. The electronic device according to claim 5, characterized in that
7. The control means determines whether power can be received from the first power supply device based on the power that the first power supply device connected to the first connection portion can supply, and when power cannot be received from the first power supply device, it displays the first icon in the third display form, and determines whether power can be received from the second power supply device based on the power that the second power supply device connected to the second connection portion can supply, and when power cannot be received from the second power supply device, it controls to display the second icon in the third display form. The electronic device according to claim 5, characterized in that
8. The control means determines whether power can be received from the first power supply device based on the power that the first power supply device connected to the first connection portion can supply, and when power can be received from the first power supply device but power is not being received from the first power supply device, it displays the first icon in the second display form, and determines whether power can be received from the second power supply device based on the power that the second power supply device connected to the second connection portion can supply, and when power can be received from the second power supply device but power is not being received from the second power supply device, it controls to display the second icon in the second display form. The electronic device according to claim 5, characterized in that
9. The control means determines the power required from the first power supply device in response to communication with the first power supply device by the communication means, requests power from the first power supply device via the communication means, determines the power required from the second power supply device in response to communication with the second power supply device by the communication means, and requests power from the second power supply device via the communication means. The electronic device according to claim 1, characterized in that.
10. An electronic device according to claim 1, comprising a mounting portion on which a battery can be mounted and being operable by power from the battery.
11. The electronic device according to claim 10, further comprising a charging means for charging the battery with the power received by the power receiving means.
12. The first connection portion and the second connection portion are each an interface compliant with the USB Type-C standard. The electronic device according to claim 1, characterized in that the electronic device is a device compliant with the USB (Universal Serial Bus) PD (Power Delivery) standard.
13. A control method for an electronic device, comprising: The electronic device includes: A first connection portion to which a power supply device is connected; A second connection portion to which a power supply device is connected; Communication means for communicating with the first power supply device when the first power supply device is connected to the first connection portion and communicating with the second power supply device when the second power supply device is connected to the second connection portion; Power receiving means for receiving power supplied from the first power supply device via the first connection portion and receiving power supplied from the second power supply device via the second connection portion. The control method includes: When receiving power from the first power supply device connected to the first connection portion and not receiving power from the second power supply device connected to the second connection portion, in response to receiving an instruction from the user to select the second connection portion, stopping the power reception from the first power supply device connected to the first connection portion and starting the power reception from the second power supply device connected to the second connection portion. A control method characterized by having a step of performing control.
14. A program for causing a computer to function as the electronic device according to any one of claims 1 to 12.
Citation Information
Patent Citations
Information processing unit, information processing method and program
JP2018007450A