Search

CN-122001050-A - Power supply holding circuit and method for automatic upgrading of wireless equipment

CN122001050ACN 122001050 ACN122001050 ACN 122001050ACN-122001050-A

Abstract

The application relates to a power supply holding circuit and a method for automatic upgrading of wireless equipment, wherein the circuit comprises a battery, a trigger detection module, a power supply management module, a main control module and a state latch module, the trigger detection module is connected with the battery and is used for responding to external vibration to output a starting trigger signal, the power supply management module is respectively connected with the battery, the trigger detection module, the main control module and the state latch module and is used for supplying power to the main control module and the state latch module and is controlled by a maintaining signal of the main control module and the state latch module to keep on, the main control module is connected with the state latch module and is used for outputting a first maintaining signal and sending a latch instruction to the state latch module after receiving a wireless upgrading instruction, and the state latch module is used for continuously outputting a second maintaining signal when performing wireless upgrading.

Inventors

  • Deng Xunen
  • WEN KAIHUA

Assignees

  • 深圳市朗科智能电气股份有限公司

Dates

Publication Date
20260508
Application Date
20251208

Claims (10)

  1. 1. The power supply holding circuit for automatic upgrading of the wireless equipment is characterized by comprising a battery, a trigger detection module, a power supply management module, a main control module and a state latch module; The triggering detection module is connected with the battery and is used for responding to external vibration and outputting a starting triggering signal; the power management module is respectively connected with the battery, the trigger detection module, the main control module and the state latch module and is used for responding to the starting trigger signal to conduct, and the battery is used for supplying power for the main control module and the state latch module; the main control module is connected with the state latch module and is used for outputting a first maintenance signal to the power management module after being started and sending a latch instruction to the state latch module after receiving a wireless upgrade instruction; The state latch module is used for responding to the latch instruction, outputting a second maintenance signal to the power management module, and continuously outputting the second maintenance signal when the main control module is reset due to the execution of wireless upgrading; The power management module is controlled by the first maintenance signal and the second maintenance signal to be kept on.
  2. 2. The power supply holding circuit for automatic upgrade of wireless equipment according to claim 1, wherein the trigger detection module comprises a vibration switch, a resistance-capacitance charging unit and a first isolation unit; one end of the vibration switch is connected with the battery, and the other end of the vibration switch is grounded through the resistance-capacitance charging unit; The input end of the first isolation unit is connected to the connection point of the vibration switch and the resistance-capacitance charging unit, and the output end of the first isolation unit is connected to the control end of the power management module.
  3. 3. The power supply holding circuit for automatic upgrade of wireless equipment according to claim 1, wherein the power supply management module comprises a switching unit and a voltage stabilizing unit; The switch unit is connected between the battery and the input end of the voltage stabilizing unit, and the control end of the switch unit is controlled by the starting trigger signal, the first maintenance signal and the second maintenance signal; the voltage stabilizing unit is used for converting the battery voltage of the battery into stable system working voltage and supplying power for the main control module and the state latch module.
  4. 4. The power holding circuit for automatic upgrade of wireless equipment according to claim 3, wherein the switching unit comprises a first switching tube and a second switching tube; The second pole of the first switching tube is connected with the battery, and the third pole of the first switching tube is connected with the input end of the voltage stabilizing unit; The third pole of the second switching tube is connected with the first pole of the first switching tube, and the first pole of the second switching tube is used for receiving the combined starting trigger signal, the first maintenance signal and the second maintenance signal.
  5. 5. The power holding circuit for automatic upgrade of wireless device according to claim 1, wherein the state latch module comprises a latch integrated circuit, and the latch instruction is an active level signal output by the master control module to a latch enable terminal of the latch integrated circuit.
  6. 6. The power supply hold circuit for automatic upgrade of wireless equipment according to claim 5, wherein the latch enable terminal of the latch integrated circuit is grounded through a pull-down resistor; When the main control module is reset due to wireless upgrading, and a target pin connected with the latch enabling end in the main control module is in a high-resistance state, the latch enabling end is pulled to an invalid level by the pull-down resistor, and the state latch module maintains to output the second maintenance signal.
  7. 7. The power supply holding circuit for automatic upgrade of wireless equipment according to claim 1, further comprising a signal combining module; The input end of the signal combining module is used for receiving a first maintenance signal output by the main control module and a second maintenance signal output by the state latching module; The output end of the signal combining module is connected with the control end of the power management module; The signal combining module is used for controlling the power management module to keep a conducting state when at least one of the first maintenance signal and the second maintenance signal is valid.
  8. 8. The power supply holding circuit for automatic upgrade of wireless equipment according to claim 1, wherein the main control module is configured to control the second holding signal in the state latch module to stop outputting after receiving a shutdown command, and then control the first holding signal to stop outputting, so as to stop the power supply management module.
  9. 9. The power supply holding circuit for automatic upgrade of wireless equipment according to claim 1, wherein the main control module is further configured to detect a battery voltage of the battery after receiving the wireless upgrade instruction, and send the latch instruction to the state latch module when the battery voltage is higher than a preset battery voltage threshold.
  10. 10. A power supply maintaining method for automatic upgrade of a wireless device, performed by a main control module in the power supply maintaining circuit of claim 1, the power supply maintaining method comprising: After the power-on starting is performed based on the received battery voltage, outputting a first maintenance signal to a power management module so as to enable the power management module to maintain a conducting state; when a wireless upgrade instruction is received, a latch instruction is sent to a state latch module, so that the state latch module outputs a second maintenance signal to the power management module; And when the wireless upgrade instruction is executed, the conduction of the power management module is maintained depending on the second maintenance signal continuously output by the state latch module.

