WO2019105211A1 - Dispositif électronique et procédé de mise à jour de programme associé - Google Patents

Dispositif électronique et procédé de mise à jour de programme associé Download PDF

Info

Publication number
WO2019105211A1
WO2019105211A1 PCT/CN2018/114972 CN2018114972W WO2019105211A1 WO 2019105211 A1 WO2019105211 A1 WO 2019105211A1 CN 2018114972 W CN2018114972 W CN 2018114972W WO 2019105211 A1 WO2019105211 A1 WO 2019105211A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
module
program
control module
communication module
Prior art date
Application number
PCT/CN2018/114972
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 CN201880003939.XA priority Critical patent/CN110192321B/zh
Publication of WO2019105211A1 publication Critical patent/WO2019105211A1/fr
Priority to US16/887,584 priority patent/US11029941B2/en
Priority to US17/335,807 priority patent/US20210286612A1/en
Priority to US18/085,903 priority patent/US20230127497A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Definitions

  • the present disclosure relates to an electronic device and a program update method of the electronic device.
  • the upgrade file may be interrupted or the program update is suddenly interrupted due to some reasons (for example, power failure, network disconnection, etc.), resulting in incomplete upgrade or updated program.
  • This incomplete and defective program can make the charging device, the power tool and the portable power supply not work properly, and there is a safety hazard, which is likely to cause a safety accident.
  • an object of the present disclosure is to provide an electronic device with a program update that is convenient, fast, safe, and reliable, and a program update method for the electronic device.
  • An electronic device comprising: a housing; at least one adapter interface formed on a surface of the housing for detachably mounting one or more battery packs to the at least one adapter interface, wherein The battery pack can be used for a handheld power tool or a garden tool; a control module that programmably controls an operation process of the electronic device; wherein the electronic device further includes a communication module, the communication module includes: a wireless communication unit, For wirelessly communicating with an external device to receive an upgrade file from the external device; and a storage unit for storing the upgrade file from the external device; the upgrade file includes an upgrade to update the program of the control module a program; the communication module is configured to: receive, by the wireless communication unit, the upgrade file of an external device and store the upgrade file in the storage unit; and send the upgrade file when a preset condition is met The control module is updated to the program of the control module.
  • the preset condition includes the communication module receiving an upgrade request from the control module.
  • the upgrade file includes a program end identifier
  • the control module sends the upgrade request to the communication module when the program end identifier is not received.
  • the preset condition includes the communication module receiving an upgrade request from an external device.
  • the electronic device is a portable power supply device
  • the portable power supply device further includes an inverter module
  • the inverter module includes an inverter
  • the inverter is configured to convert the direct current outputted by the battery pack into an alternating current
  • the inverter module is electrically connected to the control module and at least partially receives control of the main control module.
  • the portable power supply device further includes a data bus, the control module and the inverter module are connected to the communication module through the data bus; the communication module is configured to: receive an external device through the wireless communication unit And storing the upgrade file in the storage unit; sending the upgrade file to the control module and/or the inverter module through the data bus; the upgrade file includes the control module and/or the The upgrade program of the program of the inverter module is updated.
  • control module and the inverter module have unique identifiers.
  • the upgrade file contains a unique identifier of the control module and/or the inverter module.
  • the wireless communication unit includes a WIFI module and/or a Bluetooth module.
  • control module includes a storage unit that stores a first partial program and a second partial program, the first partial program being executable by the control module to update the second partial program.
  • the electronic device is a battery pack or a power tool that uses the battery pack or a charging device that charges the battery pack.
  • a program updating method suitable for an electronic device as described above comprising: the communication module receiving an upgrade file from an external device through the wireless communication unit and storing the upgrade file in the storage unit; The communication module sends the upgrade file to the control module, and the control module updates its own program according to the upgrade file.
  • the communication module when the communication module receives an upgrade request from the control module, the communication module sends the upgrade file to the control module.
  • the upgrade file includes a program end identifier
  • the control module sends the upgrade request to the communication module when the program end identifier is not received.
  • the communication module when the communication module receives an upgrade request from an external device, the communication module sends the upgrade file to the control module.
  • Another program updating method suitable for an electronic device as described above comprising: the communication module receiving an upgrade file from an external device through the wireless communication unit and storing the upgrade file in the storage unit; And the communication module sends an upgrade instruction to the data bus; the control module and the inverter module stop working after receiving the upgrade instruction from the data bus, and enter a listening state; the control module And the inverter module determines whether the upgrade instruction is an upgrade instruction corresponding to itself, if yes, enters an upgrade mode, and if not, continues to maintain a listening state; and one of the control module and the inverter module determines that it is for itself Sending an upgrade response to the data bus after the upgrade command; after receiving the upgrade response from the data bus, the communication module sends the upgrade file through the data bus to the end corresponding to sending the upgrade response a control module or an inverter module; after the control module or the inverter module receives the upgrade file, according to the Level file update their program.
  • the communication module when the communication module receives an upgrade request from the control module or the inverter module, the communication module sends an upgrade command to the data bus.
  • the upgrade file includes a program end identifier
  • the control module or the inverter module sends the upgrade request to the communication module when the program end identifier is not received.
  • the communication module when the communication module receives an upgrade request from an external device, the communication module sends an upgrade instruction to the data bus.
  • control module and the inverter module have a unique identifier
  • the upgrade instruction includes a unique identifier of the control module and/or the inverter module; and the control module and the inverter module determine the upgrade instruction by determining Whether the unique identifier in the match matches its own unique identifier, and if so, it is determined to be an upgrade instruction for itself.
  • control module and the inverter module have a unique identifier, and the upgrade response includes the unique identifier.
  • the program updating method further includes: after receiving the upgrade response, the communication module sends an upgrade key to the unique identifier according to the unique identifier included in the upgrade response.
  • the matching control module or the inverter module, the control module or the inverter module matching the unique identifier enters a program update process after receiving the upgrade key.
  • the communication module sends the upgrade file to the control module and the inverter module in a preset order.
  • program updating method further includes: after the self-program update is completed, the control module or the inverter module sends an upgrade end feedback to the communication module; the control module does not receive the control module and the When the upgrade of the inverter module is finished, the communication module sends an upgrade command to the data bus.
  • the utility model has the advantages that the electronic device of the present disclosure and the program updating method thereof do not need to be disassembled and installed, reduce manpower and material resources, are convenient and fast, and the electronic device program runs safely and reliably.
  • FIG. 1 is a perspective structural view of a portable power source device, a battery pack, and a power tool;
  • FIG. 2 is a network diagram of information interaction between a portable power source device and an external device
  • FIG. 3 is an internal circuit schematic diagram of a portable power supply device
  • FIG. 4 is a schematic diagram of allocation of internal program storage area of a storage unit
  • Figure 5 is an information exchange process between the communication module and the main control module
  • FIG. 6 is a workflow diagram of a communication module upgrading an entire node connected thereto
  • FIG. 8 is a specific wiring diagram of a communication module, a main control module, and an inverter module;
  • FIG. 9 is a working flow chart of a software module performing software update on a main control module and an inverter module;
  • Figure 10 is a schematic view showing the internal structure of the upgrading device and the power tool
  • FIG. 11 is an information interaction between the upgrading apparatus and the power tool shown in FIG. 10 in an upgrade mode
  • Figure 12 is a schematic view showing the internal structure of the upgrading device and the battery pack
  • FIG. 13 is an information interaction between the upgrading apparatus and the battery pack shown in FIG. 10 in the upgrade mode
  • FIG. 14 is a schematic diagram of the principle of a timeout retransmission mechanism.
  • the present disclosure provides an electronic device including: a housing; at least one adapter interface formed on a surface of the housing for detachably mounting one or more battery packs to the at least one adapter interface,
  • the battery pack can be used for a handheld power tool or a garden tool;
  • a control module that can programmatically control an operation of the electronic device;
  • the electronic device further includes a communication module, the communication module includes:
  • the communication module is configured to: receive, by the wireless communication unit, the upgrade file of the external device and store the upgrade file in the storage unit; Sending the upgrade file to the control module to update the program of the control module.
  • the electronic device of the present disclosure is mainly applied to the field of battery packs and power tools, including but not limited to a portable power supply device 100 capable of adapting the battery pack 100, a battery pack 200, a power tool 300 powered by the battery pack, and a battery pack. 200 charging device.
  • a portable power supply device 100 capable of adapting the battery pack 100
  • a battery pack 200 capable of adapting the battery pack 100
  • a power tool 300 powered by the battery pack
  • a battery pack. 200 charging device a battery pack. 200 charging device.
  • the electronic device of the present disclosure will be described below by taking the portable power source device 100 as an example.
  • the portable power supply device 100 includes an adapter 110 having at least one adapter interface 111 formed on a surface of the housing for detachably mounting one or more battery packs 200 to the chassis. At least one adapter interface 111 is described, wherein the battery pack 111 is for a hand-held power tool or a garden tool.
  • the battery pack 200 can obtain electrical energy from the adaptation interface 111.
  • the plurality of battery packs 200 may be separately connected to the adapter interface 111 or may be simultaneously connected to the adapter interface 111.
  • the adapter interface 111 is formed with a portion that can be fitted to the joint of the battery pack 200 to enable the battery pack 200 to be detachably coupled to the adapter interface 111.
  • the adapter 110 also includes an inverter and a rectifier.
  • the inverter can convert the direct current outputted by the battery pack 200 connected to the adapter 110 into alternating current; the rectifier can convert the alternating current that the adapter 110 is connected into the direct current that can charge the battery pack 200.
  • Both the inverter and the rectifier are constituted by respective circuit boards and circuit components, and circuit boards and circuit components constituting the inverter and the rectifier are housed in a housing formed by the housing of the portable power supply device 100.
  • Adapter 110 also includes an AC input interface that enables adapter 110 to be connected to AC power in the grid.
  • the AC input interface can be constructed as a power plug 115 as shown in FIG.
  • the adapter 110 can charge the connected battery pack 200 through the connected alternating current; as a specific solution, the alternating current input interface is electrically connected to the rectifier, so that the alternating current input from the alternating current input interface is changed to direct current so that the battery pack 200 is charged.
  • the adapter 110 also includes an AC output interface that can be used to output AC power to enable the portable power device 100 to function as an AC power source.
  • the power source of the AC output interface may be the power stored in the battery pack 200 to which the adapter 110 is connected, or the power of the AC grid introduced by the adapter 110 from the AC input interface.
  • the AC output interface can be constructed in the form of a power outlet 112 as in Figure 1 to enable the portable power unit 100 to power a typical AC powered device.
  • the adapter 110 can use the battery pack 200 power to which it is connected and output AC power through the AC output interface.
  • the AC output interface is at least electrically connected to the inverter.
  • the direct current from the battery pack 200 is changed to an alternating current through the inverter and then output to the alternating current output interface.
  • the adapter 110 also includes a direct current output interface for causing the adapter 110 to output direct current.
  • the DC output interface can be configured as a 5V USB interface 113 as shown in FIG. 1, or can be configured as a 12V vehicle power interface 114 as shown in FIG. 1; of course, the DC output interface can also be constructed. In other forms, other voltages such as 19V, 36V are output.
  • the adapter 110 can also include a DC input interface for connecting the adapter 110 to DC power.
  • the adapter 110 can charge the battery pack 200 from the direct current that is external to its battery pack 200, and can also be used by other electrical consumers.
  • the user can use the battery of the automobile to connect to the DC input interface through the DC input interface, thereby charging the battery pack 200 connected to the adapter 110.
  • the user can use the DC output interface of the adapter 110 to charge the battery of the automobile to solve the automobile.
  • the DC input interface can also be constructed as a USB interface 114 or a 12V interface 114 as shown in FIG.
  • the portable power supply device 100 can be connected to a plurality of battery packs 200, which can be either the battery pack 200 having the same rated voltage or the battery pack 200 having a different rated voltage; the adapter 110 can enable one of the batteries to have a higher voltage or/and a lower amount of power.
  • the battery pack 200 is another battery pack 200 having a lower voltage or/and a power; of course, the adapter 110, through its internal circuitry, causes the battery pack 200 having a lower voltage or/and power to have a higher voltage or / and charge the battery pack 200.
  • the battery pack 200 includes a battery cell and a housing.
  • the cells are housed in a housing for storing energy that can be repeatedly charged and discharged.
  • the housing is for accommodating the battery cells and other components in the battery pack 200, and the housing is formed with a joint through which the battery pack 200 can be coupled to one power tool 300.
  • the battery pack 200 further includes a plurality of electrode connection terminals for at least electrically connecting the battery cells to external circuits. For example, it is electrically connected to a charging circuit in a circuit or a charger for driving the motor in the power tool 300.
  • the battery pack 200 also includes other types of connection terminals, such as communication terminals for establishing communication with the outside, temperature signal terminals for identifying or transmitting temperature signals, which may also be multiplexed in some cases for transmitting other signals. .
  • the battery pack 200 can also include a circuit board, a controller, and some corresponding detectors.
  • the circuit board is mainly used to construct the circuit in the battery pack 200.
  • the controller mainly controls the battery pack 200.
  • the detector is mainly used to detect some electrical parameters and physical parameters of the battery pack 200, such as the current and voltage of the battery pack 200 or The temperature inside the battery pack 200, and the like.
  • the circuit board, the controller, and the detector constitute a circuit that allows the battery pack 200 to have over-discharge protection or overcharge protection to prevent over-discharge or over-charging, and to enable the battery pack 200 to be wired with other external devices. Or wireless communication.
  • the battery pack 200 can provide electrical power to the DC power tool 300.
  • the battery pack 200 is detachably connected to the DC power tool 300 for powering it.
  • the DC power tool 300 includes an electrical device.
  • the electric device can include a motor.
  • the DC power tool 300 can be a hand-held power tool 300, a garden power tool 300, etc., and the power tool 300 includes but is not limited to an electric drill, an electric wrench, an electric screwdriver, an electric hammer, an impact drill, an electric planer, a lawn mower, a lawn mower, etc. .
  • the portable power supply device 100 further includes a communication module 120, and the communication module 120 includes a wireless communication unit 121 for establishing a communication connection with an external device, and can transmit data information and receive to the remote server 20 or the mobile terminal device 21. Data information of the remote server 20 or the mobile terminal device 21.
  • the wireless communication unit 121 is used to wirelessly communicate the adapter 110 with other adapters 110 or other wireless communication devices.
  • the wireless communication unit 121 can be a wireless router as a local area network, which can directly access the Internet to enable other wireless communication devices in the local area network to access the Internet, and can also communicate with the wireless communication device. Accessing the wireless communication device of the Internet to enable other wireless communication devices in the local area network to access the Internet.
  • the wireless communication unit 121 can also implement data interaction only for each wireless communication device in the local area network.
  • the wireless communication device can adopt Bluetooth and WiFi. , NFC, ZigBee and other ways to achieve wireless communication.
  • the wireless communication unit 121 includes a Bluetooth module 1212 and a WIFI module 1211, and can perform wireless communication with the remote server 20 and the mobile terminal device 21 through Bluetooth and WIFI at the same time.
  • the wireless communication unit 121 also includes one of a Bluetooth module 1212 and a WIFI module 1211.
  • the portable power supply device 100 can upload the data information to the remote server 20 by means of the WIFI module 1211 in the communication module 120, or send the data information to the mobile terminal device 21 via the Bluetooth module 1212.
  • the terminal device 21 may upload the data information received by the portable power supply device 100 to the remote server 20 after being processed or not processed; the data information of the remote server 20 may be sent to the portable power device 100 by means of WIFI, or may be transmitted through the mobile terminal device.
  • 21 is sent to the portable power supply device 100 in a Bluetooth manner; the mobile terminal device 21 can remotely transmit the control command to the portable power supply device 100 in the WIFI manner through the remote server 20, or directly send the control command to the portable power source through the Bluetooth mode.
  • Device 100
  • the portable power supply device 100, the battery pack 200, and the power tool 300 powered by the battery pack 200 constitute a portable power system, and the portable power system further includes the mobile terminal device 21 and the remote server 20.
  • the mobile terminal device 21 can be an electronic device such as a mobile phone, a dedicated handheld device, or a tablet computer.
  • the portable power supply device 100 includes a communication module 120, a main control module 132, and an inverter module 131.
  • the portable power supply device 100 further includes a battery pack coordination main module 133 and at least one battery pack coordination sub-module 134.
  • the communication module 120 includes a wireless communication unit 121 for wirelessly communicating with an external device (eg, the remote server 20, the mobile terminal device 21, etc.) to receive information from the external device, such as upgrade instructions, upgrade files, and other data.
  • the wireless communication unit 121 includes a Bluetooth module 1212 and a WIFI module 1211, and a storage unit 122 for storing files from an external device, for example, an upgrade file, the upgrade file includes a portable power source.
  • the program of one or more modules in the device 100 performs an updated upgrade procedure, which enables the portable power supply device 100 to use the upgrade file stored in the storage unit 122 for the portable power supply device 100 in the case of disconnection.
  • One or more modules for program updates are examples of program updates.
  • the communication module 120 is configured to receive the upgrade file of the external device through the wireless communication unit 121 and store the upgrade file in the storage unit 122; the upgrade can be sent under a preset condition
  • the file is transferred to one or more modules in the portable power supply unit 100, such as the main control module 132 and/or the inverter module 131, to update the program, such as the main control module and/or the inverter module.
  • the storage unit 122 may also store other data information sent by the external device or data information uploaded by the portable power supply device 100 that needs to be uploaded to the external device (for example, the portable power supply device 100 and/or the battery pack 200 and/or Status data of the power tool 300, etc.).
  • the portable power supply device 100 further includes a distribution network unit 123 for selecting a communication mode (for example, WIFI mode or Bluetooth mode) to communicate with an external device.
  • the communication module 120 further includes a communication port for communicating with other modules (eg, the main control module 132 and the inverter module 131) inside the portable power supply device 100; and a verification module for verifying The received data information is correct.
  • the portable power supply device 100 also includes a data bus to which the main control module 132 and the inverter module 131 are connected.
  • the data bus is coupled to the communication module 120 via a communication port, and the master module 132 and the inverter module 131 are coupled to the communication module 120 via the data bus.
  • the communication module 120 is configured to receive an upgrade file of the external device through the wireless communication unit 121, and send the upgrade file to the main control module 132 and/or the inverter module 131 through the data bus;
  • the upgrade file includes an upgrade program for updating the program of the main control module 132 and/or an upgrade program for updating the program of the inverter module 131.
  • the upgrade file contains a unique identifier of the master module 132 and/or the inverter module 131.
  • the main control module 132 serves as a control module of the portable power supply device 100 for programmably controlling the operation of the portable power supply device 100 and managing the operation of the entire portable power supply device 100.
  • the main control module 132 can receive the external device command through the communication module 120 and execute the corresponding process in response to the instruction, and the main control module 132 can also control the portable power supply device 100 according to the situation in the portable power supply device 100.
  • the main control module 132 is electrically connected to the battery pack coordination main module 133, and the battery pack coordination main module 133 is used to coordinately manage the plurality of battery pack coordination sub-modules 134.
  • the battery pack coordination main module 133 is connected to the communication module 120 for uploading the collected data information to the communication module 120; the inverter module 131 includes an inverter for using the battery The DC power outputted by the packet 200 is converted into AC power; the inverter module 131 is electrically connected to the main control module 132, and at least partially accepts the management of the main control module 132 in the working mode, and in the upgrade mode, passes through the The data bus is connected to the communication module 120 in parallel with the main control module 132, and is managed by the communication module 120 to complete the program update.
  • the main control module 132 and the inverter module 131 have a unique identifier, and the main control module 132 and the inverter module 131 include a storage unit, and the storage unit stores the main control module 132 and the storage unit respectively.
  • the unique identifier of the inverter module 131 is not limited to one or more bits.
  • the main control module 132 and the inverter module 131 are connected to the communication module 120 through the data bus.
  • the battery pack coordination main module 133 and the plurality of battery pack coordination sub-modules 134 are connected by an I2C bus mode; the inverter module 131 is connected to the main control module 132 and the communication module 120.
  • the communication module 120 passes the data bus pair.
  • the software programs of the inverter module 131 and the main control module 132 are updated or upgraded.
  • the communication module 120 connects each module through a bus to upgrade the programs of the respective modules, and has the following advantages: high data transmission efficiency; good scalability of the bus system, which can increase or decrease the modules connected to the bus without affecting other modules. Program update process; simplified hardware design, easy to adopt modular structure design method; easy for fault diagnosis and maintenance, easy to find the faulty part.
  • a communication connection is established between the battery pack 200 and the battery pack coordination sub-module 134, and between the power tool 300 and the battery pack 200 by using serial communication.
  • the battery pack 200 has two physical interfaces, a battery pack first port 201 and a battery pack second port 202;
  • the power tool 300 has two physical interfaces, a tool second port 301 and a tool second port. 302; when the power tool 300 is connected to the battery pack 200, the battery pack first port 201 and the battery pack second port 202 are connected to the tool first port 301 and the tool second port 302, respectively.
  • the battery pack coordination sub-module 134 has a physical interface corresponding to the battery pack first port 201 and the battery pack second port 202 for establishing communication with the battery pack 200 for charging and discharging management or data transmission, when the battery pack 200 When connected to the battery pack 200 coordination sub-module, the battery pack first port 201 and the battery pack second port 202 are respectively connected to corresponding physical interfaces of the battery pack coordination sub-module 134.
  • the present disclosure provides a program updating method suitable for the above electronic device.
  • the portable power source device 100 will be described as an example. It should be noted that the following is merely illustrative of a portable power supply device as an electronic device, and does not constitute a limitation of the present disclosure.
  • a boot loader is applied to perform product program updates.
  • the boot loader (BOOTLOADER) is a microcontroller (Microcontroller Unit, hereinafter referred to as "MCU") that implements application changes to its own part of the flash memory to implement product firmware upgrade.
  • MCU Microcontroller Unit
  • program update can be performed by a boot loader.
  • firmware also known as firmware
  • firmware is a piece of software embedded in a hardware device. It is usually located in flash memory and can be updated by the user.
  • the first part of the program does not perform normal function operations, only receives external data and instructions by communication, and verifies the information of the second part of the program (whether complete, version information, etc.)
  • the second part of the program is updated, the first part of the program is the boot loader 401; the second part of the program is the corresponding product function code, that is, the application 402.
  • the main control module 132 and the inverter module 131 have a microcontroller, and the storage unit of the main control module 132 and the inverter module 131 stores a first partial program and a second partial program, the microcontroller It is configured to execute the first partial program to update the second partial program.
  • the portable power supply device 100 is not limited to only including the main control module 132 and the inverter module 131, and may also include other modules.
  • the other modules also include the first partial program and the second partial program, and the communication module 120 may also be used for other The module's program is updated or upgraded.
  • the flash memory 400 of the MCU allocates storage space to the boot loader 401 and the application 402 according to actual conditions. For example, the flash memory 400 allocates two storage spaces SA0 and SA1 to the boot loader 401, and allocates the SA2 storage area to the application 403.
  • the identity information 403 about the device can also be stored in the flash memory, and can be stored in the SA3 area. In some embodiments, the identity information includes a unique identifier for the device.
  • the boot loader 401 has a read/write program function, can read out data information stored in the flash memory 400, can also write data information into the memory, and can overwrite all applications stored in the flash memory 400, and then write new ones. program.
  • the boot loader 401 performs reading, writing, and/or erasing by invoking commands of some predetermined functions. For example, the read command "R” can be read out of the data information in the flash memory 400, and any one of the memory segments or all of the memory segments that can be erased by the erase command "E" is called.
  • the write command "W” is called to write data to any memory segment or all memory segments.
  • the boot loader 401 stores an executable program in the flash memory 400 of the MCU, a function capable of reading data in the flash memory 400 or writing data into the flash memory.
  • the original application can be replaced with the new application by writing the new application 402 to the application area by the boot loader 401.
  • the boot loader 401 and the application are both stored in the flash memory 4000 of the MCU, if the address of the program called by the MCU is incorrect, the MCU may execute the boot loader 401 erroneously.
  • an upgrade key which is used to open the program update to avoid the call program error, causing the electronic device software system to be disordered, affecting the normal operation of the electronic device, or even damage. Electronic devices or cause a safety accident.
  • the battery pack 200, the electric power tool 300, the portable power source device 100, the electronic device such as the battery pack charging device, and the like can be updated and upgraded by applying the boot loader.
  • a method of updating the power tool 300, the battery pack 200, and the portable power source device 100 by the boot loader 401 will be described using the portable power system as an example.
  • Embodiment 1 Program update through a data bus.
  • the upper computer connects the MCUs of the plurality of modules through the bus, and the upper computer functions as an upgrade scheduling module to selectively update the program of any one or more modules mounted on the data bus by using a bus scheduling manner.
  • each module is referred to as a node 502.
  • the first node is called node 1
  • the second node is called node 2
  • the Nth node is called node N.
  • the portable power source device 100 will be described as an example.
  • the upgrade scheduling module is the communication module 120
  • the node may be any module connected to the communication module 120 through a data bus, such as the inverter module 131 and the main control module 132.
  • the portable power supply device 100 will be taken as an example to specifically describe a process in which the communication module 120 performs program update on the main control module 132 and/or the inverter module 131.
  • the communication module 120 updates the program of the main control module 132.
  • the communication module 120 is configured to receive the upgrade file of the external device through the wireless communication unit 121 and store the upgrade file in the storage unit 122;
  • the upgrade file is updated to the control module to update the program of the control module.
  • the control module is the main control module 132.
  • a program update method suitable for the above electronic device comprising:
  • the communication module 120 receives an upgrade file from the external device through the wireless communication unit 121 and stores the upgrade file in the storage unit;
  • the communication module 120 sends the upgrade file to the main control module 132 when the preset condition is met; the main control module 132 updates its own program according to the upgrade file.
  • the electronic device is a portable power supply device 100.
  • the preset condition includes the communication module 120 receiving an upgrade request from the main control module 132.
  • the upgrade file includes a program end identifier, and the main control module 132 sends the upgrade request to the communication module 120 when the program end identifier is not received.
  • the program end identifier is located at the end of the upgrade program in the upgrade file. If the main control module 132 receives the program end identifier, it indicates that the upgrade program in the received upgrade file is complete, and the main control module 132 can use the The upgrade file performs its own program update. Conversely, if the main control module 132 does not receive the program end identifier, it indicates that the upgrade program in the received upgrade file is incomplete.
  • the The software system is disordered, affecting the normal operation of the electronic device, or even damaging the electronic device or causing a safety accident. Since the electronic device in the present disclosure is in the field of battery packs and power tools, it requires high safety and reliability of the device, and therefore, in order to prevent the received incomplete upgrade files and upgrade programs from affecting the electronic device, The present disclosure sets a preset condition, and when the main control module 132 does not receive the program end identifier in the upgrade file, sends the upgrade request to the communication module 120, and the communication module 120 is stored in the storage unit 122. The upgrade file is sent to the main control module 132, so that the main control module 132 can update its own program by using the re-acquired upgrade file. In this way, the electronic device can be normally operated under the correct updated program, and the electronic device operation and the program update process are more secure and reliable.
  • the preset condition may further be that the communication module 120 receives an upgrade request from an external device.
  • the remote server 20 or the mobile terminal device 21 transmits an upgrade request to the communication module 120 of the portable power supply device 100 to update the program of at least one of the portable power sources 100.
  • the present disclosure also provides a program update method applicable to the above electronic device, including:
  • the communication module 120 receives an upgrade file from the external device through the wireless communication unit 121 and stores the upgrade file in the storage unit;
  • the communication module 120 sends the upgrade file to the main control module 132 when the preset condition is met; the main control module 132 updates its own program according to the upgrade file.
  • the electronic device is a portable power supply device 100.
  • the communication module 120 when the communication module 120 receives an upgrade request from the main control module 132, the communication module 120 sends the upgrade file to the main control module 132.
  • the upgrade file includes a program end identifier
  • the main control module 132 sends the upgrade request to the communication module 120 when the program end identifier is not received.
  • the program end identifier is located at the end of the upgrade program in the upgrade file. If the main control module 132 receives the program end identifier, it indicates that the upgrade program in the received upgrade file is complete, and the main control module 132 can use the The upgrade file performs its own program update. Conversely, if the main control module 132 does not receive the program end identifier, it indicates that the upgrade program in the received upgrade file is incomplete. If the upgrade file is used for program update, the The software system is disordered, affecting the normal operation of the electronic device, or even damaging the electronic device or causing a safety accident.
  • the present disclosure sets a preset condition, and when the main control module 132 does not receive the program end identifier in the upgrade file, sends the upgrade request to the communication module 120, and the communication module 120 is stored in the storage unit 122.
  • the upgrade file is sent to the main control module 132, so that the main control module 132 can update its own program by using the re-acquired upgrade file. In this way, the electronic device can be normally operated under the correct updated program, and the electronic device operation and the program update process are more secure and reliable. .
  • the communication module 120 when the communication module 120 receives an upgrade request from an external device, the communication module 120 sends the upgrade file to the main control module 132.
  • the communication module 120 sends the upgrade file to the main control module 132 over the data bus.
  • the communication module 120 can also send the upgrade file to the main control module 132 through the normal data line.
  • the communication module 120 updates the program of the main control module 132, and the specific process is as follows:
  • the communication module 120 sends the upgrade command to the main control module 132;
  • the communication module 120 has received an upgrade file from the external device through the wireless communication unit 121 and stores the upgrade file in the storage unit 122.
  • the communication module 120 simultaneously receives an upgrade request and an upgrade file from the external device through the wireless communication unit 121, and sends an upgrade instruction to the main control module 132 in response to the upgrade request.
  • the main control module 132 does not receive the program end identifier, that is, when the upgrade file in the upgrade file received by the main control module 132 is incomplete, the upgrade is actively sent to the communication module 120.
  • the communication module 120 sends an upgrade instruction to the main control module 132 in response to the upgrade request.
  • the main control module 132 sends an upgrade response to the communication module 120;
  • the main control module 132 After receiving the upgrade command, the main control module 132 stops the original work and determines whether it is its own upgrade command. If yes, if it is, it enters the upgrade mode, and if not, continues to maintain the monitor state.
  • the communication module 120 sends the upgrade file to the main control module 132 or the inverter module 131 through the data bus, and the inverter module 131 performs the same work. That is, the inverter module 132 receives the upgrade command from the data bus, stops the original operation, and determines whether it is its own upgrade command. If yes, if it is, it enters the upgrade mode, and if not, continues to maintain the monitor state. In this embodiment, the program is updated to the main control module 132. Therefore, the main control module 132 determines that it is an upgrade command for itself, and enters the upgrade mode, and the inverter module 131 continues to maintain the listening state.
  • the listening state here can be understood as the standby state, which means that the node stops the current work and monitors whether there is an instruction on itself on the bus in real time.
  • the upgrade instruction includes identity information of the node, and the identity information of the node is a unique identifier that each node has different from other nodes.
  • the main control module 132 and the inversion module 131 determine whether the upgrade instruction is an upgrade instruction for itself by determining whether the unique identifier included in the upgrade instruction matches its own unique identifier. After the node determines that it is an upgrade command for itself, the upgrade response (including the unique identifier) is sent to the upgrade communication module 120 via the data bus.
  • the main control module 132 since it is a program update to the main control module 132, the main control module 132 determines that it is an upgrade instruction to itself, and then sends an upgrade response to the upgrade communication module 120 through the data bus.
  • the upgrade response includes the unique identifier of the master module 132.
  • the communication module 120 sends an upgrade key to the main control module 132 after receiving the upgrade response.
  • the communication module 120 sends an upgrade key to the main control module 132 or the inverter module 131 that matches the unique identifier according to the unique identifier included in the upgrade response, and matches the unique identifier.
  • the main control module 132 or the inverter module 131 feeds back the upgrade and enters the program update process.
  • the communication module 120 since it is a program update to the main control module 132, the communication module 120 transmits an upgrade key to the main control module 132 according to the unique identifier included in the upgrade response.
  • the boot loader 401 and the application are both stored in the flash memory 4000 of the MCU, if the address of the program called by the MCU is incorrect, the MCU may erroneously execute the boot loader 401.
  • the upgrade key is introduced to open the program update to avoid the error of the calling program, causing the electronic device software system to be disordered, affecting the normal operation of the electronic device, or even damaging the electronic device or causing a security accident.
  • the main control module 132 replies and confirms the upgrade to the communication module 120.
  • the communication module 120 sends the first upgrade data packet to the main control module 132.
  • the communication module 120 After receiving the confirmation upgrade information, the communication module 120 sends the upgrade file to the main control module 132 or the inverter module 131 corresponding to the upgrade response. In this embodiment, since it is a program update to the main control module 132, the communication module 120 transmits the upgrade file to the main control module 132 according to the unique identifier included in the upgrade response.
  • the communication module 120 divides the upgrade file into a plurality of upgrade data packets and numbers them, and then sends the upgrade data packets in the numbered order according to the upgrade data package to the main control module 132.
  • the communication module 120 first sends the first upgrade data packet to the main control module 132. After receiving the upgrade data packet, the main control module 132 confirms whether the received upgrade data packet is correct, and if correct, returns the correct information to the communication module 120. Specifically, it can be confirmed by the check digit whether the upgrade data packet is correct.
  • the communication module 120 sends a second upgrade data packet to the main control module 132.
  • the communication module 120 sends the second upgrade data packet to the main control module 132 according to the above method.
  • the main control module 132 After receiving the upgrade data packet, the main control module 132 confirms whether the received upgrade data packet is correct, and if correct, returns the correct information to the communication module 120.
  • the main control module 132 After receiving the upgrade file divided into a plurality of upgrade data packages, the main control module 132 updates its own program according to the upgrade file.
  • the main control module 132 sends an upgrade end feedback to the communication module 120.
  • the main control module 132 sends an upgrade end feedback to the communication module 120 after completing the update of the program according to the upgrade file, and the main control module 132 returns to the normal working state. If the communication module does not receive the upgrade end feedback, it indicates that the main control module has not completed the upgrade or the upgrade is unsuccessful. When the communication module 120 does not receive the upgrade control feedback of the main control module 132, the communication module 120 sends an upgrade command to the The main control module 132, in this way, the main control module 132 that has not completed the upgrade can update its own program by using the re-acquired upgrade file. In this way, the electronic device can be normally operated under the correctly updated program, and the electronic device operation and the program update process are more secure and reliable.
  • the above embodiment is only a process in which the communication module 120 updates the program of the main control module 132 through the data bus.
  • the program update process of the communication module 120 to the inverter module 131 and other modules through the data bus is similar to the above process. I will not repeat them here.
  • the above embodiment is only a program update process performed by the main control module 132.
  • the communication module 120 performs program updates on a plurality of or all of the nodes mounted on the data bus in a predetermined order.
  • the communication module 120 updates the programs of the main control module 132 and the inverter module, and the specific process is as follows:
  • the communication module 120 receives an upgrade file from an external device through the wireless communication unit 121 and stores the upgrade file in the storage unit 122;
  • the communication module 120 sends an upgrade instruction to the data bus when the preset condition is met;
  • the main control module 132 and the inverter module 131 After receiving the upgrade instruction from the data bus, the main control module 132 and the inverter module 131 stop working and enter a listening state;
  • the main control module 132 and the inversion module 131 determine whether the upgrade instruction is an upgrade instruction corresponding to itself, and if yes, enter an upgrade mode, and if not, continue to maintain the listening state;
  • One of the main control module 132 and the inverter module 131 determines to send an upgrade response to the data bus after upgrading the command;
  • the communication module 120 After receiving the upgrade response from the data bus, the communication module 120 sends the upgrade file to the main control module 132 or the inverter module 131 corresponding to the upgrade response by using the data bus;
  • the main control module 132 or the inverter module 131 updates its own program according to the upgrade file after receiving the upgrade file.
  • the preset conditions are as described above, and are not described herein again.
  • the communication module 120 when the communication module 120 receives an upgrade request from the main control module 132 or the inverter module 131, the communication module sends an upgrade instruction to the data bus.
  • the upgrade file includes a program end identifier, and the main control module 132 or the inverter module 131 sends the upgrade request to the communication module 120 when the program end identifier is not received. If the main control module 132 receives the program end identifier, it indicates that the upgrade program in the received upgrade file is complete, and the main control module 132 can use the upgrade file to perform its own program update.
  • variable module 131 does not receive the program end identifier, it indicates that the upgrade program in the received upgrade file is incomplete. If the upgrade file is used to update the program, the software system may be disordered, affecting the normal operation of the electronic device, or even being damaged. Electronic devices or cause a safety accident.
  • the present disclosure sets a preset condition, and sends the upgrade request to the communication module 120 when the main control module 132 or the inverter module 131 does not receive the program end identifier in the upgrade file, and the communication module 120 is stored in the
  • the upgrade file in the storage unit 122 is sent to the main control module 132 or the inverter module 131, so that the main control module 132 or the inverter module 131 can update the self program by using the re-acquired upgrade file. In this way, the electronic device can be normally operated under the correct updated program, and the program runs safely and reliably.
  • the communication module 120 When the communication module 120 receives an upgrade request from an external device, the communication module sends an upgrade instruction to the data bus.
  • the master module 132 and the inverter module 131 have unique identifiers, and the upgrade response includes the unique identifier.
  • the program update method further includes: after receiving the upgrade response, the communication module 120 sends an upgrade key to match the unique identifier according to the unique identifier included in the upgrade response.
  • the main control module 132 or the inverter module 131, the main control module 132 or the inverter module 131 matching the unique identifier enters the program update process after receiving the upgrade key. .
  • the communication module 120 sends the upgrade file to the main control module 132 and the inverter module 131 in a preset order.
  • the program update method further includes: after completing the self-program update, the main control module 132 or the inverter module 131 sends an upgrade end feedback to the communication module 120; the communication module 120 does not receive the main control When the upgrade of the module 132 and the inverter module 131 is ended, the communication module 120 sends an upgrade command to the data bus for forced upgrade.
  • the upgrade end feedback is sent to the communication device 120 after the upgrade of each module is completed.
  • the communication module 120 resends the upgrade command to the corresponding module. Active upgrade to avoid the electronic device system disorder caused by incomplete upgrade, affect the normal operation of the electronic device, or even damage the electronic device or cause a safety accident.
  • the upgrade end feedback is set.
  • the communication module 120 does not receive the upgrade end feedback of the main control module 132 and the inverter module 131, the communication module 120 sends an upgrade instruction to the data bus, so that the module that has not completed the upgrade can be utilized.
  • the re-received upgrade file updates its own program. In this way, the electronic device can be normally operated under the program that is correctly and completely updated, and the program operation is more secure and reliable.
  • FIG. 6 and FIG. 7 are processes in which the communication module 120 and each node operate in an upgrade mode.
  • the working process of the communication module 120 in the upgrade mode is as follows:
  • S61 save an upgrade file from an external device (for example, the remote server 20, the mobile terminal device 21);
  • the upgrade file includes a program end identifier
  • the node for example, (the main control module 132 or the inverter module 131) determines whether the program end identifier is received, and if not, actively sends an upgrade request to the node.
  • the communication module 120 is configured to actively request an update procedure. In this way, it is ensured that the received upgrade file is completely executable and safe and reliable, so that the electronic device can run safely and reliably after the program update ends, without causing the software system to be disordered after the program update due to the incomplete program. , affecting normal work and even bringing security incidents.
  • the node After receiving the upgrade end instruction, it may be verified whether there is an upgrade end identifier in the upgrade program received by the node, and if not, it indicates that the upgrade program received this time is abnormal (incomplete), then the node The node enters the forced upgrade mode, and the node sends an upgrade request to the communication module 120 (the preset condition is met), and the communication module 120 resends the upgrade instruction of the node, and re-upgrades the node.
  • the communication module 120 initiates an upgrade instruction to perform an upgrade process of the corresponding node, and in other embodiments, the node may perform a forced upgrade. In this mode, the node actively initiates an upgrade request (including node identity information). The communication module 120 enters the passive upgrade mode and upgrades the corresponding node.
  • the communication module 120 may cause an abnormality in the upgrade file received by the communication module 120 due to an abnormality (power failure or network disconnection), and the program update process may not be performed. Work properly.
  • the storage unit 122 of the communication module 120 of the present disclosure can retain the latest correct upgrade program and upgrade file, so that the upgrade file and the upgrade program can be called to complete the node upgrade when the program update is needed. In this embodiment, the communication is performed.
  • the storage unit 122 of the module 120 is used to store the latest correct upgrade program or upgrade file.
  • the upgrade process connected to each node of the communication module 120 is a closely coordinated node upgrade system. Since the electronic device of the present disclosure is applicable to the field of power tools and the field of battery packs, the safety and reliability of the electronic device are required to be high. Therefore, each node connected through the bus needs to enter the upgrade mode or the monitor state simultaneously, and exit the upgrade mode. In order to avoid the electronic device in the working mode, suddenly enter the upgrade mode-update program and may cause a security accident. For example, when the portable power supply device 100 outputs power to an external device (for example, a grill), the upgrade is suddenly started in a normal working state to cause the program to be updated, which may cause the output power or the working mode of the portable power source to suddenly change and cause an external device.
  • an external device for example, a grill
  • each node in the upgrade mode is as follows.
  • the node is a module connected to the communication module 120 by a bus.
  • the node may be connected to the communication module 120.
  • Each node receives an upgrade instruction of the communication module 120 from the data bus;
  • Each node determines whether it is an upgrade instruction to the local node, if yes, the process goes to step S74 to enter the upgrade mode, and if not, the process goes to step S72 to continue to maintain the listening state;
  • S75 Receive an upgrade key from the communication module 120, and confirm the upgrade
  • S76 Receive an upgrade data packet from the communication module 120 and verify whether the upgrade data packet is correct.
  • each node After receiving the upgrade end command, each node needs to check the received upgrade file. If the received program is found to be abnormal (for example, the program is incomplete), the node will actively send an upgrade request to the communication module 120 for active. After the upgrade, the communication module 120 resends the upgrade file to the node after receiving the upgrade request (the preset condition is met). After receiving the correct upgrade file that is split into multiple upgrade data packages, the main control module 132 updates its own program according to the upgrade file. After completing the self-program update, each node sends an upgrade end feedback to the communication module 120. When the communication module 120 does not receive the upgrade end feedback of the node, the communication module 120 sends an upgrade instruction to the data bus to re-program the program for the node whose program update is unsuccessful.
  • the communication module 120 After receiving the upgrade end command, each node needs to check the received upgrade file. If the received program is found to be abnormal (for example, the program is incomplete), the node will actively send an upgrade request to the communication module 120 for active. After
  • step S78 determining whether it is a full node upgrade end command, if yes, then go to step S79, if not, then go to the next node, then go to step S73;
  • the data communication format transmitted to the bus includes a unique identifier of the target node, for example, an address or an SN sequence number, which is a unique identifier different from other nodes.
  • the upgrade process or program update process is made more secure by matching the unique identifier of the upgrade or program update object.
  • the communication module 120 takes the main control module 132 and the inverter module 131 of the portable power supply device 100 as an example, and describes a method in which the communication module 120 sequentially updates each node through the data bus.
  • the upgrade file containing the upgrade program is stored in the remote server 20, and the remote server 20 can directly send the upgrade file to the communication module 120 by means of WIFI, or send or copy the upgrade file to the mobile terminal device 21 (ipad, mobile phone, etc.).
  • the upgrade file is then transmitted to the communication module 120 via the mobile terminal device 21 via Bluetooth.
  • the process in which the remote server 20 directly sends the upgrade file to the communication module 120 for program update by means of WIFI is as follows: when it is required to update the program of the portable power supply device 100, the remote server 20 sends the upgrade prompt information to the user mobile APP. The user selects the upgrade, and after receiving the user upgrade command, the remote server 20 sends the upgrade file to the communication module 120 through the WIFI mode, and the communication module 120 acts as a master module 132 and is mounted on the data bus in a scheduling manner through the data bus.
  • the inverter module 131 performs program update.
  • the communication module 120 sends an upgrade instruction to the main control module 132 and the inverter module 131 to the data bus.
  • Each module detects that there is an upgrade instruction on the bus, stops all current operations, and detects whether the upgrade instruction is an upgrade instruction to the node. If not, then continue to monitor, and if so, enter upgrade mode.
  • the communication module 120 upgrades the main control module 132 and the inverter module 131 in a preset order, and the method of upgrading or updating the program is as described above, and details are not described herein again.
  • the program update open condition has three ways: First, the communication module 120 upgrades the module that needs to be upgraded after receiving the upgrade file and the upgrade request of the remote server; second, the communication module 120 is After receiving the upgrade request of each module (the preset condition is met), the module that needs to be upgraded is upgraded, and the method is that the module actively requests the program update; and third, the communication module 120 starts the program after confirming by the user on the mobile terminal device. Update process.
  • the data bus is an RS485 bus
  • the communication module 120 is connected to the main control module 132 and the inverter module 131 as an upper computer through an RS485 bus.
  • the specific wiring manner is as follows: in the normal working mode, the receiving pin RXD and the transmitting pin TXD of the serial port of the main control module 132 are all enabled, and the serial port of the inverter module 131 is in the listening state, that is, the receiving pin.
  • the TXD pin is in the normal I/O input state; in the upgrade mode, after receiving the corresponding node upgrade command of the bus, the corresponding node enters the enable state, that is, the receiving pin RXD and the sending of the corresponding node's serial port.
  • the pin TXD is in the enabled state, while the other module is in the listening state, and resumes the normal working state after the upgrade is completed.
  • the communication module 120 performs program update on the main control module 132 and the inverter module 131 through the RS485 bus in a preset order, and more specifically performs firmware upgrade.
  • the communication module 120 sends the upgrade file to the main control module 132 and the inverter module 131 in a preset order to update the main control module 132 and the inverter module 131.
  • the specific process of the communication module 120 updating the programs of the main control module 132 and the inverter module 131 in the order of the re-inversion module 131 of the pre-master module 132 is as follows:
  • S91 The main control module 132 and the inverter module 131 are in a normal working mode.
  • the serial port of the main control module 132 is in the transceiving enable state, that is, the receiving pin RXD and the transmitting pin TXD of the serial port of the main control module 132 are all enabled; the serial port of the inverter module 131 is in the listening state, that is, the inverter module 131 The receiving pin RXD is enabled, and the transmitting pin TXD is in the normal I/O input state;
  • the communication module 120 checks whether an upgrade command is received, and if yes, proceeds to S93, and if not, proceeds to step S91.
  • the communication module 120 sends the upgrade instruction in a preset order.
  • the communication module 120 first sends the upgrade command of the main control module 132 to upgrade the main control module 132 first;
  • the main control module 132 enters the upgrade mode, the serial port of the main control module 132 is in the transceiver enable state, and the inverter module 131 is in the monitoring state.
  • the main control module 132 and the inverter module 131 first determine whether it is an upgrade instruction for itself, and if so, enter an upgrade mode, and if not, enter the monitoring mode. status. In this embodiment, since the main control module 132 is upgraded first, the main control module 132 first enters the upgrade mode.
  • the communication module 120 sends an upgrade instruction of the inverter module 131 to upgrade the inverter module 131.
  • the inverter module 131 enters the upgrade mode, and the main control module 132 enters the monitoring state, and the serial port of the inverter module 131 is in the transmitting and receiving state.
  • the communication module 120 sends all the node upgrade completion instructions, and the upgrade is completed, and the system returns to the normal working state.
  • the communication module 120 sends an upgrade file to upgrade the main control module 132. After the upgrade of the main control module 132, the communication module 120 sends a node upgrade end instruction thereto, and the main control module 132 sends an upgrade end feedback and updates according to the received upgrade file. The self program then sends an upgrade end feedback to the communication module 120. Then, the communication module 120 performs program upgrade on the inverter module 131 of the next node in the same manner. After the upgrade of the inverter module 131 is completed, the communication module 120 sends a node upgrade end instruction to the inverter module, and the inverter module is completed according to the upgrade file. After the update of the self program, the upgrade end feedback is sent, and the communication module 120 broadcasts all the upgrade end instructions to the data bus.
  • each node After each node detects all the upgrade end instructions on the bus, the normal operation is resumed, and the upgrade is completed.
  • each node executes a first part of the program (ie, the boot loader) to update the second part of the program (ie, the application) using the new program (included in the upgrade package described above) in the received upgrade file.
  • the electronic device includes: at least one adapter interface disposed on a surface of the housing of the electronic device for detachably mounting the one or more battery packs to at least An adapter interface, wherein the battery pack is for a hand-held power tool or a garden tool; the control module is programmable to control an operation process of the electronic device; wherein the electronic device further includes a communication module and a data line, and the communication module includes a wireless communication unit And a storage unit, configured to store an upgrade file of the external device, the communication module configured to receive the upgrade file of the external device through the wireless communication unit, and send the upgrade file to the control module through the data line; the data line connection control module and the communication The module is configured to transmit data between the control module and the wireless communication unit; the communication module sends the upgrade file to the control module when the preset condition is met.
  • the communication module includes a storage unit configured to store at least an upgrade file from the external device.
  • the wireless communication unit includes a WIFI module and/or a Bluetooth module.
  • control module includes a main control module and an inverter module.
  • the main control module and the inverter module have a unique identifier
  • the upgrade file includes a unique identifier of the main control module and/or the inverter module.
  • a program updating method suitable for the above electronic device comprising: the communication module receives an upgrade request and an upgrade file from an external device through a wireless communication unit and saves the upgrade file in a storage unit; and under the preset condition of the group, the communication The module sends an upgrade instruction to the control module through the data line; the control module sends the upgrade response to the communication module through the data line after receiving the upgrade instruction through the data line; after receiving the upgrade response, the communication module sends the upgrade file to the control module through the data line; The module updates its own program based on the upgrade file.
  • the upgrade file includes a program end identifier
  • the control module determines whether the program end identifier is received. If not, the upgrade request is actively sent to the communication module to actively request the update program.
  • control module includes a main control module and an inverter module
  • communication module updates the programs of the main control module and the inverter module according to a preset sequence.
  • the electronic device updating program of the present disclosure does not need to be disassembled and installed, reduces manpower and material resources, is convenient and fast, and is safe and reliable in operation.
  • Embodiment 2 Program update is performed by using the upgrading apparatus 500.
  • the communication mode between the existing power tool 300 and the battery pack 200 is single-line communication, and has a corresponding communication protocol for discharging management of the battery pack 200.
  • the power tool 300 can be program-updated in accordance with the method of the above-described update procedure, and the wireless communication unit 121 is mounted on the communication line to transmit the program information through a predetermined communication protocol, thereby realizing the update and upgrade of the battery pack 200 or the tool program.
  • an upgrade device 500 for connecting the power tool 300 or the battery pack 200 to the power tool 300 or the battery pack 200 can be designed.
  • the upgrading apparatus 500 previously stores an upgrade file of the power tool 300 or the battery pack 200, and has a communication port that communicates with the power tool 300 or the communication port of the battery pack 200.
  • the upgrade device 500 is connected to the power tool 300 or the battery pack 200, a communication connection is established through the respective communication ports, and the upgrade file in the upgrade device 500 is transmitted to the power tool or the battery pack 200 according to a predetermined communication protocol.
  • the power tool 300 can be any type of power tool including, but not limited to, electric drills, electric hammers, screwdrivers, impact drills, electric circular saw jigsaws, reciprocating saws, band saws, electric scissors, sanders, angle grinders, lamps, lasers. , nail guns, etc.
  • the power tool 300 has a microcontroller 303 (hereinafter referred to as "MCU").
  • the MCU 303 includes a flash memory 306.
  • the flash 306 stores a tool application 308, a tool boot loader 307, and identity information 309 of the power tool 300.
  • the flash memory 306 can have a plurality of storage areas including an area for storing the application 308, an area for storing the boot loader 307, and an area for storing the identity information 309 of the power tool 300. The above storage area can be read out or erased or rewritten.
  • the application 308 operates in an operational mode for controlling the operation of the power tool 300, such as controlling the rotational speed of the motor, controlling the motor to start in a set manner, and the like.
  • the boot loader 306 runs in an upgrade mode for updating at least a portion of the application.
  • a device is required to import the new application into the flash memory of the power tool 300 to update and/or upgrade the application 308 in the flash memory 306.
  • the device is a dedicated device for upgrading the power tool 300 program, hereinafter referred to as an upgrade device 500.
  • the upgrading apparatus 500 includes an MCU 501 including a storage unit 502 for storing data or programs, a data reading unit 503 for reading data, and for verifying whether the power tool 300 is A verification unit 504 that matches information such as the upgrade device 500.
  • the upgrade apparatus 500 also includes a display module 505 for human-machine interface display, and the display module 505 can display the remaining time or progress of the upgrade.
  • the upgrade device 500 also has an interface unit 508 for connecting to an external storage device 509.
  • the external storage device 509 may be a removable memory card, a memory chip or a memory, such as a TF card, a USB flash drive, or the like, or may be another device that can be connected to the upgrade device 500 by wire or wirelessly, such as a PC or the like.
  • the external storage device 509 stores the latest application for updating one or more of the power tools 300, which may partially or completely cover the old applications in the power tool 300.
  • the upgrading apparatus 500 obtains the latest application for the one or more power tools 300 stored by the external storage device 509 through the interface unit 508 and stores it in the storage unit 502 to upgrade the software programs of the different power tools 300.
  • the upgrade device 500 has a communication interface for connection to the power tool 300.
  • the communication interface is used by the microcontroller of the power tool 300 to establish communication with the upgrade device 500 to complete the program update of the power tool 300.
  • the MCU 303 of the power tool 300 can transmit information to the external device through the communication interface, for example, the power tool MCU 303 transmits the identity information of the power tool 300, etc. to the upgrading apparatus 500 through the communication interface.
  • the MCU 303 of the power tool can also receive the signal of the upgrade device 500 through the communication interface, and perform a response process based on the signal, for example, the MCU 303 receives the signal of the upgrade device 500, and decides whether to enter the work mode or the upgrade mode.
  • the communication interface can be a dedicated signal port (eg, a data port) or a multiplexed shared terminal (eg, a temperature signal port).
  • the communication interface can be a single port or a multi-port. To simplify the program, two ports can be used for communication.
  • the power tool 300 has two physical interfaces - a tool first port 301 and a tool second port 302.
  • the upgrading device 500 has an upgraded first port 506 and an upgraded second port 507 corresponding thereto, respectively for
  • the tool first port 301 of the power tool 300 is coupled to the tool second port 302.
  • the tool first port 301 is used to establish communication between the power tool 300 and the battery pack 200
  • the tool second port 302 is used to transport the battery pack 200. Temperature signal or identify battery pack 200 properties.
  • the tool first port 301 is used to identify the upgrade device 500, which maintains the original communication function, the communication protocol, and the communication content.
  • the tool second port 302 is multiplexed, which is used to establish communication between the power tool 300 and the upgrading apparatus 500, and receive and transmit data information during the upgrade process.
  • the power tool 300 identifies whether the external device inserted into the power tool 300 is the battery pack 200 or the upgrade device 500 by identifying whether the voltage of the tool first port 301 is a high voltage or a low voltage, such as when external When the device is inserted into the power tool 300, the voltage of the tool first port 301 is pulled low, and the power tool 300 recognizes that the external device is the upgrading device 500.
  • the power tool 300 After the power tool 300 recognizes that the external device is the upgrade device 500, it enters the upgrade mode.
  • the power tool MCU 303 executes a boot loader 307 to perform a program update process. Since the upgrade device 500 stores one or more latest programs for program update of different power tools 300, when the program is updated for the specific power tool 300, it is necessary to select the corresponding latest program. To this end, the identity information 309 representing the power tool 300 and/or the upgrade device 500 may be stored in the flash memory 306 of the MCU 303 of the power tool 300 in advance, and the representative power tool 300 and/or the storage device in the storage unit of the upgrade device 500 may also be stored.
  • the identity information of the device 500 is upgraded so that the power tool 300 and the upgrade device 500 can be properly matched before the old application 308 of the power tool 300 is rewritten to prevent an update program error, resulting in the power tool 300 not operating properly after the program update.
  • the upgrading apparatus 500 has a verification unit 501 each having a verification unit 305.
  • the verification unit 504 of the upgrade apparatus 500 is configured to verify the identity information of the power tool 300, and the verification unit of the power tool 300 is used to verify whether the data in the data transmission is correct, whether the program is complete, or the like. The identity information of the upgrade device 500 is verified.
  • the boot loader 307 needs to write a new program in the upgrade device 500 into the storage area of the application 308 of the power tool 300.
  • the data packets of the new application may be large, and cannot be transferred in one time.
  • the data packet of the new application can be split into multiple small data packets, which is convenient for multiple transmissions.
  • the packet sequence may be disordered, resulting in incorrect new programs being written.
  • the data packets may be numbered, and at the time of data transmission, the number is verified to ensure that the data packets are sequentially written to the corresponding areas of the flash memory 306 of the power tool 300 in order.
  • the power tool 300 and the upgrading apparatus 500 transmit the data information involved in the upgrade process by upgrading the second port 507 and the tool second port 302, including an upgrade instruction, an upgrade end instruction, a feedback reply, an upgrade data packet, and the like.
  • the power tool 300 executes the application 308 in the flash memory 306, and the boot loader 307 is also stored in the flash memory 306. If the address of the program called by the MCU 303 is incorrect, the MCU 303 may be executed incorrectly.
  • the boot loader 307 such that the working power tool 300 is not working properly, may even pose a security risk. To solve this problem, it can be solved by introducing an upgrade key, which is used to instruct the application to upgrade.
  • an upgrade key is sent to the MCU 303 of the power tool 300.
  • the MCU 303 confirms that it is an upgrade command of the application, and then executes the boot loader 306.
  • the software program of the power tool 300 is updated.
  • the MCU 303 of the power tool 300 will only start executing the boot loader 307 after receiving the upgrade key sent by the upgrade apparatus 500, otherwise the boot loader 307 will not be executed. In this way, it can be ensured that the boot loader 307 is executed only when a finer program is required, and is not executed in the power tool 300 operating mode to ensure the safety of the power tool 300.
  • the upgrading apparatus 500 needs to acquire the latest program stored by the external storage device through the interface unit 508 and store it in its own storage unit 502. Then, the user connects the upgrade device 500 to the electric worker 300 that needs to be upgraded, the tool first port 301 and the upgrade first port 506 establish a connection, and the tool second port 302 and the upgrade second port 507 establish a connection.
  • the tool first port 301 voltage is pulled low
  • the power tool 300 detects that the tool first port 301 is at a low voltage
  • the power tool 300 enters the upgrade mode.
  • the upgrade device 500 and the power tool 300 exchange information through the tool second port 302 and the upgrade second port 507.
  • the upgrade device 500 can be connected thereto to perform the power tool 300. Program update.
  • the power tool 300 detects that the tool first port 301 is a low voltage signal and enters an upgrade mode.
  • the power tool 300 returns its identity information to the upgrading apparatus 500, ready to be upgraded;
  • the upgrade device 500 verifies the identity information of the power tool 300, determines whether to upgrade, and if it can be upgraded, sends an upgrade key to the power tool 300;
  • the upgrading apparatus 500 compares the received identity information 309 of the power tool 300 with the identity information of one or more power tools 300 stored in advance in the storage unit 502, and confirms whether or not the received storage unit 502 stores the received information.
  • the identity information 309 if any, determines that the upgrade device 500 can upgrade the power tool 300, and if not, determines that the upgrade is not possible.
  • the power tool 300 obtains the upgrade key, confirms the upgrade, and replies to the upgrade to the upgrade device 500;
  • S118 The power tool 300 receives the last data packet and returns the correct one
  • the upgrading apparatus 500 sends an upgrade end flag to the power tool 300;
  • an abnormal situation for example, power failure
  • the program 308 is an incomplete program.
  • the power tool 300 may not work properly or even malfunction, posing a security risk.
  • the upgrade program is rewritten, and the power tool 300 enters the forced upgrade mode.
  • the power tool 300 In the forced upgrade mode, once the upgrade device 500 is connected to the power tool 300, the power tool 300 no longer determines whether to enter the upgrade mode according to the voltage of the tool first port 301, but the power tool 300 actively sends an upgrade request to the upgrade device 500. In this way, the upgrade program is rewritten.
  • an upgrade file of an external device for example, a mobile phone, a PC, etc.
  • an upgrade file of an external device for example, a mobile phone, a PC, etc.
  • the application is updated, and the program can be updated by the bus scheduling method or the ordinary communication method without upgrading the device 500.
  • Embodiment 2 Program update is performed by using the upgrading apparatus 500.
  • the method of updating the battery pack 200 program by the upgrading apparatus 500 is similar to the method of upgrading the power tool 300 by the upgrading apparatus 500.
  • the upgrade device 500 for program update of the battery pack 200 and the upgrade device 500 for program update of the power tool 300 may be the same component, except that the upgrade programs stored in the storage unit 502 are different, respectively.
  • the upgrade procedure for the battery pack 200 and the upgrade procedure for the power tool 300 may be the same component, except that the upgrade programs stored in the storage unit 502 are different, respectively.
  • the power tool 300 updates the program in the non-operation mode after power-on, and the battery pack 200 can update the program at any time.
  • the battery pack 200 enters the upgrade mode, it can be detected whether the voltage identification of the first port 201 of the battery pack is the upgrade device 500, or the battery pack 200 can directly send an upgrade request to the upgrade device 500 to enter the upgrade mode.
  • the battery pack 200 when the external device such as the charger or the upgrading device 500 or the power tool 300 is connected to the battery pack 200, after the battery pack 200 is powered on, firstly, according to the external device feedback signal, it is confirmed which device is used, and when the battery pack 200 is confirmed to be After the device 500 is upgraded, the battery pack 200 sends its own identity information to the upgrade device 500, and is ready to upgrade.
  • the external device such as the charger or the upgrading device 500 or the power tool 300
  • the battery pack 200 has two physical interfaces, a battery pack first port 201 and a battery pack second port 202.
  • the upgrade apparatus 500 has an upgraded first port 506 and an upgraded second port 507 corresponding thereto, respectively. It is connected to the battery pack first port 201 and the battery pack second port 202.
  • the battery pack 200 sends the self-identity information 209 to the upgrading apparatus 500 to request to enter the upgrade mode, it is necessary to set an upgrade flag in the battery pack 200 in advance.
  • the upgrade flag can be written to the flash memory 206 or other memory of the MCU of the battery pack 200 by an external device using wireless or wired means.
  • the upgrade device 500 is connected to the battery pack 200, if it is detected that the battery pack 200 stores the upgrade identifier, the upgrade key is sent to the battery pack 200, and the MCU 203 of the battery pack 200 executes the boot loader 207, which will upgrade the storage unit of the device 500.
  • the upgrade program in 502 is written to the application storage area of the battery pack 200 to update the battery pack 200 application, otherwise the program update process is not performed. Once the upgrade program is executed, regardless of whether the upgrade was successful or not, the upgrade ID is cleared to prevent the boot loader from being executed multiple times.
  • the information exchange process of the upgrading apparatus 500 and the battery pack 200 in the upgrade mode is as follows:
  • the upgrade device 500 sends its own identity information to the battery pack 200;
  • the battery pack 200 receives the identity information of the upgrade device 500, and returns the identity information to the upgrade device 500 to prepare for the upgrade;
  • the upgrade device 500 verifies the identity information of the battery pack 200, determines whether to perform the upgrade, and if the upgrade is possible, sends the upgrade key to the battery pack 200;
  • the upgrading apparatus 500 determines whether to upgrade, specifically, the following content: First, whether the battery pack 200 identity information and the upgrading apparatus 500, the upgrading apparatus 500 stores the identity information of the received battery pack 200 in advance in the storage unit 502. The identity information 209 of one or more battery packs 200 is compared to determine whether the received identity information is stored in the storage unit 502. If so, it is determined that the battery pack 200 can be updated. If not, the program cannot be executed. Update; second, whether there is an upgrade flag in the battery pack 200 memory, if yes, it is judged that the battery pack 200 can be updated, if not, it is judged that the program update cannot be performed;
  • the battery pack 200 receives the upgrade key, confirms the upgrade, and replies to the upgrade to the upgrade apparatus 500;
  • the battery pack 200 After receiving the data packet, the battery pack 200 checks whether the data packet is correct (whether the data packet sequence is correct, whether the data packet content is correct, etc.), and if correct, returns the correct to the upgrading apparatus 500;
  • the battery pack 200 receives the last data packet and returns the correct one
  • the upgrade device 500 sends an upgrade end flag to the battery pack 200;
  • the host 600 sends an instruction or data to the slave 700, and the slave 700 receives the command or data and feeds back to the host 600 to ensure that the transmission is normal (refer to FIG. 14).
  • the host 600 sends an instruction or data to the slave 700, the slave 700 does not feed back to the host 600 within a specified time, or the host 600 does not receive feedback from the slave 700 within a specified time.
  • perform the timeout retransmission as follows:
  • S152 The host 600 determines whether the slave 700 is replied within the specified time. If yes, the next command or data is sent to the slave 700, and the process goes to step S151; if not, the command or data transmission is considered to be unsuccessful;
  • step S154 The host 600 determines whether the predetermined upper limit of the number of retransmissions is reached. If yes, the transmission is considered to have failed, and the process goes to step S5; if not, the process goes to step S152.
  • the host 600 is the communication module 120 or the upgrade device
  • the slave 700 is the main control module 132, the inverter module 131, the power tool 300, and the battery pack 200.
  • the upper limit of the number of retransmissions is set according to specific conditions or requirements, for example, 3 times, 5 times, 10 times, etc., in order to save energy.
  • the display module of the upgrading apparatus 500 displays an alarm state to remind the user that the upgrade has failed.
  • the present disclosure provides a method for updating an electronic device and an electronic device, and the method for updating the program of the electronic device and the electronic device is convenient, fast, and reliable.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Stored Programmes (AREA)

