WO2021077285A1 - Dispositif de gestion de pile, dispositif électronique et dispositif, système et procédé de gestion d'énergie - Google Patents

Dispositif de gestion de pile, dispositif électronique et dispositif, système et procédé de gestion d'énergie Download PDF

Info

Publication number
WO2021077285A1
WO2021077285A1 PCT/CN2019/112472 CN2019112472W WO2021077285A1 WO 2021077285 A1 WO2021077285 A1 WO 2021077285A1 CN 2019112472 W CN2019112472 W CN 2019112472W WO 2021077285 A1 WO2021077285 A1 WO 2021077285A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication interface
control circuit
electrically connected
interface
connection terminal
Prior art date
Application number
PCT/CN2019/112472
Other languages
English (en)
Chinese (zh)
Inventor
李龙
林宋荣
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2019/112472 priority Critical patent/WO2021077285A1/fr
Priority to CN201980033821.6A priority patent/CN112154426A/zh
Publication of WO2021077285A1 publication Critical patent/WO2021077285A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • This application relates to the field of electronic technology, and in particular to a battery management device, an electronic device, a power management device, a system and a method.
  • the shell of the electronic device may be provided with an interface set for a special function, for example, an upgrade interface dedicated for upgrading, a test interface dedicated for testing, and so on.
  • a special function for example, an upgrade interface dedicated for upgrading, a test interface dedicated for testing, and so on.
  • many electronic products are no longer equipped with interfaces dedicated to performing a certain function on the shells, such as upgrade interfaces for upgrading, and dedicated testing. Test interface.
  • users need to use this function, for example, to upgrade software, they need to disassemble the casing, and electrically connect the upgrade pins of the control circuit of the electronic device to the corresponding device through wire bonding.
  • the embodiments of the present application provide a battery management device, an electronic device, a power management device, a system, and a method to solve the problem of omitting an upgrade interface in the prior art, which has complicated upgrade operations and easily damages electronic equipment.
  • an embodiment of the present application provides a battery management device, the battery management device is used to electrically connect with a burning device or a battery; the battery management device includes: a control circuit and a first communication interface, the control circuit For electrical connection with the first communication interface;
  • the first communication interface is used to electrically connect with the burning device or the battery
  • the control circuit is configured to communicate with the burning device through the first communication interface to perform the upgrade when it is determined that the battery management device needs to be upgraded;
  • the control circuit can communicate with the burning device through the first communication interface, so that the battery management device can be upgraded;
  • the control circuit can communicate with the battery through the first communication interface.
  • an embodiment of the present application provides a battery management system, including a battery and the battery management device according to any one of the foregoing first aspects.
  • an embodiment of the present application provides an electronic device that is used to electrically connect with a burning device or a target device other than the burning device;
  • the electronic device includes: a control circuit and a first communication Interface, the control circuit is used to electrically connect with the first communication interface;
  • the first communication interface is used to electrically connect with the burning device or the target device;
  • the control circuit is configured to communicate with the burning device through the first communication interface to perform the upgrade when it is determined that the electronic device needs to be upgraded;
  • the control circuit can communicate with the burning device through the first communication interface, so that the electronic device can be upgraded; when the When the first communication interface is electrically connected to the target device, the control circuit can communicate with the target device through the first communication interface.
  • an embodiment of the present application provides an electronic system, including a target device and the electronic device described in any one of the third aspect.
  • an embodiment of the present application provides a method for controlling a battery management device, which is applied to the battery management device according to any one of the first aspects, and the method includes:
  • an embodiment of the present application provides an electronic device control method, which is applied to the electronic device described in any one of the third aspect, and the method includes:
  • an embodiment of the present application provides a power management device, where the power management device is used to electrically connect with a target device or a test load;
  • the power management device includes: a control circuit and a power interface, and the control circuit is used to electrically connect with the power interface;
  • the power interface is used to electrically connect with the target device or the test load
  • the control circuit is configured to output power to the test load through the power interface when it is determined that the power management device needs to be tested, so as to test the power management device;
  • the control circuit can output power to the test load through the power interface to test the power management device; when the power interface and the test load When the target device is electrically connected, the control circuit can output power to the test load through the target device.
  • an embodiment of the present application provides a power management system, which is characterized by including a target device and the power management device according to any one of the seventh aspects.
  • an embodiment of the present application provides a power management device control method, which is applied to the power management device according to any one of the seventh aspects, and the method includes:
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes at least one piece of code, the at least one piece of code can be executed by a computer to control all The computer executes the method described in any one of the above fifth aspects.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes at least one piece of code, the at least one piece of code can be executed by a computer to control The computer executes the method according to any one of the above sixth aspects.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes at least one piece of code, and the at least one piece of code can be executed by a computer to control The computer executes the method according to any one of the ninth aspects.
  • an embodiment of the present application provides a computer program, when the computer program is executed by a computer, it is used to implement the method described in any one of the fifth aspects above.
  • an embodiment of the present application provides a computer program, when the computer program is executed by a computer, it is used to implement the method described in any one of the sixth aspects.
  • an embodiment of the present application provides a computer program, when the computer program is executed by a computer, it is used to implement the method described in any one of the ninth aspects.
  • the embodiments of the application provide a battery management device, an electronic device, a power management device, a system, and a method.
  • the electronic device includes a control circuit and a first communication interface, the control circuit is electrically connected to the first communication interface, and the first communication interface is used for It is electrically connected to the burning device or the target device.
  • the control circuit is used to communicate with the burning device through the first communication interface for upgrading when it is determined that the electronic device needs to be upgraded.
  • control The circuit can communicate with the burning device through the first communication interface so that the battery management device can be upgraded.
  • the control circuit can communicate with the target device through the first communication interface to realize the burning
  • the device and the target device reuse the first communication interface of the electronic device, so that the first communication interface of the electronic device can be reused as an upgrade interface, which can eliminate the need for an upgrade interface to achieve a minimalist design, and avoid the need to disassemble the shell for upgrades
  • the problem brought about solves the problem that the upgrade operation is complicated and the electronic equipment is easily damaged due to the omission of the upgrade interface in the traditional technology.
  • FIGS. 1 to 3 are schematic diagrams of the structure of the electronic system 100 provided by an embodiment of the application;
  • FIG. 4 is a schematic structural diagram of an electronic device 10A provided by an embodiment of the application.
  • FIG. 5 is a schematic structural diagram of an electronic device 10A provided by another embodiment of the application.
  • FIG. 6 is a schematic structural diagram of an electronic device 10A provided by another embodiment of this application.
  • FIG. 7 is a schematic diagram of upgrading the electronic device 10A by multiplexing the first communication interface according to an embodiment of the application;
  • FIG. 8 is a schematic structural diagram of an electronic device 10B provided by another embodiment of this application.
  • FIG. 9 is a schematic structural diagram of an electronic device 10B according to another embodiment of this application.
  • FIG. 10 is a schematic structural diagram of an electronic device 10B provided by another embodiment of this application.
  • FIG. 11 is a schematic diagram of testing an electronic device 10B through a multiplexed power interface according to an embodiment of the application;
  • FIG. 12 is a schematic structural diagram of a battery management device provided by an embodiment of the application.
  • FIG. 13 is a schematic diagram of upgrading the electronic device by multiplexing the first communication interface under the combination of the electronic device 10A and the electronic device 10B according to an embodiment of the application;
  • FIG. 14 is a schematic diagram of testing the electronic device through a multiplexed power interface when the electronic device 10A and the electronic device 10B are combined according to an embodiment of the application;
  • FIG. 16 is a schematic flowchart of a method for controlling a power management device according to an embodiment of the application.
  • FIG. 1 is a schematic structural diagram of an electronic system 100 provided by an embodiment of the application.
  • the electronic system 100 may include an electronic device 10 and a device 20.
  • the electronic device 10 may be electrically connected to the device 20, and the device 20 may be a target device 21 or a device 22 other than the target device 21.
  • the electronic device 10 may include a first interface 11.
  • the first interface 11 may be used to communicate with the target device 21 under normal circumstances where there is no need to perform special functions on the electronic device 10, such as upgrading or testing. Electric connection.
  • the first interface 11 can be used to electrically connect with other devices 22.
  • the electronic device 10 may specifically be any type of device that can omit a dedicated function interface and can be electrically connected to the target device 21.
  • the dedicated function may specifically refer to any type of function dedicated to the electronic device 10.
  • the dedicated function may include an upgrade function for upgrading the electronic device, and/or a test for testing the electronic device Features.
  • the specific types of other devices 22 correspond to dedicated functions. Exemplarily, when the dedicated function is upgrading, the other device 22 may specifically be a burning device. When the dedicated function is a test, the other device 22 may specifically be a test load.
  • the electronic device 10 may specifically be a battery management device
  • the target device 21 may specifically be a battery
  • the other device 22 may specifically be a burning device.
  • the battery is a battery of a specific device other than the electronic device 10 and other devices 21, and the specific device may specifically be any type of device that can control the power in its battery through a battery management device, for example, a specific device It may include a movable platform, where the movable platform may include, for example, a drone.
  • the burning device may specifically be any type of device that can write a computer program into the read-only memory of the electronic device 10.
  • the burning device may be J-Link, for example. Usually, the burning device can be connected to the computer.
  • the first interface 11 may be used to electrically connect with a burning device, so that the electronic device 10 can communicate with the burning device.
  • the programming upgrade can be performed.
  • the computer program of the electronic device 10 can be upgraded to the target version.
  • the first interface 11 can be used to electrically connect with the target device so that the electronic device 10 can communicate with the target device.
  • the electronic device 10 communicates with the target device and can communicate with the target device.
  • the device 22 performs information exchange. Taking the electronic device 10 as a battery management device as an example, for example, the remaining power information can be obtained from the battery.
  • the electronic device 10 may specifically be a power management device, and the power management device may specifically be any type of device that manages power.
  • the target device 21 may specifically be a device whose power can be controlled by other devices, such as a battery, a smart bracelet, a mobile phone, or a tablet computer.
  • the power management device can be specifically understood as a battery management device.
  • the other device 22 may specifically be a test load.
  • the test load may specifically be a load that can be used as a power interface of the power management device, and any type of load that tests the power management device.
  • the test load may be a resistance, an electronic load, etc., for example.
  • the electronic load can be connected to the computer.
  • the first interface 11 may be used to electrically connect with a test load, so that the electronic device 10 can output power to the test load. After the electronic device 10 outputs power to the test load, the electronic device can be tested. Under normal circumstances when the electronic device 10 does not need to be tested, the first interface 11 can be used to electrically connect with the target device, so that the electronic device 10 can output power to the target device, and the electronic device 10 can output power to the target device. Manage the power of the target device 22.
  • the specific type of the first interface 11 is related to a dedicated function.
  • the first interface when the dedicated function is an upgrade, the first interface may specifically be a communication interface.
  • the dedicated function when the dedicated function is testing, the first interface may specifically be a power interface.
  • the number of target devices 21 electrically connected to the electronic device 10 in the electronic system is taken as an example.
  • the number of target devices 21 may also be multiple, such as two, three, etc. .
  • the electronic device 10 is a battery management device
  • the number of batteries that are electrically connected to the electronic device in the electronic system may be independent of the number of batteries that need to be installed in another device.
  • the number of batteries that are electrically connected to the electronic device in the electronic system may be greater than the number of batteries that need to be installed in another device, so that a larger number of backup batteries can be provided for other devices to ensure that users use other devices The length of time has improved the user experience.
  • the specific manner in which the electronic device 10 is electrically connected to the target device 21 may not be limited in the embodiment of the present application.
  • the battery management device 10 may be provided with a slot matching the battery, and the slot is provided with a contact area matching the contact of the battery, and the battery can be inserted in the battery In the slot of the management device, the battery management device is electrically connected to the battery.
  • the battery management device is provided with the slot, which can improve the integrity of the battery management system.
  • the electronic device 10 provided by the embodiment of the present application can communicate with the programming device through the first interface of the electronic device 10 and the programming device.
  • the electronic device 10 can communicate with the target device 21, enabling the burning device and the target device 21 to reuse the first interface of the electronic device 10, thereby realizing that the first interface of the electronic device 10 can be reused as an upgrade interface.
  • the upgrade interface can be omitted to achieve a minimalist design, and the problems caused by the need to disassemble the shell for the upgrade can be avoided.
  • the electronic device 10 provided by the embodiment of the present application can output power to the test load when the first interface of the electronic device 10 is electrically connected to the test load.
  • the electronic device 10 can output power to the target device 21, enabling the test load and the target device 21 to reuse the first interface of the electronic device 10, so that the first interface of the electronic device 10 can be reused as a test interface, either Eliminates the test interface to achieve a minimalist design, and can avoid the problems caused by the need to disassemble the shell for testing.
  • FIG. 4 is a schematic structural diagram of an electronic device 10A provided by an embodiment of the application.
  • the electronic device 10A is used for electrical connection with a target device 21 or a burning device.
  • the electronic device 10A includes: a first communication interface 11 and a control circuit 12, and the control circuit 12 is electrically connected to the first communication interface 11.
  • the first communication interface 11 is used to electrically connect with the burning device or the target device 21; the control circuit 12 is used to pass the first communication interface when it is determined that the electronic device 10A needs to be upgraded.
  • a communication interface 11 communicates with the burning device for upgrading.
  • the burning device and the target device 21 can reuse the first communication interface 11, so that both the burning device and the target device 21 can communicate with the control circuit 12 through the first communication interface 11.
  • the first communication interface 11 can be used to electrically connect with a burning device.
  • the control circuit 12 can pass through the The first communication interface 11 communicates with the burning device, so that the electronic device 10A can be upgraded.
  • this period of time can be understood as a period during which the control circuit determines that the electronic device 10A needs to be upgraded. It should be noted that the determination method for the control circuit to determine that the electronic device 10A needs to be upgraded can be flexibly designed, and the specific implementation manner can be referred to the description in the subsequent embodiments.
  • the first communication interface 11 can be used to electrically connect to the target device 21.
  • the control circuit 12 can pass through the first The communication interface 11 communicates with the target device 21.
  • the control circuit 12 may specifically be any type of circuit capable of realizing the control function of the electronic device 10A.
  • the control circuit 12 may include a control chip.
  • the control circuit 12 may include a Microcontroller Unit (MCU). Because the MCU has the characteristics of high integration, small size, low price, etc., it is beneficial to reduce the volume of the electronic device and reduce the cost of the electronic device.
  • MCU Microcontroller Unit
  • the first communication interface 11 may specifically be any type of interface for external communication provided by the electronic device 10A.
  • the first communication interface 11 may be a universal serial bus (Universal Serial Bus, USB). Since the USB interface is widely used, the first communication interface 11 is a USB interface, which is beneficial to improve versatility.
  • USB Universal Serial Bus
  • control circuit 12 and the first communication interface 11 may be directly electrically connected.
  • control circuit 12 and the first communication interface 11 may be directly electrically connected.
  • the number of components can be reduced, which is beneficial to reducing costs.
  • the first communication interface in this embodiment is the first interface in FIGS. 2 and 3.
  • the electronic device includes a control circuit and a first communication interface
  • the control circuit is electrically connected to the first communication interface
  • the first communication interface is used to electrically connect to the burning device or the target device 21
  • the control circuit is used to determine
  • the electronic device needs to be upgraded it communicates with the burning device through the first communication interface to perform the upgrade.
  • the control circuit can communicate with the burning device through the first communication interface to manage the battery The device can be upgraded.
  • the control circuit can communicate with the target device through the first communication interface, realizing the first communication interface of the burning device and the target device 21 to multiplex the electronic device, thereby
  • the first communication interface of the electronic device can be reused as an upgrade interface, which not only saves the upgrade interface to achieve a minimalist design, but also avoids the problems caused by the need to disassemble the shell for the upgrade, and solves the need for upgrading in traditional technologies.
  • the way of the interface leads to the problem that the upgrade operation is complicated and the electronic equipment is easily damaged.
  • control circuit may also communicate with the target device 21 through the first communication interface.
  • control circuit 12 is further configured to communicate with the target device 21 through the first communication interface 11 when it is determined that the electronic device 10A does not need to be upgraded. It is realized that the control circuit can flexibly use the first communication interface 11 according to the upgrade requirements of whether an upgrade is required, so that the use of the first communication interface by the control circuit can meet the different needs of users, which is beneficial to improve the user experience.
  • FIG. 5 is a schematic structural diagram of an electronic device 10A provided by another embodiment of the application. Based on the embodiment shown in FIG. 4, this embodiment mainly describes an alternative implementation of the control circuit 12. As shown in FIG. 5, the control circuit 12 includes a first connection terminal A and a second connection terminal B. Both the first connection terminal A and the second connection terminal B are used to communicate with the first communication interface 11. Electrical connection; wherein, the first connection terminal A is used to communicate with the burning device; the second connection terminal B is used to communicate with the target device 21.
  • the first connection terminal A and the second connection terminal B are connection terminals provided by the control circuit 12 for electrical connection with the first communication interface 11.
  • the first connection terminal A is a connection terminal provided by the control circuit 12 for electrical connection with the first communication interface 11 for communication with the burning device.
  • the second connection terminal B is a connection terminal provided by the control circuit 12 for electrical connection with the first communication interface 11 for communication with the target device 21.
  • the control circuit 12 can communicate with the burning device through the first communication interface 11 and the first connection terminal A , So that the electronic device 10A can be upgraded.
  • the control circuit 12 can communicate with the target device 21 through the first communication interface 11 and the second connection terminal B.
  • the first connection terminal A may specifically be a communication pin of the control chip.
  • the first connection terminal B may specifically be a communication pin of the control chip.
  • the pins used for communication may also be referred to as communication pins or communication pins. It should be noted that the number of the first connection terminal A and the second connection terminal B in FIG. 5 is one, which is only an example.
  • the control circuit includes a first connection terminal A and a second connection terminal B. Both the first connection terminal A and the second connection terminal B are used to electrically connect to the first communication interface 11, and the first connection terminal A is used to connect to the burning device. Communication, the second connection terminal B is used to communicate with the target device 21, which realizes that the control circuit communicates with the burning device and the target device 21 through different connection terminals, so that the control circuit can distinguish between the upgrade function and the target device 21 through the connection terminal.
  • the communication function is conducive to simplifying the software implementation of the control circuit.
  • control circuit 12 is specifically configured to enable the first connection terminal A and disable the second connection terminal B when it is determined that the electronic device needs to be upgraded.
  • enabling the first connection terminal A means that the control circuit 12 can use the first connection terminal A
  • prohibiting the second connection terminal B means that the control circuit 12 cannot use the second connection terminal B.
  • the control circuit 12 when it is determined that the electronic device 10A needs to be upgraded, the first connection terminal A is enabled and the second connection terminal B is disabled. Connection, but the control circuit 12 can control the first communication interface 11 to be used only for the first connection terminal A and not for the second connection terminal B, thereby avoiding the misuse of the first communication interface 11 by the second connection terminal B The problem is conducive to improving the reliability of communication with the burning device and is simple to implement.
  • control circuit 12 may also be used to disable the first connection terminal and enable the second connection terminal when it is determined that the electronic device does not need to be upgraded.
  • prohibiting the first connection terminal A means that the control circuit 12 cannot use the first connection terminal A
  • enabling the second connection terminal B means that the control circuit 12 can use the second connection terminal B.
  • the control circuit 12 when it is determined that the electronic device 10A does not need to be upgraded, the first connection terminal A is disabled and the second connection terminal B is enabled. It is electrically connected, but the control circuit 12 can control the first communication interface 11 to be used only for the second connection terminal B and not for the first connection terminal A, thereby avoiding the misuse of the first communication interface 11 by the first connection terminal A.
  • the resulting problems are conducive to improving the reliability of communication with the target device 21 and are simple to implement.
  • the electronic device 10A may further include a resistor, and the resistor is configured to be electrically connected between the first connection terminal A and the first communication interface 11. Since the communication between the electronic device 10A and the target device 21 through the first communication interface can be regarded as the basic capability of the electronic device 10A, the embodiment of the present application realizes that the electronic device 10A and the burning device also communicate through the first communication interface on this basis. Additional capabilities. Therefore, in order to simplify the implementation, the embodiments of the present application may be implemented on the basis of the existing circuit that the first communication interface is used for electrically connecting with the second connection terminal B, and the first communication interface is further added for communication with the second connection terminal B. A newly added circuit electrically connected to the first connection terminal A.
  • the electronic device further includes a resistor for electrically connecting between the first connection terminal A and the first communication interface 11, so that the resistor can be added to the newly-added circuit, which is beneficial to distinguish it from the existing circuit and simplify the newly-added circuit.
  • the resistance may specifically be a 10A ohm ( ⁇ ) resistance.
  • the number of the first connecting end A and the second connecting end B may be multiple.
  • the number of the first connection terminal and the second connection terminal is multiple, so that both the burning device and the target device 21 can communicate with the control circuit through multiple connection terminals, which is beneficial to improve the reliability of communication.
  • one of the two second connection terminals can be used for the serial data line (serial data line) of the inter-integrated circuit (Inter-Integrated Circuit, I 2 C) bus. line, SDA), another serial clock (SCL) that can be used for the I 2 C bus, so as to realize the synchronization control between the target device 21 and the electronic device in the data interaction process.
  • the plurality of the first connection ends A may correspond to the plurality of the second connection ends B in a one-to-one correspondence. Since one second connection terminal can usually correspond to one first communication interface, by one-to-one correspondence between multiple first connection terminals and multiple second connection terminals, it is possible to realize that one first connection terminal corresponds to one first communication interface, which is conducive to saving The connection end of the control circuit.
  • multiple second connection terminals B may be used to electrically connect to one target device 21.
  • multiple second connection terminals for electrical connection with a target device 21 it is possible to support the upgrade of the electronic device by multiplexing the communication interface of the electronic device for electrical connection with a target device 21.
  • the electronic device 10A may further include: a first connector (Connector), one end of the first connector is used to electrically connect with the control circuit 12, and the first connector The other end of the connector includes the first communication interface 11.
  • the electronic device 10A includes the first connector, so that the control circuit can be electrically connected to the first communication interface through the first connector. Since the connector is a standardized and widely used device, the electronic device includes the first connector. The connector can improve the versatility of the electronic device while minimizing the cost of the electronic device.
  • FIG. 6 is a schematic structural diagram of an electronic device 10A provided by another embodiment of this application. Based on the foregoing embodiment, this embodiment mainly describes an optional implementation manner for the control circuit 12 to determine that the electronic device needs to be upgraded.
  • the electronic device 10A may further include: a second communication interface 13 and a third communication interface 14; the second communication interface 13 is used to communicate with the third communication interface 14 or the target device 21. Connection; the third communication interface 14 is used to electrically connect with the second communication interface 13 or the target device 21; the control circuit 12 is also used to connect the second communication interface 13 and the first When the third communication interface 14 is electrically connected, it is determined that the electronic device needs to be upgraded.
  • the target device 21 and the second communication interface 13 can reuse the third communication interface 14, and the target device 21 and the third communication interface 14 can reuse the second communication interface 13.
  • the electronic device 10A can be electrically connected and/or communicatively connected to the target device 21 through the second communication interface 13 and the third communication interface 14; it can also be realized that the electronic device 10A can be connected to the target device 21 through the second communication interface 13, the third communication interface 14.
  • the short-circuit connection between the second communication interface 13 and the third communication interface 14 to trigger a control signal to the control circuit 12 of the electronic device 10A, so that the control circuit 12 determines that the electronic device needs to be upgraded. Communicate with the burning device through the first communication interface 11 for upgrading.
  • the multiplexing of the second communication interface 13 and the third communication interface 14 is realized.
  • the second communication interface 13 is used for electrical connection with the third communication interface 14
  • the third communication interface 14 is used for electrical connection with the second communication interface 13 that is, the second The communication interface 13 and the third communication interface 14 are respectively used for electrical connection with the other party
  • the first communication interface 11 can be electrically connected with the burning device.
  • the control circuit 12 can pass through the first communication interface 11 It communicates with the burning device so that the electronic device 10A can be upgraded.
  • the first communication interface can be electrically connected with the target device 21. Further, when the second communication interface 13 and the third communication interface 14 are not electrically connected, and the first communication interface 11 is electrically connected to the target device 21, the control circuit 12 can pass through the first communication interface 11 Communicate with the target device 21.
  • the control circuit 12 can be electrically connected according to the second communication interface 13 and the third communication interface 14, knowing that the electronic device needs to be upgraded, thereby triggering communication with the burning device through the first communication interface, so that the user can connect the second communication interface 13 and The third communication interface 14 is electrically connected, so that the electronic device is controlled to be upgraded through the first communication interface.
  • control circuit 12 is further configured to determine that the electronic device does not need to be upgraded when the second communication interface 13 and the third communication interface 14 are not electrically connected. It is realized that the control circuit 12 can learn that the electronic device does not need to be upgraded according to the disconnection of the second communication interface 13 and the third communication interface 14, thereby triggering communication with the target device 21 through the first communication interface, so that the user can connect the second communication interface to the target device 21.
  • the communication interface 13 and the third communication interface 14 are electrically disconnected, thereby controlling the electronic device to communicate with the target device 21 through the first communication interface.
  • the second communication interface 13 and the third communication interface 14 can be electrically connected via a short-circuit line, when the second communication interface 13 and the third communication interface 14 are electrically connected via the short-circuit line ,
  • the first communication interface 11 can be electrically connected with the burning device. Further, when the second communication interface 13 and the third communication interface 14 are not electrically connected by the short-circuit line, the first communication interface 11 can be electrically connected to the target device 21.
  • the second communication interface 13 and the third communication interface 14 can be electrically connected via a switching structure, when the second communication interface 13 and the third communication interface 14 are electrically connected via the switching structure When connected, the first communication interface 11 can be electrically connected with the burning device.
  • the second communication interface and the third communication interface can be electrically connected via the switching structure, so that the user can control whether the electronic device is upgraded through the first communication interface through the switching structure, because the switching structure can be provided with the second communication interface and
  • the third communication interface matches the interface, so that the user can control whether the second communication interface and the third communication interface are electrically connected through the plug-in switch structure, which is convenient for the user to operate, and is beneficial to improve the user's experience.
  • the first communication interface 11 can be electrically connected to the target device 21.
  • the switching structure is an electrical structure that can provide an electrical interface to realize the switching function
  • the shape of the switching structure may not be limited, for example, it may be plate-shaped.
  • the first communication interface 11 and the burning device can be electrically connected via the switching structure, when the second communication interface 13 and the third communication interface 14 are electrically connected via the switching structure When connected, the first communication interface 11 and the burning device are electrically connected via the switching structure.
  • the first communication interface and the burning device can be electrically connected via the switching structure, so that after the user electrically connects the second communication interface and the third communication interface through the switching structure, the second communication interface can be automatically realized.
  • a communication interface is electrically connected with the burning device, so that there is no need to manually control the electrical connection between the first communication interface and the burning device, which is beneficial to simplify user operations and improve user experience.
  • the first communication interface 11 and the burning device are not connected by the switching structure. Electrically connected, the first communication interface 11 can be electrically connected to the target device 21.
  • control circuit 12 in the electronic device 10A may detect and determine that the second communication interface is electrically connected to the third communication interface, and notify the control circuit 12 of the determination result.
  • control circuit 12 may detect and determine that the second communication interface is electrically connected to the third communication interface.
  • control circuit 12 may include a third connection terminal and a fourth connection terminal; the third connection terminal is used for electrical connection with the second communication interface 13; the fourth connection terminal is used for It is electrically connected to the third communication interface 14.
  • the third connection terminal is a connection terminal provided by the control circuit 12 for electrical connection with the second communication interface 13
  • the fourth connection terminal is a connection terminal provided by the control circuit 12 for electrical connection with the third communication interface 14.
  • the third connection terminal may specifically be a communication pin of the control chip.
  • the fourth connection terminal may specifically be a communication pin of the control chip. It should be noted that the number of the third connection terminal and the fourth connection terminal in FIG. 6 is one, which is only an example.
  • control circuit including the third connection terminal and the fourth connection terminal, it is realized that the control circuit can determine that the electronic device needs to be upgraded according to the electrical connection between its own connection terminals, compared with the control circuit determining that the electronic device needs to be upgraded from other circuits, Conducive to simplify the hardware implementation.
  • control circuit 12 is specifically configured to determine whether the target signal sequence is detected at the fourth connection terminal after the third connection terminal outputs the target signal sequence, and if the target signal sequence is detected at the fourth connection terminal When the terminal detects the target signal sequence, it is determined that the second communication interface 13 and the third communication interface 14 are electrically connected.
  • the third connection end and the fourth connection end are not electrically connected.
  • the user can control the second communication interface to be electrically connected with the third communication interface, so as to realize the electrical connection between the third connection terminal and the fourth connection terminal. Therefore, the third connection terminal is electrically connected to the fourth connection terminal, which can indicate that the second communication interface is electrically connected to the third communication interface.
  • the control circuit detects the target signal sequence output by the third connection terminal at the fourth connection terminal, then it is determined that the second communication interface is electrically connected to the third communication interface, and the second communication interface and the third communication interface are determined through signal detection.
  • the electrical connection relationship is conducive to simplifying hardware implementation.
  • control circuit 12 may also be used for determining that the second communication interface and the third communication interface are not electrically connected if the target signal sequence is not detected at the fourth connection terminal.
  • the target signal sequence may be a preset signal sequence.
  • the software implementation can be simplified.
  • the target signal sequence may be generated by a control circuit.
  • the target signal sequence is generated by the control circuit, which helps to improve the flexibility of the target signal sequence.
  • the control circuit 12 is further configured to generate the target signal sequence according to a generation algorithm.
  • the generating algorithm includes a random generating algorithm.
  • the number of the second communication interface 13 and the number of the third communication interface 14 may both be multiple.
  • the number of the second communication interface and the third communication interface are both multiple, so that the control circuit can determine the electronic device based on the electrical connection status of the multiple second communication interfaces and the multiple third communication interfaces It needs to be upgraded.
  • a pair of second communication interface and third communication interface fail to be successfully electrically connected due to an abnormality such as a user's operation error, it can also be determined according to other electrical connections between the second communication interface and the third communication interface.
  • the upgrade of electronic devices is conducive to improving reliability.
  • the plurality of second communication interfaces 13 may correspond to the plurality of third communication interfaces 14 on a one-to-one basis.
  • the second communication interface and the third communication interface Through the one-to-one correspondence between the second communication interface and the third communication interface, different pairs of the second communication interface and the third communication interface can be independent of each other, avoiding that different pairs of communication interfaces include the same communication interface and the communication interface is abnormal. Accurately judging whether the electronic device needs to be upgraded is helpful to further improve the reliability.
  • the second communication interface 13 and the third communication interface 14 are the same communication interface.
  • one communication interface may include two communication pins. When the two communication pins are electrically connected, it can represent the aforementioned second communication.
  • the interface 13 and the third communication interface 13 are electrically connected. When the two communication pins are not electrically connected, it can indicate that the aforementioned second communication interface 13 and the third communication interface 13 are not electrically connected. Since the second communication interface and the third communication interface are the same communication interface, the restriction on the minimum number of communication interfaces of the electronic device 10A can be reduced, which is beneficial to improve the applicability.
  • the second communication interface 13 and the third communication interface 14 are different communication interfaces.
  • the second communication interface and the third communication interface are different communication interfaces, which can facilitate the user to make an electrical connection through a short-circuit line or a switching structure, which is beneficial to improve the user's use experience.
  • the second communication interface 13 and the first communication interface 11 are the same communication interface; and/or, the third communication interface 14 and the first communication interface 11 are the same communication interface.
  • a communication interface may include three communication pins, and when two of the three communication pins are electrically connected, it can represent that the aforementioned second communication interface 13 and the third communication interface 13 are electrically connected, so that The electronic device can communicate with the programming device through the other communication pin of the three communication pins; when the two communication pins are not electrically connected, it can indicate that the second communication interface 13 and the third communication interface 13 are not electrically connected. Electric connection.
  • the second communication interface 13 and the first communication interface 11 are different communication interfaces; and/or, the third communication interface 14 and the first communication interface 11 are different communication interfaces.
  • the second communication interface and/or the third communication interface and the first communication interface are different communication interfaces, which can facilitate the user to make electrical connections through the short-circuit line or the switching structure, which is beneficial to improve the user experience.
  • control circuit 12 and the second communication interface 13 may be directly electrically connected.
  • the control circuit 12 and the second communication interface 13 may be directly electrically connected.
  • the number of components can be reduced, which is beneficial to reducing the cost.
  • the electronic device 10A may further include a second connector; one end of the second connector is used to electrically connect with the control circuit 12, and the other end of the second connector includes the second connector.
  • Communication interface 13 The electronic device 10A includes the second connector, so that the control circuit can be electrically connected to the second communication interface through the second connector. Since the connector is a standardized and widely used device, the electronic device includes the second The connector can improve the versatility of the electronic device while minimizing the cost of the electronic device.
  • control circuit 12 and the third communication interface 14 may be directly electrically connected.
  • the control circuit 12 and the third communication interface 14 may be directly electrically connected.
  • the number of components can be reduced, which is beneficial to reducing costs.
  • the electronic device 10A may further include a third connector; one end of the third connector is used to electrically connect with the control circuit 12, and the other end of the third connector includes the third connector.
  • Communication interface 14 The electronic device 10A includes the third connector, so that the control circuit can be electrically connected to the third communication interface through the third connector. Since the connector is a standardized and widely used device, the electronic device includes the third connector. The connector can improve the versatility of the electronic device while minimizing the cost of the electronic device.
  • the electronic device further includes a second communication interface and a third communication interface.
  • the second communication interface is used to electrically connect to the third communication interface or the target device 21, and the third communication interface is used to connect to the second communication interface or The target device 21 is electrically connected, and the control circuit is also used to determine that the electronic device needs to be upgraded when the second communication interface and the third communication interface are electrically connected, so that the control circuit can be electrically connected according to the second communication interface and the third communication interface, Knowing that the electronic device needs to be upgraded, triggers communication with the burning device through the first communication interface, so that the user can control the electronic device to upgrade through the first communication interface by electrically connecting the second communication interface and the third communication interface.
  • the electronic device 10A may further include a preset button that is electrically connected to the control circuit 12; the control circuit 12 is specifically configured to determine the electronic device when the preset button is closed. The device needs to be upgraded.
  • the first communication interface 11 can be electrically connected to the burning device. Further, when the preset button is closed and the first communication interface 11 is electrically connected to the burning device, the control circuit 12 can communicate with the burning device through the first communication interface 11 , So that the electronic device 10A can be upgraded.
  • the first communication interface can be electrically connected to the target device 21. Further, when the preset button is disconnected and the first communication interface 11 is electrically connected to the target device 21, the control circuit 12 can communicate with the target device 21 through the first communication interface 11 Communication.
  • the control circuit 12 can learn that the electronic device needs to be upgraded according to the closed state of the preset button, thereby triggering communication with the burning device through the first communication interface, so that the user can close the preset button to control the electronic device through the first communication The interface is upgraded.
  • control circuit 12 may also be used to determine that the electronic device does not need to be upgraded when the preset button is disconnected. It is realized that the control circuit 12 can learn that the electronic device does not need to be upgraded according to the disconnected state of the preset button, thereby triggering communication with the target device 21 through the first communication interface, so that the user can disconnect the preset button to control the electronic device. The device communicates with the target device 21 through the first communication interface.
  • control circuit 12 is specifically configured to determine that the electronic device needs to be upgraded when it is within the target time period.
  • the target time period refers to a time period that can be used for upgrading the electronic device.
  • the target time period can be flexibly designed according to the use requirements of the electronic device. For example, when the electronic device is usually used during the day, the target time period can be at night, for example, the target time period can be 21:00-23:00.
  • the first communication interface 11 when within the target time period, can be electrically connected to the burning device. Further, when within the target time period and the first communication interface 11 is electrically connected to the burning device, the control circuit 12 can communicate with the burning device through the first communication interface 11 , So that the electronic device 10A can be upgraded.
  • the first communication interface can be electrically connected to the target device 21. Further, when outside the target time period and the first communication interface 11 is electrically connected to the target device 21, the control circuit 12 can communicate with the target device 21 through the first communication interface 11 Communication.
  • the control circuit 12 can learn that the electronic device needs to be upgraded within the target time period, thereby triggering communication with the burning device through the first communication interface, so that the electronic device can determine to upgrade through the first communication interface according to the current time within the target time period, There is no need for manual control by the user, which is conducive to simplifying user operations.
  • control circuit 12 is further configured to determine that the electronic device does not need to be upgraded when it is outside the target time period. It is realized that the control circuit 12 can be out of the target time period at the current moment, knowing that the electronic device does not need to be upgraded, thereby triggering communication with the target device 21 through the first communication interface, without manual control by the user, which is beneficial to simplify user operations.
  • control circuit 12 may periodically determine whether the electronic device needs to be upgraded.
  • control circuit 12 is specifically configured to determine whether the electronic device needs to be upgraded after being powered on. By determining whether the electronic device needs to be upgraded after power-on, it is beneficial to simplify the software implementation.
  • control circuit 12 is specifically configured to communicate with the burning device through the first communication interface 11 when it is determined that the electronic device needs to be upgraded, so as to The computer program of the control circuit 12 of the electronic device is upgraded to a target version.
  • the control circuit can realize the functions supported by the computer program of the target version.
  • the computer program of the target version is used to adjust the indicator light display mode and/or adjust the battery charging strategy.
  • the indicator light display mode and battery charging strategy are controlled by the control circuit.
  • the indicator light can be an indicator light of an electronic device, which can be used to display the remaining power of the battery.
  • the battery charging strategy may include, for example, one battery is fully charged and then another battery is charged.
  • connection end of the control circuit 12 is the communication pin of the control chip
  • the communication interface of the electronic device 10A is electrically connected to the connection end of the control circuit 12 through the connector as an example, by multiplexing the first communication
  • FIG. 7 the part enclosed by the dashed frame represents the electronic device 10A
  • the connector 1 corresponds to the second connector in the embodiment shown in Figs. 4-6
  • the end of the connector 1 near the dashed frame includes the one shown in Figs. 4-6
  • the connector 2 corresponds to the third connector in the embodiment shown in FIGS.
  • the connector 3 may correspond to the first connector in the embodiment shown in FIGS. 4 to 6, and one end of the connector 3 near the dashed frame includes the first communication interface in the embodiment shown in FIGS. 4 to 6.
  • the communication pin a may correspond to the third connection terminal in the embodiment shown in FIGS. 4 to 6, the communication pin b may correspond to the fourth connection terminal in the embodiment shown in FIGS. 4 to 6, and the communication pin c may correspond to For the second connection terminal in the embodiment shown in FIGS. 4-6, the upgrade pin may correspond to the first connection terminal in the embodiment shown in FIGS. 4-6.
  • the two sets of second and third communication interfaces can be short-circuited through the short-circuit line 1 and the short-circuit line 2 on the outside of the electronic device 10A, respectively.
  • the control chip can add an "upgrade detection" program. Each time the board is powered on, the control chip sends a series of special commands from the communication pin a.
  • a set of random high and low level sequences are detected on the communication pin b: 1) If the communication pin b does not detect the command after sending a set of commands, it will enter the normal working mode to pass the first communication The interface communicates with the target device; 2) If the instruction is detected on the communication pin b after sending a group of instructions, it enters the programming mode to communicate with the programming device through the first communication interface, and the control chip enables the upgrade at this time The communication pin c is prohibited to configure the first communication interface as an upgrade port, and the computer can upgrade the electronic device 10A through the connector 3.
  • FIG. 4 to FIG. 7 mainly describe the implementation manner in which the first interface of the electronic device 10A is reused as an upgrade interface.
  • FIGS. 8-11 mainly describe the implementation of multiplexing the first interface of the electronic device 10B as a test interface.
  • FIG. 8 is a schematic structural diagram of an electronic device 10B provided by another embodiment of this application.
  • the electronic device 10B may specifically be a power management device, and the electronic device 10B is used to electrically connect with the target device 21 or the test load.
  • the electronic device 10B includes: a power interface 15 and a control circuit 16, and the control circuit 16 is used to electrically connect with the power interface 15.
  • the power interface 15 is used to electrically connect with the target device 21 or the test load;
  • the control circuit 16 is used to connect to the electronic device 10B through the power interface when it is determined that the electronic device 10B needs to be tested.
  • the test load outputs power to test the electronic device 10A.
  • the test load and the target device 21 can reuse the power interface 15 to realize that both the test load and the target device 21 can obtain power from the control circuit 12 through the power interface 15.
  • the power interface 15 can be used to electrically connect to a test load.
  • the control circuit 16 can communicate to the test load through the power interface 15
  • the load output power is tested to test the electronic device 10B.
  • this period of time can be understood as a period during which the control circuit determines that the electronic device 10B needs to be tested. It should be noted that the determination method for the control circuit to determine that the electronic device 10B needs to be tested can be flexibly designed, and the specific implementation manner can be referred to the description in the subsequent embodiments.
  • the power interface 15 can be used to electrically connect with the target device 21.
  • the control circuit 16 can communicate with the target device 21 through the power interface 15.
  • the target device 21 outputs power.
  • the control circuit 16 may specifically be any type of circuit capable of realizing the control function of the electronic device 10B.
  • the control circuit 16 may include a control chip.
  • the control circuit 16 may include a Microcontroller Unit (MCU).
  • MCU Microcontroller Unit
  • the power interface 15 may specifically be any type of interface provided by the electronic device 10B for outputting power.
  • control circuit 16 and the power interface 15 may be directly electrically connected.
  • the control circuit 16 and the power interface 15 may be directly electrically connected.
  • the number of components can be reduced, which is beneficial to reducing costs.
  • the control circuit determines whether to output power through the power pin by judging whether the target device is in place. Specifically, when the control circuit determines that the target device is in place, it can output power through the power interface, and when the control circuit determines that the target device is not in place, it cannot output power through the power interface, which is beneficial to improve safety.
  • the embodiment of the present application outputs power to the test load through the power interface when it is determined that the electronic device needs to be tested, so that power can be output through the power interface even if the target device is not in place during the test, so that the electronic device can be tested .
  • the power interface in this embodiment is the first interface in FIGS. 2 and 3.
  • the electronic device includes a control circuit and a power interface.
  • the control circuit is electrically connected to the power interface.
  • the power interface is used to electrically connect to the test load or target device 21.
  • the control circuit is used when it is determined that the electronic device needs to be tested. Output power to the test load through the power interface to test the electronic device.
  • the control circuit can output power to the test load through the power interface.
  • the control circuit The power interface can be used to output power to the target, which enables the test load and the target device 21 to reuse the power interface of the electronic device, so that the power interface of the electronic device can be reused as a test interface, which can save the test interface to achieve minimalism
  • the design can also avoid the problems caused by the need to disassemble the shell for testing, and solve the problem of complicated upgrade operations and easy damage to electronic equipment due to the omission of the test interface in the traditional technology.
  • control circuit can also output power to the target device 21 through the power interface.
  • control circuit 12 is further configured to output power to the target device 21 through the power interface 15 when it is determined that the electronic device 10B does not need to be tested. It is realized that the control circuit can flexibly use the power interface 15 according to the test requirements of whether the electronic device needs to be tested, so that the use of the power interface by the control circuit can meet the different needs of users, which is beneficial to improve the user experience.
  • FIG. 9 is a schematic structural diagram of an electronic device 10B provided by another embodiment of this application. Based on the embodiment shown in FIG. 8, this embodiment mainly describes an alternative implementation of the control circuit 16. As shown in FIG. 9, the control circuit 16 includes a first connection terminal C, and the first connection terminal C is used for electrically connecting with the power interface 16; the first connection terminal C is used for connecting to the power interface 16; Test the load or the output power of the target device 21.
  • the first connection terminal C is a connection terminal provided by the control circuit 16 for electrical connection with the power interface 15. Specifically, the first connection terminal C is a connection terminal provided by the control circuit 16 for electrical connection with the power interface 15 for outputting power to the target device 21 or the test load.
  • the control circuit 16 can output power to the test load through the power interface 15 and the first connection terminal C, so as to enable The electronic device 10B is tested.
  • the control circuit 12 can output power to the target device 21 through the power interface 15 and the first connection terminal C.
  • the first connection terminal C may specifically be a pin for power output of the control chip.
  • the pins used for power output may also be referred to as power pins or power pins. It should be noted that the number of the first connection terminal C in FIG. 9 is only for illustration.
  • the number of the first connecting ends C is greater than two.
  • the number of the first connection terminal C is greater than 2, so that multiple test loads can be electrically connected to the electronic device through the first connection terminal C, so that multiple test loads can be used to test the electronic device at the same time, which is beneficial to improve Flexibility of testing.
  • the electronic device 10B may further include: a first connector, one end of the first connector is used to electrically connect with the control circuit 16, so The other end of the first connector includes the power interface 15.
  • the electronic device 10B includes the first connector, so that the control circuit can be electrically connected to the power interface through the first connector. Since the connector is a standardized and widely used device, the electronic device includes the first connector The versatility of the electronic device can be improved on the basis of minimizing the cost of the electronic device.
  • FIG. 10 is a schematic structural diagram of an electronic device 10B provided by another embodiment of this application. Based on the embodiments shown in FIG. 8 and FIG. 9, this embodiment mainly describes one of the parts that the control circuit 16 determines that the electronic device needs to be tested.
  • the electronic device 10B may further include: a first communication interface 17 and a second communication interface 18; wherein, the first communication interface 17 is used to communicate with the second communication interface 18 or the target device. 21 is electrically connected; the second communication interface 18 is used to electrically connect to the first communication interface 17 or the target device 21; the control circuit 16 is also used to connect to the first communication interface 17 and When the second communication interface 18 is electrically connected, it is determined that the electronic device 10B needs to be tested.
  • the target device 21 and the first communication interface 17 can reuse the second communication interface 18, and the target device 21 and the second communication interface 18 can reuse the first communication interface 17.
  • the electronic device 10B can be electrically and/or communicatively connected to the target device 21 through the first communication interface 17 and the second communication interface 18; it can also be realized that the electronic device 10B can be connected to the target device 21 through the first communication interface 17, the second communication interface 18.
  • the multiplexing of the first communication interface 17 and the second communication interface 18 is realized.
  • the first communication interface 17 is used for electrical connection with the second communication interface 18, and the second communication interface 18 is used for electrical connection with the first communication interface 17, that is, the first The communication interface 17 and the second communication interface 18 are respectively used for electrical connection with each other, and the power interface 15 can be used for electrical connection with a test load.
  • the control circuit 16 can communicate with the test load through the power interface 15 Load output power to test the electronic device 10B.
  • the power interface can be electrically connected to the target device 21. Further, when the first communication interface 17 and the second communication interface 18 are not electrically connected, and the power interface 15 is electrically connected to the target device 21, the control circuit 12 can pass through the power interface 11 Output power to the target device 21.
  • the control circuit 16 can learn that the electronic device needs to be tested according to the electrical connection of the first communication interface 17 and the second communication interface 18, thereby triggering the output of power to the test load through the power interface, so that the user can connect the first communication interface 17 and the second communication interface 17 to the test load.
  • the second communication interface 18 is electrically connected, so that the control electronic device is tested through the power interface.
  • control circuit 16 is further configured to determine that the electronic device does not need to be tested when the first communication interface 17 and the second communication interface 18 are not electrically connected. It is realized that the control circuit 16 can learn that the electronic device does not need to be tested according to the disconnection of the first communication interface 17 and the second communication interface 18, thereby triggering the output of power to the target device 21 through the power interface, so that the user can connect the first communication interface 17 and the second communication interface 18 to the target device 21.
  • the communication interface 17 and the second communication interface 18 are electrically disconnected, thereby controlling the electronic device to output power to the target device 21 through the power interface.
  • the first communication interface 17 and the second communication interface 18 can be electrically connected via a short-circuit line, when the first communication interface 17 and the second communication interface 18 are electrically connected via the short-circuit line ,
  • the power interface can be electrically connected with the test load. Further, when the first communication interface 17 and the second communication interface 18 are not electrically connected by the short-circuit line, the power interface 15 can be electrically connected to the target device 21.
  • the first communication interface 17 and the second communication interface 18 can be electrically connected via a switching structure, when the first communication interface 17 and the second communication interface 18 are electrically connected via the switching structure When connected, the power interface can be electrically connected to the test load. Further, when the first communication interface 17 and the second communication interface 18 are not electrically connected by the switching structure, the power interface 15 can be electrically connected to the target device 21.
  • the power interface 15 can be electrically connected to the target device 21.
  • the power interface 15 and the test load can be electrically connected via the switching structure.
  • the power interface 15 and the test load are electrically connected via the switching structure.
  • the power interface 17 and the load device 222 are not electrically connected by the switching structure
  • the power interface 15 can be electrically connected to the target device 21.
  • the number of the first communication interface 17 and the number of the second communication interface 18 are both multiple.
  • the plurality of first communication interfaces 17 corresponds to the plurality of second communication interfaces 18 in a one-to-one correspondence.
  • first communication interface 17 and the second communication interface 18 are the same communication interface, and/or, the first communication interface 17 and the second communication interface 18 are different communication interfaces.
  • the first communication interface 17 and/or the second communication interface 18 and the power interface 15 are the same interface.
  • an interface may include a power pin and two communication pins. When the two communication pins are electrically connected, it can indicate that the aforementioned first communication interface 17 and the second communication interface 18 are electrically connected, so that the electronic device can pass through the The power pin outputs power to the test load; when the two communication pins are not electrically connected, it can indicate that the aforementioned first communication interface 17 and the second communication interface 18 are not electrically connected. Since the first communication interface and/or the second communication interface and the power interface are the same interface, the restriction on the minimum number of interfaces of the electronic device 10B can be reduced, which is beneficial to improve the applicability.
  • the first communication interface 17 and/or the second communication interface 18 and the power interface 15 are different interfaces.
  • the first communication interface and/or the second communication interface and the power interface are different interfaces, which can facilitate the electrical connection of the user through the short-circuit line or the switching structure, which is beneficial to improve the user experience.
  • first communication interface 17 and the second communication interface 18 in this embodiment are respectively equivalent to the second communication interface 13 and the third communication interface 14 in the embodiment shown in FIG. 4 to FIG.
  • first communication interface 17 and the second communication interface 18 in this embodiment are respectively equivalent to the second communication interface 13 and the third communication interface 14 in the embodiment shown in FIG. 4 to FIG.
  • control circuit 16 in the electronic device 10B may determine that the first communication interface is electrically connected to the second communication interface, and notify the control circuit 16 of the determination result.
  • control circuit 16 may detect and determine that the first communication interface is electrically connected to the second communication interface.
  • control circuit 16 may further include a second connection terminal and a third connection terminal; the second connection terminal is used for electrical connection with the first communication interface 17; the third connection terminal is used for It is electrically connected to the second communication interface 18.
  • control circuit 16 is specifically configured to determine whether the target signal sequence is detected at the third connection terminal after the target signal sequence is output from the second connection terminal, and if the target signal sequence is detected at the third connection terminal When the terminal detects the target signal sequence, it is determined that the first communication interface 17 and the second communication interface 18 are electrically connected.
  • control circuit 16 is further configured to determine that the first communication interface 17 and the second communication interface 18 are not electrically connected if the target signal sequence is not detected at the third connection end .
  • control circuit 16 is further configured to generate the target signal sequence according to a generation algorithm.
  • the generating algorithm includes: a random generating algorithm.
  • control circuit 16 detects and determines the specific manner of electrical connection between the first communication interface and the second communication interface. You can refer to the embodiment shown in FIGS. 4-7 for the detection and determination of the second communication interface by the control circuit 12 The related content of the electrical connection between the communication interface and the third communication interface will not be repeated here.
  • control circuit 16 and the first communication interface 17 may be directly electrically connected. Through the direct electrical connection between the control circuit 16 and the first communication interface 17, the number of components can be reduced, which is beneficial to reducing the cost.
  • the electronic device 10B may further include a second connector; one end of the second connector is used to electrically connect to the control circuit 16, and the other end of the second connector includes the first connector. Communication interface 17.
  • control circuit 16 and the second communication interface 18 may be directly electrically connected. Through the direct electrical connection between the control circuit 16 and the second communication interface 18, the number of components can be reduced, which is beneficial to reducing the cost.
  • the electronic device 10B may further include a third connector; one end of the third connector is used to electrically connect with the control circuit 16, and the other end of the third connector includes the second connector. Communication interface 18.
  • second connector and the third connector in this embodiment are respectively equivalent to the second connector and the third connector in the embodiment shown in FIG. 4 to FIG. 7, and their implementation principles and technical effects are, Reference may be made to the related description of the foregoing embodiment, which will not be repeated here.
  • the electronic device further includes a first communication interface and a second communication interface.
  • the first communication interface is used to electrically connect to the second communication interface or the target device 21, and the second communication interface is used to connect to the first communication interface or The target device 21 is electrically connected, and the control circuit is also used to determine that the electronic device needs to be tested when the first communication interface and the second communication interface are electrically connected, so that the control circuit can be electrically connected according to the first communication interface and the second communication interface , It is learned that the electronic device needs to be tested, thereby triggering the output of power to the load device 222 through the power interface, so that the user can electrically connect the first communication interface and the second communication interface to control the electronic device to perform the test through the power interface.
  • the electronic device 10B may further include a preset button that is electrically connected to the control circuit 16; the control circuit 16 is specifically configured to determine that the electronic device needs to be controlled when the preset button is closed. The device 10B is tested.
  • control circuit 16 may also be used to determine that the power management device does not need to be tested when the preset button is disconnected.
  • control circuit 16 is specifically configured to determine that the power management device needs to be tested when it is within the target time period.
  • control circuit 16 may also be used to determine that the power management device does not need to be tested when it is outside the target time period.
  • control circuit 16 may periodically determine whether the electronic device 10B needs to be tested.
  • the control circuit 16 is specifically used to determine whether the electronic device 10B needs to be tested after being powered on. By determining whether the electronic device needs to be tested after power-on, it is beneficial to simplify the software implementation.
  • the control circuit 16 is further configured to output power to the test load through the power interface 15 for a duration greater than or equal to a duration threshold. At this time, it is determined that the electronic device 10B does not need to be tested. When the duration of the power output to the test load through the control circuit is greater than or equal to the duration threshold, it is determined that the electronic device 10B does not need to be tested, and the duration of the continuous power output to the test load can be automatically controlled, thereby reducing user operations. Conducive to improving the user experience.
  • the duration threshold may be, for example, 2 hours.
  • control circuit 16 is specifically configured to output to the test load at full power. By controlling the circuit to output full power to the test load, the aging test of the electronic device 10B can be realized.
  • the connection end of the control circuit 16 is the communication pin of the control chip, and the interface of the electronic device 10B is electrically connected to the connection end of the control circuit 16 through the connector, as an example, the electronic Refer to FIG. 11 for a schematic diagram of the device 10B for testing.
  • the part enclosed by the dashed frame represents the electronic device 10B
  • the connector 1 corresponds to the second connector in the embodiment shown in Figs. 8-10
  • the end of the connector 1 near the dashed frame includes those shown in Figs. 8-10
  • the connector 2 corresponds to the third connector in the embodiment shown in FIGS.
  • the connector 3 may correspond to the first connector in the embodiment shown in FIGS. 8-10, and the end of the connector 3 near the dashed frame includes the power interface in the embodiment shown in FIGS. 8-10.
  • the communication pin a may correspond to the second connection terminal in the embodiments shown in FIGS. 8 to 10
  • the communication pin b may correspond to the third connection terminal in the embodiments shown in FIGS. 8 to 10
  • the power pin d may correspond to FIGS. 8 to 10
  • Figure 10 shows the first connection terminal in the embodiment.
  • the two groups of first and second communication interfaces can be short-circuited through the short-circuit line 1 and the short-circuit line 2 outside the electronic device 10B, respectively.
  • the control chip can add a "test detection" program. Every time the board is powered on, the control chip sends a series of special commands from the communication pin a. For example, a set of random high and low level sequences are detected on the communication pin b: 1) If the communication pin b does not detect the command after sending a set of commands, it will enter the normal working mode to send the signal to the communication pin b through the power interface.
  • the output power of the target device If the command is detected on the communication pin b after sending a group of commands, it will enter the test mode to output power to the test load through the power interface.
  • the control chip controls the switch tube such as MOS tube Close to control the output power of the power pin d, thereby configuring the power interface as a test port.
  • the number of battery compartments of the battery management device in FIG. 7 and FIG. 11 may be three, among which, the connector 1, the connector 2, and the connector 3. Correspond to a battery compartment respectively.
  • a schematic structural diagram of a battery management device with three battery compartments may be as shown in FIG. 12, for example.
  • the 6 oval pins under a battery compartment constitute the corresponding interface of the battery compartment.
  • Each battery compartment corresponds to 6 pins, which are 2 positive pins and 2 ground (GND) tubes. Pin and a pair of communication pins.
  • the six pins in order from left to right can be, for example, scl, ground, positive electrode, positive electrode, ground, and sda, where scl and sda are communication pins.
  • each battery compartment corresponds to 6 pins as an example. It should be understood that the number of pins corresponding to each battery compartment can also be other numbers, such as 10 pins, which are 4 respectively.
  • the interface corresponding to the first battery compartment and the interface corresponding to the second battery compartment from left to right can be respectively used as the second communication interface and the first communication interface of the electronic device 10A in the foregoing embodiment.
  • Three communication interfaces, the interface corresponding to the third battery compartment can be used as the first communication interface of the electronic device 10A in the foregoing embodiment.
  • the interface corresponding to the first battery compartment and the interface corresponding to the second battery compartment from left to right can be respectively used as the first communication interface and the second communication interface of the electronic device 10B in the foregoing embodiment.
  • the second communication interface, the interface corresponding to the third battery compartment can be used as the power interface of the electronic device 10B in the foregoing embodiment.
  • the upgrade of the electronic device 10A is realized by multiplexing the communication interface
  • the test of the electronic device 10B is realized by the multiplexing the power interface.
  • the two methods can be combined. For example, since the interface corresponding to the third battery compartment in FIG. 12 includes both a positive pin and a communication pin, it can be used as both the first communication interface of the electronic device 10A and the power interface of the electronic device 10B.
  • whether one of the two communication pins of the first battery compartment from left to right in FIG. 12 and one of the two communication pins of the second battery compartment are electrically connected can be used To determine whether the electronic device needs to be upgraded.
  • Figure 12 from left to right whether the other communication pin of the two communication pins of the first battery compartment is electrically connected to the other of the two communication pins of the second battery compartment It can be used to determine whether the electronic device needs to be tested.
  • the electronic device 10A and the electronic device 10B are combined, through
  • the schematic diagram of upgrading the electronic device by multiplexing the first communication interface and the schematic diagram of testing the electronic device through the multiplexing power interface may be as shown in FIG. 13 and FIG. 14, respectively.
  • the control chip can determine that the electronic device needs to be upgraded, and can connect The communication interface provided by the device 4 upgrades the electronic device.
  • the communication pin a may correspond to the third connection terminal in the embodiment shown in FIGS. 4 to 6, and the communication pin b may correspond to the fourth connection terminal in the embodiment shown in FIGS. 4 to 6, and the communication pin e It may correspond to the second connection terminal in the embodiment shown in FIGS. 4 to 6, and the upgrade pin may correspond to the first connection terminal in the embodiment shown in FIGS. 4 to 6.
  • the control chip can determine that the electronic device needs to be tested, and can connect The power interface provided by the device 4 tests the electronic device.
  • the communication pin b may correspond to the second connection terminal in the embodiment shown in FIGS. 8 to 10
  • the communication pin c may correspond to the third connection terminal in the embodiment shown in FIGS. 8 to 10
  • the power pin d may correspond to Corresponds to the first connecting end in the embodiment shown in FIG. 4 to FIG. 6.
  • an embodiment of the present application also provides an electronic system, including a target device and the electronic device 10A described in the foregoing embodiment.
  • the target device may specifically be a battery.
  • the electronic system may specifically be a battery management system.
  • the battery management device may also be provided with a battery compartment for accommodating the battery.
  • An embodiment of the present application also provides an electronic system, which is specifically a power management system, including a target device and the electronic device 10B described in the foregoing embodiment.
  • the method of this embodiment can be applied to the aforementioned electronic device 10A, and specifically can be executed by the control circuit in the aforementioned electronic device 10A. As shown in FIG. 15, the method of this embodiment may include:
  • Step 1501 It is determined that the electronic device 10A needs to be upgraded.
  • Step 1502 Communicate with the burning device through the first communication interface for upgrading.
  • the battery management method provided in this embodiment can implement the aforementioned technical solution of the control circuit in the electronic device 10A, and its implementation principle and technical effect are similar to the device embodiment, and will not be repeated here.
  • the method of the embodiment shown in FIG. 14 may specifically be a battery management method.
  • FIG. 16 is a schematic flowchart of a method for controlling a power management device according to an embodiment of the application; the method of this embodiment can be applied to the aforementioned electronic device 10B, which specifically refers to a power management device, which can be specifically implemented by the aforementioned electronic device 10B.
  • the control circuit in the implementation. As shown in FIG. 16, the method of this embodiment may include:
  • Step 1601 It is determined that the electronic device 10B needs to be tested.
  • Step 1602 Output power to the test load through the power interface to test the power management device.
  • the power management device control method provided in this embodiment can implement the aforementioned technical solution of the control circuit in the electronic device 10B, and its implementation principles and technical effects are similar to the device embodiments, and will not be repeated here.
  • a person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware.
  • the aforementioned program can be stored in a computer readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