Description

Power supply holding circuit and method for automatic upgrading of wireless equipment Technical Field The present application relates to the field of power management, and in particular, to a power holding circuit and method for automatic upgrade of a wireless device. Background At present, low-power consumption wireless equipment powered by a battery, especially equipment applied to underwater, airtight or difficult to reach the environment, is generally waterproof, heat-conducting and structurally fixed by adopting an integral glue filling packaging process, the design improves the reliability and environmental tolerance of the equipment and simultaneously leads the equipment to be an undetachable closed whole, and once the equipment is deployed to a terminal site, if internal firmware or software of the equipment needs to be updated, the physical disassembly is extremely difficult, and permanent damage and functional rejection of the equipment structure are often caused. For remote maintenance of such equipment, the prior art mainly has two paths, namely, the process is time-consuming and high in cost by physically disassembling and upgrading the equipment through returning to a factory, and the process is contrary to the design of 'maintenance-free' of the equipment, and the prior art attempts to upgrade the equipment wirelessly, but the prior art faces fundamental challenges under the conditions of battery power supply and no external power supply interface. In addition, in the wireless upgrading process of the traditional circuit, the main control unit is always required to perform resetting operation, the process can cause temporary failure of an IO port maintained by a control power supply, if the power supply can not be maintained in the resetting period, the upgrading process is interrupted accidentally, and the reliability can not be ensured. Disclosure of Invention The application provides a power supply holding circuit and a method for automatic upgrading of wireless equipment, which are characterized in that a state latch module is introduced, and the state latch module takes over and maintains power supply during the resetting period of a main control module caused by the wireless upgrading of the equipment, so that the continuity and the reliability of the upgrading process are ensured, and the real disassembly-free wireless firmware upgrading of the sealed battery-powered wireless equipment is realized. The application provides a power supply holding circuit for automatic upgrading of wireless equipment, which comprises a battery, a trigger detection module, a power supply management module, a main control module and a state latch module, wherein the trigger detection module is connected with the battery and used for responding to external vibration and outputting a starting trigger signal, the power supply management module is respectively connected with the battery, the trigger detection module, the main control module and the state latch module and used for responding to the starting trigger signal to conduct, the main control module and the state latch module are powered on based on the battery, the main control module is connected with the state latch module and used for outputting a first maintenance signal to the power supply management module after starting and sending a latch instruction to the state latch module after receiving a wireless upgrading instruction, and the state latch module is used for responding to the latch instruction and continuously outputting a second maintenance signal to the power supply management module and continuously outputting the second maintenance signal when the main control module resets due to wireless upgrading, and is controlled by the main control module to conduct with the first maintenance signal. In one possible implementation manner, the trigger detection module comprises a vibration switch, a resistance-capacitance charging unit and a first isolation unit, wherein one end of the vibration switch is connected with the battery, the other end of the vibration switch is grounded through the resistance-capacitance charging unit, the input end of the first isolation unit is connected to a connection point of the vibration switch and the resistance-capacitance charging unit, and the output end of the first isolation unit is connected to the control end of the power management module. In one possible implementation manner, the power management module comprises a switch unit and a voltage stabilizing unit, wherein the switch unit is connected between the battery and the input end of the voltage stabilizing unit, the control end of the switch unit is controlled by the starting trigger signal, the first maintenance signal and the second maintenance signal, and the voltage stabilizing unit is used for converting the battery voltage of the battery into stable system working voltage and supplying power to the main control module and the state latching mo