Abstract

La présente invention concerne un dispositif électronique, comprenant : un boîtier, au moins une interface d'adaptateur (111) utilisée pour permettre à un ou plusieurs blocs-batteries (200) d'être montés de manière amovible sur le dispositif électronique, un module de commande et un module de communication (120). Le module de communication (120) comprend une unité de communication sans fil (121) et une unité de stockage (122). L'unité de stockage (122) est utilisée pour stocker un fichier de mise à niveau à partir d'un dispositif externe. Le fichier de mise à niveau comprend un programme de mise à niveau destiné à mettre à jour le programme du module de commande. Le module de communication (120) est configuré pour recevoir le fichier de mise à niveau provenant du dispositif externe au moyen de l'unité de communication sans fil (121), stocker le fichier de mise à niveau dans l'unité de stockage (122), et envoyer, si une condition prédéfinie est satisfaite, le fichier de mise à niveau au module de commande de façon à mettre à jour le programme du module de commande. Le procédé de mise à jour de programme pour le dispositif électronique est pratique, efficace et fiable.
PCT/CN2018/114972 2017-11-30 2018-11-12 Dispositif électronique et procédé de mise à jour de programme associé WO2019105211A1 (fr)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201880003939.XA CN110192321B (zh) 2017-11-30 2018-11-12 电子装置
US16/887,584 US11029941B2 (en) 2017-11-30 2020-05-29 Electrical device and program update method thereof
US17/335,807 US20210286612A1 (en) 2017-11-30 2021-06-01 Electrical device and program update method thereof
US18/085,903 US20230127497A1 (en) 2017-11-30 2022-12-21 Electrical device and program update method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711237737 2017-11-30
CN201711237737.5 2017-11-30

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/122770 Continuation WO2019120292A1 (fr) 2017-11-30 2018-12-21 Bloc-batterie et procédé de transmission de données entre bloc-batterie et dispositif électronique

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/887,584 Continuation US11029941B2 (en) 2017-11-30 2020-05-29 Electrical device and program update method thereof