L'invention concerne un dispositif de gestion de pile, un dispositif électronique (10), ainsi qu'un dispositif, un système et un procédé de gestion d'énergie. Le dispositif de gestion de pile est utilisé de manière à être connecté à un appareil de gravure de données ou à une pile ; le dispositif de gestion de pile comporte : un circuit de commande (12) et une première interface de communication (11) ; le circuit de commande (12) est utilisé de manière à être connecté électriquement à la première interface de communication (11), et la première interface de communication (11) est utilisée de manière à être connectée électriquement à l'appareil de gravure de données ou à la pile ; le circuit de commande (12) est utilisé pour communiquer avec l'appareil de gravure de données au moyen de la première interface de communication (11), de façon à effectuer une mise à niveau lorsqu'il est déterminé que le dispositif de gestion de pile doit être mis à niveau ; lorsque la première interface de communication (11) est connectée électriquement à l'appareil de gravure, le circuit de commande (12) peut communiquer avec l'appareil de gravure au moyen de la première interface de communication (11), de telle sorte que le dispositif de gestion de pile peut être mis à niveau ; lorsque la première interface de communication (11) est connectée électriquement à la pile, le circuit de commande (12) peut communiquer avec la pile au moyen de la première interface de communication (11). Le dispositif de gestion de pile peut non seulement se passer d'interface de mise à niveau afin d'obtenir une conception simple, mais peut aussi éviter des problèmes provoqués par la nécessité de détacher la coque lors de la mise à niveau.
PCT/CN2019/112472 2019-10-22 2019-10-22 Dispositif de gestion de pile, dispositif électronique et dispositif, système et procédé de gestion d'énergie WO2021077285A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/112472 WO2021077285A1 (fr) 2019-10-22 2019-10-22 Dispositif de gestion de pile, dispositif électronique et dispositif, système et procédé de gestion d'énergie
CN201980033821.6A CN112154426A (zh) 2019-10-22 2019-10-22 电池管理装置、电子装置、电量管理装置、系统及方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/112472 WO2021077285A1 (fr) 2019-10-22 2019-10-22 Dispositif de gestion de pile, dispositif électronique et dispositif, système et procédé de gestion d'énergie

