Single-connector power supply device
The power supply device automatically switches between charging and discharging modes using a microcontroller and standard USB connector, addressing the impracticality of manual operation and voltage limitations in existing technologies.
Patent Information
- Application Number
- FR2024005296
- Authority / Receiving Office
- FR · FR
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2025-11-28
AI Technical Summary
Existing power supply devices require manual operation to switch between charging and discharging modes, which is impractical in confined or vibrating environments, and standard USB-PD connectors lack flexibility and require high voltage operation.
A power supply device with a microcontroller that automatically switches between charging and discharging modes based on voltage measurements across a standard USB connector, using a single connector for both functions without additional mechanical elements.
Enables automatic mode switching without manual intervention, allowing operation in confined or vibrating environments and supporting a wide range of voltage requirements.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Title of the invention: Single-connector power supply device technical field
[0001] This disclosure relates to the general field of rechargeable and communicating power sources, and more particularly to power supply devices comprising a single connector. STATE OF THE ART
[0002] Many systems may require power from a power source, and in particular from portable power supply devices such as chargers (“power bank” in Anglo-Saxon terminology).
[0003] Such power supply devices generally include a first connector, allowing the recharging of an internal battery storing energy, and a second connector, allowing the power supply device to provide energy to external devices.
[0004] Alternatively, a power supply device may include a single connector that performs both charging and discharging functions. For example, the connector may be a universal type and conform to the Universal Serial Bus USB On-The-Go (or USB OTG) standard. Such a connector can allow for bidirectional data exchange or power delivery (PD), without distinguishing between a host and a slave. This is made possible by the presence of an additional pin, called the ID pin, on the connector, compared to standard USB connectors. The charging or discharging state of the power supply device can be detected by the state of the pin, defined by a nominal resistance. However, this USB-PD connector offers little flexibility because it requires the external slave system to be supplied with an electrical voltage greater than or equal to 5V.Generally, the change in operation is made possible by adding extra pins.
[0005] Other solutions have been considered to allow the use of a power supply in charge / discharge mode using a single connector. For example, US patent 2017 / 0256967 proposes a power supply comprising an external switch-type button to control whether the internal battery should be charged or discharged through the connector. Such a device therefore requires the use of an external operator to switch from a charging mode to a discharging mode and vice versa. However, in some cases, for example, for use of the power supply device for an embedded system, or in In confined, inaccessible environments or environments subject to strong vibrations, manual operation is not feasible. Description of the invention
[0006] An object of the present invention is to provide a power supply device that can both power an external device and be recharged using a single, standard connector, without manual action by an operator.
[0007] This goal is achieved by a power supply device comprising:
[0008] an internal battery, configured to store energy,
[0009] an external connector configured to connect the power supply device to an external device, the external connector comprising terminals to which a voltage is applied,
[0010] a microcontroller configured to measure the voltage across the terminals of the external connector, and
[0011] a power supply unit, connected to the internal battery and the external connector,
[0012] the microcontroller being configured to control the power supply device between a charging mode in which the internal battery is charged by the external device, and a discharging mode in which the internal battery powers the external device, the power supply device being in discharging mode when the measured voltage has a first value and the power supply device being in charging mode when the measured voltage has a second value, greater than the first value.
[0013] The proposed power supply device overcomes the various technical limitations of the prior art. It does not require the use of a mechanical element, for example a cable, a button, or an additional pin on the external connector to detect the need to change the device's mode.
[0014] The microcontroller uses a measurement of the voltage applied to the terminals of the external connector to change the operating mode of the power supply device. The state machine implemented in the proposed power supply device allows the power supply device to automatically switch from a discharge mode, where it powers an external device, to a battery charging mode.
[0015] The invention is advantageously complemented by the following features, taken individually or in any of their technically possible combinations:
[0016] - the power supply device further comprises a power supply unit internal and a microcontroller power management module, the module microcontroller power management being configured to drive power to the microcontroller from the internal power supply unit when the power supply device is in discharge or charge mode;
[0017] - the first voltage value is equal to 3.6 V and the second voltage value is equal to 5.0 V;
[0018] - the power supply is configured to supply the external connector and the unit internal power supply: energy stored in the internal battery when the power supply device is in discharge mode;
[0019] - the power supply device includes a configured voltage booster to increase the voltage across the power supply terminals;
[0020] - the power supply device includes a management module power supply controlled by the microcontroller and configured to connect the internal battery to the power supply directly or via the voltage booster depending on a voltage across the terminals of the internal battery;
[0021] - the external connector is a USB-GPIO connector, and the microcontroller is configured to transmit, via the external connector, information relating to the mode of the power supply device and / or the state of the internal battery;
[0022] - the internal battery is a rechargeable Nihr battery with a nominal voltage of 1.2 V.
[0023] According to another aspect of the invention, a method for energizing the previously described power supply device is proposed, comprising the following steps:
[0024] powering the microcontroller from the internal battery via a diode in the microcontroller's power management module; then
[0025] power supply start-up; and
[0026] powering the microcontroller by the power supply via a switch in the microcontroller power management module and the internal power supply unit.
[0027] The power-up process may include, prior to the microcontroller power-up step, a step of connecting a voltage booster if the voltage across the internal battery terminals is less than a threshold voltage, and a step of disconnecting the voltage booster after powering the microcontroller.
[0028] According to another aspect of the invention, a method for charging and discharging a power supply device as described is proposed, comprising the steps of:
[0029] measurement of the voltage across the terminals of the external connector;
[0030] when the voltage measured across the terminals of the external connector is greater than the first value,
[0031] powering the microcontroller via an external device connected to the external connector,
[0032] deactivation of the power supply unit, and
[0033] charging of the internal battery by the external device,
[0034] when the voltage measured across the terminals of the external connector is less than or equal to the first value,
[0035] power supply of the power supply unit by the internal battery and power supply of the microcontroller by the power supply unit via the internal power supply unit, and
[0036] power supply of the external device connected to the external connector by the power supply unit.
[0037] The method may optionally include, when the voltage measured across the terminals of the external connector is less than or equal to the first value, a step of cutting off the power supply to the power supply by the microcontroller, the microcontroller remaining powered by the internal battery and the external device no longer being powered. DESCRIPTION OF THE FIGURES
[0038] Other features, purposes and advantages of the invention will become apparent from the following description, which is purely illustrative and not limiting, and which should be read in conjunction with the accompanying drawings on which:
[0039] Fig. 1 schematically illustrates the power supply device according to a first embodiment.
[0040] Fig. 2 schematically illustrates the power supply device according to a second embodiment.
[0041] Fig. 3 schematically illustrates the power supply device according to a third embodiment.
[0042] The [Fig.4] is a flowchart of steps of a process for energizing the electrical power supply device according to an embodiment.
[0043] The [Fig.5] is a flowchart of steps of a charging and discharging process of the electrical power supply device according to an embodiment.
[0044] Throughout the figures, similar elements bear identical references. DETAILED DESCRIPTION OF THE INVENTION
[0045] With reference to [Fig.1], the power supply unit 1 (or "power supply unit", PSU according to Anglo-Saxon terminology) comprises an electrical circuit with an internal battery 2, a power supply unit 31, a microcontroller 4 and an external connector 3.
[0046] The internal battery 2 is configured to store energy. The internal battery 2 is connected via the electrical circuit to the power supply 31 and the microcontroller 4. It provides power to the power supply 31 and the microcontroller 4.
[0047] The external connector 3 is connected to the power supply 31. The external connector 3 is configured to connect the power supply device 1 to an external device 10. The external connector 3 includes terminals to which a voltage is applied. As will be described later, the power supply device 1 can operate in two modes: a charging mode Mc in which the internal battery 2 is charged, and a discharging mode Md in which the internal battery 2 powers the external device 10.
[0048] The power supply 31 is configured to supply the external connector 3 with energy stored in the internal battery 2. This allows power from the internal battery 2 to be supplied to the external device 10 connected to the external connector 3 when the power supply 1 is in discharge mode Md. As will be described later, the power supply 31 also allows the microcontroller 4 to be powered via an internal power supply 41 during a startup sequence of the power supply 1 and then when the power supply 1 is in discharge mode Md.
[0049] More specifically, when the power supply device 1 is driven in charging mode Mc, the power supply device 1 is connected, via the external connector 3, to an external power source 10, and the internal battery 2 is recharged by the energy supplied by the external power source 10. In this operating mode, the microcontroller 4 is also powered by the external power source 10.
[0050] When the power supply device 1 is driven in discharge mode Md, for example when the power supply device 1 is connected, via the external connector 3, to an external device 10 requiring power and / or recharging, the power supply device 1 supplies power to the external device 10 from the internal battery 2, via the power supply unit 31. In this operating mode, the microcontroller 4 is also powered via the power supply unit 31.
[0051] The external connector 3 is advantageously of the standard USB type and comprises four pins. As is known, the four pins correspond to a ground pin, a power pin, and two DP / DM pins (for 'data minus' and 'data plus') for data transfer. Such an external connector, unlike USB OTG-PD type connectors, does not have a specific pin for automatically changing the operating mode of the power supply device 1.
[0052] The microcontroller 4 is configured to measure the voltage applied across the terminals of the external connector 3, and to implement a state machine such that: - the power supply device 1 is in discharge mode Md when the measured voltage has a first value U1; and - the power supply device 1 is in Mc charging mode when the measured voltage has a second value U2, greater than the first value Ul.
[0053] Thus, the external connector 3 allows, depending on the state machine of the power supply device 1, either to connect the power supply device 1 to an external power source 10, for example a computer, a USB charger or any other power supply device, or to supply power to the external device 10, for example to power a sensor acquisition module.
[0054] The first voltage value U1 can be between 3.0 V and 4.0 V, preferably equal to 3.6 V. The second voltage value can correspond to a standard supply voltage via USB connector, for example equal to 5.0 V.
[0055] As will be detailed later, the microcontroller 4 controls the operating modes of the power supply device 1. It can control the state of the different components of the power supply device 1.
[0056] The microcontroller 4 can transmit information concerning the operating mode of the power supply device 1 to the external device 10 via the external connector 3. Alternatively or additionally, the microcontroller 4 can transmit information relating to the state of the internal battery 2, for example, but not limited to, the temperature of the internal battery 2, the percentage of capacity or available power, the voltage Ub across the terminals of the internal battery 2, or the current Ib delivered by the internal battery 2 (discharge mode Md) or received by the internal battery 2 (charge mode Mc). To this end, the external connector 3 may include a GPIO module (standard designation for "General-Purpose Input / Output"), allowing the transmission of analog data to the external device 10.The transmitted data can be USB bus data signals transmitted via the DP / DM pins if the external connector 3 is of the USB type.
[0057] The microprocessor 4 can measure the voltage applied across the terminals of the external connector 3, particularly when the external connector 3 is connected to an external device 10 comprising another external connector. To do this, the voltage controller 32 is connected to the terminals of the external connector 3.
[0058] With reference to [Fig.2], the power supply device 1 may include a voltage controller 32, configured to measure the voltage Uce applied across the terminals of the external connector 3, and transmit the measured voltage Uce to the microcontroller 4. The voltage controller 32 may typically be an analog-to-digital converter (or ADC for "Analog to Digital Converter").
[0059] Preferably, the power supply device 1 comprises an internal power supply unit 41 (IPU) and a microcontroller power management module 54.
[0060] The internal power supply unit 41 is connected by the electrical circuit to the microcontroller 4. It allows the microcontroller 4 to be properly powered, that is to say, powered according to its needs, regardless of the voltage Uce across the terminals of the external connector 3 and regardless of the operating mode of the power supply device 1.
[0061] The power management module of the microcontroller 54 is controlled by the microcontroller 4. It is configured to power the internal power supply unit 41 so as to power the microcontroller 4 regardless of the operating mode of the power supply device 1, in other words to allow the microcontroller 4 to be powered by the internal power supply unit 41 when the power supply device 1 is in discharge mode Md or in charge mode Mc.
[0062] As illustrated in [Fig.2], the power management module of the microcontroller 54 may include an internal circuit with a diode 541 and a switch 542.
[0063] For example, when the voltage Uce across the external connector 3 is equal to the second value U2, typically 5V, the power supply 1 is powered by an external power source (charge mode Mc). The switch 542 is in the closed position, so the microcontroller 4 is powered by the external power source 10 via the internal power supply 4L. Alternatively, when the voltage Uce across the external connector 3 is equal to a first value U1 lower than the first value U2, the power supply 1 is powered by the internal battery 2 (discharge mode Md). The switch 542 is in the closed position, so the microcontroller 4 is powered by the power supply 31 via the internal power supply 4L.
[0064] Preferably, the power supply device 1 includes a voltage booster 6 connecting the power supply unit 31 to the internal battery 2. The voltage booster 6 is configured to increase a voltage in the electrical circuit, and in particular the voltage across the power supply unit 31, during a startup sequence as described below. It can also be used to increase the voltage across the external connector 3, via the power supply unit 31, when the power supply device 1 is in discharge mode Md or when the voltage Ub across the internal battery 2 is insufficient.
[0065] The voltage booster 6 can, for example, provide an additional voltage so that the power supply device 1 can operate in charging mode Mc even with an internal battery 2 having a low nominal voltage, typically 1.2V, or when the voltage Ub across the terminals of the internal battery 2 is too low. This is illustrated in [Fig.2].
[0066] With reference to [Fig.3], the power supply device 1 preferably includes a power management module 53. The power management module 53 is controlled by the microcontroller 4.
[0067] The power management module 53 is configured to connect the internal battery 2 to the power supply 31 directly, or via the voltage booster 6 depending on the voltage Ub across the terminals of the internal battery 2.
[0068] This optimizes the efficiency of the power supply device 1 by allowing the voltage booster 6 to be disconnected so that it is not connected to the circuit when not required.
[0069] With reference to [Fig.3], the power management module 53 typically includes a circuit connecting the internal battery 2 to the power supply 31 with a first switch and a circuit connecting the voltage booster 6 to the power supply 31 with a second switch.
[0070] By default, particularly when the power supply device 1 is switched off or being reset, the second switch is in the closed position and the first switch is in the open position. This can, in particular, allow the use of the voltage booster 6 during the start-up sequence of the power supply device 1 in the energizing process described later.
[0071] In one embodiment, the internal battery 2 comprises a Ni-MH (nickel-metal hydride) battery. For this type of battery, starting without a voltage booster is not necessarily possible because the voltage Ub of the internal battery 2 in this case may be too low to allow the power supply 31 to start. The internal Ni-MH battery 2 can advantageously operate at full capacity for many recharge cycles, for example, several hundred. The internal battery 2 may, in particular, comprise a standard rechargeable AA or AAA battery. For example, the internal battery 2 may comprise a NiMH rechargeable battery configured to deliver a nominal voltage of 1.2V.
[0072] Alternatively, the internal battery 2 comprises a lithium base battery. Such an internal battery 2 has the advantage of not experiencing a power loss as it discharges. When the internal battery 2 comprises a lithium-ion or lithium-polymer type battery, the internal battery 2 fulfills the function of the voltage booster 6, and for this type of battery, the voltage booster block 6 can be omitted. Indeed, the internal lithium base battery 2 has a higher nominal operating voltage, typically a Ub voltage of 3.6 V, and can deliver a high current on demand.
[0073] Preferably, the internal battery 2 allows the power supply device 1 to operate autonomously in discharge mode Md for more than 5 hours, preferably more than 6 hours.
[0074] The internal battery 2 has a capacity greater than 1000mAh, preferably greater than 2000mAh.
[0075] The power supply device 1 may further include a monitoring module 22 for the internal battery 2. The monitoring module 22 is controlled by the microcontroller 4 and is configured to monitor the voltage, current, and total power consumed by the internal battery 2. In one embodiment, the internal battery 2 includes at least one of the following protection elements: a protection circuit 23 configured to cut off the power supply in the event of a short circuit; a thermal protection layer configured to isolate the other electrical components of the power supply device 1 and prevent their damage if the internal battery 2 generates significant heat. Preferably, the internal battery 2 includes both a protection circuit 23 and a thermal protection layer.This helps to protect the electronics contained in the power supply device 1, but also to prevent an explosion or ignition of the chemical element of the internal battery 2.
[0076] The internal battery 2 may include a charging module 21. The charging module 21 is controlled by the microcontroller 4 and enables the battery to be charged when the power supply device 1 is in charging mode Mc.
[0077] Resetting or starting the device
[0078] The power supply device 1 can be in an off state or in a reset state, from which it can switch into discharge mode Md or charge mode Mc.
[0079] Typically, the power supply device 1 can be put into a reset state when a fault in a component is detected by the microcontroller 4. The power supply device 1 in charging mode Mc can be put into a reset state when the microcontroller 4 detects a drop in the voltage Uce measured across the terminals of the external connector 3, or when the external device 10 is disconnected from the external connector 3, for example unplugged by an operator.
[0080] Preferably, when the power supply device 1 is in discharge mode Md, the microcontroller 4 can periodically restart the electronic circuit of the power supply device 1 (i.e., perform a "hard reset"), so that the power supply device 1 returns to the reset state. For example, the microcontroller 4 can drive the power management module 54 to open the switch, resulting in a power interruption to the internal power supply unit 41 and thus to the microcontroller 4.
[0081] When the power supply device 1 changes from the off state to the on state, for example when the internal battery 2 is put in the power supply device 1 or when the power supply device 1 is in a reset state, the microcontroller 4 is configured to implement the following power supply device 1 power-up process.
[0082] The power-up process consists of a start-up sequence. Initially, the internal battery 2 is active, while the other components of the electrical circuit can be switched off.
[0083] With reference to [Fig.4], the method for switching on the power supply device 1 comprises the following steps: - powering the microcontroller 4 from the internal battery 2 via a diode 541 in the microcontroller power management module 54; then - power supply unit 31 starts; and - Power supply to the microcontroller 4 by the power supply unit 31 via a switch 542 of the microcontroller power management module 54 and the internal power supply unit 4L
[0084] Preferably, the circuit includes an auxiliary voltage controller, implementing a voltage measurement Ub across the terminals of the internal battery 2. The voltage measurement Ub can be carried out by the monitoring module 22 of the internal battery 2, by the power supply unit 31 or by the voltage booster 6.
[0085] The measured voltage Ub is compared to a minimum required voltage Uo, corresponding to a minimum internal battery 2 voltage required for starting the internal battery 2 and therefore for starting the power supply device 1. If the measured voltage Ub is less than the minimum required voltage Uorequise, i.e., Ub < Uo, the power supply device 1 remains in the off state until another external device 10 is connected to the external connector 3. This prevents starting the internal battery 2 with Ub < Uo, which could damage the internal battery 2.
[0086] Preferably, during the startup sequence, before the microcontroller 4 is powered on, the voltage booster 6 can be connected to the internal battery 2 if the voltage Ub measured across the terminals of the internal battery 2 is less than a threshold voltage Umin. Indeed, as explained previously, depending on the type of internal battery 2 used, starting the power supply device 1 is not always possible without the voltage booster 6. By default, when the microcontroller 4 is off, the voltage booster 6 can be connected to the power supply 31, by example via the second switch of the power management module 53, the first switch being open, as illustrated in [Fig.3].
[0087] While the power supply 31 is off, diode 541 allows the microcontroller 4 to be powered via the internal power supply 41. Then, the power supply 31 starts up. The power supply 31 can then power the microcontroller 4 via switch 542 through the internal power supply 41. The power management circuit of the microcontroller 54, including diode 541, can be deactivated here.
[0088] Preferably, when the microcontroller 4 is powered, it can disconnect the voltage booster 6, if it had been connected. For example, the microcontroller 4 can drive the power management module 53 so that the first switch moves to the closed position, and the second switch moves to the open position. The power supply 31 can be directly powered by the internal battery 2 ([Fig. 2]).
[0089] The microcontroller 4 is now functional. It can control the operating mode of the power supply device 1.
[0090] Method for charging and discharging the device
[0091] With reference to [Fig.5], the charging and discharging method of the power supply device 1 includes a first step SI of measuring the voltage Uce across the terminals of the external connector 3 by the microcontroller 4, using the voltage controller 32.
[0092] The microcontroller 4 compares the measured voltage Uce across the external connector 3 to the first voltage value Ul. If the measured voltage Uce across the external connector is greater than the first value Ul, i.e., Uce > Ul, this means that the external connector 3 is connected to an external power supply 10. The microcontroller 4 controls the electrical circuit so that the power supply device can be in charging mode Mc.
[0093] Thus, during a step S21, the microcontroller 4 is powered by the external device 10, through the external connector 3.
[0094] During an S22 step, the microcontroller 4 disables the power supply 31. The microcontroller 4 can also disable the voltage booster 6 and the power management module 53. For example, the microcontroller 4 can drive the first and second switches of the power management module 53 to the open position. Typically, the power supply 31, the voltage booster 6, and the power management module 53 are no longer powered, as the internal battery 2 no longer supplies current to the circuit. Alternatively or additionally, the power supply 31, and / or the voltage booster 6 and the power management module 53 can be disconnected from the circuit by switches controlled by the microcontroller 4.
[0095] The power supply for the power supply device 1 is then external. The internal battery 2 is charged by the external device 10. The power supply device 1 is in charging mode Mc.
[0096] Typically, the microcontroller 4 activates the charging module 21 of the internal battery 2, so that a current is injected into the internal battery 2 from the external device 10 connected to the external connector 3.
[0097] Preferably, the microcontroller 4 can measure the voltage Ub across the terminals of the internal battery 2, so as to interrupt the charging of the internal battery 2 by the external device 10 when the voltage Ub reaches a sufficient voltage, for example, the nominal operating voltage. In a manner known per se, the charging module 21 can interrupt the current injection into the internal battery 2.
[0098] The power supply device 1 is preferably maintained in charging mode Mc as long as the external connector 3 is connected to the external power supply 10. If an external operator, for example a human or software, removes the external device 10 from the external connector 3, for example by removing a power cable connecting the external device 10 to the external connector 3, or by cutting off the power supply to the external device 10, it enters a reset state in charging mode, and the power-up process described previously is implemented by the microcontroller 4. Furthermore, the power management module of the microcontroller 54 includes the switch 542, which is controlled by the microcontroller 4. The switch 542 can be flipped to an open position, so that the internal power supply unit 41 is no longer powered.The microcontroller 4 is therefore no longer powered (this is called a hardware "reset"), which forces the power supply device 1 to return to its reset state. The power-up procedure described previously is then implemented. This is followed by step SL.
[0099] Preferably, the voltage controller 32 or the microcontroller 4 regularly measures the voltage Uce across the terminals of the external connector 3, so that the microcontroller 4 drives the power supply device 1 so as to return to the reset state if the measured voltage Uce is less than a threshold voltage value, or reset voltage.
[0100] The threshold voltage is greater than the first value Ul. Preferably, the threshold voltage is between the first value U1 and a standard supply voltage, typically 5V for a USB-type connector. For example, the threshold voltage is 4.5V.
[0101] If the measured voltage Uce is less than or equal to the first value Ul, and therefore to the threshold voltage, this means that the external device 10 to which the external connector is connected does not supply power to the power supply device 1.
[0102] When the external connector 3 is not connected to an external power supply 10, the power supply 1 automatically changes its operating mode. As explained below, the microcontroller 4 can activate the power supply 31 (and optionally the voltage booster 6 and the power management module 53) to supply the external device 10 with energy stored in the internal battery 2, without intervention from an external operator. The power supply 1 can automatically switch to discharge mode Md, so as to generate a voltage across the external connector 3 equal to the first value Ul.
[0103] During a step S31, the microcontroller 4 can measure the voltage Ub across the terminals of the internal battery 2. If the voltage Ub measured by the auxiliary voltage controller is greater than a minimum voltage Umin, the internal battery 2 can power the circuit of the power supply device 1.
[0104] During a step S32, the power supply unit 31 is started and powered by the internal battery 2.
[0105] Depending on the state of the internal battery 2, the voltage booster 6 can be activated by the microcontroller 4.
[0106] For example, if the power supply device 1 includes an internal Nirnh-type battery 2 with a low nominal voltage, typically 1.2V, the power supply 31 cannot be started. The power supply 31 starts only if the voltage across the power supply 31 is greater than a starting voltage U3b, typically greater than 2.5V. The voltage booster 6 is configured to increase the voltage across the power supply 31 to reach the starting voltage U3i and allow the power supply 31 to start. The voltage booster 6 is a so-called "boost" power supply. The starting voltage U3b can vary depending on the electronics of the power supply 31 and is, for example, equal to or less than 2.5V.
[0107] After activation of the power supply 31, the microcontroller 4 is powered by the power supply, preferably via the internal power supply unit 4L
[0108] The microcontroller 4 is functional and the power supply for the power supply device 1 is internal. The microcontroller 4 drives the power supply device 1 in discharge mode Md, that is, the microcontroller 4 controls the circuit of the power supply device 1 so as to provide energy to the external device 10.
[0109] Preferably, the power supply 31 is configured to apply to the terminals of the connector a voltage equal to the first value Ul, for example 3.6V.
[0110] With reference to [Fig.5], in a control in discharge mode Md of the power supply device 1, i.e. when the voltage Uce measured across the terminals of the external connector 3 is less than or equal to the first value Ul, the method may include an additional step S33 of deactivating the voltage present on external connector 3.
[0111] The power supply to the power supply unit 31 can be cut off by the microcontroller 4. The power supply unit 31 no longer supplies current to the external connector 3. For example, the circuit may include a switch controlled by the microcontroller 4, allowing the power supply between the power supply unit 31 and the external connector 3 to be cut off. Preferably, the power supply to the external connector 3 is cut off when the microcontroller 4 turns off the power supply unit 31. Typically, the first and second switches of the power management module 53 move to the open position.
[0112] Alternatively, the electrical circuit may include a switch (not shown) controlled by the microcontroller 4, at the external connector 3. The microcontroller 4 can put the switch in the open position.
[0113] During step S33, the microcontroller 4 remains powered by the internal battery 2, for example through the diode of the microcontroller power management module 54 and the internal power supply unit 4L
[0114] The external device 10 is no longer powered.
[0115] The additional step S33 can be implemented if an overconsumption of the power supply 31 is detected by the microcontroller 4, for example if an overconsumption of the internal battery 2 is detected, typically by the monitoring module 22. This prevents damage to the internal battery 2. The power supply device can switch to a reset state by force ("hard reset").
[0116] Preferably, the microcontroller 4 can receive commands from the connected external device 10, for example, if the external device is a computer. The additional step S33 can be implemented by the microcontroller 4 on command from the external device 10, for example, if the external device 10 enters standby mode or is switched off.
[0117] This reduces the energy consumption of the internal battery 2 and allows the power supply device 1 to be used for a longer period. In particular, it prevents the external device 10 connected to the external connector 3 from drawing power, and prevents voltage from being present on the external connector 3 when no external device 10 is connected to it.
[0118] Depending on the external device 10 connected, the additional step S33 can also allow the restart ("hard reset") of the external device 10.
[0119] Preferably, the microcontroller 4 drives the power supply device 1. To switch from discharge mode Md to charge mode Mc as soon as the power supply device 1 is connected to an external device 10 applying a voltage equal to a second value U2, greater than the first value Ul, to the terminals of the external connector 3, or in other words, if the voltage Uce measured across the terminals of the external connector 3 changes from the first value U1 to the second value U2. In this case, the microcontroller 4 is functional and its power source becomes external, without implementing the power-up process described previously.
[0120] The value of Ul can be selected according to the needs of the external device 10. However, the first value Ul is less than the second value U2 allowing the change of mode of the power supply device 1, from discharge mode Md to charge mode Mc.
[0121] Preferably, the microcontroller 4 drives the power supply device 1 to switch from discharge mode Md to charge mode Mc as soon as the voltage Uce measured across the external connector 3 changes from a first voltage value Ul to a switching voltage. The switching voltage enabling the power supply device 1 to switch to charge mode Mc is greater than the first voltage value U1, and preferably less than the standard supply voltage, typically 5V, and the second voltage value U2. This allows for a voltage margin (or hysteresis) between the two operating modes.
[0122] The voltage controller 32 frequently measures the voltage Uce across the terminals of the external connector 3, so that the SI step is repeated until the microcontroller 4 determines that the voltage Uce measured across the terminals of the external connector 3 is equal to the second value U2.
[0123] In the illustrated embodiments, the internal battery 2 is a rechargeable battery. However, the internal battery 2 may not be intended to be recharged. In this case, the power supply device 1 does not have a charging mode Mc.
[0124] Preferably, when the power supply device 1 is in discharge mode Md, the internal battery 2 can be completely discharged. The power supply device 1 can thus be single-use. This improves the energy capacity of the power supply device 1 without reducing its compactness.
[0125] The described power supply device 1 is particularly interesting for powering external devices 10 in confined spaces, for example for powering an on-board electrical system in a small space, such as an aircraft wing. In this context, the power supply device 1 may have a cylindrical shape allowing it to use the hydraulic circuits of the aircraft wing. as a support. The power supply device 1 can also be used, for example, to power equipment installed in a vehicle subject to vibrations. Preferably, the power supply device 1 is connected to an external, low-power device.
[0126] The power supply device 1 can also be used as an energy buffer in the case of supplying an external device 10 with an energy source exhibiting energy absences, for example in the case of energy switching between two generators.
[0127] The power supply device 1 advantageously allows the use of a single external connector 3 for charging the internal battery 2 and powering an external device, for example, a sensor acquisition system. The external connector 3 requires only four pins for connection on the interface of the external device. A widely available USB-type external connector is therefore sufficient.
[0128] The unloading modes Md and loading modes Mc of the power supply device 1 are controlled by software control only, implemented by the microcontroller 4. This makes it possible to limit the number of mechanical parts of the circuit and therefore to limit the size of the power supply device 1. This also makes it possible to provide scenarios of use without operator intervention when the power supply device is installed in a hard-to-reach space.
Claims
Demands
1. Power supply device (1) comprising: - an internal battery (2), configured to store energy, - an external connector (3) configured to connect the power supply device (1) to an external device (10), the external connector (3) comprising terminals to which a voltage (Uce) is applied, - a microcontroller (4) configured to measure the voltage (Uce) across the terminals of the external connector (3), and - a power supply unit (31), connected to the internal battery (2) and the external connector (3), the microcontroller (4) being configured to control the power supply device (1) between a charging mode (Mc) in which the internal battery (2) is charged by the external device (10), and a discharging mode (Md) in which the internal battery (2) powers the external device (10),the power supply device (1) being in discharge mode (Md) when the measured voltage (Uce) has a first value (Ul); and the power supply device (1) being in charge mode (Mc) when the measured voltage (Uce) has a second value (U2), greater than the first value (Ul).
2. Power supply device (1) according to claim 1, further comprising an internal power supply unit (41) and a microcontroller power management module (54), the microcontroller power management module (54) being configured to drive a microcontroller power supply (4) from the internal power supply unit (41) when the power supply device (1) is in discharge mode (Md) or in charge mode (Mc).
3. Power supply device (1) according to any one of claims 1 and 2, wherein the first voltage value (U1) is equal to 3.6 V and the second voltage value (U2) is equal to 5.0 V.
4. Power supply device (1) according to any one of claims 2 and 3, wherein the power supply unit (31) is configured to supply the external connector (3) and the internal power supply unit (41) with energy stored in the internal battery (2) when the power supply device (1) is in discharge mode (Md).
5. Power supply device according to any one of claims 1 to 4, further comprising a voltage booster (6) configured to increase a voltage across the terminals of the power supply unit (31).
6. Power supply device (1) according to claim 5, comprising a power management module (53) controlled by the microcontroller (4) and configured to connect the internal battery (2) to the power supply (31) directly or via the voltage booster (6) according to a voltage (Ub) across the terminals of the internal battery (2).
7. Power supply device (1) according to any one of claims 1 to 6, wherein the external connector (3) is a USB-GPIO connector, and wherein the microcontroller (4) is configured to transmit, via the external connector (3), information relating to the mode of the power supply device (1) and / or the state of the internal battery (2).
8. Power supply device (1) according to any one of claims 1 to 7, wherein the internal battery (2) is a rechargeable Nirnh battery with a nominal voltage of 1.2 V.
9. Method of energizing the power supply device (1) according to any one of claims 2 to 8, comprising the following steps: - powering the microcontroller (4) by the internal battery (2) via a diode (541) of the microcontroller power management module (54); then - starting the power supply unit (31); and - powering the microcontroller (4) by the power supply unit (31) via a switch (542) of the microcontroller power management module (54) and the internal power supply unit (41).
10. Method of charging and discharging an electrical power supply device (1) according to any one of claims 2 to 8, comprising the steps of: - measuring the voltage (Uce) across the terminals of the external connector (3);- when the voltage (Uce) measured across the terminals of the external connector (3) is greater than the first value (Ul), • powering the microcontroller (4) by an external device (10) connected to the external connector (3), • switching off the power supply (31), and • charging the internal battery (2) by the external device (10), - when the voltage (Uce) measured across the terminals of the external connector (3) is less than or equal to the first value (Ul), • powering the power supply (31) by the internal battery (2) and powering the microcontroller (4) by the power supply (31) via the internal power supply unit (41), and • powering the external device (10) connected to the external connector (3) by the power supply (31).;
11. A method according to claim 10, comprising, when the voltage (Uce) measured across the terminals of the external connector (3) is less than or equal to the first value (Ul), a step of cutting off the power supply to the power supply unit (31) by the microcontroller (4), the microcontroller (4) remaining powered by the internal battery (2) and the external device (10) no longer being powered.
Citation Information
Patent Citations
Power bank with a single port for charge and discharge
US20170256967A1
Method for charging battery and electronic device
US20150280457A1
Method and apparatus for powering mobile device
US20170126044A1
Method and electronic device for controlling voltage output to external electronic device according to size of voltage detected at signal terminal connected to external electronic device
US20190258832A1
Method and apparatus for charging and mutual charging a combination of intelligent devices
US20190334362A1