Publications (1)

Publication Number Publication Date
WO2019105211A1 true WO2019105211A1 (fr) 2019-06-06

Family

ID=66664683

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/114972 WO2019105211A1 (fr) 2017-11-30 2018-11-12 Dispositif électronique et procédé de mise à jour de programme associé

Country Status (2)

Country Link
CN (1) CN110192321B (fr)
WO (1) WO2019105211A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698863A (zh) * 2020-12-30 2021-04-23 天津恒达文博科技股份有限公司 一种智能导游机充电写入设备及充电写入方法
CN114762475A (zh) * 2020-12-30 2022-07-19 南京泉峰科技有限公司 用于自驱动设备的电子系统

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968535A (zh) * 2019-11-29 2020-04-07 上海庆科信息技术有限公司 控制指令的处理方法、装置、处理器及电子装置
CN111385300B (zh) * 2020-03-05 2022-03-18 深圳市电科电源股份有限公司 一种储能系统多种通信协议自适应的方法及系统
CN111880823B (zh) * 2020-07-17 2024-01-30 合肥移瑞通信技术有限公司 系统升级通信模块的方法、系统以及介质、计算机设备
CN115576587B (zh) * 2022-11-18 2023-04-14 合肥康芯威存储技术有限公司 一种存储装置的固件升级装置及其升级方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008011645A (ja) * 2006-06-29 2008-01-17 Toshiba Corp 電源制御装置、電子機器、および動作制御方法
CN101655801A (zh) * 2009-09-11 2010-02-24 华为技术有限公司 驱动软件升级的方法及装置
US20140109075A1 (en) * 2012-10-17 2014-04-17 Movimento Group Module updating device
CN104102514A (zh) * 2014-07-18 2014-10-15 江苏兆伏新能源有限公司 一种固件升级方法及其装置
CN107231026A (zh) * 2017-06-27 2017-10-03 罗冠庆 一种多功能智能识别用途的便携型电源供应器

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3954505A1 (fr) * 2011-07-24 2022-02-16 Makita Corporation Adaptateur pour outils électriques
GB2583629B (en) * 2012-07-17 2021-06-09 Milwaukee Electric Tool Corp Universal protocol for power tools
CN103942080B (zh) * 2014-05-16 2016-08-24 国网山东省电力公司青岛供电公司 电子设备信息传输方法
JP6567805B2 (ja) * 2014-05-26 2019-08-28 株式会社マキタ 電動工具用装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008011645A (ja) * 2006-06-29 2008-01-17 Toshiba Corp 電源制御装置、電子機器、および動作制御方法
CN101655801A (zh) * 2009-09-11 2010-02-24 华为技术有限公司 驱动软件升级的方法及装置
US20140109075A1 (en) * 2012-10-17 2014-04-17 Movimento Group Module updating device
CN104102514A (zh) * 2014-07-18 2014-10-15 江苏兆伏新能源有限公司 一种固件升级方法及其装置
CN107231026A (zh) * 2017-06-27 2017-10-03 罗冠庆 一种多功能智能识别用途的便携型电源供应器

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698863A (zh) * 2020-12-30 2021-04-23 天津恒达文博科技股份有限公司 一种智能导游机充电写入设备及充电写入方法
CN114762475A (zh) * 2020-12-30 2022-07-19 南京泉峰科技有限公司 用于自驱动设备的电子系统