Publications (1)

Publication Number Publication Date
WO2021077285A1 true WO2021077285A1 (fr) 2021-04-29

Family

ID=73891973

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/112472 WO2021077285A1 (fr) 2019-10-22 2019-10-22 Dispositif de gestion de pile, dispositif électronique et dispositif, système et procédé de gestion d'énergie

Country Status (2)

Country Link
CN (1) CN112154426A (fr)
WO (1) WO2021077285A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070103115A1 (en) * 2005-11-08 2007-05-10 Sheng-Hui Liu Function-switching type linking apparatus
CN104850949A (zh) * 2015-05-11 2015-08-19 中国科学院电工研究所 一种电动汽车无线充电导引系统
CN105094877A (zh) * 2014-05-21 2015-11-25 炬芯(珠海)科技有限公司 一种固件升级的方法和主机端装置及系统
CN108146188A (zh) * 2017-12-25 2018-06-12 小犇(苏州)新能源科技有限公司 一种能更新程序的电动汽车空调pwm接口
CN109933346A (zh) * 2017-12-15 2019-06-25 北京长城华冠汽车科技股份有限公司 一种对电动汽车电池管理控制器程序进行升级的方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070103115A1 (en) * 2005-11-08 2007-05-10 Sheng-Hui Liu Function-switching type linking apparatus
CN105094877A (zh) * 2014-05-21 2015-11-25 炬芯(珠海)科技有限公司 一种固件升级的方法和主机端装置及系统
CN104850949A (zh) * 2015-05-11 2015-08-19 中国科学院电工研究所 一种电动汽车无线充电导引系统
CN109933346A (zh) * 2017-12-15 2019-06-25 北京长城华冠汽车科技股份有限公司 一种对电动汽车电池管理控制器程序进行升级的方法及系统
CN108146188A (zh) * 2017-12-25 2018-06-12 小犇(苏州)新能源科技有限公司 一种能更新程序的电动汽车空调pwm接口