Also Published As

Publication number Publication date
CN110192321B (zh) 2023-04-04
CN110192321A (zh) 2019-08-30

Similar Documents

Publication Publication Date Title
WO2019105211A1 (fr) Dispositif électronique et procédé de mise à jour de programme associé
WO2019120292A1 (fr) Bloc-batterie et procédé de transmission de données entre bloc-batterie et dispositif électronique
CN110226154B (zh) 可远程升级的便携式电源及远程升级方法
US20210286612A1 (en) Electrical device and program update method thereof
US8370650B2 (en) Power supply capable of receiving digital communications from electronic devices
JP2013509153A (ja) バッテリ接続装置のパッチ及び関連システム及び方法
CN104412245A (zh) 模块化的无线供电、照明和自动化控制
CN110457055B (zh) 一种面向快充协议的固件升级控制方法、系统及控制终端
CN105135599A (zh) 空调固件升级装置和方法
US20200251917A1 (en) Method for connecting a battery powered device to a server via a battery module powering the device and related device
CN105608859A (zh) 在工具中启用无线控制的方法和系统
CN105159109A (zh) 一种plc控制器远程升级系统
US20200313448A1 (en) Power bridge device using mobile robot battery
CA3075328C (fr) Systeme et procede pour la surveillance et la commande a distance d'un etat de charge d'au moins une batterie
WO2018145541A1 (fr) Terminal et procédé de commande d'alimentation électrique à trajets multiples
CN104811347A (zh) 一种软件升级方法、监控模块、整流模块及系统
CN105208517A (zh) 无线路由设备和通信方法
CN104807127A (zh) 空调控制器程序离线更新的装置及方法
JP7044135B2 (ja) ネットワークユニット、保守システム、コンピュータプログラム及び蓄電素子データ送信方法
CN117130636A (zh) 数据处理方法及充电设备、计算机设备和存储介质
CN105576949A (zh) 一种电源适配器及调试方法、系统
CN117784643A (zh) 设备管理方法、装置、存储介质及电子装置
CN112486526A (zh) 固件升级使用方法、系统、充电器、用户终端及服务器
CN115842405A (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: 18884091

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: 18884091

Country of ref document: EP

Kind code of ref document: A1