Also Published As

Publication number Publication date
CN112154426A (zh) 2020-12-29

Similar Documents

Publication Publication Date Title
CN105954644B (zh) 一种USB Type-C接口公头智能检测和保护电路
WO2019113732A1 (fr) Dispositif électronique et procédé de commande de charge
CN111697663B (zh) 充电电路与充电线缆
US10554060B2 (en) Systems and methods for charging via USB port
US20190050037A1 (en) Intelligent mobile power supply and method for usb data communication therewith
EP3565180B1 (fr) Dispositif de vérification sur le terrain d'une alimentation par ethernet multi-dispositif
AU2014411185A1 (en) Power adaptor, terminal and charging system
CN106575879A (zh) 通过数字反馈进行快速电池充电
US10079499B2 (en) Type-C factory and special operating mode support
US11581588B2 (en) Energy storage system
CN104054064B (zh) 基于接口耦合的灵活的端口配置
WO2018090174A1 (fr) Procédé de charge et dispositif associé
KR102346821B1 (ko) 충전 장치의 테스트 보드, 테스트 시스템 및 테스트 방법
CN114090360A (zh) 一种服务器调试装置、方法及其介质
WO2021077285A1 (fr) Dispositif de gestion de pile, dispositif électronique et dispositif, système et procédé de gestion d'énergie
CN106706998B (zh) 终端测试系统和终端测试方法
CN117331423A (zh) Pcie设备的供电方法和装置、存储介质及电子装置
CN108243358A (zh) 可插拔业务板
WO2016141554A1 (fr) Appareil et procédé de détection de boucle automatique pour un dispositif de charge
CN110277816B (zh) 一种终端供电方法及装置
CN217820621U (zh) 掉电测试模组及串口继电器
CN216817213U (zh) 无线联网型输入模块的测试电路与装置
CN110429577B (zh) 防错插电源、防错插负载及可插拔电源防错插系统
CN218123911U (zh) 供电控制装置、插排以及供电控制系统
CN218298400U (zh) 充电测试系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19950006

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19950006

Country of ref document: EP

Kind code of ref document